]> sourceware.org Git - glibc.git/blame - ChangeLog
PowerPC: multiarch trunc/truncf for PowerPC32
[glibc.git] / ChangeLog
CommitLineData
d47db6c9
AZ
12013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
4 and truncf multiarch implementations.
5 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6 New file.
7 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8 file.
9 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10 multiarch trunc for PowerPC32.
11 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12 New file.
13 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14 New file.
15 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16 multiarch truncf for PowerPC32.
17
ddb60b5a
AZ
182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19
20 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21 and roundf multiarch implementations.
22 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
23 New file.
24 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25 file.
26 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27 multiarch round for PowerPC32.
28 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
29 New file.
30 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
31 New file.
32 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
33 multiarch roundf for PowerPC32.
34
bedcf49b
AZ
352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36
37 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
38 and floorf multiarch implementations.
39 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
40 New file.
41 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
42 file.
43 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
44 multiarch floor for PowerPC32.
45 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
46 New file.
47 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
48 New file.
49 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
50 multiarch floorf for PowerPC32.
51
35ae5b40
AZ
522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53
54 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
55 and ceilf multiarch implementations.
56 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
57 New file.
58 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
59 file.
60 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
61 multiarch ceil for PowerPC32.
62 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
63 New file.
64 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
65 file.
66 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
67 multiarch ceilf for PowerPC32.
68
ae1a4cd9
AZ
692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70
71 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
72 is defined.
73 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
74 FINITEF is defined.
75 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
76 and finitef multiarch implementations.
77 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
78 New file.
79 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
80 file.
81 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
82 multiarch finite for PowerPC32.
83 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
84 New file.
85 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
86 file: multiarch finitef for PowerPC32.
87
64fffd65
AZ
882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89
90 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
91 and isinff multiarch implementations.
92 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
93 file.
94 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
95 file.
96 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
97 multiarch isinf for PowerPC32.
98 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
99 New file.
100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
101 multiarch isinff for PowerPC32.
102
8e4e7ba2
AZ
1032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
104
105 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
106 alias when __isnan is defined.
107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
108 and isnanf multiarch implementations.
109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
110 file.
111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
112 file.
113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
114 file.
115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
116 file.
117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
118 multiarch isnan for PowerPC32.
119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
120 New file.
121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
122 New file.
123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
124 multiarch isnanf for PowerPC32.
125
ddba588e
AZ
1262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
127
128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
129 and sqrtf multiarch implementations.
130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
131 file.
132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
133 file.
134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
135 multiarch sqrt for PowerPC32.
136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
137 file.
138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
139 file.
140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
141 multiarch sqrtf for PowerPC32.
142
0f96a2f0
AZ
1432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
144
145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
146 and llroundf multiarch implementations.
147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
148 New file.
149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
150 New file.
151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
152 New file.
153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
154 file: multiarch llround for PowerPC32.
155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
156 file: multiarch llroundf for PowerPC32.
157
c9b5d79e
AZ
1582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
159
160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
161 multiarch PowerPC32 fpu implementations.
162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
163 New file.
164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
165 New file.
166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
167 multiarch llrint for PowerPC32.
168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
169 New file.
170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
171 New file.
172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
173 file.
174
9cbb3aab
AZ
1752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
176
177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
178
ea5a72f8
AZ
1792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
180
181 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
182 file.
183 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
184 file.
185 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
186 file.
187 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
188 multiarch wordcopy for PPC32.
189 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
190 wordcopy objects.
191 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
192 (__libc_ifunc_impl_list): Likewise.
193 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
194 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
195 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
196 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
197 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
198 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
199
93be09e7
AZ
2002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
201
202 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
203 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
204 file.
205 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
206 file.
207 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
208 file.
209 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
210 multiarch wcscpy for PPC32.
211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
212 multiarch objects.
213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
214 (__libc_ifunc_impl_list): Likewise.
215 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
216 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
217 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
218 sysdeps/powerpc/power6/wcscpy.c.
219
bb04e529
AZ
2202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
221
222 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
223 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
224 file.
225 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
226 file.
227 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
228 file.
229 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
230 multiarch wcsrchr for PPC32.
231 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
232 multiarch objects.
233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
234 (__libc_ifunc_impl_list): Likewise.
235 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
236 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
237 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
238 sysdeps/powerpc/power6/wcsrchr.c.
239
05b5cd1c
AZ
2402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
241
242 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
243 file.
244 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
245 file.
246 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
247 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
248 multiarch wcschr for PPc32.
249 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
250 multiarch objects.
251 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
252 (__libc_ifunc_impl_list): Likewise.
253 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
254 * sysdeps/powerpc/power6/wcschr.c: ... to here.
255 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
256 sysdeps/powerpc/power6/wcschr.c.
257
ba964147
AZ
2582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
259
260 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
261 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
262 file.
263 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
264 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
265 file: multiarch strchr for PPC32.
266 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
267 multiarch objects.
268 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
269 (__libc_ifunc_impl_list): Likewise.
270
31c81aaa
AZ
2712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
272
273 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
274 name.
275 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
276 file.
277 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
278 file.
279 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
280 multiarch strchrnul for PPC32.
281 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
282 multiarch objects.
283 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
284 (__libc_ifunc_impl_list): Likewise.
285
0d0607d9
AZ
2862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
287
288 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
289 file.
290 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
291 multiarch strncasecmp for PPC32.
292 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
293 file.
294 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
295 multiarch strncasecmp_l for PPC32.
296 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
297 strncasecmp multiarch objects.
298 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
299 (__libc_ifunc_impl_list): Likewise.
300
4dfd5c86
AZ
3012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
302
303 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
304 file.
305 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
306 multiarch strncasecmp for PPC32.
307 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
308 New file.
309 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
310 multiarch strcasecmp_l for PPC32.
311 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
312 multiarch objects.
313 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
314 (__libc_ifunc_impl_list): Likewise.
315
a19e01a3
AZ
3162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
317
318 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
319 file.
320 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
321 file.
322 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
323 multiarch strncmp for PPC32.
324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
325 multiarch objects.
326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
327 (__libc_ifunc_impl_list): Likewise.
328
ae9cf7a2
AZ
3292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
330
331 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
332 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
333 file.
334 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
335 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
336 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
337 multiarch objects.
338 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
339 (__libc_ifunc_impl_list): Likewise.
340
3148bb7d
AZ
3412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
342
343 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
344 file.
345 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
346 file.
347 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
348 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
349 multiarch objects.
350 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
351 (__libc_ifunc_impl_list): Likewise.
352
7af8b946
AZ
3532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
354
355 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
356 file.
357 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
358 file.
359 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
360 multiarch rawmemchr for PPC32.
361 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
362 multiarch objects.
363 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
364 (__libc_ifunc_impl_list): Likewise.
365
03a6aa6a
AZ
3662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
367
368 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
369 file.
370 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
371 file.
372 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
373 file: memrchr multiarch for PPC32.
374 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
375 multiarch objects.
376 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
377 (__libc_ifunc_impl_list): Likewise.
378
1c62e6d9
AZ
3792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
380
381 * string/memchr.c (__memchr): Using macro to redefine symbol name.
382 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
383 file.
384 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
385 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
386 multiarch memchr for PPC32.
387 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
388 multiarch objects.
389 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
390 (__libc_ifunc_impl_list): Likewise.
391
87da8bdb
AZ
3922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
393
394 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
395 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
396 file.
397 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
398 file.
399 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
400 file: multiarch mempcpy for PPC32.
401 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
402 multiarch objects.
403 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
404 (__libc_ifunc_impl_list): Likewise.
405
20ed4714
AZ
4062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
407
408 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
409 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
410 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
411 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
412 multiarch bzero for PPC32.
413 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
414 file.
415 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
416 file.
417 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
418 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
419 file: multiarch memset for PPC32.
420 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
421 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
422 memset multiarch objects.
423 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
424 (__libc_ifunc_impl_list): Likewise.
425
ab3e3a46
AZ
4262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
427
428 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
429 file.
430 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
431 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
432 memcmp for PPC32.
433 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
434 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
435 multiarch objects.
436 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
437 (__libc_ifunc_impl_list): Likewise.
438
930de6f0
AZ
4392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
440
441 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
442 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
443 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
444 file.
445 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
446 file.
447 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
448 file.
449 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
450 multiarch memcpy for PPC32.
451 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
452 multiarch objects.
453 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
454 (__libc_ifunc_impl_list): Likewise.
455
4c628e00
AZ
4562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
457
458 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
459 support multiarch for POWER/PPC32.
460 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
461 Likewise.
462 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
464 Implies file to make multiarch folder appers before the fpu and
465 default folder for power4 configuration.
466
f4479220
SP
4672013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
468
469 * scripts/bench.pl: Append volatile keyword to type.
470
8517800f
KK
4712013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
472
473 * sysdeps/sh/sotruss-lib.c: New file.
474 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
475
180138f1
AZ
4762013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
477
478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
479
bbf37bdc
JM
4802013-12-05 Joseph Myers <joseph@codesourcery.com>
481
e47cc4e0
JM
482 [BZ #6810]
483 * math/w_tgamma.c: Include <errno.h>.
484 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
485 * math/w_tgammaf.c: Include <errno.h>.
486 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
487 * math/w_tgammal.c: Include <errno.h>.
488 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
489 * math/auto-libm-test-in: Do not allow missing errno on tgamma
490 underflow. Add more tgamma tests.
491 * math/auto-libm-test-out: Regenerated.
492 * sysdeps/i386/fpu/libm-test-ulps: Update.
493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
494
bbf37bdc
JM
495 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
496 sin, sinh, tan, tanh, tgamma, y0 and y1.
497 * math/auto-libm-test-out: Regenerated.
498 * math/libm-test.inc (TEST_COND_x86_64): New macro.
499 (TEST_COND_x86): Likewise.
500 (M_E2l): Remove macro.
501 (M_E3l): Likewise.
502 (M_2_SQRT_PIl): Likewise.
503 (M_SQRT_PIl): Likewise.
504 (M_1_DIV_El): Likewise.
505 (log_test_data): Use AUTO_TESTS_f_f.
506 (log10_test_data): Likewise.
507 (log1p_test_data): Likewise.
508 (log2_test_data): Likewise.
509 (sin_test_data): Likewise.
510 (sin_tonearest_test_data): Likewise.
511 (sin_towardzero_test_data): Likewise.
512 (sin_downward_test_data): Likewise.
513 (sin_upward_test_data): Likewise.
514 (sinh_test_data): Likewise.
515 (sinh_tonearest_test_data): Likewise.
516 (sinh_towardzero_test_data): Likewise.
517 (sinh_downward_test_data): Likewise.
518 (sinh_upward_test_data): Likewise.
519 (tan_test_data): Likewise.
520 (tan_tonearest_test_data): Likewise.
521 (tan_towardzero_test_data): Likewise.
522 (tan_downward_test_data): Likewise.
523 (tan_upward_test_data): Likewise.
524 (tanh_test_data): Likewise.
525 (tgamma_test_data): Likewise.
526 (y0_test_data): Likewise.
527 (y1_test_data): Likewise.
528 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
529 (special_real_inputs): Add pi/4.
530 * sysdeps/i386/fpu/libm-test-ulps: Update.
531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
532
eb5ad6b9
AZ
5332013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
534
535 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
536 "longjmp_target" static probes.
537 (__longjmp): Rename to __longjmp_symbol.
538 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
539 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
540 on which longjmp to generate.
541 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
542 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
543 probe.
544 (__sigsetjmp): Rename to __sigsetjmp_symbol.
545 (__sigjmp_save): Rename to __sigjmp_save_symbol.
546 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
547 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
548 and __sigjmp_save_symbol based on which sigsetjmp to generated.
549 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
551 __longjmp_symbol based on which __longjmp to generate.
552 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
553 probe.
554 (setjmp): Rename to setjmp_symbol.
555 (__sigsetjmp): Rename to __sigsetjmp_symbol.
556 (_setjmp): Rename to _setjmp_symbol.
557 (__sigsetjmp): Rename to __sigsetjmp_symbol.
558 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
559 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
560 which setjmp to generate.
561 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
562 "longjmp_target" static probes.
563
d136c6dc
SP
5642013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
565
9298ecba
SP
566 * benchtests/README: Add note about output arguments.
567 * benchtests/bench-sincos.c: Remove file.
568 * benchtests/sincos-inputs: New file.
569 * scripts/bench.pl: Identify output arguments and define
570 static variables for them.
571
232983e9
SP
572 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
573
d136c6dc
SP
574 [BZ #15941]
575 * Makefile (INSTALL): Add install-plain.texi as the primary
576 dependency.
577 * manual/install-plain.texi: New file.
578 * manual/install.texi: Include node directive only for
579 non-plaintext output.
580
699ff837
JM
5812013-12-04 Joseph Myers <joseph@codesourcery.com>
582
ab07cea8
JM
583 * stdlib/longlong.h: Update from GCC.
584
699ff837
JM
585 [BZ #6807]
586 [BZ #15901]
587 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
588 * math/w_j0f.c (y0f): Likewise.
589 * math/w_j0l.c (__y0l): Likewise.
590 * math/w_j1.c (y1): Likewise.
591 * math/w_j1f.c (y1f): Likewise.
592 * math/w_j1l.c (__y1l): Likewise
593 * math/w_jn.c (yn): Likewise.
594 * math/w_jnf.c (ynf): Likewise.
595 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
596 Bessel function pole errors in _POSIX_ mode. Use NAN as return
597 value for Bessel function domain errors outside _SVID_ mode.
598 Adjust sign of return value for yn (negative integer, 0).
599 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
600 by zero in return for negative x and set sign appropriately for
601 negative n.
602 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
603 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
604 * math/libm-test.inc (y0_test_data): Add more tests and adjust
605 expectations in error cases.
606 (y1_test_data): Likewise.
607 (yn_test_data): Likewise.
608 * sysdeps/i386/fpu/libm-test-ulps: Update.
609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
610
5b118558
UW
6112013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
612
613 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
614 "64" to "64-v1". Add "64-v2".
615 (abi-64-options): Rename to ...
616 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
617 (abi-64-condition): Rename to ...
618 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
619 (abi-64-ld-soname): Rename to ...
620 (abi-64-v1-ld-soname): ... this.
621 (abi-64-v2-options): Define.
622 (abi-64-v2-condition): Likewise.
623 (abi-64-v2-ld-soname): Likewise.
624 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
625 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
629
61cd8fe4
UW
6302013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
631 Alan Modra <amodra@gmail.com>
632
633 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
634 New versions for use with the ELFv2 ABI.
635 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
636 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
637 declaration.
638 (struct La_ppc64v2_retval): Likewise.
639 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
640 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
641 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
642 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
643 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
644 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
645 Do not save or restore CR.
646 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
647 (_dl_profile_resolve): Do no save or restore CR. Support extended
648 return values for ELFv2 ABI. Fix location of FPR return registers.
649 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
650 updated values for _CALL_ELF == 2.
651 (La_regs, La_retval, int_retval): Likewise.
652
8b8a692c
UW
6532013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
654
655 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
656 (FRAME_MIN_SIZE_PARM): Likewise.
657 (FRAME_BACKCHAIN): Likewise.
658 (FRAME_CR_SAVE): Likewise.
659 (FRAME_LR_SAVE): Likewise.
660 (FRAME_TOC_SAVE): Likewise.
661 (FRAME_PARM_SAVE): Likewise.
662 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
663 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
664 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
665 (call_mcount_parm_offset): New macro.
666 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
667 (PROF): Use symbolic stack frame offsets.
668 (TAIL_CALL_SYSCALL_ERROR): Likewise.
669 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
670 Redefine in terms of FRAME_MIN_SIZE.
671 (_dl_runtime_resolve): Use symbolic stack frame offsets.
672 (_dl_profile_resolve): Likewise. Update comment.
673 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
674 symbols stack frame offsets.
675 (__sigsetjmp): Likewise.
676 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
677 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
678 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
679 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
680
681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
682 (FRAME_BACKCHAIN): Remove.
683 (FRAME_CR_SAVE): Likewise.
684 (FRAME_LR_SAVE): Likewise.
685 (FRAME_COMPILER_DW): Likewise.
686 (FRAME_LINKER_DW): Likewise.
687 (FRAME_TOC_SAVE): Likewise.
688 (FRAME_PARM_SAVE): Likewise.
689 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
690 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
691 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
693 (CHECK_SP): Use symbolic stack frame offsets.
694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
695 zone" instead of caller's parameter save area for temp storage.
696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
697 Likewise. Also, use symbolic stack frame offsets.
698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
699 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
700 our own stack frame instead of the caller's.
701 (__socket): Use symbolic stack frame offsets.
702
122b66de
UW
7032013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
704 Alan Modra <amodra@gmail.com>
705
706 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
707 Define.
708 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
709 PPC64_LOCAL_ENTRY_OFFSET): Define.
710 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
711 New function.
712 (elf_machine_fixup_plt): Call it.
713 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
714 reloc arguments.
715 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
716 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
717 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
718 r2 before calling target.
719
696caf1d
UW
7202013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
721 Alan Modra <amodra@gmail.com>
722
723 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
724 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
725 versions of macros to support ELFv2 ABI.
726 (LOCALENTRY): New macro.
727 (ENTRY, EALIGN): Use it.
728 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
729 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
730 fall through into ENTRY entry point.
731 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
732 Only define if _CALL_ELF != 2.
733
734 (elf_machine_matches_host): Verify ABI version matches.
735 (RTLD_START): Use LOCALENTRY.
736 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
737 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
738 (PLT_ENTRY_WORDS): New macro.
739 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
740 (elf_machine_runtime_setup): Support ELFv2 ABI.
741 (elf_machine_fixup_plt): Likewise.
742 (elf_machine_plt_conflict): Likewise.
743 (resolve_ifunc): Likewise.
744 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
745 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
746 Likewise.
747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
748 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
750 (makecontext): Support ELFv2 ABI.
751 * elf/elf.h (EF_PPC64_ABI): Define.
752
d31beafa
UW
7532013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
754
755 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
756 New assembler macro.
757 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
758 [ASSEMBLER] (ENTRY): ... but instead here ...
759 [ASSEMBLER] (EALIGN): ... and here.
760 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
761 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
762 [!ASSEMBLER] (ENTRY_2): Use it.
763 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
764 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
765 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
766 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
767 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
769 Use PPC64_LOAD_FUNCPTR.
770
b525166b
UW
7712013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
772
773 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
774
7ec07d9a
AM
7752013-12-04 Alan Modra <amodra@gmail.com>
776
777 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
778 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
779 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
780 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
781
782 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
783 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
784 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
785 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
786 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
787 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
788
5162e7dd
UW
7892013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
790
791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
792 (__makecontext): Fix incorrect CFI when backtracing out of
793 context created via makecontext.
794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
795 (__setcontext): Fix incorrect CFI during switch to new context.
796 (__novec_setcontext): Likewise.
797
19e3372b
OB
7982013-12-04 Ondřej Bílka <neleai@seznam.cz>
799
800 [BZ #4772]
801 * time/strptime_l.c (__strptime_internal): Allow modifiers
802 in strptime.
803 * time/tst-strptime.c (day_tests): Add testcase.
804
805
ecaf142d
SP
8062013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
807
808 * scripts/bench.pl: Skip over blank lines.
809
fbf964ae
PE
8102013-12-04 Paul Eggert <eggert@cs.ucla.edu>
811
812 [BZ #926]
813 * manual/time.texi (Calendar Time): Clarify what timezone functions
814 use.
815
fa60a674
AZ
8162013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
817
818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
819
d674f0ef
OB
8202013-12-04 Ondřej Bílka <neleai@seznam.cz>
821
822 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
823 implementation.
824 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
825 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
826 * debug/memset_chk.c (__memset_chk): Likewise.
827 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
828 * debug/strncpy_chk.c: Likewise.
829
17dea188
JM
8302013-12-03 Joseph Myers <joseph@codesourcery.com>
831
749008ff
JM
832 [BZ #15268]
833 [BZ #15425]
834 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
835 (__ieee754_exp): For possibly underflowing results, check size of
836 result and force underflow exception if required.
837 * math/auto-libm-test-in: Add more tests of exp.
838 * math/auto-libm-test-out: Regenerated.
839 * sysdeps/i386/fpu/libm-test-ulps: Update.
840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
841
17dea188
JM
842 [BZ #16283]
843 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
844 * math/w_exp2f.c (__exp2f): Likewise.
845 * math/w_exp2l.c (__exp2l): Likewise.
846 * math/auto-libm-test-in: Do not allow missing errno on exp2
847 underflow.
848 * math/auto-libm-test-out: Regenerated.
849
b20de2c3
OB
8502013-12-03 Ondřej Bílka <neleai@seznam.cz>
851
852 [BZ #16274]
853 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
854 handle filename validation.
855 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
856 (do_open): Delete.
857
d8e2dbe3
JM
8582013-12-03 Joseph Myers <joseph@codesourcery.com>
859
34e16df5
JM
860 [BZ #6786]
861 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
862 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
863 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
864 <float.h>.
865 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
866 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
867 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
868 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
869 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
870 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
871 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
872 * math/auto-libm-test-in: Don't allow missing errno from erfc.
873 Add more erfc tests.
874 * math/auto-libm-test-out: Regenerated.
875 * sysdeps/i386/fpu/libm-test-ulps: Update.
876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
877
d8e2dbe3
JM
878 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
879 exp2, expm1, j0 and j1.
880 * math/auto-libm-test-out: Regenerated.
881 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
882 (erfc_test_data): Likewise.
883 (exp_test_data): Likewise.
884 (exp_tonearest_test_data): Likewise.
885 (exp_towardzero_test_data): Likewise.
886 (exp_downward_test_data): Likewise.
887 (exp_upward_test_data): Likewise.
888 (exp10_test_data): Likewise.
889 (exp2_test_data): Likewise.
890 (expm1_test_data): Likewise.
891 (j0_test_data): Likewise.
892 (j1_test_data): Likewise.
893 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
894 (input_flag_type): Add flag_xfail_rounding.
895 (input_flags): Add xfail-rounding.
896 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
897 (output_for_one_input_case): Handle flag_xfail_rounding.
898 * sysdeps/i386/fpu/libm-test-ulps: Update.
899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
900
18d14251
AJ
9012013-12-03 Aurelien Jarno <aurelien@aurel32.net>
902
3d2e6075 903 [BZ #16289]
18d14251
AJ
904 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
905 division by 0.
906
520d437b
SP
9072013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
908
909 [BZ #16195]
910 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
911 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
912 (STAP_PROBE0): New macro.
913 (STAP_PROBE1): Likewise.
914 (STAP_PROBE2): Likewise.
915 (STAP_PROBE3): Likewise.
916 (STAP_PROBE4): Likewise.
917
416e0145
OB
9182013-12-02 Ondřej Bílka <neleai@seznam.cz>
919
920 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
921
9d17796a
SE
9222013-12-02 Steve Ellcey <sellcey@mips.com>
923
924 * benchtests/Makefile (bench): Add sqrt.
925 (LDLIBS-bench-sqrt): New.
926 * benchtests/sqrt-input: New.
927
f524d6a8
PS
9282013-12-02 Pavel Simerda <psimerda@redhat.com>
929
639a0ef8
PS
930 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
931 (GAIH_EAI): Likewise.
932 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
933 (gaih_inet): Likewise.
934 (getaddrinfo): Don't use GAIH_EAI.
935
f524d6a8
PS
936 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
937 (struct gaih): Remove definition.
938
df3aedaf
SP
9392013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
940
941 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
942 Use HERRNOP directly.
943
1ab19dec
AZ
9442013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
945
b42ad38d 946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 947
176b0c79
JM
9482013-11-30 Joseph Myers <joseph@codesourcery.com>
949
950 * math/gen-auto-libm-tests.c (test_functions): Add more
951 single-argument functions.
952 (special_fill_pi_2): New function.
953 (special_fill_minus_pi_2): Likewise.
954 (special_fill_pi_6): Likewise.
955 (special_fill_minus_pi_6): Likewise.
956 (special_fill_pi_3): Likewise.
957 (special_fill_2pi_3): Likewise.
958 (special_fill_e): Likewise.
959 (special_fill_1_e): Likewise.
960 (special_fill_e_minus_1): Likewise.
961 (special_real_inputs): Add more special inputs.
962 (output_for_one_input_case): Do not require ERANGE on underflow to
963 zero if round-to-nearest result does not underflow to zero, unless
964 exact results required.
965 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
966 atan, atanh, cbrt, cos and cosh.
967 * math/auto-libm-test-out: Regenerated.
968 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
969 (acos_tonearest_test_data): Likewise.
970 (acos_towardzero_test_data): Likewise.
971 (acos_downward_test_data): Likewise.
972 (acos_upward_test_data): Likewise.
973 (acosh_test_data): Likewise.
974 (asin_test_data): Likewise.
975 (asin_tonearest_test_data): Likewise.
976 (asin_towardzero_test_data): Likewise.
977 (asin_upward_test_data): Likewise.
978 (asinh_test_data): Likewise.
979 (atan_test_data): Likewise.
980 (atanh_test_data): Likewise.
981 (cbrt_test_data): Likewise.
982 (cos_test_data): Likewise.
983 (cos_tonearest_test_data): Likewise.
984 (cos_towardzero_test_data): Likewise.
985 (cos_downward_test_data): Likewise.
986 (cos_upward_test_data): Likewise.
987 (cosh_test_data): Likewise.
988 (cosh_tonearest_test_data): Likewise.
989 (cosh_towardzero_test_data): Likewise.
990 (cosh_downward_test_data): Likewise.
991 (cosh_upward_test_data): Likewise.
992 * sysdeps/i386/fpu/libm-test-ulps: Update.
993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
994
ffb536d0
JM
9952013-11-29 Joseph Myers <joseph@codesourcery.com>
996
2a77a467
JM
997 [BZ #6787]
998 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
999 * math/w_exp10f.c (__exp10f): Likewise.
1000 * math/w_exp10l.c (__exp10l): Likewise.
1001 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1002 errno settings in existing tests.
1003
ea3bc4e8
JM
1004 [BZ #14032]
1005 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1006 precision control set to double precision.
1007 * sysdeps/i386/fpu/w_sqrt.c: New file.
1008 * math/auto-libm-test-in: Add more tests.
1009 * math/auto-libm-test-out: Update.
1010
0712c9d8
JM
1011 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1012 (sqrt_test_tonearest): New function.
1013 (sqrt_towardzero_test_data): New variable.
1014 (sqrt_test_towardzero): New function.
1015 (sqrt_downward_test_data): New variable.
1016 (sqrt_test_downward): New function.
1017 (sqrt_upward_test_data): New variable.
1018 (sqrt_test_upward): New function.
1019 (main): Call the new functions.
1020
ffb536d0
JM
1021 * math/gen-auto-libm-tests.c: New file.
1022 * math/auto-libm-test-in: Likewise.
1023 * math/auto-libm-test-out: New generated file.
1024 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1025 variables.
1026 (%beautify): Add generated representations of zero.
1027 (top level): Set $auto_input and call parse_auto_input.
1028 (beautify): Remove trailing "f" from hex float constants.
1029 (parse_args): Handle XFAIL_TEST.
1030 (convert_condition): New function.
1031 (or_value): Likewise.
1032 (or_cond_value): Likewise.
1033 (generate_testfile): Handle AUTO_TESTS_* lines.
1034 (parse_auto_input): New function.
1035 * math/libm-test.inc (XFAIL_TEST): New macro.
1036 (ERRNO_UNCHANGED): Update value.
1037 (ERRNO_EDOM): Likewise.
1038 (ERRNO_ERANGE): Likewise.
1039 (IGNORE_RESULT): Likewise.
1040 (TEST_COND_flt_32): New macro.
1041 (TEST_COND_dbl_64): Likewise.
1042 (TEST_COND_ldbl_96_intel): Likewise.
1043 (TEST_COND_ldbl_96_m68k): Likewise.
1044 (TEST_COND_ldbl_128): Likewise.
1045 (TEST_COND_ldbl_128ibm): Likewise.
1046 (TEST_COND_long32): Likewise.
1047 (TEST_COND_long64): Likewise.
1048 (TEST_COND_before_rounding): Likewise.
1049 (TEST_COND_after_rounding): Likewise.
1050 (enable_test): Handle XFAIL_TEST flag.
1051 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1052 with finite results.
1053 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1054 auto-libm-test-out.
1055
acd98a8e
AK
10562013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1057 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1058
1059 [BZ #16214]
1060 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1061 __tls_get_addr_internal instead of __tls_get_offset in order to
1062 avoid GOT pointer dependency. Make rtld export
1063 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1064 __tls_get_addr since we are a __tls_get_offset platform.
1065 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1066 GOT pointer being set up before.
1067 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1068
3c1c46a6
JM
10692013-11-28 Joseph Myers <joseph@codesourcery.com>
1070
7475aef5
JM
1071 * manual/math.texi (Errors in Math Functions): Document accuracy
1072 goals.
1073
8bca7cd8
JM
1074 [BZ #15004]
1075 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1076 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1077 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1078 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1079 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1080 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1081 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1082 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1083 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1084 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1085 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1086 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1087 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1088 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1089 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1090 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1091
91a1f3fe
JM
1092 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1093 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1094 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1095 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1096 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1097 Likewise.
1098 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1099 Likewise.
1100 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1101 Likewise.
1102 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1103 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1104 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1105 atomic-feupdateenv and flt-rounds.
1106 * sysdeps/powerpc/nofpu/Versions (libc): Add
1107 __atomic_feholdexcept, __atomic_feclearexcept,
1108 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1109 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1110 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1111 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1112 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1113 here.
1114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1115 Update.
1116
c5df7609
JM
1117 * manual/arith.texi (FP Exceptions): Document that exceptions may
1118 not be raised when matherr is used.
1119 (Math Error Reporting): Document overflow in directed rounding
1120 modes. Document that errno may not be set when finite values are
1121 returned on overflow. Document intent to set errno on underflow
1122 only for underflow to zero.
1123
3c1c46a6
JM
1124 [BZ #16271]
1125 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1126 round-to-nearest then adjust result for other rounding modes.
1127 * include/fenv.h (fegetround): Use libm_hidden_proto.
1128 * math/fegetround.c (fegetround): Use libm_hidden_def.
1129 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1130 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1131 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1132 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1133 Likewise.
1134 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1135 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1136 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1137 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1138
5a4c6d53
SP
11392013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1140
1141 [BZ #16077]
1142 * nss/Versions (libnss_files): Add
1143 _nss_files_gethostbyname3_r.
1144 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1145 New function.
1146 (HOST_DB_LOOKUP): Remove macro.
1147 (_nss_files_gethostbyname_r): Implement function without the
1148 HOST_DB_LOOKUP macro.
1149 (_nss_files_gethostbyname2_r): Likewise.
1150
897b98ba
OB
11512013-11-28 Ondřej Bílka <neleai@seznam.cz>
1152
1153 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1154
6f476861
UB
11552013-11-26 Uros Bizjak <ubizjak@gmail.com>
1156
1157 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1158 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1159 warning.
1160
bd12ab55
AZ
11612013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1162
1163 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1164 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1165 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1166 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1167 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1168 __fe_nomask_env_priv and attribute_hidden.
1169 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1170 (libc_feupdateenv_test_ppc): Likewise.
1171 (libc_feresetround_ppc): Likewise.
1172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1173 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1174 compat_symbol macro.
1175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1176 (__fe_nomask_env): Likewise.
1177 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1178
52bb6543
OB
11792013-11-26 Ondřej Bílka <neleai@seznam.cz>
1180
1181 * string/Makefile: Remove ifunc tests.
1182 * string/test-string.h: Define TEST_IFUNC.
1183 * string/test-bcopy-ifunc.c: Remove.
1184 * string/test-bzero-ifunc.c: Likewise.
1185 * string/test-memccpy-ifunc.c: Likewise.
1186 * string/test-memchr-ifunc.c: Likewise.
1187 * string/test-memcmp-ifunc.c: Likewise.
1188 * string/test-memcpy-ifunc.c: Likewise.
1189 * string/test-memmem-ifunc.c: Likewise.
1190 * string/test-memmove-ifunc.c: Likewise.
1191 * string/test-mempcpy-ifunc.c: Likewise.
1192 * string/test-memrchr-ifunc.c: Likewise.
1193 * string/test-memset-ifunc.c: Likewise.
1194 * string/test-rawmemchr-ifunc.c: Likewise.
1195 * string/test-stpcpy-ifunc.c: Likewise.
1196 * string/test-stpncpy-ifunc.c: Likewise.
1197 * string/test-strcasecmp-ifunc.c: Likewise.
1198 * string/test-strcasestr-ifunc.c: Likewise.
1199 * string/test-strcat-ifunc.c: Likewise.
1200 * string/test-strchr-ifunc.c: Likewise.
1201 * string/test-strchrnul-ifunc.c: Likewise.
1202 * string/test-strcmp-ifunc.c: Likewise.
1203 * string/test-strcpy-ifunc.c: Likewise.
1204 * string/test-strcspn-ifunc.c: Likewise.
1205 * string/test-strlen-ifunc.c: Likewise.
1206 * string/test-strncasecmp-ifunc.c: Likewise.
1207 * string/test-strncat-ifunc.c: Likewise.
1208 * string/test-strncmp-ifunc.c: Likewise.
1209 * string/test-strncpy-ifunc.c: Likewise.
1210 * string/test-strnlen-ifunc.c: Likewise.
1211 * string/test-strpbrk-ifunc.c: Likewise.
1212 * string/test-strrchr-ifunc.c: Likewise.
1213 * string/test-strspn-ifunc.c: Likewise.
1214 * string/test-strstr-ifunc.c: Likewise.
1215
ab260039 12162013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
1217
1218 * benchtests/Makefile: Remove ifunc tests.
1219 * benchtests/bench-string.h: Define TEST_IFUNC.
1220 * benchtests/bench-bcopy-ifunc.c: Remove.
1221 * benchtests/bench-bzero-ifunc.c: Likewise.
1222 * benchtests/bench-memccpy-ifunc.c: Likewise.
1223 * benchtests/bench-memchr-ifunc.c: Likewise.
1224 * benchtests/bench-memcmp-ifunc.c: Likewise.
1225 * benchtests/bench-memcpy-ifunc.c: Likewise.
1226 * benchtests/bench-memmem-ifunc.c: Likewise.
1227 * benchtests/bench-memmove-ifunc.c: Likewise.
1228 * benchtests/bench-mempcpy-ifunc.c: Likewise.
1229 * benchtests/bench-memrchr-ifunc.c: Likewise.
1230 * benchtests/bench-memset-ifunc.c: Likewise.
1231 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1232 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1233 * benchtests/bench-stpcpy-ifunc.c: Likewise.
1234 * benchtests/bench-stpncpy-ifunc.c: Likewise.
1235 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1236 * benchtests/bench-strcasestr-ifunc.c: Likewise.
1237 * benchtests/bench-strcat-ifunc.c: Likewise.
1238 * benchtests/bench-strchr-ifunc.c: Likewise.
1239 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1240 * benchtests/bench-strcmp-ifunc.c: Likewise.
1241 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1242 * benchtests/bench-strcpy-ifunc.c: Likewise.
1243 * benchtests/bench-strcspn-ifunc.c: Likewise.
1244 * benchtests/bench-strlen-ifunc.c: Likewise.
1245 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1246 * benchtests/bench-strncat-ifunc.c: Likewise.
1247 * benchtests/bench-strncmp-ifunc.c: Likewise.
1248 * benchtests/bench-strncpy-ifunc.c: Likewise.
1249 * benchtests/bench-strnlen-ifunc.c: Likewise.
1250 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1251 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 1252 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
1253 * benchtests/bench-strspn-ifunc.c: Likewise.
1254 * benchtests/bench-strstr-ifunc.c: Likewise.
1255
12562013-11-26 Ondřej Bílka <neleai@seznam.cz>
1257
ab260039
OB
1258 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1259
d1d9eaf4 12602013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 1261
d1d9eaf4
OB
1262 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1263 * rt/aio.h: Likewise.
1264 * sysdeps/gnu/bits/utmp.h: Likewise.
1265 * sysdeps/gnu/bits/utmpx.h: Likewise.
1266 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1267 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1268 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1269 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1270 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1271 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1272 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1273 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1274 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1275 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1276 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1277 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1278 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1280 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1281 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1282 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1283 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1284 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1285 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1286 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1287 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1288 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1289 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1290 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1291 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1292 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1293 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1294 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1295 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1296 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1297 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1298 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1299 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1300 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1301 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1302 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1303 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1304 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1305 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1306 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1307 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1308
a7624ed9
CD
13092013-11-25 Carlos O'Donell <carlos@redhat.com>
1310
1311 [BZ #16245]
1312 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1313 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1314
63cfe52b
JM
13152013-11-25 Joseph Myers <joseph@codesourcery.com>
1316
1317 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1318 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1319 Likewise.
1320
41e8926a
AZ
13212013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1322
1323 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1324 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1325 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1326 (__fesetround): Remove define.
1327 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1328 rounding and exceptions handling.
1329 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1330 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1331 (__fe_nomask_env): Likewise.
1332 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1333 __fegetround instead of fegetround.
1334 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1335 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1336
6851bd4d
RM
13372013-11-21 Roland McGrath <roland@hack.frob.com>
1338
070906ff
RM
1339 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1340 it's there.
1341
6851bd4d
RM
1342 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1343
84ae135d
MI
13442013-11-21 Meador Inge <meadori@codesourcery.com>
1345
1346 [BZ #11157]
1347 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1348 (encrypt_r): Likewise.
1349 * malloc/obstack.h (obstack_free): Likewise.
1350 * posix/unistd.h (encrypt): Likewise.
1351
daf75146
GM
13522013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1353
1354 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1355 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1356 DL_CALL_DT_FINI() that call the functions directly.
1357 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1358 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1359 * elf/dl-fini.c: Likewise.
1360
10ad46bc
OB
13612013-11-20 Ondřej Bílka <neleai@seznam.cz>
1362
1363 * malloc/hooks.c (memalign_check): Add alignment rounding.
1364 * malloc/malloc.c (_mid_memalign): New function.
1365 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1366 Implement by calling _mid_memalign.
1367 * manual/probes.texi (Memory Allocation Probes): Remove
1368 memory_valloc_retry and memory_pvalloc_retry.
1369
f3fd2628
SP
13702013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1371
4712799f
SP
1372 * locale/programs/locarchive.c (open_archive): Add const
1373 qualifier to ARCHIVEFNAME and copy default fname to
1374 DEFAULT_FNAME.
1375
0417b20f
SP
1376 [BZ #15601]
1377 * libio/tst-widetext.input: Rename Oriya to Odia.
1378 * locale/iso-639.def: Likewise.
1379
f3fd2628
SP
1380 * manual/probes.texi (Mathematical Function Probes): Add
1381 documentation for sin, cos, asin and acos probes.
1382 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1383 (__sin32): Add slowasin probe.
1384 (__cos32): Add slowacos probe.
1385 (__mpsin): Add slowsin probe.
1386 (__mpcos): Add slowcos probe.
1387
73c1ce4f
JM
13882013-11-19 Joseph Myers <joseph@codesourcery.com>
1389
1390 [BZ #15483]
1391 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1392 thread-local __sim_exceptions_thread and global
1393 __sim_exceptions_global.
1394 (__sim_disabled_exceptions): Change to thread-local
1395 __sim_disabled_exceptions_thread and global
1396 __sim_disabled_exceptions_global.
1397 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1398 and global __sim_round_mode_global.
1399 (__simulate_exceptions): Use thread-local floating-point state and
1400 set global state from it as needed.
1401 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1402 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1403 __sim_round_mode_thread.
1404 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1405 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1406 and global __sim_exceptions_global.
1407 (__sim_disabled_exceptions): Change to thread-local
1408 __sim_disabled_exceptions_thread and global
1409 __sim_disabled_exceptions_global.
1410 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1411 and global __sim_round_mode_global.
1412 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1413 (SIM_SET_GLOBAL): Likewise.
1414 * sysdeps/powerpc/soft-fp/sfp-machine.h
1415 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1416 __sim_round_mode_thread.
1417 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1418 __sim_disabled_exceptions_thread.
1419 (__sim_exceptions): Change to __sim_exceptions_thread.
1420 (__sim_disabled_exceptions): Change to
1421 __sim_disabled_exceptions_thread.
1422 (__sim_round_mode): Change to __sim_round_mode_thread.
1423 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1424 thread-local floating-point state and set global state from it as
1425 needed.
1426 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1427 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1428 (__sim_disabled_exceptions): Remove extern declaration.
1429 (feenableexcept): Use thread-local floating-point state and set
1430 global state from it as needed.
1431 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1432 extern declaration.
1433 (__sim_disabled_exceptions): Likewise.
1434 (__sim_round_mode): Likewise.
1435 (__fegetenv): Use thread-local floating-point state.
1436 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1437 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1438 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1439 floating-point state and set global state from it as needed.
1440 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1441 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1442 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1443 Likewise.
1444 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1445 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1446 Likewise.
1447 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1448 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1449 Use __sim_round_mode_thread.
1450 * math/test-fenv-tls.c: New file.
1451 * math/Makefile (tests): Add test-fenv-tls.
1452 ($(objpfx)test-fenv-tls): Depend on
1453 $(common-objpfx)nptl/libpthread.so.
1454
b5449b12
AS
14552013-11-19 Andreas Schwab <schwab@suse.de>
1456
1457 * locale/programs/locale.c (show_info): Decode wordarray elements.
1458 * locale/categories.def (LC_MONETARY): Add element for
1459 _NL_MONETARY_CRNCYSTR.
1460 * locale/C-monetary.c (conversion_rate): New variable.
1461 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1462 element.
1463
e186536b
CM
14642013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1465
1466 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1467 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1468
5c349950
PP
14692013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1470
1471 * elf/Makefile (tst-auxv): New test.
1472 * elf/tst-auxv.c: New
1473 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1474
699df45b
JM
14752013-11-18 Joseph Myers <joseph@codesourcery.com>
1476
1477 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1478 (hidden_proto): Caller changed.
1479 (hidden_tls_proto): New macro.
1480 (libc_hidden_tls_proto): Likewise.
1481 (rtld_hidden_tls_proto): Likewise.
1482 (libm_hidden_tls_proto): Likewise.
1483 (libresolv_hidden_tls_proto): Likewise.
1484 (librt_hidden_tls_proto): Likewise.
1485 (libdl_hidden_tls_proto): Likewise.
1486 (libnss_files_hidden_tls_proto): Likewise.
1487 (libnsl_hidden_tls_proto): Likewise.
1488 (libnss_nisplus_hidden_tls_proto): Likewise.
1489 (libutil_hidden_tls_proto): Likewise.
1490
b7589107
OB
14912013-11-18 Ondřej Bílka <neleai@seznam.cz>
1492
1493 [BZ #10253]
1494 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1495 (decompose_rpath): Defer expansion to fillin_rpath.
1496 (_dl_init_paths): Pass linkmap to fillin_rpath.
1497
250c23bd
RS
14982013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1499
1500 * benchtests/Makefile: Add strsep.
1501 * benchtests/bench-strsep.c: New file: strsep benchtest.
1502 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1503
a7931fcf
AS
15042013-11-18 Andreas Schwab <schwab@suse.de>
1505
1506 * locale/programs/locale.c (show_info) [case byte]: Check for
1507 '\377' instead of '\177'.
1508 * locale/C-monetary.c (not_available): Always use "\377".
1509 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1510 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1511 detect unavailable sign_posn locale elements.
1512 * locale/localeconv.c (__localeconv): For grouping and
1513 mon_grouping handle "\177" and "\377" like no grouping.
1514 (INT_ELEM): New macro. Use it to set all numeric members.
1515 * locale/programs/ld-monetary.c (monetary_read)
1516 <tok_mon_grouping>: Normalize single -1 to the empty string.
1517 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1518 Likewise.
1519
728dab0e
OB
15202013-11-07 Ondřej Bílka <neleai@seznam.cz>
1521
1522 [BZ #16055]
1523 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1524 when we match (nil).
1525 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1526
66294491
JM
15272013-11-16 Joseph Myers <joseph@codesourcery.com>
1528
ce665817
JM
1529 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1530 (NO_TEST_INLINE): Update value.
1531 (ERRNO_UNCHANGED): Likewise.
1532 (ERRNO_EDOM): Likewise.
1533 (ERRNO_ERANGE): Likewise.
1534 (IGNORE_RESULT): Likewise.
1535 (check_float_internal): Check signs of NaN results if
1536 TEST_NAN_SIGN used.
1537 (check_complex): Pass TEST_NAN_SIGN flag through to second
1538 check_float_internal call.
1539 (copysign_test_data): Add tests with quiet NaNs as second
1540 argument. Use TEST_NAN_SIGN.
1541 (fabs_test_data): Add test of negative quiet NaN argument. Use
1542 TEST_NAN_SIGN.
1543 (signbit_test_data): Add tests of quiet NaN argument.
1544 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1545
ee1466a9
JM
1546 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1547 $ignore_result.
1548 (parse_args): Handle function results specified as IGNORE.
1549 * math/libm-test.inc (IGNORE_RESULT): New macro.
1550 (check_float_internal): Do not check numerical result if flag
1551 IGNORE_RESULT set.
1552 (check_complex): Pass through IGNORE_RESULT to second
1553 check_float_internal call.
1554 (check_int): Do not check numerical result if flag IGNORE_RESULT
1555 set.
1556 (check_long): Likewise.
1557 (check_bool): Likewise.
1558 (check_longlong): Likewise.
1559 (lrint_test_data): Add tests of infinite and NaN arguments.
1560 (lrint_tonearest_test_data): Likewise.
1561 (lrint_towardzero_test_data): Likewise.
1562 (lrint_downward_test_data): Likewise.
1563 (lrint_upward_test_data): Likewise.
1564 (llrint_test_data): Likewise.
1565 (llrint_tonearest_test_data): Likewise.
1566 (llrint_towardzero_test_data): Likewise.
1567 (llrint_downward_test_data): Likewise.
1568 (llrint_upward_test_data): Likewise.
1569 (lround_test_data): Likewise.
1570 (llround_test_data): Likewise.
1571
14407b7e
JM
1572 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1573 (ERRNO_UNCHANGED): Update value.
1574 (ERRNO_EDOM): Likewise.
1575 (ERRNO_ERANGE): Likewise.
1576 (NO_TEST_INLINE_FLOAT): New macro.
1577 (NO_TEST_INLINE_DOUBLE): Likewise.
1578 (enable_test): New function.
1579 (RUN_TEST_f_f): Check enable_test before running test.
1580 (RUN_TEST_2_f): Likewise.
1581 (RUN_TEST_fff_f): Likewise.
1582 (RUN_TEST_c_f): Likewise.
1583 (RUN_TEST_f_f1): Likewise.
1584 (RUN_TEST_fF_f1): Likewise.
1585 (RUN_TEST_fI_f1): Likewise.
1586 (RUN_TEST_ffI_f1): Likewise.
1587 (RUN_TEST_c_c): Likewise.
1588 (RUN_TEST_cc_c): Likewise.
1589 (RUN_TEST_f_i): Likewise.
1590 (RUN_TEST_f_i_tg): Likewise.
1591 (RUN_TEST_ff_i_tg): Likewise.
1592 (RUN_TEST_f_b): Likewise.
1593 (RUN_TEST_f_b_tg): Likewise.
1594 (RUN_TEST_f_l): Likewise.
1595 (RUN_TEST_f_L): Likewise.
1596 (RUN_TEST_fFF_11): Likewise.
1597 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1598 conditionals.
1599 (cosh_test_data): Likewise.
1600 (exp_test_data): Likewise.
1601 (expm1_test_data): Likewise.
1602 (hypot_test_data): Likewise.
1603 (pow_test_data): Likewise.
1604 (sinh_test_data): Likewise.
1605 (tanh_test_data): Likewise.
1606 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1607 flags argument.
1608
ca07f197
JM
1609 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1610 tests with quiet NaN input and output.
1611 (acosh_test_data): Likewise.
1612 (asin_test_data): Likewise.
1613 (asinh_test_data): Likewise.
1614 (atan_test_data): Likewise.
1615 (atanh_test_data): Likewise.
1616 (atan2_test_data): Likewise.
1617 (cbrt_test_data): Likewise.
1618 (cos_test_data): Likewise.
1619 (cosh_test_data): Likewise.
1620 (erf_test_data): Likewise.
1621 (erfc_test_data): Likewise.
1622 (exp_test_data): Likewise.
1623 (exp10_test_data): Likewise.
1624 (exp2_test_data): Likewise.
1625 (expm1_test_data): Likewise.
1626 (hypot_test_data): Likewise.
1627 (j0_test_data): Likewise.
1628 (j1_test_data): Likewise.
1629 (jn_test_data): Likewise.
1630 (lgamma_test_data): Likewise.
1631 (log_test_data): Likewise.
1632 (log10_test_data): Likewise.
1633 (log1p_test_data): Likewise.
1634 (log2_test_data): Likewise.
1635 (pow_test_data): Likewise.
1636 (scalb_test_data): Likewise.
1637 (sin_test_data): Likewise.
1638 (sincos_test_data): Likewise.
1639 (sinh_test_data): Likewise.
1640 (tan_test_data): Likewise.
1641 (tanh_test_data): Likewise.
1642 (tgamma_test_data): Likewise.
1643 (y0_test_data): Likewise.
1644 (y1_test_data): Likewise.
1645 (yn_test_data): Likewise.
1646
66294491
JM
1647 [BZ #16167]
1648 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1649 argument being NaN and avoid computations with second argument in
1650 that case.
1651 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1652 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1653 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1654
1820b143
CL
16552013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1656
1657 * locale/iso-639.def: Add Chitwani Tharu (the).
1658
714bd261
AS
16592013-11-14 Andreas Schwab <schwab@suse.de>
1660
1661 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1662 word instead of empty string.
1663
7ab44563
AZ
16642013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1665
1666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1667 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1669 (__fe_nomask_env): Likewise.
1670
e8470ea2
SE
16712013-11-13 Steve Ellcey <sellcey@mips.com>
1672
1673 * benchtests/bench-timing.h: Include time.h.
1674
17c1d9f0
L
16752013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1676
1677 [BZ #15997]
1678 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1679 to 3.4.0 for x32.
1680 * sysdeps/unix/sysv/linux/configure: Regenerated.
1681
9310c284
JM
16822013-11-13 Joseph Myers <joseph@codesourcery.com>
1683
1684 [BZ #16151]
1685 * stdlib/strtod_l.c (round_and_return): Do not consider
1686 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1687 exponent one less than half the least subnormal exponent.
1688 * stdlib/test-strtod-round-data: Add more tests.
1689 * stdlib/tst-strtod-round.c (tests): Regenerated.
1690
7a2ad8cf
AZ
16912013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1692
1693 [BZ #14143]
1694 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1695 (__fe_mask_env): Likewise.
1696 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1697 libm_hidden_proto and add function prototype.
1698 (__fe_mask_env): Add function prototype.
1699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1700 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1702 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1704 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1705
50727aa7
MS
17062013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1707
b2f386c1 1708 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
1709 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1710
a615be46
MS
17112013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1712
1713 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1714 of htab_find_slot().
1715
7ddace62
DM
17162013-11-11 David S. Miller <davem@davemloft.net>
1717
1718 [BZ #16150]
1719 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1720 symbol in the non-vis3 case in static builds.
1721 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1722 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1723 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1724 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1725
9182aa67
JK
17262013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1727
1728 [BZ #387]
1729 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1730 it is empty.
1731
450a2e2d
AZ
17322013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1733
b2f386c1
SP
1734 * benchtests/Makefile: Add bench-strtod.
1735 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 1736
8ec3f656
AS
17372013-11-11 Andreas Schwab <schwab@suse.de>
1738
1739 [BZ #16153]
1740 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1741 terminating NUL in key length.
1742
76a9b998
AZ
17432013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1744
1745 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1746 Add artificial ODP entry for vDSO symbol for PPC64.
1747 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1748 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1749
e4368156
OB
17502013-11-07 Ondřej Bílka <neleai@seznam.cz>
1751
1752 [BZ #15374]
1753 * nss/getent.c (services_keys): Recognize services starting with digit.
1754
8d6bb57c
DM
17552013-11-06 David S. Miller <davem@davemloft.net>
1756
1757 [BZ #15985]
1758 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1759 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1760
e256c421
WN
17612013-11-06 Will Newton <will.newton@linaro.org>
1762
1763 * manual/memory.texi (Malloc Examples): Remove register
1764 keyword from examples.
1765
f6e12daa 17662013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 1767
f6e12daa 1768 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 1769
9d880655
AS
17702013-11-04 Joseph Myers <joseph@codesourcery.com>
1771
1772 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1773 depending on [__GCC_IEC_559 > 0].
1774 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1775 depending on [__GCC_IEC_559_COMPLEX > 0].
1776
ae129d3c
CL
17772013-11-03 Chris Leonard <cjl@sugarlabs.org>
1778
1779 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1780 to iso-639.def.
1781
4a15c2a4 17822013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
1783
1784 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1785
8b35e35d
OB
17862013-11-01 Ondřej Bílka <neleai@seznam.cz>
1787
1788 [BZ #16112]
1789 * malloc/malloc (malloc_info): Do not handle first bin as
1790 special case.
1791
1d70fd6c
CL
17922013-11-01 Chris Leonard <cjl@sugarlabs.org>
1793
1794 * locale/iso-639.def: Add Central Nahuatl (nhn).
1795
8c5c2600
BH
17962013-11-01 Bruno Haible <bruno@clisp.org>
1797
1798 [BZ #7003]
1799 * manual/math.texi (BSD Random): Specify range upper bound as
1800 in POSIX.
1801
da5579c2
CL
18022013-10-31 Chris Leonard <cjl@sugarlabs.org>
1803
1804 * locale/iso-639.def: Add Meadow Mari (mhr).
1805
5d30d853
OB
18062013-10-31 Ondřej Bílka <neleai@seznam.cz>
1807
1808 [BZ #14752], [BZ #15763]
1809 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1810 Validate name.
1811 * rt/tst_shm.c: Add test for escaping directory.
1812
a4966c61
AS
18132013-10-31 Andreas Schwab <schwab@suse.de>
1814
8a43e768 1815 [BZ #15917]
a4966c61
AS
1816 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1817 followed by 'x' as part of digit sequence.
1818 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1819
28d708c4
MAP
18202013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1821
1822 [BZ #16037]
1823 * configure.ac: allow GNU Make 4.0 and greater.
1824 * configure: Regenerated.
1825
a56ee40b
WN
18262013-10-30 Will Newton <will.newton@linaro.org>
1827
1828 [BZ #16038]
1829 * malloc/hooks.c (memalign_check): Limit alignment to the
1830 maximum representable power of two.
1831 * malloc/malloc.c (__libc_memalign): Likewise.
1832 * malloc/tst-memalign.c (do_test): Add test for very
1833 large alignment values.
1834 * malloc/tst-posix_memalign.c (do_test): Likewise.
1835
c6e4925d
OB
18362013-10-30 Ondřej Bílka <neleai@seznam.cz>
1837
1838 [BZ #11087]
1839 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1840 (munmap_chunk): Likewise.
1841 (mremap_chunk): Likewise.
1842
18432013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 1844
8a43e768 1845 [BZ #15799]
bbea82f7
OB
1846 * stdlib/div.c (div): Remove obsolete code.
1847 * stdlib/ldiv.c (ldiv): Likewise.
1848 * stdlib/lldiv.c (lldiv): Likewise.
1849
977f4b31
SP
18502013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1851
1852 [BZ #16071]
1853 * nss/nss_files/files-XXX.c (get_contents_ret): New
1854 enumerator.
1855 (get_contents): New function.
1856 (internal_getent): Use it. Expand size of LINEBUFLEN.
1857
cb8a6dbd
MF
18582013-10-30 Mike Frysinger <vapier@gentoo.org>
1859
1860 * configure.in: Moved to ...
1861 * configure.ac: ... here. Change reference to configure.in
1862 to configure.ac.
1863 * sysdeps/arm/preconfigure.ac: ... here.
1864 configure.in to configure.ac.
1865 * sysdeps/gnu/configure.in: Moved to ...
1866 * sysdeps/gnu/configure.ac: ... here.
1867 * sysdeps/i386/configure.in: Moved to ...
1868 * sysdeps/i386/configure.ac: ... here.
1869 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1870 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1871 * sysdeps/mach/configure.in: Moved to ...
1872 * sysdeps/mach/configure.ac: ... here.
1873 * sysdeps/mach/hurd/configure.in: Moved to ...
1874 * sysdeps/mach/hurd/configure.ac: ... here.
1875 * sysdeps/powerpc/configure.in: Moved to ...
1876 * sysdeps/powerpc/configure.ac: ... here.
1877 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1878 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1879 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1880 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1881 * sysdeps/s390/s390-32/configure.in: Moved to ...
1882 * sysdeps/s390/s390-32/configure.ac: ... here.
1883 * sysdeps/s390/s390-64/configure.in: Moved to ...
1884 * sysdeps/s390/s390-64/configure.ac: ... here.
1885 * sysdeps/sh/configure.in: Moved to ...
1886 * sysdeps/sh/configure.ac: ... here.
1887 * sysdeps/sparc/configure.in: Moved to ...
1888 * sysdeps/sparc/configure.ac: ... here.
1889 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1890 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1891 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1892 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1893 * sysdeps/x86_64/configure.in: Moved to ...
1894 * sysdeps/x86_64/configure.ac: ... here.
1895 * sysdeps/x86_64/preconfigure.in: Moved to ...
1896 * sysdeps/x86_64/preconfigure.ac: ... here.
1897 * aclocal.m4: Change reference to configure.in to configure.ac.
1898 * config.h.in: Likewise.
1899 * manual/install.texi: Likewise.
1900 * manual/maint.texi: Likewise.
1901 * Makefile: Likewise.
1902 * malloc/Makefile: Likewise.
1903 * nscd/Makefile: Likewise.
1904 * Makeconfig: Change reference to configure.in and
1905 preconfigure.in to configure.ac and preconfigure.ac
1906 respectively.
1907 * INSTALL: Regenerated.
1908 * configure: Likewise.
1909 * sysdeps/gnu/configure: Likewise.
1910 * sysdeps/i386/configure: Likewise.
1911 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1912 * sysdeps/mach/configure: Likewise.
1913 * sysdeps/mach/hurd/configure: Likewise.
1914 * sysdeps/powerpc/configure: Likewise.
1915 * sysdeps/powerpc/powerpc32/configure: Likewise.
1916 * sysdeps/powerpc/powerpc64/configure: Likewise.
1917 * sysdeps/s390/s390-32/configure: Likewise.
1918 * sysdeps/s390/s390-64/configure: Likewise.
1919 * sysdeps/sh/configure: Likewise.
1920 * sysdeps/sparc/configure: Likewise.
1921 * sysdeps/unix/sysv/linux/configure: Likewise.
1922 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1923 * sysdeps/x86_64/configure: Likewise.
1924 * sysdeps/x86_64/preconfigure: Likewise.
1925
36a4953a
AS
19262013-10-29 Andreas Schwab <schwab@suse.de>
1927
1928 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1929
c79a1204
SP
19302013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1931
dfa1b402
SP
1932 * benchtests/pow-inputs: Add new inputs.
1933
54f73d9c
SP
1934 * benchtests/exp-inputs: Add new inputs.
1935
c79a1204
SP
1936 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1937 conditional check for return value.
1938 (__cos32): Likewise.
1939
67beb545 19402013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
1941
1942 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1943 to provide a boost for large inputs with word alignment.
1944 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1945 implementation based on optimized PPC64 strcpy.
1946 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1947 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1948 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1949 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1950
151659f6
OB
19512013-10-25 Ondřej Bílka <neleai@seznam.cz>
1952
482a077e 1953 [BZ #2801]
151659f6
OB
1954 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1955
10b0f26b
OB
19562013-10-25 Ondřej Bílka <neleai@seznam.cz>
1957
1958 [BZ #14876]
1959 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1960 * time/tst-strptime.c (day_tests): Add testcase.
1961
ca42d35e
OB
19622013-10-25 Ondřej Bílka <neleai@seznam.cz>
1963
482a077e 1964 [BZ #14029]
ca42d35e
OB
1965 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1966
52e6d801
FB
19672013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1968
1969 [BZ #16074]
1970 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1971 MAP_FAILED on error.
1972
7cbcdb36
SP
19732013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1974
1975 [BZ #16072]
1976 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1977 heap for large requests.
1978
894f3f10
AM
19792013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1980
1981 [BZ #9954]
1982 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1983 result if the result has no associated interface.
1984 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1985 interface for all 127.X.Y.Z addresses.
1986
b85545a6
CL
19872013-10-24 Chris Leonard <cjl@sugarlabs.org>
1988
1989 * locale/iso-639.def: Add Ligurian (lij)
1990
d1f23d46
OB
19912013-10-21 Ondřej Bílka <neleai@seznam.cz>
1992
1993 [BZ #15825]
1994 * sunrpc/rpc_main.c: Document rpcgen -5.
1995
4db5b08f
MS
19962013-10-19 Michael Stahl <mstahl@redhat.com>
1997
1998 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1999
a471e96a
OB
20002013-10-19 Ondřej Bílka <neleai@seznam.cz>
2001
d1f23d46 2002 [BZ #10278]
a471e96a
OB
2003 * posix/glob.c: Match only directories when trailing slash is present.
2004 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2005 (main): Add testcase.
2006
45c30c61
OB
20072013-10-19 Ondřej Bílka <neleai@seznam.cz>
2008
2009 [BZ #15670]
2010 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2011
484c12fb
CD
20122013-10-18 Carlos O'Donell <carlos@redhat.com>
2013
3d7dc513
CD
2014 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2015 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2016 AUTH_DES and cindex for FIPS 140-2.
2017 (DES Encryption): Add cindex FIPS 46-3.
2018
484c12fb
CD
2019 * locale/locarchive.h (struct locarhandle): Add fname.
2020 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2021 if an optional argument was specified to --list-archive,
2022 otherwise NULL.
2023 * locale/programs/locarchive.c (show_archive_content): Take new
2024 argument fname and pass it via ah.fname to open_archive.
2025 * locale/programs/localedef.h: Update decl.
2026 (open_archive): If AH->fname is non-null, open that file
2027 rather than the default file name, and don't ignore ENOENT.
2028 (create_archive): Set AH.fname to NULL.
2029 (delete_locales_from_archive): Likewise.
2030 (add_locales_to_archive): Likewise.
2031 * locale/programs/locfile.c (write_all_categories): Likewise.
2032
3c8325fb
JM
20332013-10-18 Joseph Myers <joseph@codesourcery.com>
2034 Aldy Hernandez <aldyh@redhat.com>
2035
2036 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2037 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2038 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2039 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2040 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2041 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2042 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2043 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2044 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2045 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2046 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2047 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2048 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2049 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2050 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2051 Likewise.
2052 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2053 Likewise.
2054 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2055 Likewise.
2056 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2057 Likewise.
2058 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2059 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2060 Likewise.
2061 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2062 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2063 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2064 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2065 Likewise.
2066 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2067 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2068 * sysdeps/powerpc/preconfigure: Likewise.
2069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2070 Likewise.
2071 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2072 Replace contents of file by #include of <fenv_libc.h>.
2073 * sysdeps/powerpc/soft-fp/sfp-machine.h
2074 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2075 and <sys/prctl.h>.
2076 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2077 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2078 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2079 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2080 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2081 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2082 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2083 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2084 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2085 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2086 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2087 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2089 Allow copysignl PLT reference to be missing.
2090
5abe0682
RS
20912013-10-18 Richard Sandiford <richard@codesourcery.com>
2092 Joseph Myers <joseph@codesourcery.com
2093
2094 [BZ #15948]
2095 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2096 single character.
2097 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2098
c7738d08
SP
20992013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2100
2101 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2102 * elf/tst-tls1.c: Likewise.
2103 * elf/tst-tls10.h: Likewise.
2104 * elf/tst-tls14.c: Likewise.
2105 * elf/tst-tls2.c: Likewise.
2106 * elf/tst-tls3.c: Likewise.
2107 * elf/tst-tls4.c: Likewise.
2108 * elf/tst-tls5.c: Likewise.
2109 * elf/tst-tls6.c: Likewise.
2110 * elf/tst-tls7.c: Likewise.
2111 * elf/tst-tls8.c: Likewise.
2112 * elf/tst-tls9.c: Likewise.
2113 * elf/tst-tlsmod1.c: Likewise.
2114 * elf/tst-tlsmod13.c: Likewise.
2115 * elf/tst-tlsmod13a.c: Likewise.
2116 * elf/tst-tlsmod14a.c: Likewise.
2117 * elf/tst-tlsmod16a.c: Likewise.
2118 * elf/tst-tlsmod16b.c: Likewise.
2119 * elf/tst-tlsmod2.c: Likewise.
2120 * elf/tst-tlsmod3.c: Likewise.
2121 * elf/tst-tlsmod4.c: Likewise.
2122 * elf/tst-tlsmod5.c: Likewise.
2123 * elf/tst-tlsmod6.c: Likewise.
2124
0bfcf2c7
OB
21252013-10-18 Ondřej Bílka <neleai@seznam.cz>
2126
2127 [BZ #12486]
2128 * malloc/malloc.c: remove checks for statistics.
2129
264aad1e
OB
21302013-10-17 Ondřej Bílka <neleai@seznam.cz>
2131
2132 [BZ #15277]
2133 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2134 * inet/tst-network.c: Add testcase.
2135
b957ced8
AS
21362013-10-17 Andreas Schwab <schwab@suse.de>
2137
2138 [BZ #15218]
2139 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2140 to determine canonical name.
2141
c5d5d574
OB
21422013-10-17 Ondřej Bílka <neleai@seznam.cz>
2143
2144 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2145 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2146 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2147 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2148 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2149 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2150 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2151 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2152 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2153 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2154 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2155 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2156 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2157 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2158 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2159 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2160 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2161 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2162 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2163 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2164 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2165 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2166 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2167 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2168 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2169 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2170 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2171 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2172 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2173 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2174 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2175 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2176 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2177 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2178 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2179 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2180 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2181 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2182 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2183 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2184 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2185 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2186 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2187 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2188 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2189 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2190 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2191 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2192 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2193 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2194 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2195 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2196 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2197 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2198 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2199 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2200 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2201 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2202
e5c2c2d0
JM
22032013-10-17 Joseph Myers <joseph@codesourcery.com>
2204
2205 [BZ #16041]
2206 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2207 make result into a quiet NaN.
2208
51ca9e29
JM
22092013-10-16 Joseph Myers <joseph@codesourcery.com>
2210
2211 * soft-fp/adddf3.c: Fix horizontal whitespace.
2212 * soft-fp/addsf3.c: Likewise.
2213 * soft-fp/addtf3.c: Likewise.
2214 * soft-fp/divdf3.c: Likewise.
2215 * soft-fp/divsf3.c: Likewise.
2216 * soft-fp/divtf3.c: Likewise.
2217 * soft-fp/double.h: Likewise.
2218 * soft-fp/eqdf2.c: Likewise.
2219 * soft-fp/eqsf2.c: Likewise.
2220 * soft-fp/eqtf2.c: Likewise.
2221 * soft-fp/extenddftf2.c: Likewise.
2222 * soft-fp/extended.h: Likewise.
2223 * soft-fp/extendsfdf2.c: Likewise.
2224 * soft-fp/extendsftf2.c: Likewise.
2225 * soft-fp/extendxftf2.c: Likewise.
2226 * soft-fp/fixdfdi.c: Likewise.
2227 * soft-fp/fixdfsi.c: Likewise.
2228 * soft-fp/fixdfti.c: Likewise.
2229 * soft-fp/fixsfdi.c: Likewise.
2230 * soft-fp/fixsfsi.c: Likewise.
2231 * soft-fp/fixsfti.c: Likewise.
2232 * soft-fp/fixtfdi.c: Likewise.
2233 * soft-fp/fixtfsi.c: Likewise.
2234 * soft-fp/fixtfti.c: Likewise.
2235 * soft-fp/fixunsdfdi.c: Likewise.
2236 * soft-fp/fixunsdfsi.c: Likewise.
2237 * soft-fp/fixunsdfti.c: Likewise.
2238 * soft-fp/fixunssfdi.c: Likewise.
2239 * soft-fp/fixunssfsi.c: Likewise.
2240 * soft-fp/fixunssfti.c: Likewise.
2241 * soft-fp/fixunstfdi.c: Likewise.
2242 * soft-fp/fixunstfsi.c: Likewise.
2243 * soft-fp/fixunstfti.c: Likewise.
2244 * soft-fp/floatdidf.c: Likewise.
2245 * soft-fp/floatdisf.c: Likewise.
2246 * soft-fp/floatditf.c: Likewise.
2247 * soft-fp/floatsidf.c: Likewise.
2248 * soft-fp/floatsisf.c: Likewise.
2249 * soft-fp/floatsitf.c: Likewise.
2250 * soft-fp/floattidf.c: Likewise.
2251 * soft-fp/floattisf.c: Likewise.
2252 * soft-fp/floattitf.c: Likewise.
2253 * soft-fp/floatundidf.c: Likewise.
2254 * soft-fp/floatundisf.c: Likewise.
2255 * soft-fp/floatunditf.c: Likewise.
2256 * soft-fp/floatunsidf.c: Likewise.
2257 * soft-fp/floatunsisf.c: Likewise.
2258 * soft-fp/floatunsitf.c: Likewise.
2259 * soft-fp/floatuntidf.c: Likewise.
2260 * soft-fp/floatuntisf.c: Likewise.
2261 * soft-fp/floatuntitf.c: Likewise.
2262 * soft-fp/fmadf4.c: Likewise.
2263 * soft-fp/fmasf4.c: Likewise.
2264 * soft-fp/fmatf4.c: Likewise.
2265 * soft-fp/gedf2.c: Likewise.
2266 * soft-fp/gesf2.c: Likewise.
2267 * soft-fp/getf2.c: Likewise.
2268 * soft-fp/ledf2.c: Likewise.
2269 * soft-fp/lesf2.c: Likewise.
2270 * soft-fp/letf2.c: Likewise.
2271 * soft-fp/muldf3.c: Likewise.
2272 * soft-fp/mulsf3.c: Likewise.
2273 * soft-fp/multf3.c: Likewise.
2274 * soft-fp/negdf2.c: Likewise.
2275 * soft-fp/negsf2.c: Likewise.
2276 * soft-fp/negtf2.c: Likewise.
2277 * soft-fp/op-1.h: Likewise.
2278 * soft-fp/op-2.h: Likewise.
2279 * soft-fp/op-4.h: Likewise.
2280 * soft-fp/op-8.h: Likewise.
2281 * soft-fp/op-common.h: Likewise.
2282 * soft-fp/quad.h: Likewise.
2283 * soft-fp/single.h: Likewise.
2284 * soft-fp/soft-fp.h: Likewise.
2285 * soft-fp/sqrtdf2.c: Likewise.
2286 * soft-fp/sqrtsf2.c: Likewise.
2287 * soft-fp/sqrttf2.c: Likewise.
2288 * soft-fp/subdf3.c: Likewise.
2289 * soft-fp/subsf3.c: Likewise.
2290 * soft-fp/subtf3.c: Likewise.
2291 * soft-fp/truncdfsf2.c: Likewise.
2292 * soft-fp/trunctfdf2.c: Likewise.
2293 * soft-fp/trunctfsf2.c: Likewise.
2294 * soft-fp/trunctfxf2.c: Likewise.
2295 * soft-fp/unorddf2.c: Likewise.
2296 * soft-fp/unordsf2.c: Likewise.
2297 * soft-fp/unordtf2.c: Likewise.
2298
9ebb0332
JM
22992013-10-15 Joseph Myers <joseph@codesourcery.com>
2300
2301 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2302 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2303
4b1a6d8b
OB
23042013-10-15 Ondřej Bílka <neleai@seznam.cz>
2305
2306 * elf/dl-libc.c: Clear initfini list after freeing.
2307
1e145589
JM
23082013-10-14 Joseph Myers <joseph@codesourcery.com>
2309
2310 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2311 * soft-fp/addsf3.c: Likewise.
2312 * soft-fp/addtf3.c: Likewise.
2313 * soft-fp/divdf3.c: Likewise.
2314 * soft-fp/divsf3.c: Likewise.
2315 * soft-fp/divtf3.c: Likewise.
2316 * soft-fp/double.h: Likewise.
2317 * soft-fp/eqdf2.c: Likewise.
2318 * soft-fp/eqsf2.c: Likewise.
2319 * soft-fp/eqtf2.c: Likewise.
2320 * soft-fp/extenddftf2.c: Likewise.
2321 * soft-fp/extended.h: Likewise.
2322 * soft-fp/extendsfdf2.c: Likewise.
2323 * soft-fp/extendsftf2.c: Likewise.
2324 * soft-fp/extendxftf2.c: Likewise.
2325 * soft-fp/fixdfdi.c: Likewise.
2326 * soft-fp/fixdfsi.c: Likewise.
2327 * soft-fp/fixdfti.c: Likewise.
2328 * soft-fp/fixsfdi.c: Likewise.
2329 * soft-fp/fixsfsi.c: Likewise.
2330 * soft-fp/fixsfti.c: Likewise.
2331 * soft-fp/fixtfdi.c: Likewise.
2332 * soft-fp/fixtfsi.c: Likewise.
2333 * soft-fp/fixtfti.c: Likewise.
2334 * soft-fp/fixunsdfdi.c: Likewise.
2335 * soft-fp/fixunsdfsi.c: Likewise.
2336 * soft-fp/fixunsdfti.c: Likewise.
2337 * soft-fp/fixunssfdi.c: Likewise.
2338 * soft-fp/fixunssfsi.c: Likewise.
2339 * soft-fp/fixunssfti.c: Likewise.
2340 * soft-fp/fixunstfdi.c: Likewise.
2341 * soft-fp/fixunstfsi.c: Likewise.
2342 * soft-fp/fixunstfti.c: Likewise.
2343 * soft-fp/floatdidf.c: Likewise.
2344 * soft-fp/floatdisf.c: Likewise.
2345 * soft-fp/floatditf.c: Likewise.
2346 * soft-fp/floatsidf.c: Likewise.
2347 * soft-fp/floatsisf.c: Likewise.
2348 * soft-fp/floatsitf.c: Likewise.
2349 * soft-fp/floattidf.c: Likewise.
2350 * soft-fp/floattisf.c: Likewise.
2351 * soft-fp/floattitf.c: Likewise.
2352 * soft-fp/floatundidf.c: Likewise.
2353 * soft-fp/floatundisf.c: Likewise.
2354 * soft-fp/floatunsidf.c: Likewise.
2355 * soft-fp/floatunsisf.c: Likewise.
2356 * soft-fp/floatuntidf.c: Likewise.
2357 * soft-fp/floatuntisf.c: Likewise.
2358 * soft-fp/floatuntitf.c: Likewise.
2359 * soft-fp/fmadf4.c: Likewise.
2360 * soft-fp/fmasf4.c: Likewise.
2361 * soft-fp/fmatf4.c: Likewise.
2362 * soft-fp/gedf2.c: Likewise.
2363 * soft-fp/gesf2.c: Likewise.
2364 * soft-fp/getf2.c: Likewise.
2365 * soft-fp/ledf2.c: Likewise.
2366 * soft-fp/lesf2.c: Likewise.
2367 * soft-fp/letf2.c: Likewise.
2368 * soft-fp/muldf3.c: Likewise.
2369 * soft-fp/mulsf3.c: Likewise.
2370 * soft-fp/multf3.c: Likewise.
2371 * soft-fp/negdf2.c: Likewise.
2372 * soft-fp/negsf2.c: Likewise.
2373 * soft-fp/negtf2.c: Likewise.
2374 * soft-fp/op-1.h: Likewise.
2375 * soft-fp/op-2.h: Likewise.
2376 * soft-fp/op-4.h: Likewise.
2377 * soft-fp/op-8.h: Likewise.
2378 * soft-fp/op-common.h: Likewise.
2379 * soft-fp/quad.h: Likewise.
2380 * soft-fp/single.h: Likewise.
2381 * soft-fp/soft-fp.h: Likewise.
2382 * soft-fp/sqrtdf2.c: Likewise.
2383 * soft-fp/sqrtsf2.c: Likewise.
2384 * soft-fp/sqrttf2.c: Likewise.
2385 * soft-fp/subdf3.c: Likewise.
2386 * soft-fp/subsf3.c: Likewise.
2387 * soft-fp/subtf3.c: Likewise.
2388 * soft-fp/truncdfsf2.c: Likewise.
2389 * soft-fp/trunctfdf2.c: Likewise.
2390 * soft-fp/trunctfsf2.c: Likewise.
2391 * soft-fp/trunctfxf2.c: Likewise.
2392 * soft-fp/unorddf2.c: Likewise.
2393 * soft-fp/unordsf2.c: Likewise.
2394 * soft-fp/unordtf2.c: Likewise.
2395
17c48a60
OB
23962013-10-14 Ondřej Bílka <neleai@seznam.cz>
2397
2398 [BZ #15672]
2399 * misc/error.c (error_tail): Fix possible buffer overflow.
2400
cabba934
OB
24012013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2402
2403 [BZ #13028]
2404 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2405 address.
2406
94bf958a
PM
24072013-10-14 P. J. McDermott <pj@pehjota.net>
2408
2409 [BZ #832]
2410 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2411 testing pipefail option.
2412
71b4dea7
JM
24132013-10-12 Joseph Myers <joseph@codesourcery.com>
2414
2415 * soft-fp/double.h: Indent preprocessor directives inside #if.
2416 * soft-fp/extended.h: Likewise.
2417 * soft-fp/op-2.h: Likewise.
2418 * soft-fp/op-4.h: Likewise.
2419 * soft-fp/op-common.h: Likewise.
2420 * soft-fp/quad.h: Likewise.
2421 * soft-fp/single.h: Likewise.
2422 * soft-fp/soft-fp.h: Likewise.
2423
55602758
YC
24242013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2425
2426 * iconv/iconv_prog.c: Fix typos.
2427 * stdio-common/psiginfo-data.h: Likewise.
2428
9cd83302
RT
24292013-10-12 Reuben Thomas <rrt@sc3d.org>
2430
2431 [BZ #15764]
2432 * locale/setlocale.c: Fix typo.
2433
99fd9f47
JM
24342013-10-12 Joseph Myers <joseph@codesourcery.com>
2435
b7ea74f0
JM
2436 [BZ #16036]
2437 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2438 signaling NaN arguments.
2439 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2440 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2441
8a509447
JM
2442 [BZ #14910]
2443 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2444 unordered operands.
2445 * soft-fp/gesf2.c (__gesf2): Likewise.
2446 * soft-fp/getf2.c (__getf2): Likewise.
2447 * soft-fp/ledf2.c (__ledf2): Likewise.
2448 * soft-fp/lesf2.c (__lesf2): Likewise.
2449 * soft-fp/letf2.c (__letf2): Likewise.
2450
98998e9f
JM
2451 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2452 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2453 * soft-fp/eqtf2.c (__eqtf2): Likewise.
2454 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2455 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2456 * soft-fp/fixdfti.c (__fixdfti): Likewise.
2457 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2458 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2459 * soft-fp/fixsfti.c (__fixsfti): Likewise.
2460 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2461 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2462 * soft-fp/fixtfti.c (__fixtfti): Likewise.
2463 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2464 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2465 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2466 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2467 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2468 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2469 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2470 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2471 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2472 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2473 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2474 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2475 * soft-fp/floattidf.c (__floattidf): Likewise.
2476 * soft-fp/floattisf.c (__floattisf): Likewise.
2477 * soft-fp/floattitf.c (__floattitf): Likewise.
2478 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2479 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2480 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2481 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2482 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2483 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2484 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2485 * soft-fp/gesf2.c (__gesf2): Likewise.
2486 * soft-fp/getf2.c (__getf2): Likewise.
2487 * soft-fp/ledf2.c (__ledf2): Likewise.
2488 * soft-fp/lesf2.c (__lesf2): Likewise.
2489 * soft-fp/letf2.c (__letf2): Likewise.
2490
8edc4a11
JM
2491 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2492 Undefine and redefine.
2493 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2494 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2495 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2496 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2497 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2498 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2499 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2500 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2501 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2502 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2503 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2504 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2505 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2506 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2507 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2508
8399acaf
JM
2509 [BZ #16032]
2510 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2511 without decrementing exponent if mantissa >= that for the
2512 denominator, not >.
2513 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2514 denominator, not >. Decrement exponent in < case instead of
2515 incrementing in >= case.
2516 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2517 without decrementing exponent if mantissa >= that for the
2518 denominator, not >.
2519
99fd9f47
JM
2520 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2521 computing saturated result for unsigned overflow.
2522
10e1cf6b
SP
25232013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2524 Jeff Law <law@redhat.com>
2525
2526 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2527 (atan2Mp): Add systemtap probe marker.
2528 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2529 (__ieee754_log): Add systemtap probe marker.
2530 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2531 (atanMp): Add systemtap probe marker.
2532 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2533 (tanMp): Add systemtap probe marker.
2534 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2535 (__slowexp): Add systemtap probe marker.
2536 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2537 (__slowpow): Add systemtap probe marker.
2538 * manual/probes.texi: Document probes.
2539
3d110c7c
EB
25402013-10-11 Eric Biggers <ebiggers3@gmail.com>
2541
2542 [BZ #15362]
2543 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2544 written.
2545 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2546 written.
2547 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2548 written to buffer but not flushed.
2549 * libio/iofwrite_u.c: Likewise.
2550 * libio/iopadn.c: Return bytes returned even if EOF was
2551 encountered.
2552 * libio/iowpadn.c: Likewise.
2553 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2554 if _IO_padn does not write the whole buffer.
2555 [!COMPILE_WPRINTF] (PAD): Likewise.
2556
75b4202a
DM
25572013-10-10 David S. Miller <davem@davemloft.net>
2558
2559 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2560 directory block.
2561
6c6352e6
JM
25622013-10-10 Joseph Myers <joseph@codesourcery.com>
2563
33b853c3
JM
2564 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2565 instead of FSF address.
2566 * soft-fp/fixdfti.c: Likewise.
2567 * soft-fp/fixsfti.c: Likewise.
2568 * soft-fp/fixtfti.c: Likewise.
2569 * soft-fp/fixunsdfti.c: Likewise.
2570 * soft-fp/fixunssfti.c: Likewise.
2571 * soft-fp/fixunstfti.c: Likewise.
2572 * soft-fp/floattidf.c: Likewise.
2573 * soft-fp/floattisf.c: Likewise.
2574 * soft-fp/floattitf.c: Likewise.
2575 * soft-fp/floatuntidf.c: Likewise.
2576 * soft-fp/floatuntisf.c: Likewise.
2577 * soft-fp/floatuntitf.c: Likewise.
2578 * soft-fp/trunctfxf2.c: Likewise.
2579
6c6352e6
JM
2580 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2581 * soft-fp/fixdfti.c: Likewise.
2582 * soft-fp/fixsfti.c: Likewise.
2583 * soft-fp/fixtfti.c: Likewise.
2584 * soft-fp/fixunsdfti.c: Likewise.
2585 * soft-fp/fixunssfti.c: Likewise.
2586 * soft-fp/fixunstfti.c: Likewise.
2587 * soft-fp/floattidf.c: Likewise.
2588 * soft-fp/floattisf.c: Likewise.
2589 * soft-fp/floattitf.c: Likewise.
2590 * soft-fp/floatuntidf.c: Likewise.
2591 * soft-fp/floatuntisf.c: Likewise.
2592 * soft-fp/floatuntitf.c: Likewise.
2593 * soft-fp/trunctfxf2.c: Likewise.
2594
3bf78b71
DM
25952013-10-10 David S. Miller <davem@davemloft.net>
2596
2597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2598
6f10289e
JM
25992013-10-10 Joseph Myers <joseph@codsourcery.com>
2600
bd878fc0
JM
2601 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2602 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2603 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2604 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2605 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2606 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2607 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2608
6f10289e
JM
2609 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2610 for NaNs before doing comparisons on argument.
2611 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2612 Likewise.
2613
321e2684
WN
26142013-10-10 Will Newton <will.newton@linaro.org>
2615
2616 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2617 passed to _int_memalign does not overflow.
2618
40fefba1
TR
26192013-10-10 Torvald Riegel <triegel@redhat.com>
2620
2621 * scripts/bench.pl: Add include-sources directive.
2622 * benchtests/README: Update documentation.
2623
2ae21ed2
JM
26242013-10-10 Joseph Myers <joseph@codesourcery.com>
2625
dcc2dd3f
JM
2626 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2627 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2628 instead of FP_INIT_ROUNDMODE.
2629 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2630 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2631
2ae21ed2
JM
2632 [BZ #16034]
2633 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2634 copy class of input value.
2635 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2636 not handle exceptions.
2637 * soft-fp/negsf2.c (__negsf2): Likewise.
2638 * soft-fp/negtf2.c (__negtf2): Likewise.
2639 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2640
cb8f9562
JM
26412013-10-09 Joseph Myers <joseph@codesourcery.com>
2642
2643 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2644 semicolon. From Linux kernel.
2645
5b60c59d
AB
26462013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2647
2648 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2649
b86835ca
YC
26502013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2651
2652 [BZ #156]
2653 * manual/socket.texi: Added statement about buffer
2654 for gethostbyname2_r.
2655
e7044ea7
OB
26562013-10-08 Ondřej Bílka <neleai@seznam.cz>
2657
2658 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2659 Use .p2align directive instead, throughout.
2660 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2661 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2662 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2663 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2664 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2665 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2666 * sysdeps/x86_64/strchr.S: Likewise.
2667 * sysdeps/x86_64/strrchr.S: Likewise.
2668
09544cbc
SP
26692013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2670
88576635
SP
2671 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2672
e7b2d1dd
SP
2673 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2674
09544cbc
SP
2675 * sysdeps/generic/math_private.h (__mpsin1): Remove
2676 declaration.
2677 (__mpcos1): Likewise.
2678 (__mpsin): New argument __range_reduce.
2679 (__mpcos): Likewise.
2680 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2681 (slow): Use __mpsin and __mpcos.
2682 (slow1): Likewise.
2683 (slow2): Likewise.
2684 (sloww): Likewise.
2685 (sloww1): Likewise.
2686 (sloww2): Likewise.
2687 (bsloww): Likewise.
2688 (bsloww1): Likewise.
2689 (bsloww2): Likewise.
2690 (cslow2): Likewise.
2691 (csloww): Likewise.
2692 (csloww1): Likewise.
2693 (csloww2): Likewise.
2694 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2695 range_reduce. Merge in __mpsin1.
2696 (__mpcos): Likewise.
2697 (__mpsin1): Remove.
2698 (__mpcos1): Likewise.
2699
7602d070
JM
27002013-10-07 Joseph Myers <joseph@codesourcery.com>
2701
2702 * locale/loadlocale.c (_nl_intern_locale_data): Use
2703 LOCFILE_ALIGNED_P.
2704 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2705 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2706 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2707 obstack data is appropriately aligned.
2708 (obstack_int32_grow_fast): Likewise.
2709 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2710 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2711 (add_locale_uint32_array): Likewise.
2712
a357259b
SP
27132013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2714
2715 * benchtests/Makefile: Remove ARGLIST and RET variables.
2716 ($(objpfx)bench-%.c): Pass only function name to the script.
2717 * benchtests/README: Update documentation.
2718 * benchtests/acos-inputs: Add new directives.
2719 * benchtests/acosh-inputs: Likewise.
2720 * benchtests/asin-inputs: Likewise.
2721 * benchtests/asinh-inputs: Likewise.
2722 * benchtests/atan-inputs: Likewise.
2723 * benchtests/atanh-inputs: Likewise.
2724 * benchtests/cos-inputs: Likewise.
2725 * benchtests/cosh-inputs: Likewise.
2726 * benchtests/exp-inputs: Likewise.
2727 * benchtests/log-inputs: Likewise.
2728 * benchtests/pow-inputs: Likewise.
2729 * benchtests/rint-inputs: Likewise.
2730 * benchtests/sin-inputs: Likewise.
2731 * benchtests/sinh-inputs: Likewise.
2732 * benchtests/tan-inputs: Likewise.
2733 * benchtests/tanh-inputs: Likewise.
2734 * scripts/bench.pl: Add support for new directives.
2735
9ec1b13d
AM
27362013-10-07 Alan Modra <amodra@gmail.com>
2737
2738 * README: Fix careless merge.
2739
8b7d57cd
AM
27402013-10-05 Alan Modra <amodra@gmail.com>
2741
2742 * NEWS: Mention powerpc64le support and bugs fixed.
2743 * README: Both big-endian and little-endian powerpc64 supported.
2744
7b7bab13
ST
27452013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2746
2747 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2748 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2749 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2750 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2751
d39baad1
RA
27522013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
2753
2754 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2755 match prototype.
2756
cd78f7e7
JM
27572013-10-04 Joseph Myers <joseph@codesourcery.com>
2758
29d73d86
JM
2759 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2760 Move -mhard-float appending from
2761 ports/sysdeps/powerpc/powerpc32/Makefile.
2762 [$(with-fp) = yes] (ASFLAGS): Likewise.
2763 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2764 * sysdeps/powerpc/nofpu: Move directory from
2765 ports/sysdeps/powerpc/nofpu.
2766 * sysdeps/powerpc/soft-fp: Move directory from
2767 ports/sysdeps/powerpc/soft-fp.
2768 * sysdeps/powerpc/powerpc32/405: Move directory from
2769 ports/sysdeps/powerpc/powerpc32/405.
2770 * sysdeps/powerpc/powerpc32/440: Move directory from
2771 ports/sysdeps/powerpc/powerpc32/440.
2772 * sysdeps/powerpc/powerpc32/464: Move directory from
2773 ports/sysdeps/powerpc/powerpc32/464.
2774 * sysdeps/powerpc/powerpc32/476: Move directory from
2775 ports/sysdeps/powerpc/powerpc32/476.
2776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2777 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2779 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2781 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2783 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2785 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2786 * README: Update for powerpc-*-linux-gnu software floating point
2787 support in libc.
2788
e246b347
JM
2789 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2790 case to powerpc/powerpc32*.
2791 * sysdeps/unix/sysv/linux/configure: Regenerated.
2792
89c2003e
JM
2793 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2794 (_FPU_MASK_OM): Define as 0x04.
2795 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2796 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2797 0x00c10080.
2798 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2799 0x0000003c.
2800 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2801
cd78f7e7
JM
2802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2803 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2804 getcontext_e500.
2805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2806 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2807 setcontext_e500.
2808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2809 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2810 and setcontext_e500.
2811
c755294d
CL
28122013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2813
2814 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2815
e16d221c
SP
28162013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2817
2818 * manual/threads.texi (Default Thread Attributes): Fix typo.
2819
215c7d43
WN
28202013-10-04 Will Newton <will.newton@linaro.org>
2821
2822 * malloc/Makefile: Add tst-memalign.
2823 * malloc/tst-memalign.c: New file.
2824
27d0461b
WN
2825 * malloc/tst-posix_memalign.c: Add comments.
2826 (do_test): Add comments and call free on all potentially
2827 allocated pointers. Add space after cast.
2828
1bc92709
WN
2829 * malloc/tst-pvalloc.c: Add comments.
2830 (do_test): Add comments and call free on all potentially
2831 allocated pointers. Remove duplicate check for NULL pointer.
2832 Add space after cast.
2833
66a9be9d
WN
2834 * malloc/tst-valloc.c: Add comments.
2835 (do_test): Add comments and call free on all potentially
2836 allocated pointers. Remove duplicate check for NULL pointer.
2837 Add space after cast.
2838
4cb81307
AM
28392013-10-04 Alan Modra <amodra@gmail.com>
2840
2841 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2842 Use stdint types in rather than __attribute__((mode())).
2843 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2844
f8e3e9f3
AM
28452013-10-04 Alan Modra <amodra@gmail.com>
2846
2847 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2848 Correct handling of unaligned relocs for little-endian.
2849 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2850
8f9ebb08
AM
28512013-10-04 Alan Modra <amodra@gmail.com>
2852
2853 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2854 * configure: Regenerate.
2855 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2856 * shlib-versions: Likewise.
2857
0edf96c2
AM
28582013-10-04 Alan Modra <amodra@gmail.com>
2859
2860 * string/tester.c (test_memrchr): Increment reported test cycle.
2861
e0f7a380
AM
28622013-10-04 Alan Modra <amodra@gmail.com>
2863
2864 * string/test-memcpy.c (do_one_test): When reporting errors, print
2865 string address and don't overrun end of string.
2866
466b0393
AM
28672013-10-04 Alan Modra <amodra@gmail.com>
2868
2869 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2870 insrdi. Make better use of reg selection to speed exit slightly.
2871 Schedule entry path a little better. Remove useless "are we done"
2872 checks on entry to main loop. Handle wrapping around zero address.
2873 Correct main loop count. Handle single left-over word from main
2874 loop inline rather than by using loop_small. Remove extra word
2875 case in loop_small caused by wrong loop count. Add little-endian
2876 support.
2877 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2878 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2879 cache hint.
2880 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2881 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2882 support. Avoid rlwimi.
2883 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2884
3be87c77
AM
28852013-10-04 Alan Modra <amodra@gmail.com>
2886
2887 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 2888 insrdi. Formatting.
3be87c77
AM
2889 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2890 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2891 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2892 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2893 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2894 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2895
759cfef3
AM
28962013-10-04 Alan Modra <amodra@gmail.com>
2897
2898 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2899 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2900 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2901 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2902 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2903 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2904 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2905 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2906 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2907 use of regs. Use power7 mtocrf. Tidy function tails.
2908
fe6e95d7
AM
29092013-10-04 Alan Modra <amodra@gmail.com>
2910
2911 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2912 Formatting. Consistently use rXXX register defines or rN defines.
2913 Use early exit labels that avoid restoring unused non-volatile regs.
2914 Make cr field use more consistent with rWORDn compares. Rename
2915 regs used as shift registers for unaligned loop, using rN defines
2916 for short lifetime/multiple use regs.
2917 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2918 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2919 addi 1,1,64 to pop stack frame. Simplify return value code.
2920 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2921
664318c3
AM
29222013-10-04 Alan Modra <amodra@gmail.com>
2923
2924 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2925 support. Correct typos, formatting. Optimize tail. Use insrdi
2926 rather than rlwimi.
2927 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2928 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2929 little-endian support. Correct typos.
2930 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2931 rather than rlwimi.
2932 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2933 in loop and entry code to keep "and." results.
2934 (strchr): Add little-endian support. Comment. Move cntlzd
2935 earlier in tail.
2936 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2937
43b84013
AM
29382013-10-04 Alan Modra <amodra@gmail.com>
2939
2940 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2941 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2942 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2943 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2944
8a7413f9
AM
29452013-10-04 Alan Modra <amodra@gmail.com>
2946
2947 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2948 (rTMP): Define as r11.
2949 (strcmp): Add little-endian support. Optimise tail.
2950 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2951 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2952 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2953 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2954 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2955 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2956 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2957
33ee81de
AM
29582013-10-04 Alan Modra <amodra@gmail.com>
2959
2960 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2961 little-endian support. Remove unnecessary "are we done" tests.
2962 Handle "s" wrapping around zero and extremely large "size".
2963 Correct main loop count. Handle single left-over word from main
2964 loop inline rather than by using small_loop. Correct comments.
2965 Delete "zero" tail, use "end_max" instead.
2966 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2967
db9b4570
AM
29682013-10-04 Alan Modra <amodra@gmail.com>
2969
2970 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2971 support. Don't branch over align.
2972 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2973 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2974 support. Rearrange tmp reg use to suit. Comment.
2975 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2976
f7c399cf
AM
29772013-10-04 Alan Modra <amodra@gmail.com>
2978
2979 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2980
0b2c2ace
AM
29812013-10-04 Alan Modra <amodra@gmail.com>
2982
2983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2984 conditional form of branch and link when obtaining pc.
2985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2986
02f04a6c
AM
29872013-10-04 Alan Modra <amodra@gmail.com>
2988
2989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2990 HIWORD/LOWORD.
2991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2993
9b874b2f
AM
29942013-10-04 Alan Modra <amodra@gmail.com>
2995
2996 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2997 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2998 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2999 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3000 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3001 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3002 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3003 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3004 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3005 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3006
be1e5d31
AB
30072013-10-04 Anton Blanchard <anton@au1.ibm.com>
3008 Alistair Popple <alistair@ozlabs.au.ibm.com>
3009 Alan Modra <amodra@gmail.com>
3010
3011 [BZ #15723]
3012 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3013 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3014 _dl_hwcap access for little-endian.
3015 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3016 destroy vmx regs when saving unaligned.
3017 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3018 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3019 destroy vmx regs when saving unaligned.
3020
fef13a78
AM
30212013-10-04 Alan Modra <amodra@gmail.com>
3022
3023 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3024 Don't use a union to pack hi/low value.
3025
76a66d51
AB
30262013-10-04 Anton Blanchard <anton@au1.ibm.com>
3027
3028 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3029 for little-endian.
3030 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3031 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3032 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3033 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3034 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3035
6a31fe7f
AM
30362013-10-04 Alan Modra <amodra@gmail.com>
3037
3038 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3039 constants to usual value for .cst8 section, and remove redundant
3040 high address load.
3041 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3042 constant for 0x1p52. Load little-endian words of double from
3043 correct stack offsets.
3044
7b88401f
AM
30452013-10-04 Alan Modra <amodra@gmail.com>
3046
3047 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3048 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3049 words of double from correct stack offsets.
3050 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3051 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3052 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3053 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3054 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3055 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3056 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3057 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3058 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3059 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3060 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3061 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3062 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3063 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3064 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3065 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3066 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3067
9c008155
AM
30682013-10-04 Alan Modra <amodra@gmail.com>
3069
3070 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3071 64-bit int/double union.
3072 (_FPU_SETCW): Likewise.
3073 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3074 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3075
da13146d
AM
30762013-10-04 Alan Modra <amodra@gmail.com>
3077
3078 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3079 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3080
603e8410
AM
30812013-10-04 Alan Modra <amodra@gmail.com>
3082
3083 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3084 use vector int constants.
3085 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3086
4a28b3ca
AB
30872013-10-04 Anton Blanchard <anton@au1.ibm.com>
3088
3089 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3090 array with long long.
3091 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3092 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3093 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3094 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3095 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3096 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3097 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3098 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3099 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3100 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3101 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3102 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3103 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3104
2ca85d2b
AB
31052013-10-04 Anton Blanchard <anton@au1.ibm.com>
3106
3107 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3108 (__signbit): Likewise. Correct for little-endian.
3109 (__signbitl): Call __signbit.
3110 (lrint): Correct for little-endian.
3111 (lrintf): Call lrint.
3112
62a728ae
AM
31132013-10-04 Alan Modra <amodra@gmail.com>
3114
3115 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3116 union 32-bit int array member with 64-bit int array.
3117 (t515, tm256): Double rather than long double.
3118 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3119
32c301df
AM
31202013-10-04 Alan Modra <amodra@gmail.com>
3121
3122 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3123 Delete.
3124 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3125 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3126 version of math_ldbl.h.
3127
650ef4bd
AM
31282013-10-04 Alan Modra <amodra@gmail.com>
3129
3130 [BZ #15734], [BZ #15735]
3131 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3132 all uses of ieee875 long double macros and unions. Simplify test
3133 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3134 ldbl_extract_mantissa value for ix,iy exponents. Properly
3135 normalize after ldbl_extract_mantissa, and don't add hidden bit
3136 already handled. Don't treat low word of ieee854 mantissa like
3137 low word of IBM long double and mask off bit when testing for
3138 zero.
3139 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3140 all uses of ieee875 long double macros and unions. Simplify tests
3141 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3142 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3143 two1022, instead use their values. Recognise that tests for large
3144 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3145 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3146 Rewrite all uses of ieee875 long double macros and unions. Simplify
3147 test for 0.0L and nan. Correct negation.
3148 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3149 ieee875 long double macros and unions. Correct output for large
3150 magnitude x. Correct absolute value calculation.
3151 (__erfcl): Likewise.
3152 * math/libm-test.inc: Add tests for errors discovered in IBM long
3153 double versions of fmodl, remainderl, erfl and erfcl.
3154
765714ca
AM
31552013-10-04 Alan Modra <amodra@gmail.com>
3156
3157 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3158 all uses of ieee854 long double macros and unions. Simplify tests
3159 for long doubles that are fully specified by the high double.
3160 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3161 Likewise.
3162 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3163 Remove dead code too.
3164 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3165 (__ieee754_ynl): Likewise.
3166 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3167 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3168 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3169 Remove dead code too.
3170 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3171 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3172 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3173 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3174 Simplify.
3175 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3176 Simplify.
3177 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3178 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3179 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3180 Comment on variable precision.
3181 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3182 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3183 Likewise.
3184 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3185 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3186 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3187 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3188 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3189
4ebd120c
AM
31902013-10-04 Alan Modra <amodra@gmail.com>
3191
3192 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3193 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3194 all uses of ieee854 long double macros and unions.
3195 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3196 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3197 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3198 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3199 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3200 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3201 Likewise.
3202 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3203 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3204 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3205 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3206 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3207 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3208 Simplify sign and nan test too.
3209 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3210 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3211 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3212 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3213 Likewise.
3214 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3215 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3216 Likewise.
3217 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3218 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3219 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3220 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3221 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3222 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3223
1b6adf88
AM
32242013-10-04 Alan Modra <amodra@gmail.com>
3225
3226 * stdio-common/printf_size.c (__printf_size): Don't use
3227 union ieee854_long_double in fpnum union.
3228 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
3229 signbit macro to retrieve sign from long double.
3230 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3231 retrieve sign from long double.
3232 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3233 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3234 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3235 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3236 * math/test-misc.c (main): Don't use union ieee854_long_double.
3237
4cf69995
AM
32382013-10-04 Alan Modra <amodra@gmail.com>
3239
3240 [BZ #15680]
3241 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3242 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3243 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3244 calculation. Remove unnecessary test for denormal exponent.
3245 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3246 Correct handling of denormals. Avoid undefined shift behaviour.
3247 Correct normalisation of low mantissa when low double is denormal.
3248 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3249 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3250 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3251 Correct normalisation of low mantissa. Test for overflow of high
3252 mantissa and normalise.
3253 (ldbl_nearbyint): Use more readable constant for two52.
3254 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3255 (__mpn_construct_long_double): Fix test for overflow of high
3256 mantissa and correct normalisation. Avoid undefined shift.
3257
9605ca6c
AM
32582013-10-04 Alan Modra <amodra@gmail.com>
3259
3260 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3261 (union ibm_extended_long_double): Define as an array of ieee754_double.
3262 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3263 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3264 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3265 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3266 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3267 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3268 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3269 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3270 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3271 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3272 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3273
975569d0
JM
32742013-10-03 Joseph Myers <joseph@codesourcery.com>
3275
d3d23756
JM
3276 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3277 page size instead of calling getpagesize.
3278
975569d0
JM
3279 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3280 (LOCFILE_ALIGN_MASK): Likewise.
3281 (LOCFILE_ALIGN_UP): Likewise.
3282 (LOCFILE_ALIGNED_P): Likewise.
3283 * locale/programs/ld-collate.c (collate_output): Use the new
3284 macros instead of __alignof__ (int32_t).
3285 * locale/weight.h (findidx): Likewise.
3286
b1fe1f2b
OB
32872013-10-03 Ondřej Bílka <neleai@seznam.cz>
3288
3289 [BZ #431]
3290 * manual/string.texi: Fix strncat and wcsncat.
3291
5f855e35
BM
32922013-10-03 Brooks Moses <bmoses@google.com>
3293
3294 [BZ #15915]
3295 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3296 * Makerules: ...here, and adjust associated comments.
3297
3cef6009
WN
32982013-10-02 Will Newton <will.newton@linaro.org>
3299
3300 * malloc/Makefile: Add tst-pvalloc.
3301 * malloc/tst-pvalloc.c: New file.
3302
7815420b
WN
33032013-10-02 Will Newton <will.newton@linaro.org>
3304
3305 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3306 improve test coverage.
3307
4868b204
WN
33082013-10-02 Will Newton <will.newton@linaro.org>
3309
3310 * malloc/Makefile: Add tst-posix_memalign.
3311 * malloc/tst-posix_memalign.c: New file.
3312
29c793b3
EB
33132013-10-01 Eric Blake <eblake@redhat.com>
3314
3315 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3316 Use __THROWNL rather than __THROW on static functions.
3317
fd967522
PM
33182013-09-30 Petr Machata <pmachata@redhat.com>
3319
3320 * elf/elf.h (R_AARCH64_ABS16): New macro.
3321 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3322 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3323 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3324 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3325 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3326 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3327 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3328 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3329 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3330 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3331 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3332 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3333 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3334 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3335 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3336 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3337 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3338 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3339 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3340 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3341 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3342 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3343 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3344 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3345 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3346 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3347 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3348 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3349 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3350 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3351 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3352 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3353 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3354 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3355 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3356 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3357 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3358 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3359 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3360 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3361 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3362 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3363 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3364 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3365 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3366 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3367 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3368 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3369 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3370 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3371 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3372 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3373 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3374 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3375 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3376 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3377 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3378 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3379 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3380 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3381 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3382 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3383 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3384 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3385 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3386 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3387 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3388 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3389 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3390 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3391 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3392 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3393 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3394 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3395 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3396 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3397 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3398 (R_AARCH64_TLSDESC_LDR): Likewise.
3399 (R_AARCH64_TLSDESC_ADD): Likewise.
3400 (R_AARCH64_TLSDESC_CALL): Likewise.
3401
b2179107
AS
34022013-09-30 Andreas Schwab <schwab@suse.de>
3403
3404 [BZ #15048]
3405 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3406 the nss database lookup.
3407 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3408 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3409
47f28d0a
MF
34102013-09-28 Mike Frysinger <vapier@gentoo.org>
3411
3412 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3413
34142013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
3415
3416 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3417 ${Bash-specific parameter/pattern/string} parameter expansion.
3418 * sysdeps/unix/make-syscalls.sh: Likewise.
3419
f4518a17
KK
34202013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3421
3422 * sysdeps/sh/stackguard-macros.h: New file.
3423
dc1a95c7
OB
34242013-09-26 Ondřej Bílka <neleai@seznam.cz>
3425
3426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3427 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3428 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3429 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3430 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3431 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3432
5ebbff8f
AZ
34332013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3434
3435 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3436 Fix thread ID register.
3437
4fd2cf9f
JM
34382013-09-25 Joseph Myers <joseph@codesourcery.com>
3439
3440 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3441 [POSIX || UNIX98]: Require rather than permitting all symbols from
3442 <time.h>.
3443 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3444 element of struct sched_param.
3445 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3446 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3447 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3448 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3449 constant.
3450
12c22bc4
OL
34512013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3452
3453 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3454 argument calculation.
3455
a03d8ea7
JM
34562013-09-24 Joseph Myers <joseph@codesourcery.com>
3457
3458 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3459 Expect macro.
3460 [POSIX] (pthread_attr_t): Do not require type.
3461 [POSIX] (pthread_cond_t): Likewise.
3462 [POSIX] (pthread_condattr_t): Likewise.
3463 [POSIX] (pthread_key_t): Likewise.
3464 [POSIX] (pthread_mutex_t): Likewise.
3465 [POSIX] (pthread_mutexattr_t): Likewise.
3466 [POSIX] (pthread_once_t): Likewise.
3467 [POSIX] (pthread_t): Likewise.
3468 [POSIX-based standards] (pthread_atfork): Expect function.
3469
6055173a
JM
34702013-09-24 Joseph Myers <joseph@codesourcery.com>
3471 Richard Sandiford <richard@codesourcery.com>
3472
3473 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3474 (swap_endianness_p): New extern variable.
3475 (set_big_endian): New inline function.
3476 (maybe_swap_uint32): Likewise.
3477 (maybe_swap_uint32_array): Likewise.
3478 (maybe_swap_uint32_obstack): Likewise.
3479 * locale/programs/locfile.c: Include <stdbool.h>.
3480 (swap_endianness_p): New variable.
3481 (add_locale_uint32): Call maybe_swap_uint32.
3482 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3483 (write_locale_data): Call maybe_swap_uint32_array.
3484 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3485 maybe_swap_uint32.
3486 (obstack_int32_grow_fast): Likewise.
3487 (output_weightwc): Call maybe_swap_uint32_obstack.
3488 (collate_output): Likewise.
3489 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3490 (OPT_LITTLE_ENDIAN): Likewise.
3491 (options): Add --little-endian and --big-endian options.
3492 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3493 * locale/programs/locarchive.c: Include "locfile.h".
3494 (GET): New macro.
3495 (SET): Likewise.
3496 (INC): Likewise.
3497 (create_archive): Use the new macros to access fields of
3498 structures directly mapped from or written to locale archives.
3499 (oldlocrecentcmp): Likewise.
3500 (enlarge_archive): Likewise.
3501 (insert_name): Likewise.
3502 (add_alias): Likewise.
3503 (add_locale): Likewise.
3504 (delete_locales_from_archive): Likewise.
3505 (show_archive_content): Likewise.
3506 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3507 locale data.
3508
39bf0bb4
RM
35092013-09-24 Roland McGrath <roland@hack.frob.com>
3510
3511 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3512 http://www.gnu.org/doc/freemanuals.texi.
3513 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3514
f02eed10
WN
35152013-09-24 Will Newton <will.newton@linaro.org>
3516
3517 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3518 macro.
3519
a3a6c312
JM
35202013-09-23 Joseph Myers <joseph@codesourcery.com>
3521
3522 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3523 unsigned char.
3524
107375ac
MR
35252013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3526
3527 * manual/threads.texi (POSIX Threads): Fix a typo.
3528
141f3a77
SP
35292013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3530
303e567a
SP
3531 [BZ #14547]
3532 * string/tst-strcoll-overflow.c: New test case.
3533 * string/Makefile (xtests): Add tst-strcoll-overflow.
3534 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3535 cache if string sizes may cause integer overflow.
3536
141f3a77
SP
3537 [BZ #14547]
3538 * string/strcoll_l.c (coll_seq): New members rule, idx,
3539 save_idx and back_us.
3540 (get_next_seq_nocache): New function.
3541 (do_compare_nocache): New function.
3542 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3543 when malloc fails.
3544
c61b4d41
CD
35452013-09-23 Carlos O'Donell <carlos@redhat.com>
3546
0b1f8e35
CD
3547 [BZ #15754]
3548 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3549 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3550 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3551
c61b4d41
CD
3552 [BZ #15754]
3553 * elf/Makefile (tests): Add tst-ptrguard1.
3554 (tests-static): Add tst-ptrguard1-static.
3555 (tst-ptrguard1-ARGS): Define.
3556 (tst-ptrguard1-static-ARGS): Define.
3557 * elf/tst-ptrguard1.c: New file.
3558 * elf/tst-ptrguard1-static.c: New file.
3559 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3560 * sysdeps/i386/stackguard-macros.h: Likewise.
3561 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3562 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3563 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3564 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3565 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3566 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3567
35682013-09-23 Hector Marco <hecmargi@upv.es>
3569 Ismael Ripoll <iripoll@disca.upv.es>
3570 Carlos O'Donell <carlos@redhat.com>
3571
3572 [BZ #15754]
3573 * sysdeps/generic/stackguard-macros.h: Define
3574 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3575 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3576 Define __pointer_chk_guard_local.
3577 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3578 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3579
f5f4e7b4
VV
35802013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3581
3582 [BZ #15859]
3583 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3584
5bb43a43
AS
35852013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3586
3587 * include/string.h (__ffs): Declare as hidden.
3588 * string/ffs.c (__ffs): Define as hidden.
3589 * sysdeps/i386/ffs.c (__ffs): Likewise.
3590 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3591 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3592 * sysdeps/s390/ffs.c (__ffs): Likewise.
3593 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3594
3ea5be54
AO
35952013-09-20 Alexandre Oliva <aoliva@redhat.com>
3596
ffb89e53
AO
3597 * NEWS: Mention malloc probes.
3598
322dea08
AO
3599 * malloc/arena.c (new_heap): New memory_heap_new probe.
3600 (grow_heap): New memory_heap_more probe.
3601 (shrink_heap): New memory_heap_less probe.
3602 (heap_trim): New memory_heap_free probe.
3603 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3604 (systrim): New memory_sbrk_less probe.
3605 * manual/probes.texi: Document them.
3606
655673f3
AO
3607 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3608 * manual/probes.texi: Document it.
3609
35fed6f1
AO
3610 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3611 (__libc_realloc): Add memory_realloc_retry probe.
3612 (__libc_memalign): Add memory_memalign_retry probe.
3613 (__libc_valloc): Add memory_valloc_retry probe.
3614 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3615 (__libc_calloc): Add memory_calloc_retry probe.
3616 * manual/probes.texi: Document them.
3617
6999d38c
AO
3618 * malloc/arena.c (get_free_list): Add probe
3619 memory_arena_reuse_free_list.
3620 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3621 and memory_arena_reuse.
3622 (arena_get2) [!PER_THREAD]: Likewise.
3623 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3624 memory_arena_reuse_realloc.
3625 * manual/probes.texi: Document them.
3626
0653427f
AO
3627 * malloc/malloc.c (__libc_free): Add
3628 memory_mallopt_free_dyn_thresholds probe.
3629 (__libc_mallopt): Add multiple memory_mallopt probes.
3630 * manual/probes.texi: Document them.
3631
3ea5be54
AO
3632 * malloc/malloc.c: Include stap-probe.h.
3633 (__libc_mallopt): Add memory_mallopt probe.
3634 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3635 * manual/probes.texi: New.
3636 * manual/Makefile (chapters): Add probes.
3637 * manual/threads.texi: Set next node.
3638
e35696c3 36392013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 3640
e35696c3
CL
3641 [BZ #15963, #13985]
3642 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3643 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3644 Add `Chinese' to `nan' entry name.
3645
4aafb73c
SP
36462013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3647
3648 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3649 (POLYNOMIAL): Likewise.
3650 (TAYLOR_SINCOS): Likewise.
3651 (TAYLOR_SLOW): Likewise.
3652 (__sin): Use TAYLOR_SINCOS.
3653 (__cos): Likewise.
3654 (slow): Use TAYLOR_SLOW.
3655 (sloww): Likewise.
3656 (bsloww): Likewise.
3657 (csloww): Likewise.
3658
d84f25c7
LD
36592013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3660
3661 * stdlib/strtod_l.c: Fix buffer overrun.
3662
5eea0404
SP
36632013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3664
7849ff93
SP
3665 * benchtests/Makefile (bench): Add sincos.
3666 * benchtests/bench-sincos.c: New file.
3667
cfa3c886
SP
3668 * math/libm-test.inc (cos_test_data): New test inputs.
3669 (sin_test_data): Likewise.
3670
b348e1e3
SP
3671 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3672 macro.
3673 (__sin): Use it.
3674 (__cos): Likewise.
3675 (slow1): Likewise.
3676 (slow2): Likewise.
3677 (sloww1): Likewise.
3678 (sloww2): Likewise.
3679 (bsloww1): Likewise.
3680 (bsloww2): Likewise.
3681 (cslow2): Likewise.
3682 (csloww1): Likewise.
3683 (csloww2): Likewise.
3684
6cce25f8
SP
3685 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3686 function.
3687 (__sin): Use it.
3688 (__cos): Likewise.
3689
5eea0404
SP
3690 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3691 gotos.
3692 (__cos): Likewise.
3693
9c21573c
MR
36942013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3695
3696 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3697 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3698 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3699 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3700 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3701 * elf/cache.c (print_entry): Handle the new cache flags.
3702
24d22e65
JM
37032013-09-18 Joseph Myers <joseph@codesourcery.com>
3704 Aldy Hernandez <aldyh@redhat.com>
3705
3706 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3707 Change condition to [_SOFT_FLOAT].
3708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3710 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3711 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3712 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3713 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3714 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3716 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3717 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3719 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3720 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3723 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3724 declaration.
3725
d13ef066
JM
37262013-09-18 Joseph Myers <joseph@codesourcery.com>
3727
2e071de0
JM
3728 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3729 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3730 (__longjmp): Use LOAD_GP to load saved GPRs.
3731 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3732 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3733 (__sigsetjmp): Use SAVE_GP to save GPRs.
3734
d13ef066
JM
3735 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3736 Do not append -msoft-float.
3737 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3738
97a0650b
SP
37392013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3740
3741 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3742
11ca09e9
JM
37432013-09-17 Joseph Myers <joseph@codesourcery.com>
3744
3745 [BZ #15966]
3746 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3747 (_FPU_GETCW): Use initial "__" on variable and field names but not
3748 on macro parameter name.
3749 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
3750 parentheses around reference to macro parameter.
3751
08ffcf34
RS
37522013-09-13 Richard Sandiford <richard@codesourcery.com>
3753
3754 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3755 prototype.
3756 (ctype_startup): Use uint32_t in cast and sizeof for
3757 ctype->charnames.
3758
ae7080d3
JL
37592013-09-11 Jia Liu <proljc@gmail.com>
3760
3761 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3762 __daddr_t_defined.
3763 [__FreeBSD__]: Likewise.
3764
5905e7b3
OB
37652013-09-11 Ondřej Bílka <neleai@seznam.cz>
3766
3767 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3768 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3769 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3770 (strchr): Remove __strchr_sse42 ifunc selection.
3771 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3772 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3773
b987c776
WN
37742013-09-11 Will Newton <will.newton@linaro.org>
3775
3776 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3777 parameter to RES. Remove hardcoded 1000 value.
3778 * benchtests/bench-skeleton.c (main): Pass RES parameter
3779 to TIMING_INIT and multiply result by 1000.
3780
ddf985af
AZ
37812013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3782
3783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3784
ffdd3181
AS
37852013-09-11 Andreas Schwab <schwab@suse.de>
3786
3787 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3788 if not defined.
3789 (O_TMPFILE) [__USE_GNU]: Define.
3790 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3791 Define.
3792
b73ed247
WN
37932013-09-11 Will Newton <will.newton@linaro.org>
3794
3795 [BZ #15857]
3796 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3797 does not overflow.
3798
55e17aad
WN
37992013-09-11 Will Newton <will.newton@linaro.org>
3800
3801 [BZ #15856]
3802 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3803 does not overflow.
3804
1159a193
WN
38052013-09-11 Will Newton <will.newton@linaro.org>
3806
3807 [BZ #15855]
3808 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3809 does not overflow.
3810
5905e7b3 38112013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
3812
3813 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3814 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3815 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3816 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3817 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3818
cdfc721b
AM
38192013-09-10 Allan McRae <allan@archlinux.org>
3820
aa04af00
AM
3821 [BZ #15748]
3822 * manual/arith.texi (Parsing of Floats): Clarify
3823 cross-reference.
3824
cdfc721b
AM
3825 [BZ #15849]
3826 * manual/install.texi (Running make install): Mention
3827 --enable-pt-chown.
3828 * INSTALL: Regenerated.
3829
95e7cf29
MR
38302013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3831
3832 * csu/init-first.c (_init): Remove the !SHARED condition around
3833 FPU control word initialization.
3834 * elf/dl-support.c (_dl_fpu_control): New variable.
3835 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3836 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3837 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3838 * math/test-fpucw-static.c: New file.
3839 * math/test-fpucw-ieee.c: New file.
3840 * math/test-fpucw-ieee-static.c: New file.
3841 * math/Makefile (tests): Add `test-fpucw-ieee' and
3842 `$(tests-static)'.
3843 (tests-static): New variable.
3844 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3845 dependency to...
3846 [($(build-shared),yes)]
3847 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3848 ... this.
3849 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3850 New dependency.
3851
83e43bf0
AM
38522013-09-09 Allan McRae <allan@archlinux.org>
3853
a9f5ce09
AM
3854 [BZ #15939]
3855 * manual/string.texi (Collation Functions): Fix typo in
3856 strcoll example.
3857 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3858
34829bc2
AM
3859 [BZ #15893]
3860 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3861
3932737d
AM
3862 [BZ #15892]
3863 * libio/memstream.c (open_memstream): Fix memory leak.
3864 * libio/wmemstream.c (open_wmemstream): Likewise.
3865
83e43bf0
AM
3866 [BZ #15895]
3867 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3868
0c66b8e9
WN
38692013-09-09 Will Newton <will.newton@linaro.org>
3870
3871 * malloc/Makefile: Add tst-realloc to tests.
3872 * malloc/tst-realloc.c: New file.
3873
f6b00fd1
AM
38742013-09-09 Allan McRae <allan@archlinux.org>
3875
3876 [BZ #15844]
3877 * COPYING: Update from GNU website to fix FSF address.
3878 * COPYING.LIB: Likewise.
3879
eec55e16
DM
38802013-09-06 David S. Miller <davem@davemloft.net>
3881
3882 * po/zh_TW.po: Update Chinese (traditional) translation from
3883 translation project.
3884
1ecbb381
RS
38852013-09-06 Richard Sandiford <richard@codesourcery.com>
3886 Joseph Myers <joseph@codesourcery.com>
3887
3888 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3889 "localeinfo.h".
3890 (obstack_chunk_alloc): New macro.
3891 (obstack_chunk_free): Likewise.
3892 (record_offset): New function.
3893 (init_locale_data): Likewise.
3894 (align_locale_data): Likewise.
3895 (add_locale_empty): Likewise.
3896 (add_locale_raw_data): Likewise.
3897 (add_locale_raw_obstack): Likewise.
3898 (add_locale_string): Likewise.
3899 (add_locale_wstring): Likewise.
3900 (add_locale_uint32): Likewise.
3901 (add_locale_uint32_array): Likewise.
3902 (add_locale_char): Likewise.
3903 (start_locale_structure): Likewise.
3904 (end_locale_structure): Likewise.
3905 (start_locale_prelude): Likewise.
3906 (end_locale_prelude): Likewise.
3907 (write_locale_data): Take locale_file structure rather than an
3908 iovec.
3909 * locale/programs/locfile.h: Include "obstack.h".
3910 (struct locale_file): Change to store locale file contents instead
3911 of header.
3912 (init_locale_data): New prototype.
3913 (align_locale_data): Likewise.
3914 (add_locale_empty): Likewise.
3915 (add_locale_raw_data): Likewise.
3916 (add_locale_raw_obstack): Likewise.
3917 (add_locale_string): Likewise.
3918 (add_locale_wstring): Likewise.
3919 (add_locale_uint32): Likewise.
3920 (add_locale_uint32_array): Likewise.
3921 (add_locale_char): Likewise.
3922 (start_locale_structure): Likewise.
3923 (end_locale_structure): Likewise.
3924 (start_locale_prelude): Likewise.
3925 (end_locale_prelude): Likewise.
3926 (write_locale_data): Update prototype.
3927 * locale/programs/3level.h (struct TABLE): Remove result field.
3928 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3929 Use new locale_file interface.
3930 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3931 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3932 * locale/programs/ld-address.c (address_output): Use new
3933 locale_file interface.
3934 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3935 NO_ADD_LOCALE.
3936 (collate_finish): Don't call collseq_table_finalize.
3937 (collate_output): Use new locale_file interface.
3938 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3939 in file.
3940 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3941 (TABLE): Move defines earlier in file.
3942 (ELEMENT): Likewise.
3943 (DEFAULT): Likewise.
3944 (wctrans_table_add): Move macro and inline function earlier in
3945 file.
3946 (struct wctype_table): Move type earlier in file.
3947 (add_locale_wctype_table): New static prototype.
3948 (struct locale_ctype_t): Use logical types instead of struct iovec
3949 pointers for members.
3950 (ctype_output): Use new locale_file interface.
3951 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3952 new locale_file interface.
3953 (allocate_arrays): Update for use of new locale_file interface.
3954 * locale/programs/ld-identification.c (identification_output): Use
3955 new locale_file interface.
3956 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3957 * locale/programs/ld-messages.c (messages_output): Likewise.
3958 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3959 * locale/programs/ld-name.c (name_output): Likewise.
3960 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3961 * locale/programs/ld-paper.c (paper_output): Likewise.
3962 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3963 * locale/programs/ld-time.c (time_output): Likewise.
3964
e029e2e5
AZ
39652013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3966
3967 * benchtests/Makefile: Add memrchr benchmark.
3968 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3969 benchmark as memrchr.
3970 * benchtests/bench-memrchr-ifunc.c: New file.
3971 * benchtests/bench-memrchr.c: New file.
3972
bbf6e8e4
WN
39732013-09-06 Will Newton <will.newton@linaro.org>
3974
3975 * benchtests/Makefile (string-bench): Add memcpy.
3976
6c82a2f8
CD
39772013-09-05 Carlos O'Donell <carlos@redhat.com>
3978 Cong Wang <amwang@redhat.com>
3979
3980 * sysdeps/unix/sysv/linux/bits/in.h
3981 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3982 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3983 before __USE_KERNEL_IPV6_DEFS uses.
3984 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3985 IPPROTO_BEETPH.
3986 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3987 sockaddr_in6, or ipv6_mreq.
3988
5430fc65
AZ
39892013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3990
3991 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3992 memory access for final bytes in some large inputs.
3993 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3994
4660856c
AZ
39952013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3996
3997 * string/test-memrchr.c: New file.
3998 * string/test-memrchr-ifunc.c: New file.
3999 * string/Makefile: Add new memrchr testcase.
4000
bb8ea713
MF
40012013-09-05 Mike Frysinger <vapier@gentoo.org>
4002
4003 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4004 fanotify_init returns EPERM.
4005
b92a20b5
JM
40062013-09-04 Joseph Myers <joseph@codesourcery.com>
4007
4008 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4009 errors.
4010 (top level): Treat second token from macro or constant entries for
4011 allowed headers as allowed.
4012 * include/complex.h: Condition internal declarations on
4013 [!_ISOMAC].
4014 * include/fenv.h: Condition include of <stdbool.h> and internal
4015 declarations on [!_ISOMAC].
7447ccd9
CL
4016
40172013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4018
3e181dda 4019 [BZ #15923]
7447ccd9
CL
4020 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4021
3f2e46a4
JM
40222013-09-04 Joseph Myers <joseph@codesourcery.com>
4023
4024 * configure.in (--enable-versioning): Remove configure option.
4025 (libc_cv_asm_symver_directive): Remove configure test.
4026 (libc_cv_ld_version_script_option): Likewise.
4027 (VERSIONING): Remove variable and AC_SUBST.
4028 (DO_VERSIONING): Remove AC_DEFINE.
4029 * configure: Regenerated.
4030 * config.h.in (DO_VERSIONING): Remove macro.
4031 * Makerules [$(versioning) = yes]: Change conditionals to
4032 [$(build-shared) = yes].
4033 * config.make.in (versioning): Remove variable.
4034 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4035 [$(build-shared) = yes].
4036 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4037 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4038 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4039 [$(build-shared) = yes].
4040 * extra-lib.mk [$(versioning) = yes]: Likewise.
4041 * hurd/Makefile [$(versioning) = yes]: Likewise.
4042 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4043 [SHARED].
4044 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4045 [SHARED].
4046 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4047 [SHARED && !NO_HIDDEN].
4048 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4049 [SHARED].
4050 [SHARED && DO_VERSIONING]: Likewise..
4051 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4052 [$(build-shared) = yes].
4053 * manual/install.texi (--disable-versioning): Remove
4054 documentation.
4055 * INSTALL: Regenerated.
4056 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4057 to [SHARED].
4058 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4059 [$(build-shared) = yes].
4060 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4061 * sysdeps/i386/i686/multiarch/strstr-c.c
4062 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4063 [SHARED && !NO_HIDDEN].
4064 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4065 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4066 * sysdeps/powerpc/powerpc32/dl-machine.c
4067 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4068 * sysdeps/powerpc/powerpc32/sysdep.h
4069 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4070 to [SHARED && PIC && !NO_HIDDEN].
4071 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4072 conditional to [SHARED].
4073
44558701
WN
40742013-09-04 Will Newton <will.newton@linaro.org>
4075
4076 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4077 * benchtests/bench-string.h: Include bench-timing.h instead
4078 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4079 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4080 call to HP_TIMING_DIFF_INIT.
4081 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4082 instead of hp-timing.h macros.
4083 * benchtests/bench-memchr.c: Likewise.
4084 * benchtests/bench-memcmp.c: Likewise.
4085 * benchtests/bench-memcpy.c: Likewise.
4086 * benchtests/bench-memmem.c: Likewise.
4087 * benchtests/bench-memmove.c: Likewise.
4088 * benchtests/bench-memset.c: Likewise.
4089 * benchtests/bench-rawmemchr.c: Likewise.
4090 * benchtests/bench-strcasecmp.c: Likewise.
4091 * benchtests/bench-strcasestr.c: Likewise.
4092 * benchtests/bench-strcat.c: Likewise.
4093 * benchtests/bench-strchr.c: Likewise.
4094 * benchtests/bench-strcmp.c: Likewise.
4095 * benchtests/bench-strcpy.c: Likewise.
4096 * benchtests/bench-strcpy_chk.c: Likewise.
4097 * benchtests/bench-strlen.c: Likewise.
4098 * benchtests/bench-strncasecmp.c: Likewise.
4099 * benchtests/bench-strncat.c: Likewise.
4100 * benchtests/bench-strncmp.c: Likewise.
4101 * benchtests/bench-strncpy.c: Likewise.
4102 * benchtests/bench-strnlen.c: Likewise.
4103 * benchtests/bench-strpbrk.c: Likewise.
4104 * benchtests/bench-strrchr.c: Likewise.
4105 * benchtests/bench-strspn.c: Likewise.
4106 * benchtests/bench-strstr.c: Likewise.
4107
cae16d66
WN
41082013-09-04 Will Newton <will.newton@linaro.org>
4109
4110 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4111
ffa3cd7f
JM
41122013-09-03 Joseph Myers <joseph@codesourcery.com>
4113
4114 [BZ #15427]
4115 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4116 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4117 * math/libm-test.inc (lgamma_test_data): Add more tests.
4118 * sysdeps/i386/fpu/libm-test-ulps: Update.
4119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4120
8f02859f
OB
41212013-09-03 Ondřej Bílka <neleai@seznam.cz>
4122
4123 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4125 Add ifunc.
4126 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4127 Add strcmp-sse2-unaligned
4128 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4129
18d43716
MF
41302013-09-02 Mike Frysinger <vapier@gentoo.org>
4131
4132 * Versions.def (libc): Add GLIBC_2.19.
4133
ac444012
MF
41342013-09-02 Mike Frysinger <vapier@gentoo.org>
4135
4136 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4137 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4138
b7835e32
JM
41392013-09-02 Joseph Myers <joseph@codesourcery.com>
4140
4141 [BZ #14155]
4142 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4143 intermediate calculations in recurrence.
4144 (__ieee754_ynf): Likewise.
4145 * math/libm-test.inc (jn_test_data): Do not allow spurious
4146 underflow exception. Add more tests.
4147 (yn_test_data): Add more tests.
4148 * sysdeps/i386/fpu/libm-test-ulps: Update.
4149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4150
8220f4f0
OB
41512013-09-02 Ondřej Bílka <neleai@seznam.cz>
4152
4153 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4154
f24a6d08
OB
41552013-08-30 Ondřej Bílka <neleai@seznam.cz>
4156
4157 * csu/init-first.c: Fix then/than typos.
4158 * locale/programs/ld-collate.c: Likewise.
4159 * locale/programs/linereader.h: Likewise.
4160 * manual/charset.texi: Likewise.
4161 * manual/filesys.texi: Likewise.
4162 * manual/stdio.texi: Likewise.
4163 * manual/string.texi: Likewise.
4164 * stdlib/fmtmsg.c: Likewise.
4165 * sysdeps/i386/stpncpy.S: Likewise.
4166 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4167 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4168 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4169 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4170
382466e0
OB
41712013-08-30 Ondřej Bílka <neleai@seznam.cz>
4172
4173 * elf/dl-open.c: Fix typos.
4174 * iconvdata/gbbig5.c: Likewise.
4175 * iconvdata/iso-2022-jp.c: Likewise.
4176 * iconv/gconv_int.h: Likewise.
4177 * iconv/loop.c: Likewise.
4178 * nis/rpcsvc/nis.h: Likewise.
4179 * resolv/ns_name.c: Likewise.
4180 * stdio-common/vfscanf.c: Likewise.
4181 * streams/stropts.h: Likewise.
4182 * sunrpc/rpc_thread.c: Likewise.
4183 * sysdeps/i386/strpbrk.S: Likewise.
4184 * sysdeps/ieee754/k_standard.c: Likewise.
4185 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4186 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4187 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4188 * sysdeps/mach/hurd/profil.c: Likewise.
4189 * sysdeps/s390/dl-procinfo.h: Likewise.
4190 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4191 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4192 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4193 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4194 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4195
0186c6e9
OB
41962013-08-30 Ondřej Bílka <neleai@seznam.cz>
4197
4198 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4199 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4200
d4e16af1
OB
42012013-08-29 Ondřej Bílka <neleai@seznam.cz>
4202
4203 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4204 aix specific files.
4205 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4206 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4207 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4208 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4209 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4210 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4211 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4212 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4213
88335980
TS
42142013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4215 Roland McGrath <roland@hack.frob.com>
4216
4217 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4218 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4219
ed479b02
ST
42202013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4221
4222 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4223 __executable_start symbol instead of _start.
4224
f1cc4c86
TS
42252013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4226
d821f07c
TS
4227 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4228 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4229 Move macros to...
4230 * sysdeps/gnu/ldsodefs.h: ... this new file.
4231
c54290cf
TS
4232 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4233 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4234 instead of ELFOSABI_LINUX.
4235
0007fc9b 4236 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
4237 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4238 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4239 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4240 Likewise.
4241 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4242 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4243 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4244 Likewise.
4245 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4246 (ibm_extended_long_double): Add ieee_nan member.
4247 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4248 (do_test): New function.
4249
f1cc4c86
TS
4250 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4251 TEST_TRUNC.
4252 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4253 functions, renamed from truncdfsf_test, trunctfsf_test,
4254 trunctfdf_test.
4255 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4256 functions.
4257 (do_test): Run all these.
4258
6f65e668
OB
42592013-08-29 Ondřej Bílka <neleai@seznam.cz>
4260
4261 * argp/argp-help.c: Fix typos.
4262 * argp/argp-parse.c: Likewise.
4263 * debug/backtracesyms.c: Likewise.
4264 * elf/elf.h: Likewise.
4265 * malloc/malloc.c: Likewise.
4266 * nis/nis_print.c: Likewise.
4267 * resolv/res_comp.c: Likewise.
4268 * stdlib/stdlib.h: Likewise.
4269 * sunrpc/clnt_tcp.c: Likewise.
4270 * sunrpc/clnt_udp.c: Likewise.
4271 * sunrpc/clnt_unix.c: Likewise.
4272 * sysdeps/unix/bsd/ptsname.c: Likewise.
4273 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4274 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
4275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4276 Likewise.
4277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4278 Likewise.
4279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4280 Likewise.
6f65e668
OB
4281 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4282
3a309239
SP
42832013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4284
4285 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4287
3b813b29
MF
42882013-08-27 Mike Frysinger <vapier@gentoo.org>
4289
4290 [BZ #15897]
4291 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4292 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4293 ($(objpfx)bug-dl-leaf): New rule.
4294 ($(objpfx)bug-dl-leaf.so): Likewise.
4295 ($(objpfx)bug-dl-leaf.out): Likewise.
4296 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4297 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4298 * dlfcn/bug-dl-leaf.c: New test.
4299 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4300 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4301 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4302 (dlclose): Likewise.
4303 (dlmopen): Likewise.
4304
8cc3269f
RM
43052013-08-27 Roland McGrath <roland@hack.frob.com>
4306
7f9d0034
RM
4307 * include/netdb.h [!_ISOMAC]:
4308 Don't include <tls.h>.
4309 (h_errno, __libc_h_errno): Move declaration and macros out of
4310 [_LIBC_REENTRANT].
4311
fb431262
RM
4312 * include/resolv.h [_RESOLV_H_]:
4313 Don't include <tls.h>.
4314 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4315 * resolv/res_libc.c: Don't include <tls.h>.
4316 (_res): Use __attribute__ ((nocommon)) in place of
4317 __attribute__ ((section (".bss"))).
4318
bd81123a
RM
4319 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4320 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4321
c4e42566
RM
4322 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4323
f890a59b
RM
4324 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4325 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4326
4327 * resolv/res_mkquery.c: Include <sys/time.h>.
4328
5d1f0a09
RM
4329 * inet/ifreq.c: Moved to ...
4330 * sysdeps/unix/ifreq.c: ... here.
4331 * inet/ifreq.c: New file, true stub version.
4332
6fcf28b3
RM
4333 * socket/sa_len.c: New file.
4334 * socket/Makefile (aux): Add it.
4335 * sysdeps/unix/sysv/linux/Makefile
4336 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4337 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4338 and #include <socket/sa_len.c>.
4339 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4340 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4341
e041fb8b
RM
4342 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4343 * bits/socket.h: ... here.
4344
8cc3269f
RM
4345 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4346 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4347 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4348
5d228a43
AS
43492013-08-27 Andreas Schwab <schwab@suse.de>
4350
45b8accc
AS
4351 [BZ #15736]
4352 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4353 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4354 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4355 * string/test-strcasecmp.c (test_main): Run tests in several
4356 locales.
4357 * string/test-strncasecmp.c (test_main): Likewise.
4358
5d228a43
AS
4359 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4360 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4361 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4362 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4363 (__strncasecmp_ssse3) [PIC]: Likewise.
4364
59d112a4
RM
43652013-08-26 Roland McGrath <roland@hack.frob.com>
4366
53234cc3
RM
4367 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4368
59d112a4
RM
4369 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4370 instead of explicitly declaring xdecrypt.
4371 * nis/nss_nis/nis-publickey.c: Likewise.
4372
595aba70
SP
43732013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4374
4375 [BZ #15890]
4376 * nscd/aicache.c: Include res_hconf.h.
4377 (addhstaiX): Initialize res_hconf.
4378
ffabd393
AS
43792013-08-26 Andreas Schwab <schwab@suse.de>
4380
4381 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4382 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4383
e0a69f5c
SP
43842013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4385
4386 * nscd/aicache.c (addhstaiX): Fix indentation.
4387
8c12f01d
MF
43882013-08-25 Mike Frysinger <vapier@gentoo.org>
4389
4390 * configure.ac: Quote $build_pt_chown test.
4391 * configure: Regenerated.
4392
8fe89494
JM
43932013-08-23 Joseph Myers <joseph@codesourcery.com>
4394
4395 [BZ #15532]
4396 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4397 * math/s_cexpf.c (__cexpf): Likewise.
4398 * math/s_cexpl.c (__cexpl): Likewise.
4399 * math/libm-test.inc (cexp_test_data): Correct expected return
4400 value for NaN + i0. Add another test.
4401
75b181d6
DM
44022013-08-22 David S. Miller <davem@davemloft.net>
4403
4404 * po/ca.po: Update Catalan translation from translation project.
936241e4 4405 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 4406
acd06bb1
JM
44072013-08-21 Joseph Myers <joseph@codesourcery.com>
4408
4409 [BZ #15797]
4410 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4411 is infinite, not alongside NaN test.
4412 * math/s_fdimf.c (__fdimf): Likewise.
4413 * math/s_fdiml.c (__fdiml): Likewise.
4414 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4415 errno is unchanged.
4416
c0c3f78a
OB
44172013-08-21 Ondřej Bílka <neleai@seznam.cz>
4418
4419 * argp/argp-help.c: Fix typos.
4420 * crypt/speeds.c: Likewise.
4421 * csu/check_fds.c: Likewise.
4422 * elf/dl-load.c: Likewise.
4423 * elf/dl-open.c: Likewise.
4424 * elf/reldep3.c: Likewise.
4425 * elf/reldep.c: Likewise.
4426 * elf/sprof.c: Likewise.
4427 * iconv/iconv_charmap.c: Likewise.
4428 * iconv/skeleton.c: Likewise.
4429 * iconv/strtab.c: Likewise.
4430 * io/lockf64.c: Likewise.
4431 * libio/libioP.h: Likewise.
4432 * resolv/gai_notify.c: Likewise.
4433 * resolv/ns_name.c: Likewise.
4434 * resolv/ns_samedomain.c: Likewise.
4435 * resolv/res_send.c: Likewise.
4436 * stdlib/random.c: Likewise.
4437 * sunrpc/rpc/xdr.h: Likewise.
4438 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4439 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4440 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4441 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4442 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4443 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4444 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4445 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4446 * sysdeps/mach/hurd/check_fds.c: Likewise.
4447 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4448 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4449 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4450 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4451 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4452 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4453 * sysdeps/pthread/aio_notify.c: Likewise.
4454 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4455 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4456 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4457 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4458 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4459
46ed1038
LD
44602013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4461
4462 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4463 version if bit_Slow_SSE4_2 is set.
4464 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4465 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4466
d400dcac
AZ
44672013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4468
4469 [BZ #15867]
4470 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4471 trampoline stack frame information.
4472 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4473 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4474 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4475 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4476 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4477 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4478 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4479 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4480 sa_flags value.
4481 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4482 interrupting a syscall and set with option SA_SIGINFO.
4483
42c8fdd8
JM
44842013-08-20 Joseph Myers <joseph@codesourcery.com>
4485
c980f2f4
JM
4486 [BZ #15531]
4487 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4488 argument is infinite.
4489 * math/s_cprojf.c (__cprojf): Likewise.
4490 * math/s_cprojl.c (__cprojl): Likewise.
4491 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4492 * math/libm-test.inc (cproj_test_data): Add more tests.
4493
0716c4fc
JM
4494 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4495
42c8fdd8
JM
4496 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4497 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4498 size. Use __ffs to determine corresponding shift.
4499
b31469d0
JM
45002013-08-20 Joseph Myers <joseph@codesourcery.com>
4501 Roland McGrath <roland@hack.frob.com>
4502
4503 * Makefile (INSTALL): Remove trailing blank lines from output of
4504 makeinfo.
4505
4e39af6e
AK
45062013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4507
4508 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4509 Align 32 bit compat elf_greg to 8 bytes.
4510
f315524e
AA
45112013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4512
4513 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4514
1326ba1a
SP
45152013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4516
4517 * string/strcoll_l.c (coll_seq): New structure.
4518 (get_next_seq_cached): New function.
4519 (get_next_seq): New function.
4520 (do_compare): New function.
4521 (STRCOLL): Use GNU style definition. Simplify implementation
4522 by using get_next_seq, get_next_seq_cached and do_compare.
4523
91ce4085
FW
45242013-08-16 Florian Weimer <fweimer@redhat.com>
4525
4526 [BZ #14699]
4527 CVE-2013-4237
4528 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4529 member.
4530 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4531 member.
4532 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4533 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4534 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4535 conditional.
4536 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4537 GETDENTS_64BIT_ALIGNED.
4538 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4539 * manual/filesys.texi (Reading/Closing Directory): Document
4540 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4541 strongly.
4542 * manual/conf.texi (Limits for Files): Add portability note to
4543 NAME_MAX, PATH_MAX.
4544 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4545
ca0a6bc4
AS
45462013-08-13 Andreas Schwab <schwab@suse.de>
4547
4548 [BZ #15749]
4549 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4550 of fabs.
4551 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4552 LDBL_MAX_EXP >= 16384]: Add tests for it.
4553
6c1fd795
DM
45542013-08-12 David S. Miller <davem@davemloft.net>
4555
4556 * version.h (RELEASE): Set to "development".
4557 (VERSION): Set to "2.18.90".
4558 * NEWS: Add 2.19 section.
4559
31ad488d
DM
45602013-08-03 David S. Miller <davem@davemloft.net>
4561
4562 * po/ko.po: Update Korean translation from translation project.
4563
db24e684
DM
45642013-08-01 David S. Miller <davem@davemloft.net>
4565
4566 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4567 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4568 Bilka.
4569
f723285b
DM
45702013-07-30 David S. Miller <davem@davemloft.net>
4571
4572 * po/fr.po: Update French translation from translation project.
4573
3cbc52db
DM
45742013-07-28 David S. Miller <davem@davemloft.net>
4575
30bbc0cc
DM
4576 * po/cs.po: Update Czech translation from translation project.
4577
3cbc52db
DM
4578 * po/sv.po: Update Swedish translation from translation project.
4579
d492e6d0
DM
45802013-07-27 David S. Miller <davem@davemloft.net>
4581
f1a7f492
DM
4582 * po/eo.po: Update Esperanto translation from translation project.
4583
90e62a4a
DM
4584 * po/vi.po: Update Vietnamese translation from translation project.
4585
d492e6d0
DM
4586 * po/de.po: Update German translation from translation project.
4587
d4baa62d
DM
45882013-07-26 David S. Miller <davem@davemloft.net>
4589
641aa7b4
DM
4590 * po/bg.po: Update Bulgarian translation from translation project.
4591
d4baa62d
DM
4592 * po/nl.po: Update Dutch translation from translation project.
4593 * po/pl.po: Update Polish translation from translation project.
4594 * po/ru.po: Update Russian translation from translation project.
4595
61a9dcb9
DM
45962013-07-24 David S. Miller <davem@davemloft.net>
4597
4598 * po/libc.pot: Update.
4599
7b1f8b58
AZ
46002013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4601
4602 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4603 variable page size.
4604 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4605 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4606 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4607
a8fc7a03
AK
46082013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4609
4610 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4611
e4608715
CD
46122013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4613 Andreas Schwab <schwab@suse.de>
4614 Roland McGrath <roland@hack.frob.com>
4615 Joseph Myers <joseph@codesourcery.com>
4616 Carlos O'Donell <carlos@redhat.com>
4617
4618 [BZ #15755]
4619 * config.h.in: Define HAVE_PT_CHOWN.
4620 * config.make.in (build-pt-chown): New variable.
4621 * configure.in (--enable-pt_chown): New configure option.
4622 * configure: Regenerate.
4623 * login/Makefile: Include Makeconfig. Build pt_chown only if
4624 build-pt-chown is enabled.
4625 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4626 pt_chown to fix pty ownership.
4627 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4628 CLOSE_ALL_FDS.
4629 * manual/install.texi (Configuring and compiling): Mention
4630 --enable-pt_chown. Add @findex for grantpt.
4631 * INSTALL: Regenerate.
4632
da2d62df
DM
46332013-07-20 David S. Miller <davem@davemloft.net>
4634
4635 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4636 difference between 32-bit and 64-bit.
4637
d7e06450
CD
46382013-07-15 Carlos O'Donell <carlos@redhat.com>
4639
4640 [BZ #15711]
4641 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4642 Avoid system header dependency with -ffreestanding.
4643 ($(objpfx)bits/syscall%d): Likewise.
4644
f959cfd7
DM
46452013-07-13 David S. Miller <davem@davemloft.net>
4646
4647 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4648 underflows from atanl/atan2l due to bug 15319.
4649 (casinh_test_data): Likewise.
4650
c61f8513
DM
46512013-07-07 David S. Miller <davem@davemloft.net>
4652
4653 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4654
72c90ed0
JA
46552013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4656
4657 * sysdeps/i386/fpu/libm-test-ulps: Update.
4658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4659
52dfbe13
SP
46602013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4661
4662 * configure.in (--enable-lock-elision): Fix message text.
4663 * INSTALL: Regenerate.
4664 * configure: Regenerate.
4665
3f169543
AZ
46662013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4667
4668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4669
521c6785
AJ
46702013-07-03 Andreas Jaeger <aj@suse.de>
4671
4672 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4673 define.
4674 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4675 (ptrace_peeksiginfo_args): Add.
4676 (__ptrace_peeksiginfo_flags): Add.
4677 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4678 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4679 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4680
d2cc15cb
AM
46812013-07-03 Allan McRae <allan@archlinux.org>
4682
4683 * sysdeps/i386/fpu/libm-test-ulps: Update.
4684
3aaeeca7
DM
46852013-07-02 David S. Miller <davem@davemloft.net>
4686
4687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4688
5314ed1a
MT
46892013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4690
4691 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4692
67338156
JM
46932013-07-02 Joseph Myers <joseph@codesourcery.com>
4694
4695 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4697
1717da59
AK
46982013-07-02 Andi Kleen <ak@linux.intel.com>
4699
4700 * config.h.in (ENABLE_LOCK_ELISION): Add.
4701 * configure.in (--enable-lock-elision): Add option.
4702 * manual/install.texi: Document --enable lock elision.
4703 * configure: Regenerate
4704 * INSTALL: Regenerate.
4705
1c81621c
L
47062013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4707
4708 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4709 SSE4.2 strcasecmp for libc.a.
4710 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4711
77f01ab5
JM
47122013-07-02 Joseph Myers <joseph@codesourcery.com>
4713
4714 [BZ #13304]
4715 * soft-fp/op-common.h (_FP_FMA): New macro.
4716 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4717 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4718 (_FP_MUL_MEAT_1_imm): ... here.
4719 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4720 (_FP_MUL_MEAT_1_wide): ... here.
4721 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4722 (_FP_MUL_MEAT_1_hard): ... here.
4723 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4724 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4725 (_FP_MUL_MEAT_2_wide): ... here.
4726 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4727 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4728 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4729 (_FP_MUL_MEAT_2_gmp): ... here.
4730 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4731 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
4732 (_FP_MUL_MEAT_4_wide): ... here.
4733 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
4734 (_FP_MUL_MEAT_4_gmp): ... here.
4735 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4736 (_FP_WFRACBITS_DW_S): Likewise.
4737 (_FP_WFRACXBITS_DW_S): Likewise.
4738 (_FP_HIGHBIT_DW_S): Likewise.
4739 (FP_FMA_S): Likewise.
4740 (_FP_FRAC_HIGH_DW_S): Likewise.
4741 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4742 (_FP_WFRACBITS_DW_D): Likewise.
4743 (_FP_WFRACXBITS_DW_D): Likewise.
4744 (_FP_HIGHBIT_DW_D): Likewise.
4745 (FP_FMA_D): Likewise.
4746 (_FP_FRAC_HIGH_DW_D): Likewise.
4747 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4748 (_FP_WFRACBITS_DW_E): Likewise.
4749 (_FP_WFRACXBITS_DW_E): Likewise.
4750 (_FP_HIGHBIT_DW_E): Likewise.
4751 (FP_FMA_E): Likewise.
4752 (_FP_FRAC_HIGH_DW_E): Likewise.
4753 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4754 (_FP_WFRACBITS_DW_Q): Likewise.
4755 (_FP_WFRACXBITS_DW_Q): Likewise.
4756 (_FP_HIGHBIT_DW_Q): Likewise.
4757 (FP_FMA_Q): Likewise.
4758 (_FP_FRAC_HIGH_DW_Q): Likewise.
4759 * soft-fp/fmasf4.c: New file.
4760 * soft-fp/fmadf4.c: Likewise.
4761 * soft-fp/fmatf4.c: Likewise.
4762
6308fd9a
LD
47632013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4764
4765 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4766 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4767 Silvermont.
4768 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4769 macro.
4770 (index_Slow_SSE4_2): Likewise.
4771 (index_Prefer_PMINUB_for_stringop): Likewise.
4772 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4773 bit_Slow_SSE4_2 is set.
4774 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4775 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4776
89cd9569
RA
47772013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4778
4779 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4780 rtld_global._dl_hwcap2.
4781 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4782 POWER8.
4783 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4784 POWER8 feature descriptions defined in _dl_hwcap2.
4785 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4786 string handling for POWER8 feature bits.
4787 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4788 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4789 _dl_powerpc_cap_flags.
4790 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4791 * sysdeps/powerpc/rtld-global-offsets.sym
4792 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4793 _dl_hwcap2 in the rtld_global_ro structure.
4794
1ae8bfe0
RA
47952013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4796
4797 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4798 hardware capabilities in support of AT_HWCAP2.
4799 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4800 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4801 GLRO(dl_hwcap2).
4802 (_dl_show_auxv): Add support for calling _dl_procinfo to display
4803 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
4804 explicitly the unknown a_type display mechanism is used.
4805 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4806 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4807 struct member.
4808 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4809 to macro prototype for AT_HWCAP2 support.
4810 * sysdeps/i386/dl-procinfo.h: Likewise.
4811 * sysdeps/s390/dl-procinfo.h: Likewise.
4812 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4813 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4814 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4815 return -1 for unknown a_type display fallback.
4816 * sysdeps/sparc/dl-procinfo.h: Likewise.
4817 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4818 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4819
8fbec010
JM
48202013-06-28 Joseph Myers <joseph@codesourcery.com>
4821
4822 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4823 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4824
0432680e
PY
48252013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4826
4827 [BZ #12492]
4828 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4829 mprotect making __stack_prot writable.
4830
ce61a2ad
NF
48312013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4832 Joseph Myers <joseph@codesourcery.com>
4833
4834 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4835 as being properly aligned.
4836
f91f1c0f
MR
48372013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4838
3d0f5d0c
MR
4839 * dlfcn/modstatic5.c: New file.
4840 * dlfcn/tststatic5.c: New file.
4841 * dlfcn/Makefile (tests): Add tststatic5.
4842 (tests-static): Likewise.
4843 (modules-names): Add modstatic5.
4844 (tststatic5-ENV): New variable.
4845 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4846
f91f1c0f
MR
4847 [BZ #15022]
4848 * elf/dl-support.c (_dl_main_map): New variable.
4849 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4850 (_dl_nns, _dl_load_adds): Set to 1.
4851 (_dl_initial_searchlist): Refer to _dl_main_map.
4852 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4853 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4854 call to _dl_get_origin.
4855 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4856 around call_map.
4857 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4858 * dlfcn/modstatic3.c: New file.
4859 * dlfcn/tststatic3.c: New file.
4860 * dlfcn/tststatic4.c: New file.
4861 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4862 (tests-static): Likewise.
4863 (modules-names): Add modstatic3.
4864 (tststatic3-ENV, tststatic4-ENV): New variables.
4865 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4866 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4867
cbe7d24b
JM
48682013-06-26 Joseph Myers <joseph@codesourcery.com>
4869
4870 * configure.in (CC): Require GCC version 4.4 or later.
4871 * configure: Regenerated.
4872 * manual/install.texi (Tools for Compilation): Update GCC version
4873 requirement.
4874 * INSTALL: Regenerated.
4875
11b8a0e1
LD
48762013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4877
4878 [BZ #15674]
bb5bb87c
L
4879 * string/test-memcmp.c (check2): New.
4880 (main): Call check2.
4881
11b8a0e1
LD
4882 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4883
b0037103
MR
48842013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4885
4886 [BZ #15022]
4887 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4888 over to...
4889 (dl_open_worker) [!SHARED]: ... here.
4890
c18c701d
RA
48912013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4892
4893 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4894
1d17fa5f
RH
48952013-06-25 Richard Henderson <rth@redhat.com>
4896
4897 * locale/programs/locarchive.c: Include <libc-internal.h>
4898
8fcb833a
JM
48992013-06-25 Joseph Myers <joseph@codesourcery.com>
4900
4901 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4902 trailing whitespace removed.
4903
17db6e8d
MF
49042013-06-24 Mike Frysinger <vapier@gentoo.org>
4905
4906 [BZ #10283]
17db6e8d
MF
4907 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4908 * locale/programs/locarchive.c: Include libc-mmap.h.
4909 (prepare_address_space): Take two new outputs (the mmap base and len).
4910 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4911 values.
4912 (create_archive): Declare new mmap base and len values for
4913 prepare_address_space, and store the result in ah.
4914 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4915 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4916 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4917 Declare new mmap base and len values for
4918 prepare_address_space, and store the result in new_ah.
4919 (open_archive): Declare new mmap base and len values for
4920 prepare_address_space, and store the result in ah.
4921 (close_archive): If ah->mmap_base is not NULL, use that and
4922 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4923 * sysdeps/generic/libc-mmap.h: New file.
4924
d605071e
MF
49252013-06-24 Mike Frysinger <vapier@gentoo.org>
4926
4927 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4928 (ALIGN_UP): Likewise.
4929 (PTR_ALIGN_DOWN): Likewise.
4930 (PTR_ALIGN_UP): Likewise.
4931
2f063a6e
RA
49322013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4933
4934 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4935 entry mapped to PPC_PLATFORM_POWER8.
4936 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4937 POWER8.
4938 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4939 (_dl_string_platform): Add case for exporting platform position for
4940 POWER8.
4941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4942 search path to sysdeps/powerpc/powerpc32/power8 directory.
4943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4944 search path to sysdeps/powerpc/powerpc64/power8 directory.
4945 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4946 power7 directories.
4947 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4948 power7 directories.
4949
a31ee4b3
SP
49502013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4951
a74ca98f
SP
4952 * INSTALL: Regenerate.
4953
a31ee4b3
SP
4954 * nscd/connections.c (nscd_init): Fix comment.
4955
695c378f
JM
49562013-06-22 Joseph Myers <joseph@codesourcery.com>
4957
d8412221
JM
4958 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4959
695c378f
JM
4960 [BZ #15667]
4961 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4962 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4963
d1d54715
MR
49642013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4965
4966 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4967 DL_DST_REQ_STATIC.
4968 (DL_DST_REQ_STATIC): Remove macro.
4969
8fdda7af
JM
49702013-06-21 Joseph Myers <joseph@codesourcery.com>
4971
4972 [BZ #7006]
4973 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4974 with a shift of 0 bits.
4975
f3bc5e5a
MR
49762013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4977
4978 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4979 $(tststatic-ENV).
4980
be09e8c9
KK
49812013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4982
4983 [BZ #15655]
4984 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4985
85c2e611
AZ
49862013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4987
4988 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4989 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4990 accepts -fno-tree-loop-distribute-patterns.
4991 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4992 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4993 recursive call.
4994 * string/memset.c (memset): Likewise.
4995 * string/test-memmove.c (simple_memmove): Disable loop transformation
4996 to library calls.
4997 * string/test-memset.c (simple_memset): Likewise.
4998 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4999 * benchtests/bench-memset.c (simple_memset): Likewise.
5000 * configure: Regenerated.
5001
c91e0825
JM
50022013-06-20 Joseph Myers <joseph@codesourcery.com>
5003
b8c792af
JM
5004 * math/test-misc.c (main): Ignore fesetround failure when failures
5005 of subsequent rounding tests would be ignored.
5006
c91e0825
JM
5007 [BZ #15654]
5008 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5009 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5010 * math/fegetenv.c (__fegetenv): Return 0.
5011 * math/fegetexcept.c (fegetexcept): Return 0.
5012 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5013 FE_TONEAREST.
5014 * math/feholdexcpt.c (feholdexcept): Return 0.
5015 * math/fesetenv.c (__fesetenv): Return 0.
5016 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5017 argument FE_TONEAREST.
5018 * math/feupdateenv.c (__feupdateenv): Return 0.
5019 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5020
bfcacbde
RM
50212013-06-18 Roland McGrath <roland@hack.frob.com>
5022
5023 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5024 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5025 ($(objpfx)rtld-%.os rules): Use them.
5026
e55a9b25
AZ
50272013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5028
5029 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5030 fields.
5031
346d65b3
RM
50322013-06-17 Roland McGrath <roland@hack.frob.com>
5033
12086fb4
RM
5034 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5035 length of target pattern, then descending length of dependency pattern.
5036 * configure.in (AWK): Require gawk 3.1.2 or newer.
5037 * manual/install.texi (Tools for Compilation): Say that we do.
5038 * configure: Regenerated.
5039
346d65b3
RM
5040 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5041 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5042 * scripts/sysd-rules.awk: ... this new script.
5043 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5044 than a glob-style pattern.
5045
1a846317
JM
50462013-06-17 Joseph Myers <joseph@codesourcery.com>
5047
5048 * math/test-misc.c (main): Do not treat incorrectly rounded
5049 conversions as failure unless ROUNDING_TESTS passes.
5050
8fc75e6f
JM
50512013-06-15 Joseph Myers <joseph@codesourcery.com>
5052
3711a167
JM
5053 [BZ #15631]
5054 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5055 restore exception state around main square root computation, then
5056 check for inexactness explicitly.
5057
8fc75e6f
JM
5058 * math/libm-test.inc (fma_test_data): Add another test.
5059
61dd6208
SP
50602013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5061
adf23d2c
SP
5062 * manual/threads.texi (Non-POSIX Extensions): New document
5063 node. Document pthread_getattr_default_np and
5064 pthread_setattr_default_np.
5065
61dd6208
SP
5066 * Versions.def (libpthread): Add GLIBC_2.18.
5067 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5069 Likewise.
5070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5071 Likewise.
5072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5073 Likewise.
5074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5075 Likewise.
5076 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5077 Likewise.
5078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5079 Likewise.
5080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5081 Likewise.
5082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5083 Likewise.
5084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5085 Likewise.
5086
d086fc7b
LD
50872013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5088
5089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5090 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5091
747ef469
SP
50922013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5093 H.J. Lu <hjl.tools@gmail.com>
5094
5095 [BZ #15627]
5096 * sysdeps/x86_64/rtld-memset.c: Remove file.
5097 * sysdeps/x86_64/rtld-memset.S: New file.
5098
1b2feed2
JM
50992013-06-14 Joseph Myers <joseph@codesourcery.com>
5100
5101 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5102 (test_in_one_mode): Take arguments for whether the rounding mode
5103 is supported for each floating-point type.
5104 (do_test): Pass new arguments to test_in_one_mode using
5105 ROUNDING_TESTS.
5106
a58ad3f8
RM
51072013-06-13 Roland McGrath <roland@hack.frob.com>
5108
5109 * posix/tst-waitid.c (do_test): Distinguish different instances of
5110 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5111 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5112 before entering the kernel for waitpid.
5113
c204ab28
SP
51142013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5115
5116 * NEWS: Fix note on clock function precision. Text by Roland
5117 McGrath.
5118
f4a29fba
RM
51192013-06-13 Roland McGrath <roland@hack.frob.com>
5120
5121 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5122 it into place only when and if the sanity check passes.
5123
1f24b9ad
JM
51242013-06-13 Joseph Myers <joseph@codesourcery.com>
5125
5126 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5127 output for whether conversion result is exact. Take argument
5128 indicating whether type is IBM long double.
5129 (round_for_all): Change need_exact field to ibm_ld.
5130 * stdlib/tst-strtod-round.c (struct exactness): New type.
5131 (struct test): Change bool ld_ok field to struct exactness exact.
5132 (TEST): Update all definitions for change to field.
5133 (tests): Regenerate array contents.
5134 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5135 field value. Check for IBM long double here.
5136 (do_test): Update calls to test_in_one_mode.
5137
58206c68
SP
51382013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5139
5140 [BZ #12515]
5141 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5142 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5143
2d6f4c5b 51442013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
5145
5146 [BZ #15605]
5147 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5148 generated by the compiler on loop optimizations.
5149 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5150 general definitions.
5151
94f2c076
JM
51522013-06-12 Joseph Myers <joseph@codesourcery.com>
5153
5154 * math/bug-nextafter.c: Include <math-tests.h>.
5155 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5156 the relevant type.
5157 * math/bug-nexttoward.c: Include <math-tests.h>.
5158 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5159 the relevant type.
5160 * math/test-misc.c: Include <math-tests.h>.
5161 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5162 the relevant type.
5163
e0e50a0a
AJ
51642013-06-12 Andreas Jaeger <aj@suse.de>
5165
5166 * po/ia.po: Update Interlingua translation from translation
5167 project.
5168
25061094
SP
51692013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5170
5171 * include/fenv.h: Include stdbool.h.
5172 (struct rm_ctx): New structure.
5173 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5174 Define macro.
5175 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5176 (SET_RESTORE_ROUNDF): Likewise.
5177 (SET_RESTORE_ROUNDL): Likewise.
5178 (SET_RESTORE_ROUND_NOEX): Likewise.
5179 (SET_RESTORE_ROUND_NOEXF): Likewise.
5180 (SET_RESTORE_ROUND_NOEXL): Likewise.
5181 (SET_RESTORE_ROUND_53BIT): Likewise.
5182 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5183 (libc_feresetround_noexf_ctx): Likewise.
5184 (libc_feresetround_noexl_ctx): Likewise.
5185 (libc_feholdsetround_53bit_ctx): Likewise.
5186 (libc_feresetround_53bit_ctx): Likewise.
5187 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5188 (libc_feholdexcept_setround_sse_ctx): New function.
5189 (libc_fesetenv_sse_ctx): Likewise.
5190 (libc_feupdateenv_sse_ctx): Likewise.
5191 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5192 (libc_feholdexcept_setround_387_ctx): Likewise.
5193 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5194 (libc_feholdsetround_387_prec_ctx): Likewise.
5195 (libc_feholdsetround_387_ctx): Likewise.
5196 (libc_feholdsetround_387_53bit_ctx): Likewise.
5197 (libc_feholdsetround_sse_ctx): Likewise.
5198 (libc_feresetround_sse_ctx): Likewise.
5199 (libc_feresetround_387_ctx): Likewise.
5200 (libc_feupdateenv_387_ctx): Likewise.
5201 (libc_feholdexcept_setroundf_ctx): Define macro.
5202 (libc_fesetenvf_ctx): Likewise.
5203 (libc_feupdateenvf_ctx): Likewise.
5204 (libc_feholdsetroundf_ctx): Likewise.
5205 (libc_feresetroundf_ctx): Likewise.
5206 (libc_feholdexcept_setround_ctx): Likewise.
5207 (libc_fesetenv_ctx): Likewise.
5208 (libc_feupdateenv_ctx): Likewise.
5209 (libc_feholdsetround_ctx): Likewise.
5210 (libc_feresetround_ctx): Likewise.
5211 (libc_feholdexcept_setroundl_ctx): Likewise.
5212 (libc_feupdateenvl_ctx): Likewise.
5213 (libc_feholdsetroundl_ctx): Likewise.
5214 (libc_feresetroundl_ctx): Likewise.
5215 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5216 (libc_feresetround_53bit_ctx): Likewise.
5217
59b30555
SP
52182013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5219
5220 * locale/iso-639.def: Convert to UTF-8.
5221
f1d73d30
JM
52222013-06-11 Joseph Myers <joseph@codesourcery.com>
5223
5224 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5225 (EXCEPTION_TESTS_double): Likewise.
5226 (EXCEPTION_TESTS_long_double): Likewise.
5227 (EXCEPTION_TESTS): Likewise.
5228 * math/libm-test.inc (test_exceptions): Only test exceptions if
5229 EXCEPTION_TESTS (FLOAT).
5230
94aca5e7
SP
52312013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5232
5233 * benchtests/Makefile (string-bench): Add strcpy_chk and
5234 stpcpy_chk.
5235 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5236 * benchtests/bench-stpcpy_chk.c: New file.
5237 * benchtests/bench-strcpy_chk-ifunc.c: New file.
5238 * benchtests/bench-strcpy_chk.c: New file.
5239 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5240 code.
5241 (do_test): Likewise.
5242
fac0c5f2
RA
52432013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5244
5245 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5246 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5247 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5248 with tabs where appropriate.
5249 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5250 dl-procinfo.h.
5251 [PPC_PLATFORM_PPC440]: Likewise.
5252 [PPC_PLATFORM_PPC464]: Likewise.
5253 [PPC_PLATFORM_PPC476]: Likewise.
5254 (_dl_string_platform): Add support for detecting ppc405, ppc440,
5255 ppc464, and ppc476 platform strings merging from ports/
5256 dl-procinfo.h.
5257
f22bc486
AS
52582013-06-11 Andreas Schwab <schwab@suse.de>
5259
5260 [BZ #14991]
5261 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5262 (from_ucs4_idx): Regenerate.
5263 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5264 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5265 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5266 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5267 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5268 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5269 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5270 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5271 from FROM_LOOP and TO_LOOP specific macros.
5272 (BODY): Handle combining characters.
5273 * iconvdata/BIG5HKSCS.irreversible: Update.
5274 * iconvdata/BIG5HKSCS.precomposed: New file.
5275 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5276 characters.
5277 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5278
c1f75dc3
SP
52792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5280
4eacded2
SP
5281 * include/sys/time.h: Fix indentation and add copyright header.
5282
fec799f8
SP
5283 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5284 (do_test): Likewise.
5285 * string/test-memchr.c (do_one_test): Likewise.
5286 (do_test): Likewise.
5287 * string/test-memcmp.c (do_one_test): Likewise.
5288 (do_test): Likewise.
5289 * string/test-memcpy.c (do_one_test): Likewise.
5290 (do_test): Likewise.
5291 * string/test-memmem.c (do_one_test): Likewise.
5292 (do_test): Likewise.
5293 (do_random_tests): Likewise.
5294 * string/test-memmove.c (do_one_test): Likewise.
5295 (do_test): Likewise.
5296 * string/test-memset.c (do_one_test): Likewise.
5297 (do_test): Likewise.
5298 * string/test-rawmemchr.c (do_one_test): Likewise.
5299 (do_test): Likewise.
5300 * string/test-strcasecmp.c (do_one_test): Likewise.
5301 (do_test): Likewise.
5302 * string/test-strcasestr.c (do_one_test): Likewise.
5303 (do_test): Likewise.
5304 * string/test-strcat.c (do_one_test): Likewise.
5305 (do_test): Likewise.
5306 * string/test-strchr.c (do_one_test): Likewise.
5307 (do_test): Likewise.
5308 * string/test-strcmp.c (do_one_test): Likewise.
5309 (do_test): Likewise.
5310 * string/test-strcpy.c (do_one_test): Likewise.
5311 (do_test): Likewise.
5312 * string/test-string.h: Likewise.
5313 (test_init): Likewise.
5314 * string/test-strlen.c (do_one_test): Likewise.
5315 (do_test): Likewise.
5316 * string/test-strncasecmp.c (do_one_test): Likewise.
5317 (do_test): Likewise.
5318 * string/test-strncat.c (do_one_test): Likewise.
5319 (do_test): Likewise.
5320 * string/test-strncmp.c (do_one_test): Likewise.
5321 (do_test_limit): Likewise.
5322 (do_test): Likewise.
5323 * string/test-strncpy.c (do_one_test): Likewise.
5324 (do_test): Likewise.
5325 * string/test-strnlen.c (do_one_test): Likewise.
5326 (do_test): Likewise.
5327 * string/test-strpbrk.c (do_one_test): Likewise.
5328 (do_test): Likewise.
5329 * string/test-strrchr.c (do_one_test): Likewise.
5330 (do_test): Likewise.
5331 * string/test-strspn.c (do_one_test): Likewise.
5332 (do_test): Likewise.
5333 * string/test-strstr.c (do_one_test): Likewise.
5334 (do_test): Likewise.
5335
97020474
SP
5336 * benchtests/Makefile (string-bench): Add string benchmarks.
5337 * benchtests/bench-bcopy-ifunc.c: New file.
5338 * benchtests/bench-bcopy.c: New file.
5339 * benchtests/bench-bzero-ifunc.c: New file.
5340 * benchtests/bench-bzero.c: New file.
5341 * benchtests/bench-memccpy-ifunc.c: New file.
5342 * benchtests/bench-memccpy.c: New file.
5343 * benchtests/bench-memchr-ifunc.c: New file.
5344 * benchtests/bench-memchr.c: New file.
5345 * benchtests/bench-memcmp-ifunc.c: New file.
5346 * benchtests/bench-memcmp.c: New file.
5347 * benchtests/bench-memmem-ifunc.c: New file.
5348 * benchtests/bench-memmem.c: New file.
5349 * benchtests/bench-memmove-ifunc.c: New file.
5350 * benchtests/bench-memmove.c: New file.
5351 * benchtests/bench-mempcpy-ifunc.c: New file.
5352 * benchtests/bench-mempcpy.c: New file.
5353 * benchtests/bench-memset-ifunc.c: New file.
5354 * benchtests/bench-memset.c: New file.
5355 * benchtests/bench-rawmemchr-ifunc.c: New file.
5356 * benchtests/bench-rawmemchr.c: New file.
5357 * benchtests/bench-stpcpy-ifunc.c: New file.
5358 * benchtests/bench-stpcpy.c: New file.
5359 * benchtests/bench-stpncpy-ifunc.c: New file.
5360 * benchtests/bench-stpncpy.c: New file.
5361 * benchtests/bench-strcasecmp-ifunc.c: New file.
5362 * benchtests/bench-strcasecmp.c: New file.
5363 * benchtests/bench-strcasestr-ifunc.c: New file.
5364 * benchtests/bench-strcasestr.c: New file.
5365 * benchtests/bench-strcat-ifunc.c: New file.
5366 * benchtests/bench-strcat.c: New file.
5367 * benchtests/bench-strchr-ifunc.c: New file.
5368 * benchtests/bench-strchr.c: New file.
5369 * benchtests/bench-strchrnul-ifunc.c: New file.
5370 * benchtests/bench-strchrnul.c: New file.
5371 * benchtests/bench-strcmp-ifunc.c: New file.
5372 * benchtests/bench-strcmp.c: New file.
5373 * benchtests/bench-strcpy-ifunc.c: New file.
5374 * benchtests/bench-strcpy.c: New file.
5375 * benchtests/bench-strcspn-ifunc.c: New file.
5376 * benchtests/bench-strcspn.c: New file.
5377 * benchtests/bench-strlen-ifunc.c: New file.
5378 * benchtests/bench-strlen.c: New file.
5379 * benchtests/bench-strncasecmp-ifunc.c: New file.
5380 * benchtests/bench-strncasecmp.c: New file.
5381 * benchtests/bench-strncat-ifunc.c: New file.
5382 * benchtests/bench-strncat.c: New file.
5383 * benchtests/bench-strncmp-ifunc.c: New file.
5384 * benchtests/bench-strncmp.c: New file.
5385 * benchtests/bench-strncpy-ifunc.c: New file.
5386 * benchtests/bench-strncpy.c: New file.
5387 * benchtests/bench-strnlen-ifunc.c: New file.
5388 * benchtests/bench-strnlen.c: New file.
5389 * benchtests/bench-strpbrk-ifunc.c: New file.
5390 * benchtests/bench-strpbrk.c: New file.
5391 * benchtests/bench-strrchr-ifunc.c: New file.
5392 * benchtests/bench-strrchr.c: New file.
5393 * benchtests/bench-strspn-ifunc.c: New file.
5394 * benchtests/bench-strspn.c: New file.
5395 * benchtests/bench-strstr-ifunc.c: New file.
5396 * benchtests/bench-strstr.c: New file.
5397
c1f75dc3
SP
5398 * benchtests/Makefile: Disable parallel execution of targets.
5399 (string-bench): Add memcpy.
5400 (benchset): New variable to store a list of benchmark sets.
5401 (bench-func): Renamed from bench.
5402 (bench-set): New target.
5403 (bench): Depend on bench-func and bench-set.
5404 * benchtests/README: Add section on benchmark sets.
5405 * benchtests/bench-memcpy-ifunc.c: New file.
5406 * benchtests/bench-memcpy.c: New file.
5407 * benchtests/bench-string.h: New file.
5408
50fd745b
AS
54092013-06-11 Andreas Schwab <schwab@suse.de>
5410
5411 [BZ #15577]
5412 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5413 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5414 values in the triple.
5415 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5416 terminator in the group key.
5417
3ee7e9fe
AJ
54182013-06-11 Andreas Jaeger <aj@suse.de>
5419
5420 * po/zh_TW.po: Update Chinese (traditional) translation from
5421 translation project.
5422
89fb6835
SP
54232013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5424
5425 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5426 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5427 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5428 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5429 (clock_getcpuclockid): Likewise.
5430 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5431 Add weak_alias and libc_hidden_def.
5432 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5433 * rt/clock_gettime.c (clock_gettime): Rename to
5434 __clock_gettime. Add weak_alias and libc_hidden_def.
5435 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5436 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5437 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5438 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5439 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5440 Likewise.
5441 * rt/clock_settime.c (clock_settime): Rename to
5442 __clock_settime. Add weak_alias and libc_hidden_def.
5443 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5444
0efa6f8b
JM
54452013-06-10 Joseph Myers <joseph@codesourcery.com>
5446
b8c61b4b
JM
5447 * mach/err_boot.sub: Remove trailing whitespace.
5448 * mach/err_ipc.sub: Likewise.
5449 * mach/err_mach.sub: Likewise.
5450
0efa6f8b
JM
5451 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5452 (ROUNDING_TESTS_double): Likewise.
5453 (ROUNDING_TESTS_long_double): Likewise.
5454 (ROUNDING_TESTS): Likewise.
5455 * math/libm-test.inc: Include <math-tests.h>.
5456 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5457 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5458 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5459 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5460
50b818bf
SP
54612013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5462
5463 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5464 of assigning.
5465
60d2f8f3
JM
54662013-06-08 Joseph Myers <joseph@codesourcery.com>
5467
4902d2c3
JM
5468 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5469 otherwise empty TRANS lines.
5470 * sysdeps/gnu/errlist.c: Regenerated.
5471
60d2f8f3
JM
5472 * catgets/gencat.c (error_print): Use (void) in function
5473 definition.
5474 * crypt/crypt_util.c (__init_des): Likewise.
5475 * crypt/speeds.c (Stop): Likewise.
5476 (main): Likewise.
5477 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5478 * inet/ruserpass.c (token): Likewise.
5479 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5480 * intl/localealias.c (extend_alias_table): Likewise.
5481 * intl/plural-exp.c (init_germanic_plural): Likewise.
5482 * libio/fcloseall.c (__fcloseall): Likewise.
5483 * libio/genops.c (_IO_flush_all): Likewise.
5484 (_IO_flush_all_linebuffered): Likewise.
5485 (_IO_cleanup): Likewise.
5486 (_IO_iter_begin): Likewise.
5487 (_IO_iter_end): Likewise.
5488 (_IO_list_lock): Likewise.
5489 (_IO_list_unlock): Likewise.
5490 (_IO_list_resetlock): Likewise.
5491 * libio/getchar.c (getchar): Likewise.
5492 * libio/getchar_u.c (getchar_unlocked): Likewise.
5493 * libio/getwchar.c (getwchar): Likewise.
5494 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5495 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5496 * login/getpt.c (__getpt): Likewise.
5497 * login/tst-utmp.c (main): Likewise.
5498 * malloc/hooks.c (__malloc_check_init): Likewise.
5499 * malloc/malloc.c (__malloc_stats): Likewise.
5500 * malloc/mtrace.c (tr_break): Likewise.
5501 (mtrace): Likewise.
5502 (muntrace): Likewise.
5503 * misc/fstab.c (endfsent): Likewise.
5504 * misc/getclktck.c (__getclktck): Likewise.
5505 * misc/getdtsz.c (__getdtablesize): Likewise.
5506 * misc/gethostid.c (gethostid): Likewise.
5507 * misc/getpagesize.c (__getpagesize): Likewise.
5508 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5509 (__get_nprocs): Likewise.
5510 (__get_phys_pages): Likewise.
5511 (__get_avphys_pages): Likewise.
5512 * misc/getttyent.c (getttyent): Likewise.
5513 (setttyent): Likewise.
5514 (endttyent): Likewise.
5515 * misc/getusershell.c (getusershell): Likewise.
5516 (endusershell): Likewise.
5517 (setusershell): Likewise.
5518 (initshells): Likewise.
5519 * misc/hsearch.c (__hdestroy): Likewise.
5520 * misc/sync.c (sync): Likewise.
5521 * misc/syslog.c (closelog_internal): Likewise.
5522 (closelog): Likewise.
5523 * misc/ttyslot.c (ttyslot): Likewise.
5524 * misc/vhangup.c (vhangup): Likewise.
5525 * posix/fork.c (__fork): Likewise.
5526 * posix/getegid.c (__getegid): Likewise.
5527 * posix/geteuid.c (__geteuid): Likewise.
5528 * posix/getgid.c (__getgid): Likewise.
5529 * posix/getpid.c (__getpid): Likewise.
5530 * posix/getppid.c (__getppid): Likewise.
5531 * posix/getuid.c (__getuid): Likewise.
5532 * posix/pause.c (pause): Likewise.
5533 * posix/setpgrp.c (setpgrp): Likewise.
5534 * posix/setsid.c (__setsid): Likewise.
5535 * posix/test-vfork.c (noop): Likewise.
5536 * resolv/gethnamaddr.c (_endhtent): Likewise.
5537 (_gethtent): Likewise.
5538 (ht_endhostent): Likewise.
5539 (gethostent): Likewise.
5540 (dns_service): Likewise.
5541 * stdlib/drand48.c (drand48): Likewise.
5542 * stdlib/lrand48.c (lrand48): Likewise.
5543 * stdlib/mrand48.c (mrand48): Likewise.
5544 * stdlib/rand.c (rand): Likewise.
5545 * stdlib/random.c (__random): Likewise.
5546 * stdlib/setenv.c (clearenv): Likewise.
5547 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5548 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5549 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5550 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5551 (__get_nprocs): Likewise.
5552 (__get_phys_pages): Likewise.
5553 (__get_avphys_pages): Likewise.
5554 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5555 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5556 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5557 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5558 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5559 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5560 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5561 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5562 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5563 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5564 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5565 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5566 * sysdeps/posix/clock.c (clock): Likewise.
5567 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5568 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5569 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5570 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5571 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5572 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5573 (__get_nprocs_conf): Likewise.
5574 (__get_phys_pages): Likewise.
5575 (__get_avphys_pages): Likewise.
5576 * time/clock.c (clock): Likewise.
5577 * time/tzset.c (__tzname_max): Likewise.
5578
2e09a79a
JM
55792013-06-07 Joseph Myers <joseph@codesourcery.com>
5580
5581 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5582 (__bswap_32): Do not use "register".
5583 * crypt/crypt.c (_ufc_doit_r): Likewise.
5584 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5585 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5586 * gmon/gmon.c (__monstartup): Likewise.
5587 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5588 * hurd/hurdmalloc.c (more_memory): Likewise.
5589 (malloc): Likewise.
5590 (free): Likewise.
5591 (realloc): Likewise.
5592 (malloc_fork_prepare): Likewise.
5593 (malloc_fork_parent): Likewise.
5594 (malloc_fork_child): Likewise.
5595 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5596 (_svcauth_des): Likewise.
5597 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5598 * inet/inet_net.c (inet_network): Likewise.
5599 * inet/inet_netof.c (inet_netof): Likewise.
5600 * inet/rcmd.c (__validuser2_sa): Likewise.
5601 * io/fts.c (fts_open): Likewise.
5602 (fts_load): Likewise.
5603 (fts_close): Likewise.
5604 (fts_read): Likewise.
5605 (fts_children): Likewise.
5606 (fts_build): Likewise.
5607 (fts_stat): Likewise.
5608 (fts_sort): Likewise.
5609 (fts_alloc): Likewise.
5610 (fts_lfree): Likewise.
5611 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5612 (_IO_file_xsgetn): Likewise.
5613 (_IO_file_xsgetn_mmap): Likewise.
5614 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5615 (_IO_cookie_write): Likewise.
5616 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5617 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5618 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5619 * malloc/obstack.c (_obstack_begin): Likewise.
5620 (_obstack_begin_1): Likewise.
5621 (_obstack_newchunk): Likewise.
5622 (_obstack_allocated_p): Likewise.
5623 (obstack_free): Likewise.
5624 (_obstack_memory_used): Likewise.
5625 * misc/getttyent.c (getttynam): Likewise.
5626 (getttyent): Likewise.
5627 (skip): Likewise.
5628 (value): Likewise.
5629 * misc/getusershell.c (initshells): Likewise.
5630 * misc/syslog.c (__vsyslog_chk): Likewise.
5631 * misc/ttyslot.c (ttyslot): Likewise.
5632 * nis/nis_hash.c (__nis_hash): Likewise.
5633 * posix/fnmatch_loop.c (FCT): Likewise.
5634 * posix/getconf.c (print_all): Likewise.
5635 (main): Likewise.
5636 * posix/getopt.c (exchange): Likewise.
5637 * posix/glob.c (globfree): Likewise.
5638 (prefix_array): Likewise.
5639 (__glob_pattern_type): Likewise.
5640 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5641 (NS_GET32): Likewise.
5642 (NS_PUT16): Likewise.
5643 (NS_PUT32): Likewise.
5644 * resolv/gethnamaddr.c (getanswer): Likewise.
5645 (gethostbyname2): Likewise.
5646 (gethostbyaddr): Likewise.
5647 (_gethtent): Likewise.
5648 (_gethtbyname2): Likewise.
5649 (_gethtbyaddr): Likewise.
5650 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5651 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5652 * resolv/res_init.c (__res_vinit): Likewise.
5653 (net_mask): Likewise.
5654 * resolv/res_mkquery.c (outchar): Likewise.
5655 (PRINT): Likewise.
5656 * stdio-common/printf_fp.c (outchar): Likewise.
5657 (PRINT): Likewise.
5658 * stdio-common/printf_fphex.c (outchar): Likewise.
5659 (PRINT): Likewise.
5660 * stdio-common/printf_size.c (outchar): Likewise.
5661 (PRINT): Likewise.
5662 * stdio-common/test_rdwr.c (main): Likewise.
5663 * stdio-common/tfformat.c (matches): Likewise.
5664 * stdio-common/vfprintf.c (outchar): Likewise.
5665 (printf_unknown): Likewise.
5666 (buffered_vfprintf): Likewise.
5667 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5668 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5669 (ReadFile): Likewise.
5670 * stdlib/qsort.c (SWAP): Likewise.
5671 (_quicksort): Likewise.
5672 * stdlib/setenv.c (__add_to_environ): Likewise.
5673 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5674 * stdlib/strtol_l.c (__strtol_l): Likewise.
5675 * stdlib/tst-strtod.c (main): Likewise.
5676 * stdlib/tst-strtol.c (main): Likewise.
5677 * stdlib/tst-strtoll.c (main): Likewise.
5678 * string/bits/string2.h (__strcmp_cc): Likewise.
5679 (__strcmp_cg): Likewise.
5680 (__strcspn_c1): Likewise.
5681 (__strcspn_c2): Likewise.
5682 (__strcspn_c3): Likewise.
5683 (__strspn_c1): Likewise.
5684 (__strspn_c2): Likewise.
5685 (__strspn_c3): Likewise.
5686 (__strsep_1c): Likewise.
5687 (__strsep_2c): Likewise.
5688 (__strsep_3c): Likewise.
5689 * string/memccpy.c (__memccpy): Likewise.
5690 * string/stpcpy.c (__stpcpy): Likewise.
5691 * string/strcmp.c (strcmp): Likewise.
5692 * string/strrchr.c (strrchr): Likewise.
5693 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5694 Likewise.
5695 * sysdeps/mach/hurd/getcwd.c
5696 (_hurd_canonicalize_directory_name_internal): Likewise.
5697 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5698 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5699 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5700 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5701 Likewise, in both definitions.
5702 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5703 definitions.
5704 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5705 64] (__bswap_64): Likewise.
5706 * time/test_time.c (main): Likewise.
5707 * time/tzfile.c (__tzfile_read): Likewise.
5708 (__tzfile_compute): Likewise.
5709 * time/tzset.c (__tzset_parse_tz): Likewise.
5710 (tzset_internal): Likewise.
5711 (compute_change): Likewise.
5712 * wcsmbs/wcscat.c (__wcscat): Likewise.
5713 * wcsmbs/wcschr.c (wcschr): Likewise.
5714 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5715 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5716 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5717 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5718 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5719 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5720 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5721 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5722 * wcsmbs/wmemset.c (wmemset): Likewise.
5723
9e54314b
JM
57242013-06-06 Joseph Myers <joseph@codesourcery.com>
5725
5726 * scripts/config.guess: Update to version 2013-05-16.
5727 * scripts/config.sub: Update to version 2013-04-24.
5728 * scripts/install-sh: Update to version 2011-11-20.07.
5729 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5730 * scripts/move-if-change: Update to version 2012-01-06 07:23.
5731
350635a5
OB
57322013-06-06 Ondřej Bílka <neleai@seznam.cz>
5733
5734 * debug/fgetws_u_chk.c: Fix leading whitespaces.
5735 * elf/sln.c: Likewise.
5736 * hurd/hurd/ioctl.h: Likewise.
5737 * hurd/hurdmalloc.c: Likewise.
5738 * hurd/xattr.c: Likewise.
5739 * include/shlib-compat.h: Likewise.
5740 * inet/ruserpass.c: Likewise.
5741 * libio/iofgets_u.c: Likewise.
5742 * libio/iofgetws_u.c: Likewise.
5743 * locale/programs/ld-identification.c: Likewise.
5744 * locale/programs/ld-time.c: Likewise.
5745 * mach/msg-destroy.c: Likewise.
5746 * nss/nss_files/files-netgrp.c: Likewise.
5747 * resolv/res_data.c: Likewise.
5748 * soft-fp/op-1.h: Likewise.
5749 * soft-fp/op-2.h: Likewise.
5750 * soft-fp/op-4.h: Likewise.
5751 * soft-fp/op-common.h: Likewise.
5752 * stdio-common/printf_fphex.c: Likewise.
5753 * stdlib/strtod_l.c: Likewise.
5754 * sunrpc/rpc/clnt.h: Likewise.
5755 * sysdeps/generic/framestate.c: Likewise.
5756 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5757 * sysdeps/i386/bsd-setjmp.S: Likewise.
5758 * sysdeps/i386/__longjmp.S: Likewise.
5759 * sysdeps/i386/setjmp.S: Likewise.
5760 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5761 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5762 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5763 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5764 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5765 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5766 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5767 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5768 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5769 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5770 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5771 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5772 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5773 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5774 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5775 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5776 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5777 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5778 * sysdeps/ieee754/support.c: Likewise.
5779 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5780 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5781 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5782 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5783 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5784 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5785 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5786 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5787 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5788 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5789 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5790 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5791 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5792 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5793 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5794 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5795 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5797
44a988af
OB
57982013-06-05 Ondřej Bílka <neleai@seznam.cz>
5799
25506f09 5800 * posix/transbug.c: Remove executable mode.
44a988af 5801
9c84384c
JM
58022013-06-05 Joseph Myers <joseph@codesourcery.com>
5803
5804 * crypt/speeds.c: Remove trailing whitespace.
5805 * dlfcn/default.c: Likewise.
5806 * elf/ifuncdep2.c: Likewise.
5807 * elf/ifuncmain1.c: Likewise.
5808 * elf/ifuncmain1vis.c: Likewise.
5809 * elf/testobj.h: Likewise.
5810 * elf/tst-stackguard1.c: Likewise.
5811 * gmon/sys/gmon.h: Likewise.
5812 * hurd/hurdmsg.c: Likewise.
5813 * hurd/new-fd.c: Likewise.
5814 * hurd/ports-get.c: Likewise.
5815 * iconvdata/ibm1008_420.c: Likewise.
5816 * inet/tst-getni1.c: Likewise.
5817 * inet/tst-getni2.c: Likewise.
5818 * libio/ioungetc.c: Likewise.
5819 * libio/wfiledoalloc.c: Likewise.
5820 * manual/libm-err-tab.pl: Likewise.
5821 * math/w_dremf.c: Likewise.
5822 * misc/ftruncate.c: Likewise.
5823 * posix/bug-glob2.c: Likewise.
5824 * posix/tst-pcre.c: Likewise.
5825 * posix/wait4.c: Likewise.
5826 * resolv/README: Likewise.
5827 * resolv/res_debug.h: Likewise.
5828 * resolv/tst-inet_ntop.c: Likewise.
5829 * setjmp/bug269-setjmp.c: Likewise.
5830 * soft-fp/extended.h: Likewise.
5831 * soft-fp/op-1.h: Likewise.
5832 * soft-fp/op-2.h: Likewise.
5833 * soft-fp/op-4.h: Likewise.
5834 * soft-fp/op-8.h: Likewise.
5835 * soft-fp/testit.c: Likewise.
5836 * stdio-common/bug16.c: Likewise.
5837 * stdlib/random.c: Likewise.
5838 * sunrpc/rpcsvc/rquota.x: Likewise.
5839 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5840 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5841 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5842 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5843 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5844 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5845 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5846 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5847 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5848 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5849 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5850 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5851 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5852 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5853 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5854 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5855 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5856 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5857 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5858 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5859 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5860 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5861 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5862 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5863 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5864 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5865 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5866 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5867 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5868 * sysdeps/ieee754/s_lib_version.c: Likewise.
5869 * sysdeps/mach/hurd/check_fds.c: Likewise.
5870 * sysdeps/mach/hurd/getsockname.c: Likewise.
5871 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5872 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5873 * sysdeps/powerpc/bits/link.h: Likewise.
5874 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5875 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5876 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5877 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5878 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5879 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5880 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5881 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5882 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5883 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5884 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5885 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5886 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5887 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5888 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5889 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5890 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5891 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5892 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5893 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5894 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5895 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5896 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5897 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5898 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5899 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5900 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5901 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5902 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5903 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5904 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5905 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5906 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5907 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5908 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5909 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5910 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5911 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5912 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5913 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5914 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5915 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5916 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5917 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5918 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5919 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5920 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5921 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5922 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5923 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5924 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5925 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5926 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5927 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5928 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5929 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5930 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5931 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5932 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5933 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5934 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5935 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5936 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5937 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5938 * sysdeps/powerpc/sysdep.h: Likewise.
5939 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5940 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5941 * sysdeps/sh/dl-trampoline.S: Likewise.
5942 * sysdeps/sh/memset.S: Likewise.
5943 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5944 * sysdeps/sh/strlen.S: Likewise.
5945 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5946 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5947 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5948 * sysdeps/sparc/sparc32/rem.S: Likewise.
5949 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5950 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5951 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5952 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5953 * sysdeps/sparc/sparc32/urem.S: Likewise.
5954 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5955 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5956 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5957 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5958 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5959 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5960 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5961 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5962 * sysdeps/unix/bsd/times.c: Likewise.
5963 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5964 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5968 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5969 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5970 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5971 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5972 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5973 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5974 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5975 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5976 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5977 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5978 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5979 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5980 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5981 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5982 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5983 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5984 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5985 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5986 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5987 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5988 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5989 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5990 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5991 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5992 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5993 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5994 * sysdeps/x86_64/strcspn.S: Likewise.
5995
869378a5
RA
59962013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5997
5998 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5999 generated file. Regenerate properly from gen-translit.pl.
6000 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6001 locale/C-translit.h.
6002
840e2943
AS
60032013-06-05 Andreas Schwab <schwab@suse.de>
6004
6005 [BZ #15100]
6006 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6007 week as 6 instead of -1.
6008 * time/tst-strptime.c (day_tests): Add test case.
6009
4c60cb0c
SP
60102013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6011
6012 * sysdeps/generic/math_private.h
6013 (libc_feholdexcept_setround_53bit): Replace with
6014 libc_feholdsetround_53bit.
6015 (libc_feupdateenv_53bit): Replace with
6016 libc_feresetround_53bit.
6017 (SET_RESTORE_ROUND_53BIT): Adjust.
6018
d180203e
SP
60192013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6020
96df079a
SP
6021 * string/test-strchrnul.c: Add copyright header.
6022
d180203e
SP
6023 * posix/tst-getaddrinfo4.c: Increase test timeout.
6024
8b0ccb2d
CD
60252013-06-03 Carlos O'Donell <carlos@redhat.com>
6026
6027 [BZ #15536]
6028 * math/libm-test.inc (MAX_EXP): Remove
6029 (MIN_EXP): Define.
6030 (ulp): Use MIN_EXP - MANT_DIG.
6031 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6032
3b3c4d40
CD
60332013-05-31 Carlos O'Donell <carlos@redhat.com>
6034
6035 * po/be.po: Revert last change.
6036 * po/zh_CN.po: Likewise.
6037 * po/header.pot: Likewise.
6038
fab7ce3f
JM
60392013-05-31 Joseph Myers <joseph@codesourcery.com>
6040
6041 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6042 link-libc-deps to empty as target-specific variable.
6043 * Makerules (link-libc-args): New variable.
6044 (libc-for-link): Likewise.
6045 (link-libc-deps): Likewise.
6046 (lib%.so): Depend on $(link-libc-deps). Link with
6047 $(link-libc-args).
6048 (build-module): Link with $(link-libc-args).
6049 (build-module-asneeded): Likewise.
6050 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6051 list of objects.
6052 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6053 target-specific variable.
6054 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6055 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6056 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6057 libc.
6058 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6059 libc and ld.so.
6060 ($(objpfx)libpcprofile.so): Likewise.
6061 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6062 libc_nonshared.a.
6063 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6064 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6065 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6066 $(link-libc-deps).
6067 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6068 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6069 * login/Makefile ($(objpfx)libutil.so): Likewise.
6070 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6071 * math/Makefile ($(objpfx)libm.so): Likewise.
6072 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6073 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6074 variable instead of depending directly on libc.
6075 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6076 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6077 $(link-libc-deps).
6078 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6079 libc.
6080 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6081 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6082 ($(objpfx)libanl.so): Likewise.
6083 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6084 ld.so.
6085 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6086 $(link-libc-deps).
6087 * sysdeps/i386/fpu/Makefile: Remove file.
6088 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6089 ($(objpfx)libm.so): Remove dependency on ld.so.
6090
eca5920c
PF
60912013-05-30 Patsy Franklin <pfrankli@redhat.com>
6092
6093 [BZ # 15553]
6094 * nis/yp_xdr.c (XDRMAXNAME): Define.
6095 (XDRMAXRECORD): Define.
6096 (xdr_domainname): Use XDRMAXNAME.
6097 (xdr_mapname): Likewise.
6098 (xdr_peername): Likewise.
6099 (xdr_keydat): Use XDRMAXRECORD.
6100 (xdr_valdat): Likewise.
6101
61022013-05-30 Jeff Law <law@redhat.com>
96945714
JL
6103
6104 [BZ #14256]
6105 * manual/errno.texi (ESTALE): Update to account for more than
6106 just NFS file systems.
6107 * sysdeps/gnu/errlist.c: Regenerated.
6108
b9375348
SP
61092013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6110
6111 [BZ #15465]
6112 * elf/Makefile (tests): Add tst-null-argv.
6113 (modules-names): Add tst-null-argv-lib.
6114 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6115 (tst-null-argv-ENV): Set environment for tst-null-argv.
6116 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6117 (RTLD_PROGNAME): New macro.
6118 * elf/tst-null-argv.c: New test case.
6119 * elf/tst-null-argv-lib.c: Library for test case.
6120 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6121 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6122 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6123 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6124 * elf/dl-init.c (call_init): Likewise.
6125 (_dl_init): Likewise.
6126 * elf/dl-load.c (print_search_path): Likewise.
6127 (_dl_map_object): Likewise.
6128 * elf/dl-lookup.c (do_lookup_x): Likewise.
6129 (add_dependency): Likewise.
6130 (_dl_lookup_symbol_x): Likewise.
6131 (_dl_debug_bindings): Likewise.
6132 * elf/dl-open.c (_dl_show_scope): Likewise.
6133 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6134 * elf/dl-version.c (match_symbol): Likewise.
6135 (_dl_check_map_versions): Likewise.
6136 * elf/rtld.c (dl_main): Likewise.
6137 (print_unresolved): Use RTLD_PROGNAME.
6138 (print_missing_version): Likewise.
6139 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6140 (elf_machine_rela): Likewise.
6141 * sysdeps/powerpc/powerpc32/dl-machine.c
6142 (__process_machine_rela): Likewise.
6143 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6144 Likewise.
6145 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6146 Likewise.
6147 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6148 Likewise.
6149 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6150 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6151 Likewise.
6152 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6153 Likewise.
6154 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6155
8a9f20c8
CD
61562013-05-28 Carlos O'Donell <carlos@redhat.com>
6157
6158 * po/be.po: Add descriptive title.
6159 * po/zh_CN.po: Likewise.
6160 * po/header.pot: Likewise.
6161
0e60d68e
MF
61622013-05-28 Mike Frysinger <vapier@gentoo.org>
6163
6164 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6165 error message.
6166 (enlarge_archive): Likewise.
6167
56b672e9
BN
61682013-05-28 Ben North <ben@redfrontdoor.org>
6169
6170 * manual/arith.texi (frexp): It is the magnitude of the return
6171 value which lies in [0.5, 1), not the return value itself.
6172
5e056687
AZ
61732013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6174
6175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6176
2b66ef5d
TS
61772013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6178
528c2405
TS
6179 * stdio-common/bug26.c (main): Correct fscanf template.
6180
07b4c13d
TS
6181 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6182 declare _dl_skip_args.
6183
ec9dd97c
TS
6184 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6185 Don't declare.
6186
2b66ef5d
TS
6187 * manual/platform.texi: Add missing @end deftypefun.
6188
4f8dfe27
JM
61892013-05-24 Joseph Myers <joseph@codesourcery.com>
6190
0323d086
JM
6191 [BZ #15529]
6192 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6193 bit of mantissa of 2^16382.
6194 * math/libm-test.inc (hypot_test_data): Add more tests.
6195
dd4259b9
JM
6196 * math/libm-test.inc: Add drem and pow10 to list of tested
6197 functions.
6198 (pow10_test): New function.
6199 (drem_test): Likewise.
6200 (drem_test_tonearest): Likewise.
6201 (drem_test_towardzero): Likewise.
6202 (drem_test_downward): Likewise.
6203 (drem_test_upward): Likewise.
6204 (main): Call the new functions.
6205
4f8dfe27
JM
6206 * math/libm-test.inc (finite_test_data): Remove.
6207 (finite_test): Run tests from isfinite_test_data.
6208 (gamma_test_data): Remove.
6209 (gamma_test): Run tests from lgamma_test_data.
6210 * sysdeps/i386/fpu/libm-test-ulps: Update.
6211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6212
d116b7c4
AZ
62132013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6214
6215 * manual/platform.texi: Add PowerPC PPR function set documentation.
6216 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6217 implementation.
6218
e96e3767
CD
62192013-05-24 Carlos O'Donell <carlos@redhat.com>
6220
6221 * math/libm-test.inc (MAX_EXP): Define.
6222 (ULPDIFF): Define.
6223 (ulp): New function.
6224 (check_float_internal): Use ULPDIFF.
6225 (cpow_test): Disable failing test.
6226 (check_ulp): Test ulp() implemetnation.
6227 (main): Call check_ulp before starting tests.
6228
b679a606
JM
62292013-05-24 Joseph Myers <joseph@codesourcery.com>
6230
e8bdba36
JM
6231 * math/gen-libm-test.pl (generate_testfile): Do not handle
6232 START_DATA and END_DATA.
6233 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6234 END_DATA.
6235 (acos_tonearest_test_data): Likewise.
6236 (acos_towardzero_test_data): Likewise.
6237 (acos_downward_test_data): Likewise.
6238 (acos_upward_test_data): Likewise.
6239 (acosh_test_data): Likewise.
6240 (asin_test_data): Likewise.
6241 (asin_tonearest_test_data): Likewise.
6242 (asin_towardzero_test_data): Likewise.
6243 (asin_downward_test_data): Likewise.
6244 (asin_upward_test_data): Likewise.
6245 (asinh_test_data): Likewise.
6246 (atan_test_data): Likewise.
6247 (atanh_test_data): Likewise.
6248 (atan2_test_data): Likewise.
6249 (cabs_test_data): Likewise.
6250 (cacos_test_data): Likewise.
6251 (cacosh_test_data): Likewise.
6252 (carg_test_data): Likewise.
6253 (casin_test_data): Likewise.
6254 (casinh_test_data): Likewise.
6255 (catan_test_data): Likewise.
6256 (catanh_test_data): Likewise.
6257 (cbrt_test_data): Likewise.
6258 (ccos_test_data): Likewise.
6259 (ccosh_test_data): Likewise.
6260 (ceil_test_data): Likewise.
6261 (cexp_test_data): Likewise.
6262 (cimag_test_data): Likewise.
6263 (clog_test_data): Likewise.
6264 (clog10_test_data): Likewise.
6265 (conj_test_data): Likewise.
6266 (copysign_test_data): Likewise.
6267 (cos_test_data): Likewise.
6268 (cos_tonearest_test_data): Likewise.
6269 (cos_towardzero_test_data): Likewise.
6270 (cos_downward_test_data): Likewise.
6271 (cos_upward_test_data): Likewise.
6272 (cosh_test_data): Likewise.
6273 (cosh_tonearest_test_data): Likewise.
6274 (cosh_towardzero_test_data): Likewise.
6275 (cosh_downward_test_data): Likewise.
6276 (cosh_upward_test_data): Likewise.
6277 (cpow_test_data): Likewise.
6278 (cproj_test_data): Likewise.
6279 (creal_test_data): Likewise.
6280 (csin_test_data): Likewise.
6281 (csinh_test_data): Likewise.
6282 (csqrt_test_data): Likewise.
6283 (ctan_test_data): Likewise.
6284 (ctan_tonearest_test_data): Likewise.
6285 (ctan_towardzero_test_data): Likewise.
6286 (ctan_downward_test_data): Likewise.
6287 (ctan_upward_test_data): Likewise.
6288 (ctanh_test_data): Likewise.
6289 (ctanh_tonearest_test_data): Likewise.
6290 (ctanh_towardzero_test_data): Likewise.
6291 (ctanh_downward_test_data): Likewise.
6292 (ctanh_upward_test_data): Likewise.
6293 (erf_test_data): Likewise.
6294 (erfc_test_data): Likewise.
6295 (exp_test_data): Likewise.
6296 (exp_tonearest_test_data): Likewise.
6297 (exp_towardzero_test_data): Likewise.
6298 (exp_downward_test_data): Likewise.
6299 (exp_upward_test_data): Likewise.
6300 (exp10_test_data): Likewise.
6301 (exp2_test_data): Likewise.
6302 (expm1_test_data): Likewise.
6303 (fabs_test_data): Likewise.
6304 (fdim_test_data): Likewise.
6305 (finite_test_data): Likewise.
6306 (floor_test_data): Likewise.
6307 (fma_test_data): Likewise.
6308 (fma_towardzero_test_data): Likewise.
6309 (fma_downward_test_data): Likewise.
6310 (fma_upward_test_data): Likewise.
6311 (fmax_test_data): Likewise.
6312 (fmin_test_data): Likewise.
6313 (fmod_test_data): Likewise.
6314 (fpclassify_test_data): Likewise.
6315 (frexp_test_data): Likewise.
6316 (gamma_test_data): Likewise.
6317 (hypot_test_data): Likewise.
6318 (ilogb_test_data): Likewise.
6319 (isfinite_test_data): Likewise.
6320 (isgreater_test_data): Likewise.
6321 (isgreaterequal_test_data): Likewise.
6322 (isinf_test_data): Likewise.
6323 (isless_test_data): Likewise.
6324 (islessequal_test_data): Likewise.
6325 (islessgreater_test_data): Likewise.
6326 (isnan_test_data): Likewise.
6327 (isnormal_test_data): Likewise.
6328 (issignaling_test_data): Likewise.
6329 (isunordered_test_data): Likewise.
6330 (j0_test_data): Likewise.
6331 (j1_test_data): Likewise.
6332 (jn_test_data): Likewise.
6333 (ldexp_test_data): Likewise.
6334 (lgamma_test_data): Likewise.
6335 (lrint_test_data): Likewise.
6336 (lrint_tonearest_test_data): Likewise.
6337 (lrint_towardzero_test_data): Likewise.
6338 (lrint_downward_test_data): Likewise.
6339 (lrint_upward_test_data): Likewise.
6340 (llrint_test_data): Likewise.
6341 (llrint_tonearest_test_data): Likewise.
6342 (llrint_towardzero_test_data): Likewise.
6343 (llrint_downward_test_data): Likewise.
6344 (llrint_upward_test_data): Likewise.
6345 (log_test_data): Likewise.
6346 (log10_test_data): Likewise.
6347 (log1p_test_data): Likewise.
6348 (log2_test_data): Likewise.
6349 (logb_test_data): Likewise.
6350 (logb_downward_test_data): Likewise.
6351 (lround_test_data): Likewise.
6352 (llround_test_data): Likewise.
6353 (modf_test_data): Likewise.
6354 (nearbyint_test_data): Likewise.
6355 (nextafter_test_data): Likewise.
6356 (nexttoward_test_data): Likewise.
6357 (pow_test_data): Likewise.
6358 (pow_tonearest_test_data): Likewise.
6359 (pow_towardzero_test_data): Likewise.
6360 (pow_downward_test_data): Likewise.
6361 (pow_upward_test_data): Likewise.
6362 (remainder_test_data): Likewise.
6363 (remainder_tonearest_test_data): Likewise.
6364 (remainder_towardzero_test_data): Likewise.
6365 (remainder_downward_test_data): Likewise.
6366 (remainder_upward_test_data): Likewise.
6367 (remquo_test_data): Likewise.
6368 (rint_test_data): Likewise.
6369 (rint_tonearest_test_data): Likewise.
6370 (rint_towardzero_test_data): Likewise.
6371 (rint_downward_test_data): Likewise.
6372 (rint_upward_test_data): Likewise.
6373 (round_test_data): Likewise.
6374 (scalb_test_data): Likewise.
6375 (scalbn_test_data): Likewise.
6376 (scalbln_test_data): Likewise.
6377 (signbit_test_data): Likewise.
6378 (sin_test_data): Likewise.
6379 (sin_tonearest_test_data): Likewise.
6380 (sin_towardzero_test_data): Likewise.
6381 (sin_downward_test_data): Likewise.
6382 (sin_upward_test_data): Likewise.
6383 (sincos_test_data): Likewise.
6384 (sinh_test_data): Likewise.
6385 (sinh_tonearest_test_data): Likewise.
6386 (sinh_towardzero_test_data): Likewise.
6387 (sinh_downward_test_data): Likewise.
6388 (sinh_upward_test_data): Likewise.
6389 (sqrt_test_data): Likewise.
6390 (tan_test_data): Likewise.
6391 (tan_tonearest_test_data): Likewise.
6392 (tan_towardzero_test_data): Likewise.
6393 (tan_downward_test_data): Likewise.
6394 (tan_upward_test_data): Likewise.
6395 (tanh_test_data): Likewise.
6396 (tgamma_test_data): Likewise.
6397 (trunc_test_data): Likewise.
6398 (y0_test_data): Likewise.
6399 (y1_test_data): Likewise.
6400 (yn_test_data): Likewise.
6401 (significand_test_data): Likewise.
6402
b679a606
JM
6403 * math/gen-libm-test.pl (@functions): Remove variable.
6404 (generate_testfile): Don't handle START and END lines.
6405 * math/libm-test.inc (START): New macro.
6406 (END): Likewise.
6407 (END_COMPLEX): Likewise.
6408 (acos_test): Use END macro without arguments.
6409 (acos_test_tonearest): Likewise.
6410 (acos_test_towardzero): Likewise.
6411 (acos_test_downward): Likewise.
6412 (acos_test_upward): Likewise.
6413 (acosh_test): Likewise.
6414 (asin_test): Likewise.
6415 (asin_test_tonearest): Likewise.
6416 (asin_test_towardzero): Likewise.
6417 (asin_test_downward): Likewise.
6418 (asin_test_upward): Likewise.
6419 (asinh_test): Likewise.
6420 (atan_test): Likewise.
6421 (atanh_test): Likewise.
6422 (atan2_test): Likewise.
6423 (cabs_test): Likewise.
6424 (cacos_test): Use END_COMPLEX macro without arguments.
6425 (cacosh_test): Likewise.
6426 (carg_test): Use END macro without arguments.
6427 (casin_test): Use END_COMPLEX macro without arguments.
6428 (casinh_test): Likewise.
6429 (catan_test): Likewise.
6430 (catanh_test): Likewise.
6431 (cbrt_test): Use END macro without arguments.
6432 (ccos_test): Use END_COMPLEX macro without arguments.
6433 (ccosh_test): Likewise.
6434 (ceil_test): Use END macro without arguments.
6435 (cexp_test): Use END_COMPLEX macro without arguments.
6436 (cimag_test): Use END macro without arguments.
6437 (clog_test): Use END_COMPLEX macro without arguments.
6438 (clog10_test): Likewise.
6439 (conj_test): Likewise.
6440 (copysign_test): Use END macro without arguments.
6441 (cos_test): Likewise.
6442 (cos_test_tonearest): Likewise.
6443 (cos_test_towardzero): Likewise.
6444 (cos_test_downward): Likewise.
6445 (cos_test_upward): Likewise.
6446 (cosh_test): Likewise.
6447 (cosh_test_tonearest): Likewise.
6448 (cosh_test_towardzero): Likewise.
6449 (cosh_test_downward): Likewise.
6450 (cosh_test_upward): Likewise.
6451 (cpow_test): Use END_COMPLEX macro without arguments.
6452 (cproj_test): Likewise.
6453 (creal_test): Use END macro without arguments.
6454 (csin_test): Use END_COMPLEX macro without arguments.
6455 (csinh_test): Likewise.
6456 (csqrt_test): Likewise.
6457 (ctan_test): Likewise.
6458 (ctan_test_tonearest): Likewise.
6459 (ctan_test_towardzero): Likewise.
6460 (ctan_test_downward): Likewise.
6461 (ctan_test_upward): Likewise.
6462 (ctanh_test): Likewise.
6463 (ctanh_test_tonearest): Likewise.
6464 (ctanh_test_towardzero): Likewise.
6465 (ctanh_test_downward): Likewise.
6466 (ctanh_test_upward): Likewise.
6467 (erf_test): Use END macro without arguments.
6468 (erfc_test): Likewise.
6469 (exp_test): Likewise.
6470 (exp_test_tonearest): Likewise.
6471 (exp_test_towardzero): Likewise.
6472 (exp_test_downward): Likewise.
6473 (exp_test_upward): Likewise.
6474 (exp10_test): Likewise.
6475 (exp2_test): Likewise.
6476 (expm1_test): Likewise.
6477 (fabs_test): Likewise.
6478 (fdim_test): Likewise.
6479 (finite_test): Likewise.
6480 (floor_test): Likewise.
6481 (fma_test): Likewise.
6482 (fma_test_towardzero): Likewise.
6483 (fma_test_downward): Likewise.
6484 (fma_test_upward): Likewise.
6485 (fmax_test): Likewise.
6486 (fmin_test): Likewise.
6487 (fmod_test): Likewise.
6488 (fpclassify_test): Likewise.
6489 (frexp_test): Likewise.
6490 (gamma_test): Likewise.
6491 (hypot_test): Likewise.
6492 (ilogb_test): Likewise.
6493 (isfinite_test): Likewise.
6494 (isgreater_test): Likewise.
6495 (isgreaterequal_test): Likewise.
6496 (isinf_test): Likewise.
6497 (isless_test): Likewise.
6498 (islessequal_test): Likewise.
6499 (islessgreater_test): Likewise.
6500 (isnan_test): Likewise.
6501 (isnormal_test): Likewise.
6502 (issignaling_test): Likewise.
6503 (isunordered_test): Likewise.
6504 (j0_test): Likewise.
6505 (j1_test): Likewise.
6506 (jn_test): Likewise.
6507 (ldexp_test): Likewise.
6508 (lgamma_test): Likewise.
6509 (lrint_test): Likewise.
6510 (lrint_test_tonearest): Likewise.
6511 (lrint_test_towardzero): Likewise.
6512 (lrint_test_downward): Likewise.
6513 (lrint_test_upward): Likewise.
6514 (llrint_test): Likewise.
6515 (llrint_test_tonearest): Likewise.
6516 (llrint_test_towardzero): Likewise.
6517 (llrint_test_downward): Likewise.
6518 (llrint_test_upward): Likewise.
6519 (log_test): Likewise.
6520 (log10_test): Likewise.
6521 (log1p_test): Likewise.
6522 (log2_test): Likewise.
6523 (logb_test): Likewise.
6524 (logb_test_downward): Likewise.
6525 (lround_test): Likewise.
6526 (llround_test): Likewise.
6527 (modf_test): Likewise.
6528 (nearbyint_test): Likewise.
6529 (nextafter_test): Likewise.
6530 (nexttoward_test): Likewise.
6531 (pow_test): Likewise.
6532 (pow_test_tonearest): Likewise.
6533 (pow_test_towardzero): Likewise.
6534 (pow_test_downward): Likewise.
6535 (pow_test_upward): Likewise.
6536 (remainder_test): Likewise.
6537 (remainder_test_tonearest): Likewise.
6538 (remainder_test_towardzero): Likewise.
6539 (remainder_test_downward): Likewise.
6540 (remainder_test_upward): Likewise.
6541 (remquo_test): Likewise.
6542 (rint_test): Likewise.
6543 (rint_test_tonearest): Likewise.
6544 (rint_test_towardzero): Likewise.
6545 (rint_test_downward): Likewise.
6546 (rint_test_upward): Likewise.
6547 (round_test): Likewise.
6548 (scalb_test): Likewise.
6549 (scalbn_test): Likewise.
6550 (scalbln_test): Likewise.
6551 (signbit_test): Likewise.
6552 (sin_test): Likewise.
6553 (sin_test_tonearest): Likewise.
6554 (sin_test_towardzero): Likewise.
6555 (sin_test_downward): Likewise.
6556 (sin_test_upward): Likewise.
6557 (sincos_test): Likewise.
6558 (sinh_test): Likewise.
6559 (sinh_test_tonearest): Likewise.
6560 (sinh_test_towardzero): Likewise.
6561 (sinh_test_downward): Likewise.
6562 (sinh_test_upward): Likewise.
6563 (sqrt_test): Likewise.
6564 (tan_test): Likewise.
6565 (tan_test_tonearest): Likewise.
6566 (tan_test_towardzero): Likewise.
6567 (tan_test_downward): Likewise.
6568 (tan_test_upward): Likewise.
6569 (tanh_test): Likewise.
6570 (tgamma_test): Likewise.
6571 (trunc_test): Likewise.
6572 (y0_test): Likewise.
6573 (y1_test): Likewise.
6574 (yn_test): Likewise.
6575 (significand_test): Likewise.
6576
bae143d2
OB
65772013-05-24 Ondřej Bílka <neleai@seznam.cz>
6578
6579 [BZ #15381]
6580 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6581
9323d39b
EM
65822013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6583
d4ea44a0 6584 [BZ #14894]
9323d39b
EM
6585 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6586 __ppc_mdoio and __ppc_mdoom.
6587 * manual/platform.texi: Document new functions __ppc_yield,
6588 __ppc_mdoio and __ppc_mdoom.
6589
13e23af7
CD
65902013-05-22 Carlos O'Donell <carlos@redhat.com>
6591
6592 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6593 (main): Mention "tls" pseudo-hwcap is legacy.
6594 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6595
351fe550
JM
65962013-05-22 Joseph Myers <joseph@codesourcery.com>
6597
6598 * math/gen-libm-test.pl (parse_args): Output only string of
6599 arguments as text for test name, not full call or descriptions of
6600 tests for extra outputs.
6601 (generate_testfile): Do not pass function name to parse_args.
6602 Generate this_func variable from START.
6603 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6604 field to arg_str.
6605 (struct test_ff_f_data): Likewise.
6606 (test_ff_f_data_nexttoward): Likewise.
6607 (struct test_fi_f_data): Likewise.
6608 (struct test_fl_f_data): Likewise.
6609 (struct test_if_f_data): Likewise.
6610 (struct test_fff_f_data): Likewise.
6611 (struct test_c_f_data): Likewise.
6612 (struct test_f_f1_data): Likewise. Remove field extra_name.
6613 (struct test_fF_f1_data): Likewise.
6614 (struct test_ffI_f1_data): Likewise.
6615 (struct test_c_c_data): Rename test_name field to arg_str.
6616 (struct test_cc_c_data): Likewise.
6617 (struct test_f_i_data): Likewise.
6618 (struct test_ff_i_data): Likewise.
6619 (struct test_f_l_data): Likewise.
6620 (struct test_f_L_data): Likewise.
6621 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6622 and extra2_name.
6623 (COMMON_TEST_SETUP): New macro.
6624 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6625 (COMMON_TEST_CLEANUP): Likewise.
6626 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6627 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6628 macros.
6629 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6630 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6631 macros.
6632 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6633 (RUN_TEST_fff_f): Take argument string. Call new setup and
6634 cleanup macros.
6635 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6636 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6637 macros.
6638 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6639 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6640 macros.
6641 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6642 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6643 cleanup macros.
6644 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6645 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6646 cleanup macros.
6647 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6648 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6649 cleanup macros.
6650 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6651 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6652 macros.
6653 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6654 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6655 macros.
6656 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6657 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6658 macros.
6659 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6660 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6661 cleanup macros.
6662 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6663 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6664 cleanup macros.
6665 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6666 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6667 macros.
6668 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6669 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6670 cleanup macros.
6671 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6672 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6673 macros.
6674 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6675 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6676 macros.
6677 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6678 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6679 cleanup macros.
6680 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6681
85118d4d
EBM
66822013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6683
6684 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6685 to _sifields.sigfault.
6686 (si_addr_lsb): Define new macro.
6687 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6688 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6689 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6690
7a44c18f
CD
66912013-05-03 Carlos O'Donell <carlos at redhat.com>
6692
6693 [BZ #15441]
6694 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6695 returns -1.
6696 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6697 null return -1.
6698 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6699 loading the domain.
6700
b50a7181
JM
67012013-05-22 Joseph Myers <joseph@codesourcery.com>
6702
6703 * math/gen-libm-test.pl (parse_args): Do not include expected
6704 result in test name.
6705 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6706 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6707 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6708 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6709 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6711
051063c8
SP
67122013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6713
3ce9e010
SP
6714 * benchtests/Makefile: Sort function entries.
6715
051063c8
SP
6716 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6717 tanh, asinh, acosh, atanh.
6718 * benchtests/acos-inputs: New file.
6719 * benchtests/acosh-inputs: New file.
6720 * benchtests/asin-inputs: New file.
6721 * benchtests/asinh-inputs: New file.
6722 * benchtests/atanh-inputs: New file.
6723 * benchtests/cosh-inputs: New file.
6724 * benchtests/log-inputs: New file.
6725 * benchtests/sinh-inputs: New file.
6726 * benchtests/tanh-inputs: New file.
6727
47c22455
DL
67282013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6729
6730 [BZ #15339]
6731 * posix/tst-getaddrinfo4.c: New test.
6732 * posix/Makefile (tests): Add it.
6733
3d04f5db
SP
67342013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6735
6736 [BZ #15339]
6737 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6738 when no services were used.
6739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6740 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6741
d5dd6189
AS
67422013-05-21 Andreas Schwab <schwab@suse.de>
6743
6744 [BZ #15014]
6745 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6746 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6747 successful.
6748 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6749 redundant variable declarations and reallocation of buffer when
6750 parsing as IPv6 address. Always set NSS status when called from
6751 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
6752 buffer too small. Correct computation of needed size.
6753 * nss/Makefile (tests): Add test-digits-dots.
6754 * nss/test-digits-dots.c: New test.
6755
fef94eab
SP
67562013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6757
6758 * benchtests/Makefile: Remove instructions for adding
6759 benchmark tests.
6760 * benchtests/README: New file to explain how to execute and
6761 enhance the benchmark tests.
6762
e39adf43
AS
67632013-05-21 Andreas Schwab <schwab@suse.de>
6764
6765 [BZ #15493]
6766 * setjmp/Makefile (tests): Add tst-sigsetjmp.
6767 * setjmp/tst-sigsetjmp.c: New test.
6768
b2b671b6
OB
67692013-05-20 Ondřej Bílka <neleai@seznam.cz>
6770
6771 * sysdeps/x86_64/memset.S (memset): New implementation.
6772 (__bzero): Likewise.
6773 (__memset_tail): New function.
6774
2d48b41c
OB
67752013-05-20 Ondřej Bílka <neleai@seznam.cz>
6776
6777 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6778 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6779 __memcpy_sse2_unaligned ifunc selection.
6780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6781 Add memcpy-sse2-unaligned.S.
6782 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6783 Add: __memcpy_sse2_unaligned.
6784
f16cc3eb
JM
67852013-05-19 Joseph Myers <joseph@codesourcery.com>
6786
3e694268
JM
6787 [BZ #15490]
6788 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6789 math_force_eval before restoring floating-point envrionment.
6790 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6791 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6792 Likewise.
6793 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6794 <math_private.h>.
6795 (__nearbyintl): Use math_force_eval before restoring
6796 floating-point environment.
6797 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6798
db62a907
JM
6799 * math/gen-libm-test.pl (special_functions): Remove.
6800 (parse_args): Don't handle TEST_extra. Handle functions with no
6801 return value.
6802 * math/libm-test.inc (struct test_sincos_data): Replace with
6803 struct test_fFF_11_data.
6804 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6805 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6806 (sincos_test_data): Change element type to struct
6807 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
6808 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6809 RUN_TEST_LOOP_sincos.
6810 * math/README.libm-test: Don't mention special handling of
6811 individual functions.
6812 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6813 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6814 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6815 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6816 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6818
f16cc3eb
JM
6819 * math/gen-libm-test.pl (get_variable): Remove function.
6820 (parse_args): Don't show pointer parameters to call in test
6821 names. Use "extra output N" in test names for extra outputs
6822 rather than naming variables.
6823
3779b5b6
JM
68242013-05-18 Joseph Myers <joseph@codesourcery.com>
6825
2ee094ff
JM
6826 [BZ #15488]
6827 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6828 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6829 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6830 double tests.
6831 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6832 disable.
6833 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6834 check_long_double.
6835
3779b5b6
JM
6836 * math/gen-libm-test.pl (@tests): Remove variable.
6837 ($count): Likewise.
6838 (new_test): Remove function.
6839 (show_exceptions): New function.
6840 (special_functions): Use show_exceptions instead of new_test.
6841 (parse_args): Likewise.
6842 (generate_testfile): Pass only function name in generated call to
6843 print_max_error or print_complex_max_error.
6844 (get_ulps): Do not handle complex tests specially.
6845 (output_test): Rename to ...
6846 (get_all_ulps_for_test): ... this. Return a string rather than
6847 printing to a file. Require ulps to be present.
6848 (output_ulps): Generate arrays rather than #defines.
6849 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6850 (struct ulp_data): New type.
6851 (BUILD_COMPLEX_ULP): Remove macro.
6852 (compare_ulp_data): New function.
6853 (find_ulps): Likewise.
6854 (find_test_ulps): Likewise.
6855 (find_function_ulps): Likewise.
6856 (find_complex_function_ulps): Likewise.
6857 (print_max_error): Determine allowed ulps using
6858 find_function_ulps.
6859 (print_complex_max_error): Determine allowed ulps using
6860 find_complex_function_ulps.
6861 (check_float_internal): Determine max ulps using find_test_ulps.
6862 (check_float): Do not take max_ulp parameter. Update call to
6863 check_float_internal.
6864 (check_complex): Likewise.
6865 (check_int): Do not take max_ulp parameter.
6866 (check_long): Likewise.
6867 (check_bool): Likewise.
6868 (check_longlong): Likewise.
6869 (struct test_f_f_data): Remove max_ulp field.
6870 (struct test_ff_f_data): Likewise.
6871 (struct test_ff_f_data_nexttoward): Likewise.
6872 (struct test_fi_f_data): Likewise.
6873 (struct test_fl_f_data): Likewise.
6874 (struct test_if_f_data): Likewise.
6875 (struct test_fff_f_data): Likewise.
6876 (struct test_c_f_data): Likewise.
6877 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6878 (struct test_fF_f1_data): Likewise.
6879 (struct test_ffI_f1_data): Likewise.
6880 (struct test_c_c_data): Remove max_ulp field.
6881 (struct test_cc_c_data): Likewise.
6882 (struct test_f_i_data): Likewise.
6883 (struct test_ff_i_data): Likewise.
6884 (struct test_f_l_data): Likewise.
6885 (struct test_f_L_data): Likewise.
6886 (struct test_sincos_data): Likewise.
6887 (RUN_TEST_f_f): Do not handle ulps.
6888 (RUN_TEST_LOOP_f_f): Likewise.
6889 (RUN_TEST_2_f): Likewise.
6890 (RUN_TEST_LOOP_2_f): Likewise.
6891 (RUN_TEST_fff_f): Likewise.
6892 (RUN_TEST_LOOP_fff_f): Likewise.
6893 (RUN_TEST_c_f): Likewise.
6894 (RUN_TEST_LOOP_c_f): Likewise.
6895 (RUN_TEST_f_f1): Likewise.
6896 (RUN_TEST_LOOP_f_f1): Likewise.
6897 (RUN_TEST_fF_f1): Likewise.
6898 (RUN_TEST_LOOP_fF_f1): Likewise.
6899 (RUN_TEST_fI_f1): Likewise.
6900 (RUN_TEST_LOOP_fI_f1): Likewise.
6901 (RUN_TEST_ffI_f1): Likewise.
6902 (RUN_TEST_LOOP_ffI_f1): Likewise.
6903 (RUN_TEST_c_c): Likewise.
6904 (RUN_TEST_LOOP_c_c): Likewise.
6905 (RUN_TEST_cc_c): Likewise.
6906 (RUN_TEST_LOOP_cc_c): Likewise.
6907 (RUN_TEST_f_i): Likewise.
6908 (RUN_TEST_LOOP_f_i): Likewise.
6909 (RUN_TEST_f_i_tg): Likewise.
6910 (RUN_TEST_LOOP_f_i_tg): Likewise.
6911 (RUN_TEST_ff_i_tg): Likewise.
6912 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6913 (RUN_TEST_f_b): Likewise.
6914 (RUN_TEST_LOOP_f_b): Likewise.
6915 (RUN_TEST_f_b_tg): Likewise.
6916 (RUN_TEST_LOOP_f_b_tg): Likewise.
6917 (RUN_TEST_f_l): Likewise.
6918 (RUN_TEST_LOOP_f_l): Likewise.
6919 (RUN_TEST_f_L): Likewise.
6920 (RUN_TEST_LOOP_f_L): Likewise.
6921 (RUN_TEST_sincos): Likewise.
6922 (RUN_TEST_LOOP_sincos): Likewise.
6923
8269107f
JM
69242013-05-17 Joseph Myers <joseph@codesourcery.com>
6925
bb38759d
JM
6926 [BZ #15480]
6927 [BZ #15485]
6928 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6929 main case of finite arguments, set rounding mode to FE_TONEAREST
6930 and discard exceptions.
6931 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6932 exceptions.
6933 (remainder_tonearest_test_data): New variable.
6934 (remainder_test_tonearest): New function.
6935 (remainder_towardzero_test_data): New variable.
6936 (remainder_test_towardzero): New function.
6937 (remainder_downward_test_data): New variable.
6938 (remainder_test_downward): New function.
6939 (remainder_upward_test_data): New variable.
6940 (remainder_test_upward): New function.
6941 (main): Call the new test functions.
6942
a00bdcf0
JM
6943 * math/libm-test.inc (struct test_f_f1_data): Remove field
6944 extra_init.
6945 (struct test_fF_f1_data): Likewise.
6946 (struct test_ffI_f1_data): Likewise.
6947 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6948 based on value of EXTRA_EXPECTED.
6949 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6950 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6951 EXTRA_VAR based on value of EXTRA_EXPECTED.
6952 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6953 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6954 EXTRA_VAR based on value of EXTRA_EXPECTED.
6955 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6956 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6957 EXTRA_VAR based on value of EXTRA_EXPECTED.
6958 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6959 * math/gen-libm-test.pl (parse_args): Don't output initializers
6960 for extra output values.
6961
de407f79
JM
6962 * math/libm-test.inc (check_int): Expect result to be exactly
6963 equal to expected value and do not handle ulps.
6964 (check_long): Likewise.
6965 (check_longlong): Likewise.
6966
8269107f
JM
6967 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6968 exceptions.
6969 (cimag_test_data): Likewise.
6970 (conj_test_data): Likewise.
6971 (copysign_test_data): Likewise.
6972 (cproj_test_data): Likewise.
6973 (creal_test_data): Likewise.
6974 (fabs_test_data): Likewise.
6975 (fdim_test_data): Likewise.
6976 (finite_test_data): Likewise.
6977 (floor_test_data): Likewise.
6978 (fmax_test_data): Likewise.
6979 (fmin_test_data): Likewise.
6980 (fmod_test_data): Likewise.
6981 (fpclassify_test_data): Likewise.
6982 (frexp_test_data): Likewise.
6983 (ilogb_test_data): Likewise.
6984 (isfinite_test_data): Likewise.
6985 (isgreater_test_data): Likewise.
6986 (isgreaterequal_test_data): Likewise.
6987 (isinf_test_data): Likewise.
6988 (isless_test_data): Likewise.
6989 (islessequal_test_data): Likewise.
6990 (islessgreater_test_data): Likewise.
6991 (isnan_test_data): Likewise.
6992 (isnormal_test_data): Likewise.
6993 (issignaling_test_data): Likewise.
6994 (isunordered_test_data): Likewise.
6995 (ldexp_test_data): Likewise.
6996 (lrint_test_data): Likewise.
6997 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6998 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6999 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7000 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7001 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7002 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7003 test input.
7004 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7005 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7006 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7007 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7008 that test input.
7009 (lrint_downward_test_data): Test for "inexact" exceptions.
7010 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7011 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7012 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7013 test input.
7014 (lrint_upward_test_data): Test for "inexact" exceptions.
7015 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7016 test input.
7017 (llrint_test_data): Test for "inexact" exceptions.
7018 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7019 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7020 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7021 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7022 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7023 (llrint_downward_test_data): Test for "inexact" exceptions.
7024 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7025 (llrint_upward_test_data): Test for "inexact" exceptions.
7026 (logb_test_data): Likewise.
7027 (logb_downward_test_data): Likewise.
7028 (nextafter_test_data): Likewise.
7029 (nexttoward_test_data): Likewise.
7030 (remainder_test_data): Likewise.
7031 (remquo_test_data): Likewise.
7032 (scalbn_test_data): Likewise.
7033 (scalbln_test_data): Likewise.
7034 (signbit_test_data): Likewise.
7035 (sqrt_test_data): Likewise.
7036 (significand_test_data): Likewise.
7037
48a18de1
SP
70382013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7039
7040 [BZ #15424]
7041 * benchtests/bench-modf.c (struct args): Mark arg0 as
7042 volatile.
7043 * scripts/bench.pl: Mark members of struct args as volatile.
7044
13d3b41a
AZ
70452013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7046
68191c1d 7047 [BZ # 15497]
13d3b41a
AZ
7048 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7049 negative infinity on POWER6 or lower.
7050 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7051
2848b105
MR
70522013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7053
7054 [BZ #15442]
7055 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7056 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7057 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7058 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7059 (_FP_SETQNAN): New macro.
7060 (_FP_SETQNAN_SEMIRAW): Likewise.
7061 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7062 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7063 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7064 (FP_EXTEND): Use _FP_FRAC_SNANP.
7065 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7066 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7067 into account.
7068 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7069 New macro.
7070 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7071 Likewise.
7072
323e5cb7
JM
70732013-05-16 Joseph Myers <joseph@codesourcery.com>
7074
c58b274f
JM
7075 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7076 with DIVIDE_BY_ZERO_EXCEPTION.
7077 (gamma_test_data): Likewise.
7078 (lgamma_test_data): Likewise.
7079 (log_test_data): Likewise.
7080 (log10_test_data): Likewise.
7081 (log2_test_data): Likewise.
7082 (tgamma_test_data): Likewise.
7083
0ab34904
JM
7084 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7085 (acos_test_tonearest): Likewise.
7086 (acos_test_towardzero): Likewise.
7087 (acos_test_downward): Likewise.
7088 (acos_test_upward): Likewise.
7089 (acosh_test): Likewise.
7090 (asin_test): Likewise.
7091 (asin_test_tonearest): Likewise.
7092 (asin_test_towardzero): Likewise.
7093 (asin_test_downward): Likewise.
7094 (asin_test_upward): Likewise.
7095 (asinh_test): Likewise.
7096 (atan_test): Likewise.
7097 (atanh_test): Likewise.
7098 (atan2_test): Likewise.
7099 (cabs_test): Likewise.
7100 (cacos_test): Likewise.
7101 (cacosh_test): Likewise.
7102 (casin_test): Likewise.
7103 (casinh_test): Likewise.
7104 (catan_test): Likewise.
7105 (catanh_test): Likewise.
7106 (cbrt_test): Likewise.
7107 (ccos_test): Likewise.
7108 (ccosh_test): Likewise.
7109 (cexp_test): Likewise.
7110 (clog_test): Likewise.
7111 (clog10_test): Likewise.
7112 (cos_test): Likewise.
7113 (cos_test_tonearest): Likewise.
7114 (cos_test_towardzero): Likewise.
7115 (cos_test_downward): Likewise.
7116 (cos_test_upward): Likewise.
7117 (cosh_test): Likewise.
7118 (cosh_test_tonearest): Likewise.
7119 (cosh_test_towardzero): Likewise.
7120 (cosh_test_downward): Likewise.
7121 (cosh_test_upward): Likewise.
7122 (cpow_test): Likewise.
7123 (csin_test): Likewise.
7124 (csinh_test): Likewise.
7125 (csqrt_test): Likewise.
7126 (ctan_test): Likewise.
7127 (ctan_test_tonearest): Likewise.
7128 (ctan_test_towardzero): Likewise.
7129 (ctan_test_downward): Likewise.
7130 (ctan_test_upward): Likewise.
7131 (ctanh_test): Likewise.
7132 (ctanh_test_tonearest): Likewise.
7133 (ctanh_test_towardzero): Likewise.
7134 (ctanh_test_downward): Likewise.
7135 (ctanh_test_upward): Likewise.
7136 (erf_test): Likewise.
7137 (erfc_test): Likewise.
7138 (exp_test): Likewise.
7139 (exp_test_tonearest): Likewise.
7140 (exp_test_towardzero): Likewise.
7141 (exp_test_downward): Likewise.
7142 (exp_test_upward): Likewise.
7143 (exp10_test): Likewise.
7144 (exp2_test): Likewise.
7145 (expm1_test): Likewise.
7146 (fmod_test): Likewise.
7147 (gamma_test): Likewise.
7148 (hypot_test): Likewise.
7149 (j0_test): Likewise.
7150 (j1_test): Likewise.
7151 (jn_test): Likewise.
7152 (lgamma_test): Likewise.
7153 (log_test): Likewise.
7154 (log10_test): Likewise.
7155 (log1p_test): Likewise.
7156 (log2_test): Likewise.
7157 (logb_test_downward): Likewise.
7158 (pow_test): Likewise.
7159 (pow_test_tonearest): Likewise.
7160 (pow_test_towardzero): Likewise.
7161 (pow_test_downward): Likewise.
7162 (pow_test_upward): Likewise.
7163 (remainder_test): Likewise.
7164 (remquo_test): Likewise.
7165 (sin_test): Likewise.
7166 (sin_test_tonearest): Likewise.
7167 (sin_test_towardzero): Likewise.
7168 (sin_test_downward): Likewise.
7169 (sin_test_upward): Likewise.
7170 (sincos_test): Likewise.
7171 (sinh_test): Likewise.
7172 (sinh_test_tonearest): Likewise.
7173 (sinh_test_towardzero): Likewise.
7174 (sinh_test_downward): Likewise.
7175 (sinh_test_upward): Likewise.
7176 (sqrt_test): Likewise.
7177 (tan_test): Likewise.
7178 (tan_test_tonearest): Likewise.
7179 (tan_test_towardzero): Likewise.
7180 (tan_test_downward): Likewise.
7181 (tan_test_upward): Likewise.
7182 (tanh_test): Likewise.
7183 (tgamma_test): Likewise.
7184 (y0_test): Likewise.
7185 (y1_test): Likewise.
7186 (yn_test): Likewise.
7187
323e5cb7
JM
7188 * math/gen-libm-test.pl (adjust_arg): Remove function.
7189 (special_function): Remove argument $in_func. Only handle
7190 generating output for tables of tests, not inside functions.
7191 (parse_args): Likewise.
7192 (generate_testfile): Remove variable $in_func. Update call to
7193 parse_args.
7194 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7195 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7196 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7197 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7198 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7199 (MAX_VALUE_INIT): Rename macro to max_value.
7200 (MIN_VALUE_INIT): Rename macro to min_value.
7201 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7202 (plus_zero): Remove variable.
7203 (minus_zero): Likewise.
7204 (plus_infty): Likewise.
7205 (minus_infty): Likewise.
7206 (qnan_value): Likewise.
7207 (max_value): Likewise.
7208 (min_value): Likewise.
7209 (min_subnorm_value): Likewise.
7210
e054f494
RA
72112013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7212
7213 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7214 uint64_t or uint32_t usage.
7215 * crypt/sha256-block.c: Likewise.
7216 * crypt/sha256-crypt.c: Likewise.
7217 * crypt/sha256.c: Likewise.
7218 * crypt/sha512-block.c: Likewise.
7219 * crypt/sha512-crypt.c: Likewise.
7220 * crypt/sha512.c: Likewise.
7221 * debug/backtrace-tst.c: Likewise.
7222 * debug/pcprofiledump.c: Likewise.
7223 * elf/cache.c: Likewise.
7224 * elf/dl-cache.c: Likewise.
7225 * elf/dl-misc.c: Likewise.
7226 * elf/dl-profile.c: Likewise.
7227 * elf/dl-support.c: Likewise.
7228 * elf/ldconfig.c: Likewise.
7229 * elf/sprof.c: Likewise.
7230 * iconv/dummy-repertoire.c: Likewise.
7231 * iconv/iconv_charmap.c: Likewise.
7232 * iconv/skeleton.c: Likewise.
7233 * iconvdata/8bit-generic.c: Likewise.
7234 * iconvdata/cp737.h: Likewise.
7235 * iconvdata/cp775.h: Likewise.
7236 * iconvdata/ibm1008.h: Likewise.
7237 * iconvdata/ibm1025.h: Likewise.
7238 * iconvdata/ibm1046.h: Likewise.
7239 * iconvdata/ibm1097.h: Likewise.
7240 * iconvdata/ibm1112.h: Likewise.
7241 * iconvdata/ibm1122.h: Likewise.
7242 * iconvdata/ibm1123.h: Likewise.
7243 * iconvdata/ibm1124.h: Likewise.
7244 * iconvdata/ibm1129.h: Likewise.
7245 * iconvdata/ibm1130.h: Likewise.
7246 * iconvdata/ibm1132.h: Likewise.
7247 * iconvdata/ibm1133.h: Likewise.
7248 * iconvdata/ibm1137.h: Likewise.
7249 * iconvdata/ibm1140.h: Likewise.
7250 * iconvdata/ibm1141.h: Likewise.
7251 * iconvdata/ibm1142.h: Likewise.
7252 * iconvdata/ibm1143.h: Likewise.
7253 * iconvdata/ibm1144.h: Likewise.
7254 * iconvdata/ibm1145.h: Likewise.
7255 * iconvdata/ibm1146.h: Likewise.
7256 * iconvdata/ibm1147.h: Likewise.
7257 * iconvdata/ibm1148.h: Likewise.
7258 * iconvdata/ibm1149.h: Likewise.
7259 * iconvdata/ibm1153.h: Likewise.
7260 * iconvdata/ibm1154.h: Likewise.
7261 * iconvdata/ibm1155.h: Likewise.
7262 * iconvdata/ibm1156.h: Likewise.
7263 * iconvdata/ibm1157.h: Likewise.
7264 * iconvdata/ibm1158.h: Likewise.
7265 * iconvdata/ibm1160.h: Likewise.
7266 * iconvdata/ibm1161.h: Likewise.
7267 * iconvdata/ibm1162.h: Likewise.
7268 * iconvdata/ibm1163.h: Likewise.
7269 * iconvdata/ibm1164.h: Likewise.
7270 * iconvdata/ibm1166.h: Likewise.
7271 * iconvdata/ibm1167.h: Likewise.
7272 * iconvdata/ibm12712.h: Likewise.
7273 * iconvdata/ibm1390.h: Likewise.
7274 * iconvdata/ibm1399.h: Likewise.
7275 * iconvdata/ibm16804.h: Likewise.
7276 * iconvdata/ibm4517.h: Likewise.
7277 * iconvdata/ibm4899.h: Likewise.
7278 * iconvdata/ibm4909.h: Likewise.
7279 * iconvdata/ibm4971.h: Likewise.
7280 * iconvdata/ibm5347.h: Likewise.
7281 * iconvdata/ibm803.h: Likewise.
7282 * iconvdata/ibm856.h: Likewise.
7283 * iconvdata/ibm901.h: Likewise.
7284 * iconvdata/ibm902.h: Likewise.
7285 * iconvdata/ibm9030.h: Likewise.
7286 * iconvdata/ibm9066.h: Likewise.
7287 * iconvdata/ibm921.h: Likewise.
7288 * iconvdata/ibm922.h: Likewise.
7289 * iconvdata/ibm9448.h: Likewise.
7290 * iconvdata/isiri-3342.h: Likewise.
7291 * iconvdata/jis0201.h: Likewise.
7292 * include/link.h: Likewise.
7293 * include/netdb.h: Likewise.
7294 * inet/check_native.c: Likewise.
7295 * inet/check_pf.c: Likewise.
7296 * inet/getipv4sourcefilter.c: Likewise.
7297 * inet/getnameinfo.c: Likewise.
7298 * inet/getsourcefilter.c: Likewise.
7299 * inet/htonl.c: Likewise.
7300 * inet/setipv4sourcefilter.c: Likewise.
7301 * inet/setsourcefilter.c: Likewise.
7302 * inet/test-inet6_opt.c: Likewise.
7303 * inet/tst-network.c: Likewise.
7304 * locale/C-collate.c: Likewise.
7305 * locale/C-ctype.c: Likewise.
7306 * locale/C-time.c: Likewise.
7307 * locale/C-translit.h: Likewise.
7308 * locale/loadarchive.c: Likewise.
7309 * locale/programs/3level.h: Likewise.
7310 * locale/programs/charmap.c: Likewise.
7311 * locale/programs/charmap.h: Likewise.
7312 * locale/programs/ld-address.c: Likewise.
7313 * locale/programs/ld-collate.c: Likewise.
7314 * locale/programs/ld-ctype.c: Likewise.
7315 * locale/programs/ld-identification.c: Likewise.
7316 * locale/programs/ld-measurement.c: Likewise.
7317 * locale/programs/ld-messages.c: Likewise.
7318 * locale/programs/ld-monetary.c: Likewise.
7319 * locale/programs/ld-name.c: Likewise.
7320 * locale/programs/ld-numeric.c: Likewise.
7321 * locale/programs/ld-paper.c: Likewise.
7322 * locale/programs/ld-telephone.c: Likewise.
7323 * locale/programs/ld-time.c: Likewise.
7324 * locale/programs/linereader.c: Likewise.
7325 * locale/programs/locale.c: Likewise.
7326 * locale/programs/locarchive.c: Likewise.
7327 * locale/programs/locfile.h: Likewise.
7328 * locale/programs/repertoire.c: Likewise.
7329 * locale/programs/simple-hash.c: Likewise.
7330 * locale/programs/simple-hash.h: Likewise.
7331 * malloc/memusage.c: Likewise.
7332 * malloc/memusagestat.c: Likewise.
7333 * nis/nis_defaults.c: Likewise.
7334 * nis/nis_hash.c: Likewise.
7335 * nis/nis_print.c: Likewise.
7336 * nis/nis_xdr.c: Likewise.
7337 * nscd/connections.c: Likewise.
7338 * nscd/hstcache.c: Likewise.
7339 * nscd/nscd_gethst_r.c: Likewise.
7340 * nscd/nscd_getserv_r.c: Likewise.
7341 * nscd/nscd_helper.c: Likewise.
7342 * nscd/servicescache.c: Likewise.
7343 * nss/makedb.c: Likewise.
7344 * nss/nss_db/db-XXX.c: Likewise.
7345 * nss/nss_db/db-initgroups.c: Likewise.
7346 * nss/nss_db/db-netgrp.c: Likewise.
7347 * nss/nss_files/files-network.c: Likewise.
7348 * nss/nss_files/files-parse.c: Likewise.
7349 * posix/bug-regex5.c: Likewise.
7350 * posix/fnmatch_loop.c: Likewise.
7351 * posix/regcomp.c: Likewise.
7352 * posix/regexec.c: Likewise.
7353 * posix/tst-rfc3484-2.c: Likewise.
7354 * posix/tst-rfc3484-3.c: Likewise.
7355 * posix/tst-rfc3484.c: Likewise.
7356 * resolv/nss_dns/dns-canon.c: Likewise.
7357 * resolv/nss_dns/dns-network.c: Likewise.
7358 * resolv/res_init.c: Likewise.
7359 * resolv/res_mkquery.c: Likewise.
7360 * resolv/tst-aton.c: Likewise.
7361 * stdlib/cxa_atexit.c: Likewise.
7362 * stdlib/cxa_finalize.c: Likewise.
7363 * stdlib/gen-fpioconst.c: Likewise.
7364 * stdlib/strtol_l.c: Likewise.
7365 * string/tst-endian.c: Likewise.
7366 * sunrpc/auth_des.c: Likewise.
7367 * sunrpc/clnt_udp.c: Likewise.
7368 * sunrpc/rtime.c: Likewise.
7369 * sunrpc/svcauth_des.c: Likewise.
7370 * sunrpc/xdr.c: Likewise.
7371 * sunrpc/xdr_intXX_t.c: Likewise.
7372 * sunrpc/xdr_rec.c: Likewise.
7373 * sysdeps/generic/ldconfig.h: Likewise.
7374 * sysdeps/generic/ldsodefs.h: Likewise.
7375 * sysdeps/generic/memusage.h: Likewise.
7376 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7377 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7378 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7379 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7380 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7381 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7382 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7383 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7384 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7385 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7386 * sysdeps/posix/getaddrinfo.c: Likewise.
7387 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7388 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7389 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7390 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7391 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7392 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7393 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7394 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7395 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7396 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7397 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7398 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7399 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7400 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7401 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7402 * sysdeps/x86_64/dl-tls.h: Likewise.
7403 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7404 * time/alt_digit.c: Likewise.
7405 * time/era.c: Likewise.
7406 * wcsmbs/tst-c16c32-1.c: Likewise.
7407
8c75f674
JM
74082013-05-16 Joseph Myers <joseph@codesourcery.com>
7409
7410 * math/libm-test.inc (struct test_sincos_data): New type.
7411 (RUN_TEST_LOOP_sincos): New macro.
7412 (sincos_test_data): New variable.
7413 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7414
e6e49e59
RH
74152013-05-16 Richard Henderson <rth@redhat.com>
7416
7417 * math/atest-exp2.c (LIMB64): New macro.
7418 (CONSTSZ): New macro.
7419 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7420 (hexdig): Move ...
7421 (print_mpn_fp): ... to function scope.
7422 (read_mpn_hex): Remove.
7423 (get_log2): Remove.
7424 (exp2_mpn): Use mp_log2.
7425 (main): Use mp_exp1.
7426
15c7c18d
JM
74272013-05-16 Joseph Myers <joseph@codesourcery.com>
7428
105a07df
JM
7429 * math/libm-test.inc: Remove comment about not testing "inexact"
7430 exceptions.
7431 (INEXACT_EXCEPTION): New macro.
7432 (NO_INEXACT_EXCEPTION): Likewise.
7433 (INVALID_EXCEPTION_OK): Update value.
7434 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7435 (OVERFLOW_EXCEPTION_OK): Likewise.
7436 (UNDERFLOW_EXCEPTION_OK): Likewise.
7437 (IGNORE_ZERO_INF_SIGN): Likewise.
7438 (ERRNO_UNCHANGED): Likewise.
7439 (ERRNO_EDOM): Likewise.
7440 (ERRNO_ERANGE): Likewise.
7441 (test_exceptions): Handle testing "inexact" exceptions.
7442 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7443 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7444 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7445 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7446 INEXACT_EXCEPTION.
7447 (rint_towardzero_test_data): Likewise.
7448 (rint_downward_test_data): Likewise.
7449 (rint_upward_test_data): Likewise.
7450
e9eee333
JM
7451 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7452 with OVERFLOW_EXCEPTION.
7453 (exp10_test_data): Likewise.
7454 (exp2_test_data): Likewise.
7455 (expm1_test_data): Likewise.
7456 (lgamma_test_data): Likewise.
7457 (pow_test_data): Likewise.
7458 (tgamma_test_data): Likewise.
7459 (yn_test_data): Remove duplicate test of overflow.
7460
1c38ff73
JM
7461 * math/libm-test.inc (struct test_cc_c_data): New type.
7462 (RUN_TEST_LOOP_cc_c): New macro.
7463 (cpow_test_data): New variable.
7464 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7465
15c7c18d
JM
7466 * math/libm-test.inc (struct test_f_L_data): New type.
7467 (RUN_TEST_LOOP_f_L): New macro.
7468 (llrint_test_data): New variable.
7469 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7470 (llrint_tonearest_test_data): New variable.
7471 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7472 (llrint_towardzero_test_data): New variable.
7473 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7474 (llrint_downward_test_data): New variable.
7475 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7476 (llrint_upward_test_data): New variable.
7477 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7478 (llround_test_data): New variable.
7479 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7480
f137ff13
PC
74812013-05-13 Peter Collingbourne <pcc@google.com>
7482
7483 * math/atest-exp2.c (get_log2): Remove const attribute.
7484
3608cb24
JM
74852013-05-15 Joseph Myers <joseph@codesourcery.com>
7486
7487 * math/libm-test.inc (struct test_f_l_data): New type.
7488 (RUN_TEST_LOOP_f_l): New macro.
7489 (lrint_test_data): New variable.
7490 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7491 (lrint_tonearest_test_data): New variable.
7492 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7493 (lrint_towardzero_test_data): New variable.
7494 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7495 (lrint_downward_test_data): New variable.
7496 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7497 (lrint_upward_test_data): New variable.
7498 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7499 (lround_test_data): New variable.
7500 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7501
39b1f617
PC
75022013-05-15 Peter Collingbourne <pcc@google.com>
7503
1deff3dc
PC
7504 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7505 (EXTRACT_WORDS64) Use where appropriate.
7506 (INSERT_WORDS64) Likewise.
7507
791f3ba0
PC
7508 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7509 constraints with x constraints.
7510 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7511
39b1f617
PC
7512 * malloc/obstack.c (_obstack_compat): Add initializer.
7513
12fba011
EM
75142013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7515
7516 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7517 si_trapno and add si_addr_lsb to _sifields.sigfault.
7518 (si_trapno): Remove macro.
7519 (si_addr_lsb): Define new macro.
7520 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7521
d369f531
JM
75222013-05-15 Joseph Myers <joseph@codesourcery.com>
7523
b861c6c4
JM
7524 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7525 instead of TEST_f_l.
7526 (llrint_test_tonearest): Likewise.
7527 (llrint_test_towardzero): Likewise.
7528 (llrint_test_downward): Likewise.
7529 (llrint_test_upward): Likewise.
7530 (llround_test): Likewise.
7531
7abeee12
JM
7532 * math/libm-test.inc (struct test_f_i_data): Add comment.
7533 (RUN_TEST_LOOP_f_b): New macro.
7534 (RUN_TEST_LOOP_f_b_tg): Likewise.
7535 (finite_test_data): New variable.
7536 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7537 (isfinite_test_data): New variable.
7538 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7539 (isinf_test_data): New variable.
7540 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7541 (isnan_test_data): New variable.
7542 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7543 (isnormal_test_data): New variable.
7544 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7545 (issignaling_test_data): New variable.
7546 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7547 (signbit_test_data): New variable.
7548 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7549
cbe8c4d3
JM
7550 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7551 with INVALID_EXCEPTION.
7552 (acosh_test_data): Likewise.
7553 (asin_test_data): Likewise.
7554 (atanh_test_data): Likewise.
7555 (fmod_test_data): Likewise.
7556 (log_test_data): Likewise.
7557 (log10_test_data): Likewise.
7558 (log2_test_data): Likewise.
7559 (pow_test_data): Likewise.
7560 (sqrt_test_data): Likewise.
7561 (y0_test_data): Likewise.
7562 (y1_test_data): Likewise.
7563 (yn_test_data): Likewise.
7564
5575c0e5
JM
7565 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7566 function contents.
7567
d369f531
JM
7568 * math/libm-test.inc (struct test_ff_i_data): New type.
7569 (RUN_TEST_LOOP_ff_i_tg): New macro.
7570 (isgreater_test_data): New variable.
7571 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7572 (isgreaterequal_test_data): New variable.
7573 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7574 (isless_test_data): New variable.
7575 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7576 (islessequal_test_data): New variable.
7577 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7578 (islessgreater_test_data): New variable.
7579 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7580 (isunordered_test_data): New variable.
7581 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7582
781fd748
DM
75832013-05-14 David S. Miller <davem@davemloft.net>
7584
7585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7586
87aa21df
JM
75872013-05-14 Joseph Myers <joseph@codesourcery.com>
7588
5e908270
JM
7589 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7590
f71172e5
JM
7591 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7592 extra_test to int.
7593 (struct test_f_i_data): Change type of max_ulp to int.
7594
8cfa635a
JM
7595 * math/libm-test.inc (test_ffI_f1_data): New type.
7596 (RUN_TEST_LOOP_ffI_f1): New macro.
7597 (remquo_test_data): New variable.
7598 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7599
2bcb36b2
JM
7600 * setjmp/tst-setjmp-fp.c: New file.
7601 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7602 (link-libm): New variable.
7603 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7604
acbd839a
JM
7605 * math/libm-test.inc (struct test_f_i_data): New type.
7606 (RUN_TEST_LOOP_f_i): New macro.
7607 (RUN_TEST_LOOP_f_i_tg): Likewise.
7608 (fpclassify_test_data): New variable.
7609 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7610 (ilogb_test_data): New variable.
7611 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7612
e414d745
JM
7613 * math/libm-test.inc (scalbln_test): Correct function name in END
7614 call.
7615
d9c2a0fd
JM
7616 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7617 (RUN_TEST_LOOP_fI_f1): New macro.
7618 (frexp_test_data): New variable.
7619 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7620
9dc9095d
JM
7621 * math/libm-test.inc (struct test_fF_f1_data): New type.
7622 (RUN_TEST_LOOP_fF_f1): New macro.
7623 (modf_test_data): New variable.
7624 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7625
87aa21df
JM
7626 * math/libm-test.inc (struct test_f_f1_data): New type.
7627 (RUN_TEST_LOOP_f_f1): New macro.
7628 (gamma_test_data): New variable.
7629 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7630 (lgamma_test_data): New variable.
7631 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7632
141af660
CD
76332013-05-13 Carlos O'Donell <carlos@redhat.com>
7634
7635 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7636 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7637 (main): Comment "tls" pseudo-hwcap.
7638
6d33265c
JM
76392013-05-13 Joseph Myers <joseph@codesourcery.com>
7640
68fc074c
JM
7641 * math/libm-test.inc (struct test_fl_f_data): New type.
7642 (RUN_TEST_LOOP_fl_f): New variable.
7643 (scalbln_test_data): New variable.
7644 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7645
243216e1
JM
7646 * math/libm-test.inc (struct test_fi_f_data): New type.
7647 (RUN_TEST_LOOP_fi_f): New macro.
7648 (ldexp_test_data): New variable.
7649 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7650 (scalbn_test_data): New variable.
7651 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7652
6a1992e2
JM
7653 * math/libm-test.inc (struct test_c_f_data): New type.
7654 (RUN_TEST_LOOP_c_f): New macro.
7655 (cabs_test_data): New variable.
7656 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7657 (carg_test_data): New variable.
7658 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7659 (cimag_test_data): New variable.
7660 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7661 (creal_test_data): New variable.
7662 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7663
0e400df5
JM
7664 * math/libm-test.inc (struct test_if_f_data): New type.
7665 (RUN_TEST_LOOP_if_f): New macro.
7666 (jn_test_data): New variable.
7667 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7668 (yn_test_data): New variable.
7669 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7670
6d33265c
JM
7671 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7672
f98ece5f
AZ
76732013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7674
7675 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7676 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7677
0f7d347b
SP
76782013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7679
43fe811b
SP
7680 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7681 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7682 (bench-deps): Add bench-timing.h.
7683 * benchtests-bench-skeleton.c: Include bench-timing.h.
7684 (main): Use TIMING_* macros instead of clock_gettime.
7685 * benchtests/bench-timing.h: New file.
7686
0f7d347b
SP
7687 [BZ #14582]
7688 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7689 Renamed from _LIB_VERSION.
7690 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7691
601a3a5f
JM
76922013-05-12 Joseph Myers <joseph@codesourcery.com>
7693
4f184d30
JM
7694 * math/libm-test.inc (struct test_fff_f_data): New type.
7695 (RUN_TEST_LOOP_fff_f): New macro.
7696 (fma_test_data): New variable.
7697 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7698 (fma_towardzero_test_data): New variable.
7699 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7700 (fma_downward_test_data): New variable.
7701 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7702 (fma_upward_test_data): New variable.
7703 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7704
08198877
JM
7705 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7706 (struct test_c_c_data): New type.
7707 (RUN_TEST_LOOP_c_c): New macro.
7708 (cacos_test_data): New variable.
7709 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7710 (cacosh_test_data): New variable.
7711 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7712 (casin_test_data): New variable.
7713 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7714 (casinh_test_data): New variable.
7715 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7716 (catan_test_data): New variable.
7717 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7718 (catanh_test_data): New variable.
7719 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7720 (ccos_test_data): New variable.
7721 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7722 (ccosh_test_data): New variable.
7723 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7724 (cexp_test_data): New variable.
7725 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7726 (clog_test_data): New variable.
7727 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7728 (clog10_test_data): New variable.
7729 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7730 (conj_test_data): New variable.
7731 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7732 (cproj_test_data): New variable.
7733 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7734 (csin_test_data): New variable.
7735 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7736 (csinh_test_data): New variable.
7737 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7738 (csqrt_test_data): New variable.
7739 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7740 (ctan_test_data): New variable.
7741 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7742 (ctan_tonearest_test_data): New variable.
7743 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7744 (ctan_towardzero_test_data): New variable.
7745 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7746 (ctan_downward_test_data): New variable.
7747 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7748 (ctan_upward_test_data): New variable.
7749 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7750 (ctanh_test_data): New variable.
7751 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7752 (ctanh_tonearest_test_data): New variable.
7753 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7754 (ctanh_towardzero_test_data): New variable.
7755 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7756 (ctanh_downward_test_data): New variable.
7757 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7758 (ctanh_upward_test_data): New variable.
7759 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7760 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7761 of BUILD_COMPLEX.
7762
601a3a5f
JM
7763 * math/libm-test.inc (struct test_ff_f_data): New type.
7764 (struct test_ff_f_data_nexttoward): Likewise.
7765 (RUN_TEST_LOOP_2_f): New macro.
7766 (RUN_TEST_LOOP_ff_f): Likewise.
7767 (atan2_test_data): New variable.
7768 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7769 (copysign_test_data): New variable.
7770 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7771 (fdim_test_data): New variable.
7772 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7773 (fmax_test_data): New variable.
7774 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7775 (fmin_test_data): New variable.
7776 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7777 (fmod_test_data): New variable.
7778 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7779 (hypot_test_data): New variable.
7780 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7781 (nextafter_test_data): New variable.
7782 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7783 (nexttoward_test_data): New variable.
7784 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7785 (pow_test_data): New variable.
7786 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7787 (pow_tonearest_test_data): New variable.
7788 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7789 (pow_towardzero_test_data): New variable.
7790 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7791 (pow_downward_test_data): New variable.
7792 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7793 (pow_upward_test_data): New variable.
7794 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7795 (remainder_test_data): New variable.
7796 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7797 (scalb_test_data): New variable.
7798 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7799 * sysdeps/i386/fpu/libm-test-ulps: Update.
7800
74c57478
JM
78012013-05-11 Joseph Myers <joseph@codesourcery.com>
7802
8329e4da
JM
7803 * math/libm-test.inc (fma_test): Use max_value instead of local
7804 variable fltmax.
7805 (nextafter_test): Likewise.
7806
74c57478
JM
7807 * math/libm-test.inc (acos_towardzero_test_data): New variable.
7808 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7809 (acos_downward_test_data): New variable.
7810 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7811 (acos_upward_test_data): New variable.
7812 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7813 (acosh_test_data): New variable.
7814 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7815 (asin_test_data): New variable.
7816 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7817 (asin_tonearest_test_data): New variable.
7818 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7819 (asin_towardzero_test_data): New variable.
7820 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7821 (asin_downward_test_data): New variable.
7822 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7823 (asin_upward_test_data): New variable.
7824 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7825 (asinh_test_data): New variable.
7826 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7827 (atan_test_data): New variable.
7828 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7829 (atanh_test_data): New variable.
7830 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7831 (cbrt_test_data): New variable.
7832 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7833 (ceil_test_data): New variable.
7834 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7835 (cos_test_data): New variable.
7836 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7837 (cos_tonearest_test_data): New variable.
7838 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7839 (cos_towardzero_test_data): New variable.
7840 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7841 (cos_downward_test_data): New variable.
7842 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7843 (cos_upward_test_data): New variable.
7844 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7845 (cosh_test_data): New variable.
7846 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7847 (cosh_tonearest_test_data): New variable.
7848 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7849 (cosh_towardzero_test_data): New variable.
7850 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7851 (cosh_downward_test_data): New variable.
7852 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7853 (cosh_upward_test_data): New variable.
7854 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7855 (erf_test_data): New variable.
7856 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7857 (erfc_test_data): New variable.
7858 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7859 (exp_test_data): New variable.
7860 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7861 (exp_tonearest_test_data): New variable.
7862 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7863 (exp_towardzero_test_data): New variable.
7864 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7865 (exp_downward_test_data): New variable.
7866 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7867 (exp_upward_test_data): New variable.
7868 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7869 (exp10_test_data): New variable.
7870 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7871 (exp2_test_data): New variable.
7872 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7873 (expm1_test_data): New variable.
7874 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7875 (fabs_test_data): New variable.
7876 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7877 (floor_test_data): New variable.
7878 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7879 (j0_test_data): New variable.
7880 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7881 (j1_test_data): New variable.
7882 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7883 (log_test_data): New variable.
7884 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7885 (log10_test_data): New variable.
7886 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7887 (log1p_test_data): New variable.
7888 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7889 (log2_test_data): New variable.
7890 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7891 (logb_test_data): New variable.
7892 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7893 (logb_downward_test_data): New variable.
7894 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7895 (nearbyint_test_data): New variable.
7896 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7897 (rint_test_data): New variable.
7898 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7899 (rint_tonearest_test_data): New variable.
7900 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7901 (rint_towardzero_test_data): New variable.
7902 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7903 (rint_downward_test_data): New variable.
7904 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7905 (rint_upward_test_data): New variable.
7906 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7907 (round_test_data): New variable.
7908 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7909 (sin_test_data): New variable.
7910 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7911 (sin_tonearest_test_data): New variable.
7912 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7913 (sin_towardzero_test_data): New variable.
7914 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7915 (sin_downward_test_data): New variable.
7916 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7917 (sin_upward_test_data): New variable.
7918 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7919 (sinh_test_data): New variable.
7920 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7921 (sinh_tonearest_test_data): New variable.
7922 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7923 (sinh_towardzero_test_data): New variable.
7924 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7925 (sinh_downward_test_data): New variable.
7926 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7927 (sinh_upward_test_data): New variable.
7928 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7929 (sqrt_test_data): New variable.
7930 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7931 (tan_test_data): New variable.
7932 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7933 (tan_tonearest_test_data): New variable.
7934 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7935 (tan_towardzero_test_data): New variable.
7936 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7937 (tan_downward_test_data): New variable.
7938 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7939 (tan_upward_test_data): New variable.
7940 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7941 (tanh_test_data): New variable.
7942 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7943 (tgamma_test_data): New variable.
7944 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7945 (trunc_test_data): New variable.
7946 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7947 (y0_test_data): New variable.
7948 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7949 (y1_test_data): New variable.
7950 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7951 (significand_test_data): New variable.
7952 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7953
7187d844
CG
79542013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7955
7956 [BZ #12387]
7957 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7958
f63fae73
PT
79592013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7960
7961 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7962
8a67a4b3
AJ
79632013-05-10 Andreas Jaeger <aj@suse.de>
7964
7965 [BZ #15448]
7966 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7967 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7968
51df539d
JM
79692013-05-10 Joseph Myers <joseph@codesourcery.com>
7970
7971 * math/gen-libm-test.pl (adjust_arg): New function.
7972 (special_functions): Handle generating output in both functions
7973 and arrays.
7974 (parse_args): Likewise.
7975 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7976 $in_func argument to parse_args.
7977 * math/libm-test.inc (struct test_f_f_data): New type.
7978 (IF_ROUND_INIT_): New macro.
7979 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7980 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7981 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7982 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7983 (ROUND_RESTORE_): Likewise.
7984 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7985 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7986 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7987 (ROUND_RESTORE_FE_UPWARD): Likewise.
7988 (RUN_TEST_LOOP_f_f): New macro.
7989 (acos_test_data): New variable.
7990 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7991 (acos_tonearest_test_data): New variable.
7992 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7993
5c637fe5
SP
79942013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7995
7996 * benchtests/bench-skeleton.c (startup): Fix coding style.
7997
ab2b9461
JM
79982013-05-10 Joseph Myers <joseph@codesourcery.com>
7999
8000 [BZ #6809]
8001 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8002 negative infinity argument.
8003 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8004 negative infinity argument.
8005 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8006 negative infinity argument.
8007 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8008 domain errors.
8009
4c0fe6fe
FW
80102013-05-10 Florian Weimer <fweimer@redhat.com>
8011
8012 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8013 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8014 * iconv/iconv_prog.c (main): Likewise.
8015 * locale/programs/charmap-dir.c (charmap_readdir)
8016 (fopen_uncompressed): Likewise.
8017 * locale/programs/locfile.c (siblings_uncached)
8018 (write_locale_data): Use lstat64 instead of lstat.
8019 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8020 stat.
8021
a3375d29
AJ
80222013-05-10 Andreas Jaeger <aj@suse.de>
8023
8024 [BZ #15395]
8025 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8026 localization.
8027 Include <locale.h>.
8028
36129722
CD
80292013-05-09 Carlos O'Donell <carlos@redhat.com>
8030
8031 * elf/dl-close.c (_dl_close_worker): Add comments.
8032
faa7f811
JM
80332013-05-09 Joseph Myers <joseph@codesourcery.com>
8034
ed41ffef
JM
8035 [BZ #15359]
8036 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8037 high part of pi/2.
8038 (__ieee754_rem_pio2l): Update comments.
8039
d0213cd0
JM
8040 [BZ #15429]
8041 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8042 high part of pi/2.
8043 (__ieee754_rem_pio2l): Update comments.
8044
0d3e777a
JM
8045 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8046 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8047
24f56066
JM
8048 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8049 M_PI_4l.
8050
faa7f811
JM
8051 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8052 (M_PI_34_LOG10El): Likewise.
8053 (M_PI2_LOG10El): Likewise.
8054 (M_PI4_LOG10El): Likewise.
8055 (M_PI_LOG10El): Likewise.
8056
e9a5e0fd
AZ
80572013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8058
8059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8060
d8cd06db
JM
80612013-05-08 Joseph Myers <joseph@codesourcery.com>
8062
a0d9f9d7
JM
8063 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8064 (MINUS_ZERO_INIT): Likewise.
8065 (PLUS_INFTY_INIT): Likewise.
8066 (MINUS_INFTY_INIT): Likewise.
8067 (QNAN_VALUE_INIT): Likewise.
8068 (MAX_VALUE_INIT): Likewise.
8069 (MIN_VALUE_INIT): Likewise.
8070 (MIN_SUBNORM_VALUE_INIT): Likewise.
8071 (plus_zero): Initialize with PLUS_ZERO_INIT.
8072 (minus_zero): Initialize with MINUS_ZERO_INIT.
8073 (plus_infty): Initialize with PLUS_INFTY_INIT.
8074 (minus_infty): Initialize with MINUS_INFTY_INIT.
8075 (qnan_value): Initialize with QNAN_VALUE_INIT.
8076 (max_value): Initialize with MAX_VALUE_INIT.
8077 (min_value): Initialize with MIN_VALUE_INIT.
8078 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8079
ae08db3b
JM
8080 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8081 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8082 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8083 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8084
f44bf14a
JM
8085 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8086 (RUN_TEST_2_f): Likewise.
8087 (RUN_TEST_ff_f): Likewise.
8088 (RUN_TEST_fi_f): Likewise.
8089 (RUN_TEST_fl_f): Likewise.
8090 (RUN_TEST_fff_f): Likewise.
8091 (RUN_TEST_c_f): Likewise.
8092 (RUN_TEST_f_f1): Likewise.
8093 (RUN_TEST_fF_f1): Likewise.
8094 (RUN_TEST_fI_f1): Likewise.
8095 (RUN_TEST_ffI_f1): Likewise.
8096 (RUN_TEST_c_c): Likewise.
8097 (RUN_TEST_cc_c): Likewise.
8098 (RUN_TEST_f_i): Likewise.
8099 (RUN_TEST_f_i_tg): Likewise.
8100 (RUN_TEST_ff_i_tg): Likewise.
8101 (RUN_TEST_f_b): Likewise.
8102 (RUN_TEST_f_b_tg): Likewise.
8103 (RUN_TEST_f_l): Likewise.
8104 (RUN_TEST_f_L): Likewise.
8105 (RUN_TEST_sincos): Likewise.
8106 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8107 whether to show exceptions. Do not include ");\n" in return
8108 value.
8109 (special_functions): Output call to RUN_TEST_sincos instead of
8110 check_float calls. Update calls to new_test.
8111 (parse_args): Output call to single RUN_TEST_* macro instead of
8112 check_* calls and other assignments. Update calls to new_test.
8113
d8cd06db
JM
8114 [BZ #2546]
8115 [BZ #2560]
8116 [BZ #5159]
8117 [BZ #15426]
8118 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8119 input to result for tgamma overflow.
8120 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8121 (gamma_coeff): New variable.
8122 (NCOEFF): New macro.
8123 (gamma_positive): New function.
8124 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8125 underflow here. Use gamma_positive instead of exp (lgamma) for
8126 other arguments.
8127 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8128 (gamma_coeff): New variable.
8129 (NCOEFF): New macro.
8130 (gammaf_positive): New function.
8131 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8132 underflow here. Use gamma_positive instead of exp (lgamma) for
8133 other arguments.
8134 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8135 (gamma_coeff): New variable.
8136 (NCOEFF): New macro.
8137 (gammal_positive): New function.
8138 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8139 underflow here. Use gamma_positive instead of exp (lgamma) for
8140 other arguments.
8141 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8142 (gamma_coeff): New variable.
8143 (NCOEFF): New macro.
8144 (gammal_positive): New function.
8145 (__ieee754_gammal_r): Handle positive infinity, overflow and
8146 underflow here. Handle NaN the same as positive infinity. Remove
8147 check x < 0xffffffff for negative integers. Use gamma_positive
8148 instead of exp (lgamma) for other arguments.
8149 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8150 (gamma_coeff): New variable.
8151 (NCOEFF): New macro.
8152 (gammal_positive): New function.
8153 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8154 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8155 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8156 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8157 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8158 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8159 * sysdeps/generic/math_private.h (__gamma_productf): New
8160 prototype.
8161 (__gamma_product): Likewise.
8162 (__gamma_productl): Likewise.
8163 * math/Makefile (libm-calls): Add gamma_product.
8164 * math/libm-test.inc (tgamma_test): Add more tests.
8165 * sysdeps/i386/fpu/libm-test-ulps: Update.
8166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8167
bb7cf681
OB
81682013-05-08 Ondřej Bílka <neleai@seznam.cz>
8169
8170 * benchtests/bench-skeleton.c (main): Preheat CPU.
8171
ba853947
AJ
81722013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8173
8174 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8175
8347c74c
RM
81762013-05-07 Roland McGrath <roland@hack.frob.com>
8177
8178 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8179 and _dl_skip_args_internal.
8180
e8dd4791
CD
81812013-05-07 Carlos O'Donell <carlos@redhat.com>
8182
8183 * manual/message.texi (Message Translation): Talk about users.
8184 Message to key mapping impacts design.
8185
c7405830
RM
81862013-05-06 Roland McGrath <roland@hack.frob.com>
8187
a9173057
RM
8188 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8189
976e2f03
RM
8190 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8191
9723ffc5
RM
8192 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8193 * sysdeps/wordsize-64/glob64.c: ... here.
8194
962e6658
RM
8195 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8196 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8197 New macros.
8198
ee586a6d
RM
8199 * debug/getlogin_r_chk.c: Moved to ...
8200 * login/getlogin_r_chk.c: ... here.
8201 * debug/Makefile (routines): Move getlogin_r_chk to ...
8202 * login/Makefile (routines): ... here.
8203 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8204 * login/Versions (libc: GLIBC_2.4): ... here.
8205
355f9165
RM
8206 * io/poll.c (__poll): Renamed from poll.
8207 Add libc_hidden_def.
8208 (poll): Define as weak alias.
8209
bd9ffde6
RM
8210 * debug/ptsname_r_chk.c: Moved to ...
8211 * login/ptsname_r_chk.c: ... here.
8212 * debug/Makefile (routines): Move ptsname_r_chk to ...
8213 * login/Makefile (routines): ... here.
8214 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8215 * login/Versions (libc: GLIBC_2.4): ... here.
8216
8fb16a04
RM
8217 * posix/getlogin.c: Moved to ...
8218 * login/getlogin.c: ... here.
8219 * posix/getlogin_r.c: Moved to ...
8220 * login/getlogin_r.c: ... here.
8221 * posix/getlogin_r.c: Moved to ...
8222 * login/getlogin_r.c: ... here.
8223 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8224 * login/Makefile (routines): ... here.
8225 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8226 * login/Versions (libc: GLIBC_2.0): ... here.
8227
b99b892f
RM
8228 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8229 (setrlimit): Define as weak alias.
8230
c7405830
RM
8231 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8232 Call __ names for open, ftruncate, and close.
8233 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8234 (truncate): Define as weak alias.
8235
5bf96de5
JM
82362013-05-06 Joseph Myers <joseph@codesourcery.com>
8237
9ea3513c
JM
8238 * math/gen-libm-test.pl (parse_args): Initialize x before each
8239 test of frexp, modf and remquo.
8240
5bf96de5
JM
8241 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8242 test signgam value.
8243
16e616a7
AZ
82442013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8245
8246 [BZ #15418]
8247 [BZ #15419]
8248 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8249 internal tests.
8250 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8251
d5e82754
RM
82522013-05-06 Roland McGrath <roland@hack.frob.com>
8253
8254 * elf/dl-writev.h: New file.
8255 * elf/dl-misc.c: Include it.
8256 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8257 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8258
a7548d41
JM
82592013-05-04 Joseph Myers <joseph@codesourcery.com>
8260
b7dab1e4
JM
8261 * math/libm-test.inc (noXFails): Remove variable.
8262 (noXPasses): Likewise.
8263 (BUILD_COMPLEX_INT): Remove macro.
8264 (print_screen): Remove xfail argument.
8265 (print_screen_max_error): Likewise.
8266 (update_stats): Likewise.
8267 (print_max_error): Likewise. Update calls to other affected
8268 functions.
8269 (print_complex_max_error): Likewise.
8270 (test_single_exception): Update calls to print_screen.
8271 (test_single_errno): Likewise.
8272 (check_float_internal): Remove xfail argument. Update calls to
8273 other affected functions.
8274 (check_float): Likewise.
8275 (check_complex): Likewise.
8276 (check_int): Likewise.
8277 (check_long): Likewise.
8278 (check_bool): Likewise.
8279 (check_longlong): Likewise.
8280 (main): Don't print noXFails and noXPasses.
8281 * math/gen-libm-test.pl (top level): Don't mention expected
8282 failure handling in comment.
8283 (new_test): Don't handle expected failures.
8284 (parse_args): Don't mention expected failure handling in comment.
8285 (generate_testfile): Don't handle expected failures.
8286 (parse_ulps): Likewise.
8287 (print_ulps_file): Likewise.
8288 (get_failure): Remove function.
8289 (output_test): Don't handle expected failures.
8290 * make/README.libm-test: Don't mention expected failure handling.
8291
a7548d41
JM
8292 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8293 (minus_zero): Likewise.
8294 (plus_infty): Likewise.
8295 (minus_infty): Likewise.
8296 (qnan_value): Likewise.
8297 (max_value): Likewise.
8298 (min_value): Likewise.
8299 (min_subnorm_value): Likewise.
8300 (initialize): Do not initialize those variables dynamically.
8301
60bfd54c
RM
83022013-05-03 Roland McGrath <roland@hack.frob.com>
8303
cc0e6ed8
RM
8304 * io/open.c (__open_2): Moved to ...
8305 * io/open_2.c: ... this new file.
8306 * io/open64.c (__open64_2): Moved to ...
8307 * io/open64_2.c: ... this new file.
8308 * io/openat.c (__openat_2): Moved to ...
8309 * io/openat_2.c: ... this new file.
8310 * io/openat64.c (__openat64_2): Moved to ...
8311 * io/openat64_2.c: ... this new file.
8312 * io/Makefile (routines): Add them.
8313 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8314 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8315 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8316 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8317 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8318 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8319 (__openat64): Add hidden_ver.
8320 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8321 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8322
60bfd54c
RM
8323 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8324 Separately conditionalize setting of GLRO(dl_sysinfo) so
8325 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8326 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8327
83e7640f
AZ
83282013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8329
8330 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8331 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8332 definition.
8333 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8334 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8335 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8336 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8337 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8338
d5dc2af3
JM
83392013-05-03 Joseph Myers <joseph@codesourcery.com>
8340
c31a5b1e
JM
8341 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8342 test signgam value.
8343
d5dc2af3
JM
8344 * math/libm-test.inc (hypot_test): Do not use
8345 IGNORE_ZERO_INF_SIGN.
8346
164fd39d
AJ
83472013-05-03 Andreas Jaeger <aj@suse.de>
8348
8349 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8350 Linux 3.9.
8351 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8352 (PF_MAX): Adjust for VSOCK change.
8353
8237f48c
AZ
83542013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8355
8356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8357
9df02941
CD
83582013-05-02 Carlos O'Donell <carlos@redhat.com>
8359
8360 [BZ #15264]
8361 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8362 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8363 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8364
d422395e
DM
83652013-05-02 David S. Miller <davem@davemloft.net>
8366
8367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8368
a07c5731
OB
83692013-05-01 Ondřej Bílka <neleai@seznam.cz>
8370
8371 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8372
1324e37f
RM
83732013-05-01 Roland McGrath <roland@hack.frob.com>
8374
8375 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8376
0695940b
RS
83772013-05-01 Richard Smith <richard@metafoo.co.uk>
8378
bb5f27ad 8379 [BZ #14952]
0695940b
RS
8380 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8381 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8382 Use __attribute__ ((__gnu_inline__)).
8383 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8384 Don't use __attribute__ ((__gnu_inline__)).
8385
10de07f5
JM
83862013-05-01 Joseph Myers <joseph@codesourcery.com>
8387
8388 [BZ #15423]
8389 * math/s_catan.c (__catan): Handle small real or imaginary part of
8390 input specially to avoid spurious underflow.
8391 * math/s_catanf.c (__catanf): Likewise.
8392 * math/s_catanh.c (__catanh): Likewise.
8393 * math/s_catanhf.c (__catanhf): Likewise.
8394 * math/s_catanhl.c (__catanhl): Likewise.
8395 * math/s_catanl.c (__catanl): Likewise.
8396 * math/libm-test.inc (catan_test): Add more tests.
8397 (catanh_test): Likewise.
8398 * sysdeps/i386/fpu/libm-test-ulps: Update.
8399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8400
cb4d5414
AZ
84012013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8402
8403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8404
caf84319
JM
84052013-04-30 Joseph Myers <joseph@codesourcery.com>
8406
8407 [BZ #15416]
8408 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8409 accurately for denominator in atan2.
8410 * math/s_catanf.c (__catanf): Likewise.
8411 * math/s_catanh.c (__catanh): Likewise.
8412 * math/s_catanhf.c (__catanhf): Likewise.
8413 * math/s_catanhl.c (__catanhl): Likewise.
8414 * math/s_catanl.c (__catanl): Likewise.
8415 * math/libm-test.inc (catan_test): Add more tests.
8416 (catanh_test): Likewise.
8417 * sysdeps/i386/fpu/libm-test-ulps: Update.
8418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8419
d569c6ee
SP
84202013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8421
6dbe713d
SP
8422 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8423
f0ee064b
SP
8424 * benchtests/Makefile (bench): Remove slow benchmarks.
8425 * benchtests/atan-inputs: Add slow benchmark inputs.
8426 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8427 (BENCH_FUNC): Accept variant offset.
8428 (VARIANT): Define.
8429 * benchtests/bench-skeleton.c (main): Run benchmark for each
8430 variant.
8431 * benchtests/cos-inputs: Add slow benchmark inputs.
8432 * benchtests/exp-inputs: Likewise.
8433 * benchtests/pow-inputs: Likewise.
8434 * benchtests/sin-inputs: Likewise.
8435 * benchtests/slowatan-inputs: Remove.
8436 * benchtests/slowatan.c: Remove.
8437 * benchtests/slowcos-inputs: Remove.
8438 * benchtests/slowcos.c: Remove.
8439 * benchtests/slowexp-inputs: Remove.
8440 * benchtests/slowexp.c: Remove.
8441 * benchtests/slowpow-inputs: Remove.
8442 * benchtests/slowpow.c: Remove.
8443 * benchtests/slowsin-inputs: Remove.
8444 * benchtests/slowsin.c: Remove.
8445 * benchtests/slowtan-inputs: Remove.
8446 * benchtests/slowtan.c: Remove.
8447 * benchtests/tan-inputs: Add slow benchmark inputs.
8448 * scripts/bench.pl: Parse comments and directives.
8449
d569c6ee
SP
8450 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8451 in CPPFLAGS.
8452 ($(objpfx)bench-%.c): Remove *-ITER.
8453 * benchtests/bench-modf.c: Remove definition of ITER.
8454 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8455 (main): Loop for DURATION seconds instead of fixed number of
8456 iterations.
8457 * scripts/bench.pl: Don't expect iterations in parameters.
8458
a6a242fe
RM
84592013-04-29 Roland McGrath <roland@hack.frob.com>
8460
8461 * io/fchdir.c (__fchdir): Renamed from fchdir.
8462 (fchdir): Define as weak alias.
8463
f2da7793
JM
84642013-04-29 Joseph Myers <joseph@codesourcery.com>
8465
8466 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8467 (ERRNO_EDOM): Likewise.
8468 (ERRNO_ERANGE): Likewise.
8469 (noErrnoTests): New variable.
8470 (init_max_error): Set errno to 0.
8471 (test_single_errno): New function.
8472 (test_errno): Likewise.
8473 (check_float_internal): Call test_errno. Set errno to 0.
8474 (check_complex): Refer to errno tests in comment.
8475 (check_int): Call test_errno. Set errno to 0.
8476 (check_long): Likewise.
8477 (check_bool): Likewise.
8478 (check_longlong): Likewise.
8479 (cos_test): Use ERRNO_* flags for errno tests instead of
8480 check_int.
8481 (expm1_test): Likewise.
8482 (fmod_test): Likewise.
8483 (ilogb_test): Likewise.
8484 (lgamma_test): Likewise.
8485 (pow_test): Likewise.
8486 (remainder_test): Likewise.
8487 (sin_test): Likewise.
8488 (tan_test): Likewise.
8489 (yn_test): Likewise.
8490 (initialize): Set errno to 0.
8491 (main): Print number of errno tests.
8492 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8493
b1a36ceb
AJ
84942013-04-29 Andreas Jaeger <aj@suse.de>
8495
c3ed8088
AJ
8496 [BZ #15084]
8497 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8498 and RES_USEVC.
8499
f1a24198
AJ
8500 [BZ #15085]
8501 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8502 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8503 unimplemented.
8504
9ce3b2cb
AJ
8505 [BZ #15380]
8506 * stdlib/random.c (__initstate): Return NULL if
8507 __initstate fails.
8508
f1a24198 8509 [BZ #15086]
b1a36ceb
AJ
8510 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8511 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8512 RES_SNGLKUPREOP.
8513
7e7b6f36
AZ
85142013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8515
8516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8517
4d14f449
JM
85182013-04-29 Joseph Myers <joseph@codesourcery.com>
8519
8520 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8521 of individual tests.
8522 (casin_test): Likewise.
8523 (casinh_test): Likewise.
8524
5b4217d7
JM
85252013-04-27 Joseph Myers <joseph@codesourcery.com>
8526
8527 [BZ #15409]
8528 * math/s_catan.c (__catan): Handle arguments with large real or
8529 imaginary part separately without squaring.
8530 * math/s_catanf.c (__catanf): Likewise.
8531 * math/s_catanh.c (__catanh): Likewise.
8532 * math/s_catanhf.c (__catanhf): Likewise.
8533 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8534 and redefine.
8535 (__catanhl): Handle arguments with large real or imaginary part
8536 separately without squaring.
8537 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8538 and redefine.
8539 (__catanl): Handle arguments with large real or imaginary part
8540 separately without squaring.
8541 * math/libm-test.inc (catan_test): Add more tests.
8542 (catanh_test): Likewise.
8543 * sysdeps/i386/fpu/libm-test-ulps: Update.
8544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8545
4220c3ef
AJ
85462013-04-27 Andreas Jaeger <aj@suse.de>
8547
8548 [BZ #15007]
8549 * stdlib/stdlib.h: Update guards for qecvt.
8550 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8551 <stdlib.h>.
8552
4721b2d1
AM
85532013-04-27 Allan McRae <allan@archlinux.org>
8554
8555 * sysdeps/i386/fpu/libm-test-ulps: Update.
8556
f0302940
JM
85572013-04-26 Joseph Myers <joseph@codesourcery.com>
8558
9457fd95
JM
8559 [BZ #15406]
8560 * math/s_catan.c: Include <float.h>.
8561 (__catan): Ensure underflow exception occurs for underflowed
8562 result.
8563 * math/s_catanf.c: Include <float.h>.
8564 (__catanf): Ensure underflow exception occurs for underflowed
8565 result.
8566 * math/s_catanh.c: Include <float.h>.
8567 (__catanh): Ensure underflow exception occurs for underflowed
8568 result.
8569 * math/s_catanhf.c: Include <float.h>.
8570 (__catanhf): Ensure underflow exception occurs for underflowed
8571 result.
8572 * math/s_catanhl.c: Include <float.h>.
8573 (__catanhl): Ensure underflow exception occurs for underflowed
8574 result.
8575 * math/s_catanl.c: Include <float.h>.
8576 (__catanl): Ensure underflow exception occurs for underflowed
8577 result.
8578 * math/libm-test.inc (catan_test): Add more tests.
8579 (catanh_test): Likewise.
8580
f0302940
JM
8581 [BZ #15405]
8582 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8583 underflowed result.
8584 * math/s_ccoshf.c (__ccoshf): Likewise.
8585 * math/s_ccoshl.c (__ccoshl): Likewise.
8586 * math/s_csin.c (__csin): Likewise.
8587 * math/s_csinf.c (__csinf): Likewise.
8588 * math/s_csinh.c (__csinh): Likewise.
8589 * math/s_csinhf.c (__csinhf): Likewise.
8590 * math/s_csinhl.c (__csinhl): Likewise.
8591 * math/s_csinl.c (__csinl): Likewise.
8592 * math/libm-test.inc (ccos_test): Add more tests.
8593 (ccosh_test): Likewise.
8594 (csin_test): Likewise.
8595 (csinh_test): Likewise.
8596
aa630f59
AZ
85972013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8598
8599 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8600 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8601 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8602 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8603 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8604 powerpc/power5+/fpu folders.
8605 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8606
8607
1b835983
MT
86082013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8609
8610 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8611
73709b26
JM
86122013-04-25 Joseph Myers <joseph@codesourcery.com>
8613
8614 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8615 additions to variable.
8616 [$(config-machine) = x86_64] (modules-names): Likewise.
8617 ($(objpfx)tst-audit3): Remove dependency.
8618 ($(objpfx)tst-audit3.out): Likewise.
8619 ($(objpfx)tst-audit4): Likewise.
8620 ($(objpfx)tst-audit4.out): Likewise.
8621 ($(objpfx)tst-audit5): Likewise.
8622 ($(objpfx)tst-audit5.out): Likewise.
8623 ($(objpfx)tst-audit6): Likewise.
8624 ($(objpfx)tst-audit6.out): Likewise.
8625 ($(objpfx)tst-audit7): Likewise.
8626 ($(objpfx)tst-audit7.out): Likewise.
8627 (tst-audit3-ENV): Remove variable.
8628 (tst-audit4-ENV): Likewise.
8629 (tst-audit5-ENV): Likewise.
8630 (tst-audit6-ENV): Likewise.
8631 (tst-audit7-ENV): Likewise.
8632 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8633 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8634 addition to variable.
8635 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8636 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8637 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8638 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8639 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8640 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8641 tst-audit3, tst-audit4 and tst-audit5.
8642 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8643 tst-audit6 and tst-audit7.
8644 [$(subdir) = elf] (modules-names): Add audit modules for those
8645 tests.
8646 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8647 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8648 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8649 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8650 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8651 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8652 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8653 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8654 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8655 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8656 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8657 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8658 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8659 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8660 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8661 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8662 Likewise.
8663 [$(subdir) = elf && $(config-cflags-avx) = yes]
8664 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8665 [$(subdir) = elf && $(config-cflags-avx) = yes]
8666 (CFLAGS-tst-auditmod4a.c): Likewise.
8667 [$(subdir) = elf && $(config-cflags-avx) = yes]
8668 (CFLAGS-tst-auditmod4b.c): Likewise.
8669 [$(subdir) = elf && $(config-cflags-avx) = yes]
8670 (CFLAGS-tst-auditmod6b.c): Likewise.
8671 [$(subdir) = elf && $(config-cflags-avx) = yes]
8672 (CFLAGS-tst-auditmod6c.c): Likewise.
8673 [$(subdir) = elf && $(config-cflags-avx) = yes]
8674 (CFLAGS-tst-auditmod7b.c): Likewise.
8675 * elf/tst-audit3.c: Move to ...
8676 * sysdeps/x86_64/tst-audit3.c: ... here.
8677 * elf/tst-audit4.c: Move to ...
8678 * sysdeps/x86_64/tst-audit4.c: ... here.
8679 * elf/tst-audit5.c: Move to ...
8680 * sysdeps/x86_64/tst-audit5.c: ... here.
8681 * elf/tst-audit6.c: Move to ...
8682 * sysdeps/x86_64/tst-audit6.c: ... here.
8683 * elf/tst-audit7.c: Move to ...
8684 * sysdeps/x86_64/tst-audit7.c: ... here.
8685 * elf/tst-auditmod3a.c: Move to ...
8686 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8687 * elf/tst-auditmod3b.c: Move to ...
8688 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8689 * elf/tst-auditmod4a.c: Move to ...
8690 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8691 * elf/tst-auditmod4b.c: Move to ...
8692 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8693 * elf/tst-auditmod5a.c: Move to ...
8694 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8695 * elf/tst-auditmod5b.c: Move to ...
8696 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8697 * elf/tst-auditmod6a.c: Move to ...
8698 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8699 * elf/tst-auditmod6b.c: Move to ...
8700 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8701 * elf/tst-auditmod6c.c: Move to ...
8702 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8703 * elf/tst-auditmod7a.c: Move to ...
8704 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8705 * elf/tst-auditmod7b.c: Move to ...
8706 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8707
1ef74943
PP
87082013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8709
8710 [BZ #15366]
8711 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8712 define unconditionally.
8713 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8714 define unconditionally.
8715 (INT8_C, INT16_C, etc.): Likewise.
8716
93fd48c5
MR
87172013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8718
ae9552cf
MR
8719 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8720 __ehdr_start with hidden visibility.
8721
93fd48c5
MR
8722 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8723
418601aa
CD
87242013-04-24 Carlos O'Donell <carlos@redhat.com>
8725
8726 * math/libm-test.inc (cos_test): Use accurate hex constants.
8727 (sincost_test): Likewise.
8728
2f38fbfe
JM
87292013-04-24 Joseph Myers <joseph@codesourcery.com>
8730
5e221800
JM
8731 * math/libm-test.inc (catan_test): Add more tests.
8732 (catanh_test): Likewise.
8733
77f143fd
JM
8734 * math/s_catanf.c (__catanf): Use suffixed floating-point
8735 constants.
8736 * math/s_catanhf.c (__catanhf): Likewise.
8737 * math/s_catanhl.c (__catanhl): Likewise.
8738 * math/s_catanl.c (__catanl): Likewise.
8739
2f38fbfe
JM
8740 [BZ #15394]
8741 * math/s_catan.c (__catan): Calculate imaginary part of result
8742 with log1p not log unless computing log of number close to 0.
8743 * math/s_catanf.c (__catanf): Likewise.
8744 * math/s_catanl.c (__catanl): Likewise.
8745 * math/s_catanh.c (__catanh): Calculate real part of result with
8746 log1p not log unless computing log of number close to 0.
8747 * math/s_catanhf.c (__catanhf): Likewise.
8748 * math/s_catanhl.c (__catanhl): Likewise.
8749 * math/libm-test.inc (catan_test): Add more tests.
8750 (catanh_test): Likewise.
8751 * sysdeps/i386/fpu/libm-test-ulps: Update.
8752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8753
45d69176
SP
87542013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8755
8756 * benchtests/Makefile: Mention files in which fast and slow
8757 paths of math functions are implemented.
8758
87f51853
RM
87592013-04-23 Roland McGrath <roland@hack.frob.com>
8760
8761 * sysdeps/posix/timespec_get.c: New file.
8762
3c026539
AZ
87632013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8764
8765 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8766 POWER.
8767 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8768 for POWER.
8769 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8770 powerpc/power5/fpu folders.
8771 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8772 * benchtests/Makefile: Add modf testcase.
8773 * benchtests/bench-modf.c: New file: Benchmark test for mo
8774
ff491d14
SP
87752013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8776
8777 [BZ #14888]
8778 * time/Makefile (tests): Add tst-strptime-whitespace.
8779 * time/strptime_l.c (get_number): Use ISSPACE.
8780 (__strptime_internal): Likewise.
8781 * time/tst-strptime-whitespace.c: New test case.
8782
7ed3f4e8
AS
87832013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8784
8785 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8786 member.
8787 (_nss_files_init): Set it here.
8788
5c95f7b6
HC
87892013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8790
8791 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8792 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8793 unsigned.
8794
d34c9158
JBG
87952013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8796
8797 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8798
2169712d
SP
87992013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8800
8801 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8802 size just once.
8803
29c5de99
DM
88042013-04-21 David S. Miller <davem@davemloft.net>
8805
8806 * po/ru.po: Update Russion translation from translation project.
8807
ccdad15d
AC
88082013-04-17 Adam Conrad <adconrad@0c3.net>
8809
8810 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8811 and setfsgid.
8812
0f122b8d
CD
88132013-04-17 Carlos O'Donell <carlos@redhat.com>
8814
5c5b07da 8815 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 8816 * configure: Regenerate.
5c5b07da 8817 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
8818 Add example to error message.
8819 * sysdeps/i386/configure: Regenerate.
8820
037714dd
SP
88212013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8822
8823 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8824 slowtan.
8825 * benchtests/cos-inputs: New file.
8826 * benchtests/slowcos-inputs: New file.
8827 * benchtests/slowcos.c: New file.
8828 * benchtests/slowtan-inputs: New file.
8829 * benchtests/slowtan.c: New file.
8830 * benchtests/tan-inputs: New file.
8831
e913141d
RM
88322013-04-16 Roland McGrath <roland@hack.frob.com>
8833
8834 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8835 considered kosher.
8836
a2964074
SP
88372013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8838
4856bcd2
SP
8839 * benchtests/Makefile: Include cppflags-iterator.mk to add
8840 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8841
a2964074
SP
8842 * Makefile.in (bench-clean): New target.
8843 * benchtests/Makefile (bench-clean): Likewise.
8844
9fbf9aca
DH
88452013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8846
8847 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8848
207d1e2a
TS
88492013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8850
8851 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8852
306dfba9
AS
88532013-04-15 Andreas Schwab <schwab@suse.de>
8854
8855 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8856 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8857 * nscd/pwdcache.c (cache_addpw): Likewise.
8858 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8859 more than recsize.
8860
206a6699
SP
88612013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8862
8863 * benchtests/Makefile (bench): Write all output to
8864 bench-out.tmp together.
8865
0582f6b3
AS
88662013-04-15 Andreas Schwab <schwab@suse.de>
8867
8868 * nscd/nscd.c (main): Don't fork again after closing files.
8869
acb4325f
SP
88702013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8871
5cb26d0a
SP
8872 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8873
acb4325f
SP
8874 * benchtests/Rules (bench-deps): Collect dependencies into a
8875 single variable. Add Makefile to dependencies.
8876 ($(objpfx)bench-%.c): Depend on bench-deps.
8877
47792506
RM
88782013-04-12 Roland McGrath <roland@hack.frob.com>
8879 Xavier Roche <roche+kml2@exalead.com>
8880
8881 [BZ #15361]
8882 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8883 just that it's a file descriptor.
8884 * manual/llio.texi (Synchronizing AIO Operations): Update description
8885 for EBADF error from aio_fsync.
8886
8fc1bee5
SP
88872013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8888
8889 * Rules (bench): Move target definition...
8890 * benchtests/Makefile: ... here.
8891
aba5e333
CD
88922013-04-11 Carlos O'Donell <carlos@redhat.com>
8893
8894 * math/libm-test.inc (cos_test): Fix PI/2 test.
8895 (sincos_test): Likewise.
8896 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8897 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8898
273cdee8
AS
88992013-04-11 Andreas Schwab <schwab@suse.de>
8900
6ecec3b6
AS
8901 [BZ #13988]
8902 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8903 accept exponent character only when digits were seen.
8904 * stdio-common/Makefile (tests): Add bug26.
8905 * stdio-common/bug26.c: New file.
8906
273cdee8
AS
8907 [BZ #14293]
8908 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8909 non-freeable.
8910
8da491f5
SP
89112013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8912
01dc6df9
SP
8913 * Makeconfig (rtld-prefix): Define built linker prefix.
8914 * Rules (run-bench): Use it.
8915 * math/Makefile (run-regen-ulps): Likewise.
8916
8da491f5
SP
8917 * Rules (bench): Remove eval.
8918
abe7f530
SP
89192013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8920 Roland McGrath <roland@hack.frob.com>
8921 Ondrej Bilka <neleai@seznam.cz>
8922
8923 [BZ #15346]
8924 * time/getdate.c: Include ctype.h and alloca.h.
8925 (__getdate_r): Trim leading and trailing spaces of input.
8926 * time/tst-getdate.c (tests): Add tests with leading and
8927 trailing spaces.
8928
61c23e62
RM
89292013-04-08 Roland McGrath <roland@hack.frob.com>
8930
8931 [BZ #14280]
8932 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8933 when computing value.
8934
7208a313
CD
89352013-04-06 Carlos O'Donell <carlos@redhat.com>
8936
085b2d41
CD
8937 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8938 Use testrun.sh to run libm tests.
8939
7208a313
CD
8940 [BZ #15309]
8941 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8942
872c0acd
MM
89432013-04-06 Marko Myllynen <myllynen@redhat.com>
8944
8945 [BZ #15264]
8946 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8947
26510bdd
CD
89482013-04-06 Carlos O'Donell <carlos@redhat.com>
8949
8950 * Makefile.in (regen-ulps): New target.
8951 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8952 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8953 [ifneq (no,$(PERL)] (regen-ulps): New target.
8954 [ifeq (no,$(PERL)] (regen-ulps): New target.
8955 * math/libm-test.inc (ulps_file_name): Define.
8956 (output_dir): New variable.
8957 (options): Add "output-dir" option.
8958 (parse_opt): Handle 'o' case.
8959 (main): If output_dir is non-NULL use it as a prefix
8960 otherwise use "".
8961 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8962
a01f19c8
CD
89632013-04-06 Carlos O'Donell <carlos@redhat.com>
8964
8965 [BZ #10060, #10062]
8966 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8967 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8968 fail configure if __sync_val_compare_and_swap is not inlined.
8969 * sysdeps/i386/configure: Regenerate.
8970 * configure.in: Build for i686 when configured for i386.
8971 * configure: Regenerate.
8972 * README: Remove i386 reference.
8973
b7a329a5
CD
89742013-04-06 Carlos O'Donell <carlos@redhat.com>
8975
8976 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8977 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8978
bf0f50df
TS
89792013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8980
ee091edf
TS
8981 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8982 (lmsnanval): New variables.
8983 (F): Add conversion tests.
8984 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8985 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8986
a8b792d6
TS
8987 * stdio-common/tstdiomisc.c (F): Properly collect individual
8988 tests' results.
8989
a1cbf437
TS
8990 [BZ #14686, #15336]
8991 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8992 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8993 Instead, use input NaN values or generate a qNaN by arithmetic
8994 operation. Also fix bugs to comply with the standard.
8995 * math/libm-test.inc (remainder_test): Add more tests.
8996
8b43a0c9
TS
8997 [BZ #15335, #15342]
8998 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8999 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9000 input NaN values or generate a qNaN by arithmetic operation.
9001
d91da4ce
TS
9002 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9003 unreachable code.
9004
bf0f50df
TS
9005 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9006 definitions.
9007
05e166c8
JM
90082013-04-03 Joseph Myers <joseph@codesourcery.com>
9009
9010 [BZ #14478]
9011 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9012 underflowed result.
9013 * math/s_cexpf.c (__cexpf): Likewise.
9014 * math/s_cexpl.c (__cexpl): Likewise.
9015 * math/libm-test.inc (cexp_test): Add more tests.
9016
1cef1b19
AS
90172013-04-03 Andreas Schwab <schwab@suse.de>
9018
9019 [BZ #15330]
9020 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9021 order arrays from heap if bigger than alloca cutoff.
9022
74d87055
TS
90232013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9024
9025 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9026 (SNAN_TESTS_double): Refer to GCC PR56831.
9027 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9028 GCC PR56828.
9029
d755bba4
SP
90302013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9031
90d5d5bb
SP
9032 * Rules (bench): Move bench.out after the run is complete.
9033
73e0cd5d
SP
9034 * Rules (bench): Echo currently running benchmark.
9035
64aabd4b
SP
9036 * benchtests/Makefile (bench): Add atan and slowatan.
9037 * benchtests/atan-inputs: New file.
9038 * benchtests/slowatan-inputs: New file.
9039 * benchtests/slowatan.c: New file.
9040
c871eccd
SP
9041 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9042 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9043 its value.
9044
d755bba4
SP
9045 [BZ #15305]
9046 * sysdeps/unix/sysv/linux/kernel-features.h
9047 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9048 __ASSUME_XFS_RESTRICTED_CHOWN.
9049 * sysdeps/unix/sysv/linux/pathconf.c
9050 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9051 Save and restore errno.
9052
52ce4860
JM
90532013-04-02 Joseph Myers <joseph@codesourcery.com>
9054
9055 [BZ #15327]
9056 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9057 arguments using __kernel_casinh.
9058 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9059 arguments using __kernel_casinhf.
9060 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9061 arguments using __kernel_casinhl.
9062 * math/libm-test.inc (cacosh_test): Add more tests.
9063 * sysdeps/i386/fpu/libm-test-ulps: Update.
9064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9065
81f311c2
SP
90662013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9067
e7906a47
SP
9068 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9069 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9070
92e3664b
SP
9071 * bench/Makefile (bench): Add sin and slowsin.
9072 * benchtests/sin-inputs: New file.
9073 * benchtests/slowsin-inputs: New file.
9074 * benchtests/slowsin.c: New file.
9075
81f311c2
SP
9076 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9077 (bench): Add slowexp and slowpow.
9078 (exp-ITER): Increase iterations.
9079 (pow-ITER): Likewise.
9080 * benchtests/exp-inputs: Change input.
9081 * benchtests/pow-inputs: Likewise.
9082 * benchtests/slowexp-inputs: New file.
9083 * benchtests/slowexp.c: New file.
9084 * benchtests/slowpow-inputs: New file.
9085 * benchtests/slowpow.c: New file.
9086
ab0f1aa9
AZ
90872013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9088
9089 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9090 instructions.
9091 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9092 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9093 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9094 * benchtests/Makefile: Add rint benchtest.
9095 * benchtests/rint-inputs: Input for rint benchtest.
9096
57267616
TS
90972013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9098
9099 * Versions.def (libm): Add GLIBC_2.18.
9100 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9101 hidden libm prototypes.
9102 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9103 * math/Makefile (libm-calls): Add s_issignaling.
9104 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9105 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9106 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9107 declaration.
9108 * math/math.h [__USE_GNU] (issignaling): New macro.
9109 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9110 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9111 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9112 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9113 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9114 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9115 * manual/arith.texi (issignaling): New section.
9116 * manual/libm-err-tab.pl (@all_functions): Update comment.
9117 * math/gen-libm-test.pl (parse_args): Apply special handling for
9118 issignaling.
9119 * math/libm-test.inc (print_float, issignaling_test): New
9120 functions.
9121 (check_float_internal): Add issignaling checks.
9122 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9123 default definition.
9124 * sysdeps/powerpc/math-tests.h: New file.
9125 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9126 tests.
9127 * math/test-snan.c (TEST_FUNC): Likewise.
9128
6142896d
DM
91292013-03-30 David S. Miller <davem@davemloft.net>
9130
9131 * po/de.po: Update from translation team.
9132
ccc8cadf
JM
91332013-03-30 Joseph Myers <joseph@codesourcery.com>
9134
9135 [BZ #10357]
9136 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9137 imaginary part less than 1.0 and real part less than 0.5
9138 specially.
9139 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9140 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9141 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9142 (cacos_test): Add more tests.
9143 (casin_test): Likewise.
9144 (casinh_test): Likewise.
9145 * sysdeps/i386/fpu/libm-test-ulps: Update.
9146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9147
0f6a8d4b
SP
91482013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9149
0d1029de
SP
9150 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9151 ONE with its value.
9152
c2d94018
SP
9153 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9154 (__pow_mp): Replace ONE and MONE with their values.
9155 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9156 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9157 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9158 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9159 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9160 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9161
27ec37f1
SP
9162 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9163
a64d7e0e
SP
9164 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9165 (__pow_mp): Replace ZERO and MZERO with their values.
9166 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9167 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9168 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9169 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9170 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9171 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9172 (__sqr): Likewise.
9173
d26dd3eb
SP
9174 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9175
0f6a8d4b
SP
9176 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9177
e57b0c61
RM
91782013-03-28 Roland McGrath <roland@hack.frob.com>
9179
9180 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9181 Declare with __attribute__ ((weak)).
9182 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9183 Call __call_tls_dtors only if it's not NULL.
9184
356b3480
RM
91852013-03-28 Roland McGrath <roland@hack.frob.com>
9186
288f7d79
RM
9187 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9188 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9189 magic __ehdr_start linker symbol if it's defined.
9190 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9191 them up here if it was already done.
9192
dc0a0263
RM
9193 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9194 (_dl_aux_init): Use const in cast when setting it.
9195 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9196 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9197 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9198
3d3436ae
RM
9199 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9200 Declare them here.
9201 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9202 * csu/libc-tls.c: Nor here.
9203 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9204
356b3480
RM
9205 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9206 (__libc_message): Never call vsyslog.
9207
b0f1246a
AM
92082013-03-28 Alan Modra <amodra@gmail.com>
9209
9210 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9211 Define as empty.
9212 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9213 Likewise.
9214
fbbe2b9a
AZ
92152013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9216
9217 [BZ #15214]
9218 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9219 underflow.
9220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9221
1728ab37
SP
92222013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9223
7a86be6e
SP
9224 [BZ #15304]
9225 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9226 Don't add gid passed as argument.
9227
1728ab37
SP
9228 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9229
3a7182a1
JM
92302013-03-27 Joseph Myers <joseph@codesourcery.com>
9231
9232 [BZ #15307]
9233 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9234 imaginary part between 1.0 and 1.5 and real part less than 0.5
9235 specially.
9236 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9237 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9238 * math/libm-test.inc (cacos_test): Add more tests.
9239 (casin_test): Likewise.
9240 (casinh_test): Likewise.
9241 * sysdeps/i386/fpu/libm-test-ulps: Update.
9242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9243
6f2e90e7
SP
92442013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9245
5739f705
SP
9246 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9247 constants.
9248 (norm): Likewise.
9249 (denorm): Likewise.
9250 (__dbl_mp): Likewise.
9251 (add_magnitudes): Likewise.
9252 (sub_magnitudes): Likewise.
9253 (__add): Likewise.
9254 (__sub): Likewise.
9255 (__mul): Likewise.
9256 (__sqr): Likewise.
9257 (__inv): Likewise.
9258 (__dvd): Likewise.
9259
e375e83d
SP
9260 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9261 commented code.
9262 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9263 (__dubcos): Likewise.
9264 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9265 (__ieee754_acos): Likewise.
9266 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9267 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9268 (__exp1): Likewise.
9269 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9270 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9271 (log1): Likewise.
9272 (my_log2): Likewise.
9273 (checkint): Likewise.
9274 * sysdeps/ieee754/dbl-64/e_remainder.c
9275 (__ieee754_remainder): Likewise.
9276 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9277 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9278 (bsloww): Likewise.
9279 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9280
6f2e90e7
SP
9281 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9282 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9283 MANTISSA_STORE_T to store computations on mantissa. Use
9284 macros for rounding and division.
9285 (denorm): Likewise.
9286 (__dbl_mp): Likewise.
9287 (add_magnitudes): Likewise.
9288 (sub_magnitudes): Likewise.
9289 (__mul): Likewise.
9290 (__sqr): Likewise.
9291 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9292 powers of two in terms of TWOPOW macro.
9293 (mp_no): Make type of mantissa as MANTISSA_T.
9294 [!RADIXI]: Define RADIXI.
9295 [!TWO52]: Define TWO52.
9296 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9297
fce14d4e
AZ
92982013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9299
9300 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9301 llroundl symbol when building for PPC32.
9302
9ad027fb
MW
93032013-03-24 Mark H Weaver <mhw@netris.org>
9304
9305 * manual/arith.texi (Normalization Functions): Fix prototypes for
9306 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9307
e42a38dd
AZ
93082013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9309
9310 [BZ #13889]
9311 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9312 high value to check if expl overflow.
9313 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9314 to check for underflow and overflow.
9315 * math/libm-test.inc: Add exp test.
9316
2e0fb521
DL
93172013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9318
9319 [BZ #11120]
9320 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9321 with NOT_IN_libc.
9322
b5784d95
AZ
93232013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9324
9325 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9326 symbol.
9327
5aa4a1a1
TS
93282013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9329
bdef0be7
TS
9330 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9331 wrap blocks consisting of several statements.
9332
5aa4a1a1
TS
9333 * sysdeps/generic/math-tests.h: New file.
9334 * sysdeps/i386/fpu/math-tests.h: Likewise.
9335 * math/test-snan.c: Include it.
9336 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9337
98c48fe5
JM
93382013-03-21 Joseph Myers <joseph@codesourcery.com>
9339
9340 [BZ #15285]
9341 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9342 (__ieee754_j0l): Do not improve calculations using cos of twice
9343 input for inputs above LDBL_MAX / 2.0L.
9344 (__ieee754_y0l): Likewise.
9345 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9346 (__ieee754_j1l): Do not improve calculations using cos of twice
9347 input for inputs above LDBL_MAX / 2.0L.
9348 (__ieee754_y1l): Likewise.
9349 * math/libm-test.inc (j0_test): Add another test.
9350 (j1_test): Likewise.
9351 (y0_test): Likewise.
9352 (y1_test): Likewise.
9353 * sysdeps/i386/fpu/libm-test-ulps: Update.
9354
3775a8bc
SP
93552013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9356
9357 * Rules ($(objpfx)bench-%.c): Include code from a C source
9358 file.
9359
0a1b2ae6
JM
93602013-03-21 Joseph Myers <joseph@codesourcery.com>
9361
9362 [BZ #15287]
9363 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9364 imaginary part 1.0 and real part less than 0.5 specially.
9365 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9366 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9367 * math/libm-test.inc (cacos_test): Add more tests.
9368 (casin_test): Likewise.
9369 (casinh_test): Likewise.
9370 * sysdeps/i386/fpu/libm-test-ulps: Update.
9371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9372
b33d4ce4
SP
93732013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9374
9375 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9376 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9377
bef0b507
JM
93782013-03-20 Joseph Myers <joseph@codesourcery.com>
9379
9380 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9381 * config.make.in (config-cflags-sse4): Remove variable.
9382 (config-cflags-avx): Likewise.
9383 (config-cflags-sse2avx): Likewise.
9384 (config-cflags-novzeroupper): Likewise.
9385 (config-asflags-i686): Likewise.
9386 (have-mfma4): Likewise.
9387 (have-as-vis3): Likewise.
9388 (MIG): Likewise.
9389 * configure.in (MIG): Do not AC_SUBST.
9390 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9391 (libc_cv_cc_sse4): Do not AC_SUBST.
9392 (libc_cv_cc_avx): Likewise.
9393 (libc_cv_cc_sse2avx): Likewise.
9394 (libc_cv_cc_novzeroupper): Likewise.
9395 (libc_cv_cc_fma4): Likewise.
9396 (libc_cv_as_i686): Likewise.
9397 (libc_cv_sparc_as_vis3): Likewise.
9398 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9399 LIBC_CONFIG_VAR.
9400 (config-asflags-i686): Likewise.
9401 (config-cflags-avx): Likewise.
9402 (config-cflags-sse2avx): Likewise.
9403 (have-mfma4): Likewise.
9404 (config-cflags-novzeroupper): Likewise.
9405 * sysdeps/mach/configure.in (MIG): Likewise.
9406 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9407 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9408 LIBC_CONFIG_VAR.
9409 (config-cflags-avx): Likewise.
9410 (config-cflags-sse2avx): Likewise.
9411 (have-mfma4): Likewise.
9412 (config-cflags-novzeroupper): Likewise.
9413 * configure: Regenerated.
9414 * sysdeps/i386/configure: Likewise.
9415 * sysdeps/mach/configure: Likewise.
9416 * sysdeps/sparc/configure: Likewise.
9417 * sysdeps/x86_64/configure: Likewise.
9418
912cc4b3
RM
94192013-03-20 Roland McGrath <roland@hack.frob.com>
9420
9421 [BZ #14812]
9422 * locale/programs/localedef.c (options): Put N_ translation marker
9423 on argument names, not just descriptions.
9424
04eed2b0
MS
94252013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9426
9427 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9428
a065ceff
OB
94292013-03-20 Ondřej Bílka <neleai@seznam.cz>
9430
9bb2a810 9431 [BZ #14176]
a065ceff
OB
9432 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9433
a600e5ce
RM
94342013-03-19 Roland McGrath <roland@hack.frob.com>
9435
9436 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9437 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9438 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9439 [!BEFORE_ABORT] (before_abort): New function.
9440 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9441 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9442 (writev_for_fatal): New function.
9443 (WRITEV_FOR_FATAL): New macro; call that.
9444 (backtrace_and_maps): New function.
9445 (BEFORE_ABORT): New macro; call that.
9446 (struct str_list): Type removed.
9447 (__libc_message, __libc_fatal): Functions removed.
9448 Include <sysdeps/posix/libc_fatal.c> instead.
9449
6b18bea6
JM
94502013-03-19 Joseph Myers <joseph@codesourcery.com>
9451
9452 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9453 constants.
9454 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9455 double constants.
9456
aaa8cb4b
AS
94572013-03-19 Andreas Schwab <schwab@suse.de>
9458
44673770
AS
9459 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9460 * sysdeps/gnu/configure: Regenerate.
9461
aaa8cb4b
AS
9462 * configure.in: Substitute libc_cv_rtlddir.
9463 * configure: Regenerate.
9464 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9465 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9466 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9467 * elf/Makefile (install-others, CFLAGS-interp.c)
9468 (ldso_install, common-ldd-rewrite): Likewise.
9469 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9470 $(inst_slibdir)/$(rtld-installed-name).
9471 * scripts/rellns-sh: Add -p option.
9472 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9473 for source.
9474
d3cfc668
SP
94752013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9476
9477 * manual/nptl.texi: Renamed to ...
9478 * manual/threads.texi: ... this.
9479 * manual/Makefile (chapters): Update.
9480
0e2b9cdd
RM
94812013-03-18 Roland McGrath <roland@hack.frob.com>
9482
9483 [BZ #14812]
9484 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9485 on argument names, not just descriptions.
0e2b9cdd
RM
9486 * malloc/memusagestat.c (options): Likewise.
9487 * nss/getent.c (options): Likewise.
63270c24
RM
9488
94892013-03-18 Benno Schulenberg <bensberg@justemail.net>
9490
9491 [BZ #14812]
9492 * iconv/iconv_prog.c (options): Put N_ translation marker
9493 on argument names, not just descriptions.
9494 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 9495
b2e1393c
OB
94962013-03-18 Ondrej Bilka <neleai@seznam.cz>
9497
9498 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9499 implementation which is faster on all x86_64 architectures.
9500 Tested on AMD, Intel Nehalem, SNB, IVB.
9501 * sysdeps/x86_64/strnlen.S: Likewise.
9502
9503 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9504 Remove all multiarch strlen and strnlen versions.
9505 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9506 Remove strlen and strnlen related parts.
9507
9508 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9509 Inline strlen part.
9510 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9511
9512 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9513 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9514 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9515 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9516 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9517 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9518
ec4ff04d
CD
95192013-03-17 Carlos O'Donell <carlos@redhat.com>
9520
9521 * manual/memory.texi (Malloc Tunable Parameters):
9522 Sort parameters alphabetically. Add comments for missing entries.
9523
cd18e90a
DM
95242013-03-17 David S. Miller <davem@davemloft.net>
9525
9526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9527
2a185d32
JM
95282013-03-16 Joseph Myers <joseph@codesourcery.com>
9529
d2f9799e
JM
9530 [BZ #15283]
9531 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9532 for arguments at most half maximum finite value.
9533 * math/libm-test.inc (j0_test): Add more tests.
9534 (j1_test): Likewise.
9535 (y0_test): Likewise.
9536 (y1_test): Likewise.
9537 * sysdeps/i386/fpu/libm-test-ulps: Update.
9538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9539
2a185d32
JM
9540 [BZ #14155]
9541 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9542 1 / x and functions P and Q for arguments above 0x1p256L.
9543 (__ieee754_y0l): Likewise.
9544 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9545 (__ieee754_y1l): Likewise.
9546 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9547 (j1_test): Likewise.
9548 (y0_test): Likewise.
9549 (y1_test): Likewise.
9550
6cbec759
TS
95512013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9552
9553 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9554 variable.
9555
bc16e260
RM
95562013-03-15 Roland McGrath <roland@hack.frob.com>
9557
aefc9b8c
RM
9558 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9559 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9560 zero since it's initialized to EXEC_PAGESIZE.
9561
bc16e260
RM
9562 * sysdeps/unix/sysv/linux/ldsodefs.h
9563 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9564 * sysdeps/generic/ldsodefs.h: ... here.
9565
a57da955
TS
95662013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9567
af00a34d
TS
9568 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9569
495ded2c
TS
9570 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9571 math/test-snan.c.
9572 * math/test-snan.c: Renamed from
9573 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9574 * math/Makefile (tests): Add test-snan.
9575 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9576 test-powerpc-snan.
9577
777b0332
TS
9578 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9579 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9580 functions.
9581 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9582 __builtin_nan family of functions.
9583 * math/libm-test.inc (initialize): Initialize qnan_value with
9584 __builtin_nan family of functions.
9585 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9586 Remove variables.
9587 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9588 Remove functions.
9589 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9590 storage class. Initialize qNaN_var and sNaN_var with
9591 __builtin_nan and __builtin_nans families of functions,
9592 respectively.
9593
64d063b8
TS
9594 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9595 (sqrt_test): Remove duplicate test with qNaN input.
9596 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9597 (round_test, signbit_test, significand_test): Note missing +/-Inf
9598 as well as qNaN tests.
9599
67e971f1
TS
9600 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9601 qNaN_var. Fix a few strings, too.
9602 * math/libm-test.inc (nan_value): Rename to qnan_value.
9603 * math/gen-libm-test.pl (%beautify): Adjust to that.
9604 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9605 * math/test-misc.c (main): Likewise.
9606 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9607 to __qnan_bytes, and __qnan_union, respectively.
9608 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9609 Likewise.
9610 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9611 and lqnanval, respectively.
9612 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9613 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9614 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9615 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9616
64487e12
TS
9617 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9618 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9619 doubles.
9620
e015e27b
TS
9621 * math/test-misc.c (main): Fix copy'n'pastos.
9622 * misc/tst-efgcvt.c (special): Likewise.
9623
a57da955
TS
9624 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9625 Remove declarations.
9626
1e380345
SP
96272013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9628
9629 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9630 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9631 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9632 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9633
ef26eece
AZ
96342013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9635
9636 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9637 macro to return vdso values correctly in IFUNC implementations.
9638 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9639 Optimization by using IFUNC.
9640
8cfdb7e0
SP
96412013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9642 Richard Henderson <rth@redhat.com>
9643 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9644
9645 * Makefile.in (bench): New target.
9646 * NEWS: Mention the benchmark framework.
9647 * Rules (bench): Likewise.
9648 (binaries-bench): Generate binaries for functions to
9649 benchmark.
9650 * benchtests/Makefile: New makefile for benchmark tests.
9651 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9652 programs.
9653 * benchtests/exp-inputs: New input file for EXP function.
9654 * benchtests/pow-inputs: New input file for POW function.
9655 * scripts/bench.pl: New script to generate source files for
9656 benchmark programs.
9657
bcda9880
SP
96582013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9659
d22ca8cd
SP
9660 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9661 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9662 computations on mantissa. Use macros for rounding and
9663 division.
9664 (denorm): Likewise.
9665 (__dbl_mp): Likewise.
9666 (add_magnitudes): Likewise.
9667 (sub_magnitudes): Likewise.
9668 (__mul): Likewise.
9669 (__sqr): Likewise.
9670 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9671 powers of two in terms of TWOPOW macro.
9672 (mp_no): Make type of mantissa as MANTISSA_T.
9673 [!RADIXI]: Define RADIXI.
9674 [!TWO52]: Define TWO52.
9675 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9676
bcda9880
SP
9677 * manual/nptl.texi (cindex): Modify threads to pthreads.
9678
06d5adfb
JM
96792013-03-15 Joseph Myers <joseph@codesourcery.com>
9680
9681 * sysdeps/x86_64/preconfigure: Regenerated.
9682
41c7328e
JM
96832013-03-14 Joseph Myers <joseph@codesourcery.com>
9684
9685 [BZ #14155]
9686 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9687 0x1p28 and above.
9688 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9689 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9690 0x1p28 and above.
9691 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9692 * math/libm-test.inc (j0_test): Do not allow one spurious
9693 underflow exception.
9694 (y1_test): Likewise.
9695
e25cfa60
SP
96962013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9697
0409959c
SP
9698 * manual/Makefile (chapters): Add nptl.
9699 * manual/debug.texi (Debugging Support): Add link to Threads
9700 chapter.
9701 * manual/nptl.texi: New file.
9702
e25cfa60
SP
9703 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9704
58a1335e
PB
97052013-03-14 Petr Baudis <pasky@ucw.cz>
9706
9707 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9708 for non-NULL pointer before the memory validity test. Pointed
9709 out by Holger Brunck <holger.brunck@keymile.com>.
9710
9dc7c64f
AS
97112013-03-13 Andreas Schwab <schwab@suse.de>
9712
9713 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9714 instead of .os.
9715
54206aa6
JM
97162013-03-13 Joseph Myers <joseph@codesourcery.com>
9717
9718 * timezone/zic.c: Update from tzcode 2013b.
9719
e98cdb38
CD
97202013-03-12 Carlos O'Donell <carlos@redhat.com>
9721
9722 * manual/install.texi (Configuring and compiling):
9723 Mention i686 and i586.
9724 * INSTALL: Regenerate.
9725
9967e003
RM
97262013-03-12 Roland McGrath <roland@hack.frob.com>
9727
9728 * sysdeps/init_array/elf-init.c: New file.
9729 * csu/elf-init.c
9730 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9731 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9732
9733 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9734 __gmon_start__ as global, but as static with a .preinit_array pointer.
9735 * sysdeps/init_array/gmon-start.c: New file. Use that.
9736 * sysdeps/init_array/crti.S: New file, empty except for comments.
9737 * sysdeps/init_array/crtn.S: Likewise.
9738
e6b5a293 97392013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
9740
9741 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9742 definining bcopy.
80f844c9
OB
9743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9744 Remove Prefer_SSE_for_memop.
9745 * sysdeps/x86_64/multiarch/init-arch.h: Remove
9746 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9747 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
9748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9749 memset-x86-64.
80f844c9 9750 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 9751 Remove bzero, memset ifunc support.
80f844c9
OB
9752 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9753 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9754 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9755 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9756
fb6b0fcb
AS
97572013-03-11 Andreas Schwab <schwab@suse.de>
9758
9759 [BZ #15234]
9760 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9761 by SHLIB_COMPAT.
9762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9763 (GLIBC_2.16): Remove pthread_atfork.
9764
3e6bd4b1
PP
97652013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9766
9767 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9768 (ptestcases.h): Likewise.
9769
222d7f00
RM
97702013-03-08 Roland McGrath <roland@hack.frob.com>
9771
9772 * Makeconfig ($(common-objpfx)config.status): Depend on
9773 sysdeps/*/preconfigure{,.in} too.
9774
1ba4f030
JM
97752013-03-08 Joseph Myers <joseph@codesourcery.com>
9776
a222d91a
JM
9777 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9778 (__free_hook): Use void * instead of __malloc_ptr_t.
9779 (__malloc_hook): Likewise.
9780 (__realloc_hook): Likewise.
9781 (__memalign_hook): Likewise.
9782 (__after_morecore_hook): Likewise.
9783 * malloc/arena.c (save_malloc_hook): Likewise.
9784 (save_free_hook): Likewise.
9785 * malloc/hooks.c (malloc_hook_ini): Likewise.
9786 (realloc_hook_ini): Likewise.
9787 (memalign_hook_ini): Likewise.
9788 * malloc/malloc.c (malloc_hook_ini): Likewise.
9789 (realloc_hook_ini): Likewise.
9790 (memalign_hook_ini): Likewise.
9791 (__free_hook): Likewise.
9792 (__malloc_hook): Likewise.
9793 (__realloc_hook): Likewise.
9794 (__memalign_hook): Likewise.
9795 (__libc_malloc): Likewise.
9796 (__libc_free): Likewise.
9797 (__libc_realloc): Likewise.
9798 (__libc_memalign): Likewise.
9799 (__libc_valloc): Likewise.
9800 (__libc_pvalloc): Likewise.
9801 (__libc_calloc): Likewise.
9802 (__posix_memalign): Likewise.
9803 * malloc/morecore.c (__sbrk): Likewise.
9804 (__default_morecore): Likewise.
9805
5cc45e10
JM
9806 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9807
dd54b864
JM
9808 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9809 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9810 __malloc_ptrdiff_t.
9811
1ba4f030
JM
9812 * malloc/malloc.h (__malloc_size_t): Remove macro.
9813 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9814 __malloc_size_t.
9815 (old_memalign_hook): Likewise.
9816 (old_realloc_hook): Likewise.
9817 (struct hdr): Likewise.
9818 (flood): Likewise.
9819 (mallochook): Likewise.
9820 (memalignhook): Likewise.
9821 (reallochook): Likewise.
9822 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9823 (tr_old_realloc_hook): Likewise.
9824 (tr_old_memalign_hook): Likewise.
9825 (tr_mallochook): Likewise.
9826 (tr_reallochook): Likewise.
9827 (tr_memalignhook): Likewise.
9828
edf66e57
AZ
98292013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9830
9831 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9832 default_ldbl_pack and using as default implementation.
9833 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9834 implementation.
9835 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9836 redundant definition.
9837 (ldbl_insert_mantissa): Likewise.
9838 (ldbl_canonicalize): Likewise.
9839 (ldbl_nearbyint): Likewise.
9840 (ldbl_pack): Rename to ldbl_pack_ppc.
9841 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9842 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9843 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9844
6d9145d8
SP
98452013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9846
9847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9848 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9849 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9850 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9852 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9853 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9854 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9855
4dd4e157
AJ
98562013-03-07 Andreas Jaeger <aj@suse.de>
9857
9858 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9859 bits/mman-linux.h.
9860
adbb8027
SP
98612013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9862
ce544b5b
SP
9863 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9864 Include mpa.h and declare __MPEXP.
9865 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9866 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9867 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9868 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9869 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9870 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9871 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9872
4cc149fd
SP
9873 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9874 (__slowpow): Use long double EXPL and LOGL functions to
9875 compute POW.
9876 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9877 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9878 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9879 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9880 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9881 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9882
e6ebd4a7
SP
9883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9884 intermediate variable to calculate exponent.
9885 (__sqr): Likewise.
9886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9887 Likewise.
9888 (__sqr): Likewise.
9889
82a9811d
SP
9890 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9891 [!NO__SQR]: Define __sqr.
9892 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9893 and NO__SQR. Remove all code except __mul and __sqr. Include
9894 sysdeps/ieee754/dbl-64/mpa.c.
9895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9896
adbb8027
SP
9897 [BZ #12723]
9898 * posix/Makefile (tests): Add tst-pathconf.
9899 * posix/tst-pathconf.c: New test case.
9900 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9901 _PC_PIPE_BUF.
9902 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9903
39120df9
PF
99042013-03-06 Patsy Franklin <pfrankli@redhat.com>
9905
9906 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9907
67525cb8
AJ
99082013-03-06 Andreas Jaeger <aj@suse.de>
9909
664a9ce4
AJ
9910 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9911 definition via __MAP_ANONYMOUS.
9912
8e39047d
AJ
9913 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9914 it's not part of Linux headers.
9915
67525cb8
AJ
9916 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9917 (MAP_HUGE_MASK): Define.
9918
9919 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9920 Define.
9921 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9922 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9923 Define.
9924 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9925 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9926 Define.
9927 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9928 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9929 Define.
9930 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9931
9932 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9933 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9934 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9935 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9936 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9937 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9938
9939 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9940 Handle f2fs.
9941
9942 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9943 Handle f2fs and efivarfs.
9944
9945 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9946 f2fs.
9947
9948 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9949 (EFIVARFS_MAGIC): Add.
9950 (F2FS_LINK_MAX): Add.
9951
e1b42695
PP
99522013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9953
9954 * stdio-common/vfprintf.c: Replace __builtin_expect with
9955 __glibc_unlikely.
9956
2d67d91a
JM
99572013-03-06 Joseph Myers <joseph@codesourcery.com>
9958
9959 [BZ #13550]
9960 * sysdeps/generic/bp-sym.h: Remove file.
9961 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9962 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9963 <bp-sym.h> and <bp-asm.h>.
9964 (__longjmp): Don't use BP_SYM.
9965 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9966 and <bp-asm.h>.
9967 (memcpy): Don't use BP_SYM.
9968 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9969 <bp-sym.h> and <bp-asm.h>.
9970 (memcpy): Don't use BP_SYM.
9971 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9972 <bp-asm.h>.
9973 (memcpy): Don't use BP_SYM.
9974 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9975 <bp-asm.h>.
9976 (memset): Don't use BP_SYM.
9977 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9978 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9979 (__bzero): Don't use BP_SYM.
9980 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9981 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9982 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9983 <bp-sym.h> and <bp-asm.h>.
9984 (memcmp): Don't use BP_SYM. Remove comment about bounded
9985 pointers.
9986 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9987 <bp-sym.h> and <bp-asm.h>.
9988 (memcpy): Don't use BP_SYM.
9989 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9990 <bp-sym.h> and <bp-asm.h>.
9991 (memset): Don't use BP_SYM.
9992 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9993 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9994 (__bzero): Don't use BP_SYM.
9995 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9996 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9997 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9998 <bp-sym.h> and <bp-asm.h>.
9999 (strncmp): Don't use BP_SYM. Remove comment about bounded
10000 pointers.
10001 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10002 <bp-sym.h> and <bp-asm.h>.
10003 (memcpy): Don't use BP_SYM.
10004 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10005 <bp-sym.h> and <bp-asm.h>.
10006 (memset): Don't use BP_SYM.
10007 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10008 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10009 (__bzero): Don't use BP_SYM.
10010 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10011 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10012 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10013 <bp-sym.h> and <bp-asm.h>.
10014 (__memchr): Don't use BP_SYM.
10015 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10016 <bp-sym.h> and <bp-asm.h>.
10017 (memcmp): Don't use BP_SYM. Remove comment about bounded
10018 pointers.
10019 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10020 <bp-sym.h> and <bp-asm.h>.
10021 (memcpy): Don't use BP_SYM.
10022 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10023 <bp-sym.h> and <bp-asm.h>.
10024 (__mempcpy): Don't use BP_SYM.
10025 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10026 <bp-sym.h> and <bp-asm.h>.
10027 (__memrchr): Don't use BP_SYM.
10028 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10029 <bp-sym.h> and <bp-asm.h>.
10030 (memset): Don't use BP_SYM.
10031 (__bzero): Likewise.
10032 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10033 <bp-sym.h> and <bp-asm.h>.
10034 (__rawmemchr): Don't use BP_SYM.
10035 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10036 <bp-sym.h> and <bp-asm.h>.
10037 (__STRCMP): Don't use BP_SYM.
10038 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10039 <bp-sym.h> and <bp-asm.h>.
10040 (strchr): Don't use BP_SYM.
10041 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10042 <bp-sym.h> and <bp-asm.h>.
10043 (__strchrnul): Don't use BP_SYM.
10044 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10045 <bp-sym.h> and <bp-asm.h>.
10046 (strlen): Don't use BP_SYM.
10047 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10048 <bp-sym.h> and <bp-asm.h>.
10049 (strncmp): Don't use BP_SYM. Remove comment about bounded
10050 pointers.
10051 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10052 <bp-sym.h> and <bp-asm.h>.
10053 (__strnlen): Don't use BP_SYM.
10054 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10055 <bp-sym.h> and <bp-asm.h>.
10056 (__GI__setjmp): Don't use BP_SYM.
10057 (_setjmp): Likewise.
10058 (__sigsetjmp): Likewise.
10059 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10060 (L(start_addresses)): Don't use BP_SYM.
10061 (_start): Likewise.
10062 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10063 <bp-asm.h>.
10064 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10065 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10066 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10067 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10068 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10069 <bp-asm.h>.
10070 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10071 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10072 about bounded pointers.
10073 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10074 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10075 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10076 <bp-asm.h>.
10077 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10078 about bounded pointers. Remove GKM FIXME comments.
10079 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10080 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10081 <bp-asm.h>.
10082 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10083 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10084 Remove GKM FIXME comments.
10085 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10086 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10087 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10088 <bp-asm.h>.
10089 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10090 about bounded pointers. Remove GKM FIXME comment.
10091 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10092 and <bp-asm.h>.
10093 (strncmp): Don't use BP_SYM. Remove comment about bounded
10094 pointers.
10095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10096 <bp-sym.h> and <bp-asm.h>.
10097 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10099 <bp-sym.h> and <bp-asm.h>.
10100 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10101 comment.
10102
cdcf361f
PP
101032013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10104
10105 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10106 call free(NULL).
10107
3c4a2b15
DM
101082013-03-05 David S. Miller <davem@davemloft.net>
10109
10110 * po/es.po: Update from translation team.
10111
cdcf361f 101122013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
10113
10114 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10115 <bits/mman-linux.h>.
10116 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10117 is fine.
10118 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10119 <bits/mman-linux.h> to end of file.
10120 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10121 is fine.
10122 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10123 <bits/mman-linux.h> to end of file.
10124 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10125 is fine.
10126 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10127 <bits/mman-linux.h> to end of file.
10128
10129 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10130 (MCL_CURRENT, MCL_FUTURE): Define here.
10131
5f67c04f
AK
101322013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10133
8a4473cc 10134 [BZ #15232]
5f67c04f
AK
10135 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10136 attribute_hidden.
10137 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10138
c3e94a95
AK
101392013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10140
10141 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10142 fourth parameter needed for rt_sigprocmask syscall.
10143 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10144 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10145 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10146 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10147 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10148 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10149
cfb6382a
JM
101502013-03-04 Joseph Myers <joseph@codesourcery.com>
10151
10152 [BZ #13550]
10153 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10154 comment about bounded pointers.
10155 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10156 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10157
539d8e01
AJ
101582013-03-04 Andreas Jaeger <aj@suse.de>
10159
10160 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10161 common definitions.
10162
10163 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10164 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10165 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10166 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10167 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
10168 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10169
2e167a70 101702013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
10171
10172 [BZ #15055]
10173 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10174 __ieee754_sqrl instead of __sqrl.
10175
68508633
JM
101762013-03-01 Joseph Myers <joseph@codesourcery.com>
10177
10178 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10179 * sysdeps/powerpc/fpu_control.h: ... here.
10180 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10181 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10182 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10183 * sysdeps/powerpc/bits/mathinline.h: ... here.
10184
7775448e
RM
101852013-03-01 Roland McGrath <roland@hack.frob.com>
10186
10187 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10188 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10189 to just [NEED_DL_SYSINFO_DSO].
10190 * elf/dl-support.c: Likewise.
10191 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10192 * elf/rtld.c (dl_main): Likewise.
10193 * elf/setup-vdso.h (setup_vdso): Likewise.
10194 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10195 * sysdeps/unix/sysv/linux/dl-sysdep.c
10196 (_dl_discover_osversion): Likewise.
10197
4e9b5995
CD
101982013-03-01 Carlos O'Donell <carlos@redhat.com>
10199
10200 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10201 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10202
e23872c8
SP
102032013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10204
e5c74c63
SP
10205 * NEWS: Mention libm performance improvements and non-x86 PI
10206 futex support.
10207
e23872c8
SP
10208 * csu/libc-start.c (__pthread_initialize_minimal): Change
10209 function arguments.
10210 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10211
b5510883
JM
102122013-02-28 Joseph Myers <joseph@codesourcery.com>
10213
10214 [BZ #13550]
10215 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10216 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10217 <bp-sym.h> and <bp-asm.h>.
10218 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10219 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10220 and <bp-asm.h>.
10221 (memcpy): Don't use BP_SYM.
10222 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10223 <bp-asm.h>.
10224 (__mpn_add_n): Don't use BP_SYM.
10225 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10226 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10227 and <bp-asm.h>.
10228 (__mpn_addmul_1): Don't use BP_SYM.
10229 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10230 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10231 <bp-sym.h>.
10232 (_setjmp): Don't use BP_SYM.
10233 (__novmx_setjmp): Likewise.
10234 (__GI__setjmp): Likewise.
10235 (__vmx_setjmp): Likewise.
10236 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10237 <bp-sym.h>.
10238 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10239 (__bzero): Don't use BP_SYM.
10240 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10241 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10242 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10243 <bp-sym.h> and <bp-asm.h>.
10244 (memcpy): Don't use BP_SYM.
10245 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10246 <bp-sym.h> and <bp-asm.h>.
10247 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10248 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10249 <bp-sym.h> and <bp-asm.h>.
10250 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10251 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10252 <bp-asm.h>.
10253 (__mpn_lshift): Don't use BP_SYM.
10254 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10255 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10256 <bp-asm.h>.
10257 (memset): Don't use BP_SYM.
10258 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10259 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10260 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10261 <bp-asm.h>.
10262 (__mpn_mul_1): Don't use BP_SYM.
10263 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10264 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10265 <bp-sym.h> and <bp-asm.h>.
10266 (memcmp): Don't use BP_SYM.
10267 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10268 <bp-sym.h> and <bp-asm.h>.
10269 (memcpy): Don't use BP_SYM.
10270 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10271 <bp-sym.h> and <bp-asm.h>.
10272 (memset): Don't use BP_SYM.
10273 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10274 <bp-sym.h> and <bp-asm.h>.
10275 (strncmp): Don't use BP_SYM.
10276 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10277 <bp-sym.h> and <bp-asm.h>.
10278 (memcpy): Don't use BP_SYM.
10279 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10280 <bp-sym.h> and <bp-asm.h>.
10281 (memset): Don't use BP_SYM.
10282 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10283 <bp-sym.h> and <bp-asm.h>.
10284 (__memchr): Don't use BP_SYM.
10285 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10286 <bp-sym.h> and <bp-asm.h>.
10287 (memcmp): Don't use BP_SYM.
10288 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10289 <bp-sym.h> and <bp-asm.h>.
10290 (memcpy): Don't use BP_SYM.
10291 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10292 <bp-sym.h> and <bp-asm.h>.
10293 (__mempcpy): Don't use BP_SYM.
10294 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10295 <bp-sym.h> and <bp-asm.h>.
10296 (__memrchr): Don't use BP_SYM.
10297 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10298 <bp-sym.h> and <bp-asm.h>.
10299 (memset): Don't use BP_SYM.
10300 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10301 <bp-sym.h> and <bp-asm.h>.
10302 (__rawmemchr): Don't use BP_SYM.
10303 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10304 <bp-sym.h> and <bp-asm.h>.
10305 (__STRCMP): Don't use BP_SYM.
10306 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10307 <bp-sym.h> and <bp-asm.h>.
10308 (strchr): Don't use BP_SYM.
10309 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10310 <bp-sym.h> and <bp-asm.h>.
10311 (__strchrnul): Don't use BP_SYM.
10312 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10313 <bp-sym.h> and <bp-asm.h>.
10314 (strlen): Don't use BP_SYM.
10315 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10316 <bp-sym.h> and <bp-asm.h>.
10317 (strncmp): Don't use BP_SYM.
10318 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10319 <bp-sym.h> and <bp-asm.h>.
10320 (__strnlen): Don't use BP_SYM.
10321 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10322 <bp-asm.h>.
10323 (__mpn_rshift): Don't use BP_SYM.
10324 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10325 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10326 <bp-sym.h> and <bp-asm.h>.
10327 (__sigsetjmp): Don't use BP_SYM.
10328 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10329 (L(start_addresses)): Don't use BP_SYM.
10330 (_start): Likewise.
10331 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10332 <bp-asm.h>.
10333 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10334 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10335 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10336 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10337 <bp-asm.h>.
10338 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10339 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10340 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10341 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10342 <bp-asm.h>.
10343 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10344 comments.
10345 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10346 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10347 <bp-asm.h>.
10348 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
10349 FIXME comments.
10350 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10351 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10352 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10353 <bp-asm.h>.
10354 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10355 comment.
10356 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10357 and <bp-asm.h>.
10358 (strncmp): Don't use BP_SYM,
10359 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10360 <bp-asm.h>.
10361 (__mpn_sub_n): Don't use BP_SYM.
10362 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10363 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10364 and <bp-asm.h>.
10365 (__mpn_submul_1): Don't use BP_SYM.
10366 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10368 <bp-sym.h> and <bp-asm.h>.
10369 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10371 <bp-sym.h> and <bp-asm.h>.
10372 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10373 comment.
10374
8d19fe64
SP
103752013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10376
10377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10378 Use ZK to minimize writes to Z.
10379 (sub_magnitudes): Simplify code a bit.
10380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10381 Use ZK to minimize writes to Z.
10382 (sub_magnitudes): Simplify code a bit.
10383
85bd816a
RM
103842013-02-27 Roland McGrath <roland@hack.frob.com>
10385
10386 * csu/gmon-start.c: Add special exception to license text.
10387
b5977bf2
RH
103882013-02-27 Richard Henderson <rth@redhat.com>
10389
10390 * scripts/config.guess: Update from config.git.
10391 * scripts/config.sub: Likewise.
10392
11d6e2f2
SP
103932013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10394
09c14ed2
SP
10395 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10396
a688864e
SP
10397 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10398
6295157a
SP
10399 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10400
b8de2202
SP
10401 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10402
11d6e2f2
SP
10403 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10404
7e80ddb8
RM
104052013-02-26 Roland McGrath <roland@hack.frob.com>
10406
10407 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10408 [$(build-shared = yes].
7e80ddb8 10409
7da6d9ed
SP
104102013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10411
45f05884
SP
10412 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10413 (__mul): Reduce iterations for calculating mantissa.
10414
2236d359
SP
10415 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10416 MPTWO.
10417 (__mpranred): Likewise.
10418
7da6d9ed
SP
10419 [BZ #15160]
10420 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10421 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10422
b7688c42
PE
104232013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10424
10425 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10426 Define __attribute__.
10427
53a5c423
SP
104282013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10429
10430 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10431 unused.
10432 * posix/regex_internal.h (__attribute): Remove.
10433 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10434 (re_string_context_at): Likewise.
10435 (bitset_not): Use __attribute__ and mark function as possibly
10436 unused.
10437 (bitset_merge): Likewise.
10438 (bitset_mask): Likewise.
10439 (re_string_char_size_at): Likewise.
10440 (re_string_wchar_at): Likewise.
10441 (re_string_elem_size_at): Likewise.
10442
60f5a8b5
SP
104432013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10444
2a983a2e
SP
10445 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10446 code.
10447 (cc32): Likewise.
10448
e69804d1
SP
10449 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10450 (__acr): Likewise.
10451 (__cpy): Likewise.
10452 (norm): Likewise.
10453 (denorm): Likewise.
10454 (__dbl_mp): Likewise.
10455 (add_magnitudes): Likewise.
10456 (sub_magnitudes): Likewise.
10457 (__mul): Likewise.
10458 (__inv): Likewise.
10459
2f22a1e8
SP
10460 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10461 style.
10462
8930ddc7
SP
10463 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10464 style.
10465
dc60cb11
SP
10466 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10467 code.
10468
60f5a8b5
SP
10469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10470 up changes with default code.
10471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10472 Likewise.
10473
b4d1fd33
AM
104742013-02-24 Allan McRae <allan@archlinux.org>
10475
faf6f8bc
AM
10476 * manual/socket.texi (The Internet Namespace): Order menu items
10477 to match that in the file.
10478
b4d1fd33
AM
10479 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10480 node listing of the info page menu.
10481
2366713d
JM
104822013-02-21 Joseph Myers <joseph@codesourcery.com>
10483
10484 [BZ #13550]
10485 * sysdeps/i386/bp-asm.h: Remove file.
10486 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10487 (PARMS): Do not use macros from bp-asm.h.
10488 (S1): Likewise.
10489 (S2): Likewise.
10490 (SIZE): Likewise.
10491 (__mpn_add_n): Do not use BP_SYM
10492 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10493 "bp-asm.h".
10494 (PARMS): Do not use macros from bp-asm.h.
10495 (S1): Likewise.
10496 (SIZE): Likewise.
10497 (__mpn_addmul_1): Do not use BP_SYM
10498 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10499 "bp-asm.h".
10500 (PARMS): Do not use macros from bp-asm.h.
10501 (SIGMSK): Likewise.
10502 (_setjmp): Likewise. Do not use BP_SYM.
10503 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10504 "bp-asm.h".
10505 (PARMS): Do not use macros from bp-asm.h.
10506 (SIGMSK): Likewise.
10507 (setjmp): Likewise. Do not use BP_SYM.
10508 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10509 "bp-asm.h".
10510 (PARMS): Do not use macros from bp-asm.h.
10511 (__frexp): Do not use BP_SYM.
10512 (frexp): Likewise.
10513 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10514 "bp-asm.h".
10515 (PARMS): Do not use macros from bp-asm.h.
10516 (__frexpf): Do not use BP_SYM.
10517 (frexpf): Likewise.
10518 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10519 "bp-asm.h".
10520 (PARMS): Do not use macros from bp-asm.h.
10521 (__frexpl): Do not use BP_SYM.
10522 (frexpl): Likewise.
10523 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10524 "bp-asm.h".
10525 (PARMS): Do not use macros from bp-asm.h.
10526 (__remquo): Do not use BP_SYM.
10527 (remquo): Likewise.
10528 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10529 "bp-asm.h".
10530 (PARMS): Do not use macros from bp-asm.h.
10531 (__remquof): Do not use BP_SYM.
10532 (remquof): Likewise.
10533 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10534 "bp-asm.h".
10535 (PARMS): Do not use macros from bp-asm.h.
10536 (__remquol): Do not use BP_SYM.
10537 (remquol): Likewise.
10538 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10539 "bp-asm.h".
10540 (PARMS): Do not use macros from bp-asm.h.
10541 (DEST): Likewise.
10542 (SRC): Likewise.
10543 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10544 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10545 "bp-asm.h".
10546 (PARMS): Do not use macros from bp-asm.h.
10547 (strlen): Do not use BP_SYM.
10548 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10549 "bp-asm.h".
10550 (PARMS): Do not use macros from bp-asm.h.
10551 (S1): Likewise.
10552 (S2): Likewise.
10553 (SIZE): Likewise.
10554 (__mpn_add_n): Do not use BP_SYM.
10555 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10556 "bp-asm.h".
10557 (PARMS): Do not use macros from bp-asm.h.
10558 (S1): Likewise.
10559 (SIZE): Likewise.
10560 (__mpn_addmul_1): Do not use BP_SYM.
10561 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10562 weak_alias.
10563 (bzero): Likewise.
10564 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10565 "bp-asm.h".
10566 (PARMS): Do not use macros from bp-asm.h.
10567 (S): Likewise.
10568 (SIZE): Likewise.
10569 (__mpn_lshift): Do not use BP_SYM.
10570 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10571 "bp-asm.h".
10572 (PARMS): Do not use macros from bp-asm.h.
10573 (DEST): Likewise.
10574 (SRC): Likewise.
10575 (LEN): Likewise.
10576 (memcpy): Likewise. Do not use BP_SYM.
10577 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10578 libc_hidden_def and weak_alias.
10579 (mempcpy): Do not use BP_SYM in weak_alias.
10580 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10581 "bp-asm.h".
10582 (PARMS): Do not use macros from bp-asm.h.
10583 (DEST): Likewise.
10584 (LEN): Likewise.
10585 [!BZERO_P] (CHR): Likewise.
10586 (memset): Likewise. Do not use BP_SYM.
10587 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10588 "bp-asm.h".
10589 (PARMS): Do not use macros from bp-asm.h.
10590 (S1): Likewise.
10591 (SIZE): Likewise.
10592 (__mpn_mul_1): Do not use BP_SYM.
10593 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10594 "bp-asm.h".
10595 (PARMS): Do not use macros from bp-asm.h.
10596 (S): Likewise.
10597 (SIZE): Likewise.
10598 (__mpn_rshift): Do not use BP_SYM.
10599 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10600 "bp-asm.h".
10601 (PARMS): Do not use macros from bp-asm.h.
10602 (STR): Likewise.
10603 (CHR): Likewise.
10604 (strchr): Likewise. Do not use BP_SYM.
10605 (index): Do not use BP_SYM in weak_alias.
10606 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10607 "bp-asm.h".
10608 (PARMS): Do not use macros from bp-asm.h.
10609 (DEST): Likewise.
10610 (SRC): Likewise.
10611 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10612 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10613 "bp-asm.h".
10614 (PARMS): Do not use macros from bp-asm.h.
10615 (strlen): Do not use BP_SYM.
10616 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10617 "bp-asm.h".
10618 (PARMS): Do not use macros from bp-asm.h.
10619 (S1): Likewise.
10620 (S2): Likewise.
10621 (SIZE): Likewise.
10622 (__mpn_sub_n): Do not use BP_SYM.
10623 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10624 "bp-asm.h".
10625 (PARMS): Do not use macros from bp-asm.h.
10626 (S1): Likewise.
10627 (SIZE): Likewise.
10628 (__mpn_submul_1): Do not use BP_SYM.
10629 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10630 "bp-asm.h".
10631 (PARMS): Do not use macros from bp-asm.h.
10632 (S1): Likewise.
10633 (S2): Likewise.
10634 (SIZE): Likewise.
10635 (__mpn_add_n): Do not use BP_SYM.
10636 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10637 weak_alias.
10638 (bzero): Likewise.
10639 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10640 "bp-asm.h".
10641 (PARMS): Do not use macros from bp-asm.h.
10642 (BLK2): Likewise.
10643 (LEN): Likewise.
10644 (memcmp): Do not use BP_SYM.
10645 (bcmp): Do not use BP_SYM in weak_alias.
10646 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10647 "bp-asm.h".
10648 (PARMS): Do not use macros from bp-asm.h.
10649 (DEST): Likewise.
10650 (SRC): Likewise.
10651 (LEN): Likewise.
10652 (memcpy): Likewise. Do not use BP_SYM.
10653 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10654 "bp-asm.h".
10655 (PARMS): Do not use macros from bp-asm.h.
10656 (DEST): Likewise.
10657 (SRC): Likewise.
10658 (LEN): Likewise.
10659 (memmove): Likewise. Do not use BP_SYM.
10660 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10661 "bp-asm.h".
10662 (PARMS): Do not use macros from bp-asm.h.
10663 (DEST): Likewise.
10664 (SRC): Likewise.
10665 (LEN): Likewise.
10666 (__mempcpy): Likewise. Do not use BP_SYM.
10667 (mempcpy): Do not use BP_SYM in weak_alias.
10668 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10669 "bp-asm.h".
10670 (PARMS): Do not use macros from bp-asm.h.
10671 (DEST): Likewise.
10672 (LEN): Likewise.
10673 [!BZERO_P] (CHR): Likewise.
10674 (memset): Likewise. Do not use BP_SYM.
10675 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10676 "bp-asm.h".
10677 (PARMS): Do not use macros from bp-asm.h.
10678 (STR2): Likewise.
10679 (strcmp): Do not use BP_SYM.
10680 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10681 "bp-asm.h".
10682 (PARMS): Do not use macros from bp-asm.h.
10683 (STR): Likewise.
10684 (DELIM): Likewise.
10685 [USE_AS_STRTOK_R] (SAVE): Likewise.
10686 (FUNCTION): Likewise. Do not use BP_SYM.
10687 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10688 aliases.
10689 (strtok_r): Likewise.
10690 (__GI___strtok_r): Likewise.
10691 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10692 (PARMS): Do not use macros from bp-asm.h.
10693 (S): Likewise.
10694 (SIZE): Likewise.
10695 (__mpn_lshift): Do not use BP_SYM.
10696 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10697 (PARMS): Do not use macros from bp-asm.h.
10698 (STR): Likewise.
10699 (CHR): Likewise.
10700 (__memchr): Do not use BP_SYM.
10701 (memchr): Do not use BP_SYM in weak_alias.
10702 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10703 (PARMS): Do not use macros from bp-asm.h.
10704 (BLK2): Likewise.
10705 (LEN): Likewise.
10706 (memcmp): Do not use BP_SYM.
10707 (bcmp): Do not use BP_SYM in weak_alias.
10708 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10709 (PARMS): Do not use macros from bp-asm.h.
10710 (S1): Likewise.
10711 (SIZE): Likewise.
10712 (__mpn_mul_1): Do not use BP_SYM.
10713 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10714 "bp-asm.h".
10715 (PARMS): Do not use macros from bp-asm.h.
10716 (STR): Likewise.
10717 (CHR): Likewise.
10718 (__rawmemchr): Do not use BP_SYM.
10719 (rawmemchr): Do not use BP_SYM in weak_alias.
10720 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10721 (PARMS): Do not use macros from bp-asm.h.
10722 (S): Likewise.
10723 (SIZE): Likewise.
10724 (__mpn_rshift): Do not use BP_SYM.
10725 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10726 (PARMS): Do not use macros from bp-asm.h.
10727 (SIGMSK): Likewise.
10728 (__sigsetjmp): Likewise. Do not use BP_SYM.
10729 * sysdeps/i386/start.S: Do not include "bp-sym.h".
10730 (_start): Do not use BP_SYM.
10731 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10732 (PARMS): Do not use macros from bp-asm.h.
10733 (DEST): Likewise.
10734 (SRC): Likewise.
10735 (__stpcpy): Likewise. Do not use BP_SYM.
10736 (stpcpy): Do not use BP_SYM in weak_alias.
10737 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10738 "bp-asm.h".
10739 (PARMS): Do not use macros from bp-asm.h.
10740 (DEST): Likewise.
10741 (SRC): Likewise.
10742 (LEN): Likewise.
10743 (__stpncpy): Likewise. Do not use BP_SYM.
10744 (stpncpy): Do not use BP_SYM in weak_alias.
10745 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10746 (PARMS): Do not use macros from bp-asm.h.
10747 (STR): Likewise.
10748 (CHR): Likewise.
10749 (strchr): Likewise. Do not use BP_SYM.
10750 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10751 "bp-asm.h".
10752 (PARMS): Do not use macros from bp-asm.h.
10753 (STR): Likewise.
10754 (CHR): Likewise.
10755 (__strchrnul): Likewise. Do not use BP_SYM.
10756 (strchrnul): Do not use BP_SYM in weak_alias.
10757 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10758 "bp-asm.h".
10759 (PARMS): Do not use macros from bp-asm.h.
10760 (STOP): Likewise.
10761 (strcspn): Do not use BP_SYM.
10762 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10763 "bp-asm.h".
10764 (PARMS): Do not use macros from bp-asm.h.
10765 (STR): Likewise.
10766 (STOP): Likewise.
10767 (strpbrk): Likewise. Do not use BP_SYM.
10768 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10769 "bp-asm.h".
10770 (PARMS): Do not use macros from bp-asm.h.
10771 (STR): Likewise.
10772 (CHR): Likewise.
10773 (strrchr): Likewise. Do not use BP_SYM.
10774 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10775 (PARMS): Do not use macros from bp-asm.h.
10776 (SKIP): Likewise.
10777 (strspn): Do not use BP_SYM.
10778 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10779 (PARMS): Do not use macros from bp-asm.h.
10780 (STR): Likewise.
10781 (DELIM): Likewise.
10782 (SAVE): Likewise.
10783 (FUNCTION): Likewise. Do not use BP_SYM.
10784 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10785 aliases.
10786 (strtok_r): Likewise.
10787 (__GI___strtok_r): Likewise.
10788 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10789 (PARMS): Do not use macros from bp-asm.h.
10790 (S1): Likewise.
10791 (S2): Likewise.
10792 (SIZE): Likewise.
10793 (__mpn_sub_n): Do not use BP_SYM.
10794 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10795 "bp-asm.h".
10796 (PARMS): Do not use macros from bp-asm.h.
10797 (S1): Likewise.
10798 (SIZE): Likewise.
10799 (__mpn_submul_1): Do not use BP_SYM.
10800 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10801 <bp-sym.h>.
10802 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10803 and <bp-asm.h>.
10804 (PARMS): Do not use macros from bp-asm.h.
10805 (FLAGS): Likewise.
10806 (PTID): Likewise.
10807 (TLS): Likewise.
10808 (CTID): Likewise.
10809 (__clone): Do not use BP_SYM.
10810 (clone): Do not use BP_SYM in weak_alias.
10811 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10812 and <bp-asm.h>.
10813 (PARMS): Do not use macros from bp-asm.h.
10814 (LEN): Likewise.
10815 (__mmap64): Do not use BP_SYM.
10816 (mmap64): Do not use BP_SYM in weak_alias.
10817 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10818 <bp-sym.h> and <bp-asm.h>.
10819 (PARMS): Do not use macros from bp-asm.h.
10820 (__posix_fadvise64_l64): Do not use BP_SYM.
10821 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10822 (PARMS): Do not use macros from bp-asm.h.
10823 (NSOPS): Likewise.
10824 (semtimedop): Do not use BP_SYM.
10825 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10826 and <bp-asm.h>.
10827
582a3cff
AM
108282013-02-21 Allan McRae <allan@archlinux.org>
10829
10830 * manual/message.texi (Charset conversion in gettext):
10831 Move @end statement to beginning of line.
10832
bab8a695
SP
108332013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10834
80945231
SP
10835 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10836 static.
10837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10838 Likewise.
10839
bab8a695
SP
10840 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10841 (denorm): Likewise.
10842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10843 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10844
e21d7aa7
AK
108452013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10846
10847 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10848 tail-call to the resolved function if pltexit isn't needed.
10849
4c7a4263
SP
108502013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10851
10852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10853 or Y being zero as being unlikely.
10854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10855 Likewise.
10856
41f49342
CD
108572013-02-20 Carlos O'Donell <carlos@redhat.com>
10858
10859 * manual/nss.texi (System Databases and Name Service Switch):
10860 Remove frobnicate @pxref.
10861
50022a93
TS
108622013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10863
10864 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10865 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10866
08cbd996
PM
108672013-02-20 Petr Machata <pmachata@redhat.com>
10868
10869 * elf/elf.h (R_ARM_TARGET1): New macro.
10870 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10871 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10872 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10873 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10874 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10875 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10876 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10877 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10878 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10879 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10880 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10881 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10882 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10883 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10884 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10885 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10886 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10887 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10888 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10889 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10890 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10891 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10892 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10893 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10894 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10895 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10896 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10897 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10898 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10899 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10900 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10901 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10902 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10903 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10904 (R_ARM_THM_GOT_BREL12): Likewise.
10905 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10906 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10907 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10908 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10909 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10910 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10911 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10912 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10913 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10914
c7b275d6
TS
109152013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10916
10917 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10918 __attribute_used__ to __attribute__ ((unused)).
10919
20cd7fb3
SP
109202013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10921
10922 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10923 powerpc mpa.c.
10924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10925 comment formatting.
10926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10927
92945b52
JM
109282013-02-19 Joseph Myers <joseph@codesourcery.com>
10929
10930 [BZ #13550]
10931 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10932 Remove macro.
10933 (ENTER): Remove both macro definitions.
10934 (LEAVE): Likewise.
10935 (CHECK_BOUNDS_LOW): Likewise.
10936 (CHECK_BOUNDS_HIGH): Likewise.
10937 (CHECK_BOUNDS_BOTH): Likewise.
10938 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10939 (RETURN_BOUNDED_POINTER): Likewise.
10940 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10941 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10942 (POP_ERRNO_LOCATION_RETURN): Likewise.
10943 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10944 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10945 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10946 macros.
10947 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10948 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10949 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10950 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10951 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10952 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10953 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10954 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10955 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10956 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10957 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10958 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10959 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10960 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10961 removed macros.
10962 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10963 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10964 macros.
10965 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10966 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10967 * sysdeps/i386/i586/memset.S (memset): Likewise.
10968 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10969 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10970 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10971 macros.
10972 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10973 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10974 Change uses of L(2) to L(out).
10975 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10976 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10977 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10978 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10979 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10980 removed macros.
10981 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10982 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10983 macros.
10984 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10985 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10986 (RETURN): Do not use macro LEAVE.
10987 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10988 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10989 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10990 * sysdeps/i386/i686/memset.S (memset): Likewise.
10991 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10992 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10993 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10994 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10995 Likewise.
10996 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10997 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10998 L(1_2) and L(1_3) into L(1).
10999 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11000 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11001 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11002 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11003 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11004 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11005 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11006 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11007 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11008 macros.
11009 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11010 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11011 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11012 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11013 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11014 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11015 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11016 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11017 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11018 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11019 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11020 * sysdeps/i386/strspn.S (strspn): Likewise.
11021 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11022 conditional code.
11023 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11024 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11025 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11026 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11027 L(1_3) into L(1_1).
11028 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11029 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11030 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11031 macros.
11032 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11033
2389741a
JJ
110342013-02-19 Jakub Jelinek <jakub@redhat.com>
11035
11036 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11037 macro.
11038
2016b3cd
SP
110392013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11040
e4f22324
SP
11041 * math/atest-exp.c (exp_mpn): Remove ROUND.
11042 * math/atest-exp2.c (exp_mpn): Likewise.
11043 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11044
2016b3cd
SP
11045 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11046 * stdlib/tst-tls-atexit-lib.c: Likewise.
11047 * stdlib/tst-tls-atexit.c: Likewise.
11048
4be9b544
MF
110492013-02-18 Mike Frysinger <vapier@gentoo.org>
11050
11051 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11052 and __attribute_alloc_size__.
11053
2f62b9ee
MF
110542013-02-18 Mike Frysinger <vapier@gentoo.org>
11055
11056 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11057 __attribute_alloc_size__.
11058 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11059 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11060
6ff444c4
MF
110612013-02-18 Mike Frysinger <vapier@gentoo.org>
11062
11063 * include/programs/xmalloc.h: New file.
11064 * catgets/gencat.c: Include it.
11065 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11066 * elf/pldd.c: Likewise.
11067 * iconv/iconv_charmap.c: Likewise.
11068 * iconv/iconvconfig.c: Likewise.
11069 * iconv/strtab.c: Likewise.
11070 * locale/programs/locale.c: Likewise.
11071 * locale/programs/localedef.h: Likewise.
11072 * locale/programs/simple-hash.c: Likewise.
11073 * nscd/nscd.h: Likewise.
11074 * nss/makedb.c: Likewise.
11075 * sysdeps/generic/ldconfig.h: Likewise.
11076
be179c8a
SP
110772013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11078
ba384f6e
SP
11079 * Versions.def: Add GLIBC_2.18.
11080 * include/link.h (struct link_map): New member l_tls_dtor_count.
11081 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11082 (__call_tls_dtors): Likewise.
11083 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11084 __cxa_thread_atexit_impl.
11085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11086 Likewise.
11087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11088 Likewise.
11089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11090 Likewise.
11091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11092 Likewise.
11093 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11095 Likewise.
11096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11097 Likewise.
11098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11100 Likewise.
11101 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11102 (tests): Add test case tst-tls-atexit.
11103 (modules-names): Add shared library for tst-tls-atexit.
85891aca 11104 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
11105 (GLIBC_PRIVATE): Add __call_tls_dtors.
11106 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11107 for libstdc++.
11108 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11109 * stdlib/tst-tls-atexit.c: New test case.
11110 * stdlib/tst-tls-atexit-lib.c: New test case.
11111
ffaa74cf 11112 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 11113
be179c8a
SP
11114 * elf/Versions (ld): Add _dl_find_dso_for_object.
11115 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11116 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11117 (dl_open_worker): Use _dl_find_dso_for_object.
11118 * elf/dl-sym.c (do_sym): Likewise.
11119 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11120
f78b5caa
AK
111212013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11122
11123 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11124 Syntactic changes only.
11125 (_dl_runtime_profile): Do a tail-call to the resolved function.
11126
29691210
JM
111272013-02-17 Joseph Myers <joseph@codesourcery.com>
11128
11129 [BZ #13550]
11130 * sysdeps/x86_64/bp-asm.h: Remove file.
11131 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11132 <bp-sym.h> and <bp-asm.h>.
11133 (__clone): Do not use BP_SYM.
11134 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11135 <bp-sym.h> and <bp-asm.h>.
11136 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11137 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11138 "bp-asm.h".
11139 (_setjmp): Do not use BP_SYM.
11140 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11141 "bp-asm.h".
11142 (setjmp): Do not use BP_SYM.
11143 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11144 libc_hidden_def.
11145 (mempcpy): Do not use BP_SYM in weak_alias.
11146 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11147 "bp-asm.h".
11148 (strchr): Do not use BP_SYM.
11149 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11150 "bp-asm.h".
11151 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11152 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11153 (_start): Do not use BP_SYM.
11154 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11155 "bp-asm.h".
11156 (strcat): Do not use BP_SYM.
11157 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11158 "bp-asm.h".
11159 (STRCMP): Do not use BP_SYM.
11160 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11161 "bp-asm.h".
11162 (STRCPY): Do not use BP_SYM.
11163 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11164 "bp-asm.h".
11165 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11166 "bp-asm.h".
11167 (FUNCTION): Do not use BP_SYM.
11168 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11169 weak_alias.
11170 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11171
f238fd19
AJ
111722013-02-17 Andreas Jaeger <aj@suse.de>
11173
11174 * time/Versions: Sort entries.
11175 * string/Versions: Likewise.
11176 * resolv/Versions: Likewise.
11177 * posix/Versions: Likewise.
11178 * iconv/Versions: Likewise.
11179 * elf/Versions: Likewise.
11180 * wcsmbs/Versions: Likewise.
11181
bd07f23c 111822013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 11183
22af19f9
SP
11184 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11185 loop termination condition.
11186
4709fe76
SP
11187 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11188 variable to calculate EZ.
11189 (__sqr): Likewise.
2d0e0f29
SP
11190
11191 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11192 the lower precision input.
11193
daaa7713
JM
111942013-02-15 Joseph Myers <joseph@codesourcery.com>
11195
11196 [BZ #13550]
11197 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11198 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11199 (run-via-rtld-prefix): Do not handle %-bp tests.
11200 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11201 (all-object-suffixes): Remove .ob.
11202 (bppfx): Remove variable.
11203 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11204 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11205 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11206 [$(build-bounded) = yes] (libtype.ob): Likewise.
11207 * Makerules (elide-routines.ob): Remove variable.
11208 (do-tests-clean): Do not handle *-bp.out.
11209 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11210 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11211 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11212 (tests): Do not include $(tests-bp.out).
11213 (xtests): Do not include $(xtests-bp.out).
11214 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11215 [$(build-bounded) = yes] ($(addprefix
11216 $(objpfx),$(binaries-bounded))): Remove rule.
11217 ($(objpfx)%-bp.out): Remove rule.
11218 * config.make.in (build-bounded): Remove variable.
11219 * crypt/Makefile [$(build-bounded) = yes]
11220 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11221 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11222 append to variable.
11223 [$(build-bounded) = yes] (install-lib): Likewise.
11224 [$(build-bounded) = yes] (generated): Likewise.
11225 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11226 Remove rule.
11227 * intl/Makefile [$(build-bounded) = yes]
11228 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11229 * math/Makefile [$(build-bounded) = yes]
11230 ($(tests:%=$(objpfx)%-bp): Likewise.
11231 * misc/Makefile [$(build-bounded) = yes]
11232 ($(objpfx)tst-tsearch-bp): Likewise.
11233 * nptl/Makeconfig (bounded-thread-library): Remove variable.
11234 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11235 Remove dependency.
11236 * string/Makefile (o-objects.ob): Remove variable.
11237 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11238 (CFLAGS-.ob): Remove variable.
11239 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11240 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11241 both definitions of variable.
11242 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11243 (ASFLAGS-.ob): Remove variable.
11244
e97ed6dd
JM
112452013-02-14 Joseph Myers <joseph@codesourcery.com>
11246
2bdd4ca6
JM
11247 [BZ #13550]
11248 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11249 Remove __BOUNDED_POINTERS__ from condition.
11250 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11251 * string/bits/string2.h [!__NO_STRING_INLINES &&
11252 !__BOUNDED_POINTERS__]: Likewise.
11253 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11254 Likewise.
11255 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11256 Remove conditional code.
11257 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11258 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11259 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11260 condition.
11261
e97ed6dd
JM
11262 [BZ #13550]
11263 * csu/libc-start.c: Do not include <bp-sym.h>.
11264 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11265 * elf/dl-open.c: Do not include <bp-sym.h>.
11266 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11267 * math/fegetenv.c: Do not include <bp-sym.h>.
11268 (fegetenv): Do not use BP_SYM in versioned symbols.
11269 * nptl/sysdeps/pthread/bits/libc-lockP.h
11270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11271 <bp-sym.h>.
11272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11273 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11275 (__pthread_mutex_destroy): Likewise.
11276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11277 (__pthread_mutex_lock): Likewise.
11278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11279 (__pthread_mutex_trylock): Likewise.
11280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11281 (__pthread_mutex_unlock): Likewise.
11282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11283 (__pthread_mutexattr_init): Likewise.
11284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11285 (__pthread_mutexattr_destroy): Likewise.
11286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11287 (__pthread_mutexattr_settype): Likewise.
11288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11289 (__pthread_rwlock_init): Likewise.
11290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11291 (__pthread_rwlock_destroy): Likewise.
11292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11293 (__pthread_rwlock_rdlock): Likewise.
11294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11295 (__pthread_rwlock_tryrdlock): Likewise.
11296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11297 (__pthread_rwlock_wrlock): Likewise.
11298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11299 (__pthread_rwlock_trywrlock): Likewise.
11300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11301 (__pthread_rwlock_unlock): Likewise.
11302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11303 (__pthread_key_create): Likewise.
11304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11305 (__pthread_setspecific): Likewise.
11306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11307 (__pthread_getspecific): Likewise.
11308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11309 Likewise.
11310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11311 (_pthread_cleanup_push_defer): Likewise.
11312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11313 (_pthread_cleanup_pop_restore): Likewise.
11314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11315 (pthread_setcancelstate): Likewise.
11316 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11317 <bp-sym.h>.
11318 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11319 (memchr): Do not use BP_SYM in weak_alias.
11320 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11321 (fegetenv): Do not use BP_SYM in versioned symbols.
11322 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11323 (fesetenv): Do not use BP_SYM in versioned symbols.
11324 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11325 (feupdateenv): Do not use BP_SYM in versioned symbols.
11326 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11327 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11328 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11329 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11330 (open64): Do not use BP_SYM in weak_alias.
11331 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11332 (fegetenv): Do not use BP_SYM in versioned symbols.
11333 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11334 (fesetenv): Do not use BP_SYM in versioned symbols.
11335 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11336 (feupdateenv): Do not use BP_SYM in versioned symbols.
11337 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11338 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11339 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11340 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11341 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11342 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11343 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11344 <bp-sym.h>.
11345 (__libc_start_main): Do not use BP_SYM.
11346
d6752ccd
SP
113472013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11348
cb57ce60
SP
11349 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11350 redundant return line.
11351 (norm): Likewise.
11352 (denorm): Likewise.
11353 (dbl_mp): Likewise.
11354 (sub_magnitudes): Likewise.
11355 (__add): Likewise.
11356 (__sub): Likewise.
11357 (__mul): Likewise.
11358 (__inv): Likewise.
11359 (__dvd): Likewise.
11360 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11361 (norm): Likewise.
11362 (denorm): Likewise.
11363 (dbl_mp): Likewise.
11364 (sub_magnitudes): Likewise.
11365 (__add): Likewise.
11366 (__sub): Likewise.
11367 (__mul): Likewise.
11368 (__inv): Likewise.
11369 (__dvd): Likewise.
11370
f414520d
SP
11371 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11372 instead of __mul.
11373 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11374 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11375 (cc32): Likewise.
11376
d6752ccd
SP
11377 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11378 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11379 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11380 of __mul for squares.
11381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11382 function
11383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11384 Likewise.
11385 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11386 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11387
70d9946a
JM
113882013-02-13 Joseph Myers <joseph@codesourcery.com>
11389
11390 [BZ #13550]
11391 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11392 code.
11393 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11394 prototype or function definition. Rename ubp_* variables and
11395 parameters. Remove argv definitions conditional on
11396 [__BOUNDED_POINTERS__].
11397 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11398 * elf/dl-runtime.c (_dl_fixup): Likewise.
11399 * include/set-hooks.h (RUN_HOOK): Likewise.
11400 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11401 definition.
11402 * string/strcpy.c (strcpy): Do not use __unbounded.
11403 * sysdeps/generic/frame.h (struct layout): Likewise.
11404 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11405 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11406 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11407 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11408 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11409 (__backtrace): Likewise.
11410 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11411 use __ptrvalue.
11412 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11413 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11414 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11415 Likewise.
11416 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11417 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11418 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11419 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11420 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11421 Do not use __unbounded.
11422 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11423 Rename __unboundedrlimits parameter to rlimits in prototype.
11424 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11425 Do not use __unbounded.
11426 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11427 not use __ptrvalue.
11428 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11429 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11430 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11431 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11432 __ptrvalue or __unbounded.
11433 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11434 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11435 use __unbounded.
11436 (__new_msgctl): Do not use __ptrvalue.
11437 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11438 __unbounded.
11439 (__libc_msgrcv): Do not use __ptrvalue.
11440 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11441 startup_info): Do not use __unbounded.
11442 (__libc_start_main): Likewise. Rename ubp_* variables and
11443 parameters. Remove argv definitions conditional on
11444 [__BOUNDED_POINTERS__].
11445 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11446 __ptrvalue.
11447 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11448 use __unbounded.
11449 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11450 or __ptrvalue.
11451 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11452 use __unbounded.
11453 (__new_shmctl): Do not use __ptrvalue.
11454 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11455 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11456 Likewise.
11457 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11458 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11459 (__libc_sigaction): Likewise.
11460 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11461 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11462 Likewise.
11463 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11464
cc7834d6
OB
114652013-02-13 Ondřej Bílka <neleai@seznam.cz>
11466
ffb1ec7b 11467 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
11468
11469 * string/mempcpy.c: Implement by calling memcpy.
11470
bdf02814
SP
114712013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11472
c2af38aa
SP
11473 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11474
4e92d59e
SP
11475 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11476 evaluation.
11477
909279a5
SP
11478 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11479 values in the mantissa.
11480
bdf02814
SP
11481 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11482 minimize writes to Z.
11483 (sub_magnitudes): Simplify code a bit.
11484
cd525923
RM
114852013-02-12 Roland McGrath <roland@hack.frob.com>
11486
11487 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11488 from the message. The linker prefixes all warnings with that already.
11489
7e2f0d2d
AS
114902013-02-12 Andreas Schwab <schwab@suse.de>
11491
a445af0b
AS
11492 [BZ #15078]
11493 * posix/regexec.c (extend_buffers): Add parameter min_len.
11494 (check_matching): Pass minimum needed length.
11495 (clean_state_log_if_needed): Likewise.
11496 (get_subexp): Likewise.
11497 * posix/Makefile (tests): Add bug-regex34.
11498 (bug-regex34-ENV): Define.
11499 * posix/bug-regex34.c: New file.
11500
7e2f0d2d
AS
11501 [BZ #11561]
11502 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11503 elements compare against the byte sequence of it, not its name.
11504 * posix/Makefile (tests): Add bug-regex35.
11505 (bug-regex35-ENV): Define.
11506 * posix/bug-regex35.c: New file.
11507
a175b684
TV
115082013-02-11 Tom de Vries <tom@codesourcery.com>
11509
11510 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11511 comment.
11512 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11513 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11514 (CHECK_EOL): Add undef.
11515
310998fe 115162013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
11517
11518 * bits/stdlib-bsearch.h: New file.
11519 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 11520 * stdlib/stdlib.h: Likewise.
41eda41d 11521
8ded91fb
RM
115222013-02-11 Roland McGrath <roland@hack.frob.com>
11523
11524 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11525 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11526 declaration.
11527 * manual/search.texi (Array Search Function): Add missing const in
11528 lfind prototype.
11529 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11530 declaration to use rlim_t.
11531 (Basic Scheduling Functions): Remove erroneous const from
11532 sched_getparam prototype. Remove erroneous * from
11533 sched_get_priority_max and sched_get_priority_min prototypes.
11534 (Resource Usage): Fix summary @comment on vtimes to refer to
11535 sys/vtimes.h rather than vtimes.h.
11536 Add missing *s in vtimes prototype.
11537 (Limits on Resources): Fix ulimit prototype to return long int.
11538 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11539 prototypes to use long int rather than double.
11540 (BSD Random): Fix initstate and setstate to use char *, not void *.
11541 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11542 prototype to make second argument 'struct aiocb64 *const[]'.
11543 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11544 (Status of AIO Operations): Remove erroneous const in aio_return and
11545 aio_return64 prototypes.
11546 (Synchronizing I/O): Fix sync prototype to return void.
11547 * manual/startup.texi (Suboptions): Remove an erroneous const in
11548 getsubopt prototype.
11549 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11550 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11551 use size_t rather than int.
11552 (Scanning All Users): Likewise for getpwent_r.
11553 (Setting Groups): Add missing const to setgroups prototype.
11554 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11555 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11556 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11557 'const void *' rather than 'const char *'.
11558 (Host Address Functions): Likewise for inet_ntop.
11559 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11560 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11561 ssize_t for return value.
11562 (Sending Data): Likewise for send, sendto, sendmsg.
11563 (Socket Option Functions): Add a missing const in setsockopt prototype.
11564 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11565 use wchar_t for the argument.
11566 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11567 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11568 take no arguments.
11569 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11570 double/float/long double for second argument.
11571 Fix return types of significand, significandf, significandl.
11572 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11573 argument in fchmod prototype.
11574 (File Owner): Use uid_t and gid_t in fchown prototype.
11575 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11576 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11577 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11578 use 'const struct dirent **' as argument types to CMP function pointer
11579 argument.
11580 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11581 (File Times): Fix summary magic @comment for struct utimbuf and utime
11582 to refer to utime.h, not time.h.
11583 * manual/string.texi (Argz Functions): Add missing const in
11584 argz_extract and argz_next prototypes.
11585 (Finding Tokens in a String): Likewise for basename.
11586 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11587 (Copying and Concatenation): Fix typo in wmemmove prototype.
11588 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11589 (Signal Stack): Remove erroneous const in sigstack prototype.
11590 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11591 prototype.
11592 (Simple Calendar Time): Likewise for stime.
11593 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11594 prototype.
11595 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11596 say sys/sysctl.h instead.
11597 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11598 and vsyslog prototypes.
11599
fe77fe6d
TV
116002013-02-11 Tom de Vries <tom@codesourcery.com>
11601
11602 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11603 Remove.
11604
3a09b620
RM
116052013-02-11 Roland McGrath <roland@hack.frob.com>
11606
11607 * misc/sys/mman.h: Fix typo in mremap comment.
11608
550a0b89
RM
116092013-02-08 Roland McGrath <roland@hack.frob.com>
11610
11611 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11612 the '\0' terminator.
11613
a2da1673
JM
116142013-02-08 Joseph Myers <joseph@codesourcery.com>
11615
11616 [BZ #13550]
11617 * debug/segfault.c: Don't include <bp-checks.h>.
11618 * sysdeps/generic/bp-checks.h: Remove file.
11619 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11620 (__GETDENTS): Don't use CHECK_N.
11621 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11622 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11623 (__getgroups): Don't use CHECK_N.
11624 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11625 (setgroups): Don't use CHECK_N.
11626 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11627 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11628 (__libc_msgrcv): Don't use CHECK_N.
11629 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11630 (__libc_msgsnd): Don't use CHECK_N.
11631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11632 <bp-checks.h>.
11633 (__libc_pread): Don't use CHECK_N.
11634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11635 include <bp-checks.h>.
11636 (__libc_pread64): Don't use CHECK_N.
11637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11638 include <bp-checks.h>.
11639 (__libc_pwrite): Don't use CHECK_N.
11640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11641 include <bp-checks.h>.
11642 (__libc_pwrite64): Don't use CHECK_N.
11643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11644 <bp-checks.h>.
11645 (__libc_pread): Don't use CHECK_N.
11646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11647 include <bp-checks.h>.
11648 (__libc_pread64): Don't use CHECK_N.
11649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11650 include <bp-checks.h>.
11651 (__libc_pwrite): Don't use CHECK_N.
11652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11653 include <bp-checks.h>.
11654 (__libc_pwrite64): Don't use CHECK_N.
11655 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11656 (do_pread): Don't use CHECK_N.
11657 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11658 (do_pread64): Don't use CHECK_N.
11659 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11660 (do_pwrite): Don't use CHECK_N.
11661 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11662 (do_pwrite64): Don't use CHECK_N.
11663 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11664 (__libc_readv): Don't use CHECK_N.
11665 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11666 (semop): Don't use CHECK_N.
11667 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11668 <bp-checks.h>.
11669 (semtimedop): Don't use CHECK_N.
11670 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11671 (__libc_pread): Don't use CHECK_N.
11672 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11673 <bp-checks.h>.
11674 (__libc_pread64): Don't use CHECK_N.
11675 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11676 <bp-checks.h>.
11677 (__libc_pwrite): Don't use CHECK_N.
11678 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11679 <bp-checks.h>.
11680 (__libc_pwrite64): Don't use CHECK_N.
11681 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11682 <bp-checks.h>.
11683 (__libc_msgrcv): Don't use CHECK_N.
11684 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11685 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11686 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11687 (__libc_writev): Don't use CHECK_N.
11688
b84660a8
RM
116892013-02-08 Roland McGrath <roland@hack.frob.com>
11690
7f3e75f8
RM
11691 * string/strcpy.c: Removed unused variable.
11692
b84660a8
RM
11693 * Makeconfig (+sysdep-includes): Define with := rather than =.
11694 Use an existing include/ subdir of each sysdeps dir before it.
11695
471514d3
CD
116962013-02-08 Carlos O'Donell <carlos@redhat.com>
11697
11698 * nscd/connection.c (register_traced_file): Comment function.
11699 [HAVE_INOTIFY] (union __inev): Define.
11700 [HAVE_INOTIFY] (inotify_check_files): New function.
11701 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11702 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11703 clear_db_cache.
11704 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11705
b2d3c3be
CD
117062013-02-08 Carlos O'Donell <carlos@redhat.com>
11707
11708 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11709 loaded if not already and that a failure is permanent.
11710
b39949d2
CD
117112013-02-08 Carlos O'Donell <carlos@redhat.com>
11712
ddacd1db 11713 [BZ #15006]
b39949d2
CD
11714 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11715 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11716
b2c9eff4
JM
117172013-02-08 Joseph Myers <joseph@codesourcery.com>
11718
f3aae3f3
JM
11719 [BZ #13550]
11720 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11721 (CHECK_1_NULL_OK): Likewise.
11722 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11723 (__fxstat): Do not use CHECK_1.
11724 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11725 <bp-checks.h>.
11726 (___fxstat64): Do not use CHECK_1.
11727 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11728 <bp-checks.h>.
11729 (__fxstatat): Do not use CHECK_1.
11730 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11731 <bp-checks.h>.
11732 (__fxstatat64): Do not use CHECK_1.
11733 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11734 <bp-checks.h>.
11735 (__fxstat): Do not use CHECK_1.
11736 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11737 <bp-checks.h>.
11738 (__fxstatat): Do not use CHECK_1.
11739 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11740 <bp-checks.h>.
11741 (__getresgid): Do not use CHECK_1.
11742 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11743 <bp-checks.h>.
11744 (__getresuid): Do not use CHECK_1.
11745 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11746 <bp-checks.h>.
11747 (__lxstat): Do not use CHECK_1.
11748 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11749 <bp-checks.h>.
11750 (__old_msgctl): Do not use CHECK_1.
11751 (__new_msgctl): Likewise.
11752 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11753 <bp-checks.h>.
11754 (__new_setrlimit): Do not use CHECK_1.
11755 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11756 <bp-checks.h>.
11757 (__old_shmctl): Do not use CHECK_1.
11758 (__new_shmctl): Likewise.
11759 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11760 <bp-checks.h>.
11761 (__xstat): Do not use CHECK_1.
11762 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11763 (__lxstat): Do not use CHECK_1.
11764 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11765 <bp-checks.h>.
11766 (___lxstat64): Do not use CHECK_1.
11767 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11768 (__old_msgctl): Do not use CHECK_1.
11769 (__new_msgctl): Likewise.
11770 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11771 <bp-checks.h>.
11772 (__gettimeofday): Do not use CHECK_1.
11773 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11774 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11775 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11776 <bp-checks.h>.
11777 (__gettimeofday): Do not use CHECK_1.
11778 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11779 (__old_shmctl): Do not use CHECK_1_NULL_OK.
11780 (__new_shmctl): Do not use CHECK_1.
11781 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11782 <bp-checks.h>.
11783 (do_sigtimedwait): Do not use CHECK_1.
11784 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11785 <bp-checks.h>.
11786 (do_sigwaitinfo): Do not use CHECK_1.
11787 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11788 <bp-checks.h>.
11789 (msgctl): Do not use CHECK_1.
11790 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11791 <bp-checks.h>.
11792 (shmctl): Do not use CHECK_1.
11793 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11794 (ustat): Do not use CHECK_1.
11795 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11796 <bp-checks.h>.
11797 (__fxstat): Do not use CHECK_1.
11798 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11799 <bp-checks.h>.
11800 (__fxstatat): Do not use CHECK_1.
11801 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11802 <bp-checks.h>.
11803 (__lxstat): Do not use CHECK_1.
11804 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11805 <bp-checks.h>.
11806 (__xstat): Do not use CHECK_1.
11807 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11808 (__xstat): Do not use CHECK_1.
11809 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11810 (___xstat64): Do not use CHECK_1.
11811
b2c9eff4
JM
11812 [BZ #13550]
11813 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11814 definitions.
11815 (CHECK_BOUNDS_HIGH): Likewise.
11816 * string/strcpy.c: Do not include <bp-checks.h>.
11817 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11818
f1d70dad
RM
118192013-02-07 Roland McGrath <roland@hack.frob.com>
11820
11821 * nscd/nscd-client.h (__nscd_drop_map_ref):
11822 Add __attribute__ ((unused)).
11823 * nis/nss-nisplus.h (niserr2nss): Likewise.
11824
11825 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11826 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11827
11828 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11829 Remove inline keyword.
11830 * include/rounding-mode.h (round_away): Likewise.
11831 * libio/wfileops.c (adjust_wide_data): Likewise.
11832 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11833 (__m128i_strloadu_tolower): Likewise.
11834 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11835 (__m128i_strloadu_tolower): Likewise.
11836 * time/mktime.c (ydhms_diff): Likewise.
11837 * locale/elem-hash.h (elem_hash): Likewise.
11838 * locale/setlocale.c (setdata): Likewise.
11839 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11840 (re_string_wchar_at): Likewise.
11841 (bitset_not, bitset_merge, bitset_mask): Likewise.
11842 [!(__GNUC__ > 3)] (inline): Remove macro.
11843 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11844 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11845 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11846 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11847 * string/memcmp.c (memcmp_bytes): Likewise.
11848 * locale/programs/locarchive.c (compute_hashval): Likewise.
11849 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11850 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11851 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11852 * nss/getent.c (print_rpc, print_protocols): Likewise.
11853 (print_passwd, print_group, print_aliases): Likewise.
11854 * nis/nss-nisplus.h (niserr2nss): Likewise.
11855 * nscd/connections.c (restart_p): Likewise.
11856 Change return type to bool.
11857
eab55bfb
RM
118582013-02-05 Roland McGrath <roland@hack.frob.com>
11859
7bd642f5
RM
11860 * Makeconfig (all-Depend-files): Add existing
11861 $(sorted-subdirs:=/Depend) files.
11862 (all-subdirs): Remove nss.
11863 * sysdeps/unix/inet/Subdirs: Add it here instead.
11864 * hesiod/Depend: New file.
11865
573c29b2
RM
11866 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11867 instead of calling alloca.
11868
b2e25af0
RM
11869 * io/lseek.c (__lseek): Rename to __libc_lseek.
11870 Define __lseek as an alias.
11871
eab55bfb
RM
11872 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11873
9a0d1941
CD
118742013-02-04 Carlos O'Donell <carlos@redhat.com>
11875
11876 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11877 else clause and remove check for non-standard endianness.
11878
b83bbec4
DM
118792013-02-04 David S. Miller <davem@davemloft.net>
11880
11881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11882
6277fdab
JM
118832013-02-04 Joseph Myers <joseph@codesourcery.com>
11884
11885 [BZ #13550]
11886 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11887 (__ubp_memchr): Remove prototype.
11888 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11889 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11890 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11891 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11892 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11893 Remove alias.
11894 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11895 (__ubp_memchr): Likewise.
11896 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11897 (__ubp_memchr): Likewise.
11898 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11899 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11900 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11901 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11902 CHECK_STRING.
11903 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11904 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11905 (__getcwd): Do not use CHECK_STRING.
11906 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11907 <bp-checks.h>.
11908 (__real_chown): Do not use CHECK_STRING.
11909 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11910 <bp-checks.h>.
11911 (fchownat): Do not use CHECK_STRING.
11912 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11913 CHECK_STRING.
11914 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11915 <bp-checks.h>.
11916 (__lchown): Do not use CHECK_STRING.
11917 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11918 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11919 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11920 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11922 include <bp-checks.h>.
11923 (truncate64): Do not use CHECK_STRING.
11924 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11925 <bp-checks.h>.
11926 (__real_chown): Do not use CHECK_STRING.
11927 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11928 <bp-checks.h>.
11929 (__lchown): Do not use CHECK_STRING.
11930 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11931 <bp-checks.h>.
11932 (__chown): Do not use CHECK_STRING.
11933 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11934 <bp-checks.h>.
11935 (truncate64): Do not use CHECK_STRING.
11936 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11937 Likewise.
11938 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11939 (__xmknod): Do not use CHECK_STRING.
11940 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11941 <bp-checks.h>.
11942 (__xmknodat): Do not use CHECK_STRING.
11943 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11944 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11945
903ae060
AS
119462013-02-04 Andreas Schwab <schwab@suse.de>
11947
11948 [BZ #14142]
11949 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11950 * include/netdb.h: Likewise for h_errno.
11951 * elf/tst-stackguard1.c: Include <tls.h>.
11952
542f9466
JK
119532013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11954
11955 * elf/link.h (struct link_map): Extend the l_addr comment.
11956 * include/link.h (struct link_map): Likewise.
11957
e782a927
JM
119582013-02-01 Joseph Myers <joseph@codesourcery.com>
11959
11960 [BZ #13550]
11961 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11962 (BOUNDED_1): Remove macro.
11963 * debug/backtrace.c: Don't include <bp-checks.h>.
11964 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11965 (__backtrace): Likewise.
11966 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11967 <bp-checks.h>.
11968 (__backtrace): Don't use BOUNDED_1.
11969 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11970 <bp-checks.h>.
11971 (__backtrace): Don't use BOUNDED_1.
11972 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11973 (__backtrace): Don't use BOUNDED_1.
11974 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11975 (shmat): Don't use BOUNDED_N.
11976
8cf28c5e
JM
119772013-01-31 Joseph Myers <joseph@codesourcery.com>
11978
3a7ac8a0
JM
11979 [BZ #13550]
11980 * sysdeps/generic/bp-start.h: Remove file.
11981 * csu/libc-start.c: Don't include <bp-start.h>.
11982 (LIBC_START_MAIN): Set up __environ directly instead of using
11983 INIT_ARGV_and_ENVIRON.
11984 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11985 <bp-start.h>.
11986
f3499f95
JM
11987 [BZ #13550]
11988 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11989 definitions.
11990 (CHECK_FCNTL): Likewise.
11991 (CHECK_N_PAGES): Likewise.
11992
32a45bea
JM
11993 [BZ #13550]
11994 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11995 definitions.
11996 (CHECK_SIGSET_NULL_OK): Likewise.
11997 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11998 <bp-checks.h>.
11999 (sigpending): Don't use CHECK_SIGSET.
12000 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12001 <bp-checks.h>.
12002 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12003 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12004 <bp-checks.h>.
12005 (do_sigsuspend): Don't use CHECK_SIGSET.
12006 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12007 use CHECK_SIGSET.
12008 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12009 (do_sigwait): Don't use CHECK_SIGSET.
12010 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12011 use CHECK_SIGSET.
12012 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12013 include <bp-checks.h>.
12014 (sigpending): Don't use CHECK_SIGSET.
12015 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12016 include <bp-checks.h>.
12017 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12018 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12019 <bp-checks.h>.
12020 (sigpending): Don't use CHECK_SIGSET.
12021 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12022 <bp-checks.h>.
12023 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12024
2e8a5c8c
JM
12025 [BZ #13550]
12026 * sysdeps/generic/bp-semctl.h: Remove file.
12027 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12028 <bp-checks.h> and <bp-semctl.h>.
12029 (__old_semctl): Don't use CHECK_SEMCTL.
12030 (__new_semctl): Likewise.
12031 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12032 and <bp-semctl.h>.
12033 (__old_semctl): Don't use CHECK_SEMCTL.
12034 (__new_semctl): Likewise.
12035 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12036 <bp-checks.h> and <bp-semctl.h>.
12037 (__old_semctl): Don't use CHECK_SEMCTL.
12038 (__new_semctl): Likewise.
12039 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12040 <bp-checks.h> and <bp-semctl.h>.
12041 (semctl): Don't use CHECK_SEMCTL.
12042
c2d54929
JM
12043 [BZ #13550]
12044 * Makerules (elide-bp-thunks): Remove variable.
12045 (elide-routines.oS): Don't use $(elide-bp-thunks).
12046 (elide-routines.os): Likewise.
12047 (elide-routines.o): Likewise.
12048 (elide-routines.op): Likewise.
12049 (elide-routines.og): Likewise.
12050 (objects): Don't use $(bp-thunks).
12051 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12052 include.
12053 (common-generated): Do not add s-proto-bp.d.
12054 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12055 (int): Likewise.
12056 (typ): Likewise.
12057 Do not generate makefile rules for bounded-pointer thunks.
12058 * sysdeps/generic/bp-thunks.h: Remove file.
12059 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12060 * sysdeps/unix/s-proto-bp.S: Likewise.
12061
8cf28c5e
JM
12062 [BZ #15062]
12063 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12064 parts of result separately when argument is not close to line from
12065 -i to i and one part of argument is small.
12066 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12067 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12068 * math/libm-test.inc (cacos_test): Add more tests.
12069 (casin_test): Likewise.
12070 (casinh_test): Likewise.
12071 * sysdeps/i386/fpu/libm-test-ulps: Update.
12072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12073
c4e33b8d
DM
120742013-01-31 David S. Miller <davem@davemloft.net>
12075
12076 * po/de.po: Update from translation team.
12077
3b60b421
MK
120782013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12079
12080 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12081
bb931195
TS
120822013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12083
b5a5da23
TS
12084 * configure.in (_AC_PROG_CC_C89): New definition.
12085 * configure: Regenerate.
12086
bb931195
TS
12087 * configure.in (AC_PROG_CPP): New definition.
12088 * configure: Regenerate.
12089
8c53a12c
JM
120902013-01-23 Joseph Myers <joseph@codesourcery.com>
12091
12092 * debug/tst-backtrace.h: New file.
12093 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12094 (ret): Remove variable.
12095 (x): Likewise.
12096 (FAIL): Remove macro.
12097 (NO_INLINE): Likewise.
12098 (fn1): Use match function instead of strstr.
12099 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12100 (ret): Remove variable.
12101 (x): Likewise.
12102 (FAIL): Remove macro.
12103 (NO_INLINE): Likewise.
12104 (fn): Use match function instead of strstr.
12105 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12106 (ret): Remove variable.
12107 (x): Likewise.
12108 (FAIL): Remove macro.
12109 (NO_INLINE): Likewise.
12110 (handle_signal): Use match function instead of strstr.
12111 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12112 (ret): Remove variable.
12113 (x): Likewise.
12114 (FAIL): Remove macro.
12115 (NO_INLINE): Likewise.
12116 (handle_signal): Use match function instead of strstr.
12117
4858fa2a
RM
121182013-01-23 Roland McGrath <roland@hack.frob.com>
12119
12120 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12121
bae8e7f5
DM
121222013-01-23 David S. Miller <davem@davemloft.net>
12123
12124 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12125 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12126 argument of CAS if possible.
12127 * sysdeps/sparc/sparc64/bits/atomic.h
12128 (__arch_compare_and_exchange_val_32_acq): Likewise.
12129 (__arch_compare_and_exchange_val_64_acq): Likewise.
12130
9cbbc4ae
PT
121312013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12132
12133 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12134 * sysdeps/posix/ulimit.c: ... this.
92a601b8 12135 Include <limits.h>.
67b3f58c 12136 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 12137
5655a0b5
AC
121382013-01-23 Adam Conrad <adconrad@0c3.net>
12139
12140 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12141 (LDFLAGS-tst-array5): Likewise.
12142
052aff95
JM
121432013-01-23 Joseph Myers <joseph@codesourcery.com>
12144
12145 [BZ #15036]
12146 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12147 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12148 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12149 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12150
7c1e01aa
DM
121512013-01-21 David S. Miller <davem@davemloft.net>
12152
12153 * sysdeps/sparc/backtrace.c: New file.
12154 * sysdeps/sparc/sparc32/backtrace.h: New file.
12155 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12156 * sysdeps/sparc/sparc64/backtrace.h: New file.
12157 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12158 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12159 -funwind-tables.
12160
ab087e0a
AS
121612013-01-21 Andreas Schwab <schwab@suse.de>
12162
12163 [BZ #15020]
12164 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12165 closed its stdout.
12166
ed689c2f
AS
121672013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12168
12169 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12170 "mpa2.h".
12171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12172
31d470ac
JM
121732013-01-18 Joseph Myers <joseph@codesourcery.com>
12174 Mark Mitchell <mark@codesourcery.com>
12175 Tom de Vries <tom@codesourcery.com>
12176 Paul Pluzhnikov <ppluzhnikov@google.com>
12177
12178 * debug/tst-backtrace2.c: New file.
12179 * debug/tst-backtrace3.c: Likewise.
12180 * debug/tst-backtrace4.c: Likewise.
12181 * debug/tst-backtrace5.c: Likewise.
12182 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12183 (CFLAGS-tst-backtrace3.c): Likewise.
12184 (CFLAGS-tst-backtrace4.c): Likewise.
12185 (CFLAGS-tst-backtrace5.c): Likewise.
12186 (LDFLAGS-tst-backtrace2): Likewise.
12187 (LDFLAGS-tst-backtrace3): Likewise.
12188 (LDFLAGS-tst-backtrace4): Likewise.
12189 (LDFLAGS-tst-backtrace5): Likewise.
12190 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12191 tst-backtrace4 and tst-backtrace5.
12192
90567f30 121932013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
12194 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12195
12196 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12197 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12198 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12199 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12201 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12202 "+r" and remove output regs list as redundant. Add explicit inline
12203 asm to specify register of return val to work around compiler codegen
12204 bug. Remove (int) cast on return value. Add return type parameter to
12205 use in macro so that this macro does not truncate return value for
12206 64-bit values.
12207 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12208 pass to INTERNAL_VSYSCALL_NCS.
12209 (INLINE_VSYSCALL): Add 'long int' as return type to
12210 INTERNAL_VSYSCALL_NCS macro invocation.
12211 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12212 INTERNAL_VSYSCALL_NCS macro invocation.
12213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12214
d3b9ea61
SP
122152013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12216
0b57daeb
SP
12217 [BZ #14496]
12218 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12219 Fix application of SIMD FP exception mask.
12220
caa99d06
SP
12221 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12222 mp_no from a power of two.
12223 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12224 __mpexp_twomm1. Use __pow_mp.
12225
d3b9ea61
SP
12226 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12227 multiplication.
12228
1dbaee3c
DM
122292013-01-17 David S. Miller <davem@davemloft.net>
12230
12231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12232
728d7b43
JM
122332013-01-17 Joseph Myers <joseph@codesourcery.com>
12234
12235 [BZ #15023]
12236 * include/complex.h: Condition contents on [!_COMPLEX_H].
12237 (__kernel_casinhf): New prototype.
12238 (__kernel_casinh): Likewise.
12239 (__kernel_casinhl): Likewise.
12240 * math/Makefile (libm_calls): Add k_casinh.
12241 * math/k_casinh.c: New file.
12242 * math/k_casinhf.c: Likewise.
12243 * math/k_casinhl.c: Likewise.
12244 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12245 finite nonzero arguments.
12246 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12247 finite nonzero arguments.
12248 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12249 finite nonzero arguments.
12250 * math/s_casinh.c: Do not include <float.h>.
12251 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12252 * math/s_casinhf.c: Do not include <float.h>.
12253 (__casinhf): Move code for finite nonzero arguments to
12254 k_casinhf.c.
12255 * math/s_casinhl.c: Do not include <float.h>.
12256 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12257 redefine.
12258 (__casinhl): Move code for finite nonzero arguments to
12259 k_casinhl.c.
12260 * math/libm-test.inc (cacos_test): Add more tests.
12261 * sysdeps/i386/fpu/libm-test-ulps: Update.
12262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12263
2a26ef3a
PT
122642013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12265
12266 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12267 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12268 [!HAVE_MREMAP]: Remove [defined linux] case.
12269 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12270
a897655d
SP
122712013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12272
12273 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12274
881ebe89 122752013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
12276
12277 * elf/elf.h (R_386_SIZE32): New relocation.
12278 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12279 R_386_SIZE32.
12280 (elf_machine_rela): Likewise.
12281 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12282 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12283
59981e9b
JM
122842013-01-17 Joseph Myers <joseph@codesourcery.com>
12285
12286 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12287 (FP_FAST_FMA): Do not define.
12288 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12289 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12290 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12291 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12292 !_SOFT_FLOAT]: Likewise.
12293 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12294 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12295 value.
12296 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12297 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12298 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12299 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12300 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12301 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12302 file.
12303
cfa8054f
AS
123042013-01-16 Andreas Schwab <schwab@suse.de>
12305
12306 [BZ #14327]
12307 * include/stdlib.h (__mktemp): Add declaration.
12308 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12309 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12310
dd930cc5
SP
123112013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12312
881ebe89
SP
12313 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12314 definitions.
12315 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12316 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12317 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12318 definitions here.
12319 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12320 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12321 definitions.
12322 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12323 and ONE.
12324 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12325 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12326 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12327 definitions.
12328 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12329 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12330 definitions.
12331 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 12332
dd930cc5
SP
12333 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12334
c19a9f89
DM
123352013-01-15 David S. Miller <davem@davemloft.net>
12336
1aa61767
DM
12337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12338 trunc{,f} to libm-sysdep_routes.
12339 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12341 file.
12342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12344 file.
12345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12346 file.
12347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12349 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12350 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12351 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12352 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12353 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12354 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12355
c42d5e98
DM
12356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12357 nearbyint{,f} to libm-sysdep_routes.
12358 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12360 New file.
12361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12362 file.
12363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12364 New file.
12365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12366 file.
12367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12369 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12370 file.
12371 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12372 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12373 file.
12374 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12375 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12376 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12377
c19a9f89
DM
12378 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12379 libc_feholdexcept and libc_fesetenv.
12380
357679d2
MF
123812013-01-15 Mike Frysinger <vapier@gentoo.org>
12382
12383 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12384
65a82e3d
DM
123852013-01-14 David S. Miller <davem@davemloft.net>
12386
8b954ab9
DM
12387 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12388 (SPARC_ASM_VIS2_IFUNC): Likewise.
12389 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12391 use of 'siam' instruction.
12392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12393 Likewise.
12394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12395 Likewise.
12396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12397 Likewise.
12398 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12399 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12400 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12401 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12403 file.
12404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12405 file.
12406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12407 file.
12408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12409 file.
12410 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12412 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12415 new VIS2 routines.
12416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12419 Likewise.
12420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12423 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12425 routines to libm-sysdep_routines.
12426 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12427
65a82e3d
DM
12428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12429 fdim/fdimf to libm-sysdep_routines.
12430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12431 file.
12432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12434 file.
12435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12438 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12439 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12440 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12441 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12442
e34ab705
SP
124432013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12444
2a91b573
SP
12445 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12446 to optimize copies.
12447
1066a534
SP
12448 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12451
e34ab705
SP
12452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12453 local variable MPTWO.
12454 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12455 Likewise.
12456
aba5e596
MF
124572013-01-13 Mike Frysinger <vapier@gentoo.org>
12458
12459 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12460 GLOB_NOESCAPE.
12461
e557e9e5
MF
124622013-01-13 Mike Frysinger <vapier@gentoo.org>
12463
12464 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12465
0428cec9
MF
124662013-01-13 Mike Frysinger <vapier@gentoo.org>
12467
12468 * manual/pattern.texi (glob_t): Document gl_flags.
12469 (glob64_t): Likewise.
12470
8794a964
DM
124712013-01-11 David S. Miller <davem@davemloft.net>
12472
66438c3f
RM
12473 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12474 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12475 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
12476 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12477 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12478 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12479 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12480 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12481 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12482 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12483 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12484 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12485 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12486
4ae4244d
DM
12487 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12488 sparc V9 rather than using V8 code.
12489 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12490 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12491
8794a964
DM
12492 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12493 Move to...
12494 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12495 Here.
12496
6270516e
RM
124972013-01-11 Roland McGrath <roland@hack.frob.com>
12498
12499 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12500 not in the main loop.
12501 * configure: Regenerated.
12502
6a57d931
JM
125032013-01-11 Joseph Myers <joseph@codesourcery.com>
12504
12505 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12506 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12507 to just #else.
12508 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12509 [!__GLIBC_HAVE_LONG_LONG] case.
12510 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12511 condition to just #else.
12512 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12513 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12514 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12515 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12516 unconditional.
12517 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12518 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12519 #elif condition to just #else.
12520 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12521 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12522 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12523 #elif condition to just #else.
12524
0e8529e9
SE
125252013-01-11 Steve Ellcey <sellcey@mips.com>
12526
12527 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12528 (EF_MIPS_ARCH_64): Fix value.
12529 (EF_MIPS_ARCH_32R2): New.
12530 (EF_MIPS_ARCH_64R2): New.
12531
740b3dbe
L
125322013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12533
12534 * Makeconfig (+link-pie-before-libc): New.
12535 (+link-pie-after-libc): Likewise.
12536 (+link-pie-tests): Likewise.
12537 (+link-pie): Rewritten.
12538 (link-before-libc): Remove $(config-LDFLAGS).
12539 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12540 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12541 (config-LDFLAGS): Renamed to ...
12542 (rtld-LDFLAGS): This.
12543 (rtld-tests-LDFLAGS): New macro.
12544 (link-libc-rpath-link): Likewise.
12545 (link-libc-tests-rpath-link): Likewise.
12546 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12547 (link-libc): Prepand $(link-libc-rpath-link).
12548 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12549 (test-program-prefix): New macro.
12550 (test-via-rtld-prefix): Likewise.
12551 (test-program-cmd): Likewise.
12552 (host-test-program-cmd): Likewise.
12553 * Makefile ($(common-objpfx)testrun.sh): Replace
12554 $(run-program-prefix) with $(test-program-prefix).
12555 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12556 $(rtld-LDFLAGS).
12557 ($(common-objpfx)shlib.lds): Likewise.
12558 (build-module-helper): Likewise.
12559 ($(common-objpfx)format.lds): Likewise.
12560 * Rules (binaries-pie-tests): New.
12561 (binaries-pie-notests): Likewise.
12562 (binaries-pie): Rewritten.
12563 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12564 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12565 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12566 (make-test-out): Replace $(host-built-program-cmd) with
12567 $(host-test-program-cmd).
12568 * config.make.in (build-hardcoded-path-in-tests): New variable.
12569 * configure.in (--enable-hardcoded-path-in-tests): New configure
12570 option.
12571 (hardcoded_path_in_tests): New AC_SUBST.
12572 * configure: Regenerated.
12573 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12574 $(built-program-cmd) with $(test-program-cmd).
12575 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12576 (test_program_cmd): This.
12577 * elf/Makefile ($(objpfx)order.out): Run test with
12578 $(test-program-prefix).
12579 ($(objpfx)order2.out): Likewise.
12580 ($(objpfx)tst-initorder.out): Likewise.
12581 ($(objpfx)tst-initorder2.out): Likewise.
12582 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12583 $(test-program-cmd).
12584 ($(objpfx)tst-array1-static.out): Likewise.
12585 ($(objpfx)tst-array2.out): Likewise.
12586 ($(objpfx)tst-array3.out): Likewise.
12587 ($(objpfx)tst-array4.out): Likewise.
12588 ($(objpfx)tst-array5.out): Likewise.
12589 ($(objpfx)tst-array5-static.out): Likewise.
12590 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12591 $(test-program-cmd).
12592 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12593 $(run-program-prefix) with $(test-program-prefix).
12594 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12595 (test_program_prefix): This.
12596 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12597 $(run-program-prefix) with $(test-program-prefix).
12598 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12599 (test_program_prefix): This.
12600 * iconvdata/tst-tables.sh: Likewise.
12601 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12602 $(run-program-prefix) with $(test-program-prefix).
12603 ($(objpfx)tst-translit.out): Likewise.
12604 ($(objpfx)tst-gettext2.out): Likewise.
12605 ($(objpfx)tst-gettext4.out): Likewise.
12606 ($(objpfx)tst-gettext6.out): Likewise.
12607 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12608 (test_program_prefix): This.
12609 * intl/tst-gettext2.sh: Likewise.
12610 * intl/tst-gettext4.sh Likewise.
12611 * intl/tst-gettext6.sh: Likewise.
12612 * intl/tst-translit.sh: Likewise.
12613 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12614 with $(test-program-cmd).
12615 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12616 $(run-program-prefix) with $(test-program-prefix).
12617 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12618 (test_program_prefix): This.
12619 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12620 $(run-program-prefix) with $(test-program-prefix).
12621 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12622 (test_program_prefix): This.
12623 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12624 * posix/Makefile ($(objpfx)globtest.out): Replace
12625 $(run-via-rtld-prefix) and $(test-wrapper) with
12626 $(test-program-prefix) and $(test-via-rtld-prefix).
12627 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12628 $(test-program-prefix).
12629 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12630 $(host-test-program-cmd).
12631 (tst-spawn-ARGS): Likewise.
12632 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12633 $(test-program-prefix).
12634 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12635 (test_via_rtld_prefix): This.
12636 (test_wrapper): Renamed to ...
12637 (test_program_prefix): This.
12638 (run_program_prefix): Replaced by test_program_prefix.
12639 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12640 (test_program_prefix): This.
12641 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12642 with $(host-test-program-cmd).
12643 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12644 $(run-program-prefix) with $(test-program-prefix).
12645 ($(objpfx)tst-printf.out): Likewise.
12646 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12647 $(test-program-cmd).
12648 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12649 (test_program_prefix): This.
12650 * stdio-common/tst-unbputc.sh: Likewise.
12651 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12652 $(run-program-prefix) with $(test-program-prefix).
12653 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12654 (test_program_prefix): This.
12655 * string/Makefile ($(objpfx)tst-svc.out): Replace
12656 $(built-program-cmd) with $(test-program-cmd).
12657
c6fe55cf
AJ
126582013-01-11 Andreas Jaeger <aj@suse.de>
12659
12660 [BZ #15003]
12661 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12662 value. Sync with Linux 3.7.
12663
9e6919c8
DM
126642013-01-10 David S. Miller <davem@davemloft.net>
12665
12666 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12667 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12668 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12669
1c9f1a02
RM
126702013-01-10 Roland McGrath <roland@hack.frob.com>
12671
12672 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12673 never set.
12674 * configure: Regenerated.
12675
b9de2dde
DM
126762013-01-10 David S. Miller <davem@davemloft.net>
12677
12678 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12679 sparc V9 rather than using V8 code.
12680 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12681 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12682
e7f68ef4
RM
126832013-01-10 Roland McGrath <roland@hack.frob.com>
12684
12685 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12686 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12687 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12688 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12689 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12690 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12691 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12692 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12693 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12694 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12695 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12696 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12697 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12698 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12699 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12700 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12701 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12702 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12703 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12704 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12705 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12706 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12707 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12708 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12709 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12710 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12711 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12712
5a47cc9c
DM
127132013-01-10 David S. Miller <davem@davemloft.net>
12714
12715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12716
4cf8f209
L
127172013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12718
12719 * posix/Makefile (tests-static): New variable.
12720 (tests): Add $(tests-static).
12721 (tst-exec-static-ARGS): New variable.
12722 (tst-spawn-static-ARGS): Likewise.
12723 * posix/tst-exec-static.c: New file.
12724 * posix/tst-spawn-static.c: Likewise.
12725 * posix/tst-exec.c: Support run directly.
12726 * posix/tst-spawn.c: Likewise.
12727
fed0faa1
JM
127282013-01-10 Joseph Myers <joseph@codesourcery.com>
12729
828beb13
JM
12730 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12731 long.
12732 * math/bits/mathcalls.h (llrint): Likewise.
12733 (llround): Likewise.
12734 * stdlib/stdlib.h (struct drand48_data): Likewise.
12735 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12736 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12737 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12738 Likewise.
12739 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12740 Likewise.
12741 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12742 (elf_greg_t): Likewise.
12743 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12744 (__jmp_buf): Likewise.
12745 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12746 definitions.
12747 (llrint): Likewise, for all definitions.
12748 (llrintl): Likewise.
12749
fed0faa1
JM
12750 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12751 Remove [__GNUC__] condition.
12752 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12753 condition to just [__USE_ISOC99].
12754 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12755
1a20cb20
L
127562013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12757
12758 [BZ #14200]
12759 * sysdeps/unix/sysv/linux/x86/bits/environments.h
12760 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12761 defined.
12762 (_POSIX_V6_ILP32_OFF32): Likewise.
12763 (_XBS5_ILP32_OFF32): Likewise.
12764 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12765 (__ILP32_OFFBIG_LDFLAGS): Likewise.
12766
751b85f7
SP
127672013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12768
7490eb81
SP
12769 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12770
751b85f7
SP
12771 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12772 doubles __mpexp_twomm1. Adjust usage.
12773 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12774 Remove.
12775
988197f0
AS
127762013-01-10 Andreas Schwab <schwab@suse.de>
12777
12778 [BZ #14964]
12779 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12780 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12781
e83d7298
DM
127822013-01-09 David S. Miller <davem@davemloft.net>
12783
034ed64b 12784 [BZ #15003]
e83d7298
DM
12785 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12786 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12787 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12788 TCP_FASTOPEN): Define.
12789 (tcp_repair_opt): New structure.
12790 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12791 enum values.
12792 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12793 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12794 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12795 (tcp_cookie_transactions): New structure.
12796
d5e0b9bd
AB
127972013-01-09 Anton Blanchard <anton@samba.org>
12798
12799 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12800 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12801 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12802 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12803
0c07e3ea
JM
128042013-01-09 Joseph Myers <joseph@codesourcery.com>
12805
12806 * include/features.h (__USE_ANSI): Remove.
12807
232f7002
RM
128082013-01-09 Roland McGrath <roland@hack.frob.com>
12809
ad98e30c
RM
12810 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12811
232f7002
RM
12812 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12813
950c99ca
SP
128142013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12815
b5792741
SP
12816 * sysdeps/s390/fpu/libm-test-ulps: Update.
12817
47cf2278
SP
12818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12819
950c99ca
SP
12820 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12821 (__acr): Likewise.
12822 (__cpy): Likewise.
12823 (norm): Likewise.
12824 (denorm): Likewise.
12825 (__mp_dbl): Likewise.
12826 (__dbl_mp): Likewise.
12827 (add_magnitudes): Likewise.
12828 (sub_magnitudes): Likewise.
12829 (__add): Likewise.
12830 (__sub): Likewise.
12831 (__mul): Likewise.
12832 (__inv): Likewise.
12833 (__dvd): Likewise.
12834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12835 (__acr): Likewise.
12836 (__cpy): Likewise.
12837 (norm): Likewise.
12838 (denorm): Likewise.
12839 (__mp_dbl): Likewise.
12840 (__dbl_mp): Likewise.
12841 (add_magnitudes): Likewise.
12842 (sub_magnitudes): Likewise.
12843 (__add): Likewise.
12844 (__sub): Likewise.
12845 (__mul): Likewise.
12846 (__inv): Likewise.
12847 (__dvd): Likewise.
12848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12849 (__acr): Likewise.
12850 (__cpy): Likewise.
12851 (norm): Likewise.
12852 (denorm): Likewise.
12853 (__mp_dbl): Likewise.
12854 (__dbl_mp): Likewise.
12855 (add_magnitudes): Likewise.
12856 (sub_magnitudes): Likewise.
12857 (__add): Likewise.
12858 (__sub): Likewise.
12859 (__mul): Likewise.
12860 (__inv): Likewise.
12861 (__dvd): Likewise.
12862
eede9df9
JM
128632013-01-08 Joseph Myers <joseph@codesourcery.com>
12864
12865 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12866 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12867 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12868 2 && __USE_EXTERN_INLINES]: Likewise.
12869
c40ea3d9
AJ
128702013-01-08 Andreas Jaeger <aj@suse.de>
12871
12872 [BZ# 14985]
12873 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12874 Remove.
12875 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12876 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12877
2ccdea26
AB
128782013-01-07 Anton Blanchard <anton@samba.org>
12879
12880 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12881 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12882 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12883 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12884 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12885 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12886 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12887 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12889 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12890 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12891 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12892 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12893 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12894 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12895 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12896 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12897 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12898 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12899 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12900 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12901 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12902 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12903 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12904 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12905 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12906 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12907 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12908 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12909 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12910 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12911 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12912 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12913 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12914 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12915 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12916 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12917 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12918 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12919 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12920 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12921 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12922 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12923
a9708fed
JM
129242013-01-07 Joseph Myers <joseph@codesourcery.com>
12925
375607b9
JM
12926 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12927 (__MALLOC_PMT): Likewise.
12928 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12929 [__GNUC__], only on [_LIBC].
12930 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12931 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12932 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12933 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12934 forward declaration.
12935 (realloc_hook_ini): Likewise.
12936 (memalign_hook_ini): Likewise.
12937 (__libc_memalign): Do not use __MALLOC_PMT in variable
12938 declaration.
12939 (__libc_valloc): Likewise.
12940 (__libc_pvalloc): Likewise.
12941 (__libc_calloc): Likewise.
12942 (__posix_memalign): Likewise.
12943
a9708fed
JM
12944 [BZ #14996]
12945 * math/s_casinh.c: Include <float.h>.
12946 (__casinh): Do not do computation with squaring and square root
12947 for large arguments.
12948 * math/s_casinhf.c: Include <float.h>.
12949 (__casinhf): Do not do computation with squaring and square root
12950 for large arguments.
12951 * math/s_casinhl.c: Include <float.h>.
12952 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12953 (__casinhl): Do not do computation with squaring and square root
12954 for large arguments.
12955 * math/libm-test.inc (casin_test): Add more tests.
12956 (casinh_test): Likewise.
12957 * sysdeps/i386/fpu/libm-test-ulps: Update.
12958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12959
afec409a
L
129602013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12961
12962 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12963 (__x86_64_raw_data_cache_size): Likewise.
12964 (__x86_64_data_cache_size_half): Likewise.
12965 (__x86_64_raw_data_cache_size_half): Likewise.
12966 (__x86_64_shared_cache_size): Likewise.
12967 (__x86_64_raw_shared_cache_size): Likewise.
12968 (__x86_64_shared_cache_size_half): Likewise.
12969 (__x86_64_raw_shared_cache_size_half): Likewise.
12970 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12971 to ...
12972 (__x86_data_cache_size): This.
12973 (__x86_64_raw_data_cache_size): Renamed to ...
12974 (__x86_raw_data_cache_size): This.
12975 (__x86_64_data_cache_size_half): Renamed to ...
12976 (__x86_data_cache_size_half): This.
12977 (__x86_64_raw_data_cache_size_half): Renamed to ...
12978 (__x86_raw_data_cache_size_half): This.
12979 (__x86_64_shared_cache_size): Renamed to ...
12980 (__x86_shared_cache_size): This.
12981 (__x86_64_raw_shared_cache_size): Renamed to ...
12982 (__x86_raw_shared_cache_size): This.
12983 (__x86_64_shared_cache_size_half): Renamed to ...
12984 (__x86_shared_cache_size_half): This.
12985 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12986 (__x86_raw_shared_cache_size_half): This.
12987 * sysdeps/x86_64/memcpy.S: Updated.
12988 * sysdeps/x86_64/memset.S: Likewise.
12989 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12990 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12991 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12992
0b3986d0
DM
129932013-01-04 David S. Miller <davem@davemloft.net>
12994
12995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12996
e47686e9
AS
129972013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12998
d643bac1
AS
12999 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13000 1 to avoid redefinition warning.
13001 (__USE_GNU): Don't define.
13002 (init_signaling_nan): Protoize.
13003
e47686e9
AS
13004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13005
b18decba
SP
130062013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13007
fffb407f
SP
13008 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13009 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13010 (__cpymn): Likewise.
13011 (norm): Remove commented code.
13012 (denorm): Likewise.
13013 (__mp_dbl): Likewise.
13014 (__inv): Likewise.
13015 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13016 (__cpymn): Likewise.
13017 (norm): Remove commented code.
13018 (denorm): Likewise.
13019 (__mp_dbl): Likewise.
13020 (__inv): Likewise.
13021
b18decba
SP
13022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13023 mp_no value for 1.0 and 2.0.
13024 (norm): Use RADIXI instead of radixi.d.
13025 (denorm): Likewise.
13026 (__mul): Use 0.0 instead of zero.d.
13027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13028 mp_no value for 1.0 and 2.0.
13029 (norm): Use RADIXI instead of radixi.d.
13030 (denorm): Likewise.
13031 (__mul): Use 0.0 instead of zero.d.
13032
cdc1c96f
JM
130332013-01-04 Joseph Myers <joseph@codesourcery.com>
13034
13035 [BZ #14994]
13036 * math/s_casinh.c (__casinh): Reduce finite argument to first
13037 quadrant then set signs of results at the end.
13038 * math/s_casinhf.c (__casinhf): Likewise.
13039 * math/s_casinhl.c (__casinhl): Likewise.
13040 * math/libm-test.inc (casin_test): Add more tests.
13041 (casinh_test): Likewise.
13042 * sysdeps/i386/fpu/libm-test-ulps: Update.
13043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13044
302913e1
SP
130452013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13046
6420d207
SP
13047 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13048
a9e48ab4
SP
13049 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13050
b7837264
SP
13051 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13052 declarations.
13053 (denorm): Likewise.
13054 (__mp_dbl): Likewise.
13055 (__inv): Likewise.
13056
f8af25d2
SP
13057 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13058 and adjust the header comment.
13059
302913e1
SP
13060 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13061 variable name from declaration.
13062
5d7dd1ca
L
130632013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13064
13065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13066 Initialize COMMON_CPUID_INDEX_7 element.
13067 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13068 (CPUID_RTM): Likewise.
13069 (HAS_RTM): Likewise.
13070 (COMMON_CPUID_INDEX_7): New enum.
13071
2f5f40f4
AS
130722013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13073
13074 [BZ #14981]
13075 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13076 size is zero, record memory as freed.
13077
4056f4a0
AJ
130782013-01-03 Andreas Jaeger <aj@suse.de>
13079
13080 * po/ia.po: Add new Interlingua translation.
13081
ab15736f 130822012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
13083
13084 * locale/programs/localedef.c: Fix description of '--posix' flag.
13085
568035b7
JM
130862013-01-02 Joseph Myers <joseph@codesourcery.com>
13087
e6898b8d
JM
13088 * NEWS: Update dates in second copyright notice.
13089 * README: Update copyright dates in example.
13090 * manual/libc.texinfo: Update copyright dates.
13091 * scripts/test-installation.pl: Update copyright date in --version
13092 output.
13093
0e2f9562
JM
13094 * hurd/ctty-input.c: Fix copyright notice formatting.
13095 * hurd/ctty-output.c: Likewise.
13096 * hurd/dtable.c: Likewise.
13097 * hurd/hurd-raise.c: Likewise.
13098 * hurd/hurdprio.c: Likewise.
13099 * hurd/msgportdemux.c: Likewise.
13100 * misc/sys/file.h: Likewise.
13101 * misc/sys/ioctl.h: Likewise.
13102 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13103 * sysdeps/mach/hurd/chdir.c: Likewise.
13104 * sysdeps/mach/hurd/fchdir.c: Likewise.
13105 * sysdeps/mach/hurd/rename.c: Likewise.
13106 * sysdeps/mach/hurd/rmdir.c: Likewise.
13107 * sysdeps/mach/hurd/seekdir.c: Likewise.
13108 * sysdeps/mach/hurd/setsid.c: Likewise.
13109 * sysdeps/posix/wait3.c: Likewise.
13110
568035b7
JM
13111 * All files with FSF copyright notices: Update copyright dates
13112 using scripts/update-copyrights.
13113 * intl/plural.c: Regenerated.
13114 * locale/programs/charmap-kw.h: Likewise.
13115 * locale/programs/locfile-kw.h: Likewise.
13116
da08f647
SP
131172013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13118
0f5477af
SP
13119 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13120 four values.
13121
44e0d4c2
SP
13122 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13123 calculation loop and add branch prediction.
13124
4d55b4e5
SP
13125 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13126 check access beyond bounds of m1np.
13127
da08f647
SP
13128 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13129 MPTWO.
13130 (__inv): Remove local variable MPTWO to use the global
13131 constant.
13132 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13133 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13134 variable MPTWO.
13135 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13136 MP3HALFS static const.
13137
8e051029
DM
131382013-01-01 David S. Miller <davem@davemloft.net>
13139
13140 * po/ca.po: Update from translation team.
13141
f4cf5f2d
JM
131422013-01-01 Joseph Myers <joseph@codesourcery.com>
13143
13144 * scripts/update-copyrights: New file.
13145 * Makeconfig: Reformat copyright notice.
13146 * ctype/ctype.h: Likewise.
13147 * debug/swprintf_chk.c: Likewise.
13148 * elf/dl-cache.c: Likewise.
13149 * elf/dl-debug.c: Likewise.
13150 * elf/dl-object.c: Likewise.
13151 * grp/initgroups.c: Likewise.
13152 * hurd/Makefile: Likewise.
13153 * hurd/hurd/signal.h: Likewise.
13154 * hurd/hurdfault.c: Likewise.
13155 * hurd/hurdioctl.c: Likewise.
13156 * hurd/hurdlookup.c: Likewise.
13157 * hurd/intr-msg.c: Likewise.
13158 * iconv/gconv_open.c: Likewise.
13159 * libio/swprintf.c: Likewise.
13160 * locale/lc-ctype.c: Likewise.
13161 * locale/nl_langinfo.c: Likewise.
13162 * mach/Machrules: Likewise.
13163 * mach/Makefile: Likewise.
13164 * malloc/obstack.h: Likewise.
13165 * manual/Makefile: Likewise.
13166 * manual/tsort.awk: Likewise.
13167 * misc/bits/stab.def: Likewise.
13168 * nis/nis_print_group_entry.c: Likewise.
13169 * nis/nis_table.c: Likewise.
13170 * nis/nss_compat/compat-pwd.c: Likewise.
13171 * nis/nss_compat/compat-spwd.c: Likewise.
13172 * po/Makefile: Likewise.
13173 * posix/fnmatch.c: Likewise.
13174 * posix/regex.h: Likewise.
13175 * resolv/Makefile: Likewise.
13176 * resolv/nss_dns/dns-network.c: Likewise.
13177 * resolv/res_hconf.c: Likewise.
13178 * scripts/gen-sorted.awk: Likewise.
13179 * soft-fp/soft-fp.h: Likewise.
13180 * stdio-common/printf.h: Likewise.
13181 * stdlib/monetary.h: Likewise.
13182 * stdlib/random.c: Likewise.
13183 * stdlib/random_r.c: Likewise.
13184 * sysdeps/generic/Makefile: Likewise.
13185 * sysdeps/gnu/Makefile: Likewise.
13186 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13187 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13188 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13189 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13190 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13191 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13193 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13194 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13195 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13196 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13197 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13198 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13199 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13200 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13201 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13202 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13203 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13204 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13205 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13206 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13207 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13208 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13209 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13210 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13211 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13212 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13213 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13214 * sysdeps/mach/hurd/errnos.awk: Likewise.
13215 * sysdeps/mach/hurd/fork.c: Likewise.
13216 * sysdeps/mach/hurd/getcwd.c: Likewise.
13217 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13218 * sysdeps/mach/hurd/mmap.c: Likewise.
13219 * sysdeps/mach/hurd/utimes.c: Likewise.
13220 * sysdeps/mach/hurd/xmknod.c: Likewise.
13221 * sysdeps/posix/profil.c: Likewise.
13222 * sysdeps/posix/readdir_r.c: Likewise.
13223 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13224 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13225 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13226 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13227 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13228 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13229 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13230 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13231 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13232 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13233 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13234 * sysdeps/pthread/lio_listio.c: Likewise.
13235 * sysdeps/sparc/dl-procinfo.h: Likewise.
13236 * sysdeps/unix/i386/sysdep.S: Likewise.
13237 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13238 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13239 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13240 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13242 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13243 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13244 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13245 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13246 * sysdeps/wordsize-32/divdi3.c: Likewise.
13247 * time/sys/time.h: Likewise.
13248 * wcsmbs/Makefile: Likewise.
13249
0549fbba
DM
132502013-01-01 David S. Miller <davem@davemloft.net>
13251
a141f1a7
DM
13252 * po/fr.po: Update from translation team.
13253
0549fbba
DM
13254 * catgets/gencat.c: Update copyright year.
13255 * csu/version.c: Likewise.
13256 * debug/catchsegv.sh: Likewise.
13257 * debug/pcprofiledump.c: Likewise.
13258 * debug/xtrace.sh: Likewise.
13259 * elf/ldconfig.c: Likewise.
13260 * elf/ldd.bash.in: Likewise.
13261 * elf/pldd.c: Likewise.
13262 * elf/sotruss.ksh: Likewise.
13263 * elf/sprof.c: Likewise.
13264 * iconv/iconv_prog.c: Likewise.
13265 * iconv/iconvconfig.c: Likewise.
13266 * locale/programs/locale.c: Likewise.
13267 * locale/programs/localedef.c: Likewise.
13268 * login/programs/pt_chown.c: Likewise.
13269 * malloc/memusage.sh: Likewise.
13270 * malloc/memusagestat.c: Likewise.
13271 * malloc/mtrace.pl: Likewise.
13272 * nscd/nscd.c: Likewise.
13273 * nss/getent.c: Likewise.
13274 * nss/makedb.c: Likewise.
13275 * posix/getconf.c: Likewise.
13276
18ea052c
SP
132772012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13278
13279 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13280 numbers.
13281
9c89fca6
MF
132822012-12-30 Mike Frysinger <vapier@gentoo.org>
13283
13284 * math/bits/mathcalls.h (modf): Use __nonnull.
13285
085ec079
SP
132862012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13287
13288 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13289 (split): Use macro CN instead of the bare value.
13290 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13291 could be used.
13292 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13293 instead of the bare value.
13294 (power1): Likewise.
13295
6d9f97e1
SP
132962012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13297
d63f73be
SP
13298 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13299 __ATAN_TWOM.
13300 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13301
6d9f97e1
SP
13302 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13303 their values.
13304 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13305 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13306 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13307 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13308
4c4febf5
AJ
133092012-12-28 Andreas Jaeger <aj@suse.de>
13310
af5843ef
AJ
13311 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13312 values are from Linux 3.7.
13313
4c4febf5
AJ
13314 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13315 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13316
99136f82
SP
133172012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13318
2f216c3c 13319 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
13320 TRUE case.
13321
99136f82
SP
13322 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13323 (norm): Likewise.
13324 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13325 variables with preprocessor constants.
13326 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13327 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13328 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13329
7fffbdff
BH
133302012-12-27 Bruno Haible <bruno@clisp.org>
13331
13332 [BZ #14317]
13333 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13334 only if needed.
13335
b76eb5f0
SP
133362012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13337
31a7fe5c
SP
13338 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13339 and use variable directly.
13340 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13341
b76eb5f0
SP
13342 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13343 MPONE.
13344 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13345 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13346 variable MPONE.
13347 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13348 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13349 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13350 include directive. Remove local variable MPONE.
13351 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13352 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13353 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13354
2c8bfe7d
DM
133552012-12-25 David S. Miller <davem@davemloft.net>
13356
13357 * version.h (RELEASE): Set to "development".
13358 (VERSION): Set to "2.17.90".
13359 * NEWS: Add 2.18 section.
13360
147d03b0
DM
133612012-12-21 David S. Miller <davem@davemloft.net>
13362
13363 * po/hr.po: Update from translation team.
13364
a8ebb2b9
AK
133652012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13366
13367 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13368
95b4f1b6
SE
133692012-12-19 Steve Ellcey <sellcey@mips.com>
13370
b2d94007 13371 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 13372
cedb2a90
MS
133732012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13374
13375 * manual/contrib.texi (Contributors): Spelling correction.
13376
bbf527d6
DM
133772012-12-15 David S. Miller <davem@davemloft.net>
13378
13379 * po/ru.po: Update from translation team.
13380
bc38c906
DM
133812012-12-13 David S. Miller <davem@davemloft.net>
13382
85429b1a
DM
13383 * NEWS: Mention IFUNC testsuite enhancements.
13384
d283e353
DM
13385 * po/pl.po: Update from translation team.
13386 * po/bg.po: Likewise.
13387
bc38c906
DM
13388 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13389 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13390
a181b0d7
DM
133912012-12-11 David S. Miller <davem@davemloft.net>
13392
4641d57e
DM
13393 * po/sv.po: Update from translation team.
13394
f7bc6495
DM
13395 * po/vi.po: Update from translation team.
13396
6fc9048f
DM
13397 * po/cs.po: Update from translation team.
13398
a181b0d7
DM
13399 * po/de.po: Update from translation team.
13400 * po/eo.po: Likewise.
13401 * po/nl.po: Likewise.
13402
f70bfe80
SP
134032012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13404
3c8b4190
SP
13405 [BZ #14246]
13406 * manual/argp.texi (Argp Helper Functions): Move node to follow
13407 Argp Parsing State.
13408
f70bfe80
SP
13409 [BZ #14872]
13410 * manual/conf.texi (Limits on File System Capacity): Mention if
13411 terminating null is included in the max size.
13412
188f0adf
AJ
134132012-12-10 Andreas Jaeger <aj@suse.de>
13414
13415 * po/cs.po: Update from translation team.
13416
56e7d3ad
SP
134172012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13418
13419 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13420 void pointer and cast to uintptr_t.
13421 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13422 path.
13423 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13424 * sysdeps/s390/s390-64/memset.S: Likewise.
13425
76f2d2ea 134262012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
13427
13428 [BZ #14833]
13429 * menual/message.texi (Message Translation): Fix typos.
13430 (Helper programs for gettext): Likewise.
13431
67cbf9a2
AS
134322012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13433
13434 [BZ #14898]
13435 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13436 Change to -1.
13437
682d0e9a
DM
134382012-12-07 David S. Miller <davem@davemloft.net>
13439
13440 * po/libc.pot: Update.
13441
573cd484
RH
134422012-12-07 Richard Henderson <rth@redhat.com>
13443
7e9da188 13444 [BZ #10114]
573cd484
RH
13445 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13446 normal/normal case to before the switch.
13447 (_FP_DIV): Likewise.
13448
e933a943
MF
134492012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13450 Mike Frysinger <vapier@gentoo.org>
13451
13452 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13453 check for __NR_fadvise64_64.
13454
82123268
CM
134552012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13456
13457 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13458 0, not just to plain "0" as a statement.
13459 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13460 with cw.
13461
d9814526
JM
134622012-12-06 Joseph Myers <joseph@codesourcery.com>
13463
13464 * NEWS: Use sourceware.org in Bugzilla URL.
13465
7728c574
SP
134662012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13467
f16946dd
SP
13468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13469 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13470
5704bbcb
SP
13471 * stdio-common/tst-put-error.c (do_test): Add newline to the
13472 padded test to ensure flush.
13473
17aa0516
JL
134742012-12-05 Jeff Law <law@redhat.com>
13475
13476 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13477
363313b5
JM
134782012-12-05 Joseph Myers <joseph@codesourcery.com>
13479
effbd42a
JM
13480 * README: Don't refer to ports add-on as distributed separately.
13481 Mention AArch64 in list of systems supported in the ports add-on.
13482
87600365
JM
13483 * LICENSES: Add more non-FSF copyright and license notices.
13484
a0d7066a
JM
13485 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13486 ((unused)).
13487
66ca5a5b
JM
13488 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13489
363313b5
JM
13490 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13491 10000 as width of padded output.
13492
b37984ad
JM
134932012-12-04 Joseph Myers <joseph@codesourcery.com>
13494
9003570a
JM
13495 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13496
b37984ad
JM
13497 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13498 variable LX with __attribute__ ((unused)).
13499 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13500 Likewise.
13501 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13502 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13503 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13504 with __attribute__ ((unused)).
13505
c8df52ec
DM
135062012-12-04 David S. Miller <davem@abraco.davemloft.net>
13507
13508 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13509
b3b099af
JM
135102012-12-04 Joseph Myers <joseph@codesourcery.com>
13511
c33aa6e3
JM
13512 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13513 (CFLAGS-nldbl-acos.c): New variable.
13514 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13515 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13516 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13517 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13518 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13519 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13520 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13521 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13522 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13523 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13524 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13525 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13526 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13527 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13528 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13529 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13530 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13531 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13532 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13533 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13534 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13535 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13536 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13537 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13538 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13539 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13540 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13541 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13542 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13543 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13544 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13545 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13546 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13547 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13548 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13549 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13550 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13551 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13552 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13553 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13554 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13555 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13556 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13557 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13558 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13559 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13560 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13561 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13562 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13563 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13564 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13565 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13566 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13567 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13568 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13569 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13570 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13571 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13572 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13573 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13574 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13575 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13576 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13577 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13578 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13579 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13580 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13581 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13582 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13583 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13584 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13585 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13586 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13587 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13588 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13589 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13590 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13591 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13592 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13593 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13594 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13595 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13596 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13597 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13598 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13599 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13600 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13601 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13602 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13603 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13604 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13605 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13606 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13607 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13608 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13609 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13610 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13611
20f0018d
JM
13612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13613 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13614
b3b099af
JM
13615 [BZ #14914]
13616 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13617 whole low double instead of just low 47 bits when splitting values
13618 into two parts.
13619
029264d1
AM
136202012-12-03 Allan McRae <allan@archlinux.org>
13621
13622 * manual/stdio.texi (Predefined Printf Handlers): Remove
13623 @hsep and @vsep usage.
13624
c9d6789e
MF
136252012-12-03 Mike Frysinger <vapier@gentoo.org>
13626
13627 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13628 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13629
4b7634a5
JL
136302012-12-03 Jeff Law <law@redhat.com>
13631
13632 * time/sys/time.h (settimeofday): Do not mark TV argument
13633 as __nonnull.
13634
eb6cbd24
MF
136352012-12-01 Mike Frysinger <vapier@gentoo.org>
13636
13637 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13638 when currently writing and seek to current position when not.
13639 * libio/Makefile (tests): Remove bug-fclose1.
13640 * libio/bug-fclose1.c: Delete.
13641
f638872a
JM
136422012-12-01 Joseph Myers <joseph@codesourcery.com>
13643
13644 * manual/arith.texi (feenableexcept): Fix typo.
13645 (fedisableexcept): Likewise.
13646
48085d14
RM
136472012-11-30 Roland McGrath <roland@hack.frob.com>
13648
13649 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13650 second, differently-typed declaration, rather than a cast.
13651
1a538b9f
SP
136522012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13653
13654 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13655 * include/rpc/svc.h: ... here.
13656
d07f2ff1 136572012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
13658
13659 [BZ #13013]
13660 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13661 depending n and resplen2 to catch cases where answer
13662 equals answerp2.
13663
c93ec1f0
CD
136642012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13665
13666 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13667 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13668
37db69de
MF
136692012-11-29 Mike Frysinger <vapier@gentoo.org>
13670
13671 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13672
e10c4e4f
RM
136732012-11-29 Roland McGrath <roland@hack.frob.com>
13674
13675 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13676
2af1b328
JL
136772012-11-28 Jeff Law <law@redhat.com>
13678
13679 [BZ #13761]
13680 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13681 dataset_temporary. Track alloca usage into alloca_used.
13682 If dataset is large allocate and release it via malloc/free.
13683
111db5b1
FW
136842012-06-04 Florian Weimer <fweimer@redhat.com>
13685
f06cc227 13686 [BZ #14197]
111db5b1
FW
13687 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13688
dd694abd
DM
136892012-11-28 David S. Miller <davem@davemloft.net>
13690
13691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13692
9984dd01
JM
136932012-11-28 Joseph Myers <joseph@codesourcery.com>
13694
13695 [BZ #14803]
13696 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13697 of pi/2 rounded to nearest to 64 bits.
13698 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13699 nearest to 64 bits.
13700 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13701 bits.
13702
14bc93a9
JL
137032012-11-28 Jeff Law <law@redhat.com>
13704 Martin Osvald <mosvald@redhat.com>
13705
13706 [BZ #14889]
13707 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13708 * sunrpc/svc.c: Include time.h.
13709 (__svc_accept_failed): New function.
13710 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13711 any reason other than EINTR, call __svc_accept_failed.
13712 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13713 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13714
e3c6aa3a
AS
137152012-11-28 Andreas Schwab <schwab@suse.de>
13716
13717 * scripts/abilist.awk: Also handle indirect functions in .opd
13718 section.
13719
1bead169
JM
137202012-11-28 Joseph Myers <joseph@codesourcery.com>
13721
13722 [BZ #13881]
13723 * sysdeps/x86/fpu/powl_helper.c: New file.
13724 * sysdeps/x86/fpu/Makefile: Likewise.
13725 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13726 (p3): New object.
13727 (__ieee754_powl): Use __powl_helper for finite arguments except
13728 integer exponents below 8.
13729 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13730 (p3): New object.
13731 (__ieee754_powl): Use __powl_helper for finite arguments except
13732 integer exponents below 8.
13733 * math/libm-test.inc (pow_test): Add more tests and enable some
13734 previously disabled tests.
13735 * sysdeps/i386/fpu/libm-test-ulps: Update.
13736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13737
0817d63d
SP
137382012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13739 Carlos O'Donell <carlos_odonell@mentor.com>
13740
13741 * nss/makedb.c (is_prime): Assert that input is odd and greater
13742 than 4. Note that fact in a comment too.
13743 (next_prime): Add 4 to input.
13744
de2fd463
SP
137452012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13746
13747 [BZ #11741]
13748 * libio/Makefile (tests): Add test case tst-fwrite-error.
13749 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13750 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13751 * libio/tst-fwrite-error.c: New test case.
13752
c515fb51
L
137532012-11-26 H.J. Lu <hongjiu.lu@intel.com>
13754
13755 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13756 before casting to void *.
13757 * include/libc-internal.h (__pointer_type): New macro.
13758 (__integer_if_pointer_type_sub): Likewise.
13759 (__integer_if_pointer_type): Likewise.
13760 (cast_to_integer): Likewise.
13761 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13762 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13763 before casting to atomic64_t.
13764 (atomic_exchange_acq): Likewise.
13765 (__arch_exchange_and_add_body): Likewise.
13766 (__arch_add_body): Likewise.
13767 (atomic_add_negative): Likewise.
13768 (atomic_add_zero): Likewise.
13769
4cf77aa9
JM
137702012-11-26 Joseph Myers <joseph@codesourcery.com>
13771
13772 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13773 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13774 (add_fdes): Likewise.
13775 (linear_search_fdes): Likewise.
13776 (binary_search_unencoded_fdes): Likewise.
13777
d260b3b4
AS
137782012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13779
13780 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13781
67060746
AC
137822012-11-24 Adam Conrad <adconrad@0c3.net>
13783
13784 * configure.in: Autodetect C++ header directories.
13785 * configure: Regenerated.
13786
800938a1
MF
137872012-11-23 Mike Frysinger <vapier@gentoo.org>
13788
13789 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13790
4e6e34e6
AS
137912012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13792
13793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13794
7c7feb47
JM
137952012-11-22 Joseph Myers <joseph@codesourcery.com>
13796
7184dcdf
JM
13797 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13798 LDBL_MANT_DIG == 106]: Disable some tests.
13799 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13800 Likewise.
13801 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13802 Likewise.
13803
0a42601f
JM
13804 [BZ #14871]
13805 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13806 input for small inputs. Return +/- pi/2 for large inputs.
13807 * math/libm-test.inc (atan_test): Add more tests.
13808
79c9b9fe
JM
13809 * sysdeps/generic/unwind-dw2-fde-glibc.c
13810 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13811 __attribute__ ((unused)).
13812
c60d3bf2
JM
13813 [BZ #14645]
13814 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13815 x * y if x and y are nonzero and z is zero.
13816
ef1e0867
JM
13817 [BZ #14811]
13818 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13819 nonzero exponents with absolute value below 0x1p-117 to +/-
13820 0x1p-117.
13821
1468ded3
JM
13822 [BZ #14869]
13823 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13824 up arguments below 2**-450, not just those below 2**-500.
13825 * math/libm-test.inc (hypot_test): Add another test.
13826
8e27e3cc
JM
13827 [BZ #14868]
13828 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13829 Return a+b for ratio over 2**120, not 2**60.
13830 * math/libm-test.inc (hypot_test): Add another test.
13831
c9c0279b
JM
13832 * math/libm-test.inc (clog_test): Use
13833 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13834 (clog10_test): Likewise.
13835
7c7feb47
JM
13836 [BZ #6778]
13837 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13838
fff1530e
AS
138392012-11-22 Andreas Schwab <schwab@suse.de>
13840
13841 * sysdeps/i386/fpu/libm-test-ulps: Update.
13842
94558d30
PT
138432012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13844
13845 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13846 printf output with newline.
13847
7e1be741
L
138482012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13849
6bfea974
L
13850 [BZ #14865]
13851 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13852 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13853 -z nodlopen, -z initfirst and -z execstack support.
13854 * configure: Regenerated.
13855
7e1be741
L
13856 * elf/elf.h (DF_1_NODIRECT): New macro.
13857 (DF_1_IGNMULDEF): Likewise.
13858 (DF_1_NOKSYMS): Likewise.
13859 (DF_1_NOHDR): Likewise.
13860 (DF_1_EDITED): Likewise.
13861 (DF_1_NORELOC): Likewise.
13862 (DF_1_SYMINTPOSE): Likewise.
13863 (DF_1_GLOBAUDIT): Likewise.
13864 (DF_1_SINGLETON): Likewise.
13865 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13866 DT_1_SUPPORTED_MASK bits.
13867 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13868
105ce2ce
CD
138692012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13870
13871 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13872
123be9de
TS
138732012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13874
d072f3f7
TS
13875 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13876 macro.
13877
123be9de
TS
13878 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13879 (sendmmsg): Move declarations...
13880 * socket/sys/socket.h: ... here.
13881 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13882 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13883 include it from...
13884 * socket/recvmmsg.c: ... this new file.
13885 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13886 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13887 definition of __sendmmsg hidden.
13888 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13889 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13890 Move ENOSYS stub into and include it from...
13891 * socket/sendmmsg.c: ... this new file.
13892 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13893 (sysdep_routines): Move recvmmsg and sendmmsg...
13894 * socket/Makefile (routines): ... here.
13895 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13896 (GLIBC_PRIVATE): Add __sendmmsg.
13897 * include/sys/socket.h (__sendmmsg): Add declarations.
13898 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13899 sendmmsg.
13900
cf9a5d18
JM
139012012-11-20 Joseph Myers <joseph@codesourcery.com>
13902
13903 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13904 variable I1 with __attribute__ ((unused)).
13905 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13906
ecd4caf9
JM
139072012-11-19 Joseph Myers <joseph@codesourcery.com>
13908
be14d48f
JM
13909 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13910 DUMMY variables with __attribute__ ((unused)).
13911
ecd4caf9
JM
13912 * bits/byteswap.h: Include <bits/types.h>.
13913 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13914
986cab95
PT
139152012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13916
13917 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13918 string_t. Do not manually set errno.
13919 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13920 length with __strnlen. Make sure to both set errno and return it on
13921 failure.
13922
6d33cc9d
DM
139232012-11-19 David S. Miller <davem@davemloft.net>
13924
13925 With help from Joseph Myers.
13926 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13927 very large arguments properly.
13928 * math/libm-test.inc (atan_test): New tests.
13929 (atan2_test): New tests.
13930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13932
ee663277
JM
139332012-11-19 Joseph Myers <joseph@codesourcery.com>
13934
877f2d8e
JM
13935 [BZ #14856]
13936 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13937 Define to 3.
13938
116fc08a
JM
13939 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13940 [POSIX] (EADDRNOTAVAIL): Likewise.
13941 [POSIX] (EAFNOSUPPORT): Likewise.
13942 [POSIX] (EALREADY): Likewise.
13943 [POSIX] (ECONNABORTED): Likewise.
13944 [POSIX] (ECONNREFUSED): Likewise.
13945 [POSIX] (ECONNRESET): Likewise.
13946 [POSIX] (EDESTADDRREQ): Likewise.
13947 [POSIX] (EDQUOT): Likewise.
13948 [POSIX] (EHOSTUNREACH): Likewise.
13949 [POSIX] (EIDRM): Likewise.
13950 [POSIX] (EISCONN): Likewise.
13951 [POSIX] (ELOOP): Likewise.
13952 [POSIX] (EMULTIHOP): Likewise.
13953 [POSIX] (ENETDOWN): Likewise.
13954 [POSIX] (ENETUNREACH): Likewise.
13955 [POSIX] (ENOBUFS): Likewise.
13956 [POSIX] (ENODATA): Likewise.
13957 [POSIX] (ENOLINK): Likewise.
13958 [POSIX] (ENOMSG): Likewise.
13959 [POSIX] (ENOPROTOOPT): Likewise.
13960 [POSIX] (ENOSR): Likewise.
13961 [POSIX] (ENOSTR): Likewise.
13962 [POSIX] (ENOTCONN): Likewise.
13963 [POSIX] (ENOTSOCK): Likewise.
13964 [POSIX] (EOPNOTSUPP): Likewise.
13965 [POSIX] (EOVERFLOW): Likewise.
13966 [POSIX] (EPROTO): Likewise.
13967 [POSIX] (EPROTONOSUPPORT): Likewise.
13968 [POSIX] (EPROTOTYPE): Likewise.
13969 [POSIX] (ESTALE): Likewise.
13970 [POSIX] (ETIME): Likewise.
13971 [POSIX] (ETXTBSY): Likewise.
13972 [POSIX] (EWOULDBLOCK): Likewise.
13973 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13974 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13975 [POSIX] (SEEK_CUR): Likewise.
13976 [POSIX] (SEEK_END): Likewise.
13977 [POSIX || UNIX98] (mode_t): Do not require.
13978 [POSIX] (off_t): Likewise.
13979 [POSIX] (pid_t): Likewise.
13980 [POSIX] (sys/stat.h): Do not allow header.
13981 [POSIX] (unistd.h): Likewise.
13982 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13983 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13984 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13985 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13986 require.
13987 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13988 sigevent): Specify elements.
13989 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13990 entry.
13991 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13992 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13993
a483863f
JM
13994 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13995 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13996 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13997 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13998 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13999 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14000 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14001 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14002 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14003 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14004 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14005 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14006 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14007 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14008 Likewise.
14009 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14010 Likewise.
14011 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14012 Likewise.
14013 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14014 Likewise.
14015 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14016 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14017 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14018 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14019 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14020 Specify lower bound on value.
14021 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14022 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14023 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14024 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14025 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14026 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14027 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14028 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14029 value.
14030 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14031 as optional.
14032 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14033 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14034 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14035 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14036 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14037 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14038 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14039 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14040 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14041 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14042 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14043 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14044 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14045 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14046 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14047 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14048 entry.
14049 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14050 optional.
14051 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14052 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14053 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14054 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14055 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14056 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14057 Likewise.
14058 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14059 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14060 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14061 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14062 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14063 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14064 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14065 as optional.
14066 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14067 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14068 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14069 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14070 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14071 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14072 specify as optional.
14073 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14074 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14075 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14076 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14077 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14078 [XPG3] (NL_LANGMAX): Likewise.
14079 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14080 [POSIX || XPG3] (NL_NMAX): Likewise.
14081 [POSIX || XPG3] (NL_SETMAX): Likewise.
14082 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14083 [XPG3] (NZERO): Likewise.
14084 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14085 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14086 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14087 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14088 (REG_ERANGE): Expect.
14089 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14090 optional-constant.
14091 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14092 Use (void) in prototype.
14093 [POSIX] (*_t): Allow.
14094 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14095 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14096 (WRDE_BADVAL): Expect.
14097
5ba924e3
JM
14098 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14099 expect.
14100 [XPG3 || XPG4] (O_RSYNC): Likewise.
14101 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14102 Likewise.
14103 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14104 [XPG3 || XPG4] (sigqueue): Likewise.
14105 [XPG3 || XPG4] (sigtimedwait): Likewise.
14106 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14107 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14108 [XPG3 || XPG4] (vsnprintf): Likewise.
14109 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14110 Likewise.
14111 [XPG3 || XPG4] (blksize_t): Likewise.
14112 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14113 Likewise.
14114 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14115 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14116 [XPG3 || XPG4] (struct itimerspec): Likewise.
14117 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14118 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14119 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14120 [XPG3 || XPG4] (clockid_t): Likewise.
14121 [XPG3 || XPG4] (timer_t): Likewise.
14122 [XPG3 || XPG4] (clock_getres): Likewise.
14123 [XPG3 || XPG4] (clock_gettime): Likewise.
14124 [XPG3 || XPG4] (clock_settime): Likewise.
14125 [XPG3 || XPG4] (nanosleep): Likewise.
14126 [XPG3 || XPG4] (timer_create): Likewise.
14127 [XPG3 || XPG4] (timer_delete): Likewise.
14128 [XPG3 || XPG4] (timer_gettime): Likewise.
14129 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14130 [XPG3 || XPG4] (timer_settime): Likewise.
14131 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14132 [XPG3 || XPG4] (getlogin_r): Likewise.
14133 [XPG3 || XPG4] (pread): Likewise.
14134 [XPG3 || XPG4] (pthread_atfork): Likewise.
14135 [XPG3 || XPG4] (pwrite): Likewise.
14136
ee663277
JM
14137 [BZ #14835]
14138 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14139 <bits/siginfo.h>.
14140
942caa16
PT
141412012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14142
e19af380
PT
14143 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14144 finalizing MALLSTREAM.
14145
942caa16
PT
14146 * sysdeps/mach/hurd/syncfs.c: New file.
14147
cfde9b46
SP
141482012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14149
14150 [BZ #14719]
14151 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14152 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14153 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14154 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14155 (_nss_dns_gethostbyname4_r): Likewise.
14156 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14157 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14158
f6da27e5
PH
141592012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14160
14161 [BZ #13763]
14162 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14163
6665d4a2
SM
141642012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14165
1f51ee92
SM
14166 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14167 * elf/cache.c (print_entry): Print ",AArch64" for
14168 FLAG_AARCH64_LIB64
14169
6665d4a2
SM
14170 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14171 * elf/cache.c (print_entry): Print ",hard-float" for
14172 FLAG_ARM_LIBHF.
14173
05b227bd
DM
141742012-11-18 David S. Miller <davem@davemloft.net>
14175
14176 With help from Joseph Myers.
14177 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14178 cutoff to 2**-13.
14179 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14180 cutoff to 2**-25.
14181 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14182 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14183 small.
14184 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14185 * math/libm-test.inc (y0_test): New tests.
14186 (y1_test): New tests.
14187 * sysdeps/i386/fpu/libm-test-ulps: Update.
14188 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14190
786b0b67
AS
141912012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14192
14193 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14194 64-bit targets.
14195 * configure: Regenerated.
14196
8e18b86d
DM
141972012-11-17 David S. Miller <davem@davemloft.net>
14198
14199 [BZ #14811]
14200 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14201 nonzero exponents with absolute value below 0x1p-128 to +/-
14202 0x1p-128.
14203
531f1ae0
JM
142042012-11-17 Joseph Myers <joseph@codesourcery.com>
14205
12df29e2
JM
14206 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14207
150dc1a0
JM
14208 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14209
531f1ae0
JM
14210 * posix/getconf-speclist.c: New file.
14211 * posix/posix-envs.def: Likewise.
14212 * posix/confstr.c (START_ENV_GROUP): New macro.
14213 (END_ENV_GROUP): Likewise.
14214 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14215 (KNOWN_PRESENT_ENV_STRING): Likewise.
14216 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14217 (UNKNOWN_ENVIRONMENT): Likewise.
14218 (confstr): Include posix-envs.def instead of handling
14219 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14220 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14221 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14222 (END_ENV_GROUP): Likewise.
14223 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14224 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14225 (UNKNOWN_ENVIRONMENT): Likewise.
14226 (__sysconf): Include posix-envs.def instead of handling associated
14227 cases directly here.
14228 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14229 preprocessing getconf-speclist.c rather than running getconf or
14230 generating empty file.
14231
a93f9cbc
PT
142322012-11-16 Pino Toscano <toscano.pino@tiscali.it>
14233
14234 * scripts/check-local-headers.sh: Ignore 'mach' headers.
14235
d64d9f87
AL
142362012-11-16 Andrej Lajovic <natrij@gmail.com>
14237
14238 [BZ #14672]
14239 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14240
447885eb
DM
142412012-11-16 David S. Miller <davem@davemloft.net>
14242
14243 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14244 smaller than LDBL_EPSILON/2.0L, just return xm1.
14245
bcbf9830
L
142462012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14247
14248 * elf/tst-array1.c (init): Set constructor priority to 1000.
14249 (fini): Set destructor priority to 1000.
14250 * elf/tst-array2dep.c: Likewise.
14251
2b766585
SP
142522012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14253
14254 [BZ #11741]
14255 * libio/fileops.c (_IO_new_file_write): Correctly return error.
14256 (_IO_new_file_xsputn): Also return EOF if none of the input
14257 data was written when overflow failed.
14258 * libio/iopadn.c (_IO_padn): Likewise.
14259 * libio/iowpadn.c (_IO_wpadn): Likewise.
14260 * stdio-common/tst-put-error.c: Add copyright notice.
14261 (do_test): Add case for printing padded string.
14262 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14263 _IO_padn returned error.
14264 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14265 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14266 return EOF.
14267
b1848fde
SP
142682012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14269
14270 * libio/libioP.h: Add comment note that the references to C++
14271 bits are now obsolete.
14272
2fd89785
MS
142732012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14274
14275 * math/libm-test.inc (check_complex): Use asprintf.
14276
e3ea5409
JM
142772012-11-14 Joseph Myers <joseph@codesourcery.com>
14278
14279 * debug/pcprofiledump.c (print_version): Update copyright year.
14280 * malloc/memusagestat.c (print_version): Likewise.
14281
2e64d265
L
142822012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14283
14284 [BZ #14831]
14285 * elf/Makefile (tests): Add tst-audit8.
14286 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14287 ($(objpfx)tst-audit8.out): New target.
14288 (tst-audit8-ENV): New variable.
14289 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14290 audit if l_reloc_result is NULL.
14291 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14292 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14293 * elf/tst-audit8.c: New file.
14294
c485e4d2
MS
142952012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14296
14297 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14298 * misc/Makefile (CFLAGS-select.c): Define.
14299 * posix/Makefile (CFLAGS-pause.c): Define.
14300
3a0d900a
DM
143012012-11-13 David S. Miller <davem@davemloft.net>
14302
14303 * crypt/Makefile: Move test targets after toplevel Rules
14304 inclusion. Grab any necessary sysdep routines when linking.
14305 * crypt/md5.c (md5_process_block): Remove define, we will always
14306 name it __md5_process_block.
14307 (md5_finish_ctx): Update md5_process_block call.
14308 (md5_stream): Likewise.
14309 (md5_process_bytes): Likewise.
14310 (md5_process_block): Rename to __md5_process_block and move to ...
14311 * crypt/md5-block.c: ... here.
14312 * crypt/sha256.c (sha256_process_block): Move to ...
14313 * crypt/sha256-block.c: ... here.
14314 * crypt/sha512.c (sha512_process_block): Move to ...
14315 * crypt/sha512-block.c: ... here.
14316 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14317 path.
14318 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14319 * sysdeps/sparc/sparc64/multiarch/Makefile
14320 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14321 crypt subdir.
14322 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14323 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14324 multiarch changes.
14325 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14326 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14327 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14328 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14329 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14330 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14331 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14332 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14333 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14334 file.
14335 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14336 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14337 file.
14338 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14339
8ca89318
JM
143402012-11-13 Joseph Myers <joseph@codesourcery.com>
14341
e27d476a
JM
14342 * timezone/tzselect.ksh: Update from tzcode git revision
14343 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14344 * timezone/zdump.c: Likewise.
14345 * timezone/zic.c: Likewise.
14346 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14347 in TZVERSION setting, not $(PKGVERSION).
14348 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
14349 REPORT_BUGS_TO settings.
14350
8ca89318
JM
14351 [BZ #14838]
14352 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14353 macro.
14354
47594329
MS
143552012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14356
14357 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14358 detection to immediately after _FP_ROUND().
14359 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14360 bits are 0.
14361
640ac3f1
DM
143622012-11-11 David S. Miller <davem@davemloft.net>
14363
14364 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14365 inttypes.h
14366 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14367 __close rather than their public counterparts.
14368
3d2577bb
JM
143692012-11-10 Joseph Myers <joseph@codesourcery.com>
14370
14371 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14372 file.
14373 [UNIX98] (sem_timedwait): Do not expect.
14374 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14375 [XPG4 || UNIX98] (sockatmark): Do not expect.
14376 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14377 (clock_getcpuclockid): Do not expect.
14378 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14379 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14380 Do not expect.
14381 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14382 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14383 [UNIX98] (vwscanf): Likewise.
14384 [UNIX98] (vswscanf): Likewise.
14385
fb1ae1ee
JM
143862012-11-09 Joseph Myers <joseph@codesourcery.com>
14387
9ec6f8bd
JM
14388 * timezone/version.h: Remove file.
14389 * timezone/README: Do not refer to version.h.
14390 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14391 $(objpfx)version.h.
14392 ($(objpfx)zdump.o): Likewise.
c3f81911 14393 ($(objpfx)version.h): New target.
9ec6f8bd 14394
0aa8f8a1
JM
14395 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14396 2012i.
14397 * timezone/README: Don't mention modification to tzselect.ksh.
14398 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14399 work on unmodified tzselect.ksh. Substitute version numbers in
14400 tzselect.ksh.
14401
4e87147f
JM
14402 * Makefile (format-me): Remove.
14403 (INSTALL): Adjust indentation. Use commands directly instead of
14404 using $(format-me).
14405
8b748aed
JM
14406 * aclocal.m4 (ACX_PKGVERSION): New macro.
14407 (ACX_BUGURL): Likewise.
14408 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14409 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14410 (REPORT_BUGS_TO): Likewise.
14411 * configure: Regenerated.
14412 * config.h.in (PKGVERSION): New macro.
14413 (REPORT_BUGS_TO): Likewise.
14414 * config.make.in (PKGVERSION): New variable.
14415 (PKGVERSION_TEXI): Likewise.
14416 (REPORT_BUGS_TO): Likewise.
14417 (REPORT_BUGS_TEXI): Likewise.
14418 * Makefile (format-me): Use -I$(common-objpfx)manual.
14419 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14420 ($(common-objpfx)manual/%): New target.
14421 (manual/%): Remove target.
14422 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14423 (print_version): Use PKGVERSION.
14424 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14425 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14426 and REPORT_BUGS_TO.
14427 ($(objpfx)xtrace): Likewise.
14428 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14429 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14430 (print_version): Use PKGVERSION.
14431 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14432 (do_version): Use PKGVERSION.
14433 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14434 REPORT_BUGS_TO.
14435 (common-ldd-rewrite): Likewise.
14436 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14437 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14438 (print_version): Use PKGVERSION.
14439 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14440 * elf/pldd.c (argp_program_bug_address): Remove variable.
14441 (more_help): New function.
14442 (argp): Use more_help.
14443 (print_version): Use PKGVERSION.
14444 * elf/sln.c (main): Use PKGVERSION.
14445 (usage): Use REPORT_BUGS_TO.
14446 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14447 (top level): Use PKGVERSION.
14448 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14449 (print_version): Use PKGVERSION.
14450 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14451 (print_version): Use PKGVERSION.
14452 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14453 (print_version): Use PKGVERSION.
14454 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14455 (print_version): Use PKGVERSION.
14456 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14457 (print_version): Use PKGVERSION.
14458 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14459 (print_version): Use PKGVERSION.
14460 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14461 and BUGURL.
14462 ($(objpfx)memusage): Likewise.
14463 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14464 (do_version): Use PKGVERSION.
14465 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14466 (print_version): Use PKGVERSION.
14467 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14468 ($PKGVERSION): New variable.
14469 ($REPORT_BUGS_TO): Likewise.
14470 (usage): Use $REPORT_BUGS_TO.
14471 (top level): Use $PKGVERSION.
14472 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14473 ($(objpfx)pkgvers.texi): New rule.
14474 ($(objpfx)stamp-pkgvers): Likewise.
14475 * manual/install.texi: Include pkgvers.texi.
14476 (--with-pkgversion): Document new configure option.
14477 (--with-bugurl): Likewise.
14478 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14479 than necessarily for this particular distribution. Use
14480 REPORT_BUGS_TO for where to report bugs.
14481 * INSTALL: Regenerated.
14482 * manual/libc.texinfo: Include pkgvers.texi.
14483 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14484 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14485 (print_version): Use PKGVERSION.
14486 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14487 (print_version): Use PKGVERSION.
14488 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14489 (print_version): Use PKGVERSION.
14490 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14491 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14492 macro.
14493 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14494 (print_version): Use PKGVERSION.
14495 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14496 (print_version): Use PKGVERSION.
14497 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14498 and PKGVERSION.
14499
92e4b6a9
JM
14500 * timezone/checktab.awk: Update from tzcode 2012i.
14501 * timezone/ialloc.c: Likewise.
14502 * timezone/private.h: Likewise.
14503 * timezone/scheck.c: Likewise.
14504 * timezone/tzfile.h: Likewise.
14505 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14506 (TZVERSION): Hardcode tzcode version number.
14507 * timezone/zdump.c: Update from tzcode 2012i.
14508 * timezone/zic.c: Likewise.
14509 * timezone/version.h: New file.
14510 * timezone/README: Describe version.h. Update upstream location.
14511
9bde902c
JM
14512 [BZ #14824]
14513 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14514 (mktemp): Enable declaration.
14515 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14516 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14517 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14518 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14519 Likewise.
14520 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14521 Likewise.
14522 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14523 Likewise.
14524 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14525 Likewise.
14526 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14527 Likewise.
14528 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14529 Likewise.
14530
fb1ae1ee
JM
14531 [BZ #14821]
14532 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14533 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14534 for copies of such integer values.
14535 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14536 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14537
2c1adbcb
AJ
145382012-11-09 Andreas Jaeger <aj@suse.de>
14539
14540 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14541 definitions and declarations that are provided by
14542 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14543
d0f8457e
AK
145442012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14545
3a235abb 14546 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
14547 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14548 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14549 definition.
14550
57241e26
MS
145512012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14552
14553 * elf/elf.h: Update comment before AArch64 relocations.
14554
60e8270d
DM
145552012-11-07 David S. Miller <davem@davemloft.net>
14556
14557 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14558 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14559 (__start_context): Declare.
14560 (__makecontext_ret): Delete.
14561 (__makecontext): Hook up __start_context instead of
14562 __makecontext_ret.
14563 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14564 (sysdep_routines): Add __start_context when in stdlib.
14565
0fbb0fbc
JM
145662012-11-07 Joseph Myers <joseph@codesourcery.com>
14567
14568 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14569 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14570 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14571 hardcoded "nm".
14572 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14573 (READELF): New variable. Use it instead of hardcoded "readelf".
14574
eb48db7e
L
145752012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14576
14577 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14578 * sysdeps/x86/Makefile: Here.
14579 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14580 * sysdeps/x86/tst-xmmymm.sh: This.
14581
05bcf62a
JM
145822012-11-07 Joseph Myers <joseph@codesourcery.com>
14583
c4b6cf53
JM
14584 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14585 expectations.
14586 [UNIX98] (pthread_barrier_t): Do not expect.
14587 [UNIX98] (pthread_barrierattr_t): Likewise.
14588 [UNIX98] (pthread_spinlock_t): Likewise.
14589 [UNIX98] (pthread_barrier_destroy): Likewise.
14590 [UNIX98] (pthread_barrier_init): Likewise.
14591 [UNIX98] (pthread_barrier_wait): Likewise.
14592 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14593 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14594 [UNIX98] (pthread_barrierattr_init): Likewise.
14595 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14596 [UNIX98] (pthread_getcpuclockid): Likewise.
14597 [UNIX98] (pthread_mutex_timedlock): Likewise.
14598 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14599 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14600 [UNIX98] (pthread_sigmask): Likewise.
14601 [UNIX98] (pthread_spin_destroy): Likewise.
14602 [UNIX98] (pthread_spin_init): Likewise.
14603 [UNIX98] (pthread_spin_lock): Likewise.
14604 [UNIX98] (pthread_spin_trylock): Likewise.
14605 [UNIX98] (pthread_spin_unlock): Likewise.
14606 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14607 Do not expect.
14608 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14609 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14610 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14611 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14612 [XPG3 || XPG4] (pthread_key_t): Likewise.
14613 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14614 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14615 [XPG3 || XPG4] (pthread_once_t): Likewise.
14616 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14617 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14618 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14619 [XPG3 || XPG4] (pthread_t): Likewise.
14620
cbe6e120
JM
14621 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14622 not expect.
14623 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14624
1b126443
JM
14625 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14626 Change function return type to int.
14627
b961a573
JM
14628 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14629 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14630 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14631 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14632 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14633 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14634 [!POSIX] (posix_madvise): Likewise.
14635 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14636 && !UNIX98].
14637 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14638 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14639 (mode_t): Likewise.
14640 (posix_mem_offset): Likewise.
14641 (posix_typed_mem_get_info): Likewise.
14642 (posix_typed_mem_open): Likewise.
14643
9e188909
JM
14644 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14645 Change condition to [XOPEN2K8].
14646
05bcf62a
JM
14647 * conform/conformtest.pl: Preprocess allow-header data with -x c
14648 instead of from stdin.
14649 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14650 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14651 [C99-based standards] (cerfc): Likewise.
14652 [C99-based standards] (cexp2): Likewise.
14653 [C99-based standards] (cexpm1): Likewise.
14654 [C99-based standards] (clog10): Likewise.
14655 [C99-based standards] (clog1p): Likewise.
14656 [C99-based standards] (clog2): Likewise.
14657 [C99-based standards] (clgamma): Likewise.
14658 [C99-based standards] (ctgamma): Likewise.
14659 [C99-based standards] (cerff): Likewise.
14660 [C99-based standards] (cerfcf): Likewise.
14661 [C99-based standards] (cexp2f): Likewise.
14662 [C99-based standards] (cexpm1f): Likewise.
14663 [C99-based standards] (clog10f): Likewise.
14664 [C99-based standards] (clog1pf): Likewise.
14665 [C99-based standards] (clog2f): Likewise.
14666 [C99-based standards] (clgammaf): Likewise.
14667 [C99-based standards] (ctgammaf): Likewise.
14668 [C99-based standards] (cerfl): Likewise.
14669 [C99-based standards] (cerfcl): Likewise.
14670 [C99-based standards] (cexp2l): Likewise.
14671 [C99-based standards] (cexpm1l): Likewise.
14672 [C99-based standards] (clog10l): Likewise.
14673 [C99-based standards] (clog1pl): Likewise.
14674 [C99-based standards] (clog2l): Likewise.
14675 [C99-based standards] (clgammal): Likewise.
14676 [C99-based standards] (ctgammal): Likewise.
14677 * conform/data/inttypes.h-data [C99-based standards]: Include
14678 stdint.h-data. Remove all expectations for stdint.h contents.
14679 [C99-based standards] (PRI*): Do not allow.
14680 [C99-based standards] (SCN*): Likewise.
14681 [C99-based standards] (*_t): Likewise.
14682 [C99-based-standards] (PRId8): Expect macro.
14683 [C99-based-standards] (PRIi8): Likewise.
14684 [C99-based-standards] (PRIo8): Likewise.
14685 [C99-based-standards] (PRIu8): Likewise.
14686 [C99-based-standards] (PRIx8): Likewise.
14687 [C99-based-standards] (PRIX8): Likewise.
14688 [C99-based-standards] (SCNd8): Likewise.
14689 [C99-based-standards] (SCNi8): Likewise.
14690 [C99-based-standards] (SCNo8): Likewise.
14691 [C99-based-standards] (SCNu8): Likewise.
14692 [C99-based-standards] (SCNx8): Likewise.
14693 [C99-based-standards] (PRIdLEAST8): Likewise.
14694 [C99-based-standards] (PRIiLEAST8): Likewise.
14695 [C99-based-standards] (PRIoLEAST8): Likewise.
14696 [C99-based-standards] (PRIuLEAST8): Likewise.
14697 [C99-based-standards] (PRIxLEAST8): Likewise.
14698 [C99-based-standards] (PRIXLEAST8): Likewise.
14699 [C99-based-standards] (SCNdLEAST8): Likewise.
14700 [C99-based-standards] (SCNiLEAST8): Likewise.
14701 [C99-based-standards] (SCNoLEAST8): Likewise.
14702 [C99-based-standards] (SCNuLEAST8): Likewise.
14703 [C99-based-standards] (SCNxLEAST8): Likewise.
14704 [C99-based-standards] (PRIdFAST8): Likewise.
14705 [C99-based-standards] (PRIiFAST8): Likewise.
14706 [C99-based-standards] (PRIoFAST8): Likewise.
14707 [C99-based-standards] (PRIuFAST8): Likewise.
14708 [C99-based-standards] (PRIxFAST8): Likewise.
14709 [C99-based-standards] (PRIXFAST8): Likewise.
14710 [C99-based-standards] (SCNdFAST8): Likewise.
14711 [C99-based-standards] (SCNiFAST8): Likewise.
14712 [C99-based-standards] (SCNoFAST8): Likewise.
14713 [C99-based-standards] (SCNuFAST8): Likewise.
14714 [C99-based-standards] (SCNxFAST8): Likewise.
14715 [C99-based-standards] (PRId16): Likewise.
14716 [C99-based-standards] (PRIi16): Likewise.
14717 [C99-based-standards] (PRIo16): Likewise.
14718 [C99-based-standards] (PRIu16): Likewise.
14719 [C99-based-standards] (PRIx16): Likewise.
14720 [C99-based-standards] (PRIX16): Likewise.
14721 [C99-based-standards] (SCNd16): Likewise.
14722 [C99-based-standards] (SCNi16): Likewise.
14723 [C99-based-standards] (SCNo16): Likewise.
14724 [C99-based-standards] (SCNu16): Likewise.
14725 [C99-based-standards] (SCNx16): Likewise.
14726 [C99-based-standards] (PRIdLEAST16): Likewise.
14727 [C99-based-standards] (PRIiLEAST16): Likewise.
14728 [C99-based-standards] (PRIoLEAST16): Likewise.
14729 [C99-based-standards] (PRIuLEAST16): Likewise.
14730 [C99-based-standards] (PRIxLEAST16): Likewise.
14731 [C99-based-standards] (PRIXLEAST16): Likewise.
14732 [C99-based-standards] (SCNdLEAST16): Likewise.
14733 [C99-based-standards] (SCNiLEAST16): Likewise.
14734 [C99-based-standards] (SCNoLEAST16): Likewise.
14735 [C99-based-standards] (SCNuLEAST16): Likewise.
14736 [C99-based-standards] (SCNxLEAST16): Likewise.
14737 [C99-based-standards] (PRIdFAST16): Likewise.
14738 [C99-based-standards] (PRIiFAST16): Likewise.
14739 [C99-based-standards] (PRIoFAST16): Likewise.
14740 [C99-based-standards] (PRIuFAST16): Likewise.
14741 [C99-based-standards] (PRIxFAST16): Likewise.
14742 [C99-based-standards] (PRIXFAST16): Likewise.
14743 [C99-based-standards] (SCNdFAST16): Likewise.
14744 [C99-based-standards] (SCNiFAST16): Likewise.
14745 [C99-based-standards] (SCNoFAST16): Likewise.
14746 [C99-based-standards] (SCNuFAST16): Likewise.
14747 [C99-based-standards] (SCNxFAST16): Likewise.
14748 [C99-based-standards] (PRId32): Likewise.
14749 [C99-based-standards] (PRIi32): Likewise.
14750 [C99-based-standards] (PRIo32): Likewise.
14751 [C99-based-standards] (PRIu32): Likewise.
14752 [C99-based-standards] (PRIx32): Likewise.
14753 [C99-based-standards] (PRIX32): Likewise.
14754 [C99-based-standards] (SCNd32): Likewise.
14755 [C99-based-standards] (SCNi32): Likewise.
14756 [C99-based-standards] (SCNo32): Likewise.
14757 [C99-based-standards] (SCNu32): Likewise.
14758 [C99-based-standards] (SCNx32): Likewise.
14759 [C99-based-standards] (PRIdLEAST32): Likewise.
14760 [C99-based-standards] (PRIiLEAST32): Likewise.
14761 [C99-based-standards] (PRIoLEAST32): Likewise.
14762 [C99-based-standards] (PRIuLEAST32): Likewise.
14763 [C99-based-standards] (PRIxLEAST32): Likewise.
14764 [C99-based-standards] (PRIXLEAST32): Likewise.
14765 [C99-based-standards] (SCNdLEAST32): Likewise.
14766 [C99-based-standards] (SCNiLEAST32): Likewise.
14767 [C99-based-standards] (SCNoLEAST32): Likewise.
14768 [C99-based-standards] (SCNuLEAST32): Likewise.
14769 [C99-based-standards] (SCNxLEAST32): Likewise.
14770 [C99-based-standards] (PRIdFAST32): Likewise.
14771 [C99-based-standards] (PRIiFAST32): Likewise.
14772 [C99-based-standards] (PRIoFAST32): Likewise.
14773 [C99-based-standards] (PRIuFAST32): Likewise.
14774 [C99-based-standards] (PRIxFAST32): Likewise.
14775 [C99-based-standards] (PRIXFAST32): Likewise.
14776 [C99-based-standards] (SCNdFAST32): Likewise.
14777 [C99-based-standards] (SCNiFAST32): Likewise.
14778 [C99-based-standards] (SCNoFAST32): Likewise.
14779 [C99-based-standards] (SCNuFAST32): Likewise.
14780 [C99-based-standards] (SCNxFAST32): Likewise.
14781 [C99-based-standards] (PRId64): Likewise.
14782 [C99-based-standards] (PRIi64): Likewise.
14783 [C99-based-standards] (PRIo64): Likewise.
14784 [C99-based-standards] (PRIu64): Likewise.
14785 [C99-based-standards] (PRIx64): Likewise.
14786 [C99-based-standards] (PRIX64): Likewise.
14787 [C99-based-standards] (SCNd64): Likewise.
14788 [C99-based-standards] (SCNi64): Likewise.
14789 [C99-based-standards] (SCNo64): Likewise.
14790 [C99-based-standards] (SCNu64): Likewise.
14791 [C99-based-standards] (SCNx64): Likewise.
14792 [C99-based-standards] (PRIdLEAST64): Likewise.
14793 [C99-based-standards] (PRIiLEAST64): Likewise.
14794 [C99-based-standards] (PRIoLEAST64): Likewise.
14795 [C99-based-standards] (PRIuLEAST64): Likewise.
14796 [C99-based-standards] (PRIxLEAST64): Likewise.
14797 [C99-based-standards] (PRIXLEAST64): Likewise.
14798 [C99-based-standards] (SCNdLEAST64): Likewise.
14799 [C99-based-standards] (SCNiLEAST64): Likewise.
14800 [C99-based-standards] (SCNoLEAST64): Likewise.
14801 [C99-based-standards] (SCNuLEAST64): Likewise.
14802 [C99-based-standards] (SCNxLEAST64): Likewise.
14803 [C99-based-standards] (PRIdFAST64): Likewise.
14804 [C99-based-standards] (PRIiFAST64): Likewise.
14805 [C99-based-standards] (PRIoFAST64): Likewise.
14806 [C99-based-standards] (PRIuFAST64): Likewise.
14807 [C99-based-standards] (PRIxFAST64): Likewise.
14808 [C99-based-standards] (PRIXFAST64): Likewise.
14809 [C99-based-standards] (SCNdFAST64): Likewise.
14810 [C99-based-standards] (SCNiFAST64): Likewise.
14811 [C99-based-standards] (SCNoFAST64): Likewise.
14812 [C99-based-standards] (SCNuFAST64): Likewise.
14813 [C99-based-standards] (SCNxFAST64): Likewise.
14814 [C99-based-standards] (PRIdMAX): Likewise.
14815 [C99-based-standards] (PRIiMAX): Likewise.
14816 [C99-based-standards] (PRIoMAX): Likewise.
14817 [C99-based-standards] (PRIuMAX): Likewise.
14818 [C99-based-standards] (PRIxMAX): Likewise.
14819 [C99-based-standards] (PRIXMAX): Likewise.
14820 [C99-based-standards] (SCNdMAX): Likewise.
14821 [C99-based-standards] (SCNiMAX): Likewise.
14822 [C99-based-standards] (SCNoMAX): Likewise.
14823 [C99-based-standards] (SCNuMAX): Likewise.
14824 [C99-based-standards] (SCNxMAX): Likewise.
14825 [C99-based-standards] (PRIdPTR): Likewise.
14826 [C99-based-standards] (PRIiPTR): Likewise.
14827 [C99-based-standards] (PRIoPTR): Likewise.
14828 [C99-based-standards] (PRIuPTR): Likewise.
14829 [C99-based-standards] (PRIxPTR): Likewise.
14830 [C99-based-standards] (PRIXPTR): Likewise.
14831 [C99-based-standards] (SCNdPTR): Likewise.
14832 [C99-based-standards] (SCNiPTR): Likewise.
14833 [C99-based-standards] (SCNoPTR): Likewise.
14834 [C99-based-standards] (SCNuPTR): Likewise.
14835 [C99-based-standards] (SCNxPTR): Likewise.
14836 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14837 allow.
14838 * conform/data/stdint.h-data: Update comments to clarify
14839 requirements.
14840 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14841 type.
14842 [C99-based standards] (INT8_MAX): Likewise.
14843 [C99-based standards] (INT16_MIN): Likewise.
14844 [C99-based standards] (INT16_MAX): Likewise.
14845 [C99-based standards] (INT32_MIN): Likewise.
14846 [C99-based standards] (INT32_MAX): Likewise.
14847 [C99-based standards] (INT64_MIN): Likewise.
14848 [C99-based standards] (INT64_MAX): Likewise.
14849 [C99-based standards] (UINT8_MAX): Likewise.
14850 [C99-based standards] (UINT16_MAX): Likewise.
14851 [C99-based standards] (UINT32_MAX): Likewise.
14852 [C99-based standards] (UINT64_MAX): Likewise.
14853 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14854 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14855 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14856 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14857 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14858 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14859 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14860 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14861 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14862 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14863 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14864 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14865 [C99-based standards] (INT_FAST8_MIN): Likewise.
14866 [C99-based standards] (INT_FAST8_MAX): Likewise.
14867 [C99-based standards] (INT_FAST16_MIN): Likewise.
14868 [C99-based standards] (INT_FAST16_MAX): Likewise.
14869 [C99-based standards] (INT_FAST32_MIN): Likewise.
14870 [C99-based standards] (INT_FAST32_MAX): Likewise.
14871 [C99-based standards] (INT_FAST64_MIN): Likewise.
14872 [C99-based standards] (INT_FAST64_MAX): Likewise.
14873 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14874 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14875 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14876 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14877 [C99-based standards] (INTPTR_MIN): Likewise.
14878 [C99-based standards] (INTPTR_MAX): Likewise.
14879 [C99-based standards] (UINTPTR_MAX): Likewise.
14880 [C99-based standards] (INTMAX_MIN): Likewise.
14881 [C99-based standards] (INTMAX_MAX): Likewise.
14882 [C99-based standards] (UINTMAX_MAX): Likewise.
14883 [C99-based standards] (PTRDIFF_MIN): Likewise.
14884 [C99-based standards] (PTRDIFF_MAX): Likewise.
14885 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14886 [C99-based standards] (SIZE_MAX): Likewise.
14887 [C99-based standards] (WCHAR_MAX): Likewise.
14888 [C99-based standards] (WINT_MAX): Likewise.
14889 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14890 constraint on value.
14891 [C99-based standards] (WCHAR_MIN): Likewise.
14892 [C99-based standards] (WINT_MIN): Likewise.
14893 [C99-based standards] (*_t): Allow.
14894 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14895 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14896 Include math.h-data and complex.h-data. Remove all expectations
14897 of math.h and complex.h contents.
14898 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14899 at end of line.
14900 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14901 (struct tm): Expect tag.
14902 [C99-based-standards] (wcstof): Expect function.
14903 [C99-based-standards] (wcstold): Likewise.
14904 [C99-based-standards] (wcstoll): Likewise.
14905 [C99-based-standards] (wcstoull): Likewise.
14906 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14907 macro-int-constant. Specify type.
14908 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14909 constraint on value.
14910 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14911 Specify type.
14912 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14913 Specify value.
14914 [ISO C standards]: Do not allow headers.
14915 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14916 wcs[abcdefghijklmnopqrstuvwxyz]*.
14917 [ISO C standards] (*_t): Do not allow.
14918 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14919 Expect function.
14920 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14921 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14922 Specify type.
14923 [ISO C standards]: Do not allow headers.
14924 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14925 is[abcdefghijklmnopqrstuvwxyz]*.
14926 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14927 to[abcdefghijklmnopqrstuvwxyz]*.
14928 [ISO C standards] (*_t): Do not allow.
14929 * conform/data/stdalign.h-data: New file.
14930 * conform/data/stdbool.h-data: Likewise.
14931 * conform/data/stdnoreturn.h-data: Likewise.
14932
7514feb8
RM
149332012-11-07 Roland McGrath <roland@hack.frob.com>
14934
14935 [BZ #14815]
14936 * manual/filesys.texi (Directory Entries): Typo fix.
14937 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14938
19b2ecfc
MS
149392012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14940
14941 * elf/elf.h (EM_AARCH64): New macro.
14942 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14943 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14944 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14945 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14946 (R_AARCH64_TLSDESC): Likewise.
14947 (NT_ARM_TLS): Likewise.
14948 (NT_ARM_HW_BREAK): Likewise.
14949 (NT_ARM_HW_WATCH): Likewise.
14950
60e235ee
JM
149512012-11-07 Joseph Myers <joseph@codesourcery.com>
14952
14953 [BZ #14811]
14954 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14955 (__ieee754_powl): Saturate nonzero exponents with absolute value
14956 below 0x1p-79 to +/- 0x1p-79.
14957 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14958 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14959 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14960 nonzero exponents with absolute value below 0x1p-32 to +/-
14961 0x1p-32.
14962 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14963 (__ieee754_powl): Saturate nonzero exponents with absolute value
14964 below 0x1p-79 to +/- 0x1p-79.
14965 * math/libm-test.inc (pow_test): Add more tests.
14966
0ab234b7
AK
149672012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14968
14969 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14970 _dl_s390_cap_flags with kernel. Increase string length.
14971 (_dl_s390_platforms): Add z196 and zEC12.
14972
45832f74
JM
149732012-11-07 Joseph Myers <joseph@codesourcery.com>
14974
14975 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14976 Change XOPEN21K to XOPEN2K.
14977
19218757
MK
149782012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14979
14980 * string/memmove.c: Use memcpy when possible.
14981
c5f45721
AJ
149822012-11-06 Andreas Jaeger <aj@suse.de>
14983
14984 * po/eo.po: Update from translation team.
14985
82477c28
JM
149862012-11-06 Joseph Myers <joseph@codesourcery.com>
14987
14988 [BZ #14793]
14989 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14990 exponent and small x and y exponents, scale x or y up. Increase
14991 by 2 the exponent used in scaling up.
14992 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14993 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14994 * math/libm-test.inc (fma_test): Add more tests.
14995 (fma_test_towardzero): Likewise.
14996 (fma_test_downward): Likewise.
14997 (fma_test_upward): Likewise.
14998
99252c8c
JM
149992012-11-05 Joseph Myers <joseph@codesourcery.com>
15000
acfa885f
JM
15001 [BZ #14805]
15002 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15003 fenv_t *.
15004
99252c8c
JM
15005 [BZ #14801]
15006 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15007 namespace for names of struct fields.
15008 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15009 fenv_t fields.
15010 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15011 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15012
d6d98dea
ST
150132012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15014
15015 [BZ #3665]
15016 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15017
e10bb107
TS
150182012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15019
15020 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15021 PTR_DEMANGLE.
15022
15023 [BZ #5246]
15024 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15025 PTR_DEMANGLE.
15026
a0c2940d
JM
150272012-11-04 Joseph Myers <joseph@codesourcery.com>
15028
15029 [BZ #14797]
15030 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15031 definitely overflow as x * y not x * y + z.
15032 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15033 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15034 * math/libm-test.inc (fma_test): Add more tests.
15035 (fma_test_towardzero): Likewise.
15036 (fma_test_downward): Likewise.
15037 (fma_test_upward): Likewise.
15038
b830319d
TS
150392012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15040
15041 [BZ #157]
15042
15043 * include/stub-tag.h: Remove file.
15044 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15045 '#include' of it.
15046 * manual/maint.texi (Porting): Don't reference it.
15047 * Makerules ($(objpfx)stubs): Likewise.
15048 * dirent/closedir.c: Don't include <stub-tag.h>.
15049 * dirent/dirfd.c: Likewise.
15050 * dirent/fdopendir.c: Likewise.
15051 * dirent/getdents.c: Likewise.
15052 * dirent/getdents64.c: Likewise.
15053 * dirent/opendir.c: Likewise.
15054 * dirent/readdir.c: Likewise.
15055 * dirent/readdir64.c: Likewise.
15056 * dirent/readdir64_r.c: Likewise.
15057 * dirent/readdir_r.c: Likewise.
15058 * dirent/rewinddir.c: Likewise.
15059 * dirent/seekdir.c: Likewise.
15060 * dirent/telldir.c: Likewise.
15061 * gmon/profil.c: Likewise.
15062 * grp/setgroups.c: Likewise.
15063 * inet/if_index.c: Likewise.
15064 * io/access.c: Likewise.
15065 * io/chdir.c: Likewise.
15066 * io/chmod.c: Likewise.
15067 * io/chown.c: Likewise.
15068 * io/close.c: Likewise.
15069 * io/dup.c: Likewise.
15070 * io/dup2.c: Likewise.
15071 * io/dup3.c: Likewise.
15072 * io/euidaccess.c: Likewise.
15073 * io/faccessat.c: Likewise.
15074 * io/fchdir.c: Likewise.
15075 * io/fchmod.c: Likewise.
15076 * io/fchmodat.c: Likewise.
15077 * io/fchown.c: Likewise.
15078 * io/fchownat.c: Likewise.
15079 * io/fcntl.c: Likewise.
15080 * io/flock.c: Likewise.
15081 * io/fstatfs.c: Likewise.
15082 * io/fstatfs64.c: Likewise.
15083 * io/fstatvfs.c: Likewise.
15084 * io/fstatvfs64.c: Likewise.
15085 * io/futimens.c: Likewise.
15086 * io/fxstat.c: Likewise.
15087 * io/fxstat64.c: Likewise.
15088 * io/fxstatat.c: Likewise.
15089 * io/fxstatat64.c: Likewise.
15090 * io/getcwd.c: Likewise.
15091 * io/isatty.c: Likewise.
15092 * io/lchmod.c: Likewise.
15093 * io/lchown.c: Likewise.
15094 * io/link.c: Likewise.
15095 * io/linkat.c: Likewise.
15096 * io/lseek.c: Likewise.
15097 * io/lseek64.c: Likewise.
15098 * io/lxstat64.c: Likewise.
15099 * io/mkdir.c: Likewise.
15100 * io/mkdirat.c: Likewise.
15101 * io/mkfifo.c: Likewise.
15102 * io/mkfifoat.c: Likewise.
15103 * io/open.c: Likewise.
15104 * io/open64.c: Likewise.
15105 * io/openat.c: Likewise.
15106 * io/openat64.c: Likewise.
15107 * io/pipe.c: Likewise.
15108 * io/pipe2.c: Likewise.
15109 * io/poll.c: Likewise.
15110 * io/posix_fadvise.c: Likewise.
15111 * io/posix_fadvise64.c: Likewise.
15112 * io/posix_fallocate.c: Likewise.
15113 * io/posix_fallocate64.c: Likewise.
15114 * io/read.c: Likewise.
15115 * io/readlink.c: Likewise.
15116 * io/readlinkat.c: Likewise.
15117 * io/rmdir.c: Likewise.
15118 * io/sendfile.c: Likewise.
15119 * io/sendfile64.c: Likewise.
15120 * io/statfs.c: Likewise.
15121 * io/statfs64.c: Likewise.
15122 * io/statvfs.c: Likewise.
15123 * io/statvfs64.c: Likewise.
15124 * io/symlink.c: Likewise.
15125 * io/symlinkat.c: Likewise.
15126 * io/ttyname.c: Likewise.
15127 * io/ttyname_r.c: Likewise.
15128 * io/umask.c: Likewise.
15129 * io/unlink.c: Likewise.
15130 * io/unlinkat.c: Likewise.
15131 * io/utime.c: Likewise.
15132 * io/utimensat.c: Likewise.
15133 * io/write.c: Likewise.
15134 * io/xmknod.c: Likewise.
15135 * io/xmknodat.c: Likewise.
15136 * io/xstat.c: Likewise.
15137 * io/xstat64.c: Likewise.
15138 * login/getpt.c: Likewise.
15139 * login/grantpt.c: Likewise.
15140 * login/unlockpt.c: Likewise.
15141 * math/e_acoshl.c: Likewise.
15142 * math/e_acosl.c: Likewise.
15143 * math/e_asinl.c: Likewise.
15144 * math/e_atan2l.c: Likewise.
15145 * math/e_atanhl.c: Likewise.
15146 * math/e_coshl.c: Likewise.
15147 * math/e_expl.c: Likewise.
15148 * math/e_fmodl.c: Likewise.
15149 * math/e_gammal_r.c: Likewise.
15150 * math/e_hypotl.c: Likewise.
15151 * math/e_j0l.c: Likewise.
15152 * math/e_j1l.c: Likewise.
15153 * math/e_jnl.c: Likewise.
15154 * math/e_lgammal_r.c: Likewise.
15155 * math/e_log10l.c: Likewise.
15156 * math/e_log2l.c: Likewise.
15157 * math/e_logl.c: Likewise.
15158 * math/e_powl.c: Likewise.
15159 * math/e_rem_pio2l.c: Likewise.
15160 * math/e_sinhl.c: Likewise.
15161 * math/e_sqrtl.c: Likewise.
15162 * math/fclrexcpt.c: Likewise.
15163 * math/fedisblxcpt.c: Likewise.
15164 * math/feenablxcpt.c: Likewise.
15165 * math/fegetenv.c: Likewise.
15166 * math/fegetexcept.c: Likewise.
15167 * math/fegetround.c: Likewise.
15168 * math/feholdexcpt.c: Likewise.
15169 * math/fesetenv.c: Likewise.
15170 * math/fesetround.c: Likewise.
15171 * math/feupdateenv.c: Likewise.
15172 * math/fgetexcptflg.c: Likewise.
15173 * math/fraiseexcpt.c: Likewise.
15174 * math/fsetexcptflg.c: Likewise.
15175 * math/ftestexcept.c: Likewise.
15176 * math/k_cosl.c: Likewise.
15177 * math/k_rem_pio2l.c: Likewise.
15178 * math/k_sinl.c: Likewise.
15179 * math/k_tanl.c: Likewise.
15180 * math/s_asinhl.c: Likewise.
15181 * math/s_atanl.c: Likewise.
15182 * math/s_cbrtl.c: Likewise.
15183 * math/s_erfl.c: Likewise.
15184 * math/s_expm1l.c: Likewise.
15185 * math/s_log1pl.c: Likewise.
15186 * math/s_tanhl.c: Likewise.
15187 * misc/acct.c: Likewise.
15188 * misc/brk.c: Likewise.
15189 * misc/chflags.c: Likewise.
15190 * misc/chroot.c: Likewise.
15191 * misc/fchflags.c: Likewise.
15192 * misc/fgetxattr.c: Likewise.
15193 * misc/flistxattr.c: Likewise.
15194 * misc/fremovexattr.c: Likewise.
15195 * misc/fsetxattr.c: Likewise.
15196 * misc/fsync.c: Likewise.
15197 * misc/ftruncate.c: Likewise.
15198 * misc/futimes.c: Likewise.
15199 * misc/futimesat.c: Likewise.
15200 * misc/getdomain.c: Likewise.
15201 * misc/getdtsz.c: Likewise.
15202 * misc/gethostid.c: Likewise.
15203 * misc/gethostname.c: Likewise.
15204 * misc/getloadavg.c: Likewise.
15205 * misc/getpagesize.c: Likewise.
15206 * misc/getsysstats.c: Likewise.
15207 * misc/getxattr.c: Likewise.
15208 * misc/gtty.c: Likewise.
15209 * misc/ioctl.c: Likewise.
15210 * misc/lgetxattr.c: Likewise.
15211 * misc/listxattr.c: Likewise.
15212 * misc/llistxattr.c: Likewise.
15213 * misc/lremovexattr.c: Likewise.
15214 * misc/lsetxattr.c: Likewise.
15215 * misc/lutimes.c: Likewise.
15216 * misc/madvise.c: Likewise.
15217 * misc/mincore.c: Likewise.
15218 * misc/mlock.c: Likewise.
15219 * misc/mlockall.c: Likewise.
15220 * misc/mmap.c: Likewise.
15221 * misc/mprotect.c: Likewise.
15222 * misc/msync.c: Likewise.
15223 * misc/munlock.c: Likewise.
15224 * misc/munlockall.c: Likewise.
15225 * misc/munmap.c: Likewise.
15226 * misc/preadv.c: Likewise.
15227 * misc/preadv64.c: Likewise.
15228 * misc/ptrace.c: Likewise.
15229 * misc/pwritev.c: Likewise.
15230 * misc/pwritev64.c: Likewise.
15231 * misc/readv.c: Likewise.
15232 * misc/reboot.c: Likewise.
15233 * misc/remap_file_pages.c: Likewise.
15234 * misc/removexattr.c: Likewise.
15235 * misc/revoke.c: Likewise.
15236 * misc/select.c: Likewise.
15237 * misc/setdomain.c: Likewise.
15238 * misc/setegid.c: Likewise.
15239 * misc/seteuid.c: Likewise.
15240 * misc/sethostid.c: Likewise.
15241 * misc/sethostname.c: Likewise.
15242 * misc/setregid.c: Likewise.
15243 * misc/setreuid.c: Likewise.
15244 * misc/setxattr.c: Likewise.
15245 * misc/sstk.c: Likewise.
15246 * misc/stty.c: Likewise.
15247 * misc/swapoff.c: Likewise.
15248 * misc/swapon.c: Likewise.
15249 * misc/sync.c: Likewise.
15250 * misc/syncfs.c: Likewise.
15251 * misc/syscall.c: Likewise.
15252 * misc/truncate.c: Likewise.
15253 * misc/ualarm.c: Likewise.
15254 * misc/usleep.c: Likewise.
15255 * misc/ustat.c: Likewise.
15256 * misc/utimes.c: Likewise.
15257 * misc/vhangup.c: Likewise.
15258 * misc/writev.c: Likewise.
15259 * posix/_exit.c: Likewise.
15260 * posix/alarm.c: Likewise.
15261 * posix/execve.c: Likewise.
15262 * posix/fexecve.c: Likewise.
15263 * posix/fork.c: Likewise.
15264 * posix/fpathconf.c: Likewise.
15265 * posix/getaddrinfo.c: Likewise.
15266 * posix/getegid.c: Likewise.
15267 * posix/geteuid.c: Likewise.
15268 * posix/getgid.c: Likewise.
15269 * posix/getgroups.c: Likewise.
15270 * posix/getlogin.c: Likewise.
15271 * posix/getlogin_r.c: Likewise.
15272 * posix/getpgid.c: Likewise.
15273 * posix/getpid.c: Likewise.
15274 * posix/getppid.c: Likewise.
15275 * posix/getresgid.c: Likewise.
15276 * posix/getresuid.c: Likewise.
15277 * posix/getsid.c: Likewise.
15278 * posix/getuid.c: Likewise.
15279 * posix/glob64.c: Likewise.
15280 * posix/nanosleep.c: Likewise.
15281 * posix/pathconf.c: Likewise.
15282 * posix/pause.c: Likewise.
15283 * posix/posix_madvise.c: Likewise.
15284 * posix/pread.c: Likewise.
15285 * posix/pread64.c: Likewise.
15286 * posix/pwrite.c: Likewise.
15287 * posix/pwrite64.c: Likewise.
15288 * posix/sched_getaffinity.c: Likewise.
15289 * posix/sched_getp.c: Likewise.
15290 * posix/sched_gets.c: Likewise.
15291 * posix/sched_primax.c: Likewise.
15292 * posix/sched_primin.c: Likewise.
15293 * posix/sched_rr_gi.c: Likewise.
15294 * posix/sched_setaffinity.c: Likewise.
15295 * posix/sched_setp.c: Likewise.
15296 * posix/sched_sets.c: Likewise.
15297 * posix/sched_yield.c: Likewise.
15298 * posix/setgid.c: Likewise.
15299 * posix/setlogin.c: Likewise.
15300 * posix/setpgid.c: Likewise.
15301 * posix/setresgid.c: Likewise.
15302 * posix/setresuid.c: Likewise.
15303 * posix/setsid.c: Likewise.
15304 * posix/setuid.c: Likewise.
15305 * posix/sleep.c: Likewise.
15306 * posix/spawni.c: Likewise.
15307 * posix/sysconf.c: Likewise.
15308 * posix/times.c: Likewise.
15309 * posix/wait.c: Likewise.
15310 * posix/wait3.c: Likewise.
15311 * posix/wait4.c: Likewise.
15312 * posix/waitpid.c: Likewise.
15313 * resolv/gai_sigqueue.c: Likewise.
15314 * resource/getpriority.c: Likewise.
15315 * resource/getrlimit.c: Likewise.
15316 * resource/getrusage.c: Likewise.
15317 * resource/nice.c: Likewise.
15318 * resource/setpriority.c: Likewise.
15319 * resource/setrlimit.c: Likewise.
15320 * resource/ulimit.c: Likewise.
15321 * rt/aio_cancel.c: Likewise.
15322 * rt/aio_fsync.c: Likewise.
15323 * rt/aio_read.c: Likewise.
15324 * rt/aio_sigqueue.c: Likewise.
15325 * rt/aio_suspend.c: Likewise.
15326 * rt/aio_write.c: Likewise.
15327 * rt/clock_getres.c: Likewise.
15328 * rt/clock_gettime.c: Likewise.
15329 * rt/clock_nanosleep.c: Likewise.
15330 * rt/clock_settime.c: Likewise.
15331 * rt/lio_listio.c: Likewise.
15332 * rt/mq_close.c: Likewise.
15333 * rt/mq_getattr.c: Likewise.
15334 * rt/mq_notify.c: Likewise.
15335 * rt/mq_open.c: Likewise.
15336 * rt/mq_receive.c: Likewise.
15337 * rt/mq_send.c: Likewise.
15338 * rt/mq_setattr.c: Likewise.
15339 * rt/mq_timedreceive.c: Likewise.
15340 * rt/mq_timedsend.c: Likewise.
15341 * rt/mq_unlink.c: Likewise.
15342 * rt/shm_open.c: Likewise.
15343 * rt/shm_unlink.c: Likewise.
15344 * rt/timer_create.c: Likewise.
15345 * rt/timer_delete.c: Likewise.
15346 * rt/timer_getoverr.c: Likewise.
15347 * rt/timer_gettime.c: Likewise.
15348 * rt/timer_settime.c: Likewise.
15349 * setjmp/__longjmp.c: Likewise.
15350 * setjmp/setjmp.c: Likewise.
15351 * signal/kill.c: Likewise.
15352 * signal/killpg.c: Likewise.
15353 * signal/raise.c: Likewise.
15354 * signal/sigaction.c: Likewise.
15355 * signal/sigaltstack.c: Likewise.
15356 * signal/sigblock.c: Likewise.
15357 * signal/sigignore.c: Likewise.
15358 * signal/sigintr.c: Likewise.
15359 * signal/signal.c: Likewise.
15360 * signal/sigpause.c: Likewise.
15361 * signal/sigpending.c: Likewise.
15362 * signal/sigqueue.c: Likewise.
15363 * signal/sigreturn.c: Likewise.
15364 * signal/sigset.c: Likewise.
15365 * signal/sigsetmask.c: Likewise.
15366 * signal/sigstack.c: Likewise.
15367 * signal/sigsuspend.c: Likewise.
15368 * signal/sigtimedwait.c: Likewise.
15369 * signal/sigvec.c: Likewise.
15370 * signal/sigwait.c: Likewise.
15371 * signal/sigwaitinfo.c: Likewise.
15372 * signal/sysv_signal.c: Likewise.
15373 * socket/accept.c: Likewise.
15374 * socket/accept4.c: Likewise.
15375 * socket/bind.c: Likewise.
15376 * socket/connect.c: Likewise.
15377 * socket/getpeername.c: Likewise.
15378 * socket/getsockname.c: Likewise.
15379 * socket/getsockopt.c: Likewise.
15380 * socket/isfdtype.c: Likewise.
15381 * socket/listen.c: Likewise.
15382 * socket/recv.c: Likewise.
15383 * socket/recvfrom.c: Likewise.
15384 * socket/recvmsg.c: Likewise.
15385 * socket/send.c: Likewise.
15386 * socket/sendmsg.c: Likewise.
15387 * socket/sendto.c: Likewise.
15388 * socket/setsockopt.c: Likewise.
15389 * socket/shutdown.c: Likewise.
15390 * socket/sockatmark.c: Likewise.
15391 * socket/socket.c: Likewise.
15392 * socket/socketpair.c: Likewise.
15393 * stdio-common/ctermid.c: Likewise.
15394 * stdio-common/cuserid.c: Likewise.
15395 * stdio-common/remove.c: Likewise.
15396 * stdio-common/rename.c: Likewise.
15397 * stdio-common/renameat.c: Likewise.
15398 * stdio-common/tempname.c: Likewise.
15399 * stdlib/getcontext.c: Likewise.
15400 * stdlib/makecontext.c: Likewise.
15401 * stdlib/setcontext.c: Likewise.
15402 * stdlib/swapcontext.c: Likewise.
15403 * stdlib/system.c: Likewise.
15404 * streams/fattach.c: Likewise.
15405 * streams/fdetach.c: Likewise.
15406 * streams/getmsg.c: Likewise.
15407 * streams/getpmsg.c: Likewise.
15408 * streams/putmsg.c: Likewise.
15409 * streams/putpmsg.c: Likewise.
15410 * sysdeps/unix/bsd/getpt.c: Likewise.
15411 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15412 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15413 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15415 Likewise.
15416 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15417 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15418 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15419 * sysvipc/msgctl.c: Likewise.
15420 * sysvipc/msgget.c: Likewise.
15421 * sysvipc/msgrcv.c: Likewise.
15422 * sysvipc/msgsnd.c: Likewise.
15423 * sysvipc/semctl.c: Likewise.
15424 * sysvipc/semget.c: Likewise.
15425 * sysvipc/semop.c: Likewise.
15426 * sysvipc/semtimedop.c: Likewise.
15427 * sysvipc/shmat.c: Likewise.
15428 * sysvipc/shmctl.c: Likewise.
15429 * sysvipc/shmdt.c: Likewise.
15430 * sysvipc/shmget.c: Likewise.
15431 * termios/tcdrain.c: Likewise.
15432 * termios/tcflow.c: Likewise.
15433 * termios/tcflush.c: Likewise.
15434 * termios/tcgetattr.c: Likewise.
15435 * termios/tcgetpgrp.c: Likewise.
15436 * termios/tcsendbrk.c: Likewise.
15437 * termios/tcsetattr.c: Likewise.
15438 * termios/tcsetpgrp.c: Likewise.
15439 * time/adjtime.c: Likewise.
15440 * time/clock.c: Likewise.
15441 * time/getitimer.c: Likewise.
15442 * time/gettimeofday.c: Likewise.
15443 * time/setitimer.c: Likewise.
15444 * time/settimeofday.c: Likewise.
15445 * time/stime.c: Likewise.
15446 * time/time.c: Likewise.
15447
154482012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 15449
a20492cf
PT
15450 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15451 /usr/old/bin.
15452
72e182e3
PT
15453 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15454 instead of spaces.
15455 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15456
fbeafede
JM
154572012-11-03 Joseph Myers <joseph@codesourcery.com>
15458
5b5b04d6
JM
15459 [BZ #14796]
15460 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15461 FE_TONEAREST before applying Dekker multiplication and Knuth
15462 addition. Clear inexact exceptions and check for exact zero
15463 results afterwards.
15464 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15465 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15466 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15467 * math/libm-test.inc (fma_test): Add more tests.
15468 (fma_test_towardzero): Likewise.
15469 (fma_test_downward): Likewise.
15470 (fma_test_upward): Likewise.
15471 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15472 function.
15473 (libc_fesetround): New macro.
15474 (libc_fesetroundf): Likewise.
15475 (libc_fesetroundl): Likewise.
15476 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15477 function.
15478 (libc_fesetround_387): Likewise.
15479 (libc_fesetroundf): New macro.
15480 (libc_fesetround): Likewise.
15481 (libc_fesetroundl): Likewise.
15482 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15483 function.
15484 (libc_fesetroundf): New macro.
15485 (libc_fesetround): Likewise.
15486 (libc_fesetroundl): Likewise.
15487 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15488 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15489 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15490 libm_hidden_ver.
15491 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15492 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15493 libm_hidden_def.
15494 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15495 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15496 libm_hidden_ver.
15497 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15498 libm_hidden_def.
15499
fbeafede
JM
15500 [BZ #3439]
15501 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15502 integer constant usable in #if and use that to give value to enum
15503 constant.
15504 (FE_DIVBYZERO): Likewise.
15505 (FE_UNDERFLOW): Likewise.
15506 (FE_OVERFLOW): Likewise.
15507 (FE_INVALID): Likewise.
15508 (FE_INVALID_SNAN): Likewise.
15509 (FE_INVALID_ISI): Likewise.
15510 (FE_INVALID_IDI): Likewise.
15511 (FE_INVALID_ZDZ): Likewise.
15512 (FE_INVALID_IMZ): Likewise.
15513 (FE_INVALID_COMPARE): Likewise.
15514 (FE_INVALID_SOFTWARE): Likewise.
15515 (FE_INVALID_SQRT): Likewise.
15516 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15517 (FE_TONEAREST): Likewise.
15518 (FE_TOWARDZERO): Likewise.
15519 (FE_UPWARD): Likewise.
15520 (FE_DOWNWARD): Likewise.
15521 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15522 (FE_DIVBYZERO): Likewise.
15523 (FE_OVERFLOW): Likewise.
15524 (FE_UNDERFLOW): Likewise.
15525 (FE_INEXACT): Likewise.
15526 (FE_TONEAREST): Likewise.
15527 (FE_DOWNWARD): Likewise.
15528 (FE_UPWARD): Likewise.
15529 (FE_TOWARDZERO): Likewise.
15530 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15531 (FE_UNDERFLOW): Likewise.
15532 (FE_OVERFLOW): Likewise.
15533 (FE_DIVBYZERO): Likewise.
15534 (FE_INVALID): Likewise.
15535 (FE_TONEAREST): Likewise.
15536 (FE_TOWARDZERO): Likewise.
15537 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15538 (FE_OVERFLOW): Likewise.
15539 (FE_UNDERFLOW): Likewise.
15540 (FE_DIVBYZERO): Likewise.
15541 (FE_INEXACT): Likewise.
15542 (FE_TONEAREST): Likewise.
15543 (FE_TOWARDZERO): Likewise.
15544 (FE_UPWARD): Likewise.
15545 (FE_DOWNWARD): Likewise.
15546 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15547 (FE_DIVBYZERO): Likewise.
15548 (FE_OVERFLOW): Likewise.
15549 (FE_UNDERFLOW): Likewise.
15550 (FE_INEXACT): Likewise.
15551 (FE_TONEAREST): Likewise.
15552 (FE_DOWNWARD): Likewise.
15553 (FE_UPWARD): Likewise.
15554 (FE_TOWARDZERO): Likewise.
15555
105ca950
CM
155562012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15557
15558 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15559
a542b389
AS
155602012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15561
15562 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15563 commands. Quote $PWD.
15564 (blacklist_exports): Don't use remove_newlines. Replace "declare
15565 -x" by "export".
15566 (remove_newlines): Remove.
15567
f62c8abc
L
155682012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15569
15570 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15571 * stdlib/stdlib.h (atof): Moved to ...
15572 * include/bits/stdlib-float.h: Here. New file.
15573 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15574 * stdlib/bits/stdlib-float.h: New file.
15575 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15576 -mno-sse -mno-mmx.
15577 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15578 <xmmintrin.h>.
15579
0155d5b2
JM
155802012-11-02 Joseph Myers <joseph@codesourcery.com>
15581
a68d0680
JM
15582 * conform/conformtest.pl (@headers): Add fenv.h.
15583 * conform/data/fenv.h-data: New file.
15584 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15585 include of <math/fenv.h>.
15586
caf7f573
JM
15587 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15588 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15589 && !UNIX98]. Enables tests for XOPEN2K8.
15590 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15591 POSIX2008]: Likewise.
15592
6c073ad6
JM
15593 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15594 (struct rusage): Do not expect type or its members.
15595
0155d5b2
JM
15596 [BZ #3439]
15597 * math/math.h (FP_NAN): Define macro to integer constant usable in
15598 #if and use that to give value to enum constant.
15599 (FP_INFINITE): Likewise.
15600 (FP_ZERO): Likewise.
15601 (FP_SUBNORMAL): Likewise.
15602 (FP_NORMAL): Likewise.
15603
b5dcacb4
AS
156042012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15605
15606 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15607 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15608 arguments.
15609
f7934be8
RM
156102012-11-02 Roland McGrath <roland@hack.frob.com>
15611
15612 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15613 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15614 autoconf-time if not.
15615 * configure.in: Remove AC_PREREQ.
15616
d7d08bde
TMQMF
156172012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15618
15619 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15620 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15621 of the internal implementation.
15622
dcdae19a
JM
156232012-11-02 Joseph Myers <joseph@codesourcery.com>
15624
15625 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15626 except include of <misc/sys/syslog.h>.
15627
d6cffd3e
AS
156282012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15629
15630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15631 function returns with a NULL context exit with zero.
15632
b3563932
TMQMF
156332012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15634
15635 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15636
b288a93d
L
156372012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15638
15639 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15640 (run_program_cmd): This.
15641 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15642 (tst_langinfo): New variable. Use it.
15643
a2421a68
SAS
156442012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15645
15646 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15647 floating point opcodes.
15648
6f796e1b
TS
156492012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15650
7402596b
TS
15651 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15652 variable.
15653
d0d4f868
TS
15654 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15655
6f796e1b
TS
15656 * sysdeps/mach/hurd/powerpc: Remove directory.
15657 * sysdeps/mach/powerpc: Likewise.
15658
4da224a2
AS
156592012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15660
15661 * scripts/check-local-headers.sh: Ignore c++ headers.
15662
341dd673
TS
156632012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15664
15665 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15666 __libc_cleanup_region_start argument.
15667
473611b2
JM
156682012-11-01 Joseph Myers <joseph@codesourcery.com>
15669
15670 [BZ #14784]
15671 [BZ #14785]
15672 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15673 x * y using scaling, not as x * y + z.
15674 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15675 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15676 * math/libm-test.inc (fma_test): Add more tests.
15677 (fma_test_towardzero): Likewise.
15678 (fma_test_downward): Likewise.
15679 (fma_test_upward): Likewise.
15680
4078da3d
TS
156812012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15682
15683 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15684
903252aa
JM
156852012-10-31 Joseph Myers <joseph@codesourcery.com>
15686
15687 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15688 New variable.
15689
cbc818d0
TS
156902012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15691
15692 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15693
5a03cb1e
AS
156942012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15695
15696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15697 Fix sort order.
15698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15699 Likewise.
15700
90aff2ff
TMQMF
157012012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15702
15703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15704 Fix the order of the list for glibc 2.17.
15705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15706 Likewise.
15707
1818fcb7
AS
157082012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15709
15710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15711
ef82f4da
JM
157122012-10-31 Joseph Myers <joseph@codesourcery.com>
15713
16a0e2ec
JM
15714 [BZ #14610]
15715 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15716 for low part of x being zero before using __atanl (y).
15717 * math/libm-test.inc (atan2_test): Add another test.
15718
0eb69512
JM
15719 * manual/install.texi (Configuring and compiling): Document
15720 general use of test-wrapper and test-wrapper-env.
15721 * INSTALL: Regenerated.
15722
ef82f4da
JM
15723 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15724 (__fma): Do not extract and scale down low bits on after-rounding
15725 systems when result rounded to normal precision would have normal
15726 exponent.
15727 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15728 (__fmal): Do not extract and scale down low bits on after-rounding
15729 systems when result rounded to normal precision would have normal
15730 exponent.
15731 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15732 (__fmal): Do not extract and scale down low bits on after-rounding
15733 systems when result rounded to normal precision would have normal
15734 exponent.
15735 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15736 macro.
15737 (fma_test): Add more tests.
15738 (fma_test_towardzero): Likewise.
15739 (fma_test_downward): Likewise.
15740 (fma_test_upward): Likewise.
15741
954ef0d9
L
157422012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15743
15744 * sysdeps/i386/tininess.h: Renamed to ...
15745 * sysdeps/x86/tininess.h: This.
15746 * sysdeps/x86_64/tininess.h: Removed.
15747
df61ffb2
JM
157482012-10-30 Joseph Myers <joseph@codesourcery.com>
15749
15750 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15751 input. Use $(build-program-cmd).
15752 ($(objpfx)tst-array1-static.out): Likewise.
15753 ($(objpfx)tst-array2.out): Likewise.
15754 ($(objpfx)tst-array3.out): Likewise.
15755 ($(objpfx)tst-array4.out): Likewise.
15756 ($(objpfx)tst-array5.out): Likewise.
15757 ($(objpfx)tst-array5-static.out): Likewise.
15758
01767843
CM
157592012-10-30 Chris Metcalf <cmetcalf@tilera.com>
15760
47cc1490
CM
15761 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15762 if defined.
15763
01767843
CM
15764 * nss/nsswitch.h (nss_interface_function): Provide new
15765 macro for use with NSS functions.
15766 * grp/initgroups.c: Use new macro.
15767 * nss/getXXbyYY.c: Likewise.
15768 * nss/getXXbyYY_r.c: Likewise.
15769 * nss/getXXent.c: Likewise.
15770 * nss/getXXent_r.c: Likewise.
15771 * sysdeps/posix/getaddrinfo.c: Likewise.
15772
8321aa97
AJ
157732012-10-30 Andreas Jaeger <aj@suse.de>
15774
15775 * po/ru.po: Update Russion translation from translation project.
15776
2a27fd6d
JM
157772012-10-30 Joseph Myers <joseph@codesourcery.com>
15778
8627a232
JM
15779 [BZ #14152]
15780 [BZ #14783]
15781 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15782 result and shift together with sticky bit instead of replicating
15783 round-to-nearest rounding.
15784 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15785 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15786 * math/libm-test.inc (fma_test): Add more tests. Do not permit
15787 missing underflow exceptions.
15788 (fma_test_towardzero): Add more tests.
15789 (fma_test_downward): Likewise.
15790 (fma_test_upward): Likewise.
15791
2a27fd6d
JM
15792 [BZ #14047]
15793 * sysdeps/generic/tininess.h: New file.
15794 * sysdeps/i386/tininess.h: Likewise.
15795 * sysdeps/sh/tininess.h: Likewise.
15796 * sysdeps/x86_64/tininess.h: Likewise.
15797 * stdlib/tst-strtod-underflow.c: Likewise.
15798 * stdlib/tst-tininess.c: Likewise.
15799 * stdlib/strtod_l.c: Include <tininess.h>.
15800 (round_and_return): Do not set errno for exact underflow cases.
15801 Force an underflow exception when setting errno for underflow.
15802 Determine underflow based on rounding to normal precision if
15803 TININESS_AFTER_ROUNDING.
15804 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15805 ERANGE for exact underflow cases.
15806 * stdlib/Makefile (tests): Add tst-tininess and
15807 tst-strtod-underflow.
15808 ($(objpfx)tst-tininess): Use $(link-libm).
15809 ($(objpfx)tst-strtod-underflow): Likewise.
15810
e7170363
AJ
158112012-10-30 Andreas Jaeger <aj@suse.de>
15812
e5088dc6
AJ
15813 [BZ#14767]
15814 * elf/Makefile (tests): Remove conditional for have-initfini-array
15815 since this is now always required and the variable does not exist
15816 anymore.
15817 (tests-static): Likewise.
15818 (modules-names): Likewise.
15819
e7170363 15820 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
15821
15822 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15823 merged with constructor/destructor.
15824 (init_array): Likewise.
15825 * elf/tst-array2dep.c (fini_array): Likewise.
15826 (init_array): Likewise.
15827
60457d8a
MF
158282012-10-29 Mike Frysinger <vapier@gentoo.org>
15829
15830 * manual/message.texi: Delete @cartouche tags.
15831
8bece752
PT
158322012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15833
94ce799f
PT
15834 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15835 EOPNOTSUPP.
15836 * sysdeps/mach/hurd/fsync.c: Likewise.
15837
8bece752
PT
15838 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15839 [_POSIX_REALTIME_SIGNALS]: Change condition to
15840 [_POSIX_REALTIME_SIGNALS > 0].
15841
86ebe6b1
AJ
158422012-10-27 Andreas Jaeger <aj@suse.de>
15843
15844 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15845 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15846 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15847 [__WORDSIZE != 64]: Likewise.
15848
54399c08
L
158492012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15850
15851 * iconvdata/tst-table.sh: Remove ${SHELL}.
15852 * iconvdata/tst-tables.sh: Likewise.
15853
e2211bed
DM
158542012-10-25 David S. Miller <davem@davemloft.net>
15855
15856 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15857 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15858 of strtoull.
15859
f303f97c
DM
15860 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15861 ifunc-impl-list.c
15862 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15863 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15864 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15865 file.
15866
1e9d84cd
RM
158672012-10-25 Roland McGrath <roland@hack.frob.com>
15868
15869 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15870 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15871 __getdirentries.
15872
df381762
JM
158732012-10-25 Joseph Myers <joseph@codesourcery.com>
15874 Jim Blandy <jimb@codesourcery.com>
15875
15876 * scripts/cross-test-ssh.sh: New file.
15877 * manual/install.texi (Configuring and compiling): Document use of
15878 cross-test-ssh.sh.
15879 * INSTALL: Regenerated.
15880
bff64913
PT
158812012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15882
15883 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15884 EOPNOTSUPP.
15885
25fe8932
JM
158862012-10-25 Joseph Myers <joseph@codesourcery.com>
15887
15888 * Makeconfig (run-program-prefix): Fix comment.
15889
cc1290d0
JM
158902012-10-24 Joseph Myers <joseph@codesourcery.com>
15891 Jim Blandy <jimb@codesourcery.com>
15892
15893 * Makeconfig (test-wrapper): New variable,
15894 (test-wrapper-env): Likewise.
15895 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15896 (run-built-tests): Define to yes.
15897 (run-program-prefix): Use $(test-wrapper).
15898 (built-program-cmd): Likewise.
15899 * Rules (make-test-out): Use $(test-wrapper-env) and
15900 $(host-built-program-cmd).
15901 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15902 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15903 tst-pathopt.sh.
15904 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15905 $(test-wrapper-env) to tst-rtld-load-self.sh.
15906 ($(objpfx)order2.out): Use $(test-wrapper).
15907 ($(objpfx)tst-initorder.out): Likewise.
15908 ($(objpfx)tst-initorder2.out): Likewise.
15909 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15910 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15911 (test_wrapper_env): New variable. Use it to run ld.so.
15912 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15913 Use it to run ld.so.
15914 (test_wrapper_env): Likewise.
15915 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15916 $(test-wrapper) to run-iconv-test.sh.
15917 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15918 (ICONV): Use $test_wrapper.
15919 * posix/Makefile ($(objpfx)globtest.out): Pass
15920 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15921 globtest.sh, not $(run-program-prefix).
15922 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15923 (test_wrapper): Likewise.
15924 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15925 set together with run_via_rtld_prefix.
15926 (run_program_prefix): Define in terms of test_wrapper and
15927 run_via_rtld_prefix.
15928
6e6249d0
RM
159292012-10-24 Roland McGrath <roland@hack.frob.com>
15930
15931 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15932 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15933 Targets removed.
15934
15935 [BZ #14743]
15936 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15937 Declare __clock_getres, __clock_gettime, __clock_settime,
15938 __clock_nanosleep, and __clock_getcpuclockid.
15939 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15940 Remove librt_hidden_def (clock_gettime).
15941 * sysdeps/unix/clock_gettime.c: Likewise.
15942 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15943 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15944 * rt/clock_getres.c: Define __clock_getres as an alias.
15945 * sysdeps/posix/clock_getres.c: Likewise.
15946 * rt/clock_settime.c: Define __clock_settime as an alias.
15947 * sysdeps/unix/clock_settime.c: Likewise.
15948 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15949 * sysdeps/unix/clock_nanosleep.c: Likewise.
15950 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15951 * rt/clock-compat.c: New file.
15952 * rt/Makefile (librt-routines): Add clock-compat and move
15953 $(clock-routines) to ...
15954 (routines): ... here, new variable.
15955 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15956 Don't add get_clockfreq here.
15957 * rt/Versions (libc: GLIBC_2.17): New version set.
15958 Add clock_* symbols here.
15959 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15960 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15961 (GLIBC_2.17): Add clock_* symbols.
15962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15964 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15966 Likewise.
15967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15968 Likewise.
15969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15973 * NEWS: Mention the move.
15974
15975 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15976 Use __open, __read, __close rather than their public counterparts.
15977 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15978 (__get_clockfreq_via_cpuinfo): Likewise.
15979 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15980 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15981
15982 * config.h.in (HAVE_IFUNC): New #undef.
15983 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15984 was successful.
15985 * configure: Regenerated.
15986
0cae3f4b
MF
159872012-10-24 Mike Frysinger <vapier@gentoo.org>
15988
15989 * configure.in: Move READELF check to start of file.
15990 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15991 libc_cv_asm_gnu_indirect_function in the process.
15992 * configure: Regenerated.
15993
8175a253
MF
159942012-10-24 Mike Frysinger <vapier@gentoo.org>
15995
15996 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15997 send the output to /dev/null.
15998 (libc_cv_cc_with_libunwind): Likewise.
15999 (libc_cv_as_noexecstack): Likewise.
16000 * configure: Regenerate.
16001
0708a7d1
JM
160022012-10-24 Joseph Myers <joseph@codesourcery.com>
16003
10b40d85
JM
16004 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16005
0708a7d1
JM
16006 * posix/globtest.sh (TMPDIR): Do not set.
16007 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16008 (testout): Likewise.
16009
9fddec1a
AJ
160102012-10-24 Andreas Jaeger <aj@suse.de>
16011
3a8db22f
AJ
16012 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16013 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16014 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16015 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16016 posix_fadvise64, posix_fallocate64.
16017
9fddec1a
AJ
16018 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16019 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16020 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16021 Likewise.
16022 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16023 Likewise.
16024 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16025
16026 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16027 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16028 <bits/fcntl-linux.h>.
16029 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16030
16031 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16032 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16033 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16034 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16035 [__WORDSIZE != 64]: Likewise.
16036
ebfd1bbd
JM
160372012-10-23 Joseph Myers <joseph@codesourcery.com>
16038
03ac099f
JM
16039 * Makeconfig (run-built-tests): New variable.
16040 * Rules [$(cross-compiling) = yes]: Change condition to
16041 [$(run-built-tests) = no].
16042 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16043 to [$(run-built-tests) = yes].
16044 * elf/Makefile [$(cross-compiling) = no]: Likewise
16045 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16046 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16047 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16048 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16049 * io/Makefile [$(cross-compiling) = no]: Likewise.
16050 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16051 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16052 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16053 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16054 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16055 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16056 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16057 * string/Makefile [$(cross-compiling) = no]: Likewise.
16058
ebfd1bbd
JM
16059 * posix/Makefile ($(objpfx)globtest.out): Pass
16060 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16061 $(rtld-installed-name).
16062 * posix/globtest.sh (elf_objpfx): Remove variable.
16063 (rtld_installed_name): Likewise.
16064 (library_path): Likewise.
16065 (run_program_prefix): New variable. Use for running globtest
16066 binary.
16067
166bca24
JB
160682012-10-23 Jim Blandy <jimb@codesourcery.com>
16069 Joseph Myers <joseph@codesourcery.com>
16070
16071 * Makeconfig (host-built-program-cmd): New variable.
16072 * elf/Makefile (tst-stackguard1-ARGS): Use
16073 $(host-built-program-cmd).
16074 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16075 (tst-spawn-ARGS): Likewise.
16076 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16077
88866099
JM
160782012-10-23 Joseph Myers <joseph@codesourcery.com>
16079 Jim Blandy <jimb@codesourcery.com>
16080
16081 * Makeconfig (run-via-rtld-prefix): New variable.
16082 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16083 (built-program-cmd): Likewise.
16084
b4b4c296
AJ
160852012-10-22 Andreas Jaeger <aj@suse.de>
16086
16087 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16088 __O_RSYNC if it exists, otherwise to O_SYNC.
16089
6fb54a22
JB
160902012-10-22 Jim Blandy <jimb@codesourcery.com>
16091 Joseph Myers <joseph@codesourcery.com>
16092
16093 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16094 /dev/null.
16095 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16096 from /dev/null
16097 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16098 /dev/null.
16099
481b90b9
AJ
161002012-10-22 Andreas Jaeger <aj@suse.de>
16101
2a0e2669
AJ
16102 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16103 Define always.
16104 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16105
76e38f9a
AJ
16106 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16107 bits/fcntl-linux.h.
16108
7cd37b43
AJ
16109 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16110 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16111
481b90b9
AJ
16112 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16113 to __O_LARGEFILE.
16114 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16115 to __O_LARGEFILE.
16116
aba75984
JB
161172012-10-21 Jim Blandy <jimb@codesourcery.com>
16118 Joseph Myers <joseph@codesourcery.com>
16119
16120 * config.make.in (NM): New variable.
16121
88d4247f
AJ
161222012-10-21 Andreas Jaeger <aj@suse.de>
16123
16124 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16125 definitions and declarations that are provided by
16126 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16127
f2eed205
L
161282012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16129
16130 [BZ #14683]
16131 * elf/Makefile (tests-static): Add tst-leaks1-static.
16132 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16133 ($(objpfx)tst-leaks1-static): New rule.
16134 ($(objpfx)tst-leaks1-static-mem): Likewise.
16135 (tst-leaks1-static-ENV): New macro.
16136 * elf/dl-open.c (dl_open_worker): Check the main application
16137 only if SHARED is defined.
16138 * elf/tst-leaks1-static.c: New file.
16139
335e6931
AJ
161402012-10-20 Andreas Jaeger <aj@suse.de>
16141
16142 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16143 generic values for Linux.
16144 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16145 and declarations that are provided by <bits/fcntl-linux.h> and
16146 include <bits/fcntl-linux.h>.
16147 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16148 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16149
ac5c94d3
RM
161502012-10-20 Roland McGrath <roland@hack.frob.com>
16151
16152 * io/fcntl.h: Move include of <bits/types.h> to the top and
16153 include it unconditionally.
16154
de54b33a
L
161552012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16156
228cfb01
L
16157 * wcsmbs/Makefile (tests-ifunc): New variable.
16158 (tests): Add $(tests-ifunc).
16159 * wcsmbs/test-wcschr-ifunc.c: New file.
16160 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16161 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16162 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16163 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16164 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16165
69f07e5f
L
16166 * string/Makefile (tests-ifunc): New variable.
16167 (tests): Add $(tests-ifunc).
16168 * string/test-memccpy.c (TEST_NAME): New macro.
16169 * string/test-memchr.c (TEST_NAME): Likewise.
16170 * string/test-memcmp.c (TEST_NAME): Likewise.
16171 * string/test-memcpy.c (TEST_NAME): Likewise.
16172 * string/test-memmem.c (TEST_NAME): Likewise.
16173 * string/test-memmove.c (TEST_NAME): Likewise.
16174 * string/test-memset.c (TEST_NAME): Likewise.
16175 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16176 * string/test-stpcpy.c (TEST_NAME): Likewise.
16177 * string/test-stpncpy.c (TEST_NAME): Likewise.
16178 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16179 * string/test-strcasestr.c (TEST_NAME): Likewise.
16180 * string/test-strcat.c (TEST_NAME): Likewise.
16181 * string/test-strchr.c (TEST_NAME): Likewise.
16182 * string/test-strcmp.c(TEST_NAME): Likewise.
16183 * string/test-strcpy.c (TEST_NAME): Likewise.
16184 * string/test-strcspn.c (TEST_NAME): Likewise.
16185 * string/test-strlen.c (TEST_NAME): Likewise.
16186 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16187 * string/test-strncmp.c (TEST_NAME): Likewise.
16188 * string/test-strncpy.c (TEST_NAME): Likewise.
16189 * string/test-strnlen.c (TEST_NAME): Likewise.
16190 * string/test-strpbrk.c (TEST_NAME): Likewise.
16191 * string/test-strrchr.c (TEST_NAME): Likewise.
16192 * string/test-strspn.c (TEST_NAME): Likewise.
16193 * string/test-strstr.c (TEST_NAME): Likewise.
16194 * string/test-bcopy-ifunc.c: New file.
16195 * string/test-bzero-ifunc.c: Likewise.
16196 * string/test-memccpy-ifunc.c: Likewise.
16197 * string/test-memchr-ifunc.c: Likewise.
16198 * string/test-memcmp-ifunc.c: Likewise.
16199 * string/test-memcpy-ifunc.c: Likewise.
16200 * string/test-memmem-ifunc.c: Likewise.
16201 * string/test-memmove-ifunc.c: Likewise.
16202 * string/test-mempcpy-ifunc.c: Likewise.
16203 * string/test-memset-ifunc.c: Likewise.
16204 * string/test-rawmemchr-ifunc.c: Likewise.
16205 * string/test-stpcpy-ifunc.c: Likewise.
16206 * string/test-stpncpy-ifunc.c: Likewise.
16207 * string/test-strcasecmp-ifunc.c: Likewise.
16208 * string/test-strcasestr-ifunc.c: Likewise.
16209 * string/test-strcat-ifunc.c: Likewise.
16210 * string/test-strchr-ifunc.c: Likewise.
16211 * string/test-strchrnul-ifunc.c: Likewise.
16212 * string/test-strcmp-ifunc.c: Likewise.
16213 * string/test-strcpy-ifunc.c: Likewise.
16214 * string/test-strcspn-ifunc.c: Likewise.
16215 * string/test-strlen-ifunc.c: Likewise.
16216 * string/test-strncasecmp-ifunc.c: Likewise.
16217 * string/test-strncat-ifunc.c: Likewise.
16218 * string/test-strncmp-ifunc.c: Likewise.
16219 * string/test-strncpy-ifunc.c: Likewise.
16220 * string/test-strnlen-ifunc.c: Likewise.
16221 * string/test-strpbrk-ifunc.c: Likewise.
16222 * string/test-strrchr-ifunc.c: Likewise.
16223 * string/test-strspn-ifunc.c: Likewise.
16224 * string/test-strstr-ifunc.c: Likewise.
16225
de54b33a
L
16226 * debug/Makefile (tests-ifunc): New variable.
16227 (tests): Add $(tests-ifunc).
16228 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16229 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16230 * debug/test-stpcpy_chk-ifunc.c: New file.
16231 * debug/test-strcpy_chk-ifunc.c: Likewise.
16232
88481c16
SP
162332012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16234
16235 [BZ #13601]
16236 * elf/dl-load.c (open_verify): Retry read if the entire ELF
16237 header is not read in.
16238
135948bd
JM
162392012-10-19 Joseph Myers <joseph@codesourcery.com>
16240
89f1c388
JM
16241 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16242 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16243 directly. Pass built executable to script as
16244 $(built-program-cmd).
16245 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16246 $testprogram without using LD_LIBRARY_PATH and $ldso.
16247
e40a0d21
JM
16248 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16249 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16250 $(rtld-installed-name).
16251 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16252 (rtld_installed_name): Likewise.
16253 (library_path): Likewise.
16254 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
16255 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16256 $(run-program-prefix) to tst-tables.sh.
16257 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16258 it to run tst-table-from and tst-table-to.
16259 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16260 Pass it to tst-table.sh.
16261 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16262 $(run-program-prefix) to tst-gettext.sh.
16263 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16264 tst-translit.sh.
16265 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16266 tst-gettext2.sh.
16267 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16268 to run tst-gettext.
16269 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16270 to run tst-gettext2.
16271 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16272 to run tst-translit.
16273 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16274 $(run-program-prefix) to tst-mtrace.sh.
16275 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16276 to run tst-mtrace.
16277 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16278 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16279 $(rtld-installed-name).
16280 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16281 (rtld_installed_name): Likewise.
16282 (run_program_prefix): New variable. Use it to run wordexp-test.
16283
728e272a
JM
16284 * Makeconfig (ARCH): Remove all definitions.
16285 (machine): Likewise.
16286 [ARCH]: Remove conditional code.
16287 [!objdir]: Give error.
16288 [!objdir] (objpfx): Remove.
16289 [!objdir] (common-objpfx): Likewise.
16290 [!objdir] (common-objdir): Likewise.
16291 * configure.in (config_makefile): Remove. Hardcode Makefile in
16292 AC_CONFIG_FILES call.
16293 * configure: Regenerated.
16294
d528cdcf
JM
16295 [BZ #13888]
16296 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16297 or TMPDIR.
16298 (testout): Likewise.
16299
135948bd
JM
16300 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16301 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16302 $(rtld-installed-name).
16303 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16304 (rtld_installed_name): Likwise.
16305 (runit): Remove function.
16306 (run_getconf): New variable, Use it for running getconf binary.
16307
38c78296
L
163082012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16309
16310 [BZ #14716]
16311 * string/test-memmem.c (check_result): New function.
16312 (do_one_test): Use it.
16313 (check1): New function.
16314 (test_main): Use it.
16315
d077f65f
MT
163162012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16317
16318 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16319
ced52c71
JM
163202012-10-18 Joseph Myers <joseph@codesourcery.com>
16321
16322 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16323 (_G_LSEEK64): Likewise.
16324 (_G_MMAP64): Likewise.
16325 (_G_FSTAT64): Likewise.
16326 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16327 (_G_LSEEK64): Likewise.
16328 (_G_MMAP64): Likewise.
16329 (_G_FSTAT64): Likewise.
16330 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16331 unconditional. Call __mmap64 directly.
16332 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16333 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16334 __lseek64 directly.
16335 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16336 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16337 __mmap64 directly.
16338 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16339 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16340 __lseek64 directly.
16341 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16342 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
16343 __lseek64 directly.
16344 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16345 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
16346 __lseek64 directly.
16347 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16348 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
16349 __fxstat64 directly.
16350 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16351 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16352 unconditional.
16353 (freopen64) [!_G_OPEN64]: Remove conditional code.
16354 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16355 unconditional.
16356 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16357 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16358 unconditional.
16359 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16360 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16361 unconditional.
16362 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16363 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16364 unconditional.
16365 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16366 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16367 unconditional.
16368 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16369 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16370 unconditional.
16371 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16372 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16373 unconditional.
16374 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16375
b741de23
SP
163762012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16377
16378 [BZ #12140]
16379 * manual/memory.texi (Malloc Tunable Parameters): Add note
16380 about free list pointers overwriting some perturb bytes.
16381 Wording suggested by Roland McGrath.
16382
f9b9d9c9
JM
163832012-10-17 Joseph Myers <joseph@codesourcery.com>
16384
16385 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16386 (lgamma_test): Likewise.
16387 (tgamma_test): Likewise.
16388
172a631a
FW
163892012-10-16 Florian Weimer <fweimer@redhat.com>
16390
16391 [BZ #14700]
16392 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16393 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16394
e9f37252
MK
163952012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16396
16397 * NEWS: Mention BZ #14716.
16398 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16399 when removing AVAILABLE1_USES_J macro.
16400
d394eb74
L
164012012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16402
16403 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16404 (__bswap_64): __uint64_t for unsigned 64-bit int.
16405
ca38dc17
AS
164062012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16407
16408 * include/string.h (memmem): Declare libc hidden alias.
16409 * string/memmem.c (memmem): Define libc hidden alias.
16410 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16411 __read, __close instead of open, read, close.
16412
9a387d1f
L
164132012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16414
ac49ecaf
L
16415 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16416 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16417 global and hidden.
16418 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16419 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16420 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16421 Likewise.
16422 (__rawmemchr_sse2): Likewise.
16423 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16424 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16425 (__strchr_sse2): Likewise.
16426 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16427 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16428 (__strcasecmp_sse2): Likewise.
16429 (__strncasecmp_sse2): Likewise.
16430 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16431 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16432 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16433 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16434 (__strrchr_sse2): Likewise.
16435 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16436 ifunc-impl-list.c.
16437 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16438 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16439 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16440 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16441 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16442 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16443 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16444 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16445 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16446 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16447 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16448 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16449 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16450 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16451 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16452 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16453 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16454 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16455 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16456 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16457 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16458 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16459 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16460 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16461 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16462 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16463 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16464 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16465 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16466 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16467
b090e8ea
L
16468 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16469 global and hidden.
16470 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16471 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16472 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16473 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16474 Likewise.
16475 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16476 Likewise.
16477 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16478 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16479 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16480 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16481 ifunc-impl-list.c.
16482 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16483 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16484 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16485 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16486 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16487 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16488 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16489 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16490 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16491 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16492 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16493 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16494 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16495 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16496 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16497 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16498 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16499 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16500 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16501 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16502 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16503 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16504 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16505 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16506 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16507 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16508 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16509 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16510 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16511 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16512 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16513 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16514 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16515 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16516 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16517 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16518 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16519 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16520 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16521 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16522 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16523
11dd4af6
L
16524 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16525 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16526 * include/ifunc-impl-list.h: New file.
16527 * misc/ifunc-impl-list.c: Likewise.
16528 * misc/Makefile (routines): Add ifunc-impl-list.
16529 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16530 * string/test-string.h: Include <ifunc-impl-list.h>.
16531 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16532 impl_array): New variables.
16533 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16534 are defined.
16535 (test_init): Call __libc_ifunc_impl_list to initialize
16536 func_list if TEST_IFUNC and TEST_NAME are defined.
16537
9a387d1f
L
16538 * string/Makefile (strop-tests): Add bcopy and bzero.
16539 * string/test-bcopy.c: New file.
16540 * string/test-bzero.c: Likewise.
16541 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16542 defined.
16543 * string/test-memset.c: Support bzero test if TEST_BZERO is
16544 defined.
16545 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16546 __libc_memmove.
16547 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16548 __libc_memset.
16549 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16550 of memset.
16551
472371b9
JM
165522012-10-10 Joseph Myers <joseph@codesourcery.com>
16553
1e4a9536
JM
16554 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16555 * configure: Regenerated.
16556
d173d12e
JM
16557 * Makeconfig (+link-static-before-libc): Don't include
16558 $(link-static-libc).
16559
472371b9
JM
16560 * libio/libio.h (_IO_pos_t): Remove.
16561
89a3ad0b
AO
165622012-10-10 Alexandre Oliva <aoliva@redhat.com>
16563
16564 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16565 McGrath.
16566
e7451425
AO
165672012-10-10 Alexandre Oliva <aoliva@redhat.com>
16568
16569 * crypt/crypt-entry.c: Include fips-private.h.
16570 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16571 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16572 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16573 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16574
4ba74a35
AO
165752012-10-10 Alexandre Oliva <aoliva@redhat.com>
16576
16577 * crypt/crypt-private.h: Include stdbool.h.
16578 (_ufc_setup_salt_r): Return bool.
16579 * crypt/crypt-entry.c: Include errno.h.
16580 (__crypt_r): Return NULL with EINVAL for bad salt.
16581 * crypt/crypt_util.c (bad_for_salt): New.
16582 (_ufc_setup_salt_r): Check that salt is long enough and within
16583 the specified alphabet.
16584 * crypt/badsalttest.c: New file.
16585 * crypt/Makefile (tests): Add it.
16586 ($(objpfx)badsalttest): New.
16587
f96f1242
MK
165882012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16589
16590 * NEWS: Add entry for BZ #14602.
16591
0e8e0c1c
JM
165922012-10-09 Joseph Myers <joseph@codesourcery.com>
16593
16594 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16595 type-generic.
16596 * math/libm-test.inc: Update comment listing what functions and
16597 macros are tested.
16598 (isgreater_test): New function.
16599 (isgreaterequal_test): Likewise.
16600 (isless_test): Likewise.
16601 (islessequal_test): Likewise.
16602 (islessgreater_test): Likewise.
16603 (isunordered_test): Likewise.
16604 (main): Call the new functions.
16605
273edc5e
RM
166062012-10-09 Roland McGrath <roland@hack.frob.com>
16607
b8493de0
RM
16608 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16609 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16610 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16611 * sysdeps/i386/configure: Regenerated.
16612 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16613 * sysdeps/mach/configure: Regenerated.
16614 * sysdeps/mach/hurd/configure: Regenerated.
16615 * sysdeps/powerpc/configure: Regenerated.
16616 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16617 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16618 * sysdeps/s390/s390-32/configure: Regenerated.
16619 * sysdeps/s390/s390-64/configure: Regenerated.
16620 * sysdeps/sh/configure: Regenerated.
16621 * sysdeps/sparc/configure: Regenerated.
16622 * sysdeps/unix/sysv/linux/configure: Regenerated.
16623 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16624 * sysdeps/x86_64/configure: Regenerated.
16625
273edc5e
RM
16626 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16627 defined. Don't check if MAP is NULL.
16628
c8450f70
JM
166292012-10-09 Joseph Myers <joseph@codesourcery.com>
16630
16631 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16632 (_G_stat64): Likewise.
16633 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16634 (_G_stat64): Likewise.
16635 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16636 instead of struct _G_stat64.
16637 * libio/fileops.c (mmap_remap_check): Likewise.
16638 (decide_maybe_mmap): Likewise.
16639 (_IO_new_file_seekoff): Likewise.
16640 (_IO_file_stat): Likewise.
16641 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16642 _G_off64_t.
16643 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16644 instead of struct _G_stat64.
16645 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16646
57e605ba
MK
166472012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16648
16649 [BZ #14602]
16650 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16651 Replace with ...
16652 (CHECK_EOL): New macro.
16653 (two_way_short_needle): Check beginning of haystack for EOL. Use
16654 CHECK_EOL.
16655 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16656 Replace with CHECK_EOL.
16657 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16658 Replace with CHECK_EOL.
16659
ef1bb361
JM
166602012-10-08 Joseph Myers <joseph@codesourcery.com>
16661
16662 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16663 type-generic.
16664 * math/libm-test.inc: Update comment listing what functions and
16665 macros are tested.
16666 (finite_test): New function.
16667 (isinf_test): Likewise.
16668 (isnan_test): Likewise.
16669 (fpclassify_test): Test subnormal input.
16670 (isfinite_test): Likewise.
16671 (isnormal_test): Likewise.
16672 (main): Call the new functions.
16673
55f11534
JN
166742012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16675
16676 [BZ #14660]
16677 * Makerules (%.dynsym): Force C locale when running
16678 $(OBJDUMP) --dynamic-syms.
16679
1ab29350
AS
166802012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16681
16682 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16683 <stdint.h>.
16684
f1ecb7ef
DM
166852012-10-06 David S. Miller <davem@davemloft.net>
16686
16687 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16688 upper 32-bits of the length value in %o2 since we use branch-on-register
16689 tests which consider the entire 64-bit register.
16690
5d41d91a
L
166912012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16692
16693 * string/test-strstr.c (check2): Add a test for page boundary.
16694
3baddb72
DM
166952012-10-05 David S. Miller <davem@davemloft.net>
16696
16697 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16698 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16699 file.
16700 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16701 sysdep_routines.
16702 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16703 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16704 and bzero when HWCAP_SPARC_CRYPTO is present.
16705
9cee5585
L
167062012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16707
d7e0dab9
L
16708 [BZ #14602]
16709 * string/test-strstr.c (check2): New function.
16710 (test_main): Call check2.
16711
03759f47
L
16712 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16713 and bug-strchr1.
16714 * string/bug-strcasestr1.c (do_test): Moved to ...
16715 * string/test-strcasestr.c (check1): Here. New function.
16716 (do_one_test): Break out result checking code into ...
16717 (check_result): This. New function.
16718 (do_one_test): Call check_result.
16719 (test_main): Call check1.
16720 * string/bug-strchr1.c (do_test): Moved to ...
16721 * string/test-strchr.c (check1): Here. New function.
16722 (do_one_test): Break out result checking code into ...
16723 (check_result): This. New function.
16724 (do_one_test): Call check_result.
16725 (test_main): Call check1.
16726 * string/bug-strstr1.c (main): Moved to ...
046f153e 16727 * string/test-strstr.c (check1): Here. New function.
03759f47
L
16728 (do_one_test): Break out result checking code into ...
16729 (check_result): This. New function.
16730 (do_one_test): Call check_result.
16731 (test_main): Call check1.
16732 * string/bug-strcasestr1.c: Removed.
16733 * string/bug-strchr1.c: Likewise.
16734 * string/bug-strstr1.c: Likewise.
16735
53cea63e
L
16736 * elf/Makefile (dl-routines): Add hwcaps.
16737 * elf/dl-support.c (_dl_important_hwcaps): Removed.
16738 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16739 (_dl_important_hwcaps): Moved to ...
16740 * elf/dl-hwcaps.c: Here. New file.
16741 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16742
9cee5585 16743 [BZ #14557]
bb859b06
L
16744 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16745 if IS_IN_rtld isn't defined.
16746
9cee5585
L
16747 * elf/dl-support.c (_dl_sysinfo_map): New.
16748 Include "get-dynamic-info.h" and "setup-vdso.h".
16749 (_dl_non_dynamic_init): Call setup_vdso.
16750 * elf/dynamic-link.h: Don't include <assert.h>.
16751 (elf_get_dynamic_info): Moved to ...
16752 * elf/get-dynamic-info.h: Here. New file.
16753 * elf/dynamic-link.h: Include "get-dynamic-info.h".
16754 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16755 * elf/setup-vdso.h: Here. New file.
16756 * elf/rtld.c: Include "setup-vdso.h".
16757 (dl_main): Call setup_vdso.
16758
23c31b76
JM
167592012-10-05 Joseph Myers <joseph@codesourcery.com>
16760
28234b07
JM
16761 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16762 creal in comment listing functions tested. List finite, isinf,
16763 isnan, isless, islessequal, isgreater, isgreaterequal,
16764 islessgreater, isunordered, lgamma_r and pow10 as functions and
16765 macros not tested. Mention which functions not tested are aliases
16766 for other functions. Fix typo. Note that signs of NaNs are not
16767 tested.
16768
23c31b76
JM
16769 * scripts/config.guess: Update from config.git.
16770 * scripts/config.sub: Likewise.
16771
9043e228
RM
167722012-10-04 Roland McGrath <roland@hack.frob.com>
16773
16774 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16775 * misc/madvise.c (madvise): Renamed to __madvise.
16776 Make madvise a weak alias.
16777 * include/sys/mman.h: Declare __madvise.
16778 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16779 * sysdeps/unix/syscalls.list
16780 (madvise): Make __madvise the strong name, and madvise a weak alias.
16781 * sysdeps/unix/sysv/linux/syscalls.list
16782 (madvise, mmap): Remove redundant entries.
16783 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16784 * malloc/malloc.c (mtrim): Likewise.
16785 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16786
f57f8055
RM
167872012-10-03 Roland McGrath <roland@hack.frob.com>
16788
16789 * sysdeps/mach/hurd/dl-cache.c: File removed.
16790 * config.h.in (USE_LDCONFIG): New #undef.
16791 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16792 * configure: Regenerated.
16793 * elf/Makefile (dl-routines): Add dl-cache only under
16794 [$(use-ldconfig) = yes].
16795 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16796 cache on [USE_LDCONFIG].
16797 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16798 [USE_LDCONFIG].
16799 * elf/rtld.c (dl_main): Likewise.
16800
5bb0c10a
PT
168012012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16802
16803 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16804 _SC_LEVEL4_CACHE_LINESIZE.
16805
010188c6
RM
168062012-10-03 Roland McGrath <roland@hack.frob.com>
16807
16808 * sysdeps/unix/bsd/confstr.h: File removed.
16809
b6c5ec07
AO
168102012-10-02 Alexandre Oliva <aoliva@redhat.com>
16811
16812 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16813 sys/sdt-config.h.
16814
408223d4
RM
168152012-10-02 Roland McGrath <roland@hack.frob.com>
16816
16817 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16818 Make 'mapoff' field ElfW(Off) rather than off_t.
16819
bb9510dc
DL
168202012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16821
fc997c6e
DL
16822 * nscd/Makefile: Remove nscd-cflags and all its users.
16823 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16824 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16825
bb9510dc
DL
16826 [BZ #10631]
16827 * malloc.c (malloc_printerr): Clarify error message.
16828
05699367
L
168292012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16830
16831 [BZ #14648]
16832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16833 Set bit_FMA_Usable if FMA is supported.
16834 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16835 macro.
16836 (bit_FMA4_Usable): Updated.
16837 (index_FMA_Usable): New macro.
16838 (CPUID_FMA): Likewise
16839 (HAS_FMA): Defined with bit_FMA_Usable.
16840
51367701
RM
168412012-10-01 Roland McGrath <roland@hack.frob.com>
16842
16843 * bits/types.h (__swblk_t): Type removed.
16844 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16845 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16846 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16847 (__SWBLK_T_TYPE): Likewise.
16848 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16849 (__SWBLK_T_TYPE): Likewise.
16850 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16851 (__SWBLK_T_TYPE): Likewise.
16852 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16853 (__SWBLK_T_TYPE): Likewise.
16854
4d57bf63 168552012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 16856 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
16857
16858 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16859 (xdr_mapname): Use YPMAXMAP as maxsize.
16860 (xdr_peername): Use YPMAXPEER as maxsize.
16861 (xdr_keydat): Use YPAXRECORD as maxsize.
16862 (xdr_valdat): Use YPMAXRECORD as maxsize.
16863
93c65d43
RM
168642012-10-01 Roland McGrath <roland@hack.frob.com>
16865
497a03d6
RM
16866 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16867
93c65d43
RM
16868 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16869 * csu/init-first.c: ... here.
16870 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16871 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16872 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16873 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16874 * sysdeps/i386/init-first.c: File removed.
16875 * sysdeps/sh/init-first.c: File removed.
16876
bec749fd
JM
168772012-10-01 Joseph Myers <joseph@codesourcery.com>
16878
16879 [BZ #14645]
16880 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16881 if x * y might underflow to zero and z is zero.
16882 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16883 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16884 * math/libm-test.inc (min_subnorm_value): New variable.
16885 (fma_test): Add more tests.
16886 (fma_test_towardzero): Likewise.
16887 (fma_test_downward): Likewise
16888 (fma_test_upward): Likewise.
16889 (initialize): Set min_subnorm_value.
16890
8ec5b013
JM
168912012-09-29 Joseph Myers <joseph@codesourcery.com>
16892
16893 [BZ #14638]
16894 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16895 0 + 0.
16896 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16897 mode for addition resulting in exact zero.
16898 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16899 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16900 exact 0 + 0.
16901 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16902 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16903 * math/libm-test.inc (fma_test): Add more tests.
16904 (fma_test_towardzero): New function.
16905 (fma_test_downward): Likewise.
16906 (fma_test_upward): Likewise.
16907 (main): Call the new functions.
16908
b1fa802e
DM
169092012-09-28 David S. Miller <davem@davemloft.net>
16910
16911 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16912
d3b9fd9e
RM
169132012-09-28 Roland McGrath <roland@hack.frob.com>
16914
ea4d37b3
RM
16915 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16916 instead of SIGALRM.
16917
ac51c949
RM
16918 * sysdeps/gnu/_G_config.h: Moved to ...
16919 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16920 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16921 * sysdeps/generic/_G_config.h: ... here.
16922
28c195f7
RM
16923 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16924
848917f9
RM
16925 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16926
6bacf05b
RM
16927 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16928 Conditionalize target on [libnss_test1.so-version].
16929
91363dbb
RM
16930 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16931
cc87f7d8
RM
16932 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16933 (elfobjdir): Move out of conditionals.
16934
b1c608fe
RM
16935 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16936 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16937 (__nss_lookup_function): Conditionalize label remove_from_tree on
16938 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 16939
1d9a6d96
DM
169402012-09-28 David S. Miller <davem@davemloft.net>
16941
16942 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16943 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16944 file.
16945 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16946 sysdep_routines.
16947 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16948 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16949 when HWCAP_SPARC_CRYPTO is present.
16950
72581615
PT
169512012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16952
16953 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16954
715a900c
JL
169552012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16956
16957 [BZ #6530]
16958 * stdio-common/vfprintf.c (process_string_arg): Revert
16959 2000-07-22 change.
16960
169612011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16962
16963 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16964 for testcase.
16965 * stdio-common/tst-sprintf.c: Include <locale.h>
16966 (main): Test sprintf's handling of incomplete multibyte
16967 characters.
16968
9bac1d86
L
169692012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16970
16971 * elf/dl-runtime.c (VERSYMIDX): Removed.
16972 * elf/dl-version.c (VERSYMIDX): Likewise.
16973 * elf/do-rel.h (VERSYMIDX): Likewise.
16974 (VALIDX): Likewise.
16975 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16976 * elf/rtld.c (VALIDX): Likewise.
16977 (ADDRIDX): Likewise.
9bac1d86
L
16978 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16979 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16980 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
16981 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16982 (VALIDX): Likewise.
16983 (ADDRIDX): Likewise.
9bac1d86 16984
b31606c0
PT
169852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16986
16987 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16988
11541177
JL
169892012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16990
16991 [BZ #11438]
16992 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16993 to global scope.
16994 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16995 addresses are in the same scope as 192.0.2/24.
16996 * posix/gai.conf: Document new scope table defaults.
16997
adb26fae
SP
169982012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16999
17000 [BZ #5298]
17001 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17002 for ftell. Compute offsets from write pointers instead.
17003 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17004
4573c6b0
SP
170052012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17006
17007 [BZ #14543]
17008 * libio/Makefile (tests): New test case tst-fseek.
17009 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17010 combination works in wide mode.
17011 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17012 state when the external buffer state changes.
17013
aa9bbfe6
DM
170142012-09-27 David S. Miller <davem@davemloft.net>
17015
17016 [BZ #14376]
17017 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17018 pass reloc->r_addend in as the 'high' argument to
17019 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17020
784421e7
DM
17021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17022
c39bc8b8
PT
170232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17024
17025 * rt/tst-aio2.c: Include <pthread.h>.
17026 * rt/tst-aio3.c: Likewise.
17027
1ccc2399
SE
170282012-09-27 Steve Ellcey <sellcey@mips.com>
17029
17030 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17031
31ed4153
L
170322012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17033
25f5f885
L
17034 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17035 contents on [SHARED].
31ed4153 17036
b7bfe116
MP
170372012-09-26 Marek Polacek <polacek@redhat.com>
17038
17039 [BZ #14530]
17040 [BZ #13741]
17041 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17042 for C++ and GCC <4.3 as well as for non GCC compilers.
17043
43c4edba
MT
170442012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17045
17046 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17047
6a1bf82f
RM
170482012-09-25 Roland McGrath <roland@hack.frob.com>
17049
17050 * Makefile.in (all, install): Declare with .PHONY.
17051 Reported by Michael Hope <michael.hope@linaro.org>.
17052
8ad11b9a
TMQMF
170532012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17054
17055 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17056 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17057 system header.
17058 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17059 Likewise.
17060 (sydep_routines): Add the new and the internal functions.
17061 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17062 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17064 (GLIBC_2.17): Add the new function.
17065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17066 (GLIBC_2.17): Likewise.
17067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17068 (GLIBC_2.17): Likewise.
17069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17070 (GLIBC_2.17): Likewise.
17071 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17072
7e2fca8d
AM
170732012-09-25 Alan Modra <amodra@gmail.com>
17074
17075 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17076 Add release barrier before setting once_control to say
17077 initialisation is done. Add hints on lwarx. Use macro in
17078 place of isync.
17079 (clear_once_control): Add release barrier.
17080
b87c4b24
JM
170812012-09-25 Joseph Myers <joseph@codesourcery.com>
17082
d032e0d2
JM
17083 [BZ #13629]
17084 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17085 specially.
17086 * math/s_clog10.c (__clog10): Likewise.
17087 * math/s_clog10f.c (__clog10f): Likewise.
17088 * math/s_clog10l.c (__clog10l): Likewise.
17089 * math/s_clogf.c (__clogf): Likewise.
17090 * math/s_clogl.c (__clogl): Likewise.
17091 * math/Makefile (libm-calls): Add x2y2m1.
17092 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17093 (__x2y2m1): Likewise.
17094 (__x2y2m1l): Likewise.
17095 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17096 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17097 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17098 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17099 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17100 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17101 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17102 * sysdeps/i386/fpu/libm-test-ulps: Update.
17103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17104
b87c4b24
JM
17105 [BZ #14621]
17106 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17107 int as type of variable DEPTH.
17108 (glob): Use size_t instead of int as type of variables NEWCOUNT
17109 and OLD_PATHC.
17110
6d3bf199
LD
171112012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17112
22bf5c17
LD
17113 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17114 Add s_sincosf-sse2.
17115 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17116 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17117 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17118 macros for using routine as __sincosf_ia32.
17119 Use macro for function declaration and weak_alias.
17120 * sysdeps/i386/fpu/libm-test-ulps: Update.
17121
17122 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17124
17125 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
17126 subnormal argument.
17127 * math/s_cexpf.c (__cexpf): Likewise.
17128 * math/s_csinf.c (__csinf): Likewise.
17129 * math/s_csinhf.c (__csinhf): Likewise.
17130 * math/s_ctanf.c (__ctanf): Likewise.
17131 * math/s_ctanhf.c (__ctanhf): Likewise.
17132 * math/s_ccosh.c (__ccoshf): Likewise.
17133 * math/s_cexp.c (__cexpl): Likewise.
17134 * math/s_csin.c (__csin): Likewise.
17135 * math/s_csinh.c (__csinh): Likewise.
17136 * math/s_ctan.c (__ctan): Likewise.
17137 * math/s_ctanh.c (ctanh): Likewise.
17138 * math/s_ccoshl.c (__ccoshl): Likewise.
17139 * math/s_cexpl.c (__cexpl): Likewise.
17140 * math/s_csinl.c (__csinl): Likewise.
17141 * math/s_csinhl.c (__csinhl): Likewise.
17142 * math/s_ctanl.c (__ctanl): Likewise.
17143 * math/s_ctanhl.c (__ctanhl): Likewise.
17144
203e5603
JM
171452012-09-25 Joseph Myers <joseph@codesourcery.com>
17146
17147 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17148 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17149 (_IO_off_t): Define to __off_t, not _G_off_t.
17150 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17151 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17152 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17153 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17154 type of __dummy and __dummy2 fields.
17155 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17156 (_G_ssize_t): Likewise.
17157 (_G_off_t): Likewise.
17158 (_G_pid_t): Likewise.
17159 (_G_uid_t): Likewise.
17160 (_G_wchar_t): Likewise.
17161 (_G_wint_t): Likewise.
17162 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17163 (_G_ssize_t): Likewise.
17164 (_G_off_t): Likewise.
17165 (_G_pid_t): Likewise.
17166 (_G_uid_t): Likewise.
17167 (_G_wchar_t): Likewise.
17168 (_G_wint_t): Likewise.
17169 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17170 (_G_ssize_t): Likewise.
17171 (_G_off_t): Likewise.
17172 (_G_pid_t): Likewise.
17173 (_G_uid_t): Likewise.
17174 (_G_wchar_t): Likewise.
17175 (_G_wint_t): Likewise.
17176
9fab36eb
SP
171772012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17178
17179 * malloc/arena.c: Include malloc-sysdep.h.
17180 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17181 is sufficient to shrink the heap or an unmap is needed.
17182 * sysdeps/generic/malloc-sysdep.h: New file. Define
17183 new function check_may_shrink_heap.
17184 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17185 new function check_may_shrink_heap.
17186
2b4f00d1
SP
171872012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17188
17189 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17190 comments.
17191
9a9028b1
DL
171922012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17193
57c69bef
DL
17194 * catgets/test-gencat.sh: Add "set -e".
17195 * elf/tst-pathopt.sh: Likewise.
17196 * grp/tst_fgetgrent.sh: Likewise.
17197 * iconvdata/run-iconv-test.sh: Likewise.
17198 * intl/tst-gettext.sh: Likewise.
17199 * intl/tst-gettext2.sh: Likewise.
17200 * intl/tst-gettext4.sh: Likewise.
17201 * intl/tst-gettext6.sh: Likewise.
17202 * intl/tst-translit.sh: Likewise.
17203 * io/ftwtest-sh: Likewise.
17204 * libio/test-freopen.sh: Likewise.
17205 * malloc/tst-mtrace.sh: Likewise.
17206 * posix/globtest.sh: Likewise.
17207 * posix/tst-getconf.sh: Likewise.
17208 * posix/wordexp-tst.sh: Likewise.
17209 * stdio-common/tst-printf.sh: Likewise.
17210 * stdio-common/tst-unbputc.sh: Likewise.
17211 * stdlib/tst-fmtmsg.sh: Likewise.
17212 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17213 * catgets/Makefile: Do not specify -e option when running
17214 testsuite shell scripts.
17215 * elf/Makefile: Likewise.
17216 * grp/Makefile: Likewise.
17217 * iconvdata/Makefile: Likewise.
17218 * intl/Makefile: Likewise.
17219 * io/Makefile: Likewise.
17220 * libio/Makefile: Likewise.
17221 * malloc/Makefile: Likewise.
17222 * posix/Makefile: Likewise.
17223 * stdio-common/Makefile: Likewise.
17224 * stdlib/Makefile: Likewise.
17225 * sysdeps/x86_64/Makefile: Likewise.
17226
9a9028b1
DL
17227 * io/ftwtest-sh: Add copyright header.
17228 * posix/globtest.sh: Likewise.
17229 * posix/tst-getconf.sh: Likewise.
17230 * posix/wordexp-tst.sh: Likewise.
17231 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17232
ced6f16e
L
172332012-09-24 H.J. Lu <hongjiu.lu@intel.com>
17234
94b32c39
L
17235 [BZ #13679]
17236 * Makeconfig (+link): Defined as $(+link-static) if
17237 $(build-shared) isn't yes.
17238 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17239 isn't yes.
17240 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17241
189e935b
L
17242 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17243
ced6f16e
L
17244 [BZ #14562]
17245 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17246 new chunk size with MALLOC_ALIGN_MASK.
17247
a9f8e53a
JM
172482012-09-24 Joseph Myers <joseph@codesourcery.com>
17249
17250 [BZ #5044]
17251 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17252 <rounding-mode.h>.
17253 (__printf_fphex): Determine rounding using get_rounding_mode and
17254 round_away.
17255 * stdio-common/tst-printf-round.c (struct hex_test): New
17256 structure.
17257 (hex_tests): New variable.
17258 (test_hex_in_one_mode): New function.
17259 (do_test): Also run tests for hex float output.
17260
43153109
JM
172612012-09-21 Joseph Myers <joseph@codesourcery.com>
17262
17263 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17264 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17265 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17266 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17267 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17268 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17269 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17270 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17271
8a26625d
JM
172722012-09-20 Joseph Myers <joseph@codesourcery.com>
17273
17274 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17275 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17276 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17277 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17278
f3fd569c
DL
172792012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17280
17281 [BZ #14579]
17282 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17283 mode only.
17284 * elf/tst-rtld-load-self.sh: New test.
17285 * elf/Makefile: Run it.
17286
63bbedd4
JM
172872012-09-18 Joseph Myers <joseph@codesourcery.com>
17288
17289 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17290 (tst-writev-ENV): Remove.
17291 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17292
626f8b6a
CM
172932012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17294
17295 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17296
b7aaa4d6
JM
172972012-09-17 Joseph Myers <joseph@codesourcery.com>
17298
17299 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17300 unconditional.
17301 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17302 Likewise.
17303 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17304 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17305 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17306 Likewise.
17307
65513990
L
173082012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17309
17310 [BZ #14587]
17311 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17312 * config.make.in (have-cpp-asm-debuginfo): Removed.
17313 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17314 * configure: Regenerated.
17315
784761be
JM
173162012-09-14 Joseph Myers <joseph@codesourcery.com>
17317
17318 [BZ #5044]
17319 * stdio-common/printf_fp.c: Include <stdbool.h> and
17320 <rounding-mode.h>.
17321 (___printf_fp): Determine rounding using get_rounding_mode and
17322 round_away.
17323 * stdio-common/tst-printf-round.c: New file.
17324 * stdio-common/Makefile (tests): Add tst-printf-round.
17325 (link-libm): New variable.
17326 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17327
9503345f
L
173282012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17329
17330 [BZ #14576]
17331 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17332 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17333 Likewise.
17334 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17335 Likewise.
17336
ad35fc00
JM
173372012-09-13 Joseph Myers <joseph@codesourcery.com>
17338
17339 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17340 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17341 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17342 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17343
6c9b0f68
JM
173442012-09-12 Joseph Myers <joseph@codesourcery.com>
17345
17346 [BZ #14518]
17347 * include/rounding-mode.h: New file.
17348 * sysdeps/generic/get-rounding-mode.h: Likewise.
17349 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17350 * stdlib/strtod_l.c: Include <rounding-mode.h>.
17351 (MAX_VALUE): New macro.
17352 (MIN_VALUE): Likewise.
17353 (overflow_value): New function.
17354 (underflow_value): Likewise.
17355 (round_and_return): Use overflow_value and underflow_value to
17356 determine return values in overflow and underflow cases. Use
17357 round_away to determine rounding depending on rounding mode.
17358 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17359 determine return values in overflow and underflow cases.
17360 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17361 (struct test_results): New structure.
17362 (struct test): Use struct test_results to store expected results
17363 for all rounding modes.
17364 (TEST): Include expected results for all rounding modes.
17365 (test_in_one_mode): New function.
17366 (do_test): Use test_in_one_mode to compute and check results.
17367 Check results for all rounding modes.
17368 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17369 $(link-libm).
17370
19fcedd5
AM
173712012-12-09 Allan McRae <allan@archlinux.org>
17372
1e9d84cd 17373 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 17374
8bbfd2f1
JM
173752012-09-11 Joseph Myers <joseph@codesourcery.com>
17376
17377 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17378 (_G_int32_t): Likewise.
17379 (_G_uint16_t): Likewise.
17380 (_G_uint32_t): Likewise.
17381 (_G_HAVE_BOOL): Likewise.
17382 (_G_HAVE_ATEXIT): Likewise.
17383 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17384 (_G_HAVE_IO_FILE_OPEN): Likewise.
17385 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17386 (_G_int32_t): Likewise.
17387 (_G_uint16_t): Likewise.
17388 (_G_uint32_t): Likewise.
17389 (_G_HAVE_BOOL): Likewise.
17390 (_G_HAVE_ATEXIT): Likewise.
17391 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17392 (_G_HAVE_IO_FILE_OPEN): Likewise.
17393 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17394 (_G_int32_t): Likewise.
17395 (_G_uint16_t): Likewise.
17396 (_G_uint32_t): Likewise.
17397 (_G_HAVE_BOOL): Likewise.
17398 (_G_HAVE_ATEXIT): Likewise.
17399 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17400 (_G_HAVE_IO_FILE_OPEN): Likewise.
17401
b1dc5912
L
174022012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17403
17404 * csu/libc-tls.c: Update copyright years.
17405
0e886ef9
JM
174062012-09-10 Joseph Myers <joseph@codesourcery.com>
17407
28361c5e
JM
17408 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17409 [!_G_USING_THUNKS]: Remove conditional code.
17410 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17411 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17412
0e886ef9
JM
17413 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17414 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17415 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17416 (_G_VTABLE_LABEL_PREFIX): Likewise.
17417 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17418 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17419 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17420 (_G_VTABLE_LABEL_PREFIX): Likewise.
17421 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17422 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17423 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17424 (_G_VTABLE_LABEL_PREFIX): Likewise.
17425 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17426
bcba7aa2
L
174272012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17428
17429 * libio/Makefile: Include ../Makeconfig before tests.
17430 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17431 only if $(build-shared) is yes.
17432
06585ee8
L
17433 * iconv/gconv_db.c: Update copyright years.
17434
80ccd52c
LD
174352012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17436
17437 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17438 unwind info if defined PIC. Fix special cases description.
17439 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17440
17441 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17442 DP_HI_MASK entry.
17443 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17444
691bc9c1
L
174452012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17446
3d9b46b3
L
17447 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17448
de2139a9
L
17449 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17450 is NULL.
17451
5ca78dd0
L
17452 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17453 (LDLIBS-tst-chk4): This.
17454 (LDFLAGS-tst-chk5): Renamed to ...
17455 (LDLIBS-tst-chk5): This.
17456 (LDFLAGS-tst-chk6): Renamed to ...
17457 (LDLIBS-tst-chk6): This.
17458 (LDFLAGS-tst-lfschk4): Renamed to ...
17459 (LDLIBS-tst-lfschk4): This.
17460 (LDFLAGS-tst-lfschk5): Renamed to ...
17461 (LDLIBS-tst-lfschk5): This.
17462 (LDFLAGS-tst-lfschk6): Renamed to ...
17463 (LDLIBS-tst-lfschk6): This.
17464
691bc9c1
L
17465 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17466 on $(common-objpfx)soversions.mk.
17467
65cafb1c
JM
174682012-09-07 Joseph Myers <joseph@codesourcery.com>
17469
17470 [BZ #10014]
17471 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17472 example host name.
17473
c78ab094
SP
174742012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17475
17476 * malloc/arena.c (arena_get_retry): New function that gets
17477 another arena for the caller to try its request on.
17478 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17479 current arena cannot fulfill the request.
17480 (__libc_memalign): Likewise.
17481 (__libc_memalign): Likewise.
17482 (__libc_pvalloc): Likewise.
17483 (__libc_calloc): Likewise.
17484
01f49f59
JT
174852012-09-05 John Tobey <john.tobey@gmail.com>
17486
17487 [BZ #13542]
17488 * manual/arith.texi (Operations on Complex): Fix description
17489 of carg branch cut.
17490
4c23fed5
JM
174912012-09-06 Joseph Myers <joseph@codesourcery.com>
17492
1d3c8572
JM
17493 [BZ #10014]
17494 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17495 host name.
17496
4c23fed5
JM
17497 [BZ #10038]
17498 * manual/memory.texi (Memory): Make order of menu items match
17499 order of sections.
17500
04570aaa
L
175012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17502
17503 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17504 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17505 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17506
b80af2f4
L
175072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17508
17509 * csu/libc-tls.c (static_dtv): Renamed to ...
17510 (_dl_static_dtv): This. Make it global.
17511 (_dl_initial_dtv): Removed.
17512 (__libc_setup_tls): Updated.
17513 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17514 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17515 DL_INITIAL_DTV.
17516
2abe9f15
PM
175172012-09-06 Petr Machata <pmachata@redhat.com>
17518
17519 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17520 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17521 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17522 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17523
0948c3af
L
175242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17525
17526 [BZ #14545]
17527 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17528 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17529 freeing dtv[-1].
17530
a5055ad1
L
175312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17532
17533 [BZ #14544]
17534 * Makeconfig (link-static-before-libc): Replace $(+prector)
17535 with $(+prectorT).
17536 (link-static-after-libc): Replace $(+postctor) with
17537 $(+postctorT).
17538 (link-bounded): Replace $(+prector)/$(+postctor) with
17539 $(+prectorT)/$(+postctorT).
17540 (+prectorT): New macro.
17541 (+postctorT): Likewise.
17542
ed8c2ecd
JM
175432012-09-06 Joseph Myers <joseph@codesourcery.com>
17544
17545 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17546 (round_str): Handle values above the maximum for IBM long double
17547 as inexact.
17548 * stdlib/tst-strtod-round.c (tests): Regenerated.
17549
14c996c8
AK
175502012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17551
17552 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17553 assembler flag.
17554 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17555 zarch_nohighgprs around the zarch optimized routines.
17556 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17557 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17558 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17559 for zarch.
17560
430d6ce6
DM
175612012-09-05 David S. Miller <davem@davemloft.net>
17562
17563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17564
ff04dda4
DM
17565 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17566 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17567 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17568 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17569 entries.
17570
24d4e01b
AO
175712012-09-05 Alexandre Oliva <aoliva@redhat.com>
17572
17573 * malloc/arena.c: Fold copyright years.
17574 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17575
61d58174
AO
175762012-09-05 Alexandre Oliva <aoliva@redhat.com>
17577
17578 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17579
20196a5e
AO
175802012-09-05 Alexandre Oliva <aoliva@redhat.com>
17581
17582 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17583
5c447383
AO
175842012-09-05 Alexandre Oliva <aoliva@redhat.com>
17585
17586 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17587 change internal state upon failure.
17588
fad64255
AO
175892012-09-05 Alexandre Oliva <aoliva@redhat.com>
17590
17591 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17592 * malloc/memusage.c (mmap): Likewise.
17593 (mmap64, mremap): Likewise. Adjust name in comment.
17594
1ffb8c90
SP
175952012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17596
17597 * libio/fileops.c: Fix typos in comments.
17598 * libio/oldfileops.c: Likewise.
17599 * libio/wfileops.c: Likewise.
17600
6ef9cc37
SP
176012012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17602
17603 [BZ #1349]
17604 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17605 (tst-malloc-usable-ENV): Set environment for test case.
17606 * malloc/hooks.c (malloc_check_get_size): New function to get
17607 requested size.
17608 * malloc/malloc.c (musable): Use malloc_check_get_size.
17609 * malloc/tst-malloc-usable.c: New test case.
17610
4d038ae3
AS
176112012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17612
17613 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17614
c4e85184
AM
176152012-09-05 Allan McRae <allan@archlinux.org>
17616
b9dafc56 17617 [BZ #13966]
c4e85184
AM
17618 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17619 determine header location.
17620 * configure: Regenerated.
17621
e1343020
AS
176222012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17623
17624 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17625 float format.
17626 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
17627 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17628 format.
e1343020
AS
17629 (test): Regenerate.
17630
0a9f1987
DM
176312012-09-04 David S. Miller <davem@davemloft.net>
17632
17633 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17634 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17635 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17636
29237804
FW
176372012-09-04 Florian Weimer <fweimer@redhat.com>
17638
17639 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17640 failures.
17641
edb3cb88
FW
17642 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17643
60160d83
JM
176442012-09-04 Joseph Myers <joseph@codesourcery.com>
17645
17646 [BZ #9914]
17647 * libio/iogetdelim.c: Include <limits.h>.
17648 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17649 + len + 1 would overflow.
17650
bcd6c8dc
AJ
176512012-09-03 Andreas Jaeger <aj@suse.de>
17652
17653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17654 * sysdeps/i386/fpu/libm-test-ulps: Update.
17655
4ffffbd2
LD
176562012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17657
17658 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17659 Add s_sinf-sse2, s_conf-sse2.
17660
17661 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17662 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17663 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17664 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17665
17666 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17667 for using routine as __sinf_ia32.
17668 Use macro for function declaration and weak_alias.
17669 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17670 for using routine as __cosf_ia32.
17671 Use macro for function declaration and weak_alias.
17672
17673 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17674 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17675
17676 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17677 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17678 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17679
17680 * math/libm-test.inc (cos_test): Add more test cases.
17681 (sin_test): Likewise.
17682 (sincos_test): Likewise.
17683
511fa286
AK
176842012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17685
17686 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17687 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17688 hidden.
17689 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17690
5f30cfec
L
176912012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17692
17693 [BZ #14538]
17694 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17695 first element of the GOT.
17696 (elf_machine_load_address): Return the difference between
17697 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17698
0786794f
AM
176992012-09-01 Allan McRae <allan@archlinux.org>
17700
5f30cfec
L
17701 [BZ #13412]
17702 * configure.in (AWK): Require gawk version 3.0 or later.
17703 * configure: Regenerated.
0786794f 17704
26889eac
JM
177052012-09-01 Joseph Myers <joseph@codesourcery.com>
17706
17707 * sysdeps/unix/sysv/linux/kernel-features.h
17708 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17709 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17710 [__NR_clock_getres]: Make code unconditional.
17711 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17712 (clock_getcpuclockid): Remove code left unreachable by removal of
17713 conditionals.
17714 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17715 code unconditional.
17716 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17717 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17718 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17719 Make code unconditional.
17720 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17721 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17722 * sysdeps/unix/sysv/linux/clock_settime.c
17723 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17724 conditional code.
17725 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17726 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17727
d22e28b0
L
177282012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17729
17730 [BZ #14476]
17731 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17732 scripts/test-installation.pl.
17733
17734 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17735 and $ld_so_version if it is set.
17736
050af9c4
SP
177372012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17738
17739 [BZ #14516]
17740 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17741 failure if reading from procfs failed.
17742 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17743
ad845c0b
JM
177442012-08-27 Joseph Myers <joseph@codesourcery.com>
17745
17746 * sysdeps/unix/sysv/linux/kernel-features.h
17747 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17748 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17749 Remove conditional code.
17750 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17751 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17752 Remove conditional code.
17753 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17754 * sysdeps/unix/sysv/linux/i386/fxstat.c
17755 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17756 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17757 * sysdeps/unix/sysv/linux/i386/fxstatat.c
17758 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17759 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17760 * sysdeps/unix/sysv/linux/i386/lxstat.c
17761 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17762 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17763 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17764 Remove conditional code.
17765 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17766 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17767 Remove conditional code.
17768 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17769 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17770 <kernel-features.h>.
17771 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17772 Remove.
17773 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17774 Remove conditional code.
17775 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17776 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17777 Remove conditional.
17778
5dbf56af
MF
177792012-08-27 Mike Frysinger <vapier@gentoo.org>
17780
17781 [BZ #5400]
17782 * NEWS: Add fixed bug number.
17783
d6e70f43
JM
177842012-08-27 Joseph Myers <joseph@codesourcery.com>
17785
7efb4737
JM
17786 [BZ #14519]
17787 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17788 underflowing exponent in case of negative sign.
17789 * stdlib/tst-strtod-round-data: Add more tests.
17790 * stdlib/tst-strtod-round.c (tests): Regenerated.
17791
af92131a
JM
17792 [BZ #3479]
17793 * stdlib/strtod_l.c (NDIG): Remove.
17794 (HEXNDIG): Likewise.
17795 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17796 smallest representable value.
17797 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17798 lie within an exact representation of 1/2 ulp of the result.
17799 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17800 unconditionally.
17801 (TENS_P9_IDX): Define unconditionally.
17802 (TENS_P9_SIZE): Likewise.
17803 (TENS_P10_IDX): Likewise.
17804 (TENS_P10_SIZE): Likewise.
17805 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17806 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17807 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17808 entries for 10^2^13 and 10^2^14.
17809 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17810 (TENS_P13_IDX): Define.
17811 (TENS_P13_SIZE): Likewise.
17812 (TENS_P14_IDX): Likewise.
17813 (TENS_P14_SIZE): Likewise.
17814 (_fpioconst_pow10): Change array size to
17815 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17816 unconditional.
17817 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17818 1024]: Add entries for 10^2^13 and 10^2^14.
17819 [LAST_POW10 > _LAST_POW10]: Remove #error.
17820 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17821 (_fpioconst_pow10): Change array size to
17822 FPIOCONST_POW10_ARRAY_SIZE.
17823 * stdlib/gen-fpioconst.c: New file.
17824 * stdlib/gen-tst-strtod-round.c: Likewise.
17825 * stdlib/tst-strtod-round-data: Likewise.
17826 * stdlib/tst-strtod-round.c: Likewise.
17827 * stdlib/Makefile (tests): Add tst-strtod-round.
17828
d6e70f43
JM
17829 [BZ #14459]
17830 * stdlib/strtod_l.c: Include <stdint.h>.
17831 (NDEBUG): Do not define.
17832 (round_and_return): Change EXPONENT parameter to type intmax_t.
17833 Rearrange calculations to avoid internal overflow possibilities.
17834 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17835 Rearrange calculations to avoid internal overflow possibilities.
17836 Assert that number fits inside MPNSIZE limbs.
17837 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17838 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17839 calculations and add assertions to avoid internal overflow
17840 possibilities. Add casts to avoid signed/unsigned operations.
17841 * stdlib/tst-strtod-overflow.c: New file.
17842 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17843
1f529f7d
MP
178442012-08-25 Marek Polacek <polacek@redhat.com>
17845
17846 * time/time.h: Fix some typos in comments.
17847
59a629f1
RM
178482012-08-23 Roland McGrath <roland@hack.frob.com>
17849
17850 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17851 * posix/tst-rfc3484-2.c: Likewise.
17852 * posix/tst-rfc3484-3.c: Likewise.
17853
d3bafbc9
SM
178542012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17855
17856 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17857 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17858
4efcc022
JM
178592012-08-23 Joseph Myers <joseph@codesourcery.com>
17860
17861 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17862 #include of fxstatat64.c.
17863
3cc3ef96
RM
178642012-08-22 Roland McGrath <roland@hack.frob.com>
17865
f04e2132
RM
17866 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17867 * shadow/getspent_r.c: Likewise.
17868 * shadow/getspnam.c: Likewise.
17869 * shadow/getspnam_r.c: Likewise.
17870 * gshadow/getsgent.c: Likewise.
17871 * gshadow/getsgent_r.c: Likewise.
17872 * gshadow/getsgnam.c: Likewise.
17873 * gshadow/getsgnam_r.c: Likewise.
17874 * inet/getnetbyad.c: Likewise.
17875 * inet/getnetbyad_r.c: Likewise.
17876 * inet/getnetbynm.c: Likewise.
17877 * inet/getnetbynm_r.c: Likewise.
17878 * inet/getnetent.c: Likewise.
17879 * inet/getnetent_r.c: Likewise.
17880 * inet/getproto.c: Likewise.
17881 * inet/getproto_r.c: Likewise.
17882 * inet/getprtent.c: Likewise.
17883 * inet/getprtent_r.c: Likewise.
17884 * inet/getprtname.c: Likewise.
17885 * inet/getprtname_r.c: Likewise.
17886 * inet/getrpcbyname.c: Likewise.
17887 * inet/getrpcbyname_r.c: Likewise.
17888 * inet/getrpcbynumber.c: Likewise.
17889 * inet/getrpcbynumber_r.c: Likewise.
17890 * inet/getrpcent.c: Likewise.
17891 * inet/getrpcent_r.c: Likewise.
17892 * inet/getaliasent.c: Likewise.
17893 * inet/getaliasent_r.c: Likewise.
17894 * inet/getaliasname.c: Likewise.
17895 * inet/getaliasname_r.c: Likewise.
17896 * nscd/getgrgid_r.c: Likewise.
17897 * nscd/getgrnam_r.c: Likewise.
17898 * nscd/gethstbyad_r.c: Likewise.
17899 * nscd/gethstbynm3_r.c: Likewise.
17900 * nscd/getpwnam_r.c: Likewise.
17901 * nscd/getpwuid_r.c: Likewise.
17902 * nscd/getsrvbynm_r.c: Likewise.
17903 * nscd/getsrvbypt_r.c: Likewise.
17904 * nscd/gai.c: Likewise.
17905
c53d909c
RM
17906 * configure.in (build_nscd): New substituted variable, set
17907 by --disable-build-nscd and defaults to $use_nscd.
17908 * configure: Regenerated.
17909 * config.make.in (build-nscd): New substituted variable.
17910 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17911 Change conditional to require [$(build-nscd) = yes] as well.
17912 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17913
3cc3ef96
RM
17914 [BZ# 13696]
17915 * configure.in (use_nscd): New substituted variable, set by
17916 --disable-nscd. If enabled, define USE_NSCD.
17917 * configure: Regenerated.
17918 * config.h.in: Add USE_NSCD.
17919 * config.make.in (use-nscd): New substituted variable.
17920 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17921 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17922 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17923 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17924 (CFLAGS-getgrnam_r.c): Likewise.
17925 (CFLAGS-initgroups.c): Likewise.
17926 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17927 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17928 Variables removed.
17929 * inet/getnetgrent_r.c
17930 (nscd_setnetgrent): New function, broken out of ...
17931 (setnetgrent): ... here. Call it.
17932 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17933 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17934 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17935 * nscd/Makefile (routines, aux): Move definitions after include of
17936 Makeconfig. Conditionalize on [$(use-nscd) != no].
17937 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17938 Conditionalize on [USE_NSCD].
17939 (is_nscd, nscd_init_cb): Likewise.
17940 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17941 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17942 * nss/nss_db/db-init.c: Likewise.
17943 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17944 [USE_NSCD].
17945 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17946 (make_request): Use it.
17947 (cache_valid_p): New function.
17948 (__check_pf): Use it.
17949 * NEWS: Add item for --disable-nscd.
17950
07e51550
DL
179512012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17952
17953 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17954 to support sed >= 4.2.1-20-ga9bf076.
17955 * configure: Regenerated.
17956
35a5b08b
RM
179572012-08-22 Roland McGrath <roland@hack.frob.com>
17958
17959 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17960 Conditionalize whole body on [IREL].
17961
8479f23a
JL
179622012-08-22 Jeff Law <law@redhat.com>
17963
17964 [BZ #14505]
17965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17966 if the family is PF_UNSPEC.
17967
48da0b21
MF
179682012-08-22 Mike Frysinger <vapier@gentoo.org>
17969
17970 * Makerules (lib-version): Rename from V.
17971 (install-lib-nosubdir): Change V to lib-version.
17972
15d0da8c
WS
179732012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17974
17975 [BZ #14252]
17976 * powerpc32/power6/wcschr.c: New file.
17977 * powerpc32/power6/wcscpy.c: New file.
17978 * powerpc32/power6/wcsrchr.c: New file.
17979 * powerpc64/power6/wcschr.c: New file.
17980 * powerpc64/power6/wcscpy.c: New file.
17981 * powerpc64/power6/wcsrchr.c: New file.
17982
bcca0895
MK
179832012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17984
17985 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17986 (two_way_short_needle): Use it.
5a4aaa33
RM
17987 * string/strstr.c (AVAILABLE1_USES_J): Define.
17988 * string/strcasestr.c: Likewise.
99677e57
MK
17989
17990 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17991 array references.
17992 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17993
400726de
MK
17994 [BZ #11607]
17995 * NEWS: Add an entry.
17996 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17997 define their defaults.
17998 (two_way_short_needle): Detect end-of-string on-the-fly.
17999 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18000 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18001 * string/bug-strcasestr1.c: New test.
18002 * string/Makefile: Run it.
18003
20a71f2c
MK
180042012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18005
18006 [BZ #11607]
18007 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18008 the first character.
18009
21ad0558
RM
180102012-08-21 Roland McGrath <roland@hack.frob.com>
18011
18012 * csu/elf-init.c (__libc_csu_irel): Function removed.
18013 * csu/libc-start.c (apply_irel): New function.
18014 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18015
0e1d9911
JM
180162012-08-21 Joseph Myers <joseph@codesourcery.com>
18017
18018 * sysdeps/unix/sysv/linux/kernel-features.h
18019 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18020 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18021 <kernel-features.h>.
18022 [__NR_fadvise64_64]: Make code unconditional.
18023 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18024 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18025 !__NR_fadvise64_64)]: Likewise.
18026 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18027 !__NR_fadvise64_64))]: Likewise.
18028 [__NR_fadvise64]: Make code unconditional.
18029 [!__NR_fadvise64]: Remove conditional code.
18030 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18031 <kernel-features.h>.
18032 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18033 unconditional.
18034 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18035 conditional code.
18036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18037 not include <kernel-features.h>.
18038 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18039 unconditional.
18040 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18041 conditional code.
18042 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18043 include <kernel-features.h>.
18044 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18045 unconditional.
18046 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18047 conditional code.
18048
14a50c9d
WS
180492012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18050
18051 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18052 slight instruction rearrangements per scrollpipe analysis.
18053 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18054
c0f4faf0
RM
180552012-08-20 Roland McGrath <roland@hack.frob.com>
18056
696da859
RM
18057 * manual/syslog.texi (syslog; vsyslog, closelog):
18058 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18059 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18060
c0f4faf0
RM
18061 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18062 DSOCAPS to match condition on defining it.
18063
348363b2
JM
180642012-08-20 Joseph Myers <joseph@codesourcery.com>
18065
a35cbf28
JM
18066 * sysdeps/unix/sysv/linux/kernel-features.h
18067 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18069 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18070 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18072 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18073 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18075 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18076 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18077
445f7ecd
JM
18078 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18079 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18080
348363b2
JM
18081 * sysdeps/unix/sysv/linux/kernel-features.h
18082 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18083 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18084 unconditional.
18085 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18086 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18087 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18088 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18089 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18090 Make code unconditional.
18091 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18092 (__mmap64) [!__NR_mmap2]: Likewise.
18093 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18094 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18095 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18096 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18097 [__NR_mmap2]: Make code unconditional.
18098 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18099 (__mmap64) [!__NR_mmap2]: Likewise.
18100
bc5bc0e5
AK
181012012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18102
18103 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18104
88d506de
AJ
181052012-08-18 Andreas Jaeger <aj@suse.de>
18106
18107 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18108
493387d2
MF
181092012-08-18 Mike Frysinger <vapier@gentoo.org>
18110
18111 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18112 * include/unistd.h (__have_sock_cloexec): Likewise.
18113 (__have_pipe2): Likewise.
18114 (__have_dup3): Likewise.
18115
a277af22
MF
181162012-08-18 Mike Frysinger <vapier@gentoo.org>
18117
18118 [BZ #9685]
18119 * include/unistd.h (__have_pipe2): Change define into an extern int.
18120 (__have_dup3): Likewise.
18121 * socket/have_sock_cloexec.c: Include fcntl.h.
18122 (__have_pipe2): New variable.
18123 (__have_dup3): Likewise.
18124
fdab8fd3
MF
181252012-08-17 Mike Frysinger <vapier@gentoo.org>
18126
18127 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18128
31035e80
MP
181292012-08-17 Marek Polacek <polacek@redhat.com>
18130
18131 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18132 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18133
3bd9e993
RM
181342012-08-17 Roland McGrath <roland@hack.frob.com>
18135
c91c505f
RM
18136 * configure.in: Add AC_SUBST for sysheaders.
18137 * configure: Regenerated.
18138 * config.make.in (sysheaders): New substituted variable.
18139
7c6f9d53
RM
18140 * sysdeps/unix/mkfifo.c: Moved ...
18141 * sysdeps/posix/mkfifo.c: ... here.
18142 * sysdeps/unix/mkfifoat.c: Moved ...
18143 * sysdeps/posix/mkfifoat.c: ... here.
18144
18145 * sysdeps/unix/utime.c: Moved ...
18146 * sysdeps/posix/utime.c: ... here.
18147
18148 * sysdeps/unix/time.c: Moved ...
18149 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
18150 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18151 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
18152
18153 * sysdeps/unix/nice.c: Moved ...
18154 * sysdeps/posix/nice.c: ... here.
18155
18156 * sysdeps/unix/alarm.c: Moved ...
18157 * sysdeps/posix/alarm.c: ... here.
18158
3bd9e993
RM
18159 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18160
d1f09384
JL
181612012-08-17 Jeff Law <law@redhat.com>
18162
18163 * intl/Makefile (codeset_mo): New variable.
18164 ($(codeset_mo)): New target.
18165 (tst-codeset.out): Depend on that. Remove explicit rule.
18166 (tst-gettext3.out, tst-gettext5.out): Likewise.
18167 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18168 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18169 * intl/tst-codeset.sh: Remove.
18170 * intl/tst-gettext3.sh: Likewise.
18171 * intl/tst-gettext5.sh: Likewise.
18172
2ae1ae5c
RM
181732012-08-17 Roland McGrath <roland@hack.frob.com>
18174
c31fdb83
RM
18175 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18176 * sysdeps/unix/syscalls.list: ... here.
18177
a0844057
RM
18178 * sysdeps/posix/getaddrinfo.c
18179 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18180 (gaiconf_init, gaiconf_reload): Use them.
18181 [!_STATBUF_ST_NSEC]
18182 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18183 Define using time_t rather than struct timespec.
18184
750c1f2a
RM
18185 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18186 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18187 Macros removed.
18188 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18189 [!NO_THREADS].
18190 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18191 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18192 Likewise.
18193
2ae1ae5c
RM
18194 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18195 __libc_cleanup_push argument.
18196
e66a42f5
RM
18197 * bits/param.h: New file.
18198 * misc/sys/param.h: New file.
18199 * include/sys/param.h: New file.
18200 * misc/Makefile (headers): Add bits/param.h.
18201 * sysdeps/generic/sys/param.h: File removed.
18202 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18203 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18204 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 18205 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 18206
b7c08a66
RM
18207 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18208 last change.
18209
b2e1c562
RM
18210 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18211 [_IO_MTSAFE_IO].
18212 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18213 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18214 New macros.
18215
c75ccd4c
RM
18216 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18217 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18218 rather than -D_IO_MTSAFE_IO conditionally.
18219 * stdio-common/Makefile (CPPFLAGS): Likewise.
18220 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18221 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18222 Use $(libio-mtsafe).
18223 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18224 of -D_IO_MTSAFE_IO.
18225 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18226 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18227 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18228 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18229 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18230 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18231 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18232 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18233 (CFLAGS-fread_u_chk.c): Likewise.
18234 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18235 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18236 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18237 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18238 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18239 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18240 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18241 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18242 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18243
18244 * libio/Makefile: Test [$(libc-reentrant) = yes]
18245 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18246
18247 * Makeconfig
18248 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18249 * sysdeps/pthread/configure: File removed.
18250 * sysdeps/pthread/Makeconfig: New file.
18251 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18252 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18253
d9195db8
GB
182542012-08-16 Gary Benson <gbenson@redhat.com>
18255
18256 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18257 unmapping the first object in a namespace.
18258
86466cd9
RM
182592012-08-16 Roland McGrath <roland@hack.frob.com>
18260
18261 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18262 (__internal_setnetgrent): ... this. Add internal_function to
18263 definition. Add libc_hidden_def.
18264 (setnetgrent): Update caller.
18265 (internal_endnetgrent): Renamed to ...
18266 (__internal_endnetgrent): ... this. Add internal_function to
18267 definition. Add libc_hidden_def.
18268 (endnetgrent): Update caller.
18269 (internal_getnetgrent_r): Renamed to ...
18270 (__internal_getnetgrent_r): ... this. Add internal_function to
18271 definition. Add libc_hidden_def.
18272 (__getnetgrent_r): Update caller.
18273 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18274
c3c8283c
JM
182752012-08-16 Joseph Myers <joseph@codesourcery.com>
18276
18277 * stdlib/longlong.h: Update from GCC.
18278
db1ee0a8
RM
182792012-08-16 Roland McGrath <roland@hack.frob.com>
18280
18281 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18282 on _QL, which is set by umul_ppmm but never used.
18283 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18284 variables, which are set by GMP macros but never used.
18285 * stdio-common/_itowa.c (_itowa): Likewise.
18286 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18287 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18288
30f69637
CD
182892012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18290
18291 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18292 struct La_sh_regs is not constant.
18293 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18294 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18295 and struct La_sparc64_regs are not constant.
18296
93a78ac4
JM
182972012-08-16 Joseph Myers <joseph@codesourcery.com>
18298
18299 * sysdeps/unix/sysv/linux/kernel-features.h
18300 (__ASSUME_POSIX_TIMERS): Remove.
18301 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18302 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18303 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18304 Make code unconditional.
18305 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18306 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18307 Make code unconditional.
18308 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18309 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18310 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18311 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18312 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18313 Make code unconditional.
18314 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18315 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18316 (__libc_missing_posix_timers): Remove.
18317
dd924cd7
RM
183182012-08-15 Roland McGrath <roland@hack.frob.com>
18319
4b4f2771
RM
18320 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18321 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18322
601c888b
RM
18323 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18324
176790a7
RM
18325 * elf/dl-sym.c: Include <stdlib.h>.
18326
329bc018
RM
18327 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18328 constants, which avoids warnings in 32-bit builds.
18329
e04e272d
RM
18330 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18331 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18332
952bf94a
RM
18333 * misc/lseek.c: File moved to ...
18334 * io/lseek.c: ... here.
18335
7c99b50a
RM
18336 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18337
dd924cd7
RM
18338 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18339 shifting LEN more than 31 bits at once.
18340
b3f479a8
LD
183412012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18342
18343 [BZ #14195]
8c4ae0d4
RM
18344 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18345 segmentation fault for a case of two empty input strings.
b3f479a8
LD
18346 * string/test-strncasecmp.c (check1): Renamed to...
18347 (bz12205): ...this.
18348 (bz14195): Add new testcase for two empty input strings and N > 0.
18349 (test_main): Call new testcase, adapt for renamed function.
18350
9c55864e
AJ
183512012-08-15 Andreas Jaeger <aj@suse.de>
18352
18353 [BZ #14090]
18354 * crypt/md5test2.c: New test, based on test supplied by Serge
18355 Belyshev <belyshev@depni.sinp.msu.ru>.
18356 * crypt/Makefile (xtests): Add md5test-giant..
18357 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18358
02dcb6c5
PE
183592012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18360
18361 [BZ #14090]
18362 * crypt/md5.c (md5_process_block): Don't assume the buffer
18363 length is less than 2**32.
18364 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18365 length is less than 2**64.
18366
a3f95dcc
RM
183672012-08-15 Roland McGrath <roland@hack.frob.com>
18368
be75d758
RM
18369 * string/str-two-way.h: Include <sys/param.h>.
18370 (MAX): Macro removed.
18371
7312ca90
RM
18372 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18373 Move #define and #undef of memmove to just before and after
18374 including <string.h>.
18375
9a0a5486
RM
18376 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18377 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18378 and after including <string.h>. Move declarations of
18379 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18380 to before #include "string/memmove.c".
18381
67cc348d
RM
18382 * include/dirent.h: Declare __getdirentries.
18383
a3f95dcc
RM
18384 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18385 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18386
ca98e171
MF
183872012-08-14 Mike Frysinger <vapier@gentoo.org>
18388
18389 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18390 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18391 * sysdeps/i386/configure: Regenerated.
18392 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18393 STABS_CURRENT_FILE, and STABS_FUN.
18394 (END): Remove call to STABS_FUN_END.
18395 (STABS_CURRENT_FILE1): Delete.
18396 (STABS_CURRENT_FILE): Likewise.
18397 (STABS_FUN): Likewise.
18398 (STABS_FUN_END): Likewise.
18399 (STABS_FUN2): Likewise.
18400 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18401 * sysdeps/x86_64/configure: Regenerated.
18402
5908bf46
RM
184032012-08-14 Roland McGrath <roland@hack.frob.com>
18404
18405 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 18406 * elf/dl-lookup.c: Likewise.
5908bf46 18407
f2c05b9e
JM
184082012-08-14 Joseph Myers <joseph@codesourcery.com>
18409
18410 * sysdeps/unix/sysv/linux/kernel-features.h
18411 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18412 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18413 unconditionally.
18414 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18415 unconditionally.
18416 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18417 condition on __ASSUME_CLONE_THREAD_FLAGS.
18418
e11f5155
AJ
184192012-08-14 Andreas Jaeger <aj@suse.de>
18420
18421 * sysdeps/i386/fpu/libm-test-ulps: Update.
18422
51a9ba86
MK
184232012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18424
2fdd4f78
AJ
18425 * include/atomic.h (atomic_exchange_and_add): Split into ...
18426 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18427 New atomic macros.
51a9ba86 18428
ba6cba9e
MT
184292012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18430
18431 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18432
42443a47
JL
184332012-08-13 Jeff Law <law@redhat.com>
18434
18435 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18436 null byte in the output string.
18437
121dce05
JM
184382012-08-10 Joseph Myers <joseph@codesourcery.com>
18439
18440 * sysdeps/unix/sysv/linux/kernel-features.h
18441 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18442 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18443 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18444 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18445 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18446 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18447 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18448
bf51f568
JL
184492012-08-09 Jeff Law <law@redhat.com>
18450
18451 [BZ #13939]
18452 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18453 When avoid_arena is set, don't retry in the that arena. Pick the
18454 next one, whatever it might be.
18455 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18456 (arena_lock): Pass in new parameter to arena_get2.
18457 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18458 arena_get2.
18459 (__libc_malloc): Unify retrying after main arena failure with
18460 __libc_memalign version.
18461 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18462
f85fa270
L
184632012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18464
18465 [BZ #14166]
18466 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18467 to __redirect_strstr.
18468 (__strstr_sse42): Use typeof __redirect_strstr.
18469 (__strstr_ia32): Likewise.
18470 (__libc_strstr): New prototype.
18471 (strstr): Renamed to ...
18472 (__libc_strstr): This.
18473 (strstr): New strong alias of __libc_strstr.
18474 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18475 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18476 __redirect_time.
18477 Include <time.h>.
18478 (__libc_time): New prototype.
18479 (time_ifunc): Replace time with __libc_time.
18480 (time): New strong alias and hidden definition of __libc_time.
18481 (__GI_time): Remove strong alias.
18482 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18483 Include <stddef.h>.
18484 (memmove): Redefined to __redirect_memmove.
18485 (__memmove_sse2): Use typeof __redirect_memmove.
18486 (__memmove_ssse3): Likewise.
18487 (__memmove_ssse3_back): Likewise.
18488 (__libc_memmove): New prototype.
18489 (memmove): Renamed to ...
18490 (__libc_memmove): This.
18491 (memmove): New strong alias of __libc_memmove.
18492
33b4a91e
MS
184932012-08-08 Mark Salter <msalter@redhat.com>
18494
18495 * elf/elf.h
18496 (R_MN10300_TLS_GD): Define.
18497 (R_MN10300_TLS_LD): Likewise.
18498 (R_MN10300_TLS_LDO): Likewise.
18499 (R_MN10300_TLS_GOTIE): Likewise.
18500 (R_MN10300_TLS_IE): Likewise.
18501 (R_MN10300_TLS_LE): Likewise.
18502 (R_MN10300_TLS_DTPMOD): Likewise.
18503 (R_MN10300_TLS_DTPOFF): Likewise.
18504 (R_MN10300_TLS_TPOFF): Likewise.
18505 (R_MN10300_SYM_DIFF): Likewise.
18506 (R_MN10300_ALIGN): Likewise.
18507 (R_MN10300_NUM): Update.
18508
b36137f1
JM
185092012-08-08 Joseph Myers <joseph@codesourcery.com>
18510
18511 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18512 Remove.
18513
cdd915fd
RM
185142012-08-08 Roland McGrath <roland@hack.frob.com>
18515
a2433aac
RM
18516 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18517
cdd915fd
RM
18518 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18519 sysdeps/unix -> sysdeps/posix move.
18520 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18521
bf9b740a
AM
185222012-08-07 Allan McRae <allan@archlinux.org>
18523
18524 [BZ #14303]
18525 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18526 (SUNOS_CPP): Likewise.
18527 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18528 not found.
18529 (open_input): Call CPP using execvp.
18530
93df14ee
JM
185312012-08-07 Joseph Myers <joseph@codesourcery.com>
18532
18533 * sysdeps/unix/sysv/linux/kernel-features.h
18534 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18535 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18536 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18537 (__ASSUME_WAITID_SYSCALL): Likewise.
18538 * sysdeps/unix/sysv/linux/dl-execstack.c
18539 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18540 code unconditional.
18541 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18542 conditional code.
18543 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18544 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18545 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18546 code.
18547 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18548 unconditional.
18549 [__ASSUME_WAITID_SYSCALL]: Likewise.
18550 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18551
d34689de
RM
185522012-08-07 Roland McGrath <roland@hack.frob.com>
18553
a281decc
RM
18554 * sysdeps/unix/closedir.c: Renamed to ...
18555 * sysdeps/posix/closedir.c: ... here.
18556 * sysdeps/unix/dirfd.c: Renamed to ...
18557 * sysdeps/posix/dirfd.c: ... here.
18558 * sysdeps/unix/dirstream.h: Renamed to ...
18559 * sysdeps/posix/dirstream.h: ... here.
18560 * sysdeps/unix/fdopendir.c: Renamed to ...
18561 * sysdeps/posix/fdopendir.c: ... here.
18562 * sysdeps/unix/opendir.c: Renamed to ...
18563 * sysdeps/posix/opendir.c: ... here.
18564 * sysdeps/unix/readdir.c: Renamed to ...
18565 * sysdeps/posix/readdir.c: ... here.
18566 * sysdeps/unix/readdir_r.c: Renamed to ...
18567 * sysdeps/posix/readdir_r.c: ... here.
18568 * sysdeps/unix/rewinddir.c: Renamed to ...
18569 * sysdeps/posix/rewinddir.c: ... here.
18570 * sysdeps/unix/seekdir.c: Renamed to ...
18571 * sysdeps/posix/seekdir.c: ... here.
18572 * sysdeps/unix/telldir.c: Renamed to ...
18573 * sysdeps/posix/telldir.c: ... here.
18574 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18575 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18576 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18577 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18578
22895b47
RM
18579 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18580 * bits/fcntl.h: ... here.
18581
707a53b6
RM
18582 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18583 not 0.
18584 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18585 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18586 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18587 (struct flock): Move l_start, l_len to the beginning.
18588 Use __pid_t for l_pid.
18589 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18590 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18591 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18592 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18593 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18594 [__USE_LARGEFILE64] (struct flock64): New type.
18595 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18596
f0bd3e25
RM
18597 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18598 * bits/dirent.h: ... here.
18599
d34689de
RM
18600 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18601 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18602
6dad2c06
JM
186032012-08-07 Joseph Myers <joseph@codesourcery.com>
18604
18605 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18606 Change from 2.6.0 to 2.6.16.
18607 * sysdeps/unix/sysv/linux/configure: Regenerated.
18608 * sysdeps/unix/sysv/linux/kernel-features.h
18609 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18610 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18611 version.
18612 (__ASSUME_UTIMES): Likewise.
18613 (__ASSUME_CLONE_STOPPED): Remove.
18614 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18615 architectures, not kernel version.
18616 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18617 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18618 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18619 (__ASSUME_WAITID_SYSCALL): Likewise.
18620 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18621 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18622 * README: State 2.6.16 as minimum Linux kernel version. Do not
18623 refer to older versions.
18624
03af9520
RM
186252012-08-06 Roland McGrath <roland@hack.frob.com>
18626
8e49df1d
RM
18627 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18628 Define alphasort64 as an alias.
18629 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18630 Define versionsort64 as an alias.
18631 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18632 Define scandir64 as an alias.
18633 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18634 Define scandirat64 as an alias.
18635 * dirent/alphasort64.c (alphasort64):
18636 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18637 * dirent/versionsort64.c: Likewise.
18638 * dirent/scandir64.c: Likewise.
18639 * dirent/scandirat64.c: Likewise.
18640 * sysdeps/wordsize-64/alphasort.c: File removed.
18641 * sysdeps/wordsize-64/alphasort64.c: File removed.
18642 * sysdeps/wordsize-64/scandir.c: File removed.
18643 * sysdeps/wordsize-64/scandir64.c: File removed.
18644 * sysdeps/wordsize-64/scandirat.c: File removed.
18645 * sysdeps/wordsize-64/scandirat64.c: File removed.
18646 * sysdeps/wordsize-64/versionsort.c: File removed.
18647 * sysdeps/wordsize-64/versionsort64.c: File removed.
18648 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18649 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18650 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18651 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18652 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18653 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18654 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18655 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18656
18657 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18658 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18659 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18660 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18661 [defined __arch64__ || defined __sparcv9]
18662 (__INO_T_MATCHES_INO64_T): New macro.
18663 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18664 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18665 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18666 * sysdeps/unix/sysv/linux/bits/dirent.h
18667 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18668 (_DIRENT_MATCHES_DIRENT64): New macro.
18669
03af9520
RM
18670 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18671 Define lockf64 as an alias.
18672 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18673 Define fseeko64 as an alias.
18674 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18675 Define ftello64 as an alias.
18676 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18677 Define _IO_fgetpos64 and fgetpos64 as aliases.
18678 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18679 Define _IO_fsetpos64 and fsetpos64 as aliases.
18680 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18681 Conditionalize body on this.
18682 * libio/fseeko64.c: Likewise.
18683 * libio/ftello64.c: Likewise.
18684 * libio/iofgetpos64.c: Likewise.
18685 * libio/iofsetpos64.c: Likewise.
18686 * sysdeps/wordsize-64/lockf.c: File removed.
18687 * sysdeps/wordsize-64/lockf64.c: File removed.
18688 * sysdeps/wordsize-64/fseeko.c: File removed.
18689 * sysdeps/wordsize-64/fseeko64.c: File removed.
18690 * sysdeps/wordsize-64/ftello.c: File removed.
18691 * sysdeps/wordsize-64/ftello64.c: File removed.
18692 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18693 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18694 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18695 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18696 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18697 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18698 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18699 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18700 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18701 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18702 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18703 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18704 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18705 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18706
18707 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18708 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18709 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18710 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18711 [defined __arch64__ || defined __sparcv9]
18712 (__OFF_T_MATCHES_OFF64_T): New macro.
18713 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18714 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18715 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18716 (__OFF_T_MATCHES_OFF64_T): New macro.
18717
c5757acd
L
187182012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18719
18720 * stdlib/secure-getenv.c (__secure_getenv): Replace
18721 GLIBC_2_16 with GLIBC_2_17.
18722
3a31811e
L
187232012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18724
18725 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18726 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18727
faa2bccb
DM
187282012-08-03 David S. Miller <davem@davemloft.net>
18729
18730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18731
85fe1997
JM
187322012-08-03 Joseph Myers <joseph@codesourcery.com>
18733
18734 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18735 Remove.
18736 (__ASSUME_CORRECT_SI_PID): Likewise.
18737 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18738 (__ASSUME_TMPFS_NAME): Likewise.
18739 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18740 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18741 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18742 (HAVE_AUX_SECURE): Make definition unconditional.
18743 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18744 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18745
4f75b7a0
RM
187462012-08-03 Roland McGrath <roland@hack.frob.com>
18747
18748 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18749 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18750 * sysdeps/mach/hurd/eloop-threshold.h: New file.
18751 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18752 __eloop_threshold instead of SYMLOOP_MAX.
18753
18754 * sysdeps/generic/eloop-threshold.h: New file.
18755 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18756 of MAXSYMLINKS.
18757 * elf/chroot_canon.c (chroot_canon): Likewise.
18758
7aab07e4
JM
187592012-08-03 Joseph Myers <joseph@codesourcery.com>
18760
18761 [BZ #13717]
18762 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18763 Change to 2.6.0 everywhere.
18764 * sysdeps/unix/sysv/linux/configure: Regenerated.
18765 * sysdeps/unix/sysv/linux/kernel-features.h
18766 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18767 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18768 kernel versions.
18769 (__ASSUME_POSIX_TIMERS): Define unconditionally.
18770 (__ASSUME_FUTEX_REQUEUE): Remove.
18771 (__ASSUME_STATFS64): Define unconditionally.
18772 (__ASSUME_AT_SECURE): Likewise.
18773 (__ASSUME_CORRECT_SI_PID): Likewise.
18774 (__ASSUME_TGKILL): Define without depending on kernel version for
18775 i386.
18776 (__ASSUME_UTIMES): Likewise.
18777 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18778 kernel version.
18779 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18780 (__ASSUME_TMPFS_NAME): Likewise.
18781 * README: Update reference to Linux kernel versions.
18782
b67e9372
MP
187832012-08-02 Marek Polacek <polacek@redhat.com>
18784
1f529f7d 18785 [BZ# 14150]
b67e9372
MP
18786 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
18787 libc_cv_asm_type_prefix with %.
18788 * configure: Regenerated.
d2441631
RM
18789 * include/libc-symbols.h: Remove comment about
18790 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
18791 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18792 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18793 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18794 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18795 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18796 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18797 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18798 * elf/tst-unique2mod1.c: Likewise.
18799 * elf/tst-unique1mod2.c: Likewise.
18800 * elf/tst-unique1mod1.c: Likewise.
18801 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18802 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18803 Replace ASM_TYPE_DIRECTIVE with .type.
18804 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18805 * sysdeps/i386/sysdep.h: Likewise.
18806 * sysdeps/x86_64/sysdep.h: Likewise.
18807 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
18808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18809 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 18810 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
18811 * sysdeps/powerpc/powerpc32/sysdep.h:
18812 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
18813 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18814 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18815 * sysdeps/i386/fpu/e_powf.S: Likewise.
18816 * sysdeps/i386/fpu/e_expl.S: Likewise.
18817 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18818 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18819 * sysdeps/i386/fpu/e_pow.S: Likewise.
18820 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18821 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18822 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18823 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18824 * sysdeps/i386/fpu/e_log2.S: Likewise.
18825 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18826 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18827 * sysdeps/i386/fpu/e_powl.S: Likewise.
18828 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18829 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18830 * sysdeps/i386/fpu/e_logl.S: Likewise.
18831 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18832 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18833 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18834 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18835 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18836 * sysdeps/i386/fpu/e_log.S: Likewise.
18837 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18838 * sysdeps/i386/fpu/e_logf.S: Likewise.
18839 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18840 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18841 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18842 * sysdeps/i386/fpu/e_log10.S: Likewise.
18843 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18844 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18845 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18846 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18847 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18848 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18849 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18850 * sysdeps/i386/i686/strtok.S: Likewise.
18851 * sysdeps/i386/i386-mcount.S: Likewise.
18852 * sysdeps/i386/strtok.S: Likewise.
18853 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18854 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18855 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18856 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18857 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18858 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18859 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18860 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18861 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18862 * sysdeps/x86_64/_mcount.S: Likewise.
18863 * sysdeps/x86_64/strtok.S: Likewise.
18864 * sysdeps/sh/_mcount.S: Likewise.
18865
2747bf9a
RM
188662012-08-01 Roland McGrath <roland@hack.frob.com>
18867
18868 * libio/iofopen.c: Include <fcntl.h>.
18869 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18870 (_IO_fopen64, fopen64): Define as aliases.
18871 * libio/iofopen64.c: Include <fcntl.h>.
18872 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18873 Conditionalize body on this.
18874 * sysdeps/wordsize-64/iofopen.c: File removed.
18875 * sysdeps/wordsize-64/iofopen64.c: File removed.
18876
3fb791b8
MP
188772012-08-01 Marek Polacek <polacek@redhat.com>
18878
18879 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18880 Use dlfcn directly instead of a variable.
18881 (binfmt-subdir): Do not define.
18882 (dlfcn): Likewise.
18883
a9f1039f
JM
188842012-08-01 Joseph Myers <joseph@codesourcery.com>
18885
23bddc06
JM
18886 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18887 Remove all definitions.
18888 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18889 <kernel-features.h>.
18890 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18891 (miss_F_GETOWN_EX): Remove all definitions.
18892 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18893 macro definition.
18894 [!__ASSUME_FCNTL64]: Remove conditional code.
18895 [__ASSUME_FCNTL64]: Make code unconditional.
18896 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18897 <kernel-features.h>.
18898 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18899 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18900 (lockf64) [__NR_fcntl64]: Make code unconditional.
18901 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18902
a9f1039f
JM
18903 * sysdeps/unix/sysv/linux/kernel-features.h
18904 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18905 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18906 Make code unconditional.
18907 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18908 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18910 [__NR_vfork]: Make code unconditional.
18911 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18912 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18914 [__NR_vfork]: Make code unconditional.
18915 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18916 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18917
09c0ee5f
RM
189182012-08-01 Roland McGrath <roland@hack.frob.com>
18919
48aec5b9
RM
18920 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18921 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18922
cd97c966
RM
18923 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18924 Define mkstemp64 as an alias.
3f55550c
RM
18925 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18926 Define mkstemps64 as an alias.
cd97c966
RM
18927 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18928 Define mkostemp64 as an alias.
b8625cfc
RM
18929 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18930 Define mkostemps64 as an alias.
cd97c966
RM
18931 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18932 Conditionalize body on this.
18933 * misc/mkostemp64.c: Likewise.
b8625cfc 18934 * misc/mkostemps64.c: Likewise.
3f55550c 18935 * misc/mkstemps64.c: Likewise.
cd97c966
RM
18936 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18937 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18938 * sysdeps/wordsize-64/mkostemp.c: File removed.
18939 * sysdeps/wordsize-64/mkstemp.c: File removed.
18940 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18941 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18942 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18943 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18944
09c0ee5f
RM
18945 [BZ #14138]
18946 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18947 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18948 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18949 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18950
18951 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18952 compat_symbol macros from <shlib-compat.h> rather than the underlying
18953 default_symbol_version and symbol_version macros, so that DEFAULT
18954 lines in shlib-versions are respected.
18955 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18956
7e66ee51
FW
189572012-08-01 Florian Weimer <fweimer@redhat.com>
18958
18959 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18960 Declare with warn_unused_result.
18961 (setgid, setregid, setegid, setresgid): Likewise.
18962 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18963 Likewise.
18964 * WUR-REPORT: Remove set*id functions.
18965
d2a54255
PT
189662012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18967
18968 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18969
7ecdb005
RM
189702012-07-31 Roland McGrath <roland@hack.frob.com>
18971
b4180a5e 18972 [BZ #10191]
789bd351
RM
18973 * include/sys/socket.h (__libc_accept, __libc_accept4):
18974 Add attribute_hidden.
18975 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18976
40ce302d
RM
18977 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18978 use of PTR_MANGLE.
18979 * inet/getnetgrent_r.c (setup): Likewise.
18980
7ecdb005
RM
18981 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18982
e2eabb2c
DM
189832012-07-31 David S. Miller <davem@davemloft.net>
18984
18985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18986
d0419dbf
JM
189872012-07-31 Joseph Myers <joseph@codesourcery.com>
18988
18989 [BZ #13629]
18990 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18991 value between 1.0 and 2.0 and smaller part has absolute value less
18992 than 1.0.
18993 * math/s_clog10.c (__clog10): Likewise.
18994 * math/s_clog10f.c (__clog10f): Likewise.
18995 * math/s_clog10l.c (__clog10l): Likewise.
18996 * math/s_clogf.c (__clogf): Likewise.
18997 * math/s_clogl.c (__clogl): Likewise.
18998 * math/libm-test.inc (clog_test): Add more tests.
18999 (clog10_test): Likewise.
19000 * sysdeps/i386/fpu/libm-test-ulps: Update.
19001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19002
2bc13872
FW
190032012-07-31 Florian Weimer <fweimer@redhat.com>
19004
19005 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19006 Exit with zero in case no suitable GID is found, and write a
19007 message to standard error.
19008
bea9b193
RM
190092012-07-30 Roland McGrath <roland@hack.frob.com>
19010
19011 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19012 rather than to 1.
19013 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19014 (MAXPATHLEN): Removed.
19015 (NOGROUP, NODEV): New macros.
19016 (setbit, clrbit, isset, isclr): New macros.
19017 (howmany, roundup, powerof2): New macros.
19018 (DEV_BSIZE): New macro.
19019
19020 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19021 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19022
19023 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19024 definition on [!__NO_LONG_DOUBLE_MATH].
19025
19026 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19027 PTR_MANGLE and PTR_DEMANGLE.
19028
19029 * socket/accept4.c (accept4): Rename to __libc_accept4.
19030 Define accept4 as a weak alias.
19031
19032 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19033 on [_DIRENT_HAVE_D_TYPE].
19034 * io/ftw.c (ftw_dir): Likewise.
19035
19036 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19037
19038 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19039
19040 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19041 Use the BSD numbers rather than the arbitrary ones we had.
19042 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19043 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19044 (SIGXCPU, SIGXFSZ): New macros.
19045 (_NSIG): Now 32.
19046
19047 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19048 initializer on [_LIBC_REENTRANT].
19049
19050 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19051 definitions inside [_POSIX_MAPPED_FILES].
19052
19053 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19054
19055 * dirent/opendir.c: Include <fcntl.h>.
19056
19057 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19058 (__libc_getspecific): Likewise.
19059 (__libc_key_create): Likewise.
19060
19061 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19062 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19063 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19064 (tmpfile64): Define as alias.
19065 * sysdeps/wordsize-64/tmpfile.c: File removed.
19066 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19067 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19068 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19069
19070 * stdio-common/vfscanf.c: Include <stdbool.h>.
19071 * nss/makedb.c: Likewise.
19072 * stdio-common/_i18n_number.h: Likewise.
19073 * argp/argp-help.c: Likewise.
19074 * posix/wordexp.c: Likewise.
19075 * sysdeps/posix/spawni.c: Likewise.
19076 * nss/nss_files/files-initgroups.c: Likewise.
19077 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19078 * nss/nss_files/files-initgroups.c: Likewise.
19079 * nss/nss_db/db-netgrp.c: Likewise.
19080 * nss/nss_db/db-initgroups.c: Likewise.
19081 * io/fchmodat.c: Include <sys/stat.h>.
19082
19083 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19084 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19085
19086 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19087 [HAVE_MMAP].
19088
19089 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19090 Add multiple inclusion protection.
19091
e5abc686
DM
190922012-07-27 David S. Miller <davem@davemloft.net>
19093
19094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19095
815e6fa3
GB
190962012-07-27 Gary Benson <gbenson@redhat.com>
19097
19098 [BZ #14298]
19099 * elf/rtld.c: Include <stap-probe.h>.
19100 (dl_main): Added static probes "init_start" and "init_complete".
19101 * elf/dl-load.c: Include <stap-probe.h>.
19102 (lose): Take new parameter "nsid".
19103 Added static probe "map_failed".
19104 (_dl_map_object_from_fd): Pass namespace id to lose.
19105 Added static probe "map_start".
19106 (open_verify): Pass namespace id to lose.
19107 * elf/dl-open.c: Include <stap-probe.h>.
19108 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19109 and "reloc_complete".
19110 * elf/dl-close.c: Include <stap-probe.h>.
19111 (_dl_close_worker): Added static probes "unmap_start" and
19112 "unmap_complete".
19113 * elf/rtld-debugger-interface.txt: New file documenting the above.
19114
9f98c16c
RM
191152012-07-26 Roland McGrath <roland@hack.frob.com>
19116
19117 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19118 rather than a string variable.
19119 * sunrpc/rpc_main.c (h_output): Likewise.
19120 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19121
f3c22df3
PT
191222012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19123
19124 * inet/check_native.c: New file.
19125
3129cfc6
JM
191262012-07-26 Joseph Myers <joseph@codesourcery.com>
19127
da865e95
JM
19128 [BZ #13629]
19129 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19130 if larger part has absolute value 1.0.
19131 * math/s_clog10.c (__clog10): Likewise.
19132 * math/s_clog10f.c (__clog10f): Likewise.
19133 * math/s_clog10l.c (__clog10l): Likewise.
19134 * math/s_clogf.c (__clogf): Likewise.
19135 * math/s_clogl.c (__clogl): Likewise.
19136 * math/libm-test.inc (clog_test): Add more tests.
19137 (clog10_test): Likewise.
19138 * sysdeps/i386/fpu/libm-test-ulps: Update.
19139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19140
3129cfc6
JM
19141 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19142 (pltexit): Likewise.
19143 (La_regs): Likewise.
19144 (La_retval): Likewise.
19145 (int_retval): Likewise.
19146 Update #error for removed macros to refer only to definitions in
19147 tst-audit.h.
19148 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19149 macro.
19150 (pltexit): Likewise.
19151 (La_regs): Likewise.
19152 (La_retval): Likewise.
19153 (int_retval): Likewise.
19154 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19155 macro.
19156 (pltexit): Likewise.
19157 (La_regs): Likewise.
19158 (La_retval): Likewise.
19159 (int_retval): Likewise.
19160 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19161 macro.
19162 (pltexit): Likewise.
19163 (La_regs): Likewise.
19164 (La_retval): Likewise.
19165 (int_retval): Likewise.
19166 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19167 macro.
19168 (pltexit): Likewise.
19169 (La_regs): Likewise.
19170 (La_retval): Likewise.
19171 (int_retval): Likewise.
19172 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19173 macro.
19174 (pltexit): Likewise.
19175 (La_regs): Likewise.
19176 (La_retval): Likewise.
19177 (int_retval): Likewise.
19178 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19179 macro.
19180 (pltexit): Likewise.
19181 (La_regs): Likewise.
19182 (La_retval): Likewise.
19183 (int_retval): Likewise.
19184 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19185 macro definitions in tst-audit.h.
19186 * sysdeps/i386/tst-audit.h: New file.
19187 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19188 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19189 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19190 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19191 * sysdeps/sh/tst-audit.h: Likewise.
19192 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19193 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19194 * sysdeps/x86_64/tst-audit.h: Likewise.
19195
bfc07087
AJ
191962012-07-26 Andreas Jaeger <aj@suse.de>
19197
b1b2aaf8
AJ
19198 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19199 ptrace.
19200
19201 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19202 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19203 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19204 PTRACE_O_MASK.
19205 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19206 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19207 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19208
bfc07087
AJ
19209 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19210 value.
19211
19212 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19213 _sigsys.
19214 (si_call_addr, si_syscall, si_arch): Define new macro.
19215 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19216 _sigsys.
19217 (si_call_addr, si_syscall, si_arch): Define new marcro.
19218 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19219 _sigsys.
19220 (si_call_addr, si_syscall, si_arch): Define new macro.
19221 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19222 _sigsys.
19223 (si_call_addr, si_syscall, si_arch): Define new macro.
19224
89b4b02f
JM
192252012-07-25 Joseph Myers <joseph@codesourcery.com>
19226
19227 [BZ #13717]
19228 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19229 Change to 2.4.21 where previously 2.4.1.
19230 * sysdeps/unix/sysv/linux/configure: Regenerated.
19231 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19232 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19233 Linux kernel version.
19234 (__ASSUME_STD_AUXV): Remove.
19235 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19236 kernel version.
19237 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19238 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19239 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19240 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19241 (__ASSUME_NETLINK_SUPPORT): Likewise.
19242 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19243 (__no_netlink_support): Remove conditional definition.
19244 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19245 Remove.
19246 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19247 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19248 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19249 (if_nameindex_ioctl): Remove.
19250 (if_nameindex_netlink): Do not handle __no_netlink_support.
19251 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19252 code.
19253 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19254 Remove conditional code.
19255 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19256 code.
19257 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19258 unconditional.
19259 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19260 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19261 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19262 Remove.
19263 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19264 [!__ASSUME_STD_AUXV]: Remove conditional code.
19265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19266 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19267 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19269 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19270 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19271 code.
19272 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19274 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19275 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19276 conditional code.
19277 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19279 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19280 code.
19281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19282 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19283 conditional code.
19284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19285 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19286 code unconditional.
19287 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19288 conditional code.
19289 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19290 unconditional.
19291 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19292 conditional code.
19293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19294 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19295 unconditional.
19296 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19297 conditional code.
19298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19299 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19300 code unconditional.
19301 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19302 conditional code.
19303 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19304 unconditional.
19305 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19306 conditional code.
19307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19308 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19309 code unconditional.
19310 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19311 conditional code.
19312 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19313 unconditional.
19314 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19315 conditional code.
19316
842a39cd
AS
193172012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19318
19319 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19320 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19321 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19322 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19323 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19324 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19325 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19326 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19327 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19328 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19329 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19330 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19331 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19332 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19333 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19334 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19335 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19336 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19337 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19338 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19339 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19340 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19341 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19342
84b3fd84
FW
193432012-07-25 Florian Weimer <fweimer@redhat.com>
19344
19345 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
19346 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19347 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19348 Introduce __libc_secure_getenv.
0c7936d5
FW
19349 * stdlib/Versions (2.17): Add secure_getenv
19350 (GLIBC_PRIVATE): Add __libc_secure_getenv.
19351 * stdlib/secure-getenv.c: Rename __secure_getenv to
19352 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19353 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
19354 * stdlib/tst-secure-getenv.c: New.
19355 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
19356 * manual/startup.texi (Environment Access): Document
19357 secure_getenv.
84b3fd84
FW
19358 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19359 __libc_secure_getenv.
19360 * inet/ruserpass.c (ruserpass): Likewise.
19361 * malloc/mtrace.c (mtrace): Likewise.
19362 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 19363 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
19364 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19365 * sysdeps/posix/tempname.c: Likewise. Evaluate
19366 HAVE_SECURE_GETENV.
19367 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 19368 __secure_getenv to __libc_secure_getenv.
84b3fd84 19369 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
19370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19371 Likewise.
19372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19373 Likewise.
19374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19376 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 19381
56e49b71
JM
193822012-07-25 Joseph Myers <joseph@codesourcery.com>
19383
19384 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19385 (struct La_i86_retval): Likewise.
19386 (struct La_x86_64_regs): Likewise.
19387 (struct La_x86_64_retval): Likewise.
19388 (struct La_x32_regs): Likewise.
19389 (struct La_x32_retval): Likewise.
19390 (struct La_ppc32_regs): Likewise.
19391 (struct La_ppc32_retval): Likewise.
19392 (struct La_ppc64_regs): Likewise.
19393 (struct La_ppc64_retval): Likewise.
19394 (struct La_sh_regs): Likewise.
19395 (struct La_sh_retval): Likewise.
19396 (struct La_s390_32_regs): Likewise.
19397 (struct La_s390_32_retval): Likewise.
19398 (struct La_s390_64_regs): Likewise.
19399 (struct La_s390_64_retval): Likewise.
19400 (struct La_sparc32_regs): Likewise.
19401 (struct La_sparc32_retval): Likewise.
19402 (struct La_sparc64_regs): Likewise.
19403 (struct La_sparc64_retval): Likewise.
19404 (struct audit_ifaces): Remove architecture-specific pltenter and
19405 pltexit members.
19406 * sysdeps/i386/ldsodefs.h: New file.
19407 * sysdeps/powerpc/ldsodefs.h: Likewise.
19408 * sysdeps/s390/ldsodefs.h: Likewise.
19409 * sysdeps/sh/ldsodefs.h: Likewise.
19410 * sysdeps/sparc/ldsodefs.h: Likewise.
19411 * sysdeps/x86_64/ldsodefs.h: Likewise.
19412
354691b7
MP
194132012-07-25 Marek Polacek <polacek@redhat.com>
19414
19415 [BZ #6808]
19416 * math/libm-test.inc (yn_test): Add another test.
19417 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19418 to ERANGE when the result is +-Inf.
19419 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19420 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19421 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19422 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19423
bf9e2071
JM
194242012-07-24 Joseph Myers <joseph@codesourcery.com>
19425
19426 * conform/data/time.h-data (NULL): Use macro-constant. Require
19427 equal to 0.
19428 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19429 clock_t.
19430 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19431
57633811
TS
194322012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19433
19434 * configure.in <sysdeps resolving>: Correct printing
19435 Implies_before.
19436 * configure: Regenerate.
19437
c23c33b0
TS
194382012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19439
19440 * math/w_ilogb.c: Include <limits.h>.
19441 * math/w_ilogbl.c: Likewise.
19442
b5982523
JM
194432012-07-20 Joseph Myers <joseph@codesourcery.com>
19444
19445 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19446 va_copy. Document allowing for unavailable va_copy only as
19447 pre-C99 compatibility.
19448 * manual/string.texi (Copying and Concatenation): Use va_copy
19449 instead of __va_copy in concat example.
19450
ac4ea442
PT
194512012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19452
19453 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19454 (__sendto): Use create_address_port. Initialize APORT and deallocate
19455 it if not null.
19456
f98eafbd
PT
19457 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19458 with O_NOLINK passed to __file_name_lookup.
19459
898c7aab
PT
19460 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19461 with O_NOLINK passed to __file_name_lookup.
19462
0ced335a
PT
19463 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19464 negative N or less than NGIDS.
19465
b3404dbd
PT
19466 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19467 type to string_t. Set ERANGE as errno and return it if NAME is not big
19468 enough. Use memcpy instead of strncpy.
19469
0f48659e
JM
194702012-07-20 Joseph Myers <joseph@codesourcery.com>
19471
19472 * elf/Makefile (check-data): Remove.
19473 (localplt.data): New vpath directive.
19474 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19475 instead of $(check-data).
19476 * scripts/data/localplt-generic.data: Move to ...
19477 * sysdeps/generic/localplt.data: ... here.
19478 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19479 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19480 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19482 ... here.
19483 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19485 ... here.
19486 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19488 ... here.
19489 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19491 ... here.
19492 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19494 ... here.
19495 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19497 ... here.
19498
d37cbdaa
AZ
194992012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19500
19501 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19502 PPC32 and PPC64 files.
19503 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19504 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19505
46f85fc2
AK
195062012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19507
19508 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19509 __makecontext_ret to ...
19510 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19511 ... here and call exit if uc_link is NULL. New file.
19512 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19513 __makecontext_ret.S.
19514 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19515 __makecontext_ret to ...
19516 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19517 ... here and call exit if uc_link is NULL. New file.
19518 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19519 __makecontext_ret.S.
19520
08f43f9b
AK
195212012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19522
19523 * elf/elf.h (R_390_IRELATIVE): New definition.
19524 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19525 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19526 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19527 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19528 (elf_machine_lazy_rel): Likewise.
19529 * sysdeps/s390/dl-irel.h: New file.
19530 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19531 * sysdeps/s390/s390-64/memset.S: New asm code.
19532 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19533 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19534 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19535 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19536 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19537 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19538 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19539 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19540 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19541 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19542 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19543 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19544 * sysdeps/s390/s390-32/memset.S: New asm code.
19545 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19546
3b05db33
MP
195472012-07-17 Marek Polacek <polacek@redhat.com>
19548
19549 [BZ #14349]
19550 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19551 * sysdeps/s390/s390-64/configure.in: Likewise.
19552 * sysdeps/sparc/configure.in: Likewise.
19553 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19554 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19555 * sysdeps/i386/configure.in: Likewise.
19556 * sysdeps/x86_64/configure.in: Likewise.
19557 * sysdeps/sh/configure.in: Likewise.
19558 * sysdeps/s390/s390-32/configure: Regenerated.
19559 * sysdeps/s390/s390-64/configure: Likewise.
19560 * sysdeps/x86_64/configure: Likewise.
19561 * sysdeps/sh/configure: Likewise.
19562 * sysdeps/powerpc/powerpc64/configure: Likewise.
19563 * sysdeps/powerpc/powerpc32/configure: Likewise.
19564 * sysdeps/sparc/configure: Likwise.
19565 * sysdeps/i386/configure: Likewise.
19566
a66877c6
MP
19567 * elf/dl-open.c: Comment fixes.
19568
cfc82fd8
JM
195692012-07-17 Joseph Myers <joseph@codesourcery.com>
19570
bd29910a
JM
19571 * Makefile [CXX] (check-data): Remove.
19572 [CXX] (c++-types.data): New vpath directive.
19573 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19574 vpath. Do not allow for C++ type data being missing.
19575 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19576 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19577 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19578 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19579 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19580 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19581 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19583 ... here.
19584 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19586 ... here.
19587 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19589 ... here.
19590 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19592 ... here.
19593 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19595 ... here.
19596 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19598 ... here.
19599 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19600 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19601 ... here.
19602 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19604
cfc82fd8
JM
19605 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19606 definitions to architecture-specific files.
19607 (TLS_IE): Likewise.
19608 (TLS_LD): Likewise.
19609 (TLS_GD): Likewise.
19610 * sysdeps/i386/tls-macros.h: New file.
19611 * sysdeps/powerpc/tls-macros.h: Likewise.
19612 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19613 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19614 * sysdeps/sh/tls-macros.h: Likewise.
19615 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19616 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19617 * sysdeps/x86_64/tls-macros.h: Likewise.
19618
f7db3170
TS
196192012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19620
07cbfc23
TS
19621 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19622 zero value for regular exit case.
19623
f7db3170
TS
19624 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19625 (__start_context): Preserve zero value for regular exit case.
19626
dc97c227
TS
196272012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19628 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19629
19630 * manual/setjmp.texi (setcontext): Clarify normal process
19631 termination when uc_link is the null pointer.
19632 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19633 exit call.
19634
d0cd7d02
AS
196352012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19636
19637 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19638 preprocessor. Test for each exception mask separately.
19639
dd318934
AJ
196402012-07-16 Andreas Jaeger <aj@suse.de>
19641
19642 * po/ru.po: Update from translation team.
19643
8048311a
JM
196442012-07-15 Joseph Myers <joseph@codesourcery.com>
19645
19646 * conform/data/string.h-data (NULL): Use macro-constant. Require
19647 equal to 0.
19648 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19649 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19650 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19651 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19652 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19653
b637d46e
AJ
196542012-07-13 Andreas Jaeger <aj@suse.de>
19655
19656 * po/fr.po: Update from translation team.
19657
541428fe
MP
196582012-07-12 Marek Polacek <polacek@redhat.com>
19659
19660 [BZ #14173]
19661 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19662 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19663 loop condition.
19664
ec332e94
JM
196652012-07-12 Joseph Myers <joseph@codesourcery.com>
19666
19667 [BZ #13717]
19668 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19669 Change to 2.4.1 where previously 2.4.0.
19670 * sysdeps/unix/sysv/linux/configure: Regenerated.
19671 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19672 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19673 version.
19674 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19675 (__ASSUME_AT_CLKTCK): Remove.
19676 (__ASSUME_AT_PAGESIZE): Likewise.
19677 (__ASSUME_AT_XID): Likewise.
19678 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19679 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19680 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19681 unconditionally.
19682 (HAVE_AUX_PAGESIZE): Likewise.
19683 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19684 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19685 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19686
7b6e99be
JB
196872012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19688
19689 [BZ #14307]
19690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19691 the temporary buffer used to invoke __gethostbyname2_r,
19692 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19693 host_data / struct gaih_addrtuple.
19694 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19695 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19696 header file nss/nsswitch.h.
19697 * nss/nsswitch.h (global scope): Add definition of implementation
19698 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19699 resolv/nss_dns/dns-host.c).
19700
608404eb
AJ
197012012-07-11 Andreas Jaeger <aj@suse.de>
19702
19703 * po/fr.po: Update from translation team.
19704
71220aca
AJ
19705 * po/sv.po: Update from translation team
19706 * po/fr.po: Another update from translation team.
19707
28cfe843
AZ
197082012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19709
19710 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19711 for subnormals or multiply small sinh result by itself.
19712 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19714
6b90f981
DM
197152012-07-11 David S. Miller <davem@davemloft.net>
19716
19717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19718
c6825772
AS
197192012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19720
19721 [BZ #14347]
19722 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19723 (INTERNAL_MARK): Shift it here.
19724
7b8e0d49
MP
197252012-07-10 Marek Polacek <polacek@redhat.com>
19726
19727 [BZ #14151]
19728 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19729 libc_cv_asm_global_directive with .globl.
19730 * configure: Regenerated.
19731 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19732 with .globl.
19733 * sysdeps/i386/configure: Regenerated.
19734 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19735 with .globl.
19736 * sysdeps/x86_64/configure: Regenerated.
19737 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19738 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19739 * elf/tst-unique2mod2.c: Likewise.
19740 * elf/tst-unique2mod1.c: Likewise.
19741 * elf/tst-unique1mod2.c: Likewise.
19742 * elf/tst-unique1mod1.c: Likewise.
19743 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19744 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19745 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19746 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19747 * sysdeps/mach/sysdep.h: Likewise.
19748 * sysdeps/i386/sysdep.h: Likewise.
19749 * sysdeps/i386/i386-mcount.S: Likewise.
19750 * sysdeps/x86_64/_mcount.S: Likewise.
19751 * sysdeps/x86_64/sysdep.h: Likewise.
19752 * sysdeps/sh/_mcount.S: Likewise.
19753 * sysdeps/sh/sysdep.h: Likewise.
19754 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19755 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19756 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19757 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19758 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19759 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19760 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19761 * locale/localeinfo.h: Likewise.
19762 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19763 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19764
6c55cda3
RM
197652012-07-09 Roland McGrath <roland@hack.frob.com>
19766
19767 [BZ #14336]
19768 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19769 system".
19770 * manual/message.texi (The Uniforum approach): Likewise.
19771 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19772 (glibc iconv Implementation): Likewise.
19773
638a572e
JM
197742012-07-09 Joseph Myers <joseph@codesourcery.com>
19775
19776 [BZ #14337]
19777 * math/s_clog.c (__clog): Avoid scaling a value down where that
19778 could result in underflow.
19779 * math/s_clog10.c (__clog10): Likewise.
19780 * math/s_clog10f.c (__clog10f): Likewise.
19781 * math/s_clog10l.c (__clog10l): Likewise.
19782 * math/s_clogf.c (__clogf): Likewise.
19783 * math/s_clogl.c (__clogl): Likewise.
19784 * math/libm-test.inc (clog_test): Add more tests.
19785 (clog10_test): Likewise.
19786 * sysdeps/i386/fpu/libm-test-ulps: Update.
19787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19788
261f4859
AS
197892012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19790
0abaf3e4
AS
19791 [BZ #14283]
19792 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19793 by 7 not 8 to examine high bit of fractional part.
19794
261f4859
AS
19795 [BZ #14042]
19796 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19797 for call to __mcount_internal.
19798 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19799 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19800 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19801
f17ac40d
JM
198022012-07-06 Joseph Myers <joseph@codesourcery.com>
19803
9ad63c23
JM
19804 [BZ #14154]
19805 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19806 approximation for values within 0x1p-13f of an odd multiple of
19807 pi/4.
19808 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19809 exception. Add more tests.
19810 * sysdeps/i386/fpu/libm-test-ulps: Update.
19811
f17ac40d
JM
19812 [BZ #6778]
19813 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19814 inputs and return -1 for them. Do not check for +Inf in case not
19815 reachable for +Inf.
19816 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19817 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19818 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19819 and return -1 for them. Do not check for +Inf in case not
19820 reachable for +Inf.
19821 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19822 define.
19823 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19824 and return -1 for them. Do not check for +Inf in case not
19825 reachable for +Inf.
19826 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19827 spurious underflow.
19828 * sysdeps/i386/fpu/libm-test-ulps: Update.
19829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19830
fb21f89b
MF
198312012-07-06 Mike Frysinger <vapier@gentoo.org>
19832
19833 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19834
cdfe2c5e
JM
198352012-07-05 Joseph Myers <joseph@codesourcery.com>
19836
19837 [BZ #14157]
19838 [BZ #14331]
19839 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19840 could result in spurious underflow. Scale down values above
19841 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19842 * math/s_csqrtf.c (__csqrtf): Likewise.
19843 * math/s_csqrtl.c (__csqrtl): Likewise.
19844 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19845 spurious underflow.
19846 * sysdeps/i386/fpu/libm-test-ulps: Update.
19847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19848
70d35b67
AS
198492012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19850
704bc459
AS
19851 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19852 xopen-msg.sed.
19853 * catgets/xopen-msg.awk: New file.
19854 * catgets/xopen-msg.sed: Removed.
19855
70d35b67
AS
19856 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19857 po2text.sed.
19858 * intl/po2test.awk: New file.
19859 * intl/po2test.sed: Removed.
19860
ca61cf32
JM
198612012-07-04 Joseph Myers <joseph@codesourcery.com>
19862
19863 [BZ #14328]
19864 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19865 or multiply small sinh result by itself.
19866 * math/s_ctanf.c (__ctanf): Likewise.
19867 * math/s_ctanh.c (__ctanh): Likewise.
19868 * math/s_ctanhf.c (__ctanhf): Likewise.
19869 * math/s_ctanhl.c (__ctanhl): Likewise.
19870 * math/s_ctanl.c (__ctanl): Likewise.
19871 * math/libm-test.inc (ctan_test_tonearest): New function.
19872 (ctan_test_towardzero): Likewise.
19873 (ctan_test_downward): Likewise.
19874 (ctan_test_upward): Likewise.
19875 (ctanh_test_tonearest): Likewise.
19876 (ctanh_test_towardzero): Likewise.
19877 (ctanh_test_downward): Likewise.
19878 (ctanh_test_upward): Likewise.
19879 (main): Call these new functions.
19880 * sysdeps/i386/fpu/libm-test-ulps: Update.
19881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19882
ca48a46a
MF
198832012-07-03 Mike Frysinger <vapier@gentoo.org>
19884
19885 * .gitignore: Delete /ports entry.
19886
9d63d37d
AJ
198872012-07-03 Andreas Jaeger <aj@suse.de>
19888
19889 * po/bg.po: Update from translation team.
19890 * po/cs.po: Likewise.
19891 * po/de.po: Likewise.
19892 * po/hr.po: Likewise.
19893 * po/nl.pl: Likewise.
19894 * po/pl.po: Likewise.
19895 * po/vi.po: Likewise.
19896
370ca3d2
JM
198972012-07-03 Joseph Myers <joseph@codesourcery.com>
19898
95f5a9a8
JM
19899 * Makeconfig [!+link] (+link-before-libc): New variable.
19900 [!+link] (+link-after-libc): Likewise.
19901 [!+link] (+link-tests): Likewise.
19902 [!+link] (+link): Define in terms of $(+link-before-libc) and
19903 $(+link-after-libc).
19904 [!+link-static] (+link-static-before-libc): New variable.
19905 [!+link-static] (+link-static-after-libc): Likewise.
19906 [!+link-static] (+link-static-tests): Likewise.
19907 [!+link-static] (+link-static): Define in terms of
19908 $(+link-static-before-libc) and $(+link-static-after-libc).
19909 [build-shared] (link-libc-before-gnulib): New variable.
19910 [build-shared] (link-libc-tests): Likewise.
19911 [build-shared] (link-libc): Define in terms of
19912 $(link-libc-before-gnulib).
19913 [!build-shared] (link-libc-tests): New variable.
19914 (link-libc-static-tests): New variable.
19915 [!gnulib] (gnulib-arch): New variable.
19916 [!gnulib] (gnulib-tests): Likewise.
19917 [!gnulib] (static-gnulib-arch): Likewise.
19918 [!gnulib] (static-gnulib-tests): Likewise.
19919 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19920 Define with "=" instead of ":=".
19921 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19922 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19923 * Rules (binaries-all-notests): New variable.
19924 (binaries-all-tests): Likewise.
19925 (binaries-static-notests): Likewise.
19926 (binaries-static-tests): Likewise.
19927 (binaries-all): Define using $(binaries-all-notests) and
19928 $(binaries-all-tests).
19929 (binaries-static): Define using $(binaries-static-notests) and
19930 $(binaries-static-tests).
19931 (binaries-shared-tests): New variable.
19932 (binaries-shared-notests): Likewise.
19933 (binaries-shared): Remove variable.
19934 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19935 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19936 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19937 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19938 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19939 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19940 * elf/Makefile (sln-modules): New variable.
19941 (extra-objs): Add $(sln-modules:=.o).
19942 (ldconfig-modules): Add static-stubs.
19943 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19944 * elf/static-stubs.c: New file.
19945
7a845b2c
JM
19946 [BZ #14283]
19947 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19948 by 7 not 8 to examine high bit of fractional part. Use volatile
19949 variables when splitting into final array of floats if
19950 __FLT_EVAL_METHOD__ != 0.
19951 * math/libm-test.inc (cos_test): Add another test.
19952 (sin_test): Likewise.
19953 * sysdeps/i386/fpu/libm-test-ulps: Update.
19954
e2283f38
JM
19955 [BZ #14273]
19956 * math/libm-test.inc (cosh_test): Add more tests.
19957
370ca3d2
JM
19958 * version.h (RELEASE): Set to "development".
19959 (VERSION): Set to "2.16.90".
19960
ee9247c3
CD
199612012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19962
19963 * NEWS: Update copyright. Remove last-updated date.
19964 Mention math library bug fixes and timezone data changes.
19965 * README: Mention GNU/Hurd, x32, and HPPA support status.
19966
4648c381
TS
199672012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19968
19969 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19970
aac78a43
AJ
199712012-06-27 Andreas Jaeger <aj@suse.de>
19972
19973 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19974
ed3dbfad
AJ
199752012-06-25 Andreas Jaeger <aj@suse.de>
19976
19977 * sysdeps/s390/fpu/libm-test-ulps: Update.
19978
4d0ee855
AS
199792012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19980 Thomas Schwinge <thomas@codesourcery.com>
19981
19982 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19983 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19984 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19985 fanotify_mark.
19986
af1bce34
TS
199872012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19988
a9fa33ba
TS
19989 * sysdeps/mach/start.c: Remove file.
19990 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19991 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19992 * sysdeps/sh/init-first.c: Likewise.
19993
58f902b8
TS
19994 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19995 registers for frame unwinding purposes, add CFI directives.
19996 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19997 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19998 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19999 Likewise.
20000
1518f58b
TS
20001 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20002 __fortify_fail returning.
20003 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20004
db9b5059
TS
20005 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20006 sysdeps/sh/____longjmp_chk.S.
20007 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20008 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20009 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20010 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20011
967705fe
TS
20012 * sysdeps/sh/abort-instr.h: New file.
20013 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20014 process in case exit returns.
20015
a9def8c4
TS
20016 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20017 initialize the GOT register before use.
20018
2a649725
TS
20019 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20020 calculation of ARGC > 4.
20021
af1bce34
TS
20022 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20023 meaningful names to some local labels.
20024
d230f50a
KK
200252012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20026 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20027
20028 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20029 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20030 (__arch_compare_and_exchange_val_16_acq): Likewise.
20031 (__arch_compare_and_exchange_val_32_acq): Likewise.
20032 (atomic_exchange_and_add): Fix gUSA sequence.
20033 (atomic_add): Likewise.
20034 (atomic_add_negative): Likewise.
20035 (atomic_add_zero): Likewise.
20036 (atomic_bit_test_set): Likewise.
20037
0479b305
AS
200382012-06-22 Andreas Schwab <schwab@redhat.com>
20039
20040 [BZ #13579]
20041 * include/link.h (struct link_map): Add l_free_initfini.
20042 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20043 l_initfini.
20044 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20045 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20046 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20047 set.
20048
0e3933b9
CD
200492012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20050
20051 * configure.in: Use AC_LANG_SOURCE.
20052 * configure: Regenerate.
20053
4248b1b1
RM
200542012-06-22 Roland McGrath <roland@hack.frob.com>
20055
20056 * configure.in (libc_cv_localstatedir): New substituted variable.
20057 * configure: Regenerated.
20058 * config.make.in (localstatedir): New variable, substituted from
20059 libc_cv_localstatedir.
20060 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20061 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20062 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20063 * sysdeps/gnu/configure: Regenerated.
20064
006dd861
JL
200652012-06-21 Jeff Law <law@redhat.com>
20066
20067 [BZ #14277]
20068 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20069 free. Simplify list management for _LIBC case.
20070
79662d42
JM
200712012-06-21 Joseph Myers <joseph@codesourcery.com>
20072
b7abb4bf
JM
20073 [BZ #14273]
20074 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20075 Clear sign bit of 64-bit integer value before comparing against
20076 overflow value.
20077
79662d42
JM
20078 * sysdeps/mach/configure: Regenerated.
20079
1f150908
L
200802012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20081
20082 [BZ #14278]
20083 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20084
28363bbf
JL
200852012-06-21 Jeff Law <law@redhat.com>
20086
20087 [BZ #13882]
20088 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20089 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 20090 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
20091 * elf/dl-open.c (dl_open_worker): Likewise.
20092
09615db4
CD
200932012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20094
20095 * scripts/list-sources.sh: Scan PORTS for translations.
20096 * po/libc.pot: Regenerated.
20097
2174c6dd
AJ
200982012-06-21 Andreas Jaeger <aj@suse.de>
20099
20100 [BZ #12194]
20101 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20102 warning.
20103 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20104 * bits/byteswap-16.h (__bswap_16): Likewise.
20105 * bits/byteswap.h (__bswap_constant_16): Likewise.
20106
3ee947b1
L
201072012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20108
20109 [BZ #14117]
a2f34833
L
20110 * sysdeps/i386/fpu_control.h: Removed.
20111 * sysdeps/x86_64/fpu_control.h: Moved to ...
20112 * sysdeps/x86/fpu_control.h: Here.
20113
3ee947b1
L
20114 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20115 (_FPU_SETCW): Likewise.
20116
ed1825f8
L
201172012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20118
25f1282a
L
20119 [BZ #14117]
20120 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20121 * sysdeps/x86/fpu/bits/mathinline.h: This.
20122 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20123
ed1825f8
L
20124 [BZ #14050]
20125 [BZ #14117]
20126 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20127 functions if __x86_64__ is defined.
20128
36d54b74
CLT
201292012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20130
20131 * string/endian.h: Add !__ASSEMBLER__ condition for including
20132 conversion interfaces.
20133
10285c21
JM
201342012-06-15 Joseph Myers <joseph@codesourcery.com>
20135
20136 [BZ #14241]
20137 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20138 of ABS(x) in calculating zero to negative powers other than odd
20139 integers.
20140 * math/libm-test.inc (pow_test): Add more tests.
20141
06c5abbd
AJ
201422012-06-15 Andreas Jaeger <aj@suse.de>
20143
20144 * manual/contrib.texi (Contributors): Update entry of Liubov
20145 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20146 Machado Filho.
20147
a3aeac40
CH
201482012-06-15 Cyril Hrubis <metan@ucw.cz>
20149
20150 * string/string.h: Add __wur to GNU version of strerror_r.
20151
49bdf4c1
L
201522012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20153
20154 [BZ #14229]
20155 * string/Makefile (tests): Add tst-strtok_r.
20156 * string/tst-strtok_r.c: New file.
20157 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20158 RAX_LP/RDX_LP on SAVE_PTR.
20159
834f9b8d
RM
201602012-06-14 Roland McGrath <roland@hack.frob.com>
20161
20162 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20163
75fa1921
JM
201642012-06-14 Joseph Myers <joseph@codesourcery.com>
20165
20166 * libm_test.inc (csqrt_test): Allow more spurious underflow
20167 exceptions.
20168 (j0_test): Likewise.
20169 (j1_test): Likewise.
20170 (y0_test): Likewise.
20171 (y1_test): Likewise.
20172
771766df
CD
201732012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20174
20175 * po/Makefile (libc.pot): Use UTF-8 charset.
20176
ceb9e56b
PP
201772012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20178
20179 [BZ #14210]
20180 Suppress sign-conversion warning from FD_SET.
20181 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20182 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20183 not unsigned long int.
20184 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20185
ddb28975
L
201862012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20187
20188 [BZ #14050]
20189 [BZ #14117]
20190 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20191 __extern_always_inline instead of __extern_inline.
20192 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20193 (__signbit): Likewise.
20194 (__signbitl): Support C++ namespace.
20195 (lrintf): New inline function.
20196 (lrint): Likewise.
20197 (llrintf): Likewise.
20198 (llrint): Likewise.
20199 (fmaxf): Likewise.
20200 (fmax): Likewise.
20201 (fminf): Likewise.
20202 (fmin): Likewise.
20203 (rint): Likewise.
20204 (rintf): Likewise.
20205 (ceil): Likewise.
20206 (ceilf): Likewise.
20207 (floor): Likewise.
20208 (floorf): Likewise.
20209 (nearbyint): Likewise.
20210 (nearbyintf): Likewise.
20211
d7b4fb26
TS
202122012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20213
20214 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20215 non-default versions.
20216
eb55f5c2
RM
202172012-06-11 Roland McGrath <roland@hack.frob.com>
20218
20219 [BZ #14218]
20220 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20221
366af02c
TS
202222012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20223
99ff6e5c
TS
20224 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20225 (FE_UPWARD, FE_DOWNWARD): Don't define.
20226 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20227 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20228
366af02c
TS
20229 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20230 reading it.
20231 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20232 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20233
793ea851
KK
202342012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20235
20236 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20237 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20238 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20239 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20240
a728a38f
L
202412012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20242
20243 [BZ #14117]
c08010c7
L
20244 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20245 * sysdeps/i386/fpu/Implies: New file.
20246 * sysdeps/x86_64/fpu/Implies: Likewise.
20247 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20248 * sysdeps/x86/fpu/bits/fenv.h: This.
20249
a728a38f
L
20250 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20251 __SSE_MATH__.
20252
6e230d11
SP
202532012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20254
20255 [BZ #14134]
20256 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20257 character 0xffff that matches the last element of the
20258 conversion table.
20259
1b671feb
AZ
202602012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20261
20262 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20263 fmodl commit.
20264
6043738b
AZ
202652012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20266
20267 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20268 values higher than 25.6283.
20269
34ae0b32
AZ
202702012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20271
20272 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20273 subnormal exponent extraction and add some __builtin_expect.
20274 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20275 Fix for subnormal mantissa calculation.
20276
1214ec8f
MF
202772012-06-04 Mike Frysinger <vapier@gentoo.org>
20278
20279 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20280 cpu2 is -1 and errno is not ENOSYS.
20281
f3d1f93c
L
202822012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20283
20284 [BZ #14117]
0e4a3cd7
L
20285 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20286 * sysdeps/x86/bits/string.h: This.
20287 * sysdeps/x86_64/bits/string.h: Removed.
20288
6704c645
L
20289 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20290 if not compiling for x86-64, but compiling for >= i486.
20291
48495318
L
20292 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20293 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20294
14adcbfc
L
20295 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20296 New macro from Linux kernel 3.4.0.
20297 (FP_XSTATE_MAGIC2): Likewise.
20298 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20299 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20300 (struct _fpx_sw_bytes): New struct.
20301 (struct _xsave_hdr): Likewise.
20302 (struct _ymmh_state): Likewise.
20303 (struct _xstate): Likewise.
20304
68e408ab
L
20305 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20306 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20307 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20308 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20309 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20310 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20311
f3d1f93c
L
20312 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20313 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20314 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20315 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20316 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20317 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20318
d9dc34cd
TMQMF
203192012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20320
20321 [BZ #13743]
20322 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20323 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20324 (sysdep_headers): Include sys/platform/ppc.h.
20325 * sysdeps/powerpc/test-gettimebase.c: Test for
20326 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20327 * manual/Makefile (appendices): Include platform.texi.
20328 * manual/contrib.texi (Contributors): Update @node pointers.
20329 * manual/maint.texi (Maintenance): Likewise.
20330 (Platform): New node.
20331 * manual/platform.texi: New file. Document the new features.
20332
4af3879c
SP
203332012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20334 Jakub Jelinek <jakub@redhat.com>
20335
20336 [BZ #14188]
20337 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20338 where __builtin_expect is unavailable.
20339
2fd6ff13
DM
203402012-06-03 David S. Miller <davem@davemloft.net>
20341
20342 * stdlib/longlong.h: Updated from GCC.
20343
173f7220
AS
203442012-06-02 Andreas Schwab <schwab@linux-m68k.org>
20345
20346 [BZ #14042]
20347 * sysdeps/powerpc/powerpc32/mcount.c: New file.
20348 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20349 __mcount_internal.
20350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20351 (GLIBC_2.16): Likewise.
20352
f34a1c6f
L
203532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20354
20355 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20356
88a4576f
JM
203572012-06-01 Joseph Myers <joseph@codesourcery.com>
20358
ea32bcdd
JM
20359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20360 (default-abi): New variable.
20361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20362 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20363 variable.
20364 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20365 Likewise.
20366 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20367 Likewise.
20368 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20369 Likewise.
20370
88a4576f
JM
20371 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20372 definition. Document in comment.
20373
402fe938
DM
203742012-06-01 David S. Miller <davem@davemloft.net>
20375
20376 * stdlib/longlong.h: Updated from GCC.
20377
3553723f
L
203782012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20379
20380 [BZ #14117]
3bd872c4
L
20381 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20382 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20383 sys/debugreg.h sys/io.h here.
20384 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20385 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20386 sys/io.h.
20387 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20388 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20389 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20390 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20391 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20392 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20393
3553723f
L
20394 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20395 Define only if __x86_64__ is defined.
20396
4842e4fe
JM
203972012-06-01 Joseph Myers <joseph@codesourcery.com>
20398
c5bfe3d5
JM
20399 [BZ #14048]
20400 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20401 Use int64_t for variable i.
20402 * math/libm-test.inc (fmod_test): Add more tests.
20403
4842e4fe
JM
20404 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20405 z computation is not scheduled after fetestexcept.
20406 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20407 Use math_force_eval instead of asm to ensure calculation scheduled
20408 before exception test.
20409 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20410 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20411
efb73488
AJ
204122012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20413
20414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20415 computation is not scheduled after fetestexcept.
20416
29bcce7c
L
204172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20418
20419 [BZ #14117]
20420 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20421 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20422
73a68f94
AZ
204232012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20424
20425 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20426 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20427
67b6df78
L
204282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20429
edf2933a 20430 [BZ #14117]
ebc64a18
L
20431 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20432 <bits/wordsize.h>.
20433 (__WCHAR_MIN): Support __WORDSIZE == 64.
20434 (__WCHAR_MAX): Likewise.
20435
edf2933a
L
20436 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20437 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20438
57c6cf40
L
20439 [BZ #14183]
20440 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20441 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20442
67b6df78 20443 [BZ #14117]
8eb6281e
L
20444 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20445 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20446
aac639f4
L
20447 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20448 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20449
67b6df78
L
20450 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20451 Defined to 1 if __x86_64__ isn't defined.
20452 (_STAT_VER_LINUX_OLD): New.
20453 (st_atime): Remove duplicate.
20454 (st_mtime): Likewise.
20455 (st_ctime): Likewise.
20456
1c2cfe81
DM
204572012-05-31 David S. Miller <davem@davemloft.net>
20458
20459 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20460 entries.
20461
5be8418c
AS
204622012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20463
e7725326
AS
20464 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20465 gen-libm-test.pl.
20466
5be8418c
AS
20467 [BZ #14132]
20468 * elf/dl-reloc.c: Include <_itoa.h>.
20469 (_dl_reloc_bad_type): Remove use of INTUSE.
20470 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20471 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20472 * stdio-common/psiginfo.c (psiginfo): Likewise.
20473 * stdio-common/psignal.c (psignal): Likewise.
20474 * string/strsignal.c (strsignal): Likewise.
20475 * include/signal.h (_sys_siglist): Declare hidden proto.
20476 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20477 INTVARDEF with libc_hidden_data_def.
20478 * stdio-common/itoa-udigits.c: Likewise.
20479 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20480 (_itoa_lower_digits_internal): Remove declaration.
20481 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20482 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20483 (_sys_sigabbrev_internal): Remove aliases.
20484 (_sys_siglist): Define hidden alias.
20485
507352f1
MT
204862012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20487
20488 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20489 bits/sysctl.h.
20490
42bbb1c3
L
204912012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20492
20493 [BZ #14117]
6bd784b6
L
20494 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20495 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20496
8bca20f0
L
20497 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20498 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20499 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20500 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20501 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20502 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20503
f9e890a9
L
20504 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20505 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20506 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20507
471101a1
L
20508 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20509 with __addr.
20510 (insw): Likewise.
20511 (insl): Likewise.
20512 (outsb): Likewise.
20513 (outsw): Likewise.
20514 (outsl): Likewise.
20515
6451c862
L
20516 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20517 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20518 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20519
a254b8c9
L
20520 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20521 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20522 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20523 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20524 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20525 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20526
b8dfdd92
L
20527 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20528 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20529
578cd270
L
20530 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20531 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20532
de662f5f
L
20533 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20534 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20535 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20536
25653439
L
20537 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20538 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20539 to ...
20540 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20541
6bad24a0
L
20542 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20543 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20544 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20545
42bbb1c3
L
20546 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20547 for x86-64.
20548 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20549
2d10d547
JM
205502012-05-31 Joseph Myers <joseph@codesourcery.com>
20551
20552 * math/math.h (M_El): Use two more decimal places.
20553 (M_LOG2El): Likewise.
20554 (M_LOG10El): Likewise.
20555 (M_LN2l): Likewise.
20556 (M_LN10l): Likewise.
20557 (M_PIl): Likewise.
20558 (M_PI_2l): Likewise.
20559 (M_PI_4l): Likewise.
20560 (M_1_PIl): Likewise.
20561 (M_2_PIl): Likewise.
20562 (M_2_SQRTPIl): Likewise.
20563 (M_SQRT2l): Likewise.
20564 (M_SQRT1_2l): Likewise.
20565
f230c29b
DM
205662012-05-31 David S. Miller <davem@davemloft.net>
20567
20568 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20569 values between float registers.
20570 * sysdeps/sparc/sparc64/memset.S: Likewise.
20571 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20572
fed806c3
MF
205732012-05-31 Mike Frysinger <vapier@gentoo.org>
20574
20575 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20576 -D_FORTIFY_SOURCE=1.
20577 (CPPFLAGS-tst-longjmp_chk.c): Define.
20578 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20579 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20580 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20581 CFLAGS-tst-wchar-h.c.
20582
30917259
MP
205832012-05-31 Marek Polacek <polacek@redhat.com>
20584
20585 [BZ #14132]
20586 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20587 __endmntent_internal): Remove declaration.
20588 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20589 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20590 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20591
1c58d5dc
DM
205922012-05-30 David S. Miller <davem@davemloft.net>
20593
20594 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20595 (___Q_simulate_exceptions): Use real FP ops rather than writing
20596 into the %fsr.
20597 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20598 Likewise.
20599
7dc00e0d
L
206002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20601
20602 [BZ #14117]
0bd53985
L
20603 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20604 * sysdeps/x86/bits/xtitypes.h: This.
20605
3a257e66
L
20606 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20607 * sysdeps/x86/bits/wordsize.h: This.
20608
62f62904
L
20609 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20610 * sysdeps/x86/bits/huge_vall.h: This.
20611
404fe9d9
L
20612 * sysdeps/i386/bits/select.h: Removed.
20613 * sysdeps/x86_64/bits/select.h: Renamed to ...
20614 * sysdeps/x86/bits/select.h: This.
20615
d48d0446
L
20616 * sysdeps/i386/bits/setjmp.h: Removed.
20617 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20618 * sysdeps/x86/bits/setjmp.h: This.
20619
7dc00e0d
L
20620 * sysdeps/i386/bits/mathdef.h: Removed.
20621 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20622 * sysdeps/x86/bits/mathdef.h: This.
20623
03277f8f
AS
206242012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20625
20626 [BZ #14132]
20627 * include/sys/socket.h (__connect_internal)
20628 (__libc_sa_len_internal): Remove declaration.
20629 (__connect, __libc_sa_len): Declare hidden_proto.
20630 (SA_LEN): Remove use of INTUSE.
20631 * socket/connect.c: Add libc_hidden_def.
20632 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20633 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20634 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20635 alias.
20636 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20637 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20638 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20639 of adding _internal alias.
20640
13764867
L
206412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20642
20643 [BZ #14117]
6bd97696
L
20644 * sysdeps/i386/bits/link.h: Removed.
20645 * sysdeps/i386/bits/linkmap.h: Likewise.
20646 * sysdeps/x86_64/bits/link.h: Renamed to ...
20647 * sysdeps/x86/bits/link.h: This.
20648 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20649 * sysdeps/x86/bits/linkmap.h: This.
20650
f726f0bb
L
20651 * sysdeps/i386/bits/endian.h: Removed.
20652 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20653 * sysdeps/x86/bits/endian.h: This.
20654
13764867
L
20655 * sysdeps/i386/bits/byteswap.h: Removed.
20656 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20657 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20658 * sysdeps/x86/bits/byteswap.h: This.
20659 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20660 * sysdeps/x86/bits/byteswap-16.h: This.
20661 * sysdeps/i386/Implies: Add x86.
20662 * sysdeps/x86_64/Implies: Likewise.
20663
ae251b0b
DM
206642012-05-30 David S. Miller <davem@davemloft.net>
20665
20666 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20667 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20668 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20669 (FP_TRAPPING_EXCEPTIONS): Define.
20670 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20671 (FP_TRAPPING_EXCEPTIONS): Define.
20672 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20673 subnormals only when inexact has been signalled or underflow
20674 exceptions are enabled.
20675 (_FP_PACK_CANONICAL): Likewise.
20676
d5c90867
L
206772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20678
20679 [BZ #14183]
20680 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20681 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20682
63f1549e
RH
206832012-05-30 Richard Henderson <rth@twiddle.net>
20684
8d8f2279
RH
20685 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20686 with #ifndef NOT_IN_libc.
20687
63f1549e
RH
20688 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20689 marked to avoid plt entry.
20690
0ab0291b
L
206912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20692
20693 [BZ #14112]
20694 * Makeconfig (default-abi): New macro.
20695 (abi-includes): Likewise.
20696 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20697 $(abi-$(default-abi)-lib-soname) for soname if defined.
20698 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20699 abi-variants.
20700 * Makefile (installed-stubs): Likewise.
20701 * include/stubs-biarch.h: Removed.
20702 * scripts/lib-names.awk: Only handle one library at a time.
20703 * scripts/soversions.awk: Remove WORDSIZE support.
20704 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20705 entries.
20706 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20707 Removed.
20708 (syscall-list-default-condition): Likewise.
20709 (syscall-list-default-condition): Likewise.
20710 (syscall-list-includes): Likewise.
20711 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20712 syscall-list-* with abi-*. Handle undefined abi-variants.
20713 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20714 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20715 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20716 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20717 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20718 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20719 Removed.
20720 (syscall-list-32-options): Likewise.
20721 (syscall-list-32-condition): Likewise.
20722 (syscall-list-64-options): Likewise.
20723 (syscall-list-64-condition): Likewise.
20724 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20725 macro.
20726 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20727 Renamed to ...
20728 (abi-*): This.
20729 (abi-64-ld-soname): New macro.
20730 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20731 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20732 Renamed to ...
20733 (abi-*): This.
20734 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20735 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20736
4da0431d
JM
207372012-05-30 Joseph Myers <joseph@codesourcery.com>
20738
3a85279c
JM
20739 * sysdeps/unix/sysv/linux/kernel-features.h
20740 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20741 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20742 include <kernel-features.h>.
20743 [!__NR_ftruncate64]: Remove conditional code.
20744 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20745 [__NR_ftruncate64]: Make code unconditional.
20746 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20747 * sysdeps/unix/sysv/linux/truncate64.c: Do not
20748 include <kernel-features.h>.
20749 [!__NR_ftruncate64]: Remove conditional code.
20750 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20751 [__NR_ftruncate64]: Make code unconditional.
20752 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20754 include <kernel-features.h>.
20755 [!__NR_ftruncate64]: Remove conditional code.
20756 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20757 [__NR_ftruncate64]: Make code unconditional.
20758 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20760 include <kernel-features.h>.
20761 [!__NR_ftruncate64]: Remove conditional code.
20762 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20763 [__NR_ftruncate64]: Make code unconditional.
20764 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20765
4da0431d
JM
20766 * configure.in (libc_cv_fpie): Weaken to a compile test using
20767 LIBC_TRY_CC_OPTION.
20768 * configure: Regenerated.
20769
11ef492c
AK
207702012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20771
20772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20776 Refreshed.
20777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20783 Refreshed.
20784
d66ef399
DM
207852012-05-27 David S. Miller <davem@davemloft.net>
20786
20787 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20788 (___Q_zero): New.
20789 (__Q_simulate_exceptions): Return void. Change to simulate
20790 exceptions by writing into the %fsr.
20791 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20792 (__Qp_handle_exceptions): Likewise.
20793 (numbers): Delete.
20794 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20795 __Qp_handle_exceptions.
20796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20797 __Qp_handle_exceptions.
20798 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20799 as unused and give dummy FP_RND_NEAREST initializer.
20800 (FP_INHIBIT_RESULTS): Define.
20801 (___Q_simulate_exceptions): Update declaration.
20802 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20803 formatting.
20804 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20805 as unused and give dummy FP_RND_NEAREST initializer.
20806 (__Qp_handle_exceptions): Update declaration.
20807 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20808 formatting.
20809
04fb54b5
TS
208102012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20811
20812 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20813 the temporary FPU control word.
20814 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20815 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20816 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20817 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20818 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20819 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20820 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20821 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20822 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20823 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20824 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20825
3f99608f
KK
208262012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20827
20828 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20829 fields.
20830
65a4de4e
CLT
208312012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20832
20833 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20834 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20835 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20836 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20837 Likewise.
20838 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20839 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20840 Likewise.
20841
15749d40
UD
208422012-05-27 Ulrich Drepper <drepper@gmail.com>
20843
20844 * po/h.po: Update from translation team.
20845
25dbcb27
AS
208462012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20847
3d3f8e55
AS
20848 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20849
25dbcb27
AS
20850 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20851 handling of denormals.
20852 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20853 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20854 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20855 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20856 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20857 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20858 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20859 Likewise.
20860
7ad47a80 208612012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
20862
20863 [BZ #14152]
20864 * math/libm-test.inc (fma_test): Don't always expect underflow
20865 exception.
20866
9c6ea9fa
SP
208672012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20868
20869 [BZ #12416]
20870 * elf/tst-execstack.c: Include stackinfo.h.
20871 (do_test): Adjust test case to ensure that pthread_getattr_np
20872 behaviour remains the same after marking stack executable.
20873
a8239222
JM
208742012-05-25 Joseph Myers <joseph@codesourcery.com>
20875
20876 * sysdeps/unix/sysv/linux/kernel-features.h
20877 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20878 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20879 kernel-features.h.
20880 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20881 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20882 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20883 kernel-features.h.
20884 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20885 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20886
918b5606
L
208872012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20888
20889 * configure.in: Define the default includes to being none.
20890 * configure: Regenerated.
20891
3a097cc7
RM
208922012-05-25 Roland McGrath <roland@hack.frob.com>
20893
8422c9a5
RM
20894 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20895 * sysdeps/x86_64/setjmp.S: Likewise.
20896 * sysdeps/i386/bsd-setjmp.S: Likewise.
20897 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20898 * sysdeps/i386/setjmp.S: Likewise.
20899 * sysdeps/i386/__longjmp.S: Likewise.
20900 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20901 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20902
3a097cc7
RM
20903 * include/stap-probe.h: New file.
20904 * configure.in: Handle --enable-systemtap.
20905 * configure: Regenerated.
20906 * config.h.in (USE_STAP_PROBE): New #undef.
20907 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20908 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20909 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20910
21708942
JM
209112012-05-25 Joseph Myers <joseph@codesourcery.com>
20912
20913 [BZ #13717]
20914 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20915 to 2.4.0 where earlier.
20916 * sysdeps/unix/sysv/linux/configure: Regenerated.
20917 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20918 <kernel-features.h>.
20919 [__ASSUME_32BITUIDS]: Make code unconditional.
20920 [!__ASSUME_32BITUIDS]: Remove conditional code.
20921 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20922 <kernel-features.h>.
20923 [__ASSUME_32BITUIDS]: Make code unconditional.
20924 [!__ASSUME_32BITUIDS]: Remove conditional code.
20925 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20926 [__ASSUME_32BITUIDS]: Make code unconditional.
20927 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20928 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20929 <kernel-features.h>.
20930 [__ASSUME_32BITUIDS]: Make code unconditional.
20931 [!__ASSUME_32BITUIDS]: Remove conditional code.
20932 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20933 <kernel-features.h>.
20934 [__ASSUME_32BITUIDS]: Make code unconditional.
20935 [!__ASSUME_32BITUIDS]: Remove conditional code.
20936 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20937 <kernel-features.h>.
20938 [__ASSUME_32BITUIDS]: Make code unconditional.
20939 [!__ASSUME_32BITUIDS]: Remove conditional code.
20940 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20941 <kernel-features.h>.
20942 [__ASSUME_32BITUIDS]: Make code unconditional.
20943 [!__ASSUME_32BITUIDS]: Remove conditional code.
20944 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20945 <kernel-features.h>.
20946 [__ASSUME_32BITUIDS]: Make code unconditional.
20947 [!__ASSUME_32BITUIDS]: Remove conditional code.
20948 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20949 <kernel-features.h>.
20950 [__ASSUME_32BITUIDS]: Make code unconditional.
20951 [!__ASSUME_32BITUIDS]: Remove conditional code.
20952 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20953 <kernel-features.h>.
20954 [__ASSUME_32BITUIDS]: Make code unconditional.
20955 [!__ASSUME_32BITUIDS]: Remove conditional code.
20956 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20957 <kernel-features.h>.
20958 [__ASSUME_32BITUIDS]: Make code unconditional.
20959 [!__ASSUME_32BITUIDS]: Remove conditional code.
20960 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20961 <kernel-features.h>.
20962 [__ASSUME_32BITUIDS]: Make code unconditional.
20963 [!__ASSUME_32BITUIDS]: Remove conditional code.
20964 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20965 <kernel-features.h>.
20966 [__ASSUME_32BITUIDS]: Make code unconditional.
20967 [!__ASSUME_32BITUIDS]: Remove conditional code.
20968 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20969 <kernel-features.h>.
20970 [__NR_setresgid] (__setresgid): Do not declare.
20971 [__ASSUME_32BITUIDS]: Make code unconditional.
20972 [!__ASSUME_32BITUIDS]: Remove conditional code.
20973 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20974 <kernel-features.h>.
20975 [__NR_setresuid] (__setresuid): Do not declare.
20976 [__ASSUME_32BITUIDS]: Make code unconditional.
20977 [!__ASSUME_32BITUIDS]: Remove conditional code.
20978 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20979 <kernel-features.h>.
20980 [__ASSUME_32BITUIDS]: Make code unconditional.
20981 [!__ASSUME_32BITUIDS]: Remove conditional code.
20982 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20983 <kernel-features.h>.
20984 [__ASSUME_32BITUIDS]: Make code unconditional.
20985 [!__ASSUME_32BITUIDS]: Remove conditional code.
20986 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20987 <kernel-features.h>.
20988 [__ASSUME_32BITUIDS]: Make code unconditional.
20989 [!__ASSUME_32BITUIDS]: Remove conditional code.
20990 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20991 <kernel-features.h>.
20992 [__ASSUME_32BITUIDS]: Make code unconditional.
20993 [!__ASSUME_32BITUIDS]: Remove conditional code.
20994 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20995 <kernel-features.h>.
20996 [__ASSUME_32BITUIDS]: Make code unconditional.
20997 [!__ASSUME_32BITUIDS]: Remove conditional code.
20998 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20999 <kernel-features.h>.
21000 [__ASSUME_32BITUIDS]: Make code unconditional.
21001 [!__ASSUME_32BITUIDS]: Remove conditional code.
21002 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21003 <kernel-features.h>.
21004 [__ASSUME_32BITUIDS]: Make code unconditional.
21005 [!__ASSUME_32BITUIDS]: Remove conditional code.
21006 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21007 <kernel-features.h>.
21008 [__ASSUME_32BITUIDS]: Make code unconditional.
21009 [!__ASSUME_32BITUIDS]: Remove conditional code.
21010 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21011 <kernel-features.h>.
21012 [__ASSUME_32BITUIDS]: Make code unconditional.
21013 [!__ASSUME_32BITUIDS]: Remove conditional code.
21014 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21015 <kernel-features.h>.
21016 [__ASSUME_32BITUIDS]: Make code unconditional.
21017 [!__ASSUME_32BITUIDS]: Remove conditional code.
21018 * sysdeps/unix/sysv/linux/kernel-features.h
21019 (__ASSUME_SETRESUID_SYSCALL): Remove.
21020 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21021 (__ASSUME_32BITUIDS): Likewise.
21022 (__ASSUME_LDT_WORKS): Likewise.
21023 (__ASSUME_O_DIRECTORY): Likewise.
21024 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21025 architecture but not kernel version.
21026 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21027 (__ASSUME_MMAP2_SYSCALL): Likewise.
21028 (__ASSUME_STAT64_SYSCALL): Likewise.
21029 (__ASSUME_IPC64): Likewise.
21030 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21031 <kernel-features.h>.
21032 [__ASSUME_32BITUIDS]: Make code unconditional.
21033 [!__ASSUME_32BITUIDS]: Remove conditional code.
21034 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21035 <kernel-features.h>.
21036 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21037 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21038 132096]: Remove conditional code.
21039 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21040 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21041 <kernel-features.h>.
21042 [__ASSUME_32BITUIDS]: Make code unconditional.
21043 [!__ASSUME_32BITUIDS]: Remove conditional code.
21044 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21045 <kernel-features.h>.
21046 [__ASSUME_32BITUIDS]: Make code unconditional.
21047 [!__ASSUME_32BITUIDS]: Remove conditional code.
21048 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21049 <kernel-features.h>.
21050 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21051 unconditional.
21052 (__setresgid): Do not declare.
21053 [__ASSUME_32BITUIDS]: Make code unconditional.
21054 [!__ASSUME_32BITUIDS]: Remove conditional code.
21055 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21056 <kernel-features.h>.
21057 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21058 unconditional.
21059 (__setresuid): Do not declare.
21060 [__ASSUME_32BITUIDS]: Make code unconditional.
21061 [!__ASSUME_32BITUIDS]: Remove conditional code.
21062 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21063 <kernel-features.h>.
21064 [__ASSUME_32BITUIDS]: Make code unconditional.
21065 [!__ASSUME_32BITUIDS]: Remove conditional code.
21066 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21067 <kernel-features.h>.
21068 [__ASSUME_32BITUIDS]: Make code unconditional.
21069 [!__ASSUME_32BITUIDS]: Remove conditional code.
21070
a386f1cc
RH
210712012-05-25 Richard Henderson <rth@twiddle.net>
21072
21073 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21074 dl_hwcap to ifunc resolver.
21075 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21076 elf_ifunc_invoke.
21077 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21078 dl_hwcap to ifunc resolver.
21079 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21080
b6550497
JM
210812012-05-24 Joseph Myers <joseph@codesourcery.com>
21082
21083 [BZ #14153]
21084 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21085 for |x| <= 2**-26, not 2**-57.
21086 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21087 exception.
21088
b0bc23a1
JL
210892012-05-24 Jeff Law <law@redhat.com>
21090
21091 * stdio-common/Makefile (tests): Add bug25.
21092 * stdio-common/bug25.c: New test.
21093
347c92e9
L
210942012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21095
21096 [BZ #13576]
21097 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21098 multiple of MALLOC_ALIGNMENT in size.
21099 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21100
6bcc8b3f
JM
211012012-05-24 Joseph Myers <joseph@codesourcery.com>
21102
21103 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21104 Require >= 256.
21105 (FILENAME_MAX): Use macro-int-constant.
21106 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21107 (_IOFBF): Use macro-int-constant.
21108 (_IOLBF): Likewise.
21109 (_IONBF): Likewise.
21110 (SEEK_CUR): Likewise.
21111 (SEEK_END): Likewise.
21112 (SEEK_SET): Likewise.
21113 (TMP_MAX): Likewise.
21114 (EOF): Use macro-int-constant. Require < 0.
21115 (NULL): Use macro-constant. Require == 0.
21116 (stdin): Require type to be FILE *.
21117 (stdout): Likewise.
21118 (stderr): Likewise.
21119 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21120 macro-int-constant.
21121 (EXIT_SUCCESS): Likewise.
21122 (NULL): Use macro-constant. Require == 0.
21123 (RAND_MAX): Use macro-int-constant.
21124 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21125 [C99-based standards] (strtof): Require function.
21126 [C99-based standards] (strtold): Likewise.
21127 [C99-based standards] (strtoll): Likewise.
21128 [C99-based standards] (strtoull): Likewise.
21129 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21130 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21131 [ISO || ISO99 || ISO11] (math.h): Likewise.
21132 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21133 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21134 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21135
d18ea0c5
AS
211362012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21137
21138 [BZ #14132]
56d25bb8
AS
21139 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21140 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21141 * intl/dgettext.c (DCGETTEXT): Likewise.
21142 * intl/gettext.c (DCGETTEXT): Likewise.
21143 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21144 * posix/regex_internal.h (gettext): Likewise.
21145 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21146 Remove declaration.
21147 * include/argz.h (__argz_count_internal)
21148 (__argz_stringify_internal): Remove declaration.
21149 (__argz_count, __argz_stringify): Declare hidden proto.
21150 * intl/dcgettext.c: Remove use of INTDEF.
21151 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21152 * string/argz-stringify.c: Likewise.
21153 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21154 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21155 Declare hidden proto.
d18ea0c5
AS
21156 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21157 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21158 Declare hidden proto.
21159 * include/stdio.h (__asprintf_internal): Don't declare.
21160 (__asprintf): Don't define as macro. Declare hidden proto.
21161 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21162 (__fsetlocking): Declare hidden proto.
21163 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21164 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21165 hidden proto.
21166 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21167 (_IO_setlinebuf): Remove use of INTUSE.
21168 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21169 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21170 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21171 Remove declaration.
21172 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21173 (_IO_do_flush): Remove use of INTUSE.
21174 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21175 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21176 (_IO_adjust_column, _IO_least_wmarker)
21177 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21178 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21179 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21180 (_IO_default_doallocate, _IO_wdefault_doallocate)
21181 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21182 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21183 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21184 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21185 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21186 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21187 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21188 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21189 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21190 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21191 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21192 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21193 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21194 proto.
21195 (_IO_flush_all_internal, _IO_adjust_column_internal)
21196 (_IO_default_uflow_internal, _IO_default_finish_internal)
21197 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21198 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21199 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21200 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21201 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21202 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21203 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21204 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21205 (_IO_file_close_internal, _IO_file_close_it_internal)
21206 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21207 (_IO_file_init_internal, _IO_file_attach_internal)
21208 (_IO_file_fopen_internal, _IO_file_read_internal)
21209 (_IO_file_sync_internal, _IO_file_seek_internal)
21210 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21211 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21212 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21213 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21214 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21215 (_IO_list_all_internal, _IO_link_in_internal)
21216 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21217 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21218 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21219 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21220 (_IO_do_write_internal, _IO_padn_internal)
21221 (_IO_getline_info_internal, _IO_getline_internal)
21222 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21223 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21224 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21225 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21226 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21227 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21228 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21229 with libc_hidden_ver, remove use of INTUSE.
21230 * libio/genops.c: Likewise.
21231 * libio/freopen.c: Likewise.
21232 * libio/freopen64.c: Likewise.
21233 * libio/iofclose.c: Likewise.
21234 * libio/iofdopen.c: Likewise.
21235 * libio/iofflush.c: Likewise.
21236 * libio/iofflush_u.c: Likewise.
21237 * libio/iofgets.c: Likewise.
21238 * libio/iofgets_u.c: Likewise.
21239 * libio/iofopen.c: Likewise.
21240 * libio/iofopncook.c: Likewise.
21241 * libio/iofread.c: Likewise.
21242 * libio/iofread_u.c: Likewise.
21243 * libio/ioftell.c: Likewise.
21244 * libio/iofwrite.c: Likewise.
21245 * libio/iogetline.c: Likewise.
21246 * libio/iogets.c: Likewise.
21247 * libio/iogetwline.c: Likewise.
21248 * libio/iopadn.c: Likewise.
21249 * libio/iopopen.c: Likewise.
21250 * libio/ioseekoff.c: Likewise.
21251 * libio/ioseekpos.c: Likewise.
21252 * libio/iosetbuffer.c: Likewise.
21253 * libio/iosetvbuf.c: Likewise.
21254 * libio/ioungetc.c: Likewise.
21255 * libio/ioungetwc.c: Likewise.
21256 * libio/iovdprintf.c: Likewise.
21257 * libio/iovsprintf.c: Likewise.
21258 * libio/iovsscanf.c: Likewise.
21259 * libio/memstream.c: Likewise.
21260 * libio/obprintf.c: Likewise.
21261 * libio/oldfileops.c: Likewise.
21262 * libio/oldiofclose.c: Likewise.
21263 * libio/oldiofdopen.c: Likewise.
21264 * libio/oldiofopen.c: Likewise.
21265 * libio/oldiopopen.c: Likewise.
21266 * libio/oldstdfiles.c: Likewise.
21267 * libio/putc.c: Likewise.
21268 * libio/setbuf.c: Likewise.
21269 * libio/setlinebuf.c: Likewise.
21270 * libio/stdfiles.c: Likewise.
21271 * libio/strops.c: Likewise.
21272 * libio/vasprintf.c: Likewise.
21273 * libio/vscanf.c: Likewise.
21274 * libio/vsnprintf.c: Likewise.
21275 * libio/vswprintf.c: Likewise.
21276 * libio/wfiledoalloc.c: Likewise.
21277 * libio/wfileops.c: Likewise.
21278 * libio/wgenops.c: Likewise.
21279 * libio/wmemstream.c: Likewise.
21280 * libio/wstrops.c: Likewise.
21281 * libio/__fpurge.c: Likewise.
21282 * libio/__fsetlocking.c: Likewise.
21283 * assert/assert.c: Likewise.
21284 * debug/fgets_chk.c: Likewise.
21285 * debug/fgets_u_chk.c: Likewise.
21286 * debug/fread_chk.c: Likewise.
21287 * debug/fread_u_chk.c: Likewise.
21288 * debug/gets_chk.c: Likewise.
21289 * debug/obprintf_chk.c: Likewise.
21290 * debug/vasprintf_chk.c: Likewise.
21291 * debug/vdprintf_chk.c: Likewise.
21292 * debug/vsnprintf_chk.c: Likewise.
21293 * debug/vsprintf_chk.c: Likewise.
21294 * malloc/mtrace.c: Likewise.
21295 * misc/error.c: Likewise.
21296 * misc/syslog.c: Likewise.
21297 * stdio-common/asprintf.c: Likewise.
21298 * stdio-common/fxprintf.c: Likewise.
21299 * stdio-common/getw.c: Likewise.
21300 * stdio-common/isoc99_fscanf.c: Likewise.
21301 * stdio-common/isoc99_scanf.c: Likewise.
21302 * stdio-common/isoc99_vfscanf.c: Likewise.
21303 * stdio-common/isoc99_vscanf.c: Likewise.
21304 * stdio-common/isoc99_vsscanf.c: Likewise.
21305 * stdio-common/printf-prs.c: Likewise.
21306 * stdio-common/printf_fp.c: Likewise.
21307 * stdio-common/printf_fphex.c: Likewise.
21308 * stdio-common/printf_size.c: Likewise.
21309 * stdio-common/putw.c: Likewise.
21310 * stdio-common/scanf.c: Likewise.
21311 * stdio-common/sprintf.c: Likewise.
21312 * stdio-common/tmpfile.c: Likewise.
21313 * stdio-common/vfprintf.c: Likewise.
21314 * stdio-common/vfscanf.c: Likewise.
21315 * stdlib/strfmon_l.c: Likewise.
21316 * sunrpc/openchild.c: Likewise.
21317 * sunrpc/xdr_stdio.c: Likewise.
21318 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21319 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21320
d6c33fda
RM
213212012-05-24 Roland McGrath <roland@hack.frob.com>
21322
c1487492
RM
21323 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21324
21325 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21326 in the third column, to generate for the shared library an IFUNC
21327 that uses _dl_vdso_vsym.
21328 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21329 * Makeconfig (object-suffixes-noshared): New variable.
21330
21331 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21332 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21333 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21334 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21335
d6c33fda
RM
21336 [BZ #14132]
21337 * include/sys/time.h (__gettimeofday): Remove macro.
21338 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21339 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21340 Remove INTDEF.
21341 (__gettimeofday): Add libc_hidden_def.
21342 (gettimeofday): Add libc_hidden_weak.
21343 * sysdeps/mach/gettimeofday.c: Likewise.
21344 * sysdeps/posix/gettimeofday.c: Likewise.
21345 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21346 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21347 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21348 (__gettimeofday_internal): Remove strong_alias.
21349 (__gettimeofday): Add libc_hidden_def.
21350 (gettimeofday): Add libc_hidden_weak.
21351 * sysdeps/unix/syscalls.list (gettimeofday):
21352 Remove __gettimeofday_internal alias.
21353
b5a2bbe6
L
213542012-05-24 Daniel Jacobowitz <drow@false.org>
21355 H.J. Lu <hongjiu.lu@intel.com>
21356
21357 [BZ #12495]
21358 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21359 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21360 (largebin_index_32_big): New.
21361 (largebin_index): Use it for 16-byte alignment.
21362 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21363 correction with front_misalign.
21364
cfba4fda
L
213652012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21366
7f907421
L
21367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21369 Likewise.
21370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21371 Likewise.
21372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21373 Likewise.
21374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21375 Likewise.
21376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21377 Likewise.
21378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21379 Likewise.
21380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21381 Likewise.
21382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21383 Likewise.
21384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21385 Likewise.
21386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21387 Likewise.
21388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21389 Likewise.
21390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21391 Likewise.
21392
cfba4fda
L
21393 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21394 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21395
80bad0cc
JM
213962012-05-24 Joseph Myers <joseph@codesourcery.com>
21397
7a25eb06
JM
21398 [BZ #10846]
21399 [BZ #14036]
21400 * math/libm-test.inc (exp_test): Add test from bug 14036.
21401 (pow_test): Add test from bug 10846.
21402
795405f9
JM
21403 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21404 and other flags.
21405 (special_function): Do not include flags in test name.
21406 (parse_args): Likewise.
21407 * sysdeps/i386/fpu/libm-test-ulps: Update.
21408 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21409 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21410 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21412
80bad0cc
JM
21413 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21414 exceptions.
21415 * math/libm-test.inc ("Philosophy"): Update comment about
21416 exception testing.
21417 (UNDERFLOW_EXCEPTION): New macro.
21418 (UNDERFLOW_EXCEPTION_OK): Likewise.
21419 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21420 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21421 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21422 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21423 (INVALID_EXCEPTION_OK): Update value.
21424 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21425 (OVERFLOW_EXCEPTION_OK): Likewise.
21426 (IGNORE_ZERO_INF_SIGN): Likewise.
21427 (test_exceptions): Handle underflow exceptions.
21428 (acos_test): Update for underflow exception expectations.
21429 (cexp_test): Likewise.
21430 (clog_test): Likewise.
21431 (clog10_test): Likewise.
21432 (csqrt_test): Likewise.
21433 (ctan_test): Likewise.
21434 (ctanh_test): Likewise.
21435 (exp_test): Likewise.
21436 (exp10_test): Likewise.
21437 (exp2_test): Likewise.
21438 (expm1_test): Likewise.
21439 (fma_test): Likewise.
21440 (j0_test): Likewise.
21441 (jn_test): Likewise.
21442 (nexttoward_test): Likewise.
21443 (pow_test): Likewise.
21444 (scalbn_test): Likewise.
21445 (scalbln_test): Likewise.
21446 (tan_test): Likewise.
21447 (y1_test): Likewise.
21448 * sysdeps/i386/fpu/libm-test-ulps: Update.
21449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21450
9e0e3d0b
DM
214512012-05-23 David S. Miller <davem@davemloft.net>
21452
21453 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21454 (__libc_sigaction): Remove unused local variables.
21455
ccd0a08f
L
214562012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21457
21458 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21459
62bdf9a6
PE
214602012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21461
f8591f80
PE
21462 mktime: avoid signed integer overflow
21463 * time/mktime.c (__mktime_internal): Do not mishandle the case
21464 where diff == INT_MIN.
21465
94c7d826
PE
21466 mktime: simplify computation of average
21467 * time/mktime.c (ranged_convert): Use new time_t_avg function
21468 instead of rolling our own (probably-slower) code.
21469
ce73d683
PE
21470 mktime: do not assume signed right shift propagates sign bit
21471 * time/mktime.c (isdst_differ): New static function.
21472 (__mktime_internal): No need to normalize tm_isdst now.
21473 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21474 tm_isdst values.
21475
72a22e59
PE
21476 mktime: merge another wrapv change from gnulib
21477 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21478 from some compilers.
21479
68605433
PE
21480 mktime: remove incorrect attempt at unusual arithmetics
21481 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21482 The code didn't really work on such machines anyway.
21483 (TYPE_MINIMUM): Assume two's complement.
21484 (twos_complement_arithmetic): Verify that long_int and time_t
21485 are two's complement (or unsigned, in the latter case).
21486
03cf7fe3
PE
21487 mktime: check signed shifts on long_int and time_t, too
21488 * time/mktime.c (SHR): Check that shifts work as desired
21489 on the types long_int and time_t too, as SHR is used on
21490 such types.
21491
f04dfbc2
PE
21492 mktime: do not assume 'long' is wide enough
21493 * time/mktime.c (verify): Move decl up.
21494 (long_int): New type.
21495 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21496 to remove assumption in the code that 'long' is wide enough to
21497 store year values. This assumption is not true on x32 and on
21498 some non-glibc platforms.
21499
62bdf9a6
PE
21500 mktime: merge wrapv change from gnulib
21501 * time/mktime.c (WRAPV): New macro.
21502 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21503 (guess_time_tm, __mktime_internal): Do not assume that signed
21504 integer overflow wraps around; modern compilers generate code
21505 where this assumption is no longer valid.
21506
5e292e4f
L
215072012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21508
21509 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21510 Replace "jmp L(pseudo_end)" with "ret".
21511 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21512 Likewise.
21513
8caf8c87
AJ
215142012-05-23 Andreas Jaeger <aj@suse.de>
21515
21516 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21517 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21518
1a09dc56
AJ
215192012-05-23 Andreas Jaeger <aj@suse.de>
21520 Maximilian Attems <max@stro.at>
21521
21522 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21523 New macros.
21524
1c87aba0
L
215252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21526
21527 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21528 code so that pseudo_end is just ret and the stack pointer is
21529 correct also for static library in error case.
21530
40e45bd5
JM
215312012-05-23 Joseph Myers <joseph@codesourcery.com>
21532
c2670533
JM
21533 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21534 move to syscalls.list.
21535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21539
40e45bd5
JM
21540 * manual/install.texi (Running make install): Do not mention Linux
21541 kernel version for which pt_chown is not needed.
21542 (Linux): Do not mention problems with nscd with 2.0 kernels.
21543 * INSTALL: Regenerated.
21544
be08eda5
AJ
215452012-05-23 Andreas Jaeger <aj@suse.de>
21546
21547 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21548 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21549 macro.
21550 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21551 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21552 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21553 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21554 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21555 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21556 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21557 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21558 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21559 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21560 * sysdeps/unix/sysv/linux/bits/in.h
21561 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21562
a6a056bb
RM
215632012-05-22 Roland McGrath <roland@hack.frob.com>
21564
21565 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21566 (PREPARE_VERSION): Just use assert instead, it will be elided
21567 under [NDEBUG] anyway.
21568
c9009328
L
215692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21570
21571 * sysdeps/unix/sysv/linux/Makefile: Include
21572 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 21573 (sysdep_routines): Remove sysctl.
c9009328
L
21574 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21575 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21576 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21577 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21578 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21579
73338355
AJ
215802012-05-22 Andreas Jaeger <aj@suse.de>
21581
21582 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21583 that pseudo_end is just ret and the stack pointer is correct also
21584 for static library in error case.
21585
d44638b0
PP
215862012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21587
21588 [BZ #14122]
21589 * nss/nsswitch.c (defconfig_entries): New variable.
21590 (__nss_database_lookup): Don't leak defconfig entries.
21591 (nss_parse_service_list): Don't leak on error paths.
21592 (free_database_entries): New function.
21593 (free_defconfig): New function.
21594 (free_mem): Move common code to free_database_entries.
21595
31a39bd8
L
215962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21597
da0331a8
L
21598 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21599 Add arch_prctl.
21600 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21601
31a39bd8
L
21602 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21603 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21604 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21605 New macro.
21606 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21607 (INTERNAL_SYSCALL_TYPES): Likewise.
21608 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21609 (LOAD_REGS_TYPES_[1-6]): Likewise.
21610 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21611 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21612
45470df3
AZ
216132012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21614
21615 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21616 copysignl for GLIBC_2_0.
21617 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21618 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21619 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21620 logbl for GLIBC_2_0.
21621 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21622 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21623
98a61bcb
L
216242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21625
a4f6e481
L
21626 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21627 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21628
f63d5db6
L
21629 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21630 Use "neg %eax".
21631
98a61bcb
L
21632 * time/mktime.c: Update copyright years.
21633
95770f14
PE
216342012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21635
6226efbd
PE
21636 mktime: merge comment-quoting-style change from gnulib
21637 * time/mktime.c: Quote 'like this' in comments.
21638 The GNU coding standards suggest that we no longer quote `like this',
21639 as "`" and "'" are typically rendered asymmetrically nowadays.
21640 The typical gnulib style is to quote 'like this' when quoting
21641 code, and "like this" when quoting English.
21642
b99e4f78
PE
21643 * time/mktime.c (compile-command): Add "-I.".
21644
643e01e6
PE
21645 mktime: merge mktime-internal.h change from gnulib
21646 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21647
2554247d
PE
21648 mktime: merge time_r change from gnulib
21649 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21650
826dd0ab
PE
21651 mktime: merge DEBUG change from gnulib
21652 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21653 case system <time.h> has a #define.
21654
bd83aabe
PE
21655 mktime: merge <sys/types.h> change from gnulib
21656 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21657 since <time.t> is now guaranteed to define time_t.
21658
95770f14
PE
21659 mktime: merge HAVE_CONFIG_H change from gnulib
21660 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21661
5e1a27a9
L
216622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21663
0e44a77e
L
21664 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21665 Use "neg %eax".
21666
5e1a27a9
L
21667 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21668 __rlim_t cast.
21669 (struct rusage): Use anonymous union to pad each field to
21670 __syscall_slong_t.
21671
46259bec
DM
216722012-05-21 David S. Miller <davem@davemloft.net>
21673
21674 * Makefules (o-iterator): Remove .s cases.
21675 (compile-command.s): Delete.
21676 (COMPILE.s): Delete.
21677 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21678
59f0c22e
JM
216792012-05-21 Joseph Myers <joseph@codesourcery.com>
21680
21681 * configure.in (libc_cv_predef_stack_protector): Only consider
21682 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21683 * configure: Regenerated.
21684
20c07380
L
216852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21686
bbb3154b
L
21687 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21688 New macro. Use R*LP on int and pointer.
21689 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
21690 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21691 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
21692 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21693
20c07380
L
21694 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21695 [__WORDSIZE_TIME64_COMPAT32] instead of
21696 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21697 (struct utmp): Likewise.
21698 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21699 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21700 Renamed to ...
21701 (__WORDSIZE_TIME64_COMPAT32): This.
21702 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21703 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21704 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21705 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21706 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21707 (__WORDSIZE_TIME64_COMPAT32): New macro.
21708
d8d1017e
AJ
217092012-05-21 Andreas Jaeger <aj@suse.de>
21710
21711 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21712 only if [SHARED]. Add prototype for __wcschr_ia32.
21713
6c7fb145
RM
217142012-05-21 Roland McGrath <roland@hack.frob.com>
21715
21716 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21717 of %rbp unmolested in the jmp_buf while mangling the low bits.
21718 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21719 unmolested high bits of %rbp while demangling the low bits.
21720 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21721
66274218
AJ
217222012-05-21 Andreas Jaeger <aj@suse.de>
21723
07c58f8f
AJ
21724 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21725 * sunrpc/svc_simple.c: Use it for registerrpc.
21726 * sunrpc/xcrypt.c: Use it for passwd2des.
21727
66274218
AJ
21728 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21729
61f65140
L
217302012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21731
21732 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21733 Don't define if [__SYSCALL_WORDSIZE != 32].
21734 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21735 New macro.
21736
5fefb436
AJ
217372012-05-21 Bruno Haible <bruno@clisp.org>
21738 Andreas Jaeger <aj@suse.de>
21739
21740 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21741 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21742 inptr and inend for must_buffer_ch.
21743 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21744 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21745 * stdio-common/Makefile (tests): Remove bug15.
21746 (bug15-ENV): Remove macro.
21747 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21748 anymore.
21749
d8e272ab
AJ
217502012-05-19 Andreas Jaeger <aj@suse.de>
21751 Roland McGrath <roland@hack.frob.com>
21752
21753 * manual/contrib.texi: Completely rewritten. It contains now an
21754 alphabetical list of contributors and their contributions.
21755
4a56a162
RH
217562012-05-21 Richard Henderson <rth@twiddle.net>
21757
21758 * misc/getauxval.c (__getauxval): Use unsigned long int.
21759 * misc/sys/auxv.h: Include <sys/cdefs.h>.
21760 (getauxval): Use unsigned long int.
21761
d024d23c
L
217622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21763
21764 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21765
cbc00a03
RM
217662012-05-21 Roland McGrath <roland@hack.frob.com>
21767
21768 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21769 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21770 __alignof__ (long double).
21771
478143fa
AZ
217722012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21773
21774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21775
c7683a6d
RH
217762012-05-20 Richard Henderson <rth@twiddle.net>
21777
21778 * misc/getauxval.c: New file.
21779 * misc/sys/auxv.h: New file.
21780 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21781 (routines): Add getauxval.
21782 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21783 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21784 * elf/dl-sysdep.c (_dl_auxv): Remove.
21785 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21786 * elf/dl-support.c (_dl_auxv): New variable.
21787 (_dl_aux_init): Initialize it.
21788 * manual/startup.texi (Auxiliary Vector): New node.
21789 * sysdeps/generic/bits/hwcap.h: New file.
21790 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21791 * sysdeps/powerpc/sysdep.h: ... here. Include it.
21792 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21793 * sysdeps/sparc/sysdep.h: ... here. Include it.
21794 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21795 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
21796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21797 Update.
c7683a6d
RH
21798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21801 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21806
a6f1845d
AZ
218072012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21808
21809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21810
cbcbe830
DM
218112012-05-19 David S. Miller <davem@davemloft.net>
21812
21813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21814
e0b16cc2
JM
218152012-05-19 Joseph Myers <joseph@codesourcery.com>
21816
21817 [BZ #14123]
21818 * math/s_ccosh.c: Include <float.h>
21819 (__ccosh): Avoid internal overflow calculating sinh and cosh
21820 values before multiplying by sin and cos values.
21821 * math/s_ccoshf.c: Likewise.
21822 * math/s_ccoshl.c: Likewise.
21823 * math/s_csin.c: Likewise.
21824 * math/s_csinf.c: Likewise.
21825 * math/s_csinl.c: Likewise.
21826 * math/s_csinh.c: Likewise.
21827 * math/s_csinhf.c: Likewise.
21828 * math/s_csinhl.c: Likewise.
21829 * math/libm-test.inc (ccos_test): Add more tests.
21830 (ccosh_test): Likewise.
21831 (csin_test): Likewise.
21832 (csinh_test): Likewise.
21833 * sysdeps/i386/fpu/libm-test-ulps: Update.
21834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21835
6ad13e08
L
218362012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21837
f66f0ce8
L
21838 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21839 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21840
6ad13e08
L
21841 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21842
b1d072a7
JM
218432012-05-19 Joseph Myers <joseph@codesourcery.com>
21844
21845 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21846 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21847 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21848 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21849 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21850 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21851 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21852 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21853 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21854 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21855 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21856 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21857 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21858 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21859 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21860 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21861 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21862 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21863 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21864 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21865 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21866 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21867 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21868 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21869 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21870 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21871 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21872 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21873 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21874 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21875 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21876
9eae47cb
AJ
218772012-05-18 Andreas Jaeger <aj@suse.de>
21878
21879 * csu/.gitignore: Delete.
21880
bb07f69f
L
218812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21882
21883 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21884 (timex): Use __syscall_slong_t.
21885
e6bdb741
AJ
218862012-05-18 Andreas Jaeger <aj@suse.de>
21887 Carlos O'Donell <carlos_odonell@mentor.com>
21888
21889 * manual/install.texi (Configuring and compiling): Update
21890 description about files modified in the source directory.
d6c33fda 21891 * INSTALL: Regenerated.
e6bdb741 21892
1b74487e
L
218932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21894
21895 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21896 value. Use "or" to set return value to -1.
21897 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21898 negate return value.
21899
a88b64b9
TMQMF
219002012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21901
21902 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21903 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21904 failure if the compiler has Graphite support disabled.
21905 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21906 Likewise.
21907 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21908 CFLAGS-memmove.c): Likewise.
21909 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21910 Likewise.
21911
3707636e
L
219122012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21913
610b8622
L
21914 * sysdeps/x86_64/x32/_itoa.h: New file.
21915
7cd195df
L
21916 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21917 getdents system call only if kernel and user dirents have the
21918 same d_ino and d_off.
21919
94b07d20
L
21920 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21921 LLONG_MAX != LONG_MAX.
21922 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21923 (_fitoa_word): Likewise.
21924
18298070
L
21925 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21926 years.
21927 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21928 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21929 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21930
553c7ea4
L
21931 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21932 include <bits/wordsize.h>. Check __x86_64__ instead of
21933 __WORDSIZE.
21934 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21935 if __x86_64__ is defined. Use anonymous union on fpstate.
21936
3707636e
L
21937 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21938 anonymous union.
21939
b53ef01a
AS
219402012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21941
37fb1dc0
AS
21942 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21943 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21944 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21945 Refer to _rtld_local_ro instead of _rtld_global_ro.
21946 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21947 Likewise.
21948 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21949 Likewise.
21950 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21951 Likewise.
21952 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21953 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21954 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21955
b53ef01a
AS
21956 * sysdeps/powerpc/powerpc32/dl-machine.c
21957 (__elf_machine_runtime_setup) [PROF]: Don't reference
21958 _dl_prof_resolve.
21959
7a185db2
AJ
219602012-05-18 Andreas Jaeger <aj@suse.de>
21961
21962 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21963 function only available for GCCs before 3.4 since GCC 3.4
21964 introduced a builtin.
21965 (lrint): Likewise.
21966 (llrintf): Likewise.
21967 (llrint): Likewise.
21968 (fmaxf): Likewise.
21969 (fmax): Likewise.
21970 (fminf): Likewise.
21971 (fmin): Likewise.
21972 (rint): Likewise.
21973 (rintf): Likewise.
21974 (nearbyint): Likewise.
21975 (nearbyintf): Likewise.
21976 (ceil): Likewise.
21977 (ceilf): Likewise.
21978 (floor): Likewise.
21979 (floorf): Likewise.
21980
3e5aef87
L
219812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21982
428bd707
L
21983 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21984 on both fields and cast pointer to __syscall_ulong_t.
21985
3e5aef87
L
21986 * bits/types.h (__fsword_t): New type.
21987 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21988 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21989 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21990 (__FSWORD_T_TYPE): Likewise.
21991 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21992 (__FSWORD_T_TYPE): Likewise.
21993 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21994 (__FSWORD_T_TYPE): Likewise.
21995 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21996 (__FSWORD_T_TYPE): Likewise.
21997 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21998 __SWORD_TYPE with __fsword_t.
21999 (statfs64): Likewise.
22000
1ba7c3dc
DM
220012012-05-17 David S. Miller <davem@davemloft.net>
22002
22003 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22004
59910343
AJ
220052012-05-17 Andreas Jaeger <aj@suse.de>
22006
22007 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22008 warning.
22009
2e4c1e9e
L
220102012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22011
22012 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22013
de7f5ce7
AJ
220142012-05-17 Andreas Jaeger <aj@suse.de>
22015
22016 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22017 when it is used.
22018
286abc3d
CM
220192012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22020
22021 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22022
477cc68e
L
220232012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22024
22025 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22026 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22027
1a0994f5
CD
220282012-05-17 Andreas Jaeger <aj@suse.de>
22029 Carlos O'Donell <carlos_odonell@mentor.com>
22030
22031 [BZ #14059]
22032 * sysdeps/x86_64/multiarch/init-arch.h
22033 (bit_YMM_Usable): Rename to...
22034 (bit_AVX_Usable): ... this.
22035 (bit_FMA4_Usable): New macro.
22036 (bit_XMM_state): New macro.
22037 (bit_YMM_state): New macro.
22038 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22039 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22040 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22041 (CPUID_OSXSAVE): New macro.
22042 (CPUID_AVX): New macro.
22043 (CPUID_FMA4): New macro.
22044 (index_YMM_Usable): Rename to...
22045 (index_AVX_Usable): ... this.
22046 (HAS_AVX): Use HAS_ARCH_FEATURE.
22047 (HAS_FMA4): Likewise.
22048 (HAS_YMM_USABLE): Remove.
22049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22050 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22051 are present.
22052 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22053 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22054 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22055 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22056 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22057
0af797de
CM
220582012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22059
22060 * math/libm-test.c: Support platforms without multiple rounding modes.
22061 * math/bug-nextafter.c: Support platforms without FP exceptions.
22062 * math/bug-nexttoward.c: Likewise.
22063 * math/test-fenv.c: Likewise.
22064 * math/test-misc.c: Likewise.
22065 * stdlib/bug-getcontext.c: Likewise.
22066
e39745ff
AJ
220672012-05-17 Andreas Jaeger <aj@suse.de>
22068
22069 * manual/examples/search.c (critter_cmp): Change signature to
22070 avoid warnings.
22071 * manual/string.texi (Collation Functions): Likewise.
22072
48970aba
L
220732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22074
22075 * bits/types.h: Fold copyright years.
22076 * bits/typesizes.h: Likewise.
22077 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22078 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22079 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22080 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22081 * time/time.h: Likewise.
22082
bedee953
PP
220832012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22084
22085 [BZ #208]
22086 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22087 in instead of returning them. Return void.
22088 (__libc_mallinfo): Accumulate over all arenas.
22089 (__malloc_stats): Adjust for change in int_mallinfo interface.
22090
61653dfb
RM
220912012-05-16 Roland McGrath <roland@hack.frob.com>
22092
30b99d79
RM
22093 [BZ #10375]
22094 * configure.in (NM): Add AC_CHECK_TOOL for it.
22095 (libc_extra_cflags): New substituted variable.
22096 Check for -fstack-protector being used implicitly.
22097 * configure: Regenerated.
22098 * config.make.in (config-extra-cflags): New variable,
22099 gets @libc_extra_cflags@.
22100 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22101
61653dfb
RM
22102 [BZ #10375]
22103 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22104 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22105 * configure: Regenerated.
22106 * config.make.in (CPPUNDEFS): New substituted variable.
22107 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22108 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22109 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22110
661768bb
L
221112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22112
22113 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22114 (mq_attr): Use __syscall_slong_t.
22115
d4261567
L
221162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22117
22118 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22119 Check __x86_64__ instead of __WORDSIZE.
22120 (_STAT_VER_LINUX): Likewise.
22121 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22122 __syscall_ulong_t and __syscall_slong_t.
22123 (stat64): Likewise.
22124
cf3ff365
L
221252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22126
22127 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22128
76cf3e4d
L
221292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22130
22131 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22132
a637753a
L
221332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22134
22135 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22136 __syscall_ulong_t.
22137
d5e05119
L
22138 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22139 include <bits/wordsize.h>. Check __x86_64__ instead of
22140 __WORDSIZE.
22141 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22142 defined.
22143 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22144
f62ee380
L
22145 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22146 include <bits/wordsize.h>. Check __x86_64__ instead of
22147 __WORDSIZE.
22148 (user_regs_struct): Use "__extension__ unsigned long long"
22149 instead of "unsigned long" if __x86_64__ is defined.
22150 (user): Likewise. Pad after pointer field if __ILP32__ is
22151 defined.
22152
4e124ced
JM
221532012-05-16 Joseph Myers <joseph@codesourcery.com>
22154
6a3951a0
JM
22155 * configure.in (makeinfo): Require version 4.5 or later. Allow
22156 versions 5 to 9.
22157 * configure: Regenerated.
22158 * manual/install.texi (texinfo): Increase version requirement to
22159 4.5 or later.
22160 * INSTALL: Regenerated.
22161
4e124ced
JM
22162 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22163
953ca31a
L
221642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22165
22166 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22167
617aca05
L
22168 * sysdeps/x86_64/x32/ffs.c: New file.
22169
5762f7ae
L
22170 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22171 __syscall_ulong_t.
22172 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22173 defined. Use __syscall_ulong_t.
22174 (shminfo): Use __syscall_ulong_t.
22175 (shm_info): Likewise.
22176
a26b6856
L
22177 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22178 __syscall_ulong_t.
22179
cb2b9ef7
L
22180 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22181 <bits/wordsize.h>.
22182 (msgqnum_t): Use __syscall_ulong_t.
22183 (msglen_t): Likewise.
22184 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22185 __syscall_ulong_t.
22186
34683bb0
L
22187 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22188 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22189
84a68786
L
22190 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22191
48baa5f1
L
22192 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22193 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22194
180be88b
L
22195 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22196 __syscall_slong_t.
22197
5e90c8ad
L
22198 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22199 include <bits/wordsize.h>. Check __x86_64__ instead of
22200 __WORDSIZE.
22201
23dfb58b
L
22202 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22203 "unsigned long long int" if __x86_64__ is defined.
22204 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22205
ce5d54b0
L
22206 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22207 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22208 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22209
13dc9eac
L
22210 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22211 <stdint.h>.
22212 (GET_PC): Cast to uintptr_t first.
22213 (GET_FRAME): Likewise.
22214 (GET_STACK): Likewise.
22215
a7895d15
L
22216 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22217 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22218 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22219 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22220 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22221 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22222 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22223 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22224 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22225 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22226 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22227 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22228 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22229 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22230 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22231 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22232 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22233 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22234 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22235 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22236 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22237 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22238 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22239 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22240 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22241 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22242 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22243 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22244 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22245
656416c9
AS
222462012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22247
5bd66283
AS
22248 * Makerules (+depfiles): Also collect depfiles from .oS in
22249 $(extra-objs).
22250 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22251 .oS, $(libnldbl-routines)).
22252
656416c9
AS
22253 * Makerules (native-compile-mkdep-flags): Define.
22254 * sunrpc/Makefile (extra-objs): Add $(addprefix
22255 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22256 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22257 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22258 calling $(make-target-directory).
22259
a46f2169
L
222602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22261
22262 * bits/types.h (__snseconds_t): Removed.
22263 * time/time.h (struct timespec): Replace __snseconds_t with
22264 __syscall_slong_t.
22265 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22266 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22267 Likewise.
22268 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22269 (__SNSECONDS_T_TYPE): Likewise.
22270 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22271 (__SNSECONDS_T_TYPE): Likewise.
22272 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22273 (__SNSECONDS_T_TYPE): Likewise.
22274
6af6528b
L
222752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22276
22277 * sysdeps/mach/hurd/bits/typesizes.h
22278 (__SYSCALL_SLONG_TYPE): New macro.
22279 (__SYSCALL_ULONG_TYPE): Likewise.
22280
de986b56
L
222812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22282
22283 * bits/types.h (__syscall_slong_t): New type.
22284 (__syscall_ulong_t): Likewise.
22285
22286 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22287 (__SYSCALL_ULONG_TYPE): Likewise.
22288 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22289 (__SYSCALL_SLONG_TYPE): Likewise.
22290 (__SYSCALL_ULONG_TYPE): Likewise.
22291 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22292 (__SYSCALL_SLONG_TYPE): Likewise.
22293 (__SYSCALL_ULONG_TYPE): Likewise.
22294 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22295 (__SYSCALL_SLONG_TYPE): Likewise.
22296 (__SYSCALL_ULONG_TYPE): Likewise.
22297
85736dc7
L
222982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22299
22300 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22301 Add sigaltstack-offsets.sym.
22302 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22303 <sigaltstack-offsets.h>.
22304 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22305 longjmp_msg pointer.
22306 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22307 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22308 signal stack.
22309 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22310
cc03b296
JM
223112012-05-15 Joseph Myers <joseph@codesourcery.com>
22312
a9538892
JM
22313 * elf/stackguard-macros.h: Remove file.
22314 * sysdeps/generic/stackguard-macros.h: New file.
22315 * sysdeps/i386/stackguard-macros.h: Likewise.
22316 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22317 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22318 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22319 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22320 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22321 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22322 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22323 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22324 <elf/stackguard-macros.h>.
22325
cc03b296
JM
22326 [BZ #14109]
22327 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22328 __aligned__ in attribute.
22329 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22330 (gregset_t): Likewise.
22331
93171016
L
223322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22333
22334 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22335 * sysdeps/x86_64/64/Implies-after: Here. New file.
22336 * sysdeps/x86_64/x32/Implies-after: New file.
22337
d86813a0
L
223382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22339
22340 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22341 and access return value for _dl_profile_fixup. Use R10_LP to
22342 load frame size.
22343
2953ec75
L
223442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22345
22346 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22347
3b550e9e
L
223482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22349
22350 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22351 * sysdeps/x86_64/x32/sysdep.h: New file.
22352
eda41706
L
223532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22354
22355 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22356 * sysdeps/x86_64/setjmp.S: Likewise.
22357
9ea01d93
AZ
223582012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22359
22360 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22361 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22362 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22363 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22364 remove unused global constant.
22365
02a91938
CM
223662012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22367
22368 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22369 include of <not-cancel.h>.
22370
6540185f
RM
223712012-05-15 Roland McGrath <roland@hack.frob.com>
22372
22373 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22374
509072a0
AJ
223752012-05-15 Jeff Law <law@redhat.com>
22376 Andreas Jaeger <aj@suse.de>
22377
22378 [BZ #13594]
22379 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22380 out from...
22381 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22382 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22383 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22384 code changing __hst_map_handle.map.
22385
ba75122d
RM
223862012-05-15 Roland McGrath <roland@hack.frob.com>
22387
22388 * configure.in (sysnames): Look for Implies-before and Implies-after
22389 files.
22390 * configure: Regenerated.
22391
890d8bd8
L
223922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22393
22394 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22395 8-byte data alignment with LP_SIZE alignment.
22396
f6ee6623
L
223972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22398
22399 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22400 into R10_LP.
22401
ea2626f6
L
224022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22403
22404 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22405
085f715e
L
224062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22407
22408 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22409 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22410 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22411 Likewise.
22412 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22413
be8498fc
L
224142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22415
22416 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22417 (stackinfo_sub_sp): Likewise.
22418
70bc83b9
L
224192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22420
22421 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22422 RAX_LP.
22423
9bc0b730
L
224242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22425
22426 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22427 into R*_LP.
22428
6d2850e7
L
224292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22430
22431 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22432 sizes into R*_LP.
22433
3cb84561
L
224342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22435
22436 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22437
54e2ed81
L
224382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22439
22440 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22441 into R11_LP and load __x86_64_shared_cache_size_half into
22442 R8_LP.
22443
8a17f349
L
224442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22445
22446 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22447 R8_LP.
22448
777b1eea
AZ
224492012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22450
22451 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22452 logb for POWER7.
22453 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22454 logbf for POWER7.
22455 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22456 logbl for POWER7.
22457 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22458 powerpc32/power7/fpu/s_logb.c via #include.
22459 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22460 powerpc32/power7/fpu/s_logbf.c via #include.
22461 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22462 powerpc32/power7/fpu/s_logbl.c via #include.
22463
d20d4ac2
JM
224642012-05-15 Joseph Myers <joseph@codesourcery.com>
22465
22466 * README.libm: Remove file.
22467
6cdef1ab
L
224682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22469
22470 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22471 count for x32. Use R*_LP and omit operand-size suffix.
22472
0b254d8f
L
224732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22474
22475 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22476 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22477 * sysdeps/x86_64/x32/shlib-versions: New file.
22478
ceb809dc
RM
224792012-05-14 Roland McGrath <roland@hack.frob.com>
22480
22481 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22482 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22483 Use _dl_fatal_printf instead.
22484
37f1abd4
JM
224852012-05-14 Joseph Myers <joseph@codesourcery.com>
22486
22487 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22488 set if not set by the user. Do not allow for being unset.
22489 * sysdeps/unix/sysv/linux/configure: Regenerated.
22490
11de3a33
L
224912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22492
22493 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22494 the `q' suffix from lea and replace .quad with ASM_ADDR.
22495
e02f153a
L
224962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22497
22498 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22499 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22500 instead of $17.
22501 (PTR_DEMANGLE): Likewise.
22502
520ae0fd
L
225032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22504
22505 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22506 (LP_OP): Likewise.
22507 (ASM_ADDR): Likewise.
22508 (RAX_LP): Likewise.
22509 (RBP_LP): Likewise.
22510 (RBX_LP): Likewise.
22511 (RCX_LP): Likewise.
22512 (RDI_LP): Likewise.
22513 (RSI_LP): Likewise.
22514 (RSP_LP): Likewise.
22515 (R8_LP): Likewise.
22516 (R9_LP): Likewise.
22517 (R10_LP): Likewise.
22518 (R10_LP): Likewise.
22519 (R11_LP): Likewise.
22520 (R12_LP): Likewise.
22521 (R13_LP): Likewise.
22522 (R14_LP): Likewise.
22523 (R15_LP): Likewise.
22524
b985be81
L
225252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22526
22527 * sysdeps/x86_64/x32/dl-machine.h: New file.
22528
6a4888ff
AJ
225292012-05-14 Andreas Jaeger <aj@suse.de>
22530
22531 * manual/Makefile (subdir): Remove export of subdir.
22532 (all): Remove target.
22533 (.PHONY): Remove all from list.
22534 (mkinstalldirs): Remove.
22535 (.PHONY): Remove installdirs from list.
22536 ($(inst_infodir)/libc.info): Use make-target-directory.
22537 (installdirs): Remove.
22538 (subdir_%): Remove.
22539 (glibc-targets): Remove.
22540 (lib): Remove.
22541 (stubs): Remove.
22542 ($(objpfx)stubs ../po/manual.pot): Remove.
22543 ($(objpfx)stamp%): Remove.
22544 (make-target-directory): Remove.
22545 (subdir_install): Remove.
22546 (routines): Remove.
22547 (aux): Remove.
22548 (sources): Remove.
22549 (objects): Remove.
22550 (headers): Remove.
22551
22552 [BZ #13750]
22553 * manual/.gitignore: Remove, it's not needed anymore.
22554 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22555 all files in it.
22556 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22557 directory.
22558 (texis): Renamed to $(objpfx)texis.
22559 (texis-path): New, contains path to generated files.
22560 (chapters.%): Use texis-path for complete path, add extra argument
22561 libc-texinfo.sh.
22562 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22563 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22564 (summary,texi, stamp-summary): Use complete path of
22565 files. Generate files in build dir.
22566 (dir-add.texi): Build in build dir.
22567 (libm-err.texi,stamp-libm-err): Likewise.
22568 (version.texi, stamp-version): Likewise.
22569 (.%c.texi): Likewise.
22570 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22571 (mostlyclean): Remove target.
22572 (realclean): Remove target.
22573 (generated): Add new variable with contents from mostlyclean and
22574 realclean, remove entries duplicated in common-mostlyclean, add
22575 stamp-libm-err and stamp-version.
22576 (generated-dirs): Add libc directory.
22577 ($(inst_infodir)/libc.info): Install files from build dir.
22578
22579 * manual/install.texi (Configuring and compiling): Adjust since
22580 the info files are not part of the tar ball anymore.
22581
7ac77294
AJ
225822012-05-14 Andreas Jaeger <aj@suse.de>
22583
22584 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22585 variable.
22586
ffb7875d
JM
225872012-05-14 Joseph Myers <joseph@codesourcery.com>
22588
22589 [BZ #13717]
22590 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22591 to 2.2.0 where earlier.
22592 * sysdeps/unix/sysv/linux/configure: Regenerated.
22593 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22594 Remove conditional code.
22595 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22596 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22597 Remove conditional code.
22598 [!__NR_lchown]: Likewise.
22599 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22600 [__NR_lchown]: Likewise.
22601 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22602 comment referencing __ASSUME_LCHOWN_SYSCALL.
22603 * sysdeps/unix/sysv/linux/i386/sigaction.c
22604 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22605 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22606 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22607 Remove conditional code.
22608 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22609 (__protocol_available): Remove #if 0 code.
22610 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22611 conditional code.
22612 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22613 * sysdeps/unix/sysv/linux/kernel-features.h
22614 (__ASSUME_GETCWD_SYSCALL): Don't define.
22615 (__ASSUME_REALTIME_SIGNALS): Likewise.
22616 (__ASSUME_PREAD_SYSCALL): Likewise.
22617 (__ASSUME_PWRITE_SYSCALL): Likewise.
22618 (__ASSUME_POLL_SYSCALL): Likewise.
22619 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22620 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22621 non-SPARC.
22622 (__ASSUME_SIOCGIFNAME): Don't define.
22623 (__ASSUME_MSG_NOSIGNAL): Likewise.
22624 (__ASSUME_SENDFILE): Define unconditionally.
22625 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22626 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22627 conditional code.
22628 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22629 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22630 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22631 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22632 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22633 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22634 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22636 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22637 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22639 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22640 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22642 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22643 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22645 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22646 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22648 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22649 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22651 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22652 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22654 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22655 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22657 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22658 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22659 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22660 Remove conditional code.
22661 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22662 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22663 Remove conditional code.
22664 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22665 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22666 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22667 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22668 Remove conditional code.
22669 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22670 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22671 Remove conditional code.
22672 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22673 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22674 Remove conditional code.
22675 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22676 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22677 Remove conditional code.
22678 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22679 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22680 Remove conditional code.
22681 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22682 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22683 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22684 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22685 * sysdeps/unix/sysv/linux/sigaction.c
22686 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22687 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22688 * sysdeps/unix/sysv/linux/sigpending.c
22689 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22690 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22691 * sysdeps/unix/sysv/linux/sigprocmask.c
22692 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22693 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22694 * sysdeps/unix/sysv/linux/sigsuspend.c
22695 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22696 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22697 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22698 (__libc_missing_rt_sigs): Remove.
22699 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22700 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22701 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22702 Remove conditional code.
22703 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22704 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22705 return 1.
22706 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22707 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22708 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22709 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22710
1bfb7291
AJ
227112012-05-14 Andreas Jaeger <aj@suse.de>
22712
caae5a81
AJ
22713 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22714 it's not used in glibc.
22715 (__coshm1): Likewise.
22716 (__acosh1p): Likewise.
22717 (__sgn): Likewise.
22718
1bfb7291
AJ
22719 * manual/string.texi (Copying and Concatenation): Add missing
22720 variable in concat example.
22721 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22722
c044d724
L
227232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22724
144c5467 22725 [BZ #14103]
c044d724
L
22726 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22727 __builtin_clzl with __builtin_clzll.
22728
2523c62b
L
227292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22730
22731 [BZ #14104]
22732 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22733 libc_freeres_ptr.
22734
d7bb4c42
LD
227352012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22736
22737 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22738 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22739 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22740 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22741
9dc4e1fb
MF
227422012-05-14 Mike Frysinger <vapier@gentoo.org>
22743
22744 * NEWS: Update ia64 info.
22745
c7df0112
AS
227462012-05-12 Andreas Schwab <schwab@linux-m68k.org>
22747
22748 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22749 used as bcopy.
22750
dc70356c
TS
227512012-05-12 Thomas Schwinge <thomas@codesourcery.com>
22752
22753 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22754 * sysdeps/unix/syscalls.list (dup3): Likewise.
22755 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22756 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22757
9fb1a21f
L
227582012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22759
22760 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22761 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22762
4822a2a5
L
227632012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22764
22765 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22766 thread pointer.
22767 (TLS_IE): Use mov/add instead of movq/addq to load thread
22768 pointer.
22769 (TLS_GD_PREFIX): New.
22770 (TLS_GD): Use it.
22771
842b81d6
DM
227722012-05-11 David S. Miller <davem@davemloft.net>
22773
22774 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22775 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22776 (_FPU_SETCW): Likewise.
22777
1cf463cd
L
227782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22779
22780 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22781 is 32-byte aligned.
22782
60cc4a18
AS
227832012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22784
22785 [BZ #11837]
22786 * iconvdata/gb18030.c: Update tables.
22787 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
22788 characters specially.
22789 (BODY for TO_LOOP): Add encoding of missing ranges.
22790
febb44a4
TS
227912012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22792
22793 [BZ #13673]
22794 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22795 * sysdeps/mach/hurd/dup3.c: Likewise.
22796 * sysdeps/mach/hurd/readlinkat.c: Likewise.
22797 * sysdeps/powerpc/memmove.c:: Likewise.
22798
0a10fb9e
L
227992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22800
22801 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22802 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22803
df8a552f
L
228042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22805
22806 * elf/elf.h (R_X86_64_RELATIVE64): New.
22807 (R_X86_64_NUM): Updated.
22808 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22809 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22810 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22811 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22812 tst-quad1pie tst-quad2pie
22813 (modules-names): Add tst-quadmod1 tst-quadmod2.
22814 ($(objpfx)tst-quad1): New dependency.
22815 ($(objpfx)tst-quad2): Likewise.
22816 ($(objpfx)tst-quad1pie): Likewise.
22817 ($(objpfx)tst-quad2pie): Likewise.
22818 * sysdeps/x86_64/tst-quad1.c: New file.
22819 * sysdeps/x86_64/tst-quad1pie.c: New file.
22820 * sysdeps/x86_64/tst-quad2.c: Likewise.
22821 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22822 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22823 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22824 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22825 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22826
f34d6f84
ST
228272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22828
f42d41d1
ST
22829 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22830 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22831 * streams/stropts.h (t_scalar_t): Define type.
22832
3c3571fc
ST
22833 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22834 (_PATH_PRESERVE): Set to "/var/lib".
22835 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22836
61f06bd3
ST
22837 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22838 instead of int.
22839
918d4d71
ST
22840 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22841 if __dir_mkfile succeeded.
22842
f34d6f84
ST
22843 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22844 checking for _hurd_dtablesize. Unlock it right after having
22845 finished _hurd_dtable allocation.
22846
10589b4a
TS
228472012-05-10 Thomas Schwinge <thomas@schwinge.name>
22848
674cdbc7
TS
22849 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22850 * sysdeps/mach/hurd/configure: Regenerated.
22851 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22852 special-casing to...
22853 * sysdeps/gnu/configure.in: ... this new file.
22854 * sysdeps/unix/sysv/linux/configure: Regenerated.
22855 * sysdeps/gnu/configure: New generated file.
22856
8e41b99f
TS
22857 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22858 for Linux: use nsec instead of usec, as well as:
22859 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22860 members of type struct timespec.
22861 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22862 New macros.
22863 (struct stat64): Likewise.
22864 (_STATBUF_ST_NSEC): New macro.
22865 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22866
10589b4a
TS
22867 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22868 __strtoul_internal rather than strtoul.
22869
63643c85
PT
228702012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22871
22872 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22873 and reject them.
22874
3faebe6a
ST
228752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22876
22877 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22878 which preserves existing values.
22879 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22880
c6474b07
PT
228812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22882
22883 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22884 TIMEOUT values. Return EINVAL for NFDS values either negative or
22885 greater than FD_SETSIZE.
22886
1043890b
ST
228872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22888
22889 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22890 allocated, call __vm_protect to finish enabling the existing space, and
22891 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22892 allocate the remainder.
22893
37ed8b9b
PT
228942012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22895
22896 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22897 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22898
db653660
ST
228992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22900
37ed8b9b
PT
22901 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22902 sysdeps/mach/hurd/readlink.c.
b29d4053 22903
db653660
ST
22904 * posix/tst-sysconf.c (posix_options): Only use
22905 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22906 _POSIX_SYNCHRONIZED_IO when they are defined
22907 * sysdeps/mach/hurd/bits/posix_opt.h:
22908 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22909 (_XOPEN_REALTIME): Undefine macro.
22910 (_XOPEN_REALTIME_THREADS): Undefine macro.
22911 (_XOPEN_SHM): Undefine macro.
22912 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22913 macro to -1.
22914 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22915 macro to -1.
22916 (_POSIX_ASYNC_IO): Undefine macro.
22917 (_POSIX_PRIORITIZED_IO): Undefine macro.
22918 (_POSIX_SPIN_LOCKS): Define macro to -1.
22919
ee16e894
ST
22920 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22921 SA_NODEFER, SA_RESETHAND.
22922 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22923 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22924 F_DUPFD_CLOEXEC.
22925
6103ae3b
TS
229262012-05-10 Thomas Schwinge <thomas@schwinge.name>
22927
22928 * elf/Makefile (pldd-modules): Define unconditionally.
22929
80b4e5f3
TS
229302012-05-10 Thomas Schwinge <thomas@schwinge.name>
22931
22932 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22933
edadcbd6
ST
229342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22935
22936 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22937 Return ENOENT when name is empty.
22938 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22939
80694780
TS
229402012-05-10 Thomas Schwinge <thomas@schwinge.name>
22941
1792c087
TS
22942 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22943
80694780
TS
22944 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22945
6b645f0d
ST
229462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22947
80694780
TS
22948 Fix mlock in all cases except non-readable pages.
22949 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22950 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 22951
6b645f0d
ST
22952 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22953 (__mkdir): When path is `/', just fail with EEXIST.
22954 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22955
e468f8a3
TS
229562012-05-10 Thomas Schwinge <thomas@schwinge.name>
22957
22958 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22959 <sys/uio.h> (for writev).
22960 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22961 and <sys/param.h> (for MIN).
22962
a4186cff
PT
229632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22964
22965 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22966 REQUESTED_TIME. Properly set the remaining time and return EINTR
22967 if interrupted.
22968
510bbf14
TS
229692012-05-10 Thomas Schwinge <thomas@schwinge.name>
22970
22971 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22972 Depend on against $(link-rpcuserlibs).
22973
5d5722e8
ST
229742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22975
a4186cff
PT
22976 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22977 (__libc_stack_end): Do not use attribute_relro.
22978 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22979 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 22980 to libthread-provided value.
a4186cff
PT
22981 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22982 attribute_relro.
5d5722e8 22983
37233df9
TS
229842012-05-10 Thomas Schwinge <thomas@schwinge.name>
22985
be971a2b
TS
22986 [BZ #3748]
22987 * bits/libc-lock.h (__libc_once_get): New macro.
22988 * sysdeps/mach/bits/libc-lock.h: Likewise.
22989 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22990 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22991 instead of using implementation details.
22992
37233df9
TS
22993 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22994 * libio/freopen.c: Likewise.
22995 * libio/freopen64.c: Likewise.
22996 * misc/syslog.c: Likewise.
22997 * nscd/connections.c: Likewise.
22998 * nscd/netgroupcache.c: Likewise.
22999 * sysdeps/posix/getcwd.c: Likewise.
23000
38de94a5
RM
230012012-05-10 Roland McGrath <roland@hack.frob.com>
23002
23003 * math/w_ilogbf.c: Add #include <limits.h>.
23004
67530489
ST
230052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23006
a4186cff 23007 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
23008 path instead of returning without unlocking.
23009
67530489
ST
23010 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23011 immediate-write ioctls.
23012 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23013
5aa3a74a
TS
230142012-05-10 Thomas Schwinge <thomas@schwinge.name>
23015
18bad2ae
TS
23016 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23017 __builtin_frame_address instead of making assumptions about the
23018 location of the return address relative to DATA. Force early load of
23019 the return address.
23020 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23021 __builtin_frame_address.
23022
5aa3a74a
TS
23023 dup3 for GNU Hurd.
23024 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23025 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23026 implement dup3 and do some further code clean-ups.
23027 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23028 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23029
ecd0de9a
ST
230302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23031
cd9fa985
ST
23032 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23033
a4186cff
PT
23034 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23035 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23036 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23037 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23038 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23039 d->port.lock.
802ca5a5 23040
a4186cff
PT
23041 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23042 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23043 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 23044
bcf55240
TS
230452012-05-10 Thomas Schwinge <thomas@schwinge.name>
23046
6960eb42
TS
23047 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23048 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23049 definitions.
23050
eb43375f
TS
23051 accept4 for GNU Hurd.
23052 * include/sys/socket.h (__libc_accept4): New prototype.
23053 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23054 to implement __libc_accept4.
23055 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23056 __libc_accept4.
23057 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23058
bcf55240
TS
23059 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23060 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23061 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23062 signal-defines.sym.
23063
6178c55b
ST
230642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23065
a4186cff 23066 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 23067
6f080c2f
TS
230682012-05-10 Thomas Schwinge <thomas@schwinge.name>
23069
23070 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23071 assertion on O_CLOEXEC flag.
23072 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23073 * hurd/intern-fd.c: Likewise.
23074 * hurd/port2fd.c: Likewise.
23075
bcfe3a54
ST
230762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23077
23078 [BZ #3906]
23079 * bits/in.h (IPV6_PKTINFO): Define new macro.
23080 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23081
89c9aa49
AZ
230822012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23083
23084 [BZ #13954]
23085 [BZ #13955]
23086 [BZ #13956]
23087 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23088 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23089 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23090 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23091 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23092 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23093 * math/libm-test.inc (logb_test) : Additional logb tests.
23094
021db4be
AJ
230952012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23096 Andreas Jaeger <aj@suse.de>
23097
23098 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23099 * configure: Regenerated.
23100 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23101 * config.make.in (link-obsolete-rpc): New substituted variable.
23102 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23103 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23104 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23105 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23106 so that libc.a contains the symbols.
23107 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23108 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23109 * sunrpc/auth_none.c: Likewise.
23110 * sunrpc/auth_unix.c: Likewise.
23111 * sunrpc/authdes_prot.c: Likewise.
23112 * sunrpc/authuxprot.c: Likewise.
23113 * sunrpc/clnt_gen.c: Likewise.
23114 * sunrpc/clnt_perr.c: Likewise.
23115 * sunrpc/clnt_raw.c: Likewise.
23116 * sunrpc/clnt_simp.c: Likewise.
23117 * sunrpc/clnt_tcp.c: Likewise.
23118 * sunrpc/clnt_udp.c: Likewise.
23119 * sunrpc/clnt_unix.c: Likewise.
23120 * sunrpc/des_crypt.c: Likewise.
23121 * sunrpc/des_soft.c: Likewise.
23122 * sunrpc/get_myaddr.c: Likewise.
23123 * sunrpc/key_call.c: Likewise.
23124 * sunrpc/key_prot.c: Likewise.
23125 * sunrpc/netname.c: Likewise.
23126 * sunrpc/pm_getmaps.c: Likewise.
23127 * sunrpc/pm_getport.c: Likewise.
23128 * sunrpc/pmap_clnt.c: Likewise.
23129 * sunrpc/pmap_prot.c: Likewise.
23130 * sunrpc/pmap_prot2.c: Likewise.
23131 * sunrpc/pmap_rmt.c: Likewise.
23132 * sunrpc/publickey.c: Likewise.
23133 * sunrpc/rpc_cmsg.c: Likewise.
23134 * sunrpc/rpc_common.c: Likewise.
23135 * sunrpc/rpc_dtable.c: Likewise.
23136 * sunrpc/rpc_prot.c: Likewise.
23137 * sunrpc/rpc_thread.c: Likewise.
23138 * sunrpc/rtime.c: Likewise.
23139 * sunrpc/svc.c: Likewise.
23140 * sunrpc/svc_auth.c: Likewise.
23141 * sunrpc/svc_raw.c: Likewise.
23142 * sunrpc/svc_run.c: Likewise.
23143 * sunrpc/svc_tcp.c: Likewise.
23144 * sunrpc/svc_udp.c: Likewise.
23145 * sunrpc/svc_unix.c: Likewise.
23146 * sunrpc/svcauth_des.c: Likewise.
23147 * sunrpc/xcrypt.c: Likewise.
23148 * sunrpc/xdr.c: Likewise.
23149 * sunrpc/xdr_array.c: Likewise.
23150 * sunrpc/xdr_float.c: Likewise.
23151 * sunrpc/xdr_intXX_t.c: Likewise.
23152 * sunrpc/xdr_mem.c: Likewise.
23153 * sunrpc/xdr_rec.c: Likewise.
23154 * sunrpc/xdr_ref.c: Likewise.
23155 * sunrpc/xdr_sizeof.c: Likewise.
23156 * sunrpc/xdr_stdio.c: Likewise.
23157
b5c086a2
RM
231582012-05-10 Roland McGrath <roland@hack.frob.com>
23159
23160 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23161 change. Update copyright years.
23162
6d74dd09
JM
231632012-05-10 Joseph Myers <joseph@codesourcery.com>
23164
23165 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23166
28e72501
MK
231672012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23168 Joseph Myers <joseph@codesourcery.com>
23169 Paul Pluzhnikov <ppluzhnikov@google.com>
23170
23171 [BZ #14012]
23172 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23173 requiring rpcgen.
23174 [cross-compiling] (extra-libs): Likewise.
23175 [cross-compiling] (extra-libs-others): Likewise.
23176 [cross-compiling] (librpcsvc-routines): Likewise.
23177 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23178 [cross-compiling] (omit-deps): Likewise.
23179 (sunrpc-CPPFLAGS): New variable.
23180 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23181 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23182 (cross-rpcgen-objs): New variable.
23183 (extra-objs): Append $(cross-rpcgen-objs).
23184 ($(cross-rpcgen-objs)): New rule.
23185 ($(objpfx)cross-rpcgen): Likewise.
23186 (rpcgen-cmd): Define to use $(built-program-file). Expand
23187 comment.
23188 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23189 ($(objpfx)x%.stmp): Likewise.
23190 * sunrpc/proto.h [IS_IN_build] (_): Define.
23191 [IS_IN_build] (_libc_intl_domainname): Likewise.
23192
c8c59454
L
231932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23194
23195 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23196 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23197 and R_X86_64_TPOFF64.
23198
6f27cd16
JM
231992012-05-10 Joseph Myers <joseph@codesourcery.com>
23200
23201 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23202 sysdeps/unix/sysv/syscalls.list.
23203 (stime): Likewise.
23204 (utime): Likewise.
23205 * sysdeps/unix/sysv/syscalls.list: Remove file.
23206
02467e1c
PE
232072012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23208
23209 [BZ #3440]
23210 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23211 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23212 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23213 (__LC_IDENTIFICATION): Make these macros useful in #if
23214 expressions, as required by C99.
23215
da392631
AS
232162012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23217
23218 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23219 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23220 after this.
23221
8115f29b
L
232222012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23223
23224 * stdlib/longlong.h: Updated from GCC.
23225
bdd74070
AJ
232262012-05-09 Andreas Jaeger <aj@suse.de>
23227
edfe0dbe
AJ
23228 * nscd/nscd.c (run_modes): Make named enum, reorder so that
23229 default is first entry.
23230 (run_mode): Set type.
23231 (main): Remove informal message about syslog.
23232 (options): Fix typo.
23233
bcfe3a54
ST
23234 [BZ #14053]
23235 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 23236 to asm.
bcfe3a54
ST
23237 (lrint): Likewise.
23238 (llrintf): Likewise.
23239 (llrint): Likewise.
23240 (rint): Likewise.
23241 (rintf): Likewise.
23242 (nearbyint): Likewise.
23243 (nearbyintf): Likewise.
bdd74070 23244
91d8d69e
AJ
232452012-05-09 Andreas Jaeger <aj@suse.de>
23246 Pedro Alves <palves@redhat.com>
23247
23248 * nscd/nscd.c (run_mode): Use enum.
23249 (main): Cleanup coding style issue.
23250
bb90b80b
AJ
232512012-05-09 Alexandre Oliva <aoliva@redhat.com>
23252 Andreas Jaeger <aj@suse.de>
23253
bcfe3a54
ST
23254 * nscd/nscd.c (go_background): Replaced with...
23255 (run_mode): ... this.
bb90b80b 23256 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
23257 (options): Add -F --foreground.
23258 (main): Implement it.
23259 (parse_opt): Parse it.
bb90b80b 23260
1a4b75a1
AJ
232612012-05-09 Andreas Jaeger <aj@suse.de>
23262
23263 [BZ #14083]
23264 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23265 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23266 -Wconversion warning.
23267 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23268 Likewise.
23269
b1cc2472
JM
232702012-05-09 Joseph Myers <joseph@codesourcery.com>
23271
23272 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23273 == 0.
23274 (LC_ALL): Use macro-int-constant.
23275 (LC_COLLATE): Likewise.
23276 (LC_CTYPE): Likewise.
23277 (LC_MESSAGES): Likewise.
23278 (LC_MONETARY): Likewise.
23279 (LC_NUMERIC): Likewise.
23280 (LC_TIME): Likewise.
23281 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23282 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23283 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23284 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23285 Specify type.
23286 [C99-based standards] (float_t): Expect type.
23287 [C99-based standards] (double_t): Expect type.
23288 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23289 type.
23290 [C99-based standards] (HUGE_VALL): Likewise.
23291 [C99-based standards] (INFINITY): Likewise.
23292 [C99-based standards] (NAN): Likewise.
23293 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23294 [C99-based standards] (FP_NAN): Likewise.
23295 [C99-based standards] (FP_NORMAL): Likewise.
23296 [C99-based standards] (FP_SUBNORMAL): Likewise.
23297 [C99-based standards] (FP_ZERO): Likewise.
23298 [C99-based standards] (FP_FAST_FMA): Use
23299 optional-macro-int-constant. Specify type. Require == 1.
23300 [C99-based standards] (FP_FAST_FMAF): Likewise.
23301 [C99-based standards] (FP_FAST_FMAL): Likewise.
23302 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23303 [C99-based standards] (FP_ILOGBNAN): Likewise.
23304 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23305 Specify type.
23306 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23307 [C99-based standards] (math_errhandling): Specify type.
23308 [ISO99 || ISO11] (signgam): Do not allow.
23309 [non-C99-based standards] (copysignf): Do not allow.
23310 [non-C99-based standards] (exp2f): Likewise.
23311 [non-C99-based standards] (log2f): Likewise.
23312 [non-C99-based standards] (modff): Allow.
23313 [non-C99-based standards] (erff): Do not allow.
23314 [non-C99-based standards] (erfcf): Likewise.
23315 [non-C99-based standards] (gammaf): Likewise.
23316 [non-C99-based standards] (hypotf): Likewise.
23317 [non-C99-based standards] (j0f): Likewise.
23318 [non-C99-based standards] (j1f): Likewise.
23319 [non-C99-based standards] (jnf): Likewise.
23320 [non-C99-based standards] (lgammaf): Likewise.
23321 [non-C99-based standards] (tgammaf): Likewise.
23322 [non-C99-based standards] (y0f): Likewise.
23323 [non-C99-based standards] (y1f): Likewise.
23324 [non-C99-based standards] (ynf): Likewise.
23325 [non-C99-based standards] (isnanf): Likewise.
23326 [non-C99-based standards] (acoshf): Likewise.
23327 [non-C99-based standards] (asinhf): Likewise.
23328 [non-C99-based standards] (atanhf): Likewise.
23329 [non-C99-based standards] (cbrtf): Likewise.
23330 [non-C99-based standards] (expm1f): Likewise.
23331 [non-C99-based standards] (ilogbf): Likewise.
23332 [non-C99-based standards] (log1pf): Likewise.
23333 [non-C99-based standards] (logbf): Likewise.
23334 [non-C99-based standards] (nextafterf): Likewise.
23335 [non-C99-based standards] (remainderf): Likewise.
23336 [non-C99-based standards] (rintf): Likewise.
23337 [non-C99-based standards] (scalbf): Likewise.
23338 [non-C99-based standards] (copysignl): Likewise.
23339 [non-C99-based standards] (exp2l): Likewise.
23340 [non-C99-based standards] (log2l): Likewise.
23341 [non-C99-based standards] (modfl): Allow.
23342 [non-C99-based standards] (erfl): Do not allow.
23343 [non-C99-based standards] (erfcl): Likewise.
23344 [non-C99-based standards] (gammal): Likewise.
23345 [non-C99-based standards] (hypotl): Likewise.
23346 [non-C99-based standards] (j0l): Likewise.
23347 [non-C99-based standards] (j1l): Likewise.
23348 [non-C99-based standards] (jnl): Likewise.
23349 [non-C99-based standards] (lgammal): Likewise.
23350 [non-C99-based standards] (tgammal): Likewise.
23351 [non-C99-based standards] (y0l): Likewise.
23352 [non-C99-based standards] (y1l): Likewise.
23353 [non-C99-based standards] (ynl): Likewise.
23354 [non-C99-based standards] (isnanl): Likewise.
23355 [non-C99-based standards] (acoshl): Likewise.
23356 [non-C99-based standards] (asinhl): Likewise.
23357 [non-C99-based standards] (atanhl): Likewise.
23358 [non-C99-based standards] (cbrtl): Likewise.
23359 [non-C99-based standards] (expm1l): Likewise.
23360 [non-C99-based standards] (ilogbl): Likewise.
23361 [non-C99-based standards] (log1pl): Likewise.
23362 [non-C99-based standards] (logbl): Likewise.
23363 [non-C99-based standards] (nextafterl): Likewise.
23364 [non-C99-based standards] (remainderl): Likewise.
23365 [non-C99-based standards] (rintl): Likewise.
23366 [non-C99-based standards] (scalbl): Likewise.
23367 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23368 [non-C99-based standards] (FP_*): Do not allow.
23369 [C99-based standards] (FP_*): Change to
23370 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23371 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23372 allow.
23373 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23374 (SIG_ERR): Likewise.
23375 [X/Open-based standards] (SIG_HOLD): Likewise.
23376 (SIG_IGN): Likewise.
23377 (SIGABRT): Use macro-int-constant. Specify type. Require
23378 positive value.
23379 (SIGFPE): Likewise.
23380 (SIGILL): Likewise.
23381 (SIGINT): Likewise.
23382 (SIGSEGV): Likewise.
23383 (SIGTER): Likewise.
23384 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23385 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23386 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23387 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23388 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23389 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23390 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23391 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23392 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23393 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23394 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23395 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23396 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23397 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23398 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23399 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23400 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23401 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23402 [X/Open-based standards] (SIGTRAP): Likewise.
23403 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23404 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23405 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23406 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23407 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23408 allow.
23409
b9f1922d
IW
234102012-05-08 Ian Wienand <ianw@vmware.com>
23411
23412 [BZ #14080]
23413 * time/tzset.c (__tzset_parse_tz): Update default rules for
23414 daylight time changes in the Energy Policy Act of 2005.
23415
1db86e88
AJ
234162012-05-09 Andreas Jaeger <aj@suse.de>
23417
23418 [BZ #13983]
23419 * elf/ldconfig.c (parse_conf): Change string to make clear that
23420 ldconfig only issued a warning if ld.so.conf does not exist.
23421
dee4a4e3
DM
234222012-05-08 David S. Miller <davem@davemloft.net>
23423
ee0db190
DM
23424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23425 movxtod instead of popping the value on the stack.
23426
dee4a4e3
DM
23427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23428
6a43ec98
CD
234292012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23430
23431 * config.h.in: Add HAVE_ARM_PCS_VFP.
23432
05c2c961
RMG
234332012-05-08 Roland Mc Grath <roland@hack.frob.com>
23434
bcfe3a54
ST
23435 [BZ #13979]
23436 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23437 checking but the checks are disabled for any reason.
05c2c961 23438
4b30f61a
L
234392012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23440
23441 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23442 and ELF64_R_TYPE with ELFW(R_TYPE).
23443
eee2bc67
JM
234442012-05-08 Joseph Myers <joseph@codesourcery.com>
23445
7ea5391a
JM
23446 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23447 (ulimit): Likewise.
23448
eee2bc67
JM
23449 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23450 (settimeofday): Likewise.
23451
abb66a67
MF
234522012-05-08 Mike Frysinger <vapier@gentoo.org>
23453
23454 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
23455 a struct th_u2 inside the union, and move tu_block/tu_code into
23456 a new th_u3 union of tu_block/tu_code inside of that. Move
23457 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
23458 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
23459 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23460 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23461 (th_stuff): Change to th_u1.tu_stuff.
23462 (th_data): Define.
23463 (th_msg): Change to th_u1.th_u2.tu_data.
23464
7f18b530
DM
234652012-05-07 David S. Miller <davem@davemloft.net>
23466
05760585
DM
23467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23468
7f18b530
DM
23469 [BZ #14074]
23470 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23471 (SETUP_PIC_REG): Use it.
23472 (SETUP_PIC_REG_LEAF): Use it.
23473
495fd99f
JM
234742012-05-07 Joseph Myers <joseph@codesourcery.com>
23475
23476 [BZ #13885]
23477 [BZ #13923]
23478 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23479 USE_AS_EXPM1L.
23480 (EXPL_FINITE): Likewise.
23481 (FLDLOG): Likewise.
23482 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23483 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23484 e_expl.S.
23485 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23486 USE_AS_EXPM1L.
23487 (EXPL_FINITE): Likewise.
23488 (FLDLOG): Likewise.
23489 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23490 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23491 e_expl.S.
23492 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23493 test of -max_value argument for long double.
23494 * sysdeps/i386/fpu/libm-test-ulps: Update.
23495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23496
6693d694
DM
234972012-05-06 David S. Miller <davem@davemloft.net>
23498
23499 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23500 quad soft-float symbols whose references which are compiler
23501 generated.
23502 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23503
6c23e11c
JM
235042012-05-06 Joseph Myers <joseph@codesourcery.com>
23505
d8b82cad
JM
23506 [BZ #13884]
23507 [BZ #13914]
23508 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23509 USE_AS_EXP10L.
23510 (EXPL_FINITE): Likewise.
23511 (FLDLOG): Likewise.
23512 (c0): Likewise.
23513 (c1): Likewise.
23514 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23515 Adjust comments for base varying.
23516 (__expl_finite): Change alias to EXPL_FINITE.
23517 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23518 e_expl.S.
23519 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23520 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23521 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23522 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23523 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23524 USE_AS_EXP10L.
23525 (EXPL_FINITE): Likewise.
23526 (FLDLOG): Likewise.
23527 (c0): Likewise.
23528 (c1): Likewise.
23529 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23530 Adjust comments for base varying.
23531 (__expl_finite): Change alias to EXPL_FINITE.
23532 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23533 tests for bugs.
23534 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23535
6c23e11c
JM
23536 [BZ #14064]
23537 * math/libm-test.inc (check_float_internal): Correct ulp
23538 calculation for subnormal expected results.
23539
29ba805c
AJ
235402012-05-06 Andreas Jaeger <aj@suse.de>
23541
23542 * Makeconfig (+math-flags): New, set to -frounding-math.
23543 (+cflags): Add +math-flags so that all of glibc gets compiled with
23544 it.
23545
23546 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23547
7b17aeda
JM
235482012-05-05 Joseph Myers <joseph@codesourcery.com>
23549
5779f134
JM
23550 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23551 Disable one test.
23552
41498f4d
JM
23553 [BZ #13787]
23554 [BZ #13922]
23555 [BZ #14036]
23556 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23557 (__ieee754_expl): Allow for and saturate large arguments.
23558 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23559 (u_threshold): Likewise.
23560 (__exp): Call __ieee754_exp before checking for overflow and
23561 underflow.
23562 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23563 (u_threshold): Likewise.
23564 (__expf): Call __ieee754_expf before checking for overflow and
23565 underflow.
23566 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23567 (u_threshold): Likewise.
23568 (__expl): Call __ieee754_expl before checking for overflow and
23569 underflow.
23570 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23571 (__ieee754_expl): Allow for and saturate large arguments.
23572 * math/libm-test.inc (exp_test): Add another test. Do not allow
23573 missing overflow exception on overflow.
23574 (expm1_test): Do not allow missing overflow exception on overflow.
23575
6698b8bf
JM
23576 * sysdeps/i386/fpu/e_expl.c: Move to ...
23577 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23578 rather than using inline asm.
23579 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23580 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23581 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23582
7b17aeda
JM
23583 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23584 (nice): Likewise.
23585 (poll): Likewise.
23586 (signal): Likewise.
23587 (time): Likewise.
23588 (times): Likewise.
23589
f7c85819
JM
235902012-05-04 Joseph Myers <joseph@codesourcery.com>
23591
23592 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23593 sysdeps/unix/common/syscalls.list.
23594 (fchmod): Likewise.
23595 (fchown): Likewise.
23596 (ftruncate): Likewise.
23597 (getrusage): Likewise.
23598 (gettimeofday): Likewise.
23599 (setpgid): Likewise.
23600 (setregid): Likewise.
23601 (setreuid): Likewise.
23602 (sigaction): Likewise.
23603 (truncate): Likewise.
23604 (vhangup): Likewise.
23605 * sysdeps/unix/common/syscalls.list: Remove file.
23606 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23607 * sysdeps/unix/sysv/linux/Implies: Likewise.
23608
336270d0
L
236092012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23610
23611 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23613 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23614 Moved to ...
23615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23616 Here.
23617 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23618 to ...
23619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23620 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23621 to ...
23622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23623 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23624 to ...
23625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23626 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23627 to ...
23628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23629 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23630 to ...
23631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23632 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23633 to ...
23634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23635 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23636 to ...
23637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23638 Here.
23639 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23640 to ...
23641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23642 Here.
23643 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23644 to ...
23645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23646 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23647 Moved to ...
23648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23649 Here.
23650 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23651 to ...
23652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23653
d128e450
JM
236542012-05-04 Joseph Myers <joseph@codesourcery.com>
23655
fa8ee516
JM
23656 * sysdeps/unix/common/bits/dirent.h: Remove file.
23657 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23658
d128e450
JM
23659 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23660 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23661 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23662 * sysdeps/unix/bsd/isatty.c: Likewise.
23663 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23664 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23665 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23666
ff8faaf0 236672012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 23668
62881be4 23669 [BZ #13563]
31dc8730
AZ
23670 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23671 long double comparison inaccuracies.
23672 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23674
6fef930c
AS
236752012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23676
23677 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23678 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23679
8f203e6c
JM
236802012-05-04 Joseph Myers <joseph@codesourcery.com>
23681
23682 [BZ #14049]
23683 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23684 nonzero digits before rounding a hex value.
23685 * stdlib/tst-strtod.c (tests): Add another test.
23686
5197d9c2
AK
236872012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23688
23689 * sysdeps/s390/fpu/libm-test-ulps: Update.
23690
f0c1dedf
AJ
236912012-05-03 Andreas Jaeger <aj@suse.de>
23692
23693 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23694 does not get optimized out.
23695 (malloc_opt_barrier): New.
23696
a65ef2ae 236972012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 23698 Roland McGrath <roland@hack.frob.com>
a65ef2ae 23699
2b942cb7 23700 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 23701 intermediate file deletion.
2b942cb7 23702 (generated): Add .symlist files.
a65ef2ae 23703
54b71e02
JM
237042012-05-03 Joseph Myers <joseph@codesourcery.com>
23705
23706 [BZ #13775]
23707 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23708 Redirect under this condition.
23709 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23710 [__USE_GNU] (__dprintf_chk): Not under this condition.
23711 [__USE_GNU] (__vdprintf_chk): Likewise.
23712 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23713 under this condition.
23714 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23715 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23716 [__USE_XOPEN2K8] (vdprintf): Likewise.
23717 [__USE_GNU] (__dprintf_chk): Not under this condition.
23718 [__USE_GNU] (__vdprintf_chk): Likewise.
23719 [__USE_GNU] (dprintf): Likewise.
23720 [__USE_GNU] (vdprintf): Likewise.
23721
d3dfcc41
RM
237222012-05-03 Roland McGrath <roland@hack.frob.com>
23723
23724 * elf/Makefile (common-generated): Set this instead of generated for
23725 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23726 $(all-built-dso)-derived lists.
23727
7ac30cc5
AJ
237282012-05-03 Andreas Jaeger <aj@suse.de>
23729
0c51e550
AJ
23730 * sysdeps/i386/fpu/libm-test-ulps: Update.
23731
7ac30cc5
AJ
23732 * FAQ: Removed.
23733 * FAQ.in: Likewise.
23734 * scripts/gen-FAQ.pl: Likewise.
23735 * manual/install.texi (Installation): Point to online location of
23736 FAQ.
23737 * Makefile (files-for-dist): Remove FAQ.
23738 (FAQ): Remove.
23739
d4c2917f
AM
237402012-05-02 Allan McRae <allan@archlinux.org>
23741
23742 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23743 (LDFLAGS-reldepmod5.so): Likewise.
23744 (LDFLAGS-reldep6mod1.so): Likewise.
23745 (LDFLAGS-reldep6mod4.so): Likewise.
23746 (LDFLAGS-reldep8mod3.so): Likewise.
23747 (LDFLAGS-unload4mod1.so): Likewise.
23748 (LDFLAGS-unload4mod2.so): Likewise.
23749 (LDFLAGS-tst-initorder): Likewise.
23750 (LDFLAGS-tst-initordera2.so): Likewise.
23751 (LDFLAGS-tst-initordera3.so): Likewise.
23752 (LDFLAGS-tst-initordera4.so): Likewise.
23753 (LDFLAGS-tst-initorderb2.so): Likewise.
23754 (LDFLAGS-noload): Likewise.
23755 (LDFLAGS-next): Likewise.
23756 (LDFLAGS-order2mod1.so): Likewise.
23757 (LDFLAGS-order2mod2.so): Likewise.
23758 (LDFLAGS-tst-initorder2): Likewise.
23759 (LDFLAGS-tst-initorder2a.so): Likewise.
23760 (LDFLAGS-tst-initorder2b.so): Likewise.
23761 (LDFLAGS-tst-initorder2c.so): Likewise.
23762 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23763
d77f993f
DM
237642012-05-02 David S. Miller <davem@davemloft.net>
23765
23766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23767
171a70b4
PP
237682012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23769
23770 [BZ #14055]
23771 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23772
0be196ad
AJ
237732012-05-02 Andreas Jaeger <aj@suse.de>
23774
23775 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23776 since we manipulate rounding mode.
23777 (CPPFLAGS-test-idouble.c): Likewise.
23778 (CPPFLAGS-test-ifloat.c): Likewise.
23779 (CFLAGS-test-ldouble.c): Likewise.
23780 (CFLAGS-test-double.c): Likewise.
23781 (CFLAGS-test-float.c): Likewise.
23782 (CFLAGS-test-misc.c): Likewise.
23783 (CFLAGS-test-test-fenv.c): Likewise.
23784
4f9d04aa
AZ
237852012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23786
2b942cb7
RM
23787 [BZ #2550]
23788 [BZ #2570]
23789 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23790 comparisons to determine direction to adjust input.
4f9d04aa 23791
82a79e7d
RM
237922012-05-01 Roland McGrath <roland@hack.frob.com>
23793
f5a01ca9
RM
23794 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23795 output to the target.
23796
90fe4186
RM
23797 * scripts/localplt.awk: New file.
23798 * elf/Makefile ($(objpfx)check-localplt): Target removed.
23799 (check-localplt-CFLAGS): Variable removed.
23800 ($(all-built-dso:=.jmprel)): New static pattern rule.
23801 (generated): Add those targets.
23802 (localplt-built-dso): New variable.
23803 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23804
23805 * elf/check-localplt.c: File removed.
23806
82397ed6
RM
23807 * scripts/check-execstack.awk: New file.
23808 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23809 (check-execstack-CFLAGS): Variable removed.
23810 ($(objpfx)check-execstack.h): Target removed.
23811 ($(objpfx)execstack-default): New target.
23812 (generated): Add that instead of check-execstack.h.
23813 ($(all-built-dso:=.phdr)): New static pattern rule.
23814 (generated): Add those targets.
23815 * elf/check-execstack.c: File removed.
23816
82a79e7d
RM
23817 * scripts/check-textrel.awk: New file.
23818 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23819 (check-textrel-CFLAGS): Variable removed.
23820 (all-built-dso): Use := to define.o
23821 ($(all-built-dso:=.dyn)): New static pattern rule.
23822 (generated): Add those targets.
23823 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23824 * config.make.in (READELF): New substituted variable.
23825 * elf/check-textrel.c: File removed.
23826
62fde54f 238272012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 23828
615605c9
JM
23829 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23830 allow.
23831 * conform/data/ctype.h-data [C99-based standards] (isblank):
23832 Expect function.
23833 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23834 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23835 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23836 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23837 Specify type. Require positive value.
23838 (EILSEQ): Likewise.
23839 (ERANGE): Likewise.
23840 [ISO || POSIX] (EILSEQ): Do not expect.
23841 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23842 Specify type. Require positive value.
23843 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23844 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23845 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23846 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23847 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23848 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23849 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23850 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23851 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23852 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23853 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23854 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23855 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23856 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23857 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23858 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23859 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23860 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23861 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23862 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23863 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23864 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23865 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23866 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23867 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23868 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23869 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23870 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23871 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23872 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23873 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23874 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23875 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23876 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23877 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23878 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23879 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23880 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23881 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23882 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23883 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23884 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23885 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23886 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23887 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23888 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23889 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23890 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23891 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23892 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23893 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23894 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23895 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23896 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23897 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23898 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23899 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23900 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23901 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23902 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23903 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23904 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23905 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23906 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23907 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23908 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23909 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23910 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23911 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23912 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23913 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23914 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23915 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23916 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23917 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23918 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23919 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23920 Require >= 2.
23921 (FLT_ROUNDS): Expect as macro, not constant.
23922 (FLT_MANT_DIG): Use macro-int-constant.
23923 (DBL_MANT_DIG): Likewise.
23924 (LDBL_MANT_DIG): Likewise.
23925 (FLT_DIG): Likewise.
23926 (DBL_DIG): Likewise.
23927 (LDBL_DIG): Likewise.
23928 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23929 (DBL_MIN_EXP): Likewise.
23930 (LDBL_MIN_EXP): Likewise.
23931 (FLT_MAX_EXP): Use macro-int-constant.
23932 (DBL_MAX_EXP): Likewise.
23933 (LDBL_MAX_EXP): Likewise.
23934 (FLT_MAX_10_EXP): Likewise.
23935 (DBL_MAX_10_EXP): Likewise.
23936 (LDBL_MAX_10_EXP): Likewise.
23937 (FLT_MAX): Use macro-constant.
23938 (DBL_MAX): Likewise.
23939 (LDBL_MAX): Likewise.
23940 (FLT_EPSILON): Use macro-constant. Give upper bound.
23941 (DBL_EPSILON): Likewise.
23942 (LDBL_EPSILON): Likewise.
23943 (FLT_MIN): Likewise.
23944 (DBL_MIN): Likewise.
23945 (LDBL_MIN): Likewise.
23946 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23947 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23948 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23949 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23950 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23951 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23952 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23953 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23954 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23955 [ISO11] (FLT_TRUE_MIN): Likewise.
23956 [ISO11] (LDBL_TRUE_MIN): Likewise.
23957 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23958 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23959 (SCHAR_MIN): Use macro-int-constant. Specify type.
23960 (SCHAR_MAX): Likewise.
23961 (UCHAR_MAX): Likewise.
23962 (CHAR_MIN): Likewise.
23963 (CHAR_MAX): Likewise.
23964 (MB_LEN_MAX): Use macro-int-constant.
23965 (SHRT_MIN): Use macro-int-constant. Specify type.
23966 (SHRT_MAX): Likewise.
23967 (USHRT_MAX): Likewise.
23968 (INT_MAX): Likewise.
23969 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23970 bound negative.
23971 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23972 bound with "U".
23973 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23974 bound with "L".
23975 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23976 bound negative. Suffix upper bound with "L".
23977 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23978 bound with "UL".
23979 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23980 Specify type.
23981 [C99-based standards] (LLONG_MAX): Likewise.
23982 [C99-based standards] (ULLONG_MAX): Likewise.
23983 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23984 == 0.
23985 [ISO11] (max_align_t): Require type.
23986 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23987
c9140a62
JM
23988 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23989 from $CFLAGS, without defining away __attribute__ calls.
23990 (checknamespace): Use $CFLAGS_namespace.
23991
9af0bf29
JM
23992 * conform/conformtest.pl (@keywords): Only include C99 keywords
23993 for standards based on C99 or C11.
23994
343222a2
JM
23995 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23996 Disable tests.
23997 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23998 UNIX98]: Likewise.
23999
661f8cf0
JM
24000 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24001 usability of symbols in #if.
24002
ee74b9cb
JM
24003 * conform/conformtest.pl: If macro or constant types start
24004 "promoted:", expect the symbol to be of the following type
24005 promoted by the integer promotions.
62fde54f 24006
aafc49b3
JM
24007 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24008 in one place. Also handle "macro-constant".
24009
fefdf574
JM
24010 * conform/conformtest.pl: Only accept expected macro values with
24011 "==". Parse all "macro" lines in one place.
24012 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24013
f2d922fe
JM
24014 * conform/conformtest.pl: Handle braced types on "constant" lines
24015 instead of handling "typed-constant".
24016 * conform/data/signal.h-data: Use "constant" instead of
24017 "typed-constant".
24018
d22956c9
JM
24019 * conform/conformtest.pl: Handle "optional-" at start of lines in
24020 one place rather than duplicating several cases. Handle each
24021 format of "macro" line with initial "optional-".
24022
028e2e38
JM
24023 * conform/conformtest.pl: Only accept expected constant or
24024 optional-constant values with "==". Parse all "constant" lines in
24025 one place. Parse all "optional-constant" lines in one place.
24026 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24027 * conform/data/fmtmsg.h-data: Likewise.
24028 * conform/data/netinet/in.h-data: Likewise.
24029 * conform/data/tar.h-data: Likewise.
24030 * conform/data/limits.h-data: Use "==" form on "constant" and
24031 "optional-constant" lines.
24032
1b8f2850
JM
24033 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24034 Use -std=c99 for XOPEN2K.
24035 (@knownproblems): Remove.
24036 (newtoken): Don't check %isknown.
24037
a05a144b
JM
24038 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24039 Do not expect macro.
24040 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24041 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24042 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24043 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24044 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24045 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24046 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24047 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24048 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24049 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24050 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24051 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24052 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24053 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24054 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24055 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24056 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24057 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24058 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24059 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24060 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24061 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24062 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24063 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24064 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24065 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24066 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24067 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24068 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24069 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24070 [XPG3] (acosh): Likewise.
24071 [XPG3] (asinh): Likewise.
24072 [XPG3] (atanh): Likewise.
24073 [XPG3] (cbrt): Likewise.
24074 [XPG3] (expm1): Likewise.
24075 [XPG3] (ilogb): Likewise.
24076 [XPG3] (log1p): Likewise.
24077 [XPG3] (logb): Likewise.
24078 [XPG3] (nextafter): Likewise.
24079 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24080 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24081 [XPG3] (remainder): Likewise.
24082 [XPG3] (rint): Likewise.
24083 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24084 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24085 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24086 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24087 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24088 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24089 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24090 [UNIX98 || XOPEN2K] (scalb): Expect.
24091 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24092 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24093 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24094 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24095 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24096 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24097 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24098 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24099 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24100 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24101 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24102 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24103 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24104 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24105 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24106 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24107 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24108 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24109 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24110 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24111 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24112 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24113 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24114 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24115 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24116 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24117 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24118 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24119 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24120 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24121 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24122 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24123 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24124 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24125 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24126 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24127 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24128 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24129 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24130 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24131 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24132 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24133 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24134 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24135 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24136 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24137 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24138 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24139 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24140 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24141 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24142 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24143 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24144 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24145 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24146 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24147 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24148 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24149 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24150 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24151 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24152 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24153 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24154 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24155 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24156 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24157 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24158 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24159 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24160 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24161 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24162 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24163 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24164 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24165 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24166 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24167 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24168 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24169 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24170 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24171 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24172 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24173 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24174 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24175 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24176 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24177 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24178 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24179 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24180 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24181 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24182 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24183 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24184 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24185 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24186 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24187 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24188 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24189 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24190 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24191 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24192 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24193 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24194 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24195 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24196 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24197 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24198 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24199 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24200 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24201 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24202 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24203 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24204 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24205 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24206 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24207 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24208 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24209 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24210 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24211 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24212 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24213 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24214 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24215 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24216 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24217 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24218 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24219 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24220 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24221 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24222 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24223 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24224 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24225 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24226 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24227 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24228
73c5ebe3
JM
24229 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24230 _XOPEN_SOURCE_EXTENDED for XPG4.
24231
39c33b6c
JM
24232 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24233
62fde54f
JM
24234 * Makeconfig (localtime): Remove variable.
24235 (inst_localtime-file): Likewise.
24236
0741d64c
AS
242372012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24238
24239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24240 Update.
24241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24242 Update.
24243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24244 Update.
24245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24246 Update.
24247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24248 Update.
24249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24250 Update.
24251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24252 Update.
24253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24254 Update.
24255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24256 Update.
24257
7cb029ee
JM
242582012-05-01 Joseph Myers <joseph@codesourcery.com>
24259
24260 [BZ #2550]
24261 [BZ #2570]
24262 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24263 comparisons to determine direction to adjust input.
24264 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24265 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24266 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24267 Likewise.
24268 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24269 Likewise.
24270 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24271 Likewise.
24272 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24273 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24274 Likewise.
24275 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24276 Likewise.
24277 * math/libm-test.inc (nexttoward_test): Add more tests.
24278
412bd966
AS
242792012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24280
24281 [BZ #14040]
24282 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24283 in version GLIBC_2.1, not GLIBC_2.0.
24284 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24285 Likewise.
24286
9568c0c2
JM
242872012-04-30 Joseph Myers <joseph@codesourcery.com>
24288
adfbc8ac
JM
24289 [BZ #13942]
24290 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24291 (1 - x) * (1 + x).
24292 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24293 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24294 * math/libm-test.inc (acos_test): Add more tests.
24295 (asin_test): Likewise.
24296 * sysdeps/i386/fpu/libm-test-ulps: Update.
24297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24298
5ba3cc69
JM
24299 [BZ #14034]
24300 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24301 of square root.
24302 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24303 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24304 * math/libm-test.inc (acos_test_tonearest): New function.
24305 (acos_test_towardzero): Likewise.
24306 (acos_test_downward): Likewise.
24307 (acos_test_upward): Likewise.
24308 (asin_test_tonearest): Likewise.
24309 (asin_test_towardzero): Likewise.
24310 (asin_test_downward): Likewise.
24311 (asin_test_upward): Likewise.
24312 (main): Call the new functions.
24313 * sysdeps/i386/fpu/libm-test-ulps: Update.
24314 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24315
9568c0c2
JM
24316 [BZ #13884]
24317 [BZ #13924]
24318 * math/e_exp10.c: Include <float.h>.
24319 (__ieee754_exp10): Handle underflow here rather than multiplying
24320 large negative argument by M_LN10.
24321 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24322 of __ieee754_expf.
24323 * math/e_exp10l.c: Include <float.h>.
24324 (__ieee754_exp10l): Handle underflow here rather than multiplying
24325 large negative argument by M_LN10l.
24326 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24327 spurious overflow exception on underflow.
24328
5ac3ea17
MP
243292012-04-29 Marek Polacek <polacek@redhat.com>
24330
24331 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24332 (__fortify_function): New macro.
24333 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24334 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24335 __extern_always_inline.
24336 * libio/bits/stdio2.h: Likewise.
24337 * libio/bits/stdio.h: Likewise.
24338 * string/string.h: Likewise.
24339 * string/bits/string3.h: Likewise.
24340 * include/stdio.h: Likewise.
24341 * stdlib/bits/stdlib.h: Likewise.
24342 * stdlib/stdlib.h: Likewise.
24343 * rt/bits/mqueue2.h: Likewise.
24344 * rt/mqueue.h: Likewise.
24345 * posix/bits/unistd.h: Likewise.
24346 * posix/unistd.h: Likewise.
24347 * io/bits/poll2.h: Likewise.
24348 * io/bits/fcntl2.h: Likewise.
24349 * io/fcntl.h: Likewise.
24350 * io/sys/poll.h: Likewise.
24351 * misc/bits/syslog.h: Likewise.
24352 * misc/bits/syslog-ldbl.h: Likewise.
24353 * misc/sys/syslog.h: Likewise.
24354 * socket/bits/socket2.h: Likewise.
24355 * socket/sys/socket.h: Likewise.
24356 * debug/tst-chk1.c: Likewise.
24357 * wcsmbs/bits/wchar2.h: Likewise.
24358 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24359 * wcsmbs/wchar.h: Likewise.
24360
ecf0ebfb
AJ
243612012-04-29 Andreas Jaeger <aj@suse.de>
24362
24363 * Makerules (tests): Remove enable-check-abi protection.
24364 (check-abi-warn): Remove.
24365 (check-abi-%): Remove check-abi-warn usage.
24366
24367 * configure.in: Remove check-abi configure option.
24368 * configure: Regenerated.
24369 * config.make.in (enable-check-abi): Remove.
24370
6d5c57fa
AS
243712012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24372
24c5d07e 24373 [BZ #14033]
ded5180a
AS
24374 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24375 double functions to double *_finite functions.
24376
7e0d315d
AS
24377 [BZ #13941]
24378 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24379 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24380 LDBL_MIN_EXP.
24381 * stdio-common/Makefile (tests): Add tst-sprintf3.
24382 * stdio-common/tst-sprintf3.c: New file.
24383
6d5c57fa
AS
24384 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24385 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24386
0749ff8b
JM
243872012-04-28 Joseph Myers <joseph@codesourcery.com>
24388
24389 * conform/conformtest.pl: Remove duplicate typed-constant
24390 handling.
24391
8dbd5d7b
DM
243922012-04-28 David S. Miller <davem@davemloft.net>
24393
24394 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24395 (check-abi-%): Remove AWK script prerequisite and explicit
24396 abilist directory.
24397 (check-abi): Rewrite to just diff the symlist with the abilist.
24398 (config-tls, config-abi-config): Delete, no longer used.
24399 (update-abi-%): Remove AWK script and explicit abilist directory.
24400 (update-abi): Rewrite to simply compare and conditionally copy the
24401 symlist and the sysdep abilist file. Remove update-abi-config
24402 checks.
24403 * abilist/ld.abilist: Remove.
24404 * abilist/libBrokenLocale.abilist: Remove.
24405 * abilist/libanl.abilist: Remove.
24406 * abilist/libcrypt.abilist: Remove.
24407 * abilist/libdl.abilist: Remove.
24408 * abilist/librt.abilist: Remove.
24409 * abilist/libthread_db.abilist: Remove.
24410 * abilist/libutil.abilist: Remove.
24411 * scripts/extract-abilist.awk: Remove.
24412 * scripts/merge-abilist.awk: Remove.
24413 * sysdeps/generic/libcidn.abilist: New file.
24414 * sysdeps/generic/libnss_compat.abilist: New file.
24415 * sysdeps/generic/libnss_db.abilist: New file.
24416 * sysdeps/generic/libnss_dns.abilist: New file.
24417 * sysdeps/generic/libnss_files.abilist: New file.
24418 * sysdeps/generic/libnss_hesiod.abilist: New file.
24419 * sysdeps/generic/libnss_nis.abilist: New file.
24420 * sysdeps/generic/libnss_nisplus.abilist: New file.
24421 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24422 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24423 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24424 file.
24425 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24426 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24427 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24428 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24429 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24430 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24431 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24432 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24433 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24434 file.
24435 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24436 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24437 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24438 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24439 file.
24440 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24441 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24442 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24443 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24444 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24445 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24446 file.
24447 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24448 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24449 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24450 file.
24451 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24453 New file.
24454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24455 New file.
24456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24457 New file.
24458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24459 New file.
24460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24461 New file.
24462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24463 New file.
24464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24465 New file.
24466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24467 New file.
24468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24469 New file.
24470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24471 New file.
24472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24473 New file.
24474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24475 New file.
24476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24477 New file.
24478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24479 file.
24480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24481 New file.
24482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24483 New file.
24484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24485 file.
24486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24487 New file.
24488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24489 New file.
24490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24491 file.
24492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24493 New file.
24494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24495 New file.
24496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24497 New file.
24498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24499 New file.
24500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24501 New file.
24502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24503 New file.
24504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24506 file.
24507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24508 New file.
24509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24510 file.
24511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24512 file.
24513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24514 file.
24515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24516 file.
24517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24518 file.
24519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24520 New file.
24521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24522 file.
24523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24524 file.
24525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24526 New file.
24527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24528 file.
24529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24531 file.
24532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24533 New file.
24534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24535 file.
24536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24537 file.
24538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24539 file.
24540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24541 file.
24542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24543 file.
24544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24545 New file.
24546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24547 file.
24548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24549 file.
24550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24551 New file.
24552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24553 file.
24554 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24555 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24556 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24557 file.
24558 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24559 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24560 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24561 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24562 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24563 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24564 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24565 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24566 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24567 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24570 file.
24571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24572 New file.
24573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24574 file.
24575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24576 file.
24577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24578 file.
24579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24580 file.
24581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24582 file.
24583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24584 New file.
24585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24586 New file.
24587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24588 file.
24589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24590 New file.
24591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24592 file.
24593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24595 file.
24596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24597 New file.
24598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24599 file.
24600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24601 file.
24602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24603 file.
24604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24605 file.
24606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24607 file.
24608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24609 New file.
24610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24611 New file.
24612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24613 file.
24614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24615 New file.
24616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24617 file.
24618
41d73a1b
JM
246192012-04-28 Joseph Myers <joseph@codesourcery.com>
24620
24621 * conform/conformtest.pl: Fix typo in handling typed-constant from
24622 allow-header.
24623
28aeeda4
JM
246242012-04-27 Joseph Myers <joseph@codesourcery.com>
24625
adae8f5e
JM
24626 * README: Cut down references to pre-2.6 Linux kernels and
24627 Linuxthreads. Update lists of configurations in libc and ports
24628 and sort alphabetically. Say "or newer" with Linux kernel version
24629 requirements.
24630
28aeeda4
JM
24631 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24632
a462cb63
RA
246332012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24634
24635 [BZ #887]
24636 * math/libm-test.inc (logb_test_downward): New test to expose
24637 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24638 rounding mode.
24639
6ad3493e
JM
246402012-04-27 Joseph Myers <joseph@codesourcery.com>
24641
24642 [BZ #14027]
24643 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24644 to be done.
24645 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24646 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24647
2ce4f015
JM
246482012-04-26 Joseph Myers <joseph@codesourcery.com>
24649
5aeb141a
JM
24650 * sysdeps/unix/i386/brk.S: Remove file.
24651 * sysdeps/unix/i386/dl-brk.S: Likewise.
24652 * sysdeps/unix/i386/pipe.S: Likewise.
24653 * sysdeps/unix/i386/sigreturn.S: Likewise.
24654 * sysdeps/unix/i386/syscall.S: Likewise.
24655 * sysdeps/unix/i386/vfork.S: Likewise.
24656 * sysdeps/unix/i386/wait.S: Likewise.
24657
7143acae
JM
24658 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24659 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24660
2ce4f015
JM
24661 * configure.in (arm*-none*): Do not allow without
24662 --enable-hacker-mode.
24663 (netbsd*): Remove case setting base_os.
24664 (386bsd*): Likewise.
24665 (freebsd*): Likewise.
24666 (bsdi*): Likewise.
24667 (osf*): Likewise.
24668 (sunos*): Likewise.
24669 (ultrix*): Likewise.
24670 (newsos*): Likewise.
24671 (dynix*): Likewise.
24672 (*bsd*): Likewise.
24673 (sysv*): Likewise.
24674 (isc*): Likewise.
24675 (esix*): Likewise.
24676 (sco*): Likewise.
24677 (minix*): Likewise.
24678 (irix4*): Likewise.
24679 (irix6*): Likewise.
24680 (solaris[2-9]*): Likewise.
24681 (none): Likewise.
24682 * configure: Regenerated.
24683
0ac229c8
AZ
246842012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24685
24686 [BZ #11521]
24687 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24688 overflow or cancellation in calculating denominator.
24689 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24690 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24691 down expression to avoid unexpected rounding in newer GCCs.
24692 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24693
33f244f4
DM
246942012-04-26 David S. Miller <davem@davemloft.net>
24695
24696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24697 long-double compat symbols.
24698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24711
cfa1f3e8
DM
247122012-04-25 David S. Miller <davem@davemloft.net>
24713
24714 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24715 HWCAP_* values only after the memory barriers have been defined.
24716 (atomic_full_barrier): Define.
24717 (atomic_read_barrier): Define.
24718 (atomic_write_barrier): Define.
24719
6e236b92
SP
247202012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24721
24722 * shlib-versions: Add libgcc_s version information.
24723 * sysdeps/generic/libgcc_s.h: Remove.
24724 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24725 libgcc_s.h.
24726 * sysdeps/gnu/unwind-resume.c: Likewise.
24727 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24728
aab39a09
DM
247292012-04-25 David S. Miller <davem@davemloft.net>
24730
24731 * sysdeps/unix/sparc/brk.S: Delete.
24732 * sysdeps/unix/sparc/dl-brk.S: Delete.
24733 * sysdeps/unix/sparc/pipe.S: Delete.
24734 * sysdeps/unix/sparc/sysdep.S: Delete.
24735 * sysdeps/unix/sparc/sysdep.h: Delete.
24736 * sysdeps/unix/sparc/vfork.S: Delete.
24737 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24738 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24739 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24740 ret_ERRVAL, r0, r1, MOVE): Define.
24741 (JUMPTARGET): Remove.
24742 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24743 sysdeps/unix/sparc/sysdep.h
24744 (ENTRY, END): Remove.
24745 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24746
a3cc4f48
JM
247472012-04-25 Joseph Myers <joseph@codesourcery.com>
24748
2ed8cda2
JM
24749 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24750 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24751 -DIS_IN_build.
24752
35d76d59
JM
24753 * timezone/README: Update upstream location and email address for
24754 tzcode and tzdata.
24755 * timezone/zdump.c: Update from tzcode 2012b.
24756 * timezone/zic.c: Likewise.
24757
a3cc4f48
JM
24758 * configure.in (libc_cv_as_needed): Remove test.
24759 * configure: Regenerated.
24760 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24761 conditional definition.
24762 [$(have-as-needed) != yes] (no-as-needed): Likewise.
24763 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24764 * config.make.in (have-as-needed): Remove variable.
24765
ceab42c3
SP
247662012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24767 Paul Pluzhnikov <ppluzhnikov@google.com>
24768
24769 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24770 strings correctly.
24771
3ce2865f
CLT
247722012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
24773
24774 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24775 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24776 * sysdeps/sh/strlen.S: Likewise.
24777
f37e0d68
JM
247782012-04-24 Joseph Myers <joseph@codesourcery.com>
24779
ae186e9a
JM
24780 * sysdeps/unix/fork.S: Remove file.
24781 * sysdeps/unix/i386/fork.S: Likewise.
24782 * sysdeps/unix/sparc/fork.S: Likewise.
24783
b96914af
JM
24784 * sysdeps/unix/system.c: Remove file.
24785 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24786
f37e0d68
JM
24787 * sysdeps/unix/getegid.S: Remove file.
24788 * sysdeps/unix/geteuid.S: Likewise.
24789
87ef29ca
RM
247902012-04-24 Roland McGrath <roland@hack.frob.com>
24791
83bcd236
RM
24792 * scripts/check-localplt.awk: New file.
24793 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24794 of diff.
24795 * scripts/data/localplt-generic.data: Add a comment.
24796
87ef29ca
RM
24797 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24798 NODE when __dir_mkfile failed.
24799 * sysdeps/mach/hurd/symlinkat.c: Likewise.
24800 Reported by Ludovic Courtès <ludo@gnu.org>.
24801
e5a6e567
AJ
248022012-04-24 Andreas Jaeger <aj@suse.de>
24803
24804 * Makerules (common-clean): Also remove gen-as-const-headers
24805 files.
24806
c1820385
JM
248072012-04-24 Joseph Myers <joseph@codesourcery.com>
24808
24809 * Makerules (native-compile): Do not change working directory for
24810 build. Use $(OUTPUT_OPTION) in command.
24811 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24812
94e02fc4
AZ
248132012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24814
24815 [BZ #13886]
24816 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24817 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24818 * math/libm-test.inc (floor_test): Add more tests.
24819 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24820
3a533ca3
JM
248212012-04-24 Joseph Myers <joseph@codesourcery.com>
24822
940ab4b3
JM
24823 * sysdeps/unix/getdents.c: Remove file.
24824 * sysdeps/unix/sysv/getdents.c: Likewise.
24825 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24826
90e037bd
JM
24827 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24828 sysdeps/unix/mman/syscalls.list.
24829 (mmap): Likewise.
24830 (mprotect): Likewise.
24831 (msync): Likewise.
24832 (munmap): Likewise.
24833 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24834 * sysdeps/unix/mman/syscalls.list: Remove.
24835 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24836
3a533ca3
JM
24837 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24838 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24839 * configure: Regenerated.
24840 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24841 $(libgcc_s_suffix).
24842 * config.make.in (libgcc_s_suffix): Remove variable.
24843
1ad743de
JM
248442012-04-23 Joseph Myers <joseph@codesourcery.com>
24845
4ad451e2
JM
24846 * sysdeps/unix/sysv/gethostname.c: Move to ...
24847 * sysdeps/posix/gethostname.c: ... here.
24848
5e37ce39
JM
24849 * sysdeps/unix/execve.S: Remove file.
24850
1ad743de
JM
24851 * sysdeps/unix/_exit.S: Remove file.
24852
4e681b5b
AJ
248532012-04-23 Andreas Jaeger <aj@suse.de>
24854
24855 [BZ #13739]
24856 * manual/Makefile: Remove make dist support, there's no
24857 need for a stand-alone documentation tar ball.
24858 (TEXI2DVI): Define always, it's not in Makeconfig.
24859 (dist): Removed.
24860 (tar-it): Removed.
24861 (edition): Removed.
24862 (glibc-doc-$(edition).tar): Removed
24863 (%.Z): Removed.
24864 (%.gz): Removed.
24865 (%.uu): Removed.
24866 (ETAGS): Remove, it's in Makeconfig.
24867 (move-if-change): Remove, it's in Makeconfig.
24868
38686a03 248692012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
24870
24871 [BZ #13970]
24872 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24873 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24874 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24875 (strtod_l, strtof_l, strtold_l): Remove __wur.
24876 It is not necessarily an error to ignore strtol's return value.
24877 One can reliably look at the stored endptr to decide whether
24878 the number had valid syntax.
24879
7c0616fa
AJ
248802012-04-21 Andreas Jaeger <aj@suse.de>
24881
803cb6b7 24882 [BZ #13739]
7c0616fa
AJ
24883 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24884
b0fe253f
JM
248852012-04-21 Joseph Myers <joseph@codesourcery.com>
24886
24887 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24888 * sysdeps/unix/sysv/Versions: Remove file.
24889
8280f22d
MT
248902012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24891
24892 [BZ #13927]
24893 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24894
75ce411f 248952012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
24896
24897 [BZ #7064]
24898 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24899 version from __vm86.
24900
097d59fa
JM
249012012-04-20 Joseph Myers <joseph@codesourcery.com>
24902
a90f3bcb
JM
24903 * sysdeps/unix/common/lxstat.c: Remove file.
24904 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24905
edc7ea78
JM
24906 * sysdeps/unix/sysv/Makefile: Remove file.
24907
cb78c221
JM
24908 * sysdeps/unix/sysv/direct.h: Remove file.
24909
efa6a45f
JM
24910 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24911 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24912 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24913 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24914 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24915 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24916 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24917
9c9f2d0c
JM
24918 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24919
4541c83b
JM
24920 * sysdeps/unix/xmknod.c: Remove file.
24921 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24922
f5d153a0
JM
24923 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24924
aa746595
JM
24925 * sysdeps/unix/sysv/i386/time.S: Remove file.
24926
cce5905e
JM
24927 * sysdeps/unix/fxstat.c: Remove file.
24928 * sysdeps/unix/xstat.c: Likewise.
24929 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24930
37fa3841
JM
24931 * sysdeps/unix/sysv/sigaction.c: Remove file.
24932
ff1962a3
JM
24933 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24934 (sysdep_headers): Remove variable.
24935 [termio.h not in sysdep_headers] (generated): Likewise.
24936 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24937 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24938 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24939 * sysdeps/unix/sysv/tcflow.c: Likewise.
24940 * sysdeps/unix/sysv/tcflush.c: Likewise.
24941 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24942 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24943 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24944 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24945 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24946
e7740d31
JM
24947 * sysdeps/unix/siglist.c: Remove file.
24948
ee06f18b
JM
24949 * sysdeps/unix/getppid.S: Remove file.
24950
097d59fa
JM
24951 * sysdeps/unix/mkdir.c: Remove file.
24952 * sysdeps/unix/rmdir.c: Likewise.
24953
ff3d51ec
AS
249542012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24955
24956 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24957 ERR_MAX value.
24958 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24959 errlist-compat value.
24960
50f81fd7
DM
249612012-04-18 David S. Miller <davem@davemloft.net>
24962
24963 * sysdeps/generic/memcopy.h (reg_char): Delete.
24964 * debug/strcat_chk.c: Use char, not reg_char.
24965 * debug/strcpy_chk.c: Likewise.
24966 * debug/strncat_chk.c: Likewise.
24967 * debug/strncpy_chk.c: Likewise.
24968 * string/memchr.c: Likewise.
24969 * string/memrchr.c: Likewise.
24970 * string/rawmemchr.c: Likewise.
24971 * string/strcat.c: Likewise.
24972 * string/strchr.c: Likewise.
24973 * string/strchrnul.c: Likewise.
24974 * string/strcmp.c: Likewise.
24975 * string/strcpy.c: Likewise.
24976 * string/strncat.c: Likewise.
24977 * string/strncmp.c: Likewise.
24978 * string/strncpy.c: Likewise.
24979
8ff41c46
WS
249802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24981
24982 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24983 __builtin_memcopy is called when src and dest ranges are known to not
24984 overlap.
24985
6b652f46
WS
249862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24987
24988 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24989 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24990 fwd_align_merge macro call.
24991 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24992 bwd_align_merge macro call.
24993 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24994
b282631e
WS
249952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24996
24997 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24998 bwd_align_merge macros.
24999 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25000 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25001 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25002
95aa737c
DM
250032012-04-18 David S. Miller <davem@davemloft.net>
25004
25005 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25006
7a99a614
AJ
250072012-04-18 Andreas Jaeger <aj@suse.de>
25008
25009 [BZ# 6794]
25010 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25011 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25012 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25013
25014 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25015 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25016 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25017
25018 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25019 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25020 Adjust for changed ldbl-128 files.
25021
25022 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25023 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25024 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25025
e5270c23
DM
250262012-04-17 David S. Miller <davem@davemloft.net>
25027
25028 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25029
fb5e92c9
AS
250302012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25031
25032 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25033 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25034 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25035 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25036 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25037 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25038
76da7265
AZ
250392012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25040
25041 [BZ #6794]
25042 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25043 * math/libm-test.inc: Add ilogb errno and exception tests.
25044 * math/w_ilogb.c: New file: ilogb wrapper.
25045 * math/w_ilogbf.c: New file: ilogbf wrapper.
25046 * math/w_ilogbl.c: New file: ilogbl wrapper.
25047 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25048 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25049 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25050 exception being thrown with 0.0 as argument.
25051 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25052 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25053 exception being thrown with 0.0 as argument.
25054 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25055 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25056 exception being thrown with 0.0 as argument.
25057 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25058 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25059 exception being thrown with 0.0 as argument.
25060 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25061 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 25062 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
25063 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25064 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25065 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25066 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25067 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25068 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25069
0396e69d
PB
250702012-04-17 Petr Baudis <pasky@ucw.cz>
25071
25072 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25073 with altivec.
25074
750b5926
MP
250752012-04-16 Marek Polacek <polacek@redhat.com>
25076
25077 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25078
751728a1
MP
250792012-04-16 Marek Polacek <polacek@redhat.com>
25080
25081 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25082 operands of fdivp instruction.
25083
34a27407
L
250842012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25085
25086 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25087 * elf/tst-auditmod3b.c: Likewise.
25088 * elf/tst-auditmod4b.c: Likewise.
25089 * elf/tst-auditmod5b.c: Likewise.
25090 * elf/tst-auditmod6b.c: Likewise.
25091 * elf/tst-auditmod6c.c: Likewise.
25092 * elf/tst-auditmod7b.c: Likewise.
25093 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25094 * sysdeps/x86_64/preconfigure.in: Likewise.
25095 * sysdeps/x86_64/preconfigure: Regenerated.
25096
7e73e17d
L
250972012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25098
25099 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25100 __ILP32__.
25101
c7a6ab72
AB
251022012-04-13 Antoine Balestrat <merkil33@gmail.com>
25103
25104 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25105 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25106
a9e8e0e0
CL
251072012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25108
25109 [BZ #13973]
25110 * locale/iso-639.def: Fix gl language name. Spotted by
25111 Yaron Shahrabani.
25112
ec98af7d
RM
251132012-04-12 Roland McGrath <roland@hack.frob.com>
25114
25115 [BZ #2074]
25116 * libio/libio.h (__io_write_fn): Update comment.
25117
247c3ede
PB
251182012-04-12 Petr Baudis <pasky@ucw.cz>
25119
25120 [BZ #2074]
25121 * stdio.texi (Hook Functions): The user provided writer function
25122 is not allowed to return -1.
25123
55939d6d
DM
251242012-04-11 David S. Miller <davem@davemloft.net>
25125
25126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25127
90020f5a
MF
251282012-04-11 Mike Frysinger <vapier@gentoo.org>
25129
25130 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25131 Add a leading slash to rtkaio.
25132
288f9098
JM
251332012-04-11 Jim Meyering <meyering@redhat.com>
25134
90020f5a
MF
25135 [BZ #11959]
25136 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25137 It is not necessarily an error to ignore fwrite's return
25138 value. One can reliably use ferror to test for errors after
25139 the fact.
288f9098 25140
4be2b570
L
251412012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25142
25143 * bits/types.h (__snseconds_t): New type.
25144 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25145
25146 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25147 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25148 (__SNSECONDS_T_TYPE): Likewise.
25149 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25150 (__SNSECONDS_T_TYPE): Likewise.
25151 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25152 (__SNSECONDS_T_TYPE): Likewise.
25153
288f9098 251542012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
25155
25156 [BZ #2636]
25157 * manual/time.texi (Processor Time): Return type of times is
25158 elapsed real time since an arbitrary point in the past.
25159 (CPU Time): Move CLK_TCK from here...
25160 (Processor Time): ...to here. Correct description.
25161 * manual/conf.texi (Constants for Sysconf): Correct description of
25162 _SC_CLK_TCK.
25163
d7dd4413
DM
251642012-04-10 David S. Miller <davem@davemloft.net>
25165
25166 [BZ #13967]
25167 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25168 where the is a gap between DT_REL(A) and DT_JMPREL.
25169
b46068fc
L
251702012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25171
25172 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25173 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25174 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25175
73d65cc3
SP
251762012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25177
25178 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25179 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25180 (dl_main): Handle --inhibit-cache.
25181 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25182 _dl_inhibit_cache.
25183 * elf/dl-load.c (_dl_map_object): Use it.
25184 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25185
bcc8d661
JM
251862012-04-09 Joseph Myers <joseph@codesourcery.com>
25187
8f9a2fae
JM
25188 [BZ #13872]
25189 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25190 (__ieee754_powl): Saturate large exponents rather than testing for
25191 overflow of y*log2(x).
25192 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25193 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25194 exceptions.
25195
bcc8d661
JM
25196 [BZ #11521]
25197 * math/s_ctan.c: Include <float.h>.
25198 (__ctan): Avoid internal overflow or cancellation in calculating
25199 denominator.
25200 * math/s_ctanf.c: Likewise.
25201 * math/s_ctanl.c: Likewise.
25202 * math/s_ctanh.c: Likewise.
25203 * math/s_ctanhf.c: Likewise.
25204 * math/s_ctanhl.c: Likewise.
25205 * math/libm-test.inc (ctan_test): Add more tests.
25206 (ctanh_test): Likewise.
25207 * sysdeps/i386/fpu/libm-test-ulps: Update.
25208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25209
823fbbb4
AJ
252102012-04-09 Andreas Jaeger <aj@suse.de>
25211
03879793
AJ
25212 [BZ #6894]
25213 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25214 is an optional BSD extension.
25215
823fbbb4
AJ
25216 [BZ #10254]
25217 * manual/stdio.texi (Opening Streams): Document additional fopen
25218 parameters.
25219
8de131cb
RM
252202012-04-09 Roland McGrath <roland@hack.frob.com>
25221
25222 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25223 %eax without telling the compiler.
25224
c0ed9d7d
CD
252252012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25226
25227 [BZ # 13963]
25228 * manual/install.texi: Use sourceware.org.
25229
c483f6b4
JM
252302012-04-09 Joseph Myers <joseph@codesourcery.com>
25231
d7dd9453
JM
25232 [BZ #13873]
25233 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25234 (__ieee754_pow): Generate overflow and underflow using huge*huge
25235 and tiny*tiny rather than just returning constant infinity or zero
25236 for large exponents.
25237 * math/libm-test.inc (pow_test): Require overflow exceptions for
25238 applicable cases of large exponents.
25239
c483f6b4
JM
25240 [BZ #706]
25241 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25242 (__ieee754_pow): Use iterative multiplication algorithm only for
25243 integer exponents with absolute value below 1024. Check for odd
25244 integer exponents when using algorithm for real exponents.
25245 * math/libm-test.inc (pow_test): Add more tests.
25246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25247
d2de7579
JM
252482012-04-08 Joseph Myers <joseph@codesourcery.com>
25249
25250 [BZ #13705]
25251 * math/libm-test.inc (exp_test): Do not allow overflow exception
25252 on underflow test.
25253
f77f1232
AJ
252542012-04-08 Aurelien Jarno <aurelien@aurel32.net>
25255
25256 [BZ #13705]
25257 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25258 instead of __kernel_standard_f.
25259
3884932b
MF
252602012-04-08 Mike Frysinger <vapier@gentoo.org>
25261
25262 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25263 * sysdeps/x86_64/memset_chk.S: Likewise.
25264
54472e9c
AJ
252652012-04-08 Andreas Jaeger <aj@suse.de>
25266
6ab0fbfc
AJ
25267 [BZ #10153]
25268 * manual/startup.texi (Environment Access): Describe return value
25269 for putenv and setenv.
25270
61efba8c
AJ
25271 [BZ #6895]
25272 * manual/filesys.texi (Directory Entries): Add description for
25273 DT_LNK.
25274
95c3f29a
AJ
25275 [BZ #6890]
25276 * manual/filesys.texi (Directory Entries): Clarify that it's file
25277 system not operating system in the description of DT_UNKNOWN.
25278
54472e9c
AJ
25279 [BZ #6578]
25280 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25281
624254b1
SC
252822012-04-08 Stephen Compall <s11@member.fsf.org>
25283
25284 [BZ #6649]
25285 * manual/llio.texi (Opening and Closing Files): Add cross
25286 reference to explain mode argument.
25287
1e4920e0
MF
252882012-04-07 Mike Frysinger <vapier@gentoo.org>
25289
25290 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25291 * sysdeps/x86_64/memset_chk.S: Likewise.
25292
5ed848f3
DM
252932012-04-07 David S. Miller <davem@davemloft.net>
25294
25295 * elf/elf.h (R_SPARC_WDISP10): Define.
25296 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25297 R_SPARC_SIZE32.
25298 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25299 R_SPARC_SIZE64 and R_SPARC_H34.
25300
96154cd8
CD
253012012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25302
25303 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25304 conditions and remove no longer applicable assertion.
25305
9904dc47
L
253062012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25307
25308 * bits/byteswap.h: Include <features.h>.
25309 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25310 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25311
f8887d0a
L
253122012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25313
25314 * bits/byteswap.h (__bswap_16): Removed.
25315 Include <bits/byteswap-16.h> to get __bswap_16.
25316 * sysdeps/i386/bits/byteswap.h: Likewise.
25317 * sysdeps/s390/bits/byteswap.h: Likewise.
25318 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25319 * bits/byteswap-16.h: New file.
25320 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25321 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25322 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25323 * string/Makefile (headers): Add bits/byteswap-16.h.
25324
62470f60
PP
253252012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25326
25327 [BZ #13895]
25328 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25329 extra indirection.
25330 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25331 * nss/tst-nss-static.c: New.
25332
4dad7bab
RM
253332012-04-06 Robert Millan <rmh@gnu.org>
25334
25335 [BZ #6486]
25336 * manual/llio.texi (File Position Primitive): lseek
25337 refers to WHENCE when it really means OFFSET.
25338
e9142a17
AJ
253392012-04-06 Andreas Jaeger <aj@suse.de>
25340
2c040eff
AJ
25341 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25342 strncmp declarations.
25343
e9142a17
AJ
25344 * abilist/libc.abilist: Add __poll and __ppoll.
25345
ff9f1c5f
DM
253462012-04-05 David S. Miller <davem@davemloft.net>
25347
dcd2ae90
DM
25348 * scripts/check-local-headers.sh: Accept a host triplet in the
25349 path matched by the exclude regexp.
25350
993eb054
DM
25351 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25352 definition.
25353 * sysdeps/powerpc/powerpc32/dl-machine.h
25354 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25355 * sysdeps/s390/s390-32/dl-machine.h
25356 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25357 * sysdeps/sparc/sparc32/dl-machine.h
25358 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25359 * sysdeps/sparc/sparc64/dl-machine.h
25360 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25361
ff9f1c5f
DM
25362 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25363 lazy binding.
48e2e132 25364 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
25365 undefined symbol errors.
25366
48e2e132 25367 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
25368 DT_NEEDED entries.
25369
e80d6f94
MM
253702012-04-05 Michael Matz <matz@suse.de>
25371
25372 [BZ #13592]
25373 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25374
349fa79f
AJ
253752012-04-05 Andreas Jaeger <aj@suse.de>
25376
25377 [BZ #13908]
25378 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25379 comment.
25380
f402708f
KK
253812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25382
25383 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25384 which ROUND is no valid rounding mode.
25385
2ecccfc9
KK
253862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25387
25388 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25389 read again.
25390 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25391
8a53f50f
KK
253922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25393
25394 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25395 an exception using FPU order intentionally.
25396
253972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25398
25399 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25400 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25401 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25402 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25403
d653abb7
SJ
254042012-04-05 Simon Josefsson <simon@josefsson.org>
25405
25406 [BZ #12340]
25407 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25408 EINVAL when BUFLEN is too smal.
25409
c3b1bf7d
TS
254102012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25411
25412 [BZ #13553]
25413 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25414 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25415
b1aa60f3
AJ
254162012-04-03 Andreas Jaeger <aj@suse.de>
25417
c3b1bf7d 25418 [BZ #13938]
67f60a26
AJ
25419 * manual/setjmp.texi (System V contexts): Fix sentence.
25420
b1aa60f3
AJ
25421 [BZ #13926]
25422 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25423 New macro for this case.
25424 [!__GNUC__] (__bswap_64): New inline function for this case.
25425 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25426 * bits/byteswap.h: Likewise.
25427 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25428 ull, guard with __GLIBC_HAVE_LONG_LONG.
25429
25430 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25431 __GLIBC_HAVE_LONG_LONG.
25432
25433 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25434 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25435
39c59c35
TMQMF
254362012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25437
25438 [BZ #13691]
25439 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25440 inptr and inend, rather than using last_ch.
25441
135ffda8
DM
254422012-04-02 David S. Miller <davem@davemloft.net>
25443
25444 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25445 * stdio-common/printf-parse.h (read_int): Change return type to
25446 'int', return -1 on INT_MAX overflow.
25447 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25448 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25449 overflows INT_MAX. Check for overflow of in-format-string precision
25450 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25451 SIZE_MAX not INT_MAX for integer overflow test.
25452 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25453 skip the construct in the format string but do not record anything.
25454 * stdio-common/bug22.c: Adjust to test both width/prevision
25455 INT_MAX overflow as well as total length INT_MAX overflow. Check
25456 explicitly for proper errno values.
25457
228c019e
TS
254582012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25459
302cadd3
TS
25460 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25461 CHAR_MAX.
25462 * string/test-strcmp.c [! WIDE]: Likewise.
25463 * time/tst-mktime2.c: Likewise for INT_MAX.
25464 * string/test-string.h: #include <sys/param.h> for MIN.
25465
228c019e
TS
25466 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25467 * sysdeps/i386/init-first.c (init): Likewise.
25468 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25469 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25470 * sysdeps/sh/init-first.c (init): Likewise.
25471
cfa633f5
UD
254722012-04-01 Ulrich Drepper <drepper@gmail.com>
25473
25474 * po/ru.po: Update from translation team.
d1635ef8 25475 * po/vi.po: Likewise.
cfa633f5 25476
6cd0a5ea
SP
254772012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25478
25479 * resolv/nss_dns/dns-host.c: Merge copyright years.
25480
4b43400f
LD
254812012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25482
25483 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25484 Optimize memcpy with prefetch if
25485 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25486 src, dst pointers have unequal 16 byte alignments.
25487
48c41d04
SP
254882012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25489
25490 [BZ #13928]
25491 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25492 from a CNAME entry and return the minimum ttl for the query.
25493 (gaih_getanswer_slice): Likewise.
25494
b8dc394d
JL
254952012-03-30 Jeff Law <law@redhat.com>
25496
25497 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25498 due to long keys.
25499 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25500 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25501
2f5a5ed0
JL
25502 * resolv/nss_dns/dns-host.c: Update copyright year.
25503
1d39e359
UD
255042012-03-30 Ulrich Drepper <drepper@gmail.com>
25505
c030f70c 25506 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 25507 requests to save a system call. Fix check that all bytes are sent.
c030f70c 25508
1d39e359
UD
25509 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25510 comments for sendmmsg.
25511
255122012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
25513
25514 [BZ #13691]
25515 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25516 with only 1 character between 0x0041 and 0x01b0.
25517 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25518 * wcsmbs/tst-mbsnrtowcs.c: New file.
25519
20fde227
DM
255202012-03-29 David S. Miller <davem@davemloft.net>
25521
25522 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25523 small copies by hand.
25524
984a4237
JL
255252012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25526
25527 [BZ #13761]
25528 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25529 _nss_compat_initgroups_dyn): Fall back to malloc/free
25530 for large group memberships.
25531
18c9d62b
DM
255322012-03-28 David S. Miller <davem@davemloft.net>
25533
88d85d4f
DM
25534 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25535 that branches into memcpy.
25536 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25537 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25538 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25539 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25540 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25541 bits.
25542 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25543 implementation too.
25544 * sysdeps/sparc/mempcpy.S: New file.
25545
e5aa83e1
DM
25546 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25547 the IFUNC routine in the libc case.
25548 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25549
88570753
DM
25550 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25551 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25552 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25553 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25554 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25555 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25556 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25557 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25558
249d7567
DM
25559 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25560 loop to 256 bytes instead of 64 bytes and fix test signedness.
25561
18c9d62b
DM
25562 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25563 * sysdeps/sparc/sparc32/Makefile: rather than here...
25564 * sysdeps/sparc/sparc64/Makefile: and here.
25565
05f3d1f6
UD
255662012-03-28 Ulrich Drepper <drepper@gmail.com>
25567
25568 * malloc/mallocbug.c: Avoid warnings about unused variables.
25569
86ae07a8
JL
255702012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25571
25572 [BZ #13760]
25573 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25574 in the right place. Discard and retry query if response is
25575 larger than input buffer size.
25576
41bf21a1
JM
255772012-03-28 Joseph Myers <joseph@codesourcery.com>
25578
d6270972
JM
25579 [BZ #369]
25580 [BZ #2678]
25581 [BZ #3866]
25582 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25583 x for large integer exponent.
25584 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25585 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25586 sign of result as needed afterwards.
25587 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25588 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25589 result for underflowing pow the same as for overflow.
25590 (__kernel_standard_l): Handle powl overflow and underflow here
25591 rather than calling __kernel_standard.
25592 * math/libm-test.inc (pow_test): Add more tests.
25593
414fca03 25594 [BZ #3868]
41bf21a1
JM
25595 [BZ #13879]
25596 [BZ #13910]
25597 [BZ #13911]
25598 [BZ #13912]
25599 [BZ #13913]
25600 [BZ #13915]
25601 [BZ #13916]
25602 [BZ #13917]
25603 [BZ #13918]
25604 [BZ #13919]
25605 [BZ #13920]
25606 [BZ #13921]
25607 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25608 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25609 (__kernel_standard_l): New function.
25610 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25611 __kernel_standard.
25612 * math/w_acosl.c (__acosl): Likewise.
25613 * math/w_asinl.c (__asinl): Likewise.
25614 * math/w_atan2l.c (__atan2l): Likewise.
25615 * math/w_atanhl.c (__atanhl): Likewise.
25616 * math/w_coshl.c (__coshl): Likewise.
25617 * math/w_exp10l.c (__exp10l): Likewise.
25618 * math/w_exp2l.c (__exp2l): Likewise.
25619 * math/w_fmodl.c (__fmodl): Likewise.
25620 * math/w_hypotl.c (__hypotl): Likewise.
25621 * math/w_j0l.c (__j0l, __y0l): Likewise.
25622 * math/w_j1l.c (__j1l, __y1l): Likewise.
25623 * math/w_jnl.c (__jnl, __ynl): Likewise.
25624 * math/w_lgammal.c (__lgammal): Likewise.
25625 * math/w_log10l.c (__log10l): Likewise.
25626 * math/w_log2l.c (__log2l): Likewise.
25627 * math/w_logl.c (__logl): Likewise.
25628 * math/w_powl.c (__powl): Likewise.
25629 * math/w_remainderl.c (__remainderl): Likewise.
25630 * math/w_scalbl.c (sysv_scalbl): Likewise.
25631 * math/w_sinhl.c (__sinhl): Likewise.
25632 * math/w_sqrtl.c (__sqrtl): Likewise.
25633 * math/w_tgammal.c (__tgammal): Likewise.
25634 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25635 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25636 * math/libm-test.inc (acos_test): Add more tests.
25637 (acosh_test): Likewise.
25638 (asin_test): Likewise.
25639 (atanh_test): Likewise.
25640 (exp_test): Likewise.
25641 (exp10_test): Likewise.
25642 (exp2_test): Likewise.
25643 (expm1_test): Likewise.
25644 (lgamma_test): Likewise.
25645 (log_test): Likewise.
25646 (log10_test): Likewise.
25647 (log1p_test): Likewise.
25648 (log2_test): Likewise.
25649 (pow_test): Do not allow some spurious overflow exceptions.
25650 (sqrt_test): Add more tests.
25651 (tgamma_test): Likewise.
25652 (y0_test): Likewise.
25653 (y1_test): Likewise.
25654 (yn_test): Likewise.
25655
dd62fda6
AB
256562012-03-27 Anton Blanchard <anton@samba.org>
25657
25658 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25659 MAP_HUGETLB.
25660 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25661 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25662 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25663
1e3cdfda
AJ
256642012-03-27 David S. Miller <davem@davemloft.net>
25665
b855ab85
DM
25666 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25667
1e3cdfda
AJ
25668 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25669 have-as-vis3 check.
25670
256712012-03-27 Andreas Jaeger <aj@suse.de>
25672
25673 * sysdeps/x86_64/elf/configure.in: Moved to ...
25674 * sysdeps/x86_64/configure.in: ... here.
25675 * sysdeps/x86_64/elf/start.S: Moved to ...
25676 * sysdeps/x86_64/start.S: ... here.
25677 * sysdeps/x86_64/elf/configure: Delete.
25678
25679 * sysdeps/x86_64/configure.in: Merge contents from
25680 sysdeps/i386/configure.in (without i686 check).
25681
25682 * sysdeps/i386/elf/Versions: Merge into ...
25683 * sysdeps/i386/Versions: ... this.
25684 * sysdeps/i386/elf/Versions: Delete file.
25685 * sysdeps/i386/elf/start.S: Moved to ...
25686 * sysdeps/i386/start.S: ...here.
25687 * sysdeps/i386/elf/configure.in: Merge into...
25688 * sysdeps/i386/configure.in: ...here.
25689 * sysdeps/i386/elf/configure.in: Delete file.
25690 * sysdeps/i386/elf/configure: Delete file.
25691
25692 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25693 * debug/backtracesyms.c: ... here.
25694 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25695 * debug/backtracesymsfd.c: ... here.
25696 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25697 * sysdeps/generic/ifunc-sel.h: ... here.
25698
25699 * sysdeps/unix/i386/start.c: Delete file.
25700 * sysdeps/unix/sparc/start.c: Delete file.
25701 * sysdeps/unix/start.c: Delete file.
25702
25703 * sysdeps/sh/elf/configure.in: Moved to ...
25704 * sysdeps/sh/configure.in: ... here.
25705 * sysdeps/sh/elf/start.S: Moved to ...
25706 * sysdeps/sh/start.S: ... here.
25707 * sysdeps/sh/elf/configure: Delete file.
25708
25709 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25710 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25711 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25712 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25713 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25714 * sysdeps/powerpc/powerpc64/start.S: here.
25715 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25716 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25717 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25718 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25719 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25720
25721 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25722 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25723 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25724 * sysdeps/powerpc/powerpc32/start.S: ... here.
25725 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25726 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25727 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25728
25729 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25730 * sysdeps/powerpc/ifunc-sel.h: ... here.
25731 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25732 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25733
25734 * sysdeps/sparc/elf/configure.in: Moved to ...
25735 * sysdeps/sparc/configure.in: ... here.
25736 * sysdeps/sparc/elf/configure: Delete file.
25737 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25738 * sysdeps/sparc/sparc32/start.S: ... here.
25739 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25740 * sysdeps/sparc/sparc64/start.S: ... here.
25741 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25742 * sysdeps/sparc/sparc32/Makefile: ... this.
25743 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25744 * sysdeps/sparc/sparc64/Makefile: ... this.
25745
25746 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25747 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25748 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25749 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25750 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25751 * sysdeps/s390/s390-32/setjmp.S: ... here.
25752 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25753 * sysdeps/s390/s390-32/configure.in: ... here.
25754 * sysdeps/s390/s390-32/elf/configure: Delete file.
25755 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25756 * sysdeps/s390/s390-32/start.S: ... here.
25757
25758 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25759 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25760 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25761 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25762 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25763 * sysdeps/s390/s390-64/setjmp.S: ... here.
25764 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25765 * sysdeps/s390/s390-64/configure.in: ... here
25766 * sysdeps/s390/s390-64/elf/configure: Delete file.
25767 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25768 * sysdeps/s390/s390-64/start.S: ... here.
25769 * sysdeps/s390/s390-64/elf/configure: Delete.
25770
25771 * configure.in: Remove support for elf directories in sysdeps.
25772
25773 * configure: Regenerated.
25774 * sysdeps/i386/configure: Regenerated.
25775 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25776 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25777 * sysdeps/s390/s390-32/configure: Regenerated.
25778 * sysdeps/s390/s390-64/configure: Regenerated.
25779 * sysdeps/sh/configure: Regenerated.
25780 * sysdeps/sparc/configure: Regenerated.
25781 * sysdeps/x86_64/configure: Regenerated.
25782
a3f61311
AS
257832012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25784
c876e002
AS
25785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25786
a3f61311
AS
25787 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25788 denormal result into account.
25789
ac4c54f0
RM
257902012-03-25 Roland McGrath <roland@hack.frob.com>
25791
25792 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25793 Reported by Allan McRae <allan@archlinux.org>.
25794
6a9b9c02
JL
257952012-03-23 Jeff Law <law@redhat.com>
25796
25797 * nss/getnssent.c (__nss_getent): Fix typo.
25798
4c42a0c1
DM
257992012-03-23 David S. Miller <davem@davemloft.net>
25800
25801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25802
1532c7ac
L
258032012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25804
25805 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25806 to pad to uint64_t for each field.
25807 (dl_tls_index): Replace unsigned long with uint64_t.
25808
3ff42526
PP
258092012-03-23 Daniel Jacobowitz <dmj@google.com>
25810 Paul Pluzhnikov <ppluzhnikov@google.com>
25811
25812 [BZ #6528]
25813 * grp/Makefile (otherlibs): Don't set it.
25814 * inet/Makefile (otherlibs): Likewise.
25815 * login/Makefile (otherlibs): Likewise.
25816 * nscd/Makefile (otherlibs): Likewise.
25817 * posix/Makefile (otherlibs): Likewise.
25818 * pwd/Makefile (otherlibs): Likewise.
25819 * rt/Makefile (otherlibs): Likewise.
25820 * sunrpc/Makefile (otherlibs): Likewise.
25821 * nss/Makefile (otherlibs): Likewise.
25822 Add libnss_files to routines and static-only-routines.
25823 ($(objpfx)getent): Remove rule.
25824 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25825 static-only-routines.
25826
7c69cd14
JM
258272012-03-22 Joseph Myers <joseph@codesourcery.com>
25828
25829 [BZ #13892]
25830 * math/s_cexp.c: Include <float.h>.
25831 (__cexp): Handle exp result overflowing not necessarily
25832 overflowing both real and imaginary parts of result.
25833 * math/s_cexpf.c: Likewise.
25834 * math/s_cexpl.c: Likewise.
25835 * math/libm-test.inc (cexp_test): Add more tests.
25836 * sysdeps/i386/fpu/libm-test-ulps: Update.
25837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25838
81b035fe
L
258392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25840
25841 * include/link.h (ELFW): New macro.
25842 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25843 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25844
1da7940c
L
258452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25846
25847 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25848 with uint64_t.
25849
b749dbb9
L
258502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25851
25852 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25853 declaration.
25854 (struct La_x32_retval): Likewise.
25855
2ff87f3f
L
258562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25857
25858 * sysdeps/x86_64/preconfigure.in: New file.
25859 * sysdeps/x86_64/preconfigure: New generated file.
25860
c0df8e69
JM
258612012-03-22 Joseph Myers <joseph@codesourcery.com>
25862
48e44791
JM
25863 [BZ #13824]
25864 * math/e_exp2l.c: Include <float.h>.
25865 (__ieee754_exp2l): Handle overflow and underflow cases
25866 separately. Only pass fractional part of argument to
25867 __ieee754_expl.
25868 * math/libm-test.inc (exp2_test): Add more tests.
25869
c0df8e69
JM
25870 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25871 negating x to take absolute value.
25872 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25873 Likewise.
25874 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25875 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25876 Likewise.
25877 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25878 computing low part if x was negated.
25879 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25880
c8e43ba7
L
258812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25882
25883 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25884 la_x32_gnu_pltexit.
25885 (pltexit): Cast int_retval to ptrdiff_t.
25886 * elf/tst-auditmod3b.c: Likewise.
25887 * elf/tst-auditmod4b.c: Likewise.
25888 * elf/tst-auditmod5b.c: Likewise.
25889 * elf/tst-auditmod6b.c: Likewise.
25890 * elf/tst-auditmod6c.c: Likewise.
25891 * elf/tst-auditmod7b.c: Likewise.
25892
25893 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25894 and x32_gnu_pltexit.
25895
25896 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25897 __ELF_NATIVE_CLASS.
25898 (La_x32_regs): New macro.
25899 (La_x32_retval): Likewise.
25900 (la_x32_gnu_pltenter): New function prototype.
25901 (la_x32_gnu_pltexit): Likewise.
25902
7998fa78
AS
259032012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25904
dcb33988
AS
25905 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25906 exponent.
25907
233fc563
AS
25908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25909
7998fa78
AS
25910 * configure.in (libc_cv_cc_nofma): Check for option to disable
25911 generation of FMA instructions.
25912 * configure: Regenerate.
25913 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25914 * sysdeps/ieee754/dbl-64/Makefile: New file.
25915 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25916 Remove brandred-fma4.
25917 (CFLAGS-brandred-fma4.c): Remove.
25918 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25919 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25920 define.
25921 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25922 define.
25923
8e95c99a
L
259242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25925
25926 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25927 LLONG_MAX != LONG_MAX.
25928 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25929 (_fitoa_word): Likewise.
25930 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25931 LLONG_MAX != LONG_MAX.
25932 * stdio-common/_itowa.h: Include <_itoa.h>.
25933 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25934 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25935 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25936 only if not defined.
25937 (_ITOA_WORD_TYPE): Likewise.
25938 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25939 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25940
6f4db457
DM
259412012-03-21 David S. Miller <davem@davemloft.net>
25942
25943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25944
7785fe5a
L
259452012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25946
25947 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25948 of x86_64 when setting libc_cv_slibdir, libdir and
25949 libc_cv_localedir.
25950 * sysdeps/unix/sysv/linux/configure: Regenerated.
25951
4535cd55
JM
259522012-03-21 Joseph Myers <joseph@codesourcery.com>
25953
25954 * manual/lang.texi (Old Varargs): Remove section.
25955 (How Variadic): Update menu.
25956 (va_start): Do not mention varargs.h.
25957
17228132
TS
259582012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25959 Joseph Myers <joseph@codesourcery.com>
25960
25961 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25962 link test.
25963 * configure: Regenerated.
25964
8149f976
TS
259652012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25966
05f3d1f6
UD
25967 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25968 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25969 conformtest.pl
8149f976 25970
1a4ac776
JM
259712012-03-21 Joseph Myers <joseph@codesourcery.com>
25972
be22ce65
JM
25973 * NOTES: Remove.
25974 * Makefile (files-for-dist): Remove NOTES.
25975 (NOTES): Remove rule.
25976 * README: Don't refer to NOTES.
25977 * manual/creature.texi: Don't include macros.texi.
25978 * manual/intro.texi (creature.texi): Remove comment referring to
25979 NOTES.
25980
40b601fb
JM
25981 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25982 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25983 * configure: Regenerated.
25984 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25985 LIBC_TRY_CC_OPTION.
25986 (libc_cv_as_i686): Likewise.
25987 (libc_cv_cc_avx): Likewise.
25988 (libc_cv_cc_sse2avx): Likewise.
25989 (libc_cv_cc_fma4): Likewise.
25990 (libc_cv_cc_novzeroupper): Likewise.
25991 * sysdeps/i386/configure: Regenerated.
25992
1a4ac776
JM
25993 [BZ #13883]
25994 * sysdeps/i386/fpu/s_cexp.S: Remove.
25995 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25996 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25997 * math/libm-test.inc (cexp_test): Add more tests.
25998 * sysdeps/i386/fpu/libm-test-ulps: Update.
25999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26000
a458e7fe
AM
260012012-03-21 Allan McRae <allan@archlinux.org>
26002
26003 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26004
0cb7efc5
JM
260052012-03-21 Joseph Myers <joseph@codesourcery.com>
26006
26007 [BZ #13871]
26008 * math/w_exp2.c: Do not include <float.h>.
26009 (o_threshold, u_threshold): Remove.
26010 (__exp2): Calculate result before checking finiteness and calling
26011 __kernel_standard.
26012 * math/w_exp2f.c: Likewise.
26013 * math/w_exp2l.c: Likewise.
26014 * math/libm-test.inc (exp2_test): Require overflow exception for
26015 1e6 input.
2460d3aa
JM
26016
26017 [BZ #3866]
26018 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26019 range of signed 64-bit integers before using fistpll. Remove
26020 checks for whether integers fit in mantissa bits.
26021 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26022 the range of signed 32-bit integers before using fistpl. Remove
26023 checks for whether integers fit in mantissa bits.
26024 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26025 (__ieee754_powl): Test for y outside the range of signed 64-bit
26026 integers before using fistpll. Reduce 64-bit values to 63-bit
26027 ones as needed.
26028 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26029 divide-by-zero is raised for zero to large negative powers.
26030 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26031 (__ieee754_powl): Test for y outside the range of signed 64-bit
26032 integers before using fistpll. Reduce 64-bit values to 63-bit
26033 ones as needed.
26034 * math/libm-test.inc (pow_test): Add more tests.
26035
eb96ffb0
L
260362012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26037
26038 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26039 <stdio-common/_itoa.h>.
26040 * debug/segfault.c: Likewise.
26041 * elf/dl-cache.c: Likewise.
26042 * elf/dl-minimal.c: Likewise.
26043 * elf/dl-misc.c: Likewise.
26044 * elf/dl-sysdep.c: Likewise.
26045 * elf/dl-version.c: Likewise.
26046 * elf/rtld.c: Likewise.
26047 * hurd/hurdsock.c: Likewise.
26048 * hurd/lookup-retry.c: Likewise.
26049 * malloc/malloc.c: Likewise.
26050 * malloc/mtrace.c: Likewise.
26051 * nscd/nscd_getgr_r.c: Likewise.
26052 * nscd/nscd_getpw_r.c: Likewise.
26053 * nscd/nscd_getserv_r.c: Likewise.
26054 * posix/getopt_init.c: Likewise.
26055 * posix/wordexp.c: Likewise.
26056 * stdio-common/_itoa.c: Likewise.
26057 * stdio-common/printf_fphex.c: Likewise.
26058 * stdio-common/vfprintf.c: Likewise.
26059 * string/_strerror.c: Likewise.
26060 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26061 * sysdeps/i386/i686/hp-timing.h: Likewise.
26062 * sysdeps/mach/_strerror.c: Likewise.
26063 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26064 * sysdeps/mach/hurd/sethostid.c: Likewise.
26065 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26066 * sysdeps/mach/xpg-strerror.c: Likewise.
26067 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26068 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26069 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26070 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26071 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26072 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26073 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26074 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26075 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26076 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26077 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26078 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26079 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26080 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26081 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26082 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26083 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26084 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26085 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26086 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26087 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26088
26089 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26090
26091 * stdio-common/_itoa.h: Moved to ...
26092 * sysdeps/generic/_itoa.h: Here.
26093
26094 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26095
26096 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26097 instead of "_itoa.h" and "_itowa.h".
26098 * stdio-common/vfprintf.: Likewise.
26099
d1af992d
L
261002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26101
26102 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26103 <bits/wordsize.h>.
26104 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26105 (__signbit): Likwise.
26106 (llrintf): Likwise.
26107 (llrint): Likwise.
26108
114883e0
L
261092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26110
26111 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26112 __WORDSIZE != 64.
26113
c135cc1b
JM
261142012-03-20 Joseph Myers <joseph@codesourcery.com>
26115
26116 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26117 OVERFLOW_EXCEPTION_OK.
26118 * math/libm-test.inc ("Philosophy"): Update comment about
26119 exception testing.
26120 (OVERFLOW_EXCEPTION): Define.
26121 (OVERFLOW_EXCEPTION_OK): Likewise.
26122 (INVALID_EXCEPTION_OK): Renumber.
26123 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26124 (IGNORE_ZERO_INF_SIGN): Likewise.
26125 (test_exceptions): Handle FE_OVERFLOW.
26126 (exp10_test): Expect overflow exceptions.
26127 (exp2_test): Likewise.
26128 (expm1_test): Likewise.
26129 (nextafter_test): Likewise.
26130 (pow_test): Likewise.
26131 (scalbn_test): Likewise.
26132 (scalbln_test): Likewise.
26133
95443d88
L
261342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26135
26136 * sysdeps/x86_64/bits/atomic.h
26137 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26138 64bit integer.
26139 (atomic_exchange_acq): Likewise.
26140 (__arch_exchange_and_add_body): Likewise.
26141 (__arch_add_body): Likewise.
26142 (atomic_add_negative): Likewise.
26143 (atomic_add_zero): Likewise.
26144
490df6c4
L
261452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26146
c2722551 26147 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
26148 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26149
5e52b189
L
261502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26151
26152 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26153 Check __x86_64__ instead of __WORDSIZE.
26154
a9879d4c
L
261552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26156
26157 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26158
5df98260
DM
261592012-03-19 David S. Miller <davem@davemloft.net>
26160
e1497744
DM
26161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26162
5df98260
DM
26163 * sysdeps/sparc/fpu/fenv_private.h: New file.
26164 * sysdeps/sparc/fpu/math_private.h: Use it.
26165 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26166 Remove.
26167 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26168 (libc_feholdexcept_setroundl): Remove.
26169 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26170 Remove.
26171 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26172 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26173
b4c35121
L
261742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26175
26176 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26177 int64_t instead of long int.
26178 (INSERT_WORDS64): Likwise.
26179
56965fd7
L
261802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26181
26182 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26183 _Unwind_GetCFA return to _Unwind_Ptr first.
26184
83d1aec8
JM
261852012-03-19 Joseph Myers <joseph@codesourcery.com>
26186
1897ad44
JM
26187 [BZ #13629]
26188 * math/s_clog.c: Include <float.h>.
26189 (__clog): Scale large or subnormal inputs.
26190 * math/s_clogf.c: Likewise.
26191 * math/s_clogl.c: Likewise.
26192 * math/s_clog10.c: Include <float.h>.
26193 (M_LOG10_2): Define.
26194 (__clog10): Scale large or subnormal inputs.
26195 * math/s_clog10f.c: Likewise.
26196 * math/s_clog10l.c: Likewise.
26197 * math/libm-test.inc (clog_test): Add more tests.
26198 (clog10_test): Likewise.
26199 * sysdeps/i386/fpu/libm-test-ulps: Update.
26200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26201
7726d6a9
JM
26202 [BZ #11451]
26203 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26204 x and y.
26205 * math/libm-test.inc (atan2_test): Add another test.
26206
83d1aec8
JM
26207 * Makerules (common-objdir-compile): Remove.
26208 * sysdeps/unix/Makefile (config-generated): Do not add
26209 $(unix-generated) to variable.
26210 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26211 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26212 Remove rule.
26213 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26214 Likewise.
26215 [generic bits/local_lim.h] (before-compile): Do not append to
26216 variable.
26217 [generic bits/local_lim.h] (common-generated): Likewise.
26218 [generic sys/param.h] (before-compile): Do not append to variable.
26219 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26220 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26221 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26222 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26223 include.
26224 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26225 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26226 [generic sys/param.h] ($(addprefix
26227 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26228 [generic sys/param.h] (common-generated): Do not append to
26229 variable.
26230 [generic sys/param.h] (sysdep_headers): Likewise.
26231 [generic bits/errno.h] (before-compile): Do not append to
26232 variable.
26233 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26234 rule.
26235 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26236 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26237 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26238 [generic bits/errno.h] (common-generated): Do not append to
26239 variable.
26240 [generic bits/ioctls.h] (before-compile): Do not append to
26241 variable.
26242 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26243 rule.
26244 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26245 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26246 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26247 rule.
26248 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26249 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26250 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26251 [generic bits/ioctls.h] (common-generated): Do not append to
26252 variable.
26253 [generic sys/syscall.h] (syscall.h): Remove variable.
26254 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26255 rule.
26256 [generic sys/syscall.h] (before-compile): Do not append to
26257 variable.
26258 [generic sys/syscall.h] (common-generated): Likewise.
26259 * sysdeps/unix/errnos-tmpl.c: Remove file.
26260 * sysdeps/unix/errnos.awk: Likewise.
26261 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26262 * sysdeps/unix/ioctls.awk: Likewise.
26263 * sysdeps/unix/mk-local_lim.c: Likewise.
26264 * sysdeps/unix/snarf-ioctls: Likewise.
26265
4851a949
RH
262662012-03-19 Richard Henderson <rth@twiddle.net>
26267
bd37f2ee
RH
26268 * sysdeps/i386/fpu/fenv_private.h: New file.
26269 * sysdeps/i386/fpu/math_private.h: Use it.
26270 (math_opt_barrier, math_force_eval): Remove.
26271 (libc_feholdexcept_setround_53bit): Remove.
26272 (libc_feupdateenv_53bit): Remove.
26273 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26274 (math_opt_barrier, math_force_eval): Remove.
26275 (libc_feholdexcept): Remove.
26276 (libc_feholdexcept_setround): Remove.
26277 (libc_fetestexcept, libc_fesetenv): Remove.
26278 (libc_feupdateenv_test): Remove.
26279 (libc_feupdateenv, libc_feholdsetround): Remove.
26280 (libc_feresetround): Remove.
26281
d0adc922
RH
26282 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26283 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26284
0fe0f1f8
RH
26285 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26286 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26287 (libc_feupdateenv_testl): New.
26288 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26289 (libc_feupdateenv_testf): New.
26290 (libc_feupdateenv): Use libc_feupdateenv_test.
26291 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26292 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26293
eb92c487
RH
26294 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26295 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26296 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26297 (libc_feresetround_noex): New.
26298 (libc_feresetround_noexf): New.
26299 (libc_feresetround_noexl): New.
26300 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26301 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26302 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26303 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26304 SET_RESTORE_ROUND.
26305 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26306 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26307 (__cos): Likewise.
26308 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26309 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26310 SET_RESTORE_ROUND_NOEX.
26311 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26312 SET_RESTORE_ROUND_NOEXF.
26313 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26314 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26315 (libc_feholdsetroundf): New.
26316 (libc_feresetround, libc_feresetroundf): New.
26317
7d2e8012
RH
26318 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26319 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26320 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26321
b4dabbb4
RH
26322 * sysdeps/generic/math_private.h: Include <fenv.h>.
26323 (default_libc_feholdexcept): New.
26324 (default_libc_feholdexcept_setround): New.
26325 (default_libc_fesetenv, default_libc_feupdateenv): New.
26326 (libc_feholdexcept): Only define if undefined.
26327 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26328 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26329 (libc_feholdexcept_setroundl): Likewise.
26330 (libc_feholdexcept_setround_53bit): Likewise.
26331 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26332 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26333 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26334 (libc_feupdateenv_53bit): Likewise.
26335 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26336 (libc_feholdexcept): Convert from macro to inline function.
26337 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26338 (libc_fesetenv, libc_feupdateenv): Likewise.
26339
4851a949
RH
26340 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26341 not previously defined.
26342 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26343 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26344 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26345 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26346 * sysdeps/ieee754/flt-32/math_private.h: New file.
26347 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26348 math_private.h below SET_FLOAT_WORD.
26349 (__isnan, __isinf_ns, __finite): Remove.
26350 (__isnanf, __isinf_nsf, __finitef): Remove.
26351
e79d442e
AS
263522012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26353
26354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26355
90b80344
DM
263562012-03-17 David S. Miller <davem@davemloft.net>
26357
26358 [BZ #6471]
26359 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26360 for 2.16.
26361
edc21804
DM
263622012-03-16 David S. Miller <davem@davemloft.net>
26363
77e927af
DM
26364 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26365 warnings.
26366
374976dd
DM
26367 [BZ #6471]
26368 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26369 properly.
26370 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26371 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26372 sysdep_routines when subdir is sysvipc.
26373 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26374 __getshmlba helper.
26375
edc21804
DM
26376 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26377
473c3ef3
L
263782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26379
26380 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26381 [__LP64__].
26382
eb0f39b6
L
263832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26384
26385 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26386 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26387 (__lround): Renamed to ...
26388 (__llround): This. Replace long int with long long int.
26389 Define lround functions as aliases of llround functions.
26390 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26391
6b6cd74b
L
263922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26393
26394 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26395 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26396 adresses to uintptr_t. Replace "long int" and "unsigned long
26397 int" with "greg_t" on va_arg.
26398
f1a77b01
L
263992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26400
26401 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26402 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26403
26404 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26405 Move e_machine check before EI_CLASS check. Handle x32
26406 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26407 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26408 SKIP_EM_IA_64 and include
26409 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26410
26411 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26412 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26413 (add_system_dir): New macro.
26414
26415 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26416 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26417
11b90b9f
JM
264182012-03-16 Joseph Myers <joseph@codesourcery.com>
26419
c36e1d23
JM
26420 [BZ #2551]
26421 [BZ #2552]
26422 [BZ #2553]
26423 [BZ #2554]
26424 [BZ #2562]
26425 [BZ #2563]
26426 [BZ #2565]
26427 [BZ #2566]
26428 [BZ #2576]
26429 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26430 (y0): Likewise.
26431 * math/w_j0f.c (j0f): Likewise.
26432 (y0f): Likewise.
26433 * math/w_j0l.c (__j0l): Likewise.
26434 (__y0l): Likewise.
26435 * math/w_j1.c (j1): Likewise.
26436 (y1): Likewise.
26437 * math/w_j1f.c (j1f): Likewise.
26438 (y1f): Likewise.
26439 * math/w_j1l.c (__j1l): Likewise.
26440 (__y1l): Likewise.
26441 * math/w_jn.c (jn): Likewise.
26442 (yn): Likewise.
26443 * math/w_jnf.c (jnf): Likewise.
26444 (ynf): Likewise.
26445 * math/w_jnl.c (__jnl): Likewise.
26446 (__ynl): Likewise.
26447 * math/libm-test.inc (j0_test): Add more tests.
26448 (j1_test): Likewise.
26449 (jn_test): Likewise. Add trailing semicolon to existing test.
26450 (y0_test): Likewise.
26451 (y1_test): Likewise.
26452 * sysdeps/i386/fpu/libm-test-ulps: Update.
26453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26454
11b90b9f
JM
26455 [BZ #13851]
26456 [BZ #13854]
26457 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26458 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26459 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26460 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26461 (__tanl): Set errno for infinite argument.
26462 * sysdeps/i386/fpu/mptan.c: Remove.
26463 * sysdeps/i386/fpu/s_tan.S: Likewise.
26464 * sysdeps/i386/fpu/s_tanl.S: Likewise.
26465 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26466 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26467 * math/libm-test.inc (tan_test): Add more tests and enable more
26468 tests for double and long double.
26469 * sysdeps/i386/fpu/libm-test-ulps: Update.
26470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26471
6a1bd2a1
JK
264722012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26473
26474 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26475 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26476
10a803e0
RM
264772012-03-16 Roland McGrath <roland@hack.frob.com>
26478
26479 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26480 * configure.in: Use it for both main tree and add-ons.
26481 * configure: Regenerated.
26482
f196c7f7
L
264832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26484
26485 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26486
8848d99d
JM
264872012-03-16 Joseph Myers <joseph@codesourcery.com>
26488
96cbe7f4
JM
26489 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26490 in comment.
26491
8848d99d
JM
26492 [BZ #13851]
26493 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26494 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26495 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26496 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26497 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26498 infinite argument.
26499 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26500 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26501 != 0 for prec == 2.
26502 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26503 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26504 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26505 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26506 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26507 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26508 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26509 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26510 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26511 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26512 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26513 * math/libm-test.inc (cos_test): Add more tests and enable more
26514 tests for long double.
26515 (sin_test): Likewise.
26516 (sincos_test): Likewise.
26517 * sysdeps/i386/fpu/libm-test-ulps: Update.
26518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26519
dd7f4703
DM
265202012-03-16 David S. Miller <davem@davemloft.net>
26521
26522 * sysdeps/sparc/fpu/math_private.h: New file.
26523
006f1daa
DM
265242012-03-15 David S. Miller <davem@davemloft.net>
26525
c0c83bc8
DM
26526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26527 file.
e6a62e18 26528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
26529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26530 file.
e6a62e18
DM
26531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26536 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26537 sysdep routines.
26538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26539
88cb87d9
DM
26540 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26541 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26542
006f1daa 26543 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
26544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26545 sparc-ifunc.h
006f1daa 26546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
26547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26548 Likewise.
26549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26550 Likewise.
006f1daa
DM
26551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
26554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26555 Likewise.
006f1daa
DM
26556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
26560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26561 Likewise.
26562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26563 Likewise.
006f1daa
DM
26564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26568 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26569 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26570 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26571 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26582 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26583 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26584 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26585 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26586 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26587 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26588
11e0098e
AS
265892012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26590
26591 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26592 scaling.
26593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26594
e85b09d0
AJ
265952012-03-15 Andreas Jaeger <aj@suse.de>
26596
26597 [BZ #13852]
26598 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26599 ieee754/flt-32 implementation for sin, cos and sincos.
26600 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26601 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26602 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26603 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26604 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26605 ieee754/flt-32 implementation for tan.
26606
26607 * math/libm-test.inc (cos_test): Enable some large input tests for
26608 float as well
26609 (sin_test): Likewise.
26610 (sincos_test): Likewise.
26611 (tan_test): Add tests for large input.
26612
26613 * sysdeps/i386/fpu/libm-test-ulps: Update.
26614
81c64153
AJ
266152012-03-15 Andreas Jaeger <aj@suse.de>
26616
26617 [BZ #13658]
26618 * math/libm-test.inc (cos_test): Add more test cases.
26619 (sin_test): Likewise.
26620 (sincos_test): Likewise.
26621
7bbfa5c6
AJ
266222012-03-15 Andreas Jaeger <aj@suse.de>
26623
26624 [BZ #13837]
26625 * math/libm-test.inc (cos_test): Add a test case for large input
26626 value.
26627 (sin_test): Likewise.
26628 (sincos_test): Likewise.
26629
266302012-03-15 Andreas Jaeger <aj@suse.de>,
26631 Joseph Myers <joseph@codesourcery.com>
26632
26633 [BZ #13658]
0671f479 26634 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
26635 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26636 * sysdeps/i386/fpu/branred.c: Likewise.
26637 * sysdeps/i386/fpu/dosincos.c: Likewise.
26638 * sysdeps/i386/fpu/mpa.c: Likewise.
26639 * sysdeps/i386/fpu/s_cos.S: Likewise.
26640 * sysdeps/i386/fpu/s_sin.S: Likewise.
26641 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26642 * sysdeps/i386/fpu/sincos32.c: Likewise.
26643
26644 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26645 Define.
26646 (libc_feupdateenv_53bit): Define.
26647 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26648 Define.
26649 (libc_feupdateenv_53bit): Define.
26650
26651 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26652 53 bit (without extend i386 double precision).
26653
26654 * math/libm-test.inc (sincos_test): Add tests for large input.
26655 (sin): Likewise.
26656 (cos): Likewise.
26657
26658 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26659
9cad04ea
AS
266602012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26661
26662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26663
f7062b9a
DM
266642012-03-15 David S. Miller <davem@davemloft.net>
26665
26666 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26667 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26668 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26669 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
26681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26682 file.
f7062b9a 26683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
26684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26685 file.
f7062b9a 26686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
26687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26688 file.
f7062b9a 26689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
26690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26691 file.
f7062b9a
DM
26692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26693 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26694 fmin/fmax sysdep routines.
26695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26696
7bd951ff
DM
266972012-03-14 David S. Miller <davem@davemloft.net>
26698
559398ab
DM
26699 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26700 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26701 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26702 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26703 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26704 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26705 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26706 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26708 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26709 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26710 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26719 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26720 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26721 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26722 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26723 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26724 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26725 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26726 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26727 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26728 routines.
26729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26730 file.
559398ab 26731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
26732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26733 file.
559398ab 26734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
26735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26736 file.
559398ab 26737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
26738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26739 file.
559398ab 26740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
26741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26742 file.
559398ab 26743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
26744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26745 file.
26746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26747 file.
26748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26749 file.
26750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26751 file.
26752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26753 New file.
26754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26755 file.
26756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26757 file.
559398ab 26758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
26759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26760 file.
559398ab 26761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26763 file.
559398ab 26764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
26765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26766 file.
559398ab 26767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
26768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26769 VIS3 routines.
559398ab
DM
26770
26771 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26772 New file.
26773
5a1c1e32
DM
26774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26775
eae47a36
DM
26776 * sysdeps/sparc/configure.in: New file.
26777 * sysdeps/sparc/configure: Generate.
26778 * configure.in (libc_cv_sparc_as_vis3): Substitute.
26779 * configure: Regenerate.
26780 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26781 * config.make.in (have-as-vis3): New.
26782 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26783 available use -Av9d instead of -Av9a.
26784 * sysdeps/sparc/sparc64/Makefile: Likewise.
26785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
26786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26787 New file.
26788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26789 file.
26790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26791 New file.
26792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26793 file.
eae47a36
DM
26794 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26795 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26796 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26797 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26798 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26799
c0c83bc8
DM
26800 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26801 fzeros/fnegs to load 0x80000000 into a float register instead of
26802 using the stack.
7bd951ff
DM
26803 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26804
bd951ccb
JM
268052012-03-14 Joseph Myers <joseph@codesourcery.com>
26806
26807 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26808 bits/syscall.h.
26809 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26810 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26811 ($(inst_includedir)/bits/syscall.h): Remove rule.
26812 ($(objpfx)bits/syscall.d): Include instead of
26813 $(objpfx)syscall-list.d.
26814 (generated): Change syscall-list.h and syscall-list.d to
26815 bits/syscall.h and bits/syscall.d.
26816
bb4e6db2
RM
268172012-03-14 Roland McGrath <roland@hack.frob.com>
26818
26819 [BZ #13846]
26820 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26821
aa4a2ae1
JM
268222012-03-14 Joseph Myers <joseph@codesourcery.com>
26823
e456826d
JM
26824 [BZ #13841]
26825 * math/s_csqrt.c: Include <float.h>.
26826 (__csqrt): Scale large or subnormal inputs.
26827 * math/s_csqrtf.c: Likewise.
26828 * math/s_csqrtl.c: Likewise.
26829 * math/libm-test.inc (csqrt_test): Add more tests.
26830 * sysdeps/i386/fpu/libm-test-ulps: Update.
26831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26832
aa4a2ae1
JM
26833 [BZ #13840]
26834 * math/libm-test.inc (hypot_test): Add more tests.
26835
7c10fd35
DM
268362012-03-13 David S. Miller <davem@davemloft.net>
26837
26838 [BZ #13840]
26839 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26840 double-precision for the calculation instead of scaling.
26841
f453b98b
JM
268422012-03-13 Joseph Myers <joseph@codesourcery.com>
26843
26844 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26845 manipulate bits before adding and subtracting TWO52[sx].
26846 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26847 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26848 Likewise.
26849 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26850
09a3453f
DM
268512012-03-13 David S. Miller <davem@davemloft.net>
26852
8e59da90
DM
26853 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26854 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26855 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26856 rtld-global-offsets.h
26857 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26858
2a8ab7f2
DM
26859 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26860 large parameters.
26861
10f62770
DM
26862 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26863
5f0bdb18
DM
26864 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26865 'err' in the ifdef scope in which it is actually used.
26866
09a3453f
DM
26867 * nss/nss_db/db-init.c: Include string.h
26868
b4b2eb5e
DM
268692012-03-12 David S. Miller <davem@davemloft.net>
26870
98bb2f1c
DM
26871 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26872 masking out of the most significant byte of random value used.
26873 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26874 Fix coding style in previous change.
26875
b4b2eb5e
DM
26876 * sysdeps/unix/sysv/linux/kernel-features.h
26877 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26878 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26879 expression.
26880 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26881 later.
26882
6e226b09
DM
268832012-03-11 David S. Miller <davem@davemloft.net>
26884
a1bcbd40
DM
26885 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26886 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26887 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26888 for 'resultvar' otherwise things get truncated on 64-bit.
26889
cb9d6174
DM
26890 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26891 Fix masking out of the most significant byte of random value used.
26892
6e226b09
DM
26893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26894
058c132d
AS
268952012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26896
26897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26898
2d2cd515
DM
268992012-03-09 David S. Miller <davem@davemloft.net>
26900
26901 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26902 variables with appropriate CPP guards.
26903 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26904 frame pointer, not the stack pointer. Correct layout comments. Fix test
26905 on resulting framesize and the management of the outregs buffer for pltexit.
26906 Preserve floating point return values across _dl_call_pltexit call.
26907 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26908 framesize and the management of the outregs buffer for pltexit.
26909 Preserve floating point return values across _dl_call_pltexit
26910 call.
26911 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26912 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26913 (print_exit): Fix format string for return register value.
26914
9a07f9d0
JM
269152012-03-10 Joseph Myers <joseph@codesourcery.com>
26916
26917 * sunrpc/Makefile (others): Add rpcgen.
26918 ($(objpfx)rpcgen): Remove special build rule and dependency on
26919 libc.
26920 * sunrpc/rpcgen.c: New file.
26921
547b5e30
PE
269222012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26923
c524201a
PE
26924 [BZ #13673]
26925 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26926 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26927 * sysdeps/i386/crti.S: Likewise.
26928 * sysdeps/i386/crtn.S: Likewise.
26929 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26930 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26931 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26932 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26933 * sysdeps/sh/crti.S: Likewise.
26934 * sysdeps/sh/crtn.S: Likewise.
26935 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26936
7b6235f2
PE
26937 [BZ #13673]
26938 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26939 with URL.
26940 * locale/programs/locfile-kw.gperf: Likewise.
26941 * locale/programs/charmap-kw.h: Regenerated.
26942 * locale/programs/locfile-kw.h: Likewise.
26943
547b5e30
PE
26944 [BZ #13673]
26945 * intl/plural.y: Replace FSF snail mail address with URL.
26946 * intl/plural.c: Regenerated.
26947
5f0a5dae
RH
269482012-03-09 Richard Henderson <rth@twiddle.net>
26949
26950 * include/math_private.h: Remove file.
26951 * math/math_private.h: Move file ...
26952 * sysdeps/generic/math_private.h: ... here.
26953
b8c03620
RH
26954 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26955 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26956 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26957
4e234f5d 26958 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
26959 and <math_private.h>.
26960 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26961 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26962 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26963 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26964 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26965 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26966 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26967 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26968 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26969 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26970 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26971 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26972 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26973 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26974 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26975 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26976 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26977 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26978 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26979 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26980 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26981 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26982 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26983 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26984 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26985 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26986 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26987 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26988 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26989 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26990 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26991 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26992 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26993 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26994 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26995 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26996 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26997 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26998 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26999 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27000 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27001 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27002 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27003 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27004 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27005 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27006 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27007 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27008 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27009 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27010 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27011 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27012 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27013 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27014 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27015 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27016 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27017 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27018 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27019 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27020 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27021 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27022 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27023 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27024 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27025 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27026 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27027 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27028 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27029 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27030 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27031 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27032 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27033 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27034 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27035 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27036 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27037 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27038 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27039 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27040 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27041 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27042 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27043 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27044 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27045 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27046 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27047 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27048 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27049 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27050 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27051 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27052 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27053 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27054 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27055 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27056 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27057 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27058 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27059 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27060 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27061 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27062 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27063 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27064 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27065 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27066 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27067 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27068 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27069 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27070 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27071 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27072 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27073 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27074 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27075 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27076 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27077 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27078 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27079 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27080 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27081 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27082 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27083 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27084 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27085 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27086 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27087 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27088 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27089 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27090 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27091 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27092 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27093 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27094 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27095 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27096 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27097 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27098 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27099 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27100 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27101 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27102 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27103 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27104 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27105 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27106 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27107 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27108 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27109 * sysdeps/ieee754/k_standard.c: Likewise.
27110 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27111 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27112 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27113 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27114 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27115 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27116 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27117 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27118 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27119 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27120 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27121 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27122 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27123 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27124 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27125 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27126 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27127 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27128 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27129 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27130 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27131 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27132 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27133 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27134 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27135 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27136 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27137 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27138 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27139 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27140 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27141 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27142 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27143 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27144 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27145 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27146 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27147 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27148 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27149 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27150 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27151 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27152 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27153 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27154 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27155 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27156 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27157 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27158 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27159 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27160 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27161 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27162 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27163 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27164 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27165 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27166 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27167 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27168 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27169 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27170 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27171 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27172 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27173 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27174 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27175 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27176 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27177 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27178 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27179 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27180 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27181 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27182 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27183 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27184 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27185 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27186 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27187 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27188 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27189 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27190 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27191 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27192 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27193 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27194 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27195 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27196 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27197 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27198 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27199 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27200 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27201 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27202 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27203 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27204 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27205 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27206 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27207 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27208 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27209 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27210 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27211 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27212 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27213 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27214 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27215 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27216 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27217 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27218 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27219 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27220 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27221 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27222 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27223 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27224 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27225 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27226 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27227 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27228 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27229 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27230 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27231 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27232 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27233 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27234 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27235 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27236 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27237 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27238 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27239 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27240 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27241 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27242 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27243 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27244 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27245 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27246 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27247 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27248 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27249 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27250 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27251 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27252 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27253 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27254 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27255 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27256 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27257 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27258 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27259 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27260 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27261 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27262 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27263 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27264 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27265 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27266 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27267 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27268 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27269 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27270 * sysdeps/ieee754/s_lib_version.c: Likewise.
27271 * sysdeps/ieee754/s_matherr.c: Likewise.
27272 * sysdeps/ieee754/s_signgam.c: Likewise.
27273 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27274 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27275 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27276 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27277 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27278 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27279 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27280 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27281 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27282 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27283 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27284 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27285 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27286 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27287 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27288 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27289 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27290 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27291 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27292 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27293 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 27294
1991fa03
JM
272952012-03-09 Joseph Myers <joseph@codesourcery.com>
27296
27297 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27298 * sunrpc/rpc_main.c: Likewise.
27299 * sunrpc/rpc_svcout.c: Likewise.
27300
60d6f5a6
DM
273012012-03-09 David S. Miller <davem@davemloft.net>
27302
27303 * include/math_private.h: New file.
27304
4962050e
JM
273052012-03-09 Joseph Myers <joseph@codesourcery.com>
27306
02a6f887
JM
27307 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27308 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27309 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27310 from <bits/socket_type.h>.
27311 (enum __socket_type): Don't define here.
27312 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27313 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27314 bits/socket_type.h.
27315
c6e013c1
JM
27316 [BZ #13566]
27317 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27318 checking __USE_GNU.
27319
4962050e
JM
27320 * Makerules ($(inst_includedir)/%.h): New rule.
27321 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27322 (install-others): Remove variable setting.
27323 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27324
38842f45
RH
273252012-03-08 Richard Henderson <rth@twiddle.net>
27326
67bb6da6
RH
27327 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27328 from macro to inline function; merge with the
27329 !__LIBC_INTERNAL_MATH_INLINES version.
27330 (__ieee754_sqrtf): Likewise.
27331
15194b4b
RH
27332 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27333 to inline function.
27334 (__rintf, __floor, __floorf): Likewise.
27335
64e21ede
RH
27336 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27337 macro to inline function.
27338 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27339
38842f45
RH
27340 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27341 not <math/math_private.h>.
27342
c64bf5fe
DM
273432012-03-08 David S. Miller <davem@davemloft.net>
27344
27345 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27346 copyright year.
27347 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27348
82d86f28
TS
273492012-03-08 Thomas Schwinge <thomas@codesourcery.com>
27350
27351 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27352 normalization.
27353 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27354 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27355
aea5d727
UD
273562012-03-08 Ulrich Drepper <drepper@gmail.com>
27357
27358 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27359 be defined individually, they must be defined as a block. Define
27360 S for printing a string instead of hidint the different by using a
27361 macro for adding the 'l'.
27362 * stdio-common/tst-fphex-wide.c: Adjust.
27363
70bca0a3
MP
273642012-03-07 Marek Polacek <polacek@redhat.com>
27365
27366 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27367
65b81130
MP
273682012-03-08 Marek Polacek <polacek@redhat.com>
27369
27370 [BZ #13806]
27371 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27372 * stdio-common/tst-fphex.c: Define a few macros to make the
27373 test reusable. Use them.
27374 * stdio-common/tst-fphex-wide.c: New file.
27375
07037eeb
JM
273762012-03-08 Joseph Myers <joseph@codesourcery.com>
27377
a7a93d50
JM
27378 [BZ #6911]
27379 * manual/macros.texi (gnusystems): New macro.
27380 (nongnusystems): Likewise.
27381 (gnulinuxhurdsystems): Likewise.
27382 (gnuhurdsystems): Likewise..
27383 (gnulinuxsystems): Likewise.
27384 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27385 variants of the GNU system, not "GNU system".
27386 * manual/conf.texi: Likewise.
27387 * manual/errno.texi: Likewise. Update example of errno macro
27388 expansion.
27389 * manual/filesys.texi: Likewise.
27390 (getumask): Document as specific to GNU/Hurd.
27391 * manual/install.texi: Likewise. Reword some references to
27392 GNU/Linux.
27393 * manual/intro.texi: Likewise.
27394 * manual/io.texi: Likewise.
27395 (File Name Portability): Detail which constraints are inapplicable
27396 to all GNU systems and which are only inapplicable to GNU/Hurd.
27397 * manual/job.texi: Likewise.
27398 * manual/llio.texi: Likewise.
27399 (O_NOCTTY): Document as present on GNU/Linux.
27400 * manual/maint.texi: Likewise.
27401 * manual/memory.texi: Likewise.
27402 * manual/pattern.texi: Likewise.
27403 * manual/pipe.texi: Likewise.
27404 * manual/process.texi: Likewise.
27405 * manual/resource.texi: Likewise.
27406 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27407 child on GNU/Hurd.
27408 * manual/setjmp.texi: Likewise.
27409 * manual/signal.texi: Likewise.
27410 * manual/startup.texi: Likewise.
27411 * manual/stdio.texi: Likewise.
27412 * manual/terminal.texi: Likewise.
27413 (ONLCR): Document as POSIX.
27414 (OXTABS): Document availability on GNU/Linux as XTABS.
27415 (ONOEOT): Document availability separately from other bits.
27416 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27417 * manual/time.texi: Likewise.
27418 * manual/users.texi: Likewise.
27419 * INSTALL: Regenerated.
27420 * sysdeps/gnu/errlist.c: Regenerated.
27421
07037eeb
JM
27422 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27423 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27424 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27425 puts.
27426 * configure: Regenerated.
27427
d1d3431a
JM
274282012-03-07 Joseph Myers <joseph@codesourcery.com>
27429
af6a1e37
JM
27430 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27431 default includes instead of AC_HEADER_CHECK.
27432 * sysdeps/i386/configure: Regenerated.
27433
d1d3431a
JM
27434 [BZ #10716]
27435 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27436 * math/s_cacoshf.c (__cacoshf): Likewise.
27437 * math/s_cacoshl.c (__cacoshl): Likewise.
27438 * math/s_casinh.c (__casinh): Set signs of result from argument.
27439 * math/s_casinhf.c (__casinhf): Likewise.
27440 * math/s_casinhl.c (__casinhl): Likewise.
27441 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27442 (casinh_test): Add more tests.
27443 * sysdeps/i386/fpu/libm-test-ulps: Update.
27444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27445
482ff4da
UD
274462012-03-07 Ulrich Drepper <drepper@gmail.com>
27447
872fda05
UD
27448 * po/zh_TW.po: Update from translation team.
27449
a4300c7a
UD
27450 * login/Makefile (distribute): Remove variable.
27451 * catgets/Makefile: Likewise.
27452 * mach/Makefile: Likewise.
27453 * malloc/Makefile: Likewise.
27454 * misc/Makefile: Likewise.
27455 * iconv/Makefile: Likewise.
27456 * nscd/Makefile: Likewise.
27457 * hurd/Makefile: Likewise.
27458 * manual/Makefile: Likewise.
27459 * locale/Makefile: Likewise.
27460 * intl/Makefile: Likewise.
27461 * conform/Makefile: Likewise.
27462 * nss/Makefile: Likewise.
27463 * time/Makefile: Likewise.
27464 * soft-fp/Makefile: Likewise.
27465 * dirent/Makefile: Likewise.
27466 * gmon/Makefile: Likewise.
27467 * po/Makefile: Likewise.
27468 * rt/Makefile: Likewise.
27469 * socket/Makefile: Likewise.
27470 * math/Makefile: Likewise.
27471 * signal/Makefile: Likewise.
27472 * debug/Makefile: Likewise.
27473 * elf/Makefile: Likewise.
27474 * timezone/Makefile: Likewise.
27475 * stdlib/Makefile: Likewise.
27476 * iconvdata/Makefile: Likewise.
27477 * sunrpc/Makefile: Likewise.
27478 * io/Makefile: Likewise.
27479 * argp/Makefile: Likewise.
27480 * inet/Makefile: Likewise.
27481 * hesiod/Makefile: Likewise.
27482 * grp/Makefile: Likewise.
27483 * csu/Makefile: Likewise.
27484 * wctype/Makefile: Likewise.
27485 * crypt/Makefile: Likewise.
27486 * libio/Makefile: Likewise.
27487 * string/Makefile: Likewise.
27488 * nis/Makefile: Likewise.
27489 * resolv/Makefile: Likewise.
27490 * stdio-common/Makefile: Likewise.
27491 * wcsmbs/Makefile: Likewise.
27492 * dlfcn/Makefile: Likewise.
27493 * posix/Makefile: Likewise.
27494
3b7c4e74 27495 [BZ #6959]
482ff4da
UD
27496 * timezone/Makefile: Don't install timezone files, just the programs
27497 and scripts.
27498
f72ed77d
UD
274992012-03-06 Ulrich Drepper <drepper@gmail.com>
27500
a000466f
UD
27501 * nss/databases.def: Add missing gshadow entry.
27502
f72ed77d
UD
27503 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27504
a53b7a4e
MP
275052012-03-06 Marek Polacek <polacek@redhat.com>
27506
27507 [BZ #13726]
27508 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27509 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27510 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27511 * stdio-common/tst-long-dbl-fphex.c: New file.
27512
e9258400
DM
275132012-03-06 David S. Miller <davem@davemloft.net>
27514
27515 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27516 (set_obp_int): New function.
27517 (get_obp_int): New function.
27518 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
27519 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27520 Avoid unused variable warnings on 'val' and use builtin_expect.
27521 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27522 __builtin_expect.
e9258400
DM
27523 (INLINE_CLONE_SYSCALL): Likewise.
27524
3bd2c723
DM
275252012-03-05 David S. Miller <davem@davemloft.net>
27526
27527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27528
bbb78d03
AS
275292012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27530
884c5db4
AS
27531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27532
bbb78d03
AS
27533 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27534 only for |x| >= 40.
27535 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27536
1c9f702a 275372012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
27538
27539 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27540 Replace gettimeofday with __vdso_gettimeofday.
27541
7be16f82
RM
27542 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27543 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27544 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
27545
27546 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27547 time with __vdso_time.
27548
ed58a00f
JM
275492012-03-05 Joseph Myers <joseph@codesourcery.com>
27550
27551 * manual/lang.texi (size_t): Note types to which size_t may be
27552 equivalent with the GNU C Library, but do not describe when
27553 differences between them are significant.
27554
30ee4ced
AJ
275552012-03-05 Andreas Jaeger <aj@suse.de>
27556
27557 * sysdeps/i386/fpu/libm-test-ulps: Update.
27558
b7cd39e8
JM
275592012-03-05 Joseph Myers <joseph@codesourcery.com>
27560
27561 [BZ #3976]
27562 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27563 (__ieee754_pow): Save and restore rounding mode and use
27564 round-to-nearest for main computations.
27565 * math/libm-test.inc (pow_test_tonearest): New function.
27566 (pow_test_towardzero): Likewise.
27567 (pow_test_downward): Likewise.
27568 (pow_test_upward): Likewise.
27569 (main): Call the new functions.
27570 * sysdeps/i386/fpu/libm-test-ulps: Update.
27571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
27572
27573 [BZ #3976]
27574 * math/libm-test.inc (cosh_test_tonearest): New function.
27575 (cosh_test_towardzero): Likewise.
27576 (cosh_test_downward): Likewise.
27577 (cosh_test_upward): Likewise.
27578 (sinh_test_tonearest): Likewise.
27579 (sinh_test_towardzero): Likewise.
27580 (sinh_test_downward): Likewise.
27581 (sinh_test_upward): Likewise.
27582 (main): Call the new functions.
27583 * sysdeps/i386/fpu/libm-test-ulps: Update.
27584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27585
6c6a98c9
TV
275862012-03-05 Tom de Vries <tom@codesourcery.com>
27587
27588 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27589 default stack guard is set in last bytes.
27590 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27591
21bb2d2e 275922012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 27593
21bb2d2e 27594 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 27595
21bb2d2e
AJ
27596 [BZ #13656]
27597 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27598 possibly allocate from heap instead of stack.
27599 * stdio-common/bug-vfprintf-nargs.c: New file.
27600 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 27601
c6922934
AS
276022012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27603
27604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27605
bc957d53
MP
276062012-03-03 Marek Polacek <polacek@redhat.com>
27607
27608 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27609 * math/math_private.h: Likewise.
27610 * stdlib/tst-strtod.c: Likewise.
27611 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27612 * sysdeps/x86_64/bits/atomic.h: Likewise.
27613
6358490d
DM
276142012-03-02 David S. Miller <davem@davemloft.net>
27615
27616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27620 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27621 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27622 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27623 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27624
01ae168d
RM
276252012-03-02 Roland McGrath <roland@hack.frob.com>
27626
d9a17c07
RM
27627 [BZ #13792]
27628 * manual/examples/README: New file, says the example source files
27629 can be used under GPL>=2.
27630 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27631 line containing just "*/".
27632 * manual/examples/add.c: Add copyright header (GPL>=2).
27633 * manual/examples/argp-ex1.c: Likewise.
27634 * manual/examples/argp-ex2.c: Likewise.
27635 * manual/examples/argp-ex3.c: Likewise.
27636 * manual/examples/argp-ex4.c: Likewise.
27637 * manual/examples/atexit.c: Likewise.
27638 * manual/examples/db.c: Likewise.
27639 * manual/examples/dir.c: Likewise.
27640 * manual/examples/dir2.c: Likewise.
27641 * manual/examples/execinfo.c: Likewise.
27642 * manual/examples/filecli.c: Likewise.
27643 * manual/examples/filesrv.c: Likewise.
27644 * manual/examples/fmtmsgexpl.c: Likewise.
27645 * manual/examples/genpass.c: Likewise.
27646 * manual/examples/inetcli.c: Likewise.
27647 * manual/examples/inetsrv.c: Likewise.
27648 * manual/examples/isockad.c: Likewise.
27649 * manual/examples/longopt.c: Likewise.
27650 * manual/examples/memopen.c: Likewise.
27651 * manual/examples/memstrm.c: Likewise.
27652 * manual/examples/mkfsock.c: Likewise.
27653 * manual/examples/mkisock.c: Likewise.
27654 * manual/examples/mygetpass.c: Likewise.
27655 * manual/examples/pipe.c: Likewise.
27656 * manual/examples/popen.c: Likewise.
27657 * manual/examples/rprintf.c: Likewise.
27658 * manual/examples/search.c: Likewise.
27659 * manual/examples/select.c: Likewise.
27660 * manual/examples/setjmp.c: Likewise.
27661 * manual/examples/sigh1.c: Likewise.
27662 * manual/examples/sigusr.c: Likewise.
27663 * manual/examples/stpcpy.c: Likewise.
27664 * manual/examples/strdupa.c: Likewise.
27665 * manual/examples/strftim.c: Likewise.
27666 * manual/examples/strncat.c: Likewise.
27667 * manual/examples/subopt.c: Likewise.
27668 * manual/examples/swapcontext.c: Likewise.
27669 * manual/examples/termios.c: Likewise.
27670 * manual/examples/testopt.c: Likewise.
27671 * manual/examples/testpass.c: Likewise.
27672 * manual/examples/timeval_subtract.c: Likewise.
27673
01ae168d
RM
27674 [BZ #13792]
27675 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27676 function to ...
27677 * manual/timeval_subtract.c.texi: ... here, new file.
27678
49efa33d
DM
276792012-03-02 David S. Miller <davem@davemloft.net>
27680
27681 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27682
28afd92d
JM
276832012-03-02 Joseph Myers <joseph@codesourcery.com>
27684
804360ed
JM
27685 [BZ #3976]
27686 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27687 (__sin): Save and restore rounding mode and use round-to-nearest
27688 for all computations.
27689 (__cos): Save and restore rounding mode and use round-to-nearest
27690 for all computations.
27691 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27692 <fenv.h>.
27693 (tan): Save and restore rounding mode and use round-to-nearest for
27694 all computations.
27695 * math/libm-test.inc (cos_test_tonearest): New function.
27696 (cos_test_towardzero): Likewise.
27697 (cos_test_downward): Likewise.
27698 (cos_test_upward): Likewise.
27699 (sin_test_tonearest): Likewise.
27700 (sin_test_towardzero): Likewise.
27701 (sin_test_downward): Likewise.
27702 (sin_test_upward): Likewise.
27703 (tan_test_tonearest): Likewise.
27704 (tan_test_towardzero): Likewise.
27705 (tan_test_downward): Likewise.
27706 (tan_test_upward): Likewise.
27707 (main): Call the new functions.
27708 * sysdeps/i386/fpu/libm-test-ulps: Update.
27709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27710
a6d06d7b
JM
27711 [BZ #10135]
27712 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27713 small n, then large n, before computing and testing k+n.
27714 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27715 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27716 Likewise.
27717 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27718 Likewise.
27719 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27720 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27721 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27722 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27723 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27724 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27725 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27726 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27727 * math/libm-test.inc (scalbn_test): Add more tests.
27728 (scalbln_test): Likewise.
27729
07e12bb3
JM
27730 * manual/filesys.texi (mode_t): Describe constraints on size and
27731 signedness, not exact equivalence to a particular type.
27732 (ino_t): Likewise.
27733 (ino64_t): Likewise.
27734 (dev_t): Likewise.
27735 (nlink_t): Likewise.
27736 (blkcnt_t): Likewise.
27737 (blkcnt64_t): Likewise.
27738 * manual/llio.texi (off_t): Likewise.
27739
28afd92d
JM
27740 [BZ #3976]
27741 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27742 (__ieee754_exp): Save and restore rounding mode and use
27743 round-to-nearest for all computations.
27744 * math/libm-test.inc (exp_test_tonearest): New function.
27745 (exp_test_towardzero): Likewise.
27746 (exp_test_downward): Likewise.
27747 (exp_test_upward): Likewise.
27748 (main): Call the new functions.
27749 * sysdeps/i386/fpu/libm-test-ulps: Update.
27750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27751
b1eeb65d
CD
277522012-03-01 Chris Demetriou <cgd@google.com>
27753
27754 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27755 have predictable order.
27756
53362a4b
DM
277572012-03-01 David S. Miller <davem@davemloft.net>
27758
3c969083
DM
27759 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27760
759707de
DM
27761 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27762 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27763 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27764 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27765
dfdb8ff2
DM
27766 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27767 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27768 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27770 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27771 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27772 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27773 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27774 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27775
ead89f96
DM
27776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27777
7f66bd07
DM
27778 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27779 * sysdeps/sparc/fpu/libm-test-ulps: to here.
27780 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27781
53362a4b
DM
27782 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27783 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27784 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27785 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27786 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27787 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27788 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27789 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27790 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27791 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27792 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27793 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27794 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27795 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27796 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27797 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27798 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27799 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27800 * sysdeps/sparc/elf/configure: Regenerated.
27801
7b1902cb
JM
278022012-03-01 Joseph Myers <joseph@codesourcery.com>
27803
bec039bc
JM
27804 * configure.in (AS, LD): Require binutils 2.20 or later.
27805 * configure: Regenerated.
27806 * manual/install.texi (Tools for Compilation): Give binutils 2.20
27807 as required minimum version.
27808 * INSTALL: Regenerated.
27809
7b1902cb
JM
27810 [BZ #2541]
27811 [BZ #4108]
27812 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27813 before squaring exponent.
27814 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27815 bottom long double and 27 bits of top long double before squaring
27816 exponent.
27817 * math/libm-test.inc (erfc_test): Add more tests.
27818 * sysdeps/i386/fpu/libm-test-ulps: Update.
27819 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27821
f775c276
KT
278222012-03-01 Kai Tietz <ktietz@redhat.com>
27823
27824 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27825 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27826 containing bit-fields.
27827 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27828 * soft-fp/single.h (_FP_UNION_S): Likewise.
27829 * soft-fp/double.h (_FP_UNION_D): Likewise.
27830
5b8a4d4a
JM
278312012-02-29 Joseph Myers <joseph@codesourcery.com>
27832
0bab47b6
JM
27833 [BZ #13786]
27834 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27835 not include ../strcmp.S.
27836 [USE_AS_STRNCASECMP_L]: Likewise.
27837 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27838 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27839 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27840 (__strncasecmp_l_ia32): Define as alias to
27841 __strncasecmp_l_nonascii.
27842
0fcad3e2
JM
27843 [BZ #5794]
27844 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27845 * sysdeps/i386/fpu/libm-test-ulps: Update.
27846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27847
5b8a4d4a
JM
27848 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27850
8fdceb2e
JL
278512012-02-29 Jeff Law <law@redhat.com>
27852
27853 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27854 out of bounds read.
27855
1f393a11
MP
278562012-02-29 Marek Polacek <polacek@redhat.com>
27857
27858 [BZ #13706]
27859 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27860 * elf/Makefile: Add rules to run tst-unused-dep.out.
27861
8847f037
DM
278622012-02-28 David S. Miller <davem@davemloft.net>
27863
27864 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27865 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27866 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27867 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27868 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27869 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27870
169d7f11
JM
278712012-02-29 Joseph Myers <joseph@codesourcery.com>
27872
27873 * math/libm-test.inc (llround_test): Move one test from
27874 lround_test. Use TEST_f_L in moved test.
27875 (lround_test): Move misplaced test to llround_test. Add testcase
27876 from bug 2561.
27877
39adf059
UD
278782012-02-28 Ulrich Drepper <drepper@gmail.com>
27879
27880 * sysdeps/x86_64/fpu/e_expf.S: New file.
27881 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27882
71b5d1c5
SB
278832012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27884
27885 [BZ #13637]
27886 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27887 of remain_len that may cause incomplete multi-byte character and
27888 false match.
27889 * posix/bug-regex33.c: New file.
27890 * posix/Makefile (tests): Add bug-regex33.
27891
1f77f049
JM
278922012-02-28 Joseph Myers <joseph@codesourcery.com>
27893
27894 * manual/macros.texi: New file.
27895 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27896 * manual/libc.texinfo: Include macros.texi.
27897 * manual/creatute.texi: Likewise.
27898 * manual/install.texi: Likewise.
27899 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27900 @glibcadj{} in references to the GNU C Library.
27901 * manual/charset.texi: Likewise.
27902 * manual/conf.texi: Likewise.
27903 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27904 when not using those macros.
27905 * manual/creature.texi: Likewise.
27906 * manual/crypt.texi: Likewise.
27907 * manual/errno.texi: Likewise.
27908 * manual/filesys.texi: Likewise.
27909 * manual/header.texi: Likewise.
27910 * manual/install.texi: Likewise.
27911 * manual/intro.texi: Likewise.
27912 * manual/io.texi: Likewise.
27913 * manual/job.texi: Likewise.
27914 * manual/lang.texi: Likewise.
27915 * manual/libc.texiinfo: Likewise.
27916 * manual/llio.texi: Likewise.
27917 * manual/locale.texi: Likewise.
27918 * manual/maint.texi: Likewise.
27919 * manual/math.texi: Likewise.
27920 * manual/memory.texi: Likewise.
27921 * manual/message.texi: Likewise.
27922 * manual/nss.texi: Likewise.
27923 * manual/pattern.texi: Likewise.
27924 * manual/process.texi: Likewise.
27925 * manual/resource.texi: Likewise.
27926 * manual/search.texi: Likewise.
27927 * manual/setjmp.texi: Likewise.
27928 * manual/signal.texi: Likewise.
27929 * manual/socket.texi: Likewise.
27930 * manual/startup.texi: Likewise.
27931 * manual/stdio.texi: Likewise.
27932 * manual/string.texi: Likewise.
27933 * manual/sysinfo.texi: Likewise.
27934 * manual/syslog.texi: Likewise.
27935 * manual/terminal.texi: Likewise.
27936 * manual/time.texi: Likewise.
27937 * manual/users.texi: Likewise.
27938 * INSTALL: Regenerated.
27939 * NOTES: Regenerated.
d40c5d54 27940 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 27941
450bf206
AS
279422012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27943
27944 * include/dirent.h: Include <dirstream.h> before
27945 <dirent/dirent.h>.
27946
741a235b
DM
279472012-02-28 David S. Miller <davem@davemloft.net>
27948
27949 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27950 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27951 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27952 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27953
d6b5aa58
DM
279542012-02-27 David S. Miller <davem@davemloft.net>
27955
1aff59a3
DM
27956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27958 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27959 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27960
d6b5aa58
DM
27961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27962 frame pointer instead of stack pointer relative arg slot.
27963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27964 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27965 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27966
433f48bf
CD
279672012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27968
27969 [BZ #3992]
27970 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27971
d674b76d
DM
279722012-02-27 David S. Miller <davem@davemloft.net>
27973
27974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27978 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27979 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27980 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27981 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27982
0e7727f7
JM
279832012-02-27 Joseph Myers <joseph@codesourcery.com>
27984
27985 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27986 later. Allow versions 5-9.
43be4ca2 27987 * configure: Regenerated.
0e7727f7
JM
27988 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27989 required minimum version and 4.6 as recommended version. Do not
27990 mention bugs in GCC 2.7 and 2.8.
43be4ca2 27991 * INSTALL: Regenerated.
0e7727f7 27992
a78bc654
DM
279932012-02-27 David S. Miller <davem@davemloft.net>
27994
428d5830
DM
27995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27999 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28000 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28001 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28002 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28003
a78bc654
DM
28004 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28005 manipulate bits before adding and subtracting TWO112[sx].
28006 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28007
4579f81c
RM
280082012-02-27 Roland McGrath <roland@hack.frob.com>
28009
36c8acb4
RM
28010 [BZ #13775]
28011 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28012 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28013 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28014 being in POSIX, because they are in 1003.1-2008.
28015
84ad622b
RM
28016 * rt/tst-aio.c: Include <fcntl.h>.
28017 * rt/tst-aio7.c: Likewise.
28018 * rt/tst-aio64.c: Likewise.
28019
4579f81c
RM
28020 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28021
abd923db
JM
280222012-02-27 Joseph Myers <joseph@codesourcery.com>
28023
28024 * manual/install.texi (--with-headers): Describe headers as
28025 interface headers, not private headers.
28026 (Specific advice for GNU/Linux systems): Describe use of headers
28027 from "make headers_install", not private headers from older
28028 kernels.
43be4ca2 28029 * INSTALL: Regenerated.
abd923db
JM
28030 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28031 Change to 2.6.19.
28032 * sysdeps/unix/sysv/linux/configure: Regenerated.
28033
6664049b
JM
28034 * manual/llio.texi (fclean): Remove documentation.
28035
bb8b6697
JM
28036 * manual/Makefile (libc-texi-generated): New variable. Include
28037 version.texi.
28038 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28039 $(libc-texi-generated), not duplicated list of files.
28040 (version.texi, stamp-version): New rules.
28041 (realclean): Remove $(libc-texi-generated), not individual files
28042 from that list. Do not remove dir-add.texinfo.
28043 * manual/libc.texinfo: Comment out uses of edition numbers and
28044 references to printed manual. Remove last-updated dates.
28045 (EDITION): Comment out.
28046 (ISBN): Likewise.
28047 (VERSION, UPDATED): Remove.
28048 (version.texi): Include.
28049
12e5c3b9
AS
280502012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28051
28052 * sysdeps/posix/spawni.c: Include <signal.h>.
28053 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28054 * sysdeps/pthread/aio_fsync.c: Likewise.
28055
4efeffc1 280562012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 28057
ba63ba08
UD
28058 * conform/Makefile (tests): Run only when not cross-compiling and
28059 when fast-check is not defined.
28060
d94a4670
UD
28061 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28062 * conform/data/limits.h-data: Fixes for POSIX2008.
28063 * conform/run-conformtest.sh: Run all tests.
28064 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28065 headers.
28066 * include/bits/dlfcn.h: Likewise.
28067 * include/langinfo.h: Likewise.
28068 * include/monetary.h: Likewise.
28069 * include/sys/poll.h: Likewise.
28070
28071 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28072 for __USE_GNU.
28073 * posix/spawn.h: Define __need_sigset_t.
28074 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28075 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28076 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28077 to get sigevent_t only.
28078 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28079 only for __USE_GNU.
28080 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28081 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28082 process_vm_writev only for __USE_GNU.
28083 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
28084
28085 * conform/Makefile: For now ignore errors from run-conformtest.
28086 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28087 POSIX to avoid namespace pollution. Don't prepend headers.
28088 * conform/data/aio.h-data: Fixes for POSIX testing.
28089 * conform/data/fcntl.h-data: Likewise.
28090 * conform/data/glob.h-data: Likewise.
28091 * conform/data/grp.h-data: Likewise.
28092 * conform/data/pthread.h-data: Likewise.
28093 * conform/data/pwd.h-data: Likewise.
28094 * conform/data/signal.h-data: Likewise.
28095 * conform/data/spawn.h-data: Likewise.
28096 * conform/data/stdio.h-data: Likewise.
28097 * conform/data/stdlib.h-data: Likewise.
28098 * conform/data/stropts.h-data: Likewise.
28099 * conform/data/sys/mman.h-data: Likewise.
28100 * conform/data/sys/stat.h-data: Likewise.
28101 * conform/data/sys/types.h-data: Likewise.
28102 * conform/data/sys/wait.h-data: Likewise.
28103 * conform/data/time.h-data: Likewise.
28104 * conform/data/unistd.h-data: Likewise.
28105 * conform/data/utime.h-data: Likewise.
28106
28107 * io/sys/stat.h: fchmod was always in POSIX.
28108 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28109 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28110 * rt/aio.h: Define __need_timespec before including <time.h>.
28111 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28112 struct. Add forward declaration of pthread_attr_t and use it in
28113 sigevent.
28114 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28115 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28116 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28117 always remove CLK_TCK definition.
28118
c20105c3
AS
281192012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28120
28121 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28122
7a270350
UD
281232012-02-25 Ulrich Drepper <drepper@gmail.com>
28124
31341567
UD
28125 * conform/run-conformtest.sh: New file.
28126 * conform/Makefile: Run run-conformtest for tests.
28127 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28128 support.
28129
28130 * conform/data/uchar.h-data: New file.
28131 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28132 * conform/data/arpa/inet.h-data: Likewise.
28133 * conform/data/assert.h-data: Likewise.
28134 * conform/data/complex.h-data: Likewise.
28135 * conform/data/cpio.h-data: Likewise.
28136 * conform/data/ctype.h-data: Likewise.
28137 * conform/data/dirent.h-data: Likewise.
28138 * conform/data/dlfcn.h-data: Likewise.
28139 * conform/data/errno.h-data: Likewise.
28140 * conform/data/fcntl.h-data: Likewise.
28141 * conform/data/float.h-data: Likewise.
28142 * conform/data/fmtmsg.h-data: Likewise.
28143 * conform/data/fnmatch.h-data: Likewise.
28144 * conform/data/ftw.h-data: Likewise.
28145 * conform/data/glob.h-data: Likewise.
28146 * conform/data/grp.h-data: Likewise.
28147 * conform/data/iconv.h-data: Likewise.
28148 * conform/data/inttypes.h-data: Likewise.
28149 * conform/data/langinfo.h-data: Likewise.
28150 * conform/data/libgen.h-data: Likewise.
28151 * conform/data/limits.h-data: Likewise.
28152 * conform/data/locale.h-data: Likewise.
28153 * conform/data/math.h-data: Likewise.
28154 * conform/data/monetary.h-data: Likewise.
28155 * conform/data/mqueue.h-data: Likewise.
28156 * conform/data/ndbm.h-data: Likewise.
28157 * conform/data/net/if.h-data: Likewise.
28158 * conform/data/netdb.h-data: Likewise.
28159 * conform/data/netinet/in.h-data: Likewise.
28160 * conform/data/nl_types.h-data: Likewise.
28161 * conform/data/poll.h-data: Likewise.
28162 * conform/data/pthread.h-data: Likewise.
28163 * conform/data/pwd.h-data: Likewise.
28164 * conform/data/regex.h-data: Likewise.
28165 * conform/data/sched.h-data: Likewise.
28166 * conform/data/search.h-data: Likewise.
28167 * conform/data/semaphore.h-data: Likewise.
28168 * conform/data/setjmp.h-data: Likewise.
28169 * conform/data/signal.h-data: Likewise.
28170 * conform/data/spawn.h-data: Likewise.
28171 * conform/data/stdarg.h-data: Likewise.
28172 * conform/data/stdio.h-data: Likewise.
28173 * conform/data/stdlib.h-data: Likewise.
28174 * conform/data/string.h-data: Likewise.
28175 * conform/data/strings.h-data: Likewise.
28176 * conform/data/stropts.h-data: Likewise.
28177 * conform/data/sys/ipc.h-data: Likewise.
28178 * conform/data/sys/mman.h-data: Likewise.
28179 * conform/data/sys/msg.h-data: Likewise.
28180 * conform/data/sys/resource.h-data: Likewise.
28181 * conform/data/sys/select.h-data: Likewise.
28182 * conform/data/sys/sem.h-data: Likewise.
28183 * conform/data/sys/shm.h-data: Likewise.
28184 * conform/data/sys/socket.h-data: Likewise.
28185 * conform/data/sys/stat.h-data: Likewise.
28186 * conform/data/sys/statvfs.h-data: Likewise.
28187 * conform/data/sys/time.h-data: Likewise.
28188 * conform/data/sys/timeb.h-data: Likewise.
28189 * conform/data/sys/times.h-data: Likewise.
28190 * conform/data/sys/types.h-data: Likewise.
28191 * conform/data/sys/uio.h-data: Likewise.
28192 * conform/data/sys/un.h-data: Likewise.
28193 * conform/data/sys/utsname.h-data: Likewise.
28194 * conform/data/sys/wait.h-data: Likewise.
28195 * conform/data/syslog.h-data: Likewise.
28196 * conform/data/tar.h-data: Likewise.
28197 * conform/data/termios.h-data: Likewise.
28198 * conform/data/utime.h-data: Likewise.
28199 * conform/data/utmpx.h-data: Likewise.
28200 * conform/data/varargs.h-data: Likewise.
28201 * conform/data/wchar.h-data: Likewise.
28202 * conform/data/wctype.h-data: Likewise.
28203 * conform/data/wordexp.h-data: Likewise.
28204
28205 * include/stropts.h: New file.
28206 * include/uchar.h: New file.
28207 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28208 * include/assert.h: Likewise.
28209 * include/ctype.h: Likewise.
28210 * include/dirent.h: Likewise.
28211 * include/dlfcn.h: Likewise.
28212 * include/fcntl.h: Likewise.
28213 * include/fnmatch.h: Likewise.
28214 * include/glob.h: Likewise.
28215 * include/grp.h: Likewise.
28216 * include/libio.h: Likewise.
28217 * include/locale.h: Likewise.
28218 * include/math.h: Likewise.
28219 * include/net/if.h: Likewise.
28220 * include/netdb.h: Likewise.
28221 * include/netinet/in.h: Likewise.
28222 * include/pthread.h: Likewise.
28223 * include/pwd.h: Likewise.
28224 * include/regex.h: Likewise.
28225 * include/sched.h: Likewise.
28226 * include/search.h: Likewise.
28227 * include/setjmp.h: Likewise.
28228 * include/signal.h: Likewise.
28229 * include/stdio.h: Likewise.
28230 * include/stdlib.h: Likewise.
28231 * include/string.h: Likewise.
28232 * include/sys/cdefs.h: Likewise.
28233 * include/sys/mman.h: Likewise.
28234 * include/sys/msg.h: Likewise.
28235 * include/sys/resource.h: Likewise.
28236 * include/sys/select.h: Likewise.
28237 * include/sys/socket.h: Likewise.
28238 * include/sys/stat.h: Likewise.
28239 * include/sys/statvfs.h: Likewise.
28240 * include/sys/time.h: Likewise.
28241 * include/sys/times.h: Likewise.
28242 * include/sys/uio.h: Likewise.
28243 * include/sys/utsname.h: Likewise.
28244 * include/sys/wait.h: Likewise.
28245 * include/termios.h: Likewise.
28246 * include/time.h: Likewise.
28247 * include/ulimit.h: Likewise.
28248 * include/unistd.h: Likewise.
28249 * include/utime.h: Likewise.
28250 * include/wchar.h: Likewise.
28251 * include/wctype.h: Likewise.
28252 * include/wordexp.h: Likewise.
28253
28254 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28255
7a270350
UD
28256 * time/time.h: TIME_UTC must be a macro.
28257 Make timespec_get available for ISO C11 only as well.
28258
7724defc
UD
282592012-02-24 Ulrich Drepper <drepper@gmail.com>
28260
28261 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28262 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28263
6b1d1d46
JM
282642012-02-24 Joseph Myers <joseph@codesourcery.com>
28265
28266 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 28267
0f8bbd69
JM
282682012-02-24 Joseph Myers <joseph@codesourcery.com>
28269
28270 * manual/texinfo.tex: Update to version 2012-01-19.16.
28271
66ab80bc
JM
282722012-02-24 Joseph Myers <joseph@codesourcery.com>
28273
28274 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28275
74981cc5
RM
282762012-02-24 Roland McGrath <roland@hack.frob.com>
28277
ee968201
RM
28278 [BZ #13738]
28279 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28280 * manual/fdl-1.3.texi: New file.
28281 * manual/fdl-1.1.texi: File removed.
28282
74981cc5
RM
28283 [BZ #13738]
28284 * manual/libc.texinfo (FDL_VERSION): New @set.
28285 Use it for mention of FDL in cover text.
28286 (Documentation License): Use it in @include file name.
28287
7bb764bc
JM
282882012-02-22 Joseph Myers <joseph@codesourcery.com>
28289 Roland McGrath <roland@hack.frob.com>
28290
28291 [BZ #5461]
28292 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28293 not LONG_LONG_MAX and LONG_LONG_MIN.
28294 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28295 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28296 name.
28297 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28298
6cbeae47
JM
282992012-02-22 Joseph Myers <joseph@codesourcery.com>
28300
28301 [BZ #2547]
28302 [BZ #11365]
28303 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28304 manipulate bits before adding and subtracting TWO23[sx].
28305 * math/libm-test.inc (nearbyint_test): Add more tests.
28306
fe45ce09
JM
283072012-02-22 Joseph Myers <joseph@codesourcery.com>
28308
28309 [BZ #2548]
28310 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28311 bits before adding and subtracting TWO23[sx].
28312 * math/libm-test.inc (rint_test): Add more tests.
28313 (rint_test_tonearest): Likewise.
28314 (rint_test_towardzero): Likewise.
28315 (rint_test_downward): Likewise.
28316 (rint_test_upward: Likewise.
28317
ff3b3d82
JM
283182012-02-22 Joseph Myers <joseph@codesourcery.com>
28319
28320 [BZ #10110]
28321 * include/stdc-predef.h: New file. Extracted from features.h.
28322 * include/features.h: Include stdc-predef.h.
28323 * Makefile (headers): Add stdc-predef.h.
28324 * CONFORMANCE (Compiler limitations): Update.
28325
ef0aab35
JM
283262012-02-22 Joseph Myers <joseph@codesourcery.com>
28327
28328 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28329
58639409
DM
283302012-02-21 David S. Miller <davem@davemloft.net>
28331
28332 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28333 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28334
c0e70b25
DM
283352012-02-20 David S. Miller <davem@davemloft.net>
28336
28337 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28338 using a normal save/restore sequence, rather than allocating a
28339 dummy stack frame just to store a frame pointer and restore.
28340 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28341
fb06851d
JM
283422012-02-21 Joseph Myers <joseph@codesourcery.com>
28343
28344 * manual/install.texi: Fix stray word in line-wrapped comment.
28345
7a8b71c3
DM
283462012-02-20 David S. Miller <davem@davemloft.net>
28347
d510c123
DM
28348 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28349 both binutils and gcc support GOTDATA.
28350
0722d7c2
DM
28351 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28352 "rd %pc" in the PIC register setup sequences.
28353
3d2b3019
DM
28354 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28355 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28356 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28357 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28358 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28359 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28360 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28361 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28362 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28363 (SYSCALL_ERROR_HANDLER): Likewise.
28364 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28365 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28366 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28367 (SYSCALL_ERROR_HANDLER): Likewise.
28368
c80098a9
DM
28369 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28370 (HAVE_GCC_GOTDATA): New.
28371 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28372 relocation support in both binutils and gcc.
28373 * sysdeps/sparc/elf/configure: Regenerate.
28374
3a2545a0
DM
28375 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28376 * sysdeps/sparc/sparc32/elf/configure: Delete.
28377 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28378 * sysdeps/sparc/sparc64/elf/configure: Delete.
28379 * sysdeps/sparc/elf/configure.in: New file.
28380 * sysdeps/sparc/elf/configure: Generate.
28381
7a8b71c3
DM
28382 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28383 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28384 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28385 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28386 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28387
f1e86fca
JM
283882012-02-21 Joseph Myers <joseph@codesourcery.com>
28389
28390 * manual/install.texi: Do not mention specific glibc version
28391 numbers.
28392 * manual/libc.texinfo (VERSION, UPDATED): Update.
28393 (@copying): Use @copyright{} and range of years.
28394
0e7dfaef
JM
283952012-02-21 Joseph Myers <joseph@codesourcery.com>
28396
28397 [BZ #13695]
28398 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28399 [crti.S not in sysdirs] (generated): Do not append.
28400 [crti.S not in sysdirs] (omit-deps): Likewise.
28401 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28402 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28403 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28404 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28405 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28406 Likewise.
28407 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28408 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28409 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28410 * csu/defs.awk: Remove file.
28411 * sysdeps/generic/initfini.c: Likewise.
28412 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28413 variable.
28414 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28415 Likewise.
28416
599af3ca
JM
284172012-02-20 Joseph Myers <joseph@codesourcery.com>
28418
28419 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28420 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28421 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28422 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28423 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28424 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28425 <bits/epoll.h>.
28426 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28427 (__EPOLL_PACKED): Define to empty if not defined by
28428 <bits/epoll.h>.
28429 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28431 bits/epoll.h.
28432
0e499750
JM
284332012-02-20 Joseph Myers <joseph@codesourcery.com>
28434
28435 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28436 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28437 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28438 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28439 <bits/timerfd.h>.
28440 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28441 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28442 bits/timerfd.h.
28443
5ad91f6e
JM
284442012-02-20 Joseph Myers <joseph@codesourcery.com>
28445
28446 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28447 in C locale.
28448 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28449 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28450 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28452
06b99b02
AJ
284532012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28454
28455 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28456 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28457
7638c0fd
AS
284582012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28459
28460 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28461 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28462 defined.
28463 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28464 Likewise.
28465 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28466 entry for 2.16.
28467
92221550
AJ
284682012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28469
28470 * math/w_acos.c: Use non-signaling floating-point comparisons.
28471 * math/w_acosf.c: Likewise.
28472 * math/w_acosh.c: Likewise.
28473 * math/w_acoshf.c: Likewise.
28474 * math/w_acoshl.c: Likewise.
28475 * math/w_acosl.c: Likewise.
28476 * math/w_asin.c: Likewise.
28477 * math/w_asinf.c: Likewise.
28478 * math/w_asinl.c: Likewise.
28479 * math/w_atanh.c: Likewise.
28480 * math/w_atanhf.c: Likewise.
28481 * math/w_atanhl.c: Likewise.
28482 * math/w_exp2.c: Likewise.
28483 * math/w_exp2f.c: Likewise.
28484 * math/w_exp2l.c: Likewise.
28485 * math/w_j0.c: Likewise.
28486 * math/w_j0f.c: Likewise.
28487 * math/w_j0l.c: Likewise.
28488 * math/w_j1.c: Likewise.
28489 * math/w_j1f.c: Likewise.
28490 * math/w_j1l.c: Likewise.
28491 * math/w_jn.c: Likewise.
28492 * math/w_jnf.c: Likewise.
28493 * math/w_log.c: Likewise.
28494 * math/w_log10.c: Likewise.
28495 * math/w_log10f.c: Likewise.
28496 * math/w_log10l.c: Likewise.
28497 * math/w_log2.c: Likewise.
28498 * math/w_log2f.c: Likewise.
28499 * math/w_log2l.c: Likewise.
28500 * math/w_logf.c: Likewise.
28501 * math/w_logl.c: Likewise.
28502 * math/w_sqrt.c: Likewise.
28503 * math/w_sqrtf.c: Likewise.
28504 * math/w_sqrtl.c: Likewise.
28505 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28506 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28507 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28508 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28509 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28510
ebaf36eb
JM
285112012-02-19 Joseph Myers <joseph@codesourcery.com>
28512
28513 [BZ #9739]
28514 * manual/string.texi (strnlen): Use correct parameter name in
28515 equivalent expression.
28516
71c254a6
JM
285172012-02-19 Joseph Myers <joseph@codesourcery.com>
28518
28519 [BZ #11174]
28520 * manual/users.texi (seteuid): Consistently use neweuid for
28521 argument name.
28522
16d2c631
JM
285232012-02-19 Joseph Myers <joseph@codesourcery.com>
28524
28525 [BZ #13704]
28526 * manual/nss.texi (Services in the NSS configuration): Correct
28527 list of services in example configuration file.
28528
cd837b09
NB
285292012-02-19 Nick Bowler <nbowler@draconx.ca>
28530
28531 [BZ #11322]
28532 * manual/arith.texi: Remove statements about negative zero
28533 behaving identically to zero.
28534
02c4bbad
JM
285352012-02-18 Joseph Myers <joseph@codesourcery.com>
28536
28537 [BZ #5993]
28538 * manual/install.texi: Do not document upgrading from libc5.
28539
366842e7
JM
285402012-02-18 Joseph Myers <joseph@codesourcery.com>
28541
28542 [BZ #4596]
28543 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28544
dd54084d
DM
285452012-02-18 David S. Miller <davem@davemloft.net>
28546
28547 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28548 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28549 %o7 across the call.
28550 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28551 instead.
28552 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28553 SETUP_PIC_REG_LEAF.
28554 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28555 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28556 * sysdeps/sparc/crtn.S: Likewise.
28557
2bcc53a3
UD
285582012-02-17 Ulrich Drepper <drepper@gmail.com>
28559
28560 * aout/Makefile: Remove.
28561
09c093b5
RK
285622012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28563
28564 [BZ #13058]
28565 * manual/examples/argp-ex1.c (main): Format definition in GNU
28566 style.
28567 * manual/examples/argp-ex2.c (main): Likewise.
28568 * manual/examples/argp-ex3.c (main): Likewise.
28569 * manual/examples/argp-ex4.c (main): Likewise.
28570 * manual/examples/longopt.c (main): Use new-style prototype
28571 definition.
28572 * manual/examples/strncat.c (main): Specify return type and use
28573 (void) for arguments.
28574 * manual/examples/subopt.c (main): Use char **argv argument.
28575
2ee633a2
JM
285762012-02-17 Joseph Myers <joseph@codesourcery.com>
28577
28578 [BZ #5077]
28579 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28580 rounding modes.
28581
0520adde
FB
285822012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28583
28584 [BZ #6907]
28585 * manual/string.texi (strchr): Change when strchrnul is
28586 recommended.
28587
3f4081cd
DGM
285882012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28589
28590 [BZ #174]
28591 * manual/locale.texi (setlocale): Document LOCPATH.
28592
d1b10e78
JM
285932012-02-17 Joseph Myers <joseph@codesourcery.com>
28594
28595 [BZ #10210]
28596 * manual/process.texi (execle): Move @dots{} before last argument.
28597
79c6869c
PB
285982012-02-17 Paul Bolle <pebolle@tiscali.nl>
28599
28600 [BZ #12047]
28601 * manual/charset.texi (Generic Charset Conversion): Fix typo
28602 (LC_TYPE -> LC_CTYPE).
28603
cc6e48bc
NB
286042012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28605
28606 [BZ #5805]
28607 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28608 (scalbnf): Likewise.
28609 (scalbnl): Likewise.
28610 (scalbln): Likewise.
28611 (scalblnf): Likewise.
28612 (scalblnl): Likewise.
28613 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28614 (vwarnx): Likewise.
28615 (verr): Likewise.
28616 (verrx): Likewise.
28617 * manual/filesys.texi (telldir): Use braces around return type.
28618 * manual/llio.texi (mmap): Add space after comma.
28619 (mmap64): Likewise.
28620 * manual/math.texi (jn): Use @var{} on parameter names.
28621 (jnf): Likewise.
28622 (jnl): Likewise.
28623 (yn): Likewise.
28624 (ynf): Likewise.
28625 (ynl): Likewise.
28626 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28627 line.
28628 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28629 "...".
28630 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28631 (sched_get_priority_max): Likewise.
28632 * manual/signal.texi (sigvec): Add space after comma.
28633 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28634 names.
28635 (if_indextoname): Likewise.
28636 (if_freenameindex): Likewise.
28637 (sendto): Use ',' instead of '.' in prototype.
28638 * manual/startup.texi (syscall): Use @dots{} instead of literal
28639 "...".
28640 * manual/stdio.texi (__fpending): Separate initial words of
28641 paragraph from @deftypefun line.
28642 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28643 "...".
28644 (vsyslog): Use @var{} on parameter names.
28645 * manual/terminal.texi (stty): Use @var{} on parameter names.
28646 * manual/users.texi (getutmp): Use @var{} on parameter names.
28647 (getutmpx): Likewise.
28648
5b23062f
JM
286492012-02-17 Joseph Myers <joseph@codesourcery.com>
28650
28651 [BZ #6884]
28652 * manual/stdio.texi (fopen): Fix typos in description of
28653 ",ccs=STRING".
28654
8dee4833
AJ
286552012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28656
28657 [BZ #4026]
28658 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28659 get clock_id definition.
28660
9078ce93
TS
286612012-02-17 Thomas Schwinge <thomas@schwinge.name>
28662
28663 [BZ #4822]
28664 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28665 (madvise): Cast every argument to void on its own.
28666
3835c55f
JM
286672012-02-17 Joseph Myers <joseph@codesourcery.com>
28668
28669 [BZ #9902]
28670 * manual/startup.texi (Exit Status): Fix typo.
28671
35c47e37
JM
286722012-02-17 Joseph Myers <joseph@codesourcery.com>
28673
28674 [BZ #10140]
28675 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28676 * manual/examples/argp-ex2.c: Likewise.
28677 * manual/examples/argp-ex3.c: Likewise.
28678
e3b69ca7
RH
286792012-02-16 Richard Henderson <rth@redhat.com>
28680
28681 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28682 * sysdeps/s390/s390-32/initfini.c: Remove.
28683 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28684 * sysdeps/s390/s390-64/initfini.c: Remove.
28685
df83af67
KK
286862012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28687
28688 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28689 compiler output for sysdeps/generic/initfini.c.
28690 * sysdeps/sh/elf/initfini.c: Remove file.
28691
f63f3380
DM
286922012-02-16 David S. Miller <davem@davemloft.net>
28693
fb59b3a4
DM
28694 [BZ #11494]
28695 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28696
f63f3380
DM
28697 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28698 * sysdeps/sparc/crti.S: New file.
28699 * sysdeps/sparc/crtn.S: New file.
28700 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28701 * sysdeps/sparc/sparc64/Makefile: Likewise.
28702
df6a4a4a
MF
287032012-02-15 Mike Frysinger <vapier@gentoo.org>
28704
6dd8f3dc 28705 [BZ #3335]
df6a4a4a
MF
28706 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28707
1cac7236
RM
287082012-02-15 Roland McGrath <roland@hack.frob.com>
28709
d2c736f8
RM
28710 [BZ #4822]
28711 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28712
1cac7236
RM
28713 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28714 (write, read, close): Likewise.
28715 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28716
8e475601
JM
287172012-02-15 Joseph Myers <joseph@codesourcery.com>
28718
28719 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28720 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28721 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28722 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28723 <bits/signalfd.h>.
28724 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28725 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28726 bits/signalfd.h.
28727
ed656b40
MP
287282012-02-14 Marek Polacek <polacek@redhat.com>
28729
28730 * sysdeps/x86_64/crti.S: New file.
28731 * sysdeps/x86_64/crtn.S: New file.
28732 * sysdeps/x86_64/elf/initfini.c: Remove file.
28733
2a979d3a
JM
287342012-02-13 Joseph Myers <joseph@codesourcery.com>
28735
28736 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28737 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28738 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28739 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28740 <bits/inotify.h>.
28741 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28742 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28743 bits/inotify.h.
28744
2a418ac3
JM
287452012-02-13 Joseph Myers <joseph@codesourcery.com>
28746
28747 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28748 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28749 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28750 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28751 <bits/eventfd.h>.
28752 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28753 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28754 bits/eventfd.h.
28755
fb779be7
TS
287562012-02-10 Thomas Schwinge <thomas@codesourcery.com>
28757
e19e83c5
RM
28758 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28759 __feraiseexcept instead of feraiseexcept.
7c35ffed 28760
fb779be7
TS
28761 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28762 nanosleep invocations.
28763 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28764 strings, and add error checking for a nanosleep invocations.
28765
59ba27a6
PE
287662012-02-09 Paul Eggert <eggert@cs.ucla.edu>
28767
28768 Replace FSF snail mail address with URLs, as per GNU coding standards.
28769 Most of the snail mail addresses were wrong anyway, and omitting
28770 them makes the source code easier to maintain. Almost all of the
28771 changes are to license notices and to locale LC_IDENTIFICATION
28772 addresses, except for this one:
28773 * manual/libc.texinfo: In "Published by", give the FSF's URL,
28774 not its snail mail address.
28775
57b957eb
RH
287762012-02-09 Richard Henderson <rth@twiddle.net>
28777
af850b1c
RH
28778 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28779 of kernel-features.h.
28780
57b957eb
RH
28781 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28782
6b73181a
MP
287832012-02-08 Marek Polacek <polacek@redhat.com>
28784
28785 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28786 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28787 * sysdeps/gnu/_G_config.h: Likewise.
28788 * sysdeps/generic/_G_config.h: Likewise.
28789
26ecc33a
AS
287902012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28791
6c6dbc63
AS
28792 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28793 tests.
28794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28795
e216c012
AS
28796 * sysdeps/powerpc/powerpc32/crti.S: New file.
28797 * sysdeps/powerpc/powerpc32/crtn.S: New file.
28798 * sysdeps/powerpc/powerpc64/crti.S: New file.
28799 * sysdeps/powerpc/powerpc64/crtn.S: New file.
28800
26ecc33a
AS
28801 * Makeconfig (have-initfini): Don't set.
28802 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28803 * configure.in (nopic_initfini): Don't substitute.
28804 * config.h.in (HAVE_INITFINI): Don't #undef.
28805 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28806 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28807
3add8e13
JM
288082012-02-08 Joseph Myers <joseph@codesourcery.com>
28809
28810 Support crti.S and crtn.S provided directly by architectures.
28811 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28812 [crti.S in sysdirs] (omit-deps): Likewise.
28813 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28814 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28815 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28816 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28817 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28818 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28819 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28820 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28821 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28822 compiler output for sysdeps/generic/initfini.c.
28823 * sysdeps/i386/elf/Makefile: Remove file.
28824 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28825
a22f12b4
MP
288262012-02-07 Marek Polacek <polacek@redhat.com>
28827
28828 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28829 * sysdeps/gnu/_G_config.h: Likewise.
28830 * sysdeps/mach/hurd/_G_config.h: Likewise.
28831
148cf100
MP
288322012-02-07 Marek Polacek <polacek@redhat.com>
28833
28834 * math/Makefile (tests): Add tst-CMPLX2.
28835 * math/tst-CMPLX2.c: New file.
28836
cfdc0dd7
AS
288372012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28838
84ba42c4
AS
28839 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28840
cfdc0dd7
AS
28841 * math/libm-test.inc (jn_test): Add missing L suffix.
28842
622c86f4
MP
288432012-02-06 Marek Polacek <polacek@redhat.com>
28844
28845 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28846 * sysdeps/i386/fpu/e_powf.S: Likewise.
28847 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28848 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28849 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28850 * sysdeps/i386/fpu/e_pow.S: Likewise.
28851 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28852 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28853 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28854 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28855 * sysdeps/i386/fpu/e_log2.S: Likewise.
28856 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28857 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28858 * sysdeps/i386/fpu/e_powl.S: Likewise.
28859 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28860 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28861 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28862 * sysdeps/i386/fpu/e_logl.S: Likewise.
28863 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28864 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28865 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28866 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28867 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28868 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28869 * sysdeps/i386/fpu/e_log.S: Likewise.
28870 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28871 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28872 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28873 * sysdeps/i386/fpu/e_logf.S: Likewise.
28874 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28875 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28876 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28877 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28878 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28879 * sysdeps/i386/fpu/e_log10.S: Likewise.
28880 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28881 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28882 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28883 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28884 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28885 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28886 * sysdeps/i386/asm-syntax.h: Likewise.
28887 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28888 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28889 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28890 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28891 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28892 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28893 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28894 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28895 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28896 * sysdeps/powerpc/sysdep.h: Likewise.
28897 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28898 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28899
d4a54ac6
JM
289002012-02-06 Joseph Myers <joseph@codesourcery.com>
28901
28902 [BZ #411]
28903 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28904
314054ea
JM
289052012-02-06 Joseph Myers <joseph@codesourcery.com>
28906
28907 * sysdeps/i386/sysdep.h: Include <features.h>.
28908 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28909 version.
28910
d8e0ca50
JM
289112012-02-05 Joseph Myers <joseph@codesourcery.com>
28912
28913 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28914 Define.
28915 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28916 LOAD_PIC_REG_STR.
28917
b1da7dd9
JM
289182012-02-03 Joseph Myers <joseph@codesourcery.com>
28919
28920 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28921 (SETUP_PIC_REG): Use GET_PC_THUNK.
28922 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28923 macro.
28924
9a1d9254
JM
289252012-02-03 Joseph Myers <joseph@codesourcery.com>
28926
28927 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28928 for non-PIC compilation.
28929 (SETUP_PIC_REG): Add .p2align directive.
28930 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28931 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28932 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28933 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28934 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28935 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28936 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28937 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28938 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28939 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28940 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28941 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28942 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28943 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28944 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28945 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28946 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28947 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28948 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28949 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28950 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28951 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28952 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28953 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28954 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28955 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28956 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28957 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28958 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28959 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28960 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28961 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28962 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28963 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28964 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28965 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28966 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28967 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28968 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28969 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28970 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28971
65dc3b75
JM
289722012-02-03 Joseph Myers <joseph@codesourcery.com>
28973
28974 * math/tst-CMPLX.c: Include <stdio.h>.
28975
d55bf177
JM
289762012-01-31 Joseph Myers <joseph@codesourcery.com>
28977
28978 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28979 float.
28980 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28981 * sysdeps/sparc/bits/mathdef.h: Likewise.
28982
69db4f8f
MP
289832012-01-31 Marek Polacek <polacek@redhat.com>
28984
28985 * libio/libio.h: Don't define _PARAMS.
28986 * locale/programs/config.h: Don't define PARAMS.
28987 * stdlib/strtol_l.c: Likewise.
28988 (__strtol_l): Remove PARAMS from the prototype.
28989
41b81892
UD
289902012-01-31 Ulrich Drepper <drepper@gmail.com>
28991
3b49edc0
UD
28992 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28993 names. Just use the correct names. Remove unnecessary wrapper
28994 functions.
28995 * malloc/arena.c: Likewise.
28996 * malloc/hooks.c: Likewise.
28997
41b81892
UD
28998 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28999 ARENA_TEST says not to. Simplify test for creation of a new arena.
29000 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29001
27a25b6e
UD
290022012-01-30 Ulrich Drepper <drepper@gmail.com>
29003
29004 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29005 into tail calls.
29006 (update_get_addr): New function.
29007 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29008 GET_ADDR_MODULE parameter.
29009
c8a89e7d
JM
290102012-01-30 Joseph Myers <joseph@codesourcery.com>
29011
29012 * crypt/cert.c: Remove __STDC__ conditionals.
29013 * crypt/crypt-entry.c: Likewise.
29014 * crypt/crypt_util.c: Likewise.
29015 * libio/filedoalloc.c: Likewise.
29016 * libio/fileops.c: Likewise.
29017 * libio/genops.c: Likewise.
29018 * libio/iofclose.c: Likewise.
29019 * libio/iofdopen.c: Likewise.
29020 * libio/iofopen.c: Likewise.
29021 * libio/iofopen64.c: Likewise.
29022 * libio/iogetdelim.c: Likewise.
29023 * libio/iopopen.c: Likewise.
29024 * libio/obprintf.c: Likewise.
29025 * libio/oldfileops.c: Likewise.
29026 * libio/oldiofclose.c: Likewise.
29027 * libio/oldiofdopen.c: Likewise.
29028 * libio/oldiofopen.c: Likewise.
29029 * libio/oldiopopen.c: Likewise.
29030 * libio/wfiledoalloc.c: Likewise.
29031 * libio/wgenops.c: Likewise.
29032 * locale/programs/xmalloc.c: Likewise.
29033 * misc/syslog.c: Likewise.
29034 * stdio-common/xbug.c: Likewise.
29035 * string/memchr.c: Likewise.
29036 * string/memcmp.c: Likewise.
29037 * string/memrchr.c: Likewise.
29038 * string/rawmemchr.c: Likewise.
29039 * sysdeps/posix/getcwd.c: Likewise.
29040 * time/strftime_l.c: Likewise.
29041
3b100462
JM
290422012-01-30 Joseph Myers <joseph@codesourcery.com>
29043
29044 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
29045 * config.make.in (config-cflags-sse2avx): Define.
29046 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29047 Fix typo.
29048
607998af
CM
290492012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29050
29051 * scripts/config.guess: Update from upstream config git repository.
29052 * scripts/config.sub: Likewise.
29053
3601428f
CM
290542012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29055
3ac8b282
CM
29056 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29057 (EM_NUM): Update.
29058 (R_TILEPRO_*, R_TILEGX_*): New macros.
29059
e034841e
CM
29060 * scripts/firstversions.awk: Fix bug in version range handling.
29061
540d7568
CM
29062 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29063
3601428f
CM
29064 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29065
463de862
CM
29066 * include/sys/epoll.h: New file.
29067 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29068 libc_hidden_def.
29069
73139a76
UD
290702012-01-28 Ulrich Drepper <drepper@gmail.com>
29071
96bc5b45
UD
29072 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29073 Avoid unnecessary __WORDSIZE == 64 test.
29074 (fmaxf): Use VEX format if possible.
29075 (fmax): Likewise.
29076 (fminf): Likewise.
29077 (fmin): Likewise.
29078
56f6f6a2
UD
29079 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29080 * math/math_private.h: Remove libc_fegetround* and
29081 libc_fesetround*.
29082 * sysdeps/i386/configure.in: Check for -msse2avx.
29083 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29084 also if SSE2AVX is defined.
29085 Remove libc_fegetround* and libc_fesetround*.
29086 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29087 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29088 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29089 of HAS_YMM_USABLE.
29090 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29091 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29092 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29093 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29094 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29095
73139a76
UD
29096 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29097
d73f93a4
AZ
290982012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29099
29100 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29101 size is not set.
29102 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29103
6ee65ed6
UD
291042012-01-27 Ulrich Drepper <drepper@gmail.com>
29105
29106 [BZ #13618]
29107 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29108 relocation.
29109 * Makeconfig (libm): Define.
29110 * elf/Makefile: Add rules to build and run tst-relsort1.
29111 * elf/tst-relsort1.c: New file.
29112 * elf/tst-relsort1mod1.c: New file.
29113 * elf/tst-relsort1mod2.c: New file.
29114
8db21882
JM
291152012-01-27 Joseph Myers <joseph@codesourcery.com>
29116
29117 * math/s_ldexp.c: Remove __STDC__ conditionals.
29118 * math/s_ldexpf.c: Likewise.
29119 * math/s_ldexpl.c: Likewise.
29120 * math/s_nextafter.c: Likewise.
29121 * math/s_nexttowardf.c: Likewise.
29122 * math/s_significand.c: Likewise.
29123 * math/s_significandf.c: Likewise.
29124 * math/s_significandl.c: Likewise.
29125 * math/w_jnl.c: Likewise.
29126 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29127 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29128 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29129 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29130 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29131 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29132 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29133 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29134 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29135 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29136 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29137 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29138 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29139 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29140 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29141 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29142 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29143 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29144 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29145 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29146 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29147 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29148 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29149 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29150 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29151 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29152 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29153 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29154 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29155 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29156 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29157 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29158 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29159 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29160 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29161 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29162 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29163 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29164 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29165 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29166 * sysdeps/ieee754/k_standard.c: Likewise.
29167 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29168 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29169 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29170 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29171 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29172 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29173 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29174 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29175 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29176 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29177 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29178 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29179 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29180 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29181 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29182 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29183 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29184 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29185 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29186 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29187 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29188 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29189 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29190 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29191 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29192 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29193 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29194 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29195 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29196 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29197 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29198 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29199 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29200 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29201 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29202 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29203 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29204 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29205 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29206 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29207 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29208 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29209 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29210 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29211 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29212 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29213 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29214 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29215 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29216 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29217 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29218 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29219 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29220 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29221 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29222 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29223 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29224 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29225 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29226 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29227 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29228 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29229 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29230 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29231 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29232 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29233 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29234 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29235 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29236 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29237 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29238 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29239 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29240 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29241 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29242 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29243 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29244 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29245 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29246 * sysdeps/ieee754/s_matherr.c: Likewise.
29247 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29248 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29249 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29250 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29251
965a54a4
JM
292522012-01-26 Joseph Myers <joseph@codesourcery.com>
29253
29254 * crypt/md5.h: Remove __STDC__ conditionals.
29255 * libio/libioP.h: Likewise.
29256 * locale/programs/config.h: Likewise.
29257 * sysdeps/generic/sysdep.h: Likewise.
29258 * sysdeps/i386/asm-syntax.h: Likewise.
29259 * sysdeps/s390/asm-syntax.h: Likewise.
29260 * sysdeps/unix/sysdep.h: Likewise.
29261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29263
7071ad79
JM
292642012-01-26 Joseph Myers <joseph@codesourcery.com>
29265
29266 * libio/libio.h: Remove __STDC__ conditionals.
29267 * malloc/obstack.h: Likewise.
29268 * math/complex.h: Likewise.
29269 * math/math.h: Likewise.
29270 * sysdeps/generic/_G_config.h: Likewise.
29271 * sysdeps/gnu/_G_config.h: Likewise.
29272 * sysdeps/mach/hurd/_G_config.h: Likewise.
29273 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29274 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29275 * sysdeps/sparc/bits/mathdef.h: Likewise.
29276
afc5ed09
UD
292772012-01-26 Ulrich Drepper <drepper@gmail.com>
29278
29279 [BZ #13583]
29280 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 29281 Clean up HAS_* macros.
afc5ed09 29282 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
29283 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29284 possible.
29285 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29286 HAS_AVX.
29287 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29288 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29289 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29290 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29291 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 29292
bdb6de1d
JM
292932012-01-25 Joseph Myers <joseph@codesourcery.com>
29294
29295 * elf/tst-unique3.cc (gets): Remove declaration.
29296 * elf/tst-unique3lib.cc (gets): Likewise.
29297 * elf/tst-unique3lib2.cc (gets): Likewise.
29298 * elf/tst-unique4.cc (gets): Likewise.
29299
b15549e6
UD
293002012-01-24 Ulrich Drepper <drepper@gmail.com>
29301
29302 * include/stdio.h: Add C++ protection. Add gets declarations and
29303 definitions.
29304 * debug/tst-chk1.c: Don't declare gets here.
29305 * stdio-common/tst-gets.c: Likewise.
29306
a037381f
JM
293072012-01-24 Joseph Myers <joseph@codesourcery.com>
29308
29309 * posix/glob: Remove directory.
29310
f1d4aa75
JM
293112012-01-24 Joseph Myers <joseph@codesourcery.com>
29312
29313 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29314
81c0c964
PT
293152012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29316
29317 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29318 of the non-standard EPFNOSUPPORT.
29319
0ea698ae
ST
293202011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29321
29322 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29323 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29324 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29325
d220b117
UD
293262012-01-21 Ulrich Drepper <drepper@gmail.com>
29327
29328 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29329
3e1aa84e
UD
293302012-01-20 Ulrich Drepper <drepper@gmail.com>
29331
29332 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29333 transient errors.
29334 * nscd/grpcache.c (cache_addgr): Likewise.
29335 * nscd/hstcache.c (cache_addhst): Likewise.
29336 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29337 * nscd/pwdcache.c (cache_addpw): Likewise.
29338 * nscd/servicescache.c (cache_addserv): Likewise.
29339
400aa020
UD
293402012-01-16 Ulrich Drepper <drepper@gmail.com>
29341
d77e7869
UD
29342 * malloc/malloc.c: Various cleanups.
29343 * malloc/hooks.c: Likewise.
29344
400aa020
UD
29345 * stdlib/Makefile (tests): Add bug-fmtmsg1.
29346 * stdlib/bug-fmtmsg1.c: New file.
29347
29348 * stdlib/fmtmsg.c (init): Add missing unlock.
29349 Patch by Peng Haitao <penght@cn.fujitsu.com>.
29350
e0a309cf
MP
293512012-01-12 Marek Polacek <polacek@redhat.com>
29352
29353 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29354 and _GNU_SOURCE.
29355
929d11c7
WS
293562012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29357
29358 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29359 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29360 macro to ensure uniqueness of label name.
29361 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29362 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29363
41d0e869
UD
293642012-01-11 Ulrich Drepper <drepper@gmail.com>
29365
0cc5ed3b
UD
29366 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29367
41d0e869
UD
29368 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29369 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29370 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29371 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29372
a47a831a
UD
293732012-01-10 Ulrich Drepper <drepper@gmail.com>
29374
daa891c0
UD
29375 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29376
29377 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29378 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29379 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29380
e58ef0f2
UD
29381 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29382
a47a831a 29383 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
29384 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29385 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 29386 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
29387
29388 * math/bits/math-finite.h: Add ldexp support.
29389
a0bfc9c7
MP
293902012-01-10 Marek Polacek <polacek@redhat.com>
29391
29392 * locale/programs/localedef.h (show_archive_content): Add noreturn
29393 attribute.
29394
d6e97a1d
UD
293952012-01-09 Ulrich Drepper <drepper@gmail.com>
29396
29397 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29398
d5835c26
UD
293992012-01-08 Ulrich Drepper <drepper@gmail.com>
29400
e5f484c6
UD
29401 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29402
d5835c26
UD
29403 * io/Makefile (headers): Add bits/poll2.h.
29404
d1f741e9
WS
294052011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29406
29407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29408 typo #include statement.
29409
ec09c1c4
UD
294102012-01-08 Ulrich Drepper <drepper@gmail.com>
29411
29412 * include/sys/cdefs.h: Define __attribute_alloc_size.
29413 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29414 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29415 * elf/pldd.c: Likewise.
29416 * iconv/iconv_charmap.c: Likewise.
29417 * iconv/iconvconfig.c: Likewise.
29418 * iconv/strtab.c: Likewise.
29419 * locale/programs/locale.c: Likewise.
29420 * locale/programs/localedef.h: Likewise.
29421 * locale/programs/simple-hash.c: Likewise.
29422 * nscd/nscd.h: Likewise.
29423 * nss/makedb.c: Likewise.
29424 * sysdeps/generic/ldconfig.h: Likewise.
29425 * locale/programs/localedef.c: Remove xmalloc prototype.
29426 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29427
20b38e03
PP
294282012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29429
29430 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29431 appropriate.
29432
a0da5fe1
UD
294332012-01-08 Ulrich Drepper <drepper@gmail.com>
29434
1d5a644a 29435 * math/Makefile (tests): Add tst-CMPLX.
669704fd 29436 * math/tst-CMPLX.c: New file.
1d5a644a 29437
8784a6db
UD
29438 * math/complex.h (CMPLXL): Fix typo.
29439
d9a216c0
UD
29440 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29441 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29442 GLIBC_2.16.
29443 * debug/tst-chk1.c: Add poll and ppoll tests.
29444 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29445 * include/sys/poll.h: Add hidden proto for ppoll.
29446 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29447 * sysdeps/mach/hurd/ppoll.c: Likewise.
29448 * io/ppoll.c: Likewise.
29449 * debug/poll_chk.c: New file.
29450 * debug/ppoll_chk.c: New file.
29451 * include/bits/poll2.h: New file.
29452 * io/bits/poll2.h: New file.
29453
ac097f5c
UD
29454 [BZ #1350]
29455 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29456
2119dcfa
UD
29457 * configure.in: static is always set to yes. Remove.
29458 * config.make.in: Don't set build-static.
29459 * Makeconfig: Remove use of build-static.
29460 * dlfcn/Makefile: Likewise.
29461 * elf/Makefile: Likewise.
29462 * math/Makefile: Likewise.
29463 * misc/Makefile: Likewise.
29464 * nptl/Makefile: Likewise.
29465 * sysdeps/mach/hurd/Makefile: Likewise.
29466
121766a9
UD
29467 * configure.in: PWD_P is not used anymore.
29468 * config.make.in: Remove PWD_P entry.
29469
51a1d39c 29470 * configure.in: Remove last remnants of RANLIB.
8720d066 29471 No need to check for signed size_t anymore.
215f4bdc
UD
29472 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29473 and IA-64.
3857022a 29474 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
29475 * aclocal.m4: Likewise.
29476
d3ed7225
UD
29477 * wcsmbs/mbrtoc16.c: Implement using towc function.
29478 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29479 * wcsmbs/wcsmbsload.c: Likewise.
29480 * iconv/gconv_simple.c: Likewise.
29481 * iconv/gconv_int.h: Likewise.
29482 * iconv/gconv_builtin.h: Likewise.
29483 * iconv/iconv_prog.c: Remove CHAR16 handling.
29484
29485 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29486
29487 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29488
a0da5fe1
UD
29489 * configure.in: Remove --with-elf and --enable-bounded options.
29490 Dont set base_machine for ia64. More non-ELF conditions removed.
29491 Remove testing and setting of leading underscore information.
29492 * config.make.in (build-bounded): Set to no.
29493 * config.h.in: Remove NO_UNDERSCORES entry.
29494 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29495 them.
29496 * csu/start.c: Remove !NO_UNDERSCORE code.
29497 * locale/localeinfo.h: Likewise.
29498 * sysdeps/generic/machine-gmon.h: Likewise.
29499 * sysdeps/generic/sysdep.h: Likewise.
29500 * sysdeps/i386/sysdep.h: Likewise.
29501 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29502 * sysdeps/mach/sysdep.h: Likewise.
29503 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29504 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29505 * sysdeps/sh/sysdep.h: Likewise.
29506 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29507 * sysdeps/unix/i386/sysdep.S: Likewise.
29508 * sysdeps/unix/sparc/start.c: Likewise.
29509 * sysdeps/unix/sparc/sysdep.S: Likewise.
29510 * sysdeps/unix/sparc/sysdep.h: Likewise.
29511 * sysdeps/unix/start.c: Likewise.
29512 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29513 * sysdeps/x86_64/sysdep.h: Likewise.
29514
df78418a
UD
295152012-01-07 Ulrich Drepper <drepper@gmail.com>
29516
a784e502
UD
29517 [BZ #13553]
29518 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29519 for non-gcc.
29520 * argp/argp-fmtstream.h: Use const instead __const.
29521 * argp/argp.h: Likewise.
29522 * assert/assert.h: Likewise.
29523 * bits/fenv.h: Likewise.
29524 * bits/sched.h: Likewise.
29525 * bits/sigset.h: Likewise.
29526 * bits/sigthread.h: Likewise.
29527 * catgets/nl_types.h: Likewise.
29528 * conform/data/pthread.h-data: Likewise.
29529 * crypt/crypt-private.h: Likewise.
29530 * crypt/crypt.h: Likewise.
29531 * crypt/crypt_util.c: Likewise.
29532 * ctype/ctype.h: Likewise.
29533 * debug/execinfo.h: Likewise.
29534 * debug/mbsnrtowcs_chk.c: Likewise.
29535 * debug/mbsrtowcs_chk.c: Likewise.
29536 * debug/wcsnrtombs_chk.c: Likewise.
29537 * debug/wcsrtombs_chk.c: Likewise.
29538 * debug/wcstombs_chk.c: Likewise.
29539 * dirent/dirent.h: Likewise.
29540 * dlfcn/dlfcn.h: Likewise.
29541 * elf/neededtest4.c: Likewise.
29542 * grp/grp.h: Likewise.
29543 * gshadow/gshadow.h: Likewise.
29544 * iconv/gconv.h: Likewise.
29545 * iconv/gconv_int.h: Likewise.
29546 * iconv/gconv_simple.c: Likewise.
29547 * iconv/iconv.h: Likewise.
29548 * iconv/loop.c: Likewise.
29549 * iconv/skeleton.c: Likewise.
29550 * include/aio.h: Likewise.
29551 * include/aliases.h: Likewise.
29552 * include/argz.h: Likewise.
29553 * include/arpa/inet.h: Likewise.
29554 * include/assert.h: Likewise.
29555 * include/dirent.h: Likewise.
29556 * include/dlfcn.h: Likewise.
29557 * include/execinfo.h: Likewise.
29558 * include/fcntl.h: Likewise.
29559 * include/fenv.h: Likewise.
29560 * include/glob.h: Likewise.
29561 * include/grp.h: Likewise.
29562 * include/libintl.h: Likewise.
29563 * include/mntent.h: Likewise.
29564 * include/netdb.h: Likewise.
29565 * include/pwd.h: Likewise.
29566 * include/rpc/netdb.h: Likewise.
29567 * include/sched.h: Likewise.
29568 * include/search.h: Likewise.
29569 * include/shadow.h: Likewise.
29570 * include/signal.h: Likewise.
29571 * include/stdio.h: Likewise.
29572 * include/stdlib.h: Likewise.
29573 * include/string.h: Likewise.
29574 * include/sys/socket.h: Likewise.
29575 * include/sys/stat.h: Likewise.
29576 * include/sys/statfs.h: Likewise.
29577 * include/sys/statvfs.h: Likewise.
29578 * include/sys/syslog.h: Likewise.
29579 * include/sys/time.h: Likewise.
29580 * include/sys/uio.h: Likewise.
29581 * include/time.h: Likewise.
29582 * include/unistd.h: Likewise.
29583 * include/utmp.h: Likewise.
29584 * include/wchar.h: Likewise.
29585 * include/wctype.h: Likewise.
29586 * inet/aliases.h: Likewise.
29587 * inet/arpa/inet.h: Likewise.
29588 * inet/netinet/ether.h: Likewise.
29589 * inet/netinet/in.h: Likewise.
29590 * intl/libintl.h: Likewise.
29591 * io/bits/fcntl2.h: Likewise.
29592 * io/fcntl.h: Likewise.
29593 * io/ftw.h: Likewise.
29594 * io/sys/poll.h: Likewise.
29595 * io/sys/stat.h: Likewise.
29596 * io/sys/statfs.h: Likewise.
29597 * io/sys/statvfs.h: Likewise.
29598 * io/utime.h: Likewise.
29599 * libio/bits/stdio.h: Likewise.
29600 * libio/bits/stdio2.h: Likewise.
29601 * libio/libio.h: Likewise.
29602 * libio/libioP.h: Likewise.
29603 * libio/stdio.h: Likewise.
29604 * locale/lc-ctype.c: Likewise.
29605 * locale/locale.h: Likewise.
29606 * login/utmp.h: Likewise.
29607 * malloc/arena.c: Likewise.
29608 * malloc/malloc.c: Likewise.
29609 * malloc/malloc.h: Likewise.
29610 * malloc/mcheck.c: Likewise.
29611 * malloc/mtrace.c: Likewise.
29612 * math/bits/mathcalls.h: Likewise.
29613 * math/fenv.h: Likewise.
29614 * math/math_private.h: Likewise.
29615 * misc/bits/error.h: Likewise.
29616 * misc/bits/syslog.h: Likewise.
29617 * misc/err.h: Likewise.
29618 * misc/error.h: Likewise.
29619 * misc/fstab.h: Likewise.
29620 * misc/mntent.h: Likewise.
29621 * misc/regexp.h: Likewise.
29622 * misc/search.h: Likewise.
29623 * misc/sgtty.h: Likewise.
29624 * misc/sys/mman.h: Likewise.
29625 * misc/sys/syslog.h: Likewise.
29626 * misc/sys/uio.h: Likewise.
29627 * misc/sys/xattr.h: Likewise.
29628 * misc/ttyent.h: Likewise.
29629 * nis/rpcsvc/ypclnt.h: Likewise.
29630 * nss/nss.h: Likewise.
29631 * posix/bits/unistd.h: Likewise.
29632 * posix/fnmatch.h: Likewise.
29633 * posix/glob.h: Likewise.
29634 * posix/sched.h: Likewise.
29635 * posix/spawn.h: Likewise.
29636 * posix/sys/wait.h: Likewise.
29637 * posix/unistd.h: Likewise.
29638 * posix/wordexp.h: Likewise.
29639 * pwd/pwd.h: Likewise.
29640 * resolv/netdb.h: Likewise.
29641 * resource/sys/resource.h: Likewise.
29642 * rt/aio.h: Likewise.
29643 * rt/bits/mqueue2.h: Likewise.
29644 * rt/mqueue.h: Likewise.
29645 * shadow/shadow.h: Likewise.
29646 * signal/signal.h: Likewise.
29647 * socket/send.c: Likewise.
29648 * socket/sendto.c: Likewise.
29649 * socket/sys/socket.h: Likewise.
29650 * stdio-common/printf.h: Likewise.
29651 * stdlib/bits/stdlib.h: Likewise.
29652 * stdlib/fmtmsg.h: Likewise.
29653 * stdlib/monetary.h: Likewise.
29654 * stdlib/stdlib.h: Likewise.
29655 * stdlib/ucontext.h: Likewise.
29656 * streams/stropts.h: Likewise.
29657 * string/argz.h: Likewise.
29658 * string/bits/string2.h: Likewise.
29659 * string/string.h: Likewise.
29660 * string/strings.h: Likewise.
29661 * sunrpc/rpc/auth.h: Likewise.
29662 * sunrpc/rpc/auth_des.h: Likewise.
29663 * sunrpc/rpc/clnt.h: Likewise.
29664 * sunrpc/rpc/netdb.h: Likewise.
29665 * sunrpc/rpc/pmap_clnt.h: Likewise.
29666 * sunrpc/rpc/xdr.h: Likewise.
29667 * sysdeps/generic/inttypes.h: Likewise.
29668 * sysdeps/generic/net/if.h: Likewise.
29669 * sysdeps/generic/sys/swap.h: Likewise.
29670 * sysdeps/gnu/net/if.h: Likewise.
29671 * sysdeps/gnu/utmpx.h: Likewise.
29672 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29673 * sysdeps/i386/i486/bits/string.h: Likewise.
29674 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29675 * sysdeps/s390/bits/string.h: Likewise.
29676 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29677 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29678 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29679 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29680 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29681 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29682 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29683 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29684 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29685 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29686 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29687 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29688 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29689 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29690 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29691 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29692 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29693 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29694 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29695 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29696 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29697 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29698 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29699 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29700 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29701 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29702 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29703 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29704 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29705 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29706 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29707 * sysvipc/sys/ipc.h: Likewise.
29708 * sysvipc/sys/msg.h: Likewise.
29709 * sysvipc/sys/sem.h: Likewise.
29710 * sysvipc/sys/shm.h: Likewise.
29711 * termios/termios.h: Likewise.
29712 * time/sys/time.h: Likewise.
29713 * time/time.h: Likewise.
29714 * wcsmbs/bits/wchar2.h: Likewise.
29715 * wcsmbs/uchar.h: Likewise.
29716 * wcsmbs/wchar.h: Likewise.
29717 * wctype/wctype.h: Likewise.
29718
0269750c
UD
29719 [BZ #13551]
29720 * Makeconfig: Remove all but ELF support including AIX support.
29721 * Makerules: Likewise.
29722 * config.h.in: Likewise.
29723 * config.make.in: Likewise.
29724 * configure: Likewise.
29725 * configure.in: Likewise.
29726 * csu/Makefile: Likewise.
29727 * csu/version.c: Likewise.
29728 * debug/Makefile: Likewise.
29729 * dlfcn/Makefile: Likewise.
29730 * elf/Makefile: Likewise.
29731 * extra-lib.mk: Likewise.
29732 * iconv/Makefile: Likewise.
29733 * include/libc-symbols.h: Likewise.
29734 * include/shlib-compat.h: Likewise.
29735 * resolv/Makefile: Likewise.
29736 * resolv/res_libc.c: Likewise.
29737 * rt/Makefile: Likewise.
29738 * sysdeps/i386/asm-syntax.h: Likewise.
29739 * sysdeps/i386/sysdep.h: Likewise.
29740 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29741 * sysdeps/mach/sysdep.h: Likewise.
29742 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29743 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29744 * sysdeps/s390/asm-syntax.h: Likewise.
29745 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29746 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29747 * sysdeps/sh/sysdep.h: Likewise.
29748 * sysdeps/unix/sparc/sysdep.h: Likewise.
29749 * sysdeps/wordsize-32/divdi3.c: Likewise.
29750 * sysdeps/x86_64/sysdep.h: Likewise.
29751
00bbd29b
UD
29752 * argp/Versions: Remove _argp_unlock_xxx.
29753
29754 [BZ #13559]
29755 * abilist/ld.abilist: Update. Adjust for removal of tls option.
29756 * abilist/libBrokenLocale.abilist: Likewise.
29757 * abilist/libanl.abilist: Likewise.
29758 * abilist/libc.abilist: Likewise.
29759 * abilist/libcrypt.abilist: Likewise.
29760 * abilist/libdl.abilist: Likewise.
29761 * abilist/libm.abilist: Likewise.
29762 * abilist/libnsl.abilist: Likewise.
29763 * abilist/libpthread.abilist: Likewise.
29764 * abilist/libresolv.abilist: Likewise.
29765 * abilist/librt.abilist: Likewise.
29766 * abilist/libthread_db.abilist: Likewise.
29767 * abilist/libutil.abilist: Likewise.
29768 * abilist/libnss_db.abilist: New file.
29769
29770 * scripts/abilist.awk: Add support for indirect functions.
29771
a2693a0e
UD
29772 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29773
3f05895f
UD
29774 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29775
ecb6fb48
UD
29776 * shlib-versions: Remove entries for ports architectures.
29777
664f8cb9
UD
29778 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29779 files in ports.
29780 * elf/stackguard-macros.h: Remove support for IA-64.
29781 * elf/tst-auditmod1.c: Likewise.
29782 * sysdeps/generic/ldsodefs.h: Likewise.
29783
7ae81d88
UD
29784 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29785 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29786 configure files.
29787
bdeba135
UD
29788 [BZ #13552]
29789 * configure.in: Remove --enable-omitfp support.
29790 * FAQ.in: Adjust.
29791 * config.make.in: Likewise.
29792 * Makeconfig: Likewise.
29793 * manual/install.texi: Likewise.
29794
d75a0a62
UD
29795 In case anyone cares, the IA-64 architecture could move to ports.
29796 * sysdeps/ia64/*: Removed.
29797 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 29798 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 29799
dcc9756b
UD
29800 [BZ #13555]
29801 * configure.in: Remove entries for unsupported architectures.
29802
d3761ebc 29803 [BZ #13533]
9954432e
UD
29804 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29805 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
29806 routines.
29807 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29808 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29809 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29810 fall back to using wcrtomb.
29811 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29812 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29813 renaming.
29814 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29815 * wcsmbs/tst-c16c32-1.c: New file.
29816
29817 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29818 local variable.
29819
c3a87236
UD
29820 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29821
28926a1b
UD
29822 * elf/tst-unique3.cc: Add explicit declaration of gets.
29823 * elf/tst-unique3lib.cc: Likewise.
29824 * elf/tst-unique3lib2.cc: Likewise.
29825 * elf/tst-unique4.cc: Likewise.
29826
df78418a
UD
29827 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29828
8ecd6b2a
JM
298292012-01-06 Joseph Myers <joseph@codesourcery.com>
29830
29831 [BZ #13566]
29832 * assert/assert.h (static_assert): Don't define for C++.
29833 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29834 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29835
9f115170
UD
298362012-01-03 Ulrich Drepper <drepper@gmail.com>
29837
5e0d0300
UD
29838 * iconv/loop.c (single loop): Fix assertion in storing of
29839 remaining bytes.
29840
9f115170
UD
29841 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29842
81fb02b0
UD
298432012-01-01 Ulrich Drepper <drepper@gmail.com>
29844
29845 * posix/getconf.c: Update copyright year.
29846 * nss/getent.c: Likewise.
a316c1f6 29847 * nss/makedb.c: Likewise.
81fb02b0
UD
29848 * iconv/iconvconfig.c: Likewise.
29849 * iconv/iconv_prog.c: Likewise.
29850 * elf/ldconfig.c: Likewise.
a316c1f6
UD
29851 * elf/pldd.c: Likewise.
29852 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
29853 * catgets/gencat.c: Likewise.
29854 * csu/version.c: Likewise.
29855 * elf/ldd.bash.in: Likewise.
29856 * elf/sprof.c (print_version): Likewise.
29857 * locale/programs/locale.c: Likewise.
29858 * locale/programs/localedef.c: Likewise.
a316c1f6 29859 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
29860 * nscd/nscd.c (print_version): Likewise.
29861 * debug/xtrace.sh: Likewise.
29862 * malloc/memusage.sh: Likewise.
29863 * malloc/mtrace.pl: Likewise.
29864 * debug/catchsegv.sh: Likewise.
29865
2ba92745
JJ
298662011-12-30 Jakub Jelinek <jakub@redhat.com>
29867
29868 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29869 pure attribute.
29870
dadebdae
UD
298712011-12-24 Ulrich Drepper <drepper@gmail.com>
29872
d3761ebc 29873 [BZ #13533]
db6af3eb
UD
29874 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29875 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29876 transformations.
29877 * iconv/gconv_int.h: Likewise.
29878 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29879 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29880 from libc for GLIBC_2.16.
29881 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29882 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29883 * wcsmbs/uchar.h: Really define mbstate_t.
29884 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29885 * wcsmbs/c16rtomb.c: New file.
29886 * wcsmbs/mbrtoc16.c: New file.
29887 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29888 for C/POSIX locale.
29889 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29890 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29891
dadebdae
UD
29892 * wcsmbs/wchar.h: Add missing __restrict.
29893
67371b56
UD
298942011-12-23 Ulrich Drepper <drepper@gmail.com>
29895
74033a25
UD
29896 [BZ #13532]
29897 * time/Makefile (routines): Add timespec_get.
29898 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29899 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29900 timespec for ISO C11.
29901 * time/timespec_get.c: New file.
29902 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29903 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29904
380d7e87
UD
29905 [BZ #13531]
29906 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29907 * stdlib/stdlib.h: Declare aligned_alloc.
29908 * Versions.def: Add GLIBC_2.16 for libc.
29909 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29910
4e9e7a35
UD
29911 [BZ 13527]
29912 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29913 ISO C11.
29914
380d7e87 29915 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
29916 code.
29917
03a71829
UD
29918 [BZ #13528]
29919 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29920
839e283e
UD
29921 [BZ #13529]
29922 * assert/assert.h (static_assert): Define.
29923
ce5294e2 29924 * version.h: Update for 2.16 development version.
90fa7312 29925
8d44e150 29926 [BZ #13526]
d7809905
UD
29927 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29928 _ISOC11_SOURCE.
29929
c0da14cd
UD
29930 * version.h (RELEASE): Bump for 2.15 release.
29931 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29932
530a3249
MP
29933 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29934 Patch by Marek Polacek <mpolacek@redhat.com>.
29935
67371b56
UD
29936 * bits/byteswap.h: Protect long long constants with __extension__.
29937 * sysdeps/i386/bits/byteswap.h: Likewise.
29938 * sysdeps/ia64/bits/byteswap.h: Likewise.
29939 * sysdeps/s390/bits/byteswap.h: Likewise.
29940 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29941
15db4de1
LD
299422011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29943
29944 [BZ #13540]
bbe315ea
LD
29945 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29946 destination buffer.
15db4de1
LD
29947 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29948
2b2596b1
MP
299492011-12-23 Marek Polacek <polacek@redhat.com>
29950
29951 * elf/dl-addr.c (determine_info): Add inline keyword.
29952 * elf/tst-auditmod4b.c (check_avx): Likewise.
29953 * elf/tst-auditmod6b.c (check_avx): Likewise.
29954 * elf/tst-auditmod6c.c (check_avx): Likewise.
29955 * elf/tst-auditmod7b.c (check_avx): Likewise.
29956
70c6c246
UD
299572011-12-23 Ulrich Drepper <drepper@gmail.com>
29958
29959 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29960 !__SSE_MATH__.
29961
c044cf14
LD
299622011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29963
15db4de1 29964 [BZ #13540]
c044cf14
LD
29965 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29966 processing for last bytes.
29967
6b13d9d9
BH
299682011-08-06 Bruno Haible <bruno@clisp.org>
29969
d455f537
BH
29970 [BZ #13061]
29971 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29972 U+0385, not to U+1FEE.
29973
6b13d9d9
BH
29974 [BZ #13062]
29975 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29976 entry for U+00A5 U+0301.
29977
db910efd
UD
299782011-12-22 Ulrich Drepper <drepper@gmail.com>
29979
27deeafc
UD
29980 [BZ #13166]
29981 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29982 buffer for the output is too small.
29983
aed9d171
UD
29984 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29985 optimization.
29986
db910efd
UD
29987 [BZ #13185]
29988 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29989 SSE flags if possible.
29990
2bd779ae
LD
299912011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29992
e7f9dac3 29993 [BZ #13540]
2bd779ae
LD
29994 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29995 processing for last bytes.
29996
154bfc16
JM
299972011-12-22 Joseph Myers <joseph@codesourcery.com>
29998
29999 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30000 (syscall-list-default-options, syscall-list-default-condition)
30001 (syscall-list-includes): Define.
30002 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30003 list of ABIs and options and #if conditions for each ABI. Do not
30004 handle common syscalls between ABIs specially.
30005 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30006 Remove.
30007 (syscall-list-variants, syscall-list-32bit-options)
30008 (syscall-list-32bit-condition, syscall-list-64bit-options)
30009 (syscall-list-64bit-condition): Define.
30010 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30011 (syscall-list-variants, syscall-list-32bit-options)
30012 (syscall-list-32bit-condition, syscall-list-64bit-options)
30013 (syscall-list-64bit-condition): Define.
30014 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30015 Remove.
30016 (syscall-list-variants, syscall-list-32bit-options)
30017 (syscall-list-32bit-condition, syscall-list-64bit-options)
30018 (syscall-list-64bit-condition): Define.
30019 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30020 Remove.
30021 (syscall-list-variants, syscall-list-32bit-options)
30022 (syscall-list-32bit-condition, syscall-list-64bit-options)
30023 (syscall-list-64bit-condition): Define.
30024
21eaf3a5
UD
300252011-12-22 Ulrich Drepper <drepper@gmail.com>
30026
16c6f992
UD
30027 * locale/iso-639.def: Add brx entry.
30028
41043168
UD
30029 [BZ #13328]
30030 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30031 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30032
21eaf3a5
UD
30033 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30034 __feraiseexcept_renamed.
30035
e3a851a2
UD
300362011-12-21 Ulrich Drepper <drepper@gmail.com>
30037
4920765e
UD
30038 [BZ #13538]
30039 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30040 EPOLLET with unsigned values.
30041 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30042 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30043
e3a851a2
UD
30044 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30045 to large cancellation.
30046 * math/s_cacoshf.c: Likewise.
30047 * math/s_cacoshl.c: Likewise.
30048
b27e24b8
RK
300492011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30050
30051 [BZ #13305]
aebefeee 30052 [BZ #12786]
b27e24b8
RK
30053 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30054 * math/s_cacoshf.c: Likewise.
30055 * math/s_cacoshl.c: Likewise.
30056
ee190f67
UD
300572011-12-21 Ulrich Drepper <drepper@gmail.com>
30058
30059 [BZ #13439]
30060 * iconv/gconv.h: Define __GCONV_SWAP.
30061 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30062 * iconvdata/utf-16.c: Likewise.
30063 * iconvdata/utf-32.c: Likewise.
30064
707f25df
AS
300652011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30066
30067 [BZ #13524]
30068 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30069 numerator after shifting it by one limb.
30070
d2daaa1e
RÁE
300712011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30072
30073 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30074 under [__USE_EXTERN_INLINES].
30075
a4647e72
UD
300762011-12-17 Ulrich Drepper <drepper@gmail.com>
30077
30078 [BZ #13446]
30079 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30080
f0b264f1
AZ
300812011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30082
30083 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30084 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30085 optimized code.
30086 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30087 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30088 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30089 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30090 for strncasecmp/strncasecmp_l compilation.
30091 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30092 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30093
8ef4f244
MP
300942011-12-08 Marek Polacek <mpolacek@redhat.com>
30095
30096 [BZ #13484]
30097 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30098 of __asm__.
30099
97ac2654
UD
301002011-12-17 Ulrich Drepper <drepper@gmail.com>
30101
30102 [BZ #13506]
30103 * time/tzfile.c (__tzfile_read): Check values from file header.
30104
91d2a845
WS
301052011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30106
30107 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30108 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30109 * powerpc/powerpc32/dl-start.S: Likewise.
30110 * powerpc/powerpc32/elf/start.S: Likewise.
30111 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30112 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30113 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30114 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30115 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30116 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30117 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30118 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30119 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30120 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30121 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30122 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30123 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30124 * powerpc/powerpc32/memset.S: Likewise.
30125 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30126 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30127 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30128 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30129 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30130 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30131 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30132 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30133 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30134 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30135 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30136 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30137 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30138
a1267ba1
AZ
301392011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30140
30141 * math/libm-test.inc: Added more nearbyint tests.
30142 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30143 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30144 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30145 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30146
ad8ac1bd
RL
301472011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30148
30149 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30150 FD_CLOEXEC.
30151
1d3e4b61
UD
301522011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30153
30154 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30155 Add wcscpy-ssse3 wcscpy-c.
30156 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30157 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30158 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30159 * sysdeps/x86_64/wcschr.S: New file.
30160 * sysdeps/x86_64/wcsrchr.S: New file.
30161 * string/test-strcmp.c: Remove checking of wcscmp function for
30162 wrong alignments.
30163 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30164 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30165 wcsrchr-sse2 wcsrchr-c.
30166 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30167 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30168 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30169 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30170 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30171 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30172 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30173 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30174 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30175 * wcsmbc/wcschr.c (WCSCHR): New macro.
30176
5b330a2d
UD
301772011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30178
30179 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30180 * wcsmbs/test-wcsrchr.c: New file.
30181 * string/test-strrchr.c: Add wcsrchr support.
30182 (WIDE): New macro.
30183 * wcsmbs/test-wcscpy.c: New file.
30184 * string/test-strcpy.c: Add wcscpy support.
30185 (WIDE): New macro.
26428b7c 30186
f039c043
UD
301872011-12-10 Ulrich Drepper <drepper@gmail.com>
30188
30189 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30190 the inner loop.
30191
850fb039
AS
301922011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30193
30194 [BZ #13472]
30195 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30196
4efbd5cb
UD
301972011-12-04 Ulrich Drepper <drepper@gmail.com>
30198
52ff5dd0 30199 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 30200 Minor optimizations.
52ff5dd0 30201
4efbd5cb
UD
30202 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30203 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30204 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30205
8a426e12
UD
302062011-12-03 Ulrich Drepper <drepper@gmail.com>
30207
aff2453d
UD
30208 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30209 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30210 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30211 for gcc to avoid warnings.
30212 * inet/Makefile (tests): Add tst-checks.
30213 * inet/tst-checks.c: New file.
30214
30215 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30216 warning.
30217
30218 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30219 __wmemcmp_sse2.
30220
30221 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30222 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30223
8a426e12
UD
30224 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30225
9bea3473
UD
302262011-12-02 Ulrich Drepper <drepper@gmail.com>
30227
3a965496
UD
30228 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30229 problem.
30230
9bea3473
UD
30231 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30232
f101631b
UD
302332011-11-29 Joseph Myers <joseph@codesourcery.com>
30234
30235 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30236 conditional on GCC version.
30237 (__arch_compare_and_exchange_val_8_acq)
30238 (__arch_compare_and_exchange_val_16_acq)
30239 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30240 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30241 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30242
a98275aa
UD
302432011-12-02 Joseph Myers <joseph@codesourcery.com>
30244
30245 * sysdeps/sh/backtrace.c: New file.
30246
d4cc29a2
AS
302472011-12-02 Andreas Schwab <schwab@redhat.com>
30248
30249 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30250 parenthesis.
30251
6257af2d
AS
302522011-12-01 Andreas Schwab <schwab@redhat.com>
30253
30254 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30255 falling back to utime.
30256
b5f44c1a
AS
302572011-11-30 Andreas Schwab <schwab@redhat.com>
30258
30259 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30260 expectations for float.
30261
f3a6cc0a
AS
302622011-11-29 Andreas Schwab <schwab@redhat.com>
30263
30264 * locale/weight.h (findidx): Add parameter len.
30265 * locale/weightwc.h (findidx): Likewise.
30266 * posix/fnmatch_loop.c (FCT): Adjust caller.
30267 * posix/regcomp.c (build_equiv_class): Likewise.
30268 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30269 * posix/regexec.c (check_node_accept_bytes): Likewise.
30270 * string/strcoll_l.c (STRCOLL): Likewise.
30271 * string/strxfrm_l.c (STRXFRM): Likewise.
30272
9d65ea3a
UD
302732011-11-17 Ulrich Drepper <drepper@gmail.com>
30274
30275 * Makefile.in: Remove CVSOPT handling.
30276 * configure.in: Remove use of AC_REVISION.
30277 * iconvdata/Makefile (distribute): No need to filter out CVS.
30278 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30279 handling.
30280
5583a086
AS
302812011-11-16 Andreas Schwab <schwab@redhat.com>
30282
30283 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30284 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30285 [USE_AS_STRNCASECMP_L]: Likewise.
30286 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30287 NO_TLS_DIRECT_SEG_REFS.
30288 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30289 Fix argument offsets for non-PIC.
30290 [USE_AS_STRNCASECMP_L]: Likewise.
30291 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30292 NO_TLS_DIRECT_SEG_REFS.
30293
d62a8200
UD
302942011-11-15 Ulrich Drepper <drepper@gmail.com>
30295
9d65ea3a 30296 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
30297 O_CLOEXEC.
30298 * locale/loadlocale.c (_nl_load_locale): Likewise.
30299
09f93bd3
AS
303002011-11-15 Andreas Schwab <schwab@redhat.com>
30301
446514f9
AS
30302 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30303 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30304 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30305 (SYSCALL_GETTIME): Set errno on error.
30306
09f93bd3
AS
30307 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30308 count references to noai6ai_cached.
30309
312be3f9
UD
303102011-11-15 Ulrich Drepper <drepper@gmail.com>
30311
30312 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30313
30314 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30315 FD_CLOEXEC for /proc/self/maps.
30316
30317 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30318 FD_CLOEXEC for /proc/meminfo.
30319
30320 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30321 gai.conf.
30322
30323 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30324 FD_CLOEXEC for given file.
30325
30326 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30327
30328 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30329 FD_CLOEXEC for /etc/hosts.
30330 (_gethtent): Likewise.
30331
30332 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30333
30334 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30335 cancellation and set FD_CLOEXEC for /etc/netgroup.
30336
30337 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30338 reading /etc/publickey.
30339
30340 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30341 allow cancellation when reading /etc/group.
30342
30343 * nss/nss_files/files-alias.c (internal_setent): Don't allow
30344 cancellation.
30345 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
30346
30347 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30348 when using data file.
30349
30350 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30351
30352 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30353 (write_nis_obj): Use "c" and "e" in fopen.
30354
30355 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30356
30357 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30358
30359 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30360
30361 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30362
30363 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30364 locale.alias.
30365
30366 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30367
30368 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30369
30370 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30371
30372 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30373 file parsing and set FD_CLOEXEC.
30374
82af0fa8
UD
303752011-11-14 Ulrich Drepper <drepper@gmail.com>
30376
30377 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30378
a5fb313c
AS
303792011-11-14 Andreas Schwab <schwab@redhat.com>
30380
30381 * malloc/arena.c (arena_get2): Don't call reused_arena when
30382 _int_new_arena failed.
30383
6abf3465
UD
303842011-11-14 Ulrich Drepper <drepper@gmail.com>
30385
30386 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30387 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30388 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30389 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30390 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30391 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30392 to compile strcasecmp and strncasecmp.
30393 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30394 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30395
30396 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30397
76e3966e
UD
303982011-11-13 Ulrich Drepper <drepper@gmail.com>
30399
30400 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30401 locale-defines.sym to gen-as-const-headers.
30402 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30403 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30404 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30405 to compile strcasecmp and strncasecmp.
30406 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30407 strcasecmp_l and strncasecmp_l.
30408 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30409 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30410 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30411 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30412 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30413 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30414 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30415 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30416 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30417 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30418 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30419
ab26144e
UD
304202011-11-12 Ulrich Drepper <drepper@gmail.com>
30421
7edb22ef
UD
30422 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30423 result of SYSDEP_GETTIME_CPU to retval.
30424 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30425 parameter list to macro. Remove trailing semicolon. Adjust users.
30426
9694fc44
UD
30427 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30428 variable.
30429
8ad89ef8
UD
30430 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30431 mantissa words.
30432 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30433
0c822ef9
UD
30434 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30435 from unused variable.
30436
874e0564
UD
30437 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30438 DWARF definitions.
30439 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30440 for assembling.
30441
3a2edc79
UD
30442 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30443 over namespaces.
30444
f3c2577f
UD
30445 * sunrpc/rpc_prot.c (rejected): Fix case value.
30446
294ce126
UD
30447 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30448 unsigned long long int to avoid warnings in shift.
30449
5e2b63c6
UD
30450 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30451 of use of trans.
30452 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30453 variable tmp.
30454
e7f4b08e
UD
30455 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30456 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30457 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30458
ab26144e
UD
30459 * nis/nis_table.c (nis_list): Use variable of correct type for
30460 result of __follow_path call.
30461
8a6d5255
AZ
304622011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30463
30464 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30465 of math functions ceil, trunc, floor, round, and sqrt, when
30466 avaliable on the platform.
30467 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30468 name clash.
30469 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30470 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30471 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30472
aaddc98c
MP
304732011-10-30 Marek Polacek <mpolacek@redhat.com>
30474
30475 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30476 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30477
95b7042b
RM
304782011-11-11 Roland McGrath <roland@hack.frob.com>
30479
30480 * include/unistd.h: Fix __readlink return type.
30481 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30482
57769839
UD
304832011-11-11 Ulrich Drepper <drepper@gmail.com>
30484
30485 * stdlib/ucontext.h: Undo last change for makecontext.
30486
edc5984d
AS
304872011-11-11 Andreas Schwab <schwab@redhat.com>
30488
98591e58
AS
30489 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30490
edc5984d
AS
30491 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30492 * setjmp/setjmp.h: Mark functions as non-leaf.
30493 * setjmp/bits/setjmp2.h: Likewise.
30494 * stdlib/ucontext.h: Likewise.
30495
77cdc054
AS
304962011-11-10 Andreas Schwab <schwab@redhat.com>
30497
30498 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30499 (reused_arena): Don't check arena limit.
30500 (arena_get2): Atomically check arena limit.
30501
fe72eebd
UD
305022011-11-08 Ulrich Drepper <drepper@gmail.com>
30503
5f078c32
UD
30504 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30505 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30506
fe72eebd
UD
30507 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30508 instructions.
30509
ae1bc2fa
AS
305102011-11-07 Andreas Schwab <schwab@redhat.com>
30511
7583a88d
AS
30512 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30513 handler when locking.
30514
ae1bc2fa
AS
30515 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30516 Fix size of allocated buffer.
30517
10fb0bfa
AS
305182011-11-04 Andreas Schwab <schwab@redhat.com>
30519
998832a4
AS
30520 [BZ #10103]
30521 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30522 declarations for long double functions.
30523 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30524
10fb0bfa
AS
30525 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30526
3d7ba52b
AS
305272011-11-03 Andreas Schwab <schwab@redhat.com>
30528
a9ae54a1
AS
30529 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30530 installed.
30531
3d7ba52b
AS
30532 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30533 is disabled.
30534
bc8db248
ST
305352011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30536
30537 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30538
45b96dd6
AS
305392011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30540
647776f6
AS
30541 * include/alloca.h (stackinfo_alloca_round): Define.
30542 (extend_alloca): Use it.
30543 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30544 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30545 here.
30546
d91a8b93
AS
30547 * scripts/check-local-headers.sh: Ignore libaudit.h.
30548
45b96dd6
AS
30549 * nscd/Makefile (extra-objs): Make recursively expanded.
30550
432d41ce
UD
305512011-11-01 Ulrich Drepper <drepper@gmail.com>
30552
34372fc6
UD
30553 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30554 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30555
fadb59f8
UD
30556 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30557 * posix/tst-rfc3484-2.c: Likewise.
30558 * posix/tst-rfc3484-3.c: Likewise.
30559
78239589
UD
30560 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30561 process_vm_writev.
30562 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30563 process_vm_writev.
30564 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30565 process_vm_writev from libc using GLIBC_2.15 version.
30566
432d41ce
UD
30567 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30568
02f9c6cf
PP
305692011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30570
30571 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30572 stack usage.
30573
3a2c0242
UD
305742011-10-31 Ulrich Drepper <drepper@gmail.com>
30575
f4ec4833
UD
30576 [BZ #13367]
30577 * nss/getent.c (initgroups_keys): Show error message in case no group
30578 names are given.
30579
3a2c0242
UD
30580 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30581 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30582 __bump_nl_timestamp.
30583 * nscd/connections (nscd_init): When host database is served open
30584 netlink socket and request notification about configuration changes.
30585 (main_loop_poll): Track netlink file descriptor and bump timestamp
30586 in case data becomes available.
30587 (main_loop_epoll): Likewise.
30588 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30589 (database_pers_head): Add extra_data fileds.
30590 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30591 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30592 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30593 Adjust caller.
30594 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30595 in6ai data, call __free_in6ai.
30596 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30597 Add -DHAVE_NETLINK.
30598 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30599 interface information. Reuse previous data if netlink timestamp
30600 is not changed.
30601 (__bump_nl_timestamp): New function.
30602 (__free_in6ai): New function.
30603
636064eb
UD
306042011-10-30 Ulrich Drepper <drepper@gmail.com>
30605
30606 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30607 close_not_cancel_no_status here.
30608 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30609
9beb2334
UD
306102011-10-29 Ulrich Drepper <drepper@gmail.com>
30611
6ef76f3b
UD
30612 [BZ #13276]
30613 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30614 return value.
30615
0ffc4f3e 30616 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
30617 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30618 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30619
cb95113e
UD
306202011-07-03 Andreas Jaeger <aj@suse.de>
30621
30622 [BZ #10709]
30623 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30624 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30625 * math/libm-test.inc (sin_test): Add test case.
30626
a1b560ff
UD
306272011-10-29 Ulrich Drepper <drepper@gmail.com>
30628
c9aaface
UD
30629 [BZ #13337]
30630 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30631 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30632
d272e7f1
UD
30633 * elf/chroot_canon.c (chroot_canon): Cleanups.
30634
1bc33071
UD
30635 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30636
1760874d
TJ
30637 [BZ #13335]
30638 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30639 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30640
51d91b18
UD
30641 * string/test-strchr.c: Make usable for strchrnul testing.
30642 * string/test-strchrnul.c: New file.
30643 * string/Makefile (strop-tests): Add strchrnul.
30644
a1b560ff 30645 * po/it.po: Update from translation team.
b611fb81 30646 * po/es.po: Likewise.
a1b560ff 30647
a5b81e1f
UD
306482011-10-28 Ulrich Drepper <drepper@gmail.com>
30649
fd52bc6d
UD
30650 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30651 the three constants needed as parameters. Drop the others.
30652 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30653 __m128i_strloadu_tolower.
52e4b9eb
UD
30654 Create and initialize variable zero and use it in all the places
30655 where _mm_setzero_si128 was used.
fd52bc6d 30656
a5b81e1f
UD
30657 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30658 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30659 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30660 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30661 anymore.
30662 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30663 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30664 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30665 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30666 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30667 __mpranred, __mptan.
30668 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30669 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30670 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30671 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30672 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30673 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30674 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30675 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30676 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30677
b4343346
AS
306782011-10-28 Andreas Schwab <schwab@redhat.com>
30679
0c92d8a8
AS
30680 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30681 redefine if SHARED.
30682 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30683
b4343346
AS
30684 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30685 wide char related routines to wcsmbs subdir.
30686
3871f58f
AS
306872011-10-27 Andreas Schwab <schwab@redhat.com>
30688
30689 [BZ #13344]
30690 * misc/sys/cdefs.h (__THROWNL): Define.
30691 * posix/unistd.h: Use __THREADNL instead of __THREAD
30692 for memory synchronization functions.
30693
94d44d9f
RM
306942011-10-26 Roland McGrath <roland@hack.frob.com>
30695
21b64b15 30696 [BZ #13349]
94d44d9f
RM
30697 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30698 doesn't exist.
30699 * manual/stdio.texi (Obstack Streams): Node removed.
30700
f6ce9294
AS
307012011-10-26 Andreas Schwab <schwab@redhat.com>
30702
80479147
AS
30703 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30704 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30705 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30706
f6ce9294
AS
30707 * math/math_private.h (math_force_eval): Allow non-addressable
30708 arguments.
30709 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30710
618280a1
UD
307112011-10-25 Ulrich Drepper <drepper@gmail.com>
30712
e0016b11
UD
30713 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30714 file is not needed.
30715
30716 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30717 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30718 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30719 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30720 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30721 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30722 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30723 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30724 Add AVX variants.
30725 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30726 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30727 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30728 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30729 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30730 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30731 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30732 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30733 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30734 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30735 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30736 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30737 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30738 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30739 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30740 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30741 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30742 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30743 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30744
30745 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30746 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
30747
618280a1
UD
30748 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30749 place. Use VEX encoding when compiling for AVX.
30750
37822576
AS
307512011-10-25 Andreas Schwab <schwab@redhat.com>
30752
1f1e1947
AS
30753 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30754 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30755
37822576
AS
30756 * string/test-strchr.c (do_test): Don't generate NUL bytes.
30757
31ea014d
UD
307582011-10-25 Ulrich Drepper <drepper@gmail.com>
30759
d7826aa1 30760 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 30761 useless if() expression.
d7826aa1
UD
30762 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30763 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30764 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30765 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30766 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30767 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30768 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30769 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30770 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30771 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30772 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30773 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30774 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30775 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30776 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30777 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30778 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30779 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30780 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30781
31ea014d
UD
30782 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30783
16437fec
AS
307842011-10-25 Andreas Schwab <schwab@redhat.com>
30785
30786 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30787 condition.
30788 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30789
31d3cc00
UD
307902011-10-25 Ulrich Drepper <drepper@gmail.com>
30791
30792 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30793 .text section. Avoid duplicate constants.
30794 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30795 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30796 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30797 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30798 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30799 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30801 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30802 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30803 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30804 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30805 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30806 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30807 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30808 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30809 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30810 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30811 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30812 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30813 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30814 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30815 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30816 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30817 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30818 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30819 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30820 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30821 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30822 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30823 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30824 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30825 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30826 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30827 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30828 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30829 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30830 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30831 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30832 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30833 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30834 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30835 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30836 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30837 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30838 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30839
58985aa9
UD
308402011-10-24 Ulrich Drepper <drepper@gmail.com>
30841
202c9deb
UD
30842 * sysdeps/x86_64/dla.h: Move to ...
30843 * sysdeps/x86_64/fpu/dla.h: ...here.
30844 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30845 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 30846
af968f62
UD
30847 * config.make.in: Add have-mfma4 entry.
30848 * configure.in: Substitute libc_cv_cc_fma4.
30849 * math/Makefile (dbl-only-routines): Add sincostab.
30850 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30851 Use __sincostab not sincos.
30852 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30853 name is a macro.
30854 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30855 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30856 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30857 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30858 using __copysign.
30859 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30860 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30861 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30862 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30863 and __inv.
30864 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30865 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30866 __copysign.
30867 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30868 define aliases when function name is a macro.
30869 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30870 sysdeps/ieee754/dbl-64/sincos.tbl.
30871 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30872 fma4-enabled routines.
30873 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30874 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30875 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30876 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30877 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30878 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30879 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30880 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30881 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30882 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30883 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30884 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30885 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30886 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30887 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30888 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30889 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30890 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30891 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30892 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30893 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30894 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30895 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30896 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30897 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30898 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30899 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30900 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30901 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30902 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30903
58985aa9
UD
30904 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30905 rename.
30906 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30907 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30908 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30909 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30910 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30911 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30912 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30913 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30914
a201fbcf
AS
309152011-10-24 Andreas Schwab <schwab@redhat.com>
30916
30917 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30918
fc2ee42a
LD
309192011-10-23 Ulrich Drepper <drepper@gmail.com>
30920
bb3129bd
UD
30921 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30922
0275fff8
UD
30923 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30924 prediction.
30925 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30926
2fa2ae85
UD
30927 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30928 Remove unused variable magic_bits.
30929 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30930
fc2ee42a
LD
30931 * string/strnlen.c: Define and use STRNLEN macro.
30932 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30933 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30934 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30935 * wcsmbs/wcslen.c: Define and use WCSLEN.
30936 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30937 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30938 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30939 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30940 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30941 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30942 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30943
ce7dd29f
LD
309442011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30945
30946 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30947 strnlen-sse2-no-bsf.
30948 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30949 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30950 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30951 Add strnlen support.
30952 (USE_AS_STRNLEN): New macro.
30953 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30954 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30955 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30956 * sysdeps/x86_64/wcslen.S: New file.
30957
979c70a3
MZ
309582011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30959
30960 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30961 XMM-moves are used for copying on small sizes.
30962
2d09f82f
LD
309632011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30964
30965 * wcsmbs/Makefile (strop-tests): Add wcschr.
30966 * wcsmbs/test-wcschr.c: New file.
30967 * string/test-strchr.c: Update.
30968 Add wcschr support.
30969 (WIDE): New macro.
30970
619fccca
LD
309712011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30972
2d09f82f 30973 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
30974 * wcsmbs/test-wcslen.c: New file.
30975 * string/test-strlen.c: Update.
30976 Add wcslen support.
30977 (WIDE): New macro.
30978
09f699ea
UD
309792011-10-23 Ulrich Drepper <drepper@gmail.com>
30980
30981 * po/it.po: Update from translation team.
30982
95584d3b
LD
309832011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30984
30985 * sysdeps/x86_64/wcscmp.S: Update.
30986 Fix wrong comparison semantics.
30987 wcscmp shall use signed comparison not unsigned.
30988 Don't use substraction to avoid overflow bug.
30989 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30990 * wcsmbc/wcscmp.c: Likewise.
30991 * string/test-strcmp.c: Likewise.
30992 Add new tests to check cases with negative values.
30993
c8b3296b
UD
309942011-10-23 Ulrich Drepper <drepper@gmail.com>
30995
30996 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30997 * sysdeps/x86_64/dla.h: ...here. New file.
30998 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30999 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31001 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31002 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31003 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31004 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31005 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31006 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31007
246ad57a
AS
310082011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31009
31010 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31011 __ynl_finite aliases.
31012
a1a87169
UD
310132011-10-22 Ulrich Drepper <drepper@gmail.com>
31014
0d355eb7
UD
31015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31016
a1a87169
UD
31017 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31018 define DLA_FMA.
31019 [DLA_FMA] (EMULV): Use DLA_FMA.
31020 [DLA_FMA] (MUL12): Use EMULV.
31021 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31022 that are not needed.
31023 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31024 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31025 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31026 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31028 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31029 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31030
ee2aafe0
AS
310312011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31032
31033 * math/s_nan.c: Undef __nan.
31034 * math/s_nanf.c: Undef __nanf.
31035 * math/s_nanl.c: Undef __nanl.
31036 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31037 "math_private.h".
31038
bc62c2fb
UD
310392011-10-22 Ulrich Drepper <drepper@gmail.com>
31040
77425c63
UD
31041 * math/s_catan.c: Add branch predictions.
31042 * math/s_catanf.c: Likewise.
31043 * math/s_catanh.c: Likewise.
31044 * math/s_catanhf.c: Likewise.
31045 * math/s_catanhl.c: Likewise.
31046 * math/s_catanl.c: Likewise.
31047 * math/s_cexp.c: Likewise.
31048 * math/s_cexpf.c: Likewise.
31049 * math/s_cexpl.c: Likewise.
31050 * math/s_clog.c: Likewise.
31051 * math/s_clog10.c: Likewise.
31052 * math/s_clog10f.c: Likewise.
31053 * math/s_clog10l.c: Likewise.
31054 * math/s_clogf.c: Likewise.
31055 * math/s_clogl.c: Likewise.
31056 * math/s_csqrt.c: Likewise.
31057 * math/s_csqrtf.c: Likewise.
31058 * math/s_csqrtl.c: Likewise.
31059 * math/s_ctanf.c: Likewise.
31060 * math/s_ctanh.c: Likewise.
31061 * math/s_ctanhf.c: Likewise.
31062 * math/s_ctanhl.c: Likewise.
31063 * math/s_ctanl.c: Likewise.
31064
bc62c2fb
UD
31065 * math/math_private.h: Define __nan, __nanf, __nanl.
31066 * math/s_cacosh.c: Include <math_private.h>.
31067 * math/s_cacoshl.c: Likewise.
31068 * math/s_casinh.c: Likewise.
31069 * math/s_casinhf.c: Likewise.
31070 * math/s_casinhl.c: Likewise.
31071 * math/s_ccos.c: Rely entire on ccosh.
31072 * math/s_ccosf.c: Rely entire on ccoshf.
31073 * math/s_ccosl.c: Rely entirely on ccoshl.
31074 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31075 Remove tests for FE_INVALID.
31076 * math/s_ccoshf.c: Likewise.
31077 * math/s_ccoshl.c: Likewise.
31078 * math/s_csin.c: Likewise.
31079 * math/s_csinf.c: Likewise.
31080 * math/s_csinh.c Likewise.
31081 * math/s_csinhf.c: Likewise.
31082 * math/s_csinhl.c: Likewise.
31083 * math/s_csinl.c: Likewise.
31084 * math/s_ctan.c: Likewise.
31085 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31086 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31087 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31088
8ec250a4
UD
310892011-10-21 Ulrich Drepper <drepper@gmail.com>
31090
c196fed8
UD
31091 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31092 compilation problems.
31093
8ec250a4
UD
31094 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31095 __builtin_expect.
31096
8d4f46c6
UD
310972011-10-20 Ulrich Drepper <drepper@gmail.com>
31098
ed72b654
UD
31099 * sysdeps/i386/configure.in: Test for -mfma4 option.
31100 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31101 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31102 COMMON_CPUID_INDEX_80000001.
31103 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31104 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31105 use it if FMA3 is not supported.
31106 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31107
8d4f46c6
UD
31108 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31109 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31110
d45c60c2
AS
311112011-10-20 Andreas Schwab <schwab@redhat.com>
31112
31113 [BZ #12892]
31114 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31115 it would create a cycle with a link time dependency.
31116
d9a4d2ab
UD
311172011-10-19 Ulrich Drepper <drepper@gmail.com>
31118
855d1560
UD
31119 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31120 instruction.
31121 * string/Makefile (strop-tests): Add rawmemchr.
31122 * string/test-rawmemchr.c: New file.
31123
d9a4d2ab
UD
31124 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31125 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31126 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31127 when compiling str{,n}casecmp and when AVX is available. Hook up
31128 new optimized code in initializers.
31129
8f3b1ffe
AS
311302011-10-19 Andreas Schwab <schwab@redhat.com>
31131
31132 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31133 __feraiseexcept instead of feraiseexcept.
31134
d38f1dba
UD
311352011-10-18 Ulrich Drepper <drepper@gmail.com>
31136
d9a8d0ab
UD
31137 * math/math_private.h: Define defaults for libc_fetestexcept and
31138 libc_feupdateenv.
31139 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31140 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31141 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31142 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31143 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31144 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31145 libc_fetestexcept and libc_feupdateenv.
31146
4855e3dd
UD
31147 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31148 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31149 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31150 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31151 libc_feholdexcept_setround.
31152
581d30e3
UD
31153 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31154 Add s_nearbyint-c and s_nearbyintf-c.
31155 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31156 nearbyintf inlines.
31157 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31158 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31159 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31160 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31161
d38f1dba
UD
31162 * math/math_private.h: Define defaults for libc_fegetround,
31163 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31164 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31165 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31166 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31167 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31168 standard functions.
31169 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31170 Remove comments and hacks for old compiler versions.
31171 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31172 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31173 libc_feholdexceptl.
31174
caa6c9d8
AS
311752011-10-18 Andreas Schwab <schwab@redhat.com>
31176
31177 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
31178 (__feraiseexcept_renamed): Add __NTH.
31179 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
31180 namespace violations.
31181
97c066e6
UD
311822011-10-17 Ulrich Drepper <drepper@gmail.com>
31183
99ce7b04
UD
31184 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31185
1004d182
UD
31186 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31187
228a984d
UD
31188 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31189 recently added interfaces.
31190 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31191
c8553a6a
UD
31192 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31193 about macro parameter expansion.
31194
ed22dcf6
UD
31195 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31196 __NO_MATH_INLINES is defined. Cleanups.
31197
31198 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31199 and __floorf is target has SSE4.1.
31200 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31201 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31202 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31203 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31204
b171c137
UD
31205 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31206 name.
31207 (floorf): Likewise.
31208
97c066e6
UD
31209 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31210
629f62ef
AS
312112011-10-17 Andreas Schwab <schwab@redhat.com>
31212
49a43d80
AS
31213 * misc/sys/cdefs.h: Fix last change.
31214
629f62ef
AS
31215 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31216 database lookup.
31217
e453f6cd
UD
312182011-10-16 Ulrich Drepper <drepper@gmail.com>
31219
aa78043a
UD
31220 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31221
ad0f5cad
UD
31222 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31223 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31224 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31225 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31226 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31227 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31228 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31229 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31230 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31231 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31232 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31233 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31234 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31235 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31236 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31237 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31238 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31239 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31240 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31241 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31242 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31243 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31244
31245 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31246 ceil, ceilf, floor, floorf.
31247
31248 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31249 Perform IRELATIVE relocations last.
31250
e453f6cd
UD
31251 * elf/do-rel.h: Add another parameter nrelative, replacing the
31252 local variable with the same name. Change name of the function
31253 to end in Rel or Rela (uppercase).
31254 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31255 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
31256 elf_dynamic_do_##reloc function.
31257
fd5bdc09
UD
312582011-10-15 Ulrich Drepper <drepper@gmail.com>
31259
79b195b5
UD
31260 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31261 is sufficient, at least on modern CPUs.
31262
d4a28569
UD
31263 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31264
b61099b5
UD
31265 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31266 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31267
bcf01e6d
UD
31268 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31269 __expl_finite.
31270 * math/bits/math-finite.h: Add entries for exp.
31271 * math/e_expl.c: Add __*_finite alias.
31272 * sysdeps/i386/fpu/e_exp.S: Likewise.
31273 * sysdeps/i386/fpu/e_expf.S: Likewise.
31274 * sysdeps/i386/fpu/e_expl.c: Likewise.
31275 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31276 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31277 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31278 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31279 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31280 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31281 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31282
ba1a0d59
UD
31283 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31284 is sufficient, at least on modern CPUs.
31285
fd5bdc09
UD
31286 * ctype/ctype-info.c (__ctype_init): Define.
31287 * include/ctype.h (__ctype_init): Declare.
31288 (__ctype_b_loc): The variable is always initialized.
31289 (__ctype_toupper_loc): Likewise.
31290 (__ctype_tolower_loc): Likewise.
31291 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31292 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31293
7872cfb0
AS
312942011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31295
b468825a
AS
31296 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31297
7872cfb0
AS
31298 * configure.in: Also look in $cxxmachine/include for C++ system
31299 headers.
31300
be13f7bf
LD
313012011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31302
31303 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31304 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31305 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31306 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31307 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31308 (USE_AS_WMEMCMP): New macro.
31309 Fixing indents.
31310 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31311 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31312 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31313 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31314 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31315 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31316 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31317 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31318 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31319 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31320 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31321 (USE_AS_WMEMCMP): New macro.
31322 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31323 * sysdeps/string/test-memcmp.c: Update.
31324 Fix simple_wmemcmp.
31325 Add new tests.
31326 * wcsmbs/wmemcmp.c: Update.
31327 (WMEMCMP): New macro.
31328 Fix overflow bug.
31329
556a2007
AJ
313302011-10-12 Andreas Jaeger <aj@suse.de>
31331
31332 [BZ #13268]
31333 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31334
538faaa7
UD
313352011-10-15 Ulrich Drepper <drepper@gmail.com>
31336
ab6737ff
UD
31337 * libio/iofwide.c (do_length): Avoid warning.
31338
538faaa7
UD
31339 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31340
396a21b1
UD
313412011-10-14 Ulrich Drepper <drepper@gmail.com>
31342
cdf2901f
UD
31343 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31344
38ad40ce
UD
31345 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31346 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31347 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31348 * sysdeps/i386/i686/fpu/e_log.S: New file.
31349 * sysdeps/i386/i686/fpu/e_logf.S: New file.
31350 * sysdeps/i386/i686/fpu/e_logl.S: New file.
31351
396a21b1
UD
31352 * ctype/ctype.h: Add support for inlined isXXX functions when
31353 compiling C++ code.
31354
6b1f68c9
AS
313552011-10-14 Andreas Schwab <schwab@redhat.com>
31356
349290c0
AS
31357 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31358
6b1f68c9
AS
31359 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31360
f2282d42
RM
313612011-10-13 Roland McGrath <roland@hack.frob.com>
31362
31363 [BZ #13291]
31364 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31365
5298ffa8
AS
313662011-10-13 Andreas Schwab <schwab@redhat.com>
31367
714fad23
AS
31368 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31369 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31370 feraiseexcept.
31371
81dcc7fb
AS
31372 * sysdeps/x86_64/memrchr.S: Check for zero size.
31373
5298ffa8
AS
31374 * string/stratcliff.c: Add memrchr tests.
31375
951fbcec
LD
313762011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31377
31378 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31379 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31380 rawmemchr-sse2 rawmemchr-sse2-bsf.
31381 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31382 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31383 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31384 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31385 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31386 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31387 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31388 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31389 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31390 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31391 * string/memrchr.c (MEMRCHR): New macro.
31392
0ac5ae23
UD
313932011-10-12 Ulrich Drepper <drepper@gmail.com>
31394
31395 Add integration with gcc's -ffinite-math-only and optimize wrapper
31396 functions in libm.
31397 * Versions.def: Define GLIBC_2.15 version for libm.
31398 * math/Makefile (headers): Add bits/math-finite.h.
31399 * math/bits/math-finite.h: New file.
31400 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31401 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31402 * math/e_acoshl.c: Add __*_finite alias.
31403 * math/e_acosl.c: Likewise.
31404 * math/e_asinl.c: Likewise.
31405 * math/e_atan2l.c: Likewise.
31406 * math/e_atanhl.c: Likewise.
31407 * math/e_coshl.c: Likewise.
31408 * math/e_exp10.c: Likewise.
31409 * math/e_exp10f.c: Likewise.
31410 * math/e_exp10l.c: Likewise.
31411 * math/e_exp2l.c: Likewise.
31412 * math/e_fmodl.c: Likewise.
31413 * math/e_gammal_r.c: Likewise.
31414 * math/e_hypotl.c: Likewise.
31415 * math/e_j0l.c: Likewise.
31416 * math/e_j1l.c: Likewise.
31417 * math/e_jnl.c: Likewise.
31418 * math/e_lgammal_r.c: Likewise.
31419 * math/e_log10l.c: Likewise.
31420 * math/e_log2l.c: Likewise.
31421 * math/e_logl.c: Likewise.
31422 * math/e_powl.c: Likewise.
31423 * math/e_sinhl.c: Likewise.
31424 * math/e_sqrtl.c: Likewise.
31425 * math/e_scalb.c: Completely rewritten and optimized.
31426 * math/e_scalbf.c: Likewise.
31427 * math/e_scalbl.c: Likewise.
31428 * math/w_acos.c: Likewise.
31429 * math/w_acosf.c: Likewise.
31430 * math/w_acosl.c: Likewise.
31431 * math/w_acosh.c: Likewise.
31432 * math/w_acoshf.c: Likewise.
31433 * math/w_acoshl.c: Likewise.
31434 * math/w_asin.c: Likewise.
31435 * math/w_asinf.c: Likewise.
31436 * math/w_asinl.c: Likewise.
31437 * math/w_atan2.c: Likewise.
31438 * math/w_atan2f.c: Likewise.
31439 * math/w_atan2l.c: Likewise.
31440 * math/w_atanh.c: Likewise.
31441 * math/w_atanhf.c: Likewise.
31442 * math/w_atanhl.c: Likewise.
31443 * math/w_exp10.c: Likewise.
31444 * math/w_exp10f.c: Likewise.
31445 * math/w_exp10l.c: Likewise.
31446 * math/w_fmod.c: Likewise.
31447 * math/w_fmodf.c: Likewise.
31448 * math/w_fmodl.c: Likewise.
31449 * math/w_j0.c: Likewise.
31450 * math/w_j0f.c: Likewise.
31451 * math/w_j0l.c: Likewise.
31452 * math/w_j1.c: Likewise.
31453 * math/w_j1f.c: Likewise.
31454 * math/w_j1l.c: Likewise.
31455 * math/w_jn.c: Likewise.
31456 * math/w_jnf.c: Likewise.
31457 * math/w_log.c: Likewise.
31458 * math/w_logf.c: Likewise.
31459 * math/w_logl.c: Likewise.
31460 * math/w_log10.c: Likewise.
31461 * math/w_log10f.c: Likewise.
31462 * math/w_log10l.c: Likewise.
31463 * math/w_log2.c: Likewise.
31464 * math/w_log2f.c: Likewise.
31465 * math/w_log2l.c: Likewise.
31466 * math/w_pow.c: Likewise.
31467 * math/w_powf.c: Likewise.
31468 * math/w_powl.c: Likewise.
31469 * math/w_remainder.c: Likewise.
31470 * math/w_remainderf.c: Likewise.
31471 * math/w_remainderl.c: Likewise.
31472 * math/w_scalb.c: Likewise.
31473 * math/w_scalbf.c: Likewise.
31474 * math/w_scalbl.c: Likewise.
31475 * math/w_sqrt.c: Likewise.
31476 * math/w_sqrtf.c: Likewise.
31477 * math/w_sqrtl.c: Likewise.
31478 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31479 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31480 used.
31481 * math/math_private.h: Declare __kernel_standard_f.
31482 * math/w_cosh.c: Remove cruft and optimize a bit.
31483 * math/w_coshf.c: Likewise.
31484 * math/w_coshl.c: Likewise.
31485 * math/w_exp2.c: Likewise.
31486 * math/w_exp2f.c: Likewise.
31487 * math/w_exp2l.c: Likewise.
31488 * math/w_hypot.c: Likewise.
31489 * math/w_hypotf.c: Likewise.
31490 * math/w_hypotl.c: Likewise.
31491 * math/w_lgamma.c: Likewise.
31492 * math/w_lgamma_r.c: Likewise.
31493 * math/w_lgammaf.c: Likewise.
31494 * math/w_lgammaf_r.c: Likewise.
31495 * math/w_lgammal.c: Likewise.
31496 * math/w_lgammal_r.c: Likewise.
31497 * math/w_sinh.c: Likewise.
31498 * math/w_sinhf.c: Likewise.
31499 * math/w_sinhl.c: Likewise.
31500 * math/w_tgamma.c: Likewise.
31501 * math/w_tgammaf.c: Likewise.
31502 * math/w_tgammal.c: Likewise.
31503 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31504 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31505 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31506 Minor optimizations. Pretty printing. Remove cruft.
31507 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31508 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31509 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31510 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31511 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31512 * sysdeps/i386/fpu/e_asin.S: Likewise.
31513 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31514 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31515 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31516 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31517 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31518 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31519 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31520 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31521 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31522 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31523 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31524 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31525 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31526 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31527 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31528 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31529 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31530 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31531 * sysdeps/i386/fpu/e_log.S: Likewise.
31532 * sysdeps/i386/fpu/e_log10.S: Likewise.
31533 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31534 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31535 * sysdeps/i386/fpu/e_log2.S: Likewise.
31536 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31537 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31538 * sysdeps/i386/fpu/e_logf.S: Likewise.
31539 * sysdeps/i386/fpu/e_logl.S: Likewise.
31540 * sysdeps/i386/fpu/e_pow.S: Likewise.
31541 * sysdeps/i386/fpu/e_powf.S: Likewise.
31542 * sysdeps/i386/fpu/e_powl.S: Likewise.
31543 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31544 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31545 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31546 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31547 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31548 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31549 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31550 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31551 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31552 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31553 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31554 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31555 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31556 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31557 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31558 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31559 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31560 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31561 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31562 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31563 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31564 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31565 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31566 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31567 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31568 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31569 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31570 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31571 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31572 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31573 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31574 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31575 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31576 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31577 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31578 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31579 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31580 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31581 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31582 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31583 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31584 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31585 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31586 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31587 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31588 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31589 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31590 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31591 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31592 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31593 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31594 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31595 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31596 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31597 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31598 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31599 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31600 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31601 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31602 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31603 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31604 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31605 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31606 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31607 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31608 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31609 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31610 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31611 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31612 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31613 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31614 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31615 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31616 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31617 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31618 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31619 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31620 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31621 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31622 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31623 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31624 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31625 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31626 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31627 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31628 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31629 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31630 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31631 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31632 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31633 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31634 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31635 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31636 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31637 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31638 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31639 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31640 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31641 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31642 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31643 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31644 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31645 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31646 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31647 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31648 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31649 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31650 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31651 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31652 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31653 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31654 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31655 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31656 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31657 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31658 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31659 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31660 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31661 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31662 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31663 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31664 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31665 (__isnanf): Likewise.
31666 (__isinf_ns): Likewise.
31667 (__isinf_nsf): Likewise.
31668 (__finite): Likewise.
31669 (__finitef): Likewise.
31670 (__ieee754_sqrt): Define as macro.
31671 (__ieee754_sqrtf): Define as macro.
31672 (__ieee754_sqrtl): Define as macro.
31673 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31674 inlined copy.
31675 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31676 __FINITE_MATH_ONLY__ consistent.
31677 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31678
12cc2fcd
AS
316792011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31680
a843a204
AS
31681 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31682 of rawmemchr.
31683
12cc2fcd
AS
31684 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31685
c853acd5
UD
316862011-10-09 Ulrich Drepper <drepper@gmail.com>
31687
31688 * po/ja.po: Update from translation team.
31689
c658d255
RM
316902011-10-08 Roland McGrath <roland@hack.frob.com>
31691
110946e4
RM
31692 * locale/programs/locarchive.c (prepare_address_space): New function.
31693 (create_archive, enlarge_archive, open_archive): Use it.
31694
50604220
RM
31695 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31696 inside [SHARED], where it is used.
31697
c658d255
RM
31698 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31699
31700 * nss/getent.c (netgroup_keys): Remove unused variable.
31701 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31702
6a621eb7
UD
317032011-10-08 Ulrich Drepper <drepper@gmail.com>
31704
7edb55ce
UD
31705 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31706 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31707 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31708 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31709 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31710 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31711 * math/Makefile (libm-calls): Add s_isinf_ns.
31712 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31713 * math/multc3.c: Likewise.
31714 * math/s_casin.c: Likewise.
31715 * math/s_casinf.c: Likewise.
31716 * math/s_casinl.c: Likewise.
31717 * math/s_ccos.c: Likewise.
31718 * math/s_ccosf.c: Likewise.
31719 * math/s_ccosl.c: Likewise.
31720 * math/s_ctan.c: Likewise.
31721 * math/s_ctanf.c: Likewise.
31722 * math/s_ctanh.c: Likewise.
31723 * math/s_ctanhf.c: Likewise.
31724 * math/s_ctanhl.c: Likewise.
31725 * math/s_ctanl.c: Likewise.
31726 * math/w_fmod.c: Likewise.
31727 * math/w_fmodf.c: Likewise.
31728 * math/w_fmodl.c: Likewise.
31729 * math/w_remainder.c: Likewise.
31730 * math/w_remainderf.c: Likewise.
31731 * math/w_remainderl.c: Likewise.
31732 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31733 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31734 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31735 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31736 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31737 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31738 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31739 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31740
187da0ae
UD
31741 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31742 of the number.
31743 * stdio-common/printf_fphex.c: Likewise.
31744 * stdio-common/printf_size.c: Likewise.
31745
9277c064
UD
31746 * math/e_exp10.c: Include math_private.h using <...> not "...".
31747 * math/e_exp10f.c: Likewise.
31748 * math/e_exp10l.c: Likewise.
31749 * math/e_exp2l.c: Likewise.
31750 * math/e_j0l.c: Likewise.
31751 * math/e_j1l.c: Likewise.
31752 * math/e_jnl.c: Likewise.
31753 * math/e_lgammal_r.c: Likewise.
31754 * math/e_rem_pio2l.c: Likewise.
31755 * math/e_scalb.c: Likewise.
31756 * math/e_scalbf.c: Likewise.
31757 * math/e_scalbl.c: Likewise.
31758 * math/k_cosl.c: Likewise.
31759 * math/k_sinl.c: Likewise.
31760 * math/k_tanl.c: Likewise.
31761 * math/s_cacoshf.c: Likewise.
31762 * math/s_catan.c: Likewise.
31763 * math/s_catanf.c: Likewise.
31764 * math/s_catanh.c: Likewise.
31765 * math/s_catanhf.c: Likewise.
31766 * math/s_catanhl.c: Likewise.
31767 * math/s_catanl.c: Likewise.
31768 * math/s_ccosh.c: Likewise.
31769 * math/s_ccoshf.c: Likewise.
31770 * math/s_ccoshl.c: Likewise.
31771 * math/s_cexp.c: Likewise.
31772 * math/s_cexpf.c: Likewise.
31773 * math/s_cexpl.c: Likewise.
31774 * math/s_clog.c: Likewise.
31775 * math/s_clog10.c: Likewise.
31776 * math/s_clog10f.c: Likewise.
31777 * math/s_clog10l.c: Likewise.
31778 * math/s_clogf.c: Likewise.
31779 * math/s_clogl.c: Likewise.
31780 * math/s_csin.c: Likewise.
31781 * math/s_csinf.c: Likewise.
31782 * math/s_csinh.c: Likewise.
31783 * math/s_csinhf.c: Likewise.
31784 * math/s_csinhl.c: Likewise.
31785 * math/s_csinl.c: Likewise.
31786 * math/s_csqrt.c: Likewise.
31787 * math/s_csqrtf.c: Likewise.
31788 * math/s_csqrtl.c: Likewise.
31789 * math/s_ctan.c: Likewise.
31790 * math/s_ctanf.c: Likewise.
31791 * math/s_ctanh.c: Likewise.
31792 * math/s_ctanhf.c: Likewise.
31793 * math/s_ctanhl.c: Likewise.
31794 * math/s_ctanl.c: Likewise.
31795 * math/s_ldexp.c: Likewise.
31796 * math/s_ldexpf.c: Likewise.
31797 * math/s_ldexpl.c: Likewise.
31798 * math/s_significand.c: Likewise.
31799 * math/s_significandf.c: Likewise.
31800 * math/s_significandl.c: Likewise.
31801 * math/w_acos.c: Likewise.
31802 * math/w_acosf.c: Likewise.
31803 * math/w_acosh.c: Likewise.
31804 * math/w_acoshf.c: Likewise.
31805 * math/w_acoshl.c: Likewise.
31806 * math/w_acosl.c: Likewise.
31807 * math/w_asin.c: Likewise.
31808 * math/w_asinf.c: Likewise.
31809 * math/w_asinl.c: Likewise.
31810 * math/w_atan2.c: Likewise.
31811 * math/w_atan2f.c: Likewise.
31812 * math/w_atan2l.c: Likewise.
31813 * math/w_atanh.c: Likewise.
31814 * math/w_atanhf.c: Likewise.
31815 * math/w_atanhl.c: Likewise.
31816 * math/w_cosh.c: Likewise.
31817 * math/w_coshf.c: Likewise.
31818 * math/w_coshl.c: Likewise.
31819 * math/w_dremf.c: Likewise.
31820 * math/w_exp10.c: Likewise.
31821 * math/w_exp10f.c: Likewise.
31822 * math/w_exp10l.c: Likewise.
31823 * math/w_exp2.c: Likewise.
31824 * math/w_exp2f.c: Likewise.
31825 * math/w_fmod.c: Likewise.
31826 * math/w_fmodf.c: Likewise.
31827 * math/w_fmodl.c: Likewise.
31828 * math/w_hypot.c: Likewise.
31829 * math/w_hypotf.c: Likewise.
31830 * math/w_hypotl.c: Likewise.
31831 * math/w_j0.c: Likewise.
31832 * math/w_j0f.c: Likewise.
31833 * math/w_j0l.c: Likewise.
31834 * math/w_j1.c: Likewise.
31835 * math/w_j1f.c: Likewise.
31836 * math/w_j1l.c: Likewise.
31837 * math/w_jn.c: Likewise.
31838 * math/w_jnf.c: Likewise.
31839 * math/w_jnl.c: Likewise.
31840 * math/w_lgamma.c: Likewise.
31841 * math/w_lgamma_r.c: Likewise.
31842 * math/w_lgammaf.c: Likewise.
31843 * math/w_lgammaf_r.c: Likewise.
31844 * math/w_lgammal.c: Likewise.
31845 * math/w_lgammal_r.c: Likewise.
31846 * math/w_log.c: Likewise.
31847 * math/w_log10.c: Likewise.
31848 * math/w_log10f.c: Likewise.
31849 * math/w_log10l.c: Likewise.
31850 * math/w_log2.c: Likewise.
31851 * math/w_log2f.c: Likewise.
31852 * math/w_log2l.c: Likewise.
31853 * math/w_logf.c: Likewise.
31854 * math/w_logl.c: Likewise.
31855 * math/w_pow.c: Likewise.
31856 * math/w_powf.c: Likewise.
31857 * math/w_powl.c: Likewise.
31858 * math/w_remainder.c: Likewise.
31859 * math/w_remainderf.c: Likewise.
31860 * math/w_remainderl.c: Likewise.
31861 * math/w_scalb.c: Likewise.
31862 * math/w_scalbf.c: Likewise.
31863 * math/w_scalbl.c: Likewise.
31864 * math/w_sinh.c: Likewise.
31865 * math/w_sinhf.c: Likewise.
31866 * math/w_sinhl.c: Likewise.
31867 * math/w_sqrt.c: Likewise.
31868 * math/w_sqrtf.c: Likewise.
31869 * math/w_sqrtl.c: Likewise.
31870 * math/w_tgamma.c: Likewise.
31871 * math/w_tgammaf.c: Likewise.
31872 * math/w_tgammal.c: Likewise.
31873
6a621eb7
UD
31874 * po/ja.po: Update from translation team.
31875
bf582445
AJ
318762011-09-29 Andreas Jaeger <aj@suse.de>
31877
f9efbf3a
AJ
31878 [BZ #13179]
31879 * sunrpc/netname.c (netname2host): Fix logic.
31880
bf582445
AJ
31881 [BZ #6779]
31882 [BZ #6783]
31883 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31884 correctly.
31885 * math/w_remainder.c (__remainder): Likewise.
31886 * math/w_remainderf.c (__remainderf): Likewise.
31887 * math/libm-test.inc (remainder_test): Add test cases.
31888
48693bea
AK
318892011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31890
31891 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31892 sdiv_qrnnd.
31893
42622229
LD
318942011-10-07 Ulrich Drepper <drepper@gmail.com>
31895
31896 * string/test-memcmp.c: Avoid unncessary #defines.
31897 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31898
093ecf92
LD
318992011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31900
31901 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31902 Use new sse2 version for core i3 - i7 as it's faster
31903 than sse42 version.
31904 (bit_Prefer_PMINUB_for_stringop): New.
31905 * sysdeps/x86_64/rawmemchr.S: Update.
31906 Replace with faster SSE2 version.
31907 * sysdeps/x86_64/memrchr.S: New file.
31908 * sysdeps/x86_64/memchr.S: Update.
31909 Replace with faster SSE2 version.
31910
fde56e5c
MP
319112011-09-12 Marek Polacek <mpolacek@redhat.com>
31912
31913 * elf/dl-load.c (lose): Add cast to avoid warning.
31914
21fd49a9
UD
319152011-10-07 Ulrich Drepper <drepper@gmail.com>
31916
5a06e643
UD
31917 * po/ca.po: Update from translation team.
31918
684ae515
UD
31919 * inet/getnetgrent_r.c: Hook up nscd.
31920 * nscd/Makefile (routines): Add nscd_netgroup.
31921 (nscd-modules): Add netgroupcache.
31922 (CFLAGS-netgroupcache.c): Define.
31923 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31924 (cache_search): Add const to second parameter.
31925 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31926 INNETGR.
31927 (dbs): Add netgrdb entry.
31928 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31929 (verify_persistent_db): Handle netgrdb.
31930 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31931 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31932 GETFDNETGR.
31933 (netgroup_response_header): Define.
31934 (innetgroup_response_header): Define.
31935 (datahead): Add netgroup_response_header and innetgroup_response_header
31936 elements.
31937 * nscd/nscd.conf: Add entries for netgroup cache.
31938 * nscd/nscd.h (dbtype): Add netgrdb.
31939 (_PATH_NSCD_NETGROUP_DB): Define.
31940 (netgroup_iov_disabled): Declare.
31941 (xmalloc, xcalloc, xrealloc): Move declarations here.
31942 (cache_search): Adjust prototype.
31943 Add netgroup-related prototypes.
31944 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31945 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31946 (__nscd_innetgr): Declare.
31947 * nscd/selinux.c (perms): Use access_vector_t as element type and
31948 add netgroup-related initializers.
31949 * nscd/netgroupcache.c: New file.
31950 * nscd/nscd_netgroup.c: New file.
31951 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31952 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31953 For four parameters use innetgr.
31954 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31955 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31956 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31957 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31958
21fd49a9
UD
31959 * nscd/connections.c (register_traced_file): Don't register file
31960 for disabled databases.
31961
054c0457
UD
319622011-10-06 Ulrich Drepper <drepper@gmail.com>
31963
32b63198
UD
31964 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31965
054c0457
UD
31966 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31967 from tree and freeing node.
31968
64031225
JO
319692011-09-25 Jiri Olsa <jolsa@redhat.com>
31970
31971 * nss/nsswitch.c (__nss_database_lookup): Handle
31972 nss_parse_service_list out of memory case.
31973
0490345c
JO
319742011-09-15 Jiri Olsa <jolsa@redhat.com>
31975
31976 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31977 out of memory case.
31978
3a62d00d
AS
319792011-10-04 Andreas Schwab <schwab@redhat.com>
31980
31981 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31982 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31983 pass it down.
31984 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31985 elf_machine_rela, elf_machine_lazy_rel.
31986 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31987 (ELF_DYNAMIC_DO_REL): Likewise.
31988 (ELF_DYNAMIC_DO_RELA): Likewise.
31989 (ELF_DYNAMIC_RELOCATE): Likewise.
31990 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31991 to ELF_DYNAMIC_DO_REL.
31992 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31993 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31994 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31995 elf_machine_rela.
31996 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31997 skip_ifunc, don't call ifunc function if non-zero.
31998 (elf_machine_rela): Likewise.
31999 (elf_machine_lazy_rel): Likewise.
32000 (elf_machine_lazy_rela): Likewise.
32001 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32002 (elf_machine_lazy_rel): Likewise.
32003 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32004 Likewise.
32005 (elf_machine_lazy_rel): Likewise.
32006 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32007 Likewise.
32008 (elf_machine_lazy_rel): Likewise.
32009 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32010 (elf_machine_lazy_rel): Likewise.
32011 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32012 (elf_machine_lazy_rel): Likewise.
32013 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32014 (elf_machine_lazy_rel): Likewise.
32015 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32016 (elf_machine_lazy_rel): Likewise.
32017 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32018 (elf_machine_lazy_rel): Likewise.
32019 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32020 (elf_machine_lazy_rel): Likewise.
32021
68577918
UD
320222011-09-28 Ulrich Drepper <drepper@gmail.com>
32023
32024 * nss/nss_files/files-init.c (_nss_files_init): Use static
32025 initialization for all the *_traced_file variables.
32026
68822d74
AS
320272011-09-28 Andreas Schwab <schwab@redhat.com>
32028
32029 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32030
2056100b
RM
320312011-09-27 Roland McGrath <roland@hack.frob.com>
32032
32033 [BZ #13226]
32034 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32035
32c76b63
AS
320362011-09-27 Andreas Schwab <schwab@redhat.com>
32037
32038 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32039 Reread the line before reparsing it.
32040
bf972c9d
AS
320412011-09-26 Andreas Schwab <schwab@redhat.com>
32042
32043 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32044
e057a1b5
JM
320452011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32046 Maxim Kuvyrkov <maxim@codesourcery.com>
32047 Joseph Myers <joseph@codesourcery.com>
32048
32049 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32050 if needed for __stack_chk_guard.
32051
bc7e1c36
RM
320522011-09-19 Roland McGrath <roland@hack.frob.com>
32053
ecb1482f
RM
32054 * sysdeps/posix/spawni.c (script_execute): Always define it.
32055 It will be optimized away if unused.
32056 (maybe_script_execute): New function.
32057 (__spawni): Call it.
32058
bc7e1c36
RM
32059 * Makerules: Don't include tls.make.
32060 (config-tls): Always set to thread.
32061 * tls.make.c: File removed.
32062
1c3b002b
MF
320632011-09-19 Mike Frysinger <vapier@gentoo.org>
32064
32065 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32066 * config.make.in (CPPFLAGS-config): New substituted variable.
32067
2840865d
UD
320682011-09-15 Ulrich Drepper <drepper@gmail.com>
32069
88738eb6
UD
32070 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32071
cbf645a6 32072 [BZ #13192]
2840865d
UD
32073 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32074 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32075
b402e91a
RM
320762011-09-15 Roland McGrath <roland@hack.frob.com>
32077
32078 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32079 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32080 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32081 (CALL_FAIL): Likewise.
32082 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32083 (CALL_FAIL): Macro removed.
32084 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32085
4c1a1f71
UD
320862011-09-15 Ulrich Drepper <drepper@gmail.com>
32087
32088 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32089 for __FINITE_MATH_ONLY__ == 1.
32090
edc121be
AS
320912011-09-15 Andreas Schwab <schwab@redhat.com>
32092
32093 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32094 __ieee754_sqrt instead of sqrt.
32095 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32096 __ieee754_sqrtf instead of sqrtf.
32097 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32098 __floorf instead of floorf.
32099 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32100 __floorf, __truncf instead of floorf, truncf.
32101
cd205654
UD
321022011-09-14 Ulrich Drepper <drepper@gmail.com>
32103
ee4d0315
UD
32104 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32105
cd205654
UD
32106 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32107 __extern_always_inline.
32108 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32109 32-bit.
32110
48b67d71
AS
321112011-09-14 Andreas Schwab <schwab@redhat.com>
32112
32113 * elf/rtld.c (dl_main): Also relocate in dependency order when
32114 doing symbol dependency testing.
32115
1ae12c75
AS
321162011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32117
32118 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32119 Always define `refsym'.
32120
995a80df
AS
321212011-09-13 Andreas Schwab <schwab@redhat.com>
32122
e529793b
AS
32123 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32124 (__FD_ELT): Renamed from __FDELT.
32125 * misc/bits/select2.h (__FD_ELT): Likewise.
32126 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32127 __FD_MASK instead of __FDELT, __FDMASK.
32128 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32129 Likewise.
32130 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32131 Likewise.
32132
52d4fef8
AS
32133 * elf/Makefile (gen-ldd): Fix pattern.
32134
995a80df
AS
32135 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32136 (init_tls): Likewise.
32137
8682f8b0
UD
321382011-09-12 Ulrich Drepper <drepper@gmail.com>
32139
32140 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32141
de82006d
AS
321422011-09-12 Andreas Schwab <schwab@redhat.com>
32143
a7c8e6a1
AS
32144 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32145 `struct cmsghdr *' instead of `void *'.
32146 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32147 Likewise.
32148
0f31fe77
AS
321492011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32150
32151 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32152 if non-absolute.
32153 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32154 ldd_rewrite_script.
0f31fe77 32155
32b4c839
UD
321562011-09-11 Ulrich Drepper <drepper@gmail.com>
32157
83cd1420
UD
32158 * configure.in: Remove --with-tls option.
32159 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32160 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32161 out in case it is missing.
32162 * sysdeps/ia64/elf/configure.in: Likewise.
32163 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32164 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32165 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32166 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32167 * sysdeps/sh/elf/configure.in: Likewise.
32168 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32169 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32170 * sysdeps/x86_64/elf/configure.in: Likewise.
32171 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32172 * sysdeps/mach/hurd/tls.h: Likewise.
32173
633f745d
UD
32174 [BZ #13067]
32175 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32176
f318beb8
UD
32177 [BZ #13090]
32178 * configure.in: Fix use of AC_INIT.
32179
32b4c839
UD
32180 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32181
3ce1f295
UD
321822011-09-10 Ulrich Drepper <drepper@gmail.com>
32183
bb016596
UD
32184 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32185 __set_errno.
8e58439c
UD
32186 * malloc/hooks.c: Likewise.
32187
aebae053 32188 [BZ #11929]
02d46fc4
UD
32189 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32190 variables statically.
32191 (narenas): Initialize.
32192 (list_lock): Initialize.
bb016596
UD
32193 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32194 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
32195 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32196 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32197 Add initializers to main_arena and mp_.
32198 (malloc_state): Remove pagesize member. Change all users to use
32199 GLRO(dl_pagesize).
32200
32201 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32202 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32203 is always initialized.
32204
22a89187
UD
32205 * malloc/malloc.c: Removed unused configurations and dead code.
32206 * malloc/arena.c: Likewise.
32207 * malloc/hooks.c: Likewise.
02d46fc4 32208 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 32209
d063d164
UD
32210 * include/tls.h: Removed. USE___THREAD must always be defined.
32211 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32212 * elf/dl-libc.c: Likewise.
32213 * elf/dl-tsd.c: Likewise.
32214 * include/errno.h: Likewise.
32215 * include/netdb.h: Likewise.
32216 * include/resolv.h: Likewise.
32217 * inet/herrno-loc.c: Likewise.
32218 * inet/herrno.c: Likewise.
32219 * malloc/arena.c: Likewise.
32220 * malloc/hooks.c: Likewise.
32221 * malloc/malloc.c: Likewise.
32222 * resolv/res-state.c: Likewise.
32223 * resolv/res_libc.c: Likewise.
32224 * sysdeps/i386/dl-machine.h: Likewise.
32225 * sysdeps/ia64/dl-machine.h: Likewise.
32226 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32227 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32228 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32229 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32230 * sysdeps/sh/dl-machine.h: Likewise.
32231 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32232 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32233 * sysdeps/unix/i386/sysdep.S: Likewise.
32234 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32235 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32236 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32237 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32238 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32239 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32240 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32241 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32242 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32243 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32244 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32245 * sysdeps/x86_64/dl-machine.h: Likewise.
32246 * tls.make.c: Likewise.
32247
3ce1f295
UD
32248 * configure.in: Remove --with-__thread option. Make tests for
32249 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32250 tls_model attribute fail if no support is available. Remove
32251 USE_IN_LIBIO.
32252 * Makeconfig: Adjust for dropped configure option. All features are
32253 now mandatory.
32254 * Makerules: Likewise.
32255 * Versions.def: Likewise.
32256 * argp/argp-fmtstream.c: Likewise.
32257 * argp/argp-fmtstream.h: Likewise.
32258 * argp/argp-help.c: Likewise.
32259 * assert/assert.c: Likewise.
32260 * config.h.in: Likewise.
32261 * config.make.in: Likewise.
32262 * configure: Likewise.
32263 * configure.in: Likewise.
32264 * csu/Versions: Likewise.
32265 * csu/init.c: Likewise.
32266 * elf/tst-audit2.c: Likewise.
32267 * elf/tst-tls10.c: Likewise.
32268 * elf/tst-tls10.h: Likewise.
32269 * elf/tst-tls11.c: Likewise.
32270 * elf/tst-tls12.c: Likewise.
32271 * elf/tst-tls14.c: Likewise.
32272 * elf/tst-tlsmod11.c: Likewise.
32273 * elf/tst-tlsmod12.c: Likewise.
32274 * elf/tst-tlsmod13.c: Likewise.
32275 * elf/tst-tlsmod13a.c: Likewise.
32276 * elf/tst-tlsmod14a.c: Likewise.
32277 * elf/tst-tlsmod15b.c: Likewise.
32278 * elf/tst-tlsmod16a.c: Likewise.
32279 * elf/tst-tlsmod16b.c: Likewise.
32280 * elf/tst-tlsmod7.c: Likewise.
32281 * elf/tst-tlsmod8.c: Likewise.
32282 * elf/tst-tlsmod9.c: Likewise.
32283 * gmon/gmon.c: Likewise.
32284 * grp/fgetgrent_r.c: Likewise.
32285 * grp/putgrent.c: Likewise.
32286 * hurd/fopenport.c: Likewise.
32287 * include/libc-symbols.h: Likewise.
32288 * include/tls.h: Likewise.
32289 * intl/gettextP.h: Likewise.
32290 * intl/loadinfo.h: Likewise.
32291 * locale/global-locale.c: Likewise.
32292 * locale/localeinfo.h: Likewise.
32293 * mach/devstream.c: Likewise.
32294 * malloc/arena.c: Likewise.
32295 * malloc/set-freeres.c: Likewise.
32296 * misc/err.c: Likewise.
32297 * misc/getttyent.c: Likewise.
32298 * misc/mntent_r.c: Likewise.
32299 * posix/getopt.c: Likewise.
32300 * posix/wordexp.c: Likewise.
32301 * pwd/fgetpwent_r.c: Likewise.
32302 * resolv/Versions: Likewise.
32303 * resolv/res_hconf.c: Likewise.
32304 * shadow/fgetspent_r.c: Likewise.
32305 * shadow/putspent.c: Likewise.
32306 * stdio-common/printf_fphex.c: Likewise.
32307 * stdio-common/tmpfile.c: Likewise.
32308 * stdlib/abort.c: Likewise.
32309 * stdlib/fmtmsg.c: Likewise.
32310 * sunrpc/auth_unix.c: Likewise.
32311 * sunrpc/clnt_perr.c: Likewise.
32312 * sunrpc/clnt_tcp.c: Likewise.
32313 * sunrpc/clnt_udp.c: Likewise.
32314 * sunrpc/clnt_unix.c: Likewise.
32315 * sunrpc/openchild.c: Likewise.
32316 * sunrpc/svc_simple.c: Likewise.
32317 * sunrpc/svc_tcp.c: Likewise.
32318 * sunrpc/svc_udp.c: Likewise.
32319 * sunrpc/svc_unix.c: Likewise.
32320 * sunrpc/xdr.c: Likewise.
32321 * sunrpc/xdr_array.c: Likewise.
32322 * sunrpc/xdr_rec.c: Likewise.
32323 * sunrpc/xdr_ref.c: Likewise.
32324 * sunrpc/xdr_stdio.c: Likewise.
32325
1248c1c4
PB
323262011-09-09 Ulrich Drepper <drepper@gmail.com>
32327
32328 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32329
323302011-07-03 Andreas Jaeger <aj@suse.de>
32331
32332 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32333 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32334 regenerate with gen-libm-tests.pl.
32335
323362010-05-12 Petr Baudis <pasky@suse.cz>
32337
32338 [BZ #11589]
32339 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32340 around j0() zero points by switching to j1().
32341 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32342 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32343 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32344 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32345
f22e1074
UD
323462011-09-09 Ulrich Drepper <drepper@gmail.com>
32347
f19009c1
UD
32348 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32349 instead of 0.
32350 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 32351 instead of 0.
f19009c1
UD
32352 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32353 Patch in part by Pavel Roskin <proski@gnu.org>.
32354
3f8cc204
UD
32355 [BZ #13138]
32356 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32357 realloc.
32358 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32359 Free memory block if necessary.
32360
f22e1074
UD
32361 [BZ #12847]
32362 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32363 be NULL. Don't lock in this case.
32364
0a2349f9
RM
323652011-09-09 Roland McGrath <roland@hack.frob.com>
32366
32367 * elf/elf.h (ELFOSABI_GNU): New macro.
32368 (ELFOSABI_LINUX): Define to that.
32369
f3cdd467
DZ
323702011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32371
32372 * string/strncat.c (strncat): Undef the symbol in case it has been
32373 defined in bits/string.h.
32374
74718d13
UD
323752011-09-09 Ulrich Drepper <drepper@gmail.com>
32376
633e9e0f
UD
32377 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32378
0a2349f9 32379 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
32380 link map.
32381
f9924780
AJ
323822011-08-17 Andreas Jaeger <aj@suse.de>
32383
32384 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32385
7f5517aa
PP
323862011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32387 Ian Lance Taylor <iant@google.com>
32388
32389 * math/libm-test.inc (lround_test): New testcase.
32390 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32391
762011fe
UD
323922011-09-08 Ulrich Drepper <drepper@gmail.com>
32393
92963737
UD
32394 * Makefile: Remove support for automatic cvs check-ins.
32395 * Makerules: Likewise.
32396 * config.make.in: Likewise.
32397 * configure.in: Likewise.
32398 * intl/Makefile: Likewise.
32399 * locale/Makefile: Likewise.
32400 * po/Makefile: Likewise.
32401 * posix/Makefile: Likewise.
32402 * sysdeps/gnu/Makefile: Likewise.
32403 * sysdeps/mach/hurd/Makefile: Likewise.
32404 * sysdeps/sparc/sparc32/Makefile: Likewise.
32405
b0727fd8
JS
32406 [BZ #13118]
32407 * posix/Makefile (bug-regex32-ENV): Define.
32408 Patch by John Stanley <jpsinthemix@verizon.net>.
32409
a0f33f99
UD
32410 * misc/Makefile (headers): Add bits/select2.h.
32411 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32412 * misc/bits/select2.h: New file.
32413 * include/bits/select2.h: New file.
32414 * debug/Makefile (routines): Add fdelt_chk.
32415 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32416 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32417 FD_ISSET.
32418 * debug/fdelt_chk.c: New file.
32419
762011fe
UD
32420 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32421 * wcsmbs/test-wmemcmp.c: Likewise.
32422 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 32423 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
32424
324252011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32426
32427 * string/Makefile (strop-tests): Add memcmp.
32428 * string/test-wmemcmp.c: New file.
32429 * string/test-memcmp.c: Add wmemcmp support.
32430
7f513ec8
RM
324312011-09-08 Roland McGrath <roland@hack.frob.com>
32432
0442afb4
RM
32433 [BZ #13153]
32434 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32435 2011-07-19 change.
32436
7f513ec8
RM
32437 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32438 garbage value in a __mach_port_mod_refs call in the cases of the
32439 task-self and thread-self ports.
32440
a12b2239
ST
324412011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32442
32443 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32444
610f9ab4
AS
324452011-09-08 Andreas Schwab <schwab@redhat.com>
32446
7f513ec8 32447 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 32448
48882a1a
LD
324492011-09-07 Ulrich Drepper <drepper@gmail.com>
32450
b49865be
UD
32451 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32452
fdc86bc9
UD
32453 * elf/dl-libc.c (dlerror_run): Pass back error code from
32454 dl_catch_error.
32455
c966526a
UD
32456 [BZ #13123]
32457 * elf/dl-load.c (lose): Free l_origin if it is valid.
32458
48882a1a
LD
32459 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32460 names.
32461 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32462 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32463 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32464 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32465 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32466 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32467
77a2a8b4
AZ
324682011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32469
32470 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32471 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32472 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32473 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32474 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32475 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32476 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32477 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32478 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32479 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32480
24f579d8
AM
324812011-08-15 Alan Modra <amodra@gmail.com>
32482
32483 [BZ #13092]
32484 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32485 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32486 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32487 ppc_mcount to static-only-routines.
32488 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32489 __mcount_internal.
32490 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32491 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32492
3d4837df
UD
324932011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32494
32495 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32496 for finite and infinity parameters.
32497
22700377
WS
324982011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32499
32500 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32501 and add nop instructions for throughput optimization.
32502 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32503
5025581e
WS
325042011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32505
32506 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32507 aligned copy for power7 with vector-scalar instructions.
32508 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32509
08a300c9
L
325102011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32511
32512 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32513 AVX check.
32514
59178ef9
AS
325152011-09-07 Andreas Schwab <schwab@redhat.com>
32516
32517 [BZ #13144]
32518 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32519 last change.
32520
e38ba7ab
UD
325212011-09-07 Ulrich Drepper <drepper@gmail.com>
32522
32523 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32524 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32525 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32526 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32527 clock_gettime.
32528
d53a73ac
UD
325292011-09-06 Ulrich Drepper <drepper@gmail.com>
32530
fc8bffcc
UD
32531 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32532 Forgot to demangle the pointer.
32533
ceaa0c5d
UD
32534 * sysdeps/i386/sysdep.h: Define atom_text_section.
32535 * sysdeps/x86_64/sysdep.h: Likewise.
32536 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32537 section with atom_text_section.
32538 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32539 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32540 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32541 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32542 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32543
a77d3c17
UD
32544 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32545 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32546 already be defined. Change to take two parameters and don't assign
32547 result to variable. Adjust all users.
32548 Define INTERNAL_GETTIME if not already defined.
32549 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32550 call.
32551 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32552 HAVE_CLOCK_GETTIME_VSYSCALL.
32553 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32554
d53a73ac
UD
32555 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32556 gettimeofday vsyscall, just use time.
32557
a8f84144
AS
325582011-09-06 Andreas Schwab <schwab@redhat.com>
32559
32560 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32561 <errno.h>.
32562
ef606249
UD
325632011-09-06 Ulrich Drepper <drepper@gmail.com>
32564
32565 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32566 syscall on x86-64.
32567 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32568 syscall.
32569 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32570 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32571 syscall if possible.
32572
6585cb60
UD
325732011-09-05 Ulrich Drepper <drepper@gmail.com>
32574
32575 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32576 e_ident. Don't pass to find_mapsXX.
32577 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32578
a5f524e4
LD
325792011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32580
32581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32582 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32583 * sysdeps/x86_64/multiarch/strchr.S: Update.
32584 Check bit_slow_BSF bit.
32585 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32586 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32587 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32588
554881ef
UD
325892011-09-05 Ulrich Drepper <drepper@gmail.com>
32590
d96de963
UD
32591 [BZ #13134]
32592 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32593 before glibc 2.15.
32594 (tryshell): Define.
32595 (__spawni): Change last parameter to be flag. Test
32596 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32597 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32598 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32599 * posix/spawni.c: Likewise.
32600 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32601 * posix/spawnp.c: Likewise. Change normal version to use
32602 SPAWN_XFLAGS_USE_PATH.
32603 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32604 SPAWN_XFLAGS_TRY_SHELL.
32605
d48e5868
UD
32606 [BZ #13150]
32607 * posix/glob.h: Remove gcc 1.x support.
32608
554881ef
UD
32609 [BZ #13068]
32610 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32611
693fb948
LD
326122011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32613
32614 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32615 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32616 strrchr-sse2-bsf
32617 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32618 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32619 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32620 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32621 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32622 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32623
1b48c537
UD
326242011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32625
49d42c37
UD
32626 * sysdeps/x86_64/wcscmp.S: New file.
32627
1b48c537
UD
32628 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32629 wcscmp-c wcscmp-sse2
32630 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32631 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32632 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32633 * wcsmbs/wcscmp.c: Allow renaming.
32634
15c95c5d
DM
326352011-09-05 David S. Miller <davem@davemloft.net>
32636
32637 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32638 stack slot, rather than the struct return pointer slot.
32639 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32640 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32642 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32643
2f0ad8f3
UD
326442011-09-05 Ulrich Drepper <drepper@gmail.com>
32645
d88ae418
UD
32646 * po/ja.po: Update from translation team.
32647
2f0ad8f3
UD
32648 [BZ #13144]
32649 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32650 kernel in 64-bit binaries.
32651
5f4318d1
DM
326522011-09-01 David S. Miller <davem@davemloft.net>
32653
32654 * elf/elf.h (HWCAP_SPARC_*): Move to..
32655 * sysdeps/sparc/sysdep.h: this new file and add new values.
32656 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32657 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32658 _DL_HWCAP_COUNT to 24.
32659 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32660 entries.
32661 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32662 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32663 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32664 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32665 instead of magic constants.
32666 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32667
3ba57516
DM
326682011-08-31 David S. Miller <davem@davemloft.net>
32669
32670 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32671 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32672 Reimplement to do errno handling inline.
32673 (SYSCALL_ERROR_HANDLER): New macro.
32674 (__SYSCALL_STRING): Do not do errno handling in asm.
32675 (__CLONE_SYSCALL_STRING): Delete.
32676 (__INTERNAL_SYSCALL_STRING): Delete.
32677 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32678 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32679 (PSEUDO): Reimplement to do errno handling inline.
32680 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32681 (SYSCALL_ERROR_HANDLER): New macro.
32682 (__SYSCALL_STRING): Do not do errno handling in asm.
32683 (__CLONE_SYSCALL_STRING): Delete.
32684 (__INTERNAL_SYSCALL_STRING): Delete.
32685 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32686 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32687 i386.
32688 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32689 (inline_syscall*): Add 'err' argument.
32690 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32691 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32692 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32693 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32694
32695 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32696 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32697
2bc17433
AS
326982011-08-30 Andreas Schwab <schwab@redhat.com>
32699
32700 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32701
fbeb5f4d
JO
327022011-08-29 Jiri Olsa <jolsa@redhat.com>
32703
32704 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32705 directive.
32706
ad69cc26
DM
327072011-08-24 David S. Miller <davem@davemloft.net>
32708
32709 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32710
39dd69df
AS
327112011-08-24 Andreas Schwab <schwab@redhat.com>
32712
32713 * elf/Makefile: Add rules to build and run unload8 test.
32714 * elf/unload8.c: New file.
32715 * elf/unload8mod1.c: New file.
32716 * elf/unload8mod1x.c: New file.
32717 * elf/unload8mod2.c: New file.
32718 * elf/unload8mod3.c: New file.
32719
32720 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32721 it wasn't used.
32722
2c0b250a
DM
327232011-08-23 David S. Miller <davem@davemloft.net>
32724
32725 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32726 subtract stack bias.
32727 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32728 %sp not %fp in calculations.
32729 (_JMPBUF_UNWINDS_ADJ): Likewise.
32730
22044b48
DM
32731 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32732 (aio_suspend): Call it to force an exception region around the
32733 AIO_MISC_WAIT() invocation.
32734
2cae4995
AS
327352011-08-23 Andreas Schwab <schwab@redhat.com>
32736
32737 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32738 backslash.
32739
873a772e
AJ
327402011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32741
32742 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32743 protection macro.
32744 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32745 and <dl-machine.h>.
32746 (Elf64_FuncDesc): Remove.
32747
25ad0df1
DM
327482011-08-22 David S. Miller <davem@davemloft.net>
32749
32750 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32751 sigaltstack check, add missing cfi directives.
32752 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32753 missing cfi directives, and sigaltstack handling.
32754
e888bcbe
AS
327552011-08-16 Andreas Schwab <schwab@redhat.com>
32756
32757 [BZ #11724]
32758 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32759 object is seen twice.
32760 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32761
32762 * elf/Makefile (distribute): Add tst-initorder2.c.
32763 (tests): Add tst-initorder2.
32764 (modules-names): Add tst-initorder2a tst-initorder2b
32765 tst-initorder2c tst-initorder2d. Add rules to build them.
32766 ($(objpfx)tst-initorder2.out): New rule.
32767 * elf/tst-initorder2.c: New file.
32768 * elf/tst-initorder2.exp: New file.
32769
87162f46
AS
327702011-08-22 Andreas Schwab <schwab@redhat.com>
32771
70538b7f
AS
32772 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32773
f55ffe58
AS
32774 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32775 dependencies back to end of function.
32776
87162f46
AS
32777 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32778 $(elfobjdir)/ld.so.
32779
91b392a4
UD
327802011-08-21 Ulrich Drepper <drepper@gmail.com>
32781
32782 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32783 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32784 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32785 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32786 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32787 of __vdso_gettimeofday.
32788 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32789 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
32790 attribute_hidden.
32791 (_libc_vdso_platform_setup): Remove initialization of
32792 __vdso_gettimeofday and __vdso_time.
32793
5c43483f
UD
327942011-08-20 Ulrich Drepper <drepper@gmail.com>
32795
775a77e7
UD
32796 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32797 and fgetc_unlocked.
32798 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32799 getc_unlocked.
89f447ed 32800
49c74ba9
UD
32801 * elf/dl-open.c (add_to_global): Report additions to the global scope
32802 for LD_DEBUG=scopes.
32803 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 32804 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 32805
5c43483f
UD
32806 [BZ #13114]
32807 * stdio-common/Makefile (tests): Add bug24.
32808 * stdio-common/bug24.c: New file.
32809
a101b025
AJ
328102011-08-19 Andreas Jaeger <aj@suse.de>
32811
32812 [BZ #13114]
32813 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32814 non-existant file when using close-on-exec mode.
32815
c88f1766
UD
328162011-08-20 Ulrich Drepper <drepper@gmail.com>
32817
0276a718
UD
32818 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32819 the very first instruction.
32820
c88f1766
UD
32821 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32822 the CFI state in the end.
32823 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32824 inclusion of dl-trampoline.h.
32825 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32826
51ccffa0
AS
328272011-08-19 Andreas Schwab <schwab@redhat.com>
32828
94d7165f
AS
32829 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32830 expectations for long double.
32831
51ccffa0
AS
32832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32833 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32834
fd708658 328352011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
32836
32837 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32838 artificual limit depends upon the system page size.
32839
44f0a71e
UD
328402011-08-17 Ulrich Drepper <drepper@gmail.com>
32841
32842 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32843 * resolv/Makefile: Define CFLAGS-libresolv.
32844
8de79a24
AS
328452011-08-17 Andreas Schwab <schwab@redhat.com>
32846
32847 * nss/makedb.c (compute_tables): Make variables used in nested
32848 function static.
32849
27724598
UD
328502011-08-17 Ulrich Drepper <drepper@gmail.com>
32851
c5305d88
UD
32852 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32853 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32854 if buffer was too small.
32855
27724598
UD
32856 * elf/pldd.c (main): Attach to all threads in the process.
32857 Rewrite /proc handling to use *at functions.
32858
076fe015
UD
328592011-08-16 Ulrich Drepper <drepper@gmail.com>
32860
174baab3
UD
32861 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32862 specifies first scope to show.
32863 (dl_open_worker): Update callers. Move printing scope of new
32864 object to before the relocation.
44f0a71e 32865 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
32866 * sysdeps/generic/ldsodefs.h: Update declaration.
32867
076fe015
UD
32868 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32869 string for the scope number.
32870
a60df2c3
UD
328712011-08-14 Ulrich Drepper <drepper@gmail.com>
32872
32873 * nscd/servicescache.c (cache_addserv): Make sure written is always
32874 initialized.
32875
5e4287d1
RM
328762011-08-14 Roland McGrath <roland@hack.frob.com>
32877
85ae0589
RM
32878 * sysdeps/i386/i486/bits/atomic.h
32879 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32880 statement expression, so as to suppress "set but not used" warning.
32881 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32882
69f63097
RM
32883 * string/strncat.c (STRNCAT): Use prototype definition.
32884
675456ef
RM
32885 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32886 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32887 -Iprograms here.
32888 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32889 (localedef-modules): Add localedef.
32890 (locale-modules): Add locale.
32891
5e4287d1
RM
32892 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32893 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32894 to avoid a warning.
32895
9c96ff23
DM
328962011-08-14 David S. Miller <davem@davemloft.net>
32897
32898 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32899 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32900
f9ddf089
UD
329012011-08-13 Ulrich Drepper <drepper@gmail.com>
32902
44f0a71e 32903 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
32904 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32905 * elf/rtld.c (dl_main): Set l_name of vDSO.
32906 Call _dl_show_scope when DL_DEBUG_SCOPES.
32907 (process_dl_debug): Recognize scopes flag and also set it for all.
32908 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32909 Declare _dl_show_scope.
32910
1dc27704
UD
32911 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32912 (do_dlopen): Pass caller_dlopen to dl_open.
32913 (__libc_dlopen_mode): Initialize caller_dlopen.
32914
f9ddf089
UD
32915 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32916 of libc. Make tolower call locale-independent. Optimize a bit by
32917 using isdigit instead of isalnum.
32918 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32919
9ac533d3
UD
329202011-08-12 Ulrich Drepper <drepper@gmail.com>
32921
32922 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32923 was a dependency or dynamically loaded.
32924
89edf2e9
UD
329252011-08-11 Ulrich Drepper <drepper@gmail.com>
32926
8e999d29
UD
32927 * intl/l10nflist.c: Allow architecture-specific pop function.
32928 * sysdeps/x86_64/l10nflist.c: New file.
32929
89edf2e9
UD
32930 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32931 classification.
32932
14d96785
AS
329332011-08-10 Andreas Schwab <schwab@redhat.com>
32934
32935 * include/dirent.h: Add libc_hidden_proto for scandirat and
32936 scandirat64. Don't declare __scandirat64.
32937 * dirent/scandirat.c: Add libc_hidden_def.
32938 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32939 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32940
6761ac04
DM
329412011-08-10 David S. Miller <davem@davemloft.net>
32942
32943 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32944 enum.
32945 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32946 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32947 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32948
c55fbd1e
UD
329492011-08-09 Ulrich Drepper <drepper@gmail.com>
32950
32951 * Versions.def [libc]: Add GLIBC_2.15.
32952 * dirent/Makefile (routines): Add scandirat and scandirat64.
32953 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32954 GLIBC_2.15.
32955 * dirent/dirent.h: Declare scandirat and scandirat64.
32956 * dirent/scandirat.c: New file.
32957 * dirent/scandirat64.c: New file.
32958 * sysdeps/wordsize-64/scandirat.c: New file.
32959 * sysdeps/wordsize-64/scandirat64.c: New file.
32960 * dirent/opendir.c: Define opendirat.
32961 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32962 using scandirat.
32963 * dirent/scandir64.c: Adjust for scandir.c change.
32964 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32965 __scandirat64, and __scandir_cancel_handler.
32966 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32967 additional parameter and use openat instead of open (outside of ld.so).
32968 Add new __opendir as wrapper around __opendirat.
32969 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32970 here without requiring old scandirat implementation.
32971
879165f2
UD
329722011-08-08 Ulrich Drepper <drepper@gmail.com>
32973
32974 * dirent/scandir.c (cancel_handler): Renamed to
32975 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32976 defined. Adjust users.
32977 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32978 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32979
cb7e923b
UD
329802011-08-04 Ulrich Drepper <drepper@gmail.com>
32981
16292edd
UD
32982 * string/test-string.h (IMPL): Use __STRING to expand name and then
32983 stringify it.
32984
cb7e923b
UD
32985 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32986 of cleanups.
32987
cff82933
LD
329882011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32989
32990 * string/Makefile: Update.
32991 (strop-tests): Append strncat.
32992 * string/test-wcscmp.c: New file.
32993 New comprehensive test for wcscmp.
32994 * string/test-strcmp.c: Update.
32995 (WIDE): New define.
32996
9be9bfcc
AS
329972011-07-22 Andreas Schwab <schwab@redhat.com>
32998
32999 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33000 line.
33001
2e96f1c7
AS
330022011-07-26 Andreas Schwab <schwab@redhat.com>
33003
33004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33005 encoding to ACE if AI_IDN.
33006
85188888
JJ
330072011-08-01 Jakub Jelinek <jakub@redhat.com>
33008
33009 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33010 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33011
5fa16e9b
LD
330122011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33013
33014 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33015 Fix overflow bug in strncat.
33016 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33017
33018 * string/test-strncat.c: Update.
33019 Add new tests for checking overflow bugs.
33020
330212011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33022
33023 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33024 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33025 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33026 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33027 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33028 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33029 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33030 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33031 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33032
33033 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33034 (USE_AS_STRCAT): Define.
33035 Add strcat and strncat support.
33036 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33037
8c1a459f
AS
330382011-07-25 Andreas Schwab <schwab@redhat.com>
33039
33040 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33041 __n bigger than INT_MAX+1.
33042 (__strncmp_g): Likewise.
33043
bba33c28
UD
330442011-07-23 Ulrich Drepper <drepper@gmail.com>
33045
798be72d
UD
33046 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33047 * libio/stido.h: Likewise.
33048
8accd4dc
UD
33049 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33050 (AF_NFC): Define.
33051 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33052 (AF_NFC): Define.
33053
cbff0d96
UD
33054 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33055 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33056 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33057 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33058 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33059
9191c04a
UD
33060 [BZ #13021]
33061 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33062 installed.
33063
bba33c28
UD
33064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33065 typo.
33066 (_dl_x86_64_save_sse): Likewise.
33067
90f139dd
UD
330682011-07-22 Ulrich Drepper <drepper@gmail.com>
33069
1aae088a
UD
33070 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33071 OSXSAVE.
33072 (_dl_x86_64_save_sse): Likewise.
33073
8e2045f5
UD
33074 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33075
90f139dd
UD
33076 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33077
1d002f25
AS
330782011-07-21 Andreas Schwab <schwab@redhat.com>
33079
33080 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33081 change.
33082 (_dl_x86_64_save_sse): Use correct AVX check.
33083
21137f89
UD
330842011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33085
33086 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33087 bug in strncpy/strncat.
33088 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33089
a65c0b7a
UD
330902011-07-21 Ulrich Drepper <drepper@gmail.com>
33091
33092 * string/tester.c (test_strcat): Add tests for different alignments
33093 of source and destination.
33094 (test_strncat): Likewise.
33095
6986b98a
UD
330962011-07-20 Ulrich Drepper <drepper@gmail.com>
33097
90bb2039
UD
33098 [BZ #12852]
33099 * posix/glob.c (glob): Check passed in values before using them in
33100 expressions to avoid some overflows.
33101 (glob_in_dir): Likewise.
33102
5644ef54
UD
33103 [BZ #13007]
33104 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33105 check for AVX enablement so that we don't crash with old kernels and
33106 new hardware.
33107 * elf/tst-audit4.c: Add same checks here.
33108 * elf/tst-audit6.c: Likewise.
33109
33110 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 33111
bfc9dc9b
AS
331122011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33113
33114 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33115
702e64bb
UD
331162011-07-20 Ulrich Drepper <drepper@gmail.com>
33117
33118 * po/cs.po: Update from translation team.
33119 * po/bg.po: Likewise.
33120
295e904f
MP
331212011-07-12 Marek Polacek <mpolacek@redhat.com>
33122
33123 * misc/sys/cdefs.h: Add support for const attribute.
33124 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33125 to gnu_dev_{major,minor,makedev} functions.
33126
3ff94596
MP
331272011-07-20 Marek Polacek <mpolacek@redhat.com>
33128
33129 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33130
28b59fca
AS
331312011-07-20 Andreas Schwab <schwab@redhat.com>
33132
33133 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33134 strlen results.
33135
19df733e
AK
331362011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33137
33138 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33139 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33140 register in order to avoid conflicts with the soft frame pointer
33141 being held in r11 when necessary.
33142 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33143 (INTERNAL_VSYSCALL_NCS): Likewise.
33144
c8835729
MP
331452011-07-14 Marek Polacek <mpolacek@redhat.com>
33146
33147 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33148 * elf/dl-fini.c (_dl_fini): Adjust caller.
33149 * elf/dl-close.c (_dl_close_worker): Likewise.
33150 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33151
b902330c
MP
331522011-07-15 Marek Polacek <mpolacek@redhat.com>
33153
8991e135
MP
33154 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33155 "aux_cache->nlibs < 0".
33156
b902330c
MP
33157 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33158 in the reload-count case.
33159
99710781
LD
331602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33161
33162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33163 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33164 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33165 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33166 * sysdeps/x86_64/multiarch/strcat.S: New file.
33167 * sysdeps/x86_64/multiarch/strncat.S: New file.
33168 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33169 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33170 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33171 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33172 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33173 (USE_AS_STRCAT): Define.
33174 Add strcat and strncat support.
33175 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33176 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33177 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33178 * string/strncat.c: Update.
33179 (USE_AS_STRNCAT): Define.
33180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33181 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33182 and i7.
33183 * sysdeps/x86_64/multiarch/init-arch.h
33184 (bit_Prefer_PMINUB_for_stringop): New.
33185 (index_Prefer_PMINUB_for_stringop): Likewise.
33186 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33187 bit_Prefer_PMINUB_for_stringop.
33188
7dc6bd90
UD
331892011-07-19 Ulrich Drepper <drepper@gmail.com>
33190
33191 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33192 buffer64.
33193 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33194 of casting of buffer.
33195 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33196 buffer32 and buffer64.
33197 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33198 writes instead of casting of buffer.
33199 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33200 buffer32.
33201 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33202 casting of buffer.
33203
e0e72284
AS
332042011-07-19 Andreas Schwab <schwab@redhat.com>
33205
33206 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33207
feb1eb0b
UD
332082011-07-19 Ulrich Drepper <drepper@gmail.com>
33209
33210 * nscd/nscd.c (termination_handler): Don't do anything for a database
33211 if it has not yet been initialized.
33212
298711ff
UD
332132011-07-18 Ulrich Drepper <drepper@gmail.com>
33214
33215 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33216
332172011-07-15 Marek Polacek <mpolacek@redhat.com>
33218
33219 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33220
f9d68389
UD
332212011-07-18 Ulrich Drepper <drepper@gmail.com>
33222
33223 * po/nl.po: Update from translation team.
33224 * po/sv.po: Likewise.
33225
db290cf5
RM
332262011-07-16 Roland McGrath <roland@hack.frob.com>
33227
33228 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33229 now disallowed by GCC.
5c550700 33230
fd5e21c7
RM
33231 * configure.in (use-default-link): Default to yes if a test -shared
33232 link meets our qualifications.
33233 * configure: Regenerated.
33234
5c550700
RM
33235 * config.make.in (output-format): New variable.
33236 * configure.in: Check for ld --print-output-format support.
33237 * configure: Regenerated.
33238 * Makerules ($(common-objpfx)format.lds)
33239 [$(output-format) != unknown]: Just use $(output-format),
33240 instead of the linker-script munging.
33241
9fa2c032
RM
332422011-07-14 Roland McGrath <roland@hack.frob.com>
33243
a6928d51
RM
33244 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33245 of $(common-objpfx)shlib.lds.
33246 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33247
661607b3
RM
33248 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33249 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33250
9fa2c032
RM
33251 * configure.in (-z relro check): Adjust test code to add a large
33252 writable data section after it.
33253 * configure: Regenerated.
33254
defe9061
RM
332552011-07-11 Roland McGrath <roland@hack.frob.com>
33256
33257 * configure.in (-z relro check): Fix test code to make the variable
33258 truly const.
33259 * configure: Regenerated.
33260
319b9ad4
UD
332612011-07-11 Ulrich Drepper <drepper@gmail.com>
33262
33263 * nscd/nscd.h (struct traced_file): Define.
33264 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33265 elements. Add traced_files.
33266 (inotify_fd): Declare.
33267 (register_traced_file): Declare.
33268 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33269 (inotify_fd): Export.
33270 (resolv_conf_descr): Remove.
33271 (nscd_init): Move inotify descriptor creation to main.
33272 Don't register files for notification here.
33273 (register_traced_file): New function.
33274 (invalidate_cache): Don't use reset_res to determine whether to call
33275 res_init, go through the list of registered files.
33276 (main_loop_poll): The inotify descriptors are now stored in the
33277 structures for the traced files.
33278 (main_loop_epoll): Likewise
33279 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33280 to __nss_disable_nscd.
33281 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33282 for a database anymore. Check the records for all the registered
33283 files instead.
33284 * nss/Makefile (libnss_files-routines): Add files-init.
33285 (libnss_db-routines): Add db-init.
33286 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33287 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33288 * nss/nss_db/db-init.c: New file.
33289 * nss/nss_files/files-init.c: New file.
33290 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33291 __nss_lookup_function.
33292 (__nss_lookup_function): Call nss_load_library.
33293 (nss_load_all_libraries): New function.
33294 (__nss_disable_nscd): Take parameter with callback function for files
33295 to register. Set is_nscd. Load all the DSOs for the NSS modules
33296 used for the cached services.
33297 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33298 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33299 options for features to all the files in nscd.
33300
33301 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33302
23bee3e8
RM
333032011-07-10 Roland McGrath <roland@hack.frob.com>
33304
33305 * csu/elf-init.c (__libc_csu_init): Comment typo.
33306
46a5b7f0
UD
333072011-07-09 Ulrich Drepper <drepper@gmail.com>
33308
33309 * po/pl.po: Update from translation team.
33310 * po/ja.po: Likewise.
33311 * po/ru.po: Likewise.
33312 * po/ko.po: Likewise.
33313 * po/fr.po: Likewise.
33314
d30cf5bb
RM
333152011-07-09 Roland McGrath <roland@hack.frob.com>
33316
113ddea4
RM
33317 * configure.in (.ctors/.dtors header and trailer check):
33318 Use an empirical test on a built program.
33319 * configure: Regenerated.
33320
574920b4
RM
33321 * configure.in (-z relro check): Use an empirical test on a built DSO.
33322 Detect, but do not require, on ia64.
33323 * configure: Regenerated.
33324
d30cf5bb
RM
33325 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33326 Update tests that use readelf to use $READELF instead.
33327 * configure: Regenerated.
33328
8538fdb3
UD
333292011-07-08 Ulrich Drepper <drepper@gmail.com>
33330
33331 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33332 if the result is not used.
33333
04d08991
AJ
333342011-07-05 Andreas Jaeger <aj@suse.de>
33335
33336 [BZ#9696]
33337 * stdlib/tst-strtod.c: Add testcase.
33338
de283087
AD
333392011-07-07 Ulrich Drepper <drepper@gmail.com>
33340
4e5f31c8 33341 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 33342 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
33343 The latter has a higher limit. Take additional parameter to pass to
33344 the new function.
33345 (__pathconf): Pass file to __statfs_link_max.
33346 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33347 __statfs_link_max.
33348 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33349 __statfs_link_max.
33350
de283087
AD
33351 [BZ #12868]
33352 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33353 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33354 Handle Lustre.
33355 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33356 (__statfs_filesize_max): Likewise.
33357 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33358
c75fa153
AJ
333592011-07-05 Andreas Jaeger <aj@suse.de>
33360
33361 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33362
1a544854
UD
333632011-07-06 Marek Polacek <mpolacek@redhat.com>
33364
33365 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33366 `status' variable.
33367 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33368 Likewise.
33369
6f0eec67
UD
333702011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33371
33372 * Makefile (strop-tests): Add strncat.
33373 * string/test-strncat.c: New file.
33374
aae30307
UD
333752011-06-30 Marek Polacek <mpolacek@redhat.com>
33376
33377 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33378
c0cfb5eb
UD
333792011-06-21 Andreas Jaeger <aj@suse.de>
33380
33381 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33382 Copy rule from iconvdata/Makefile.
33383
01636b21
UD
333842011-07-06 Ulrich Drepper <drepper@gmail.com>
33385
33386 [BZ #12922]
33387 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33388 but no long options are defined, just return 'W'.
33389
9895c8bc
UD
333902011-06-22 Marek Polacek <mpolacek@redhat.com>
33391
33392 [BZ #9696]
33393 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33394
5d4cf042
UD
333952011-07-06 Ulrich Drepper <drepper@gmail.com>
33396
33397 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33398 netgroups to read.
960e5535 33399 (innetgr): Likewise.
5d4cf042 33400
751eb97e
RM
334012011-07-05 Roland McGrath <roland@hack.frob.com>
33402
33403 * config.make.in (install_root): Default to $(DESTDIR).
33404
f15f1e45
UD
334052011-07-05 Ulrich Drepper <drepper@gmail.com>
33406
33407 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33408
4e34ac6a
RM
334092011-07-02 Roland McGrath <roland@hack.frob.com>
33410
5e9b6af4
RM
33411 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33412
84f9ea0f
RM
33413 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33414 containing directory rather than embedding absolute directory names.
33415
ea5ee9f7
RM
33416 * scripts/check-local-headers.sh: Rewritten using awk.
33417 Match by word, not by line. Print error messages for matches.
33418 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33419
1b74661a
RM
33420 * Makerules [shlib-lds-flags empty]:
33421 ($(common-objpfx)libc_pic.opts): New target.
33422 ($(common-objpfx)libc_pic.os.clean): New target.
33423 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33424
33425 * config.make.in (OBJCOPY): New variable.
33426 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33427 * configure: Regenerated.
33428
f781ef40
RM
33429 * config.make.in (use-default-link): New variable.
33430 * configure.in (use_default_link): Grok --with-default-link to set it.
33431 * configure: Regenerated.
33432 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33433 (shlib-lds, shlib-lds-flags): Define to empty.
33434
2d4fa81e
RM
33435 * Makerules (shlib-lds): New variable.
33436 (shlib-lds-flags): New variable.
33437 (build-shlib, build-moduile, build-module-asneeded): Use it.
33438 ($(common-objpfx)libc.so): Use $(shlib-lds).
33439 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33440 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33441
31fffa6b
RM
33442 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33443 DT_FLAGS/DT_FLAGS_1 with zero flags.
33444
4e34ac6a
RM
33445 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33446 linker script munging.
33447
fcfc776b
UD
334482011-07-02 Ulrich Drepper <drepper@gmail.com>
33449
33450 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33451 as 128-bit value.
33452 * crypt/sha512.c (sha512_process_block): Perform total addition using
33453 128-bit if possible.
33454 (__sha512_finish_ctx): Likewise.
33455 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33456 as 64-bit value.
33457 * crypt/sha256.c (SWAP64): Define.
33458 (sha256_process_block): Perform total addition using 64-bit if
33459 possible.
33460 (__sha256_finish_ctx): Likewise.
33461
99231d9a
UD
334622011-07-01 Ulrich Drepper <drepper@gmail.com>
33463
33464 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
33465 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33466 * nscd/hstcache.c (cache_addhst): Likewise.
33467 * nscd/grpcache.c (cache_addgr): Likewise.
33468 * nscd/aicache.c (addhstaiX): Likewise
33469 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33470
445b4a53
TK
334712011-07-01 Thorsten Kukuk <kukuk@suse.de>
33472
33473 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33474 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33475 * nscd/hstcache.c (cache_addhst): Likewise.
33476 * nscd/grpcache.c (cache_addgr): Likewise.
33477 * nscd/aicache.c (addhstaiX): Likewise
33478
6d4d8e8e
AS
334792011-07-01 Andreas Schwab <schwab@redhat.com>
33480
33481 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33482 domain only when needed.
33483
89f654c5
AS
334842011-06-30 Andreas Schwab <schwab@redhat.com>
33485
33486 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33487 is always restored.
33488
cf3b23ff
UD
334892011-06-29 Ulrich Drepper <drepper@gmail.com>
33490
33491 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33492 are re-adding the entry.
33493 * nscd/servicescache.c (cache_addserv): Likewise.
33494
751626f9
AJ
334952011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33496
33497 * sysdeps/generic/dl-irel.h: fix protection against multiple
33498 inclusions.
33499 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33500
9113ea1f
UD
335012011-06-28 Ulrich Drepper <drepper@gmail.com>
33502
5c0b8d90
UD
33503 [BZ #12935]
33504 * malloc/memusage.sh: Fix quoting in message.
33505 * debug/xtrace.sh: Likewise.
33506
9113ea1f
UD
33507 * configure.in: Remove support for --experimental-malloc option, make
33508 it the default.
33509 * config.make.in: Likewise.
33510 * malloc/Makefile: Likewise.
33511
a4172181
AS
335122011-06-27 Andreas Schwab <schwab@redhat.com>
33513
33514 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33515 two-byte characters.
33516
78a7eee7
RM
335172011-06-27 Roland McGrath <roland@hack.frob.com>
33518
62bede13
RM
33519 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33520 AC_CACHE_CHECK invocation.
33521 * configure: Regenerated.
33522
78a7eee7
RM
33523 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33524
5ce33a62
UD
335252011-06-27 Ulrich Drepper <drepper@gmail.com>
33526
034807a9
UD
33527 [BZ #12350]
33528 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33529 bit from old_res_options.
33530
4902da17
UD
33531 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33532
5ce33a62
UD
33533 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33534 value type for setfct.
33535
c2344f56
L
335362011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33537
33538 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33539 __gettimeofday instead of gettimeofday.
33540
68468076
UD
335412011-06-26 Ulrich Drepper <drepper@gmail.com>
33542
33543 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33544
acb0d739
L
335452011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33546
33547 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33548
33549 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33550 info.
33551
8912479f
L
335522011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33553
33554 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33555 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33556 strcpy-sse2-unaligned strncpy-sse2-unaligned
33557 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33558 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33559 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33560 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33561 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33562 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33563 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33564 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33565 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33566 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33567 (STRCPY): Support SSE2 and SSSE3 versions.
33568
d5495a11
UD
335692011-06-24 Ulrich Drepper <drepper@gmail.com>
33570
33571 [BZ #12874]
33572 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33573 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33574 kernels which artificially limit size of requests.
33575
0b1cbaae
L
335762011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33577
33578 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33579 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33580 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33581 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33582 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33583 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33584 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33585 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33586 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33587 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33588 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33589 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33590 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33591 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33592 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33594 Enable unaligned load optimization for Intel Core i3, i5 and i7
33595 processors.
33596 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33597 Define.
33598 (index_Fast_Unaligned_Load): Define.
33599 (HAS_FAST_UNALIGNED_LOAD): Define.
33600
07f494a0
MP
336012011-06-23 Marek Polacek <mpolacek@redhat.com>
33602
33603 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33604
fa3fc0fe
UD
336052011-06-22 Ulrich Drepper <drepper@gmail.com>
33606
33607 [BZ #12907]
33608 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33609 until it is clear that the information is realy needed.
33610 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33611
e12df166
AS
336122011-06-22 Andreas Schwab <schwab@redhat.com>
33613
33614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33615
852eb34d
UD
336162011-06-22 Ulrich Drepper <drepper@gmail.com>
33617
84e2a551
UD
33618 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33619 /sys/devices/system/cpu/online if it is usable.
33620
852eb34d
UD
33621 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33622 reading the information from the /proc filesystem to once a second.
33623
6e502e19
UD
336242011-06-21 Andreas Jaeger <aj@suse.de>
33625
33626 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33627 NULL after inclusion of kernel headers.
33628
75d39ff2
UD
336292011-06-21 Ulrich Drepper <drepper@gmail.com>
33630
51f9aa6a
UD
33631 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33632 calls to internal_setent.
33633
c0244a9d
UD
33634 [BZ #12885]
33635 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33636 addresses using gethostbyname4_r ignore IPv4 addresses.
33637
c5e3c2ae
UD
33638 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33639 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33640
75d39ff2
UD
33641 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33642
42675c6f
DM
336432011-06-20 David S. Miller <davem@davemloft.net>
33644
33645 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33646 inclusions.
33647 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33648
33649 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33650 (elf_irel): Use it.
33651 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33652 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33653 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33654 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33655 * sysdeps/x86_64/dl-irel.h: Likewise.
33656
33657 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33658 * elf/dl-sym.c: Likewise.
33659
57912a71
UD
336602011-06-15 Ulrich Drepper <drepper@gmail.com>
33661
33662 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33663 need to dereference resplen2.
33664
ee22793d
AS
336652011-06-14 Andreas Schwab <schwab@redhat.com>
33666
33667 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33668
a9e836b0
UD
336692011-06-15 Ulrich Drepper <drepper@gmail.com>
33670
77fb9117
UD
33671 * Makeconfig: Define vardbdir and inst_vardbdir.
33672 * nss/Makefile: Add rules to install db-Makefile.
33673
40c1b22c
UD
33674 * nss/nss_db/db-XXX.c: Cleanup.
33675
9f2da732
UD
33676 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33677 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33678 GLIBC_PRIVATE.
33679 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33680 * nss/makedb.c: Implement -g option to specify that value strings
33681 are generated and should not be added to table iterated over for
33682 get*ent calls.
33683 * nss/nss_db/db-initgroups.c: New file.
33684
82e9a1f7
UD
33685 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33686 interface.
33687
c41af17e
UD
33688 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33689 (internal_getgrouplist): Adjust to name change.
33690 Update use_initgroups_entry if this is not the first call.
33691 * nss/databases.def: Add initgroups entry.
33692
a9e836b0
UD
33693 * nss/makedb.c (compute_tables): Check result of multiple hash table
33694 sizes to minimize maximum chain length.
33695
2666d441
UD
336962011-06-14 Ulrich Drepper <drepper@gmail.com>
33697
33698 * Versions.def: Add entry for libnss_db.
33699 * shlib-versions: Likewise.
33700 * nss/Makefile: Add rules to build libnss_db.
33701 * nss/Versions: Add libnss_db information. Organize libnss_files
33702 entries better.
33703 * nss/db-Makefile: Add gshadow support. Change rules for the new
33704 makedb progra. Some minor improvements to generate smaller files.
33705 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33706 here from...
33707 * nss/makedb.c: ...here.
33708 Improve database format to be smaller and require less memory at
33709 runtime.
33710 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33711 db anymore.
33712 * nss/nss_db/db-netgrp.c: Likewise.
33713 * nss/nss_db/db-open.c: Likewise.
33714 * nss/nss_files/flies-XXX.x: Adjust comments.
33715 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33716 * nss/nss_files/files-grp.c: Likewise.
33717 * nss/nss_files/files-hosts.c: Likewise.
33718 * nss/nss_files/files-network.c: Likewise.
33719 * nss/nss_files/files-proto.c: Likewise.
33720 * nss/nss_files/files-pwd.c: Likewise.
33721 * nss/nss_files/files-rpc.c: Likewise.
33722 * nss/nss_files/files-service.c: Likewise.
33723 * nss/nss_files/files-sgrp.c: Likewise.
33724 * nss/nss_files/files-spwd.c: Likewise.
33725 * nss/nss_db/db-alias.c: Removed.
33726 * nss/nss_db/dummy-db.h: Removed.
33727
9ee76b5a
UD
337282011-06-02 Ulrich Drepper <drepper@gmail.com>
33729
33730 * nss/makedb.c: Rewritten to not use database library.
33731 * nss/Makefile: Update to build new makedb program.
33732
c71ca1f8
AJ
337332011-06-14 Andreas Jaeger <aj@suse.de>
33734
33735 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33736 memset declaration.
33737
3154bfb8
UD
337382011-06-10 Andreas Schwab <schwab@redhat.com>
33739
33740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33741 tmpbuf.
33742
b350afab
RM
337432011-06-10 Roland McGrath <roland@hack.frob.com>
33744
decd4e50
RM
33745 * Makerules (shlib.lds): Fail if the linker script comes out empty.
33746 * elf/Makefile ($(objpfx)ld.so): Likewise.
33747
5615eaf2
RM
33748 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33749 Don't list ld.so twice in dependencies.
33750
33751 * posix/bug-regex31.c: Include <stdlib.h>.
33752
33753 * nscd/hstcache.c (cache_addhst): Remove unused variable.
33754
33755 * nis/nss_compat/compat-spwd.c
33756 (getspent_next_nss_netgr): Remove unused variable.
33757 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33758
33759 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33760 nonmembers" output to use the right array.
33761
33762 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33763
33764 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33765
33766 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33767 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33768 * catgets/gencat.c (read_input_file): Likewise.
33769 * locale/programs/locarchive.c (enlarge_archive): Likewise.
33770
33771 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33772 variable definition inside #if's controlling its use.
33773
33774 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33775
33776 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33777
33778 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33779
33780 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33781 unreachable code.
33782
33783 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33784
b68e08db
RM
33785 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33786 * configure: Regenerated.
33787
b350afab
RM
33788 * Makerules: Revert last change.
33789 * elf/Makefile: Likewise.
33790
28368601
RM
337912011-06-09 Roland McGrath <roland@hack.frob.com>
33792
33793 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33794 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33795 (reloc-link): Likewise.
33796
11988f8f
UD
337972011-06-09 Ulrich Drepper <drepper@gmail.com>
33798
33799 * elf/Makefile: Add rules to build pldd.
33800 * elf/pldd.c: New file.
33801 * elf/pldd-xx.c: New file.
33802
e80fab37
UD
338032011-06-07 Ulrich Drepper <drepper@gmail.com>
33804
33805 * version.h: Update for 2.15 development version.
33806
9b849836
DM
338072011-06-07 David S. Miller <davem@davemloft.net>
33808
33809 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33810 ifuncs.
33811 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33812 elf_machine_lazy_rel): Likewise.
33813 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33814 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33815 elf_machine_lazy_rel): Likewise.
33816 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33817 dl_hwcap via passed in argument.
33818 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33819 Likewise.
33820
5a31b283
AK
338212011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33822
33823 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33824
069e52f8
RM
338252011-06-06 Roland McGrath <roland@hack.frob.com>
33826
33827 [BZ #12849]
33828 * manual/fdl-1.1.texi: New file, verbatim from:
33829 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33830 * manual/lgpl-2.1.texi: New file, verbatim from:
33831 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33832 * manual/Makefile (licenses): New variable, list those new file names.
33833 (texis): Use it.
33834 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33835
33836 * manual/fdl.texi: File removed.
33837 * manual/lesser.texi: File removed.
33838 * manual/libc.texinfo (Copying, Documentation License):
33839 Use new @include file names, put @appendix directive before @include.
33840
f16846a5
JJ
338412011-06-04 Jakub Jelinek <jakub@redhat.com>
33842
33843 [BZ #12841]
33844 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33845 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33846 (mq_open): Add __NTH.
33847
3d29045b
L
338482011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33849
33850 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33851 Assume Intel Core i3/i5/i7 processor if AVX is available.
33852
8c297311
UD
338532011-05-31 Ulrich Drepper <drepper@gmail.com>
33854
33855 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33856 typo.
33857
c8fc0c91
UD
338582011-05-31 Andreas Schwab <schwab@redhat.com>
33859
33860 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33861 memory. Use alloca_account. Fix memory leak when retrying.
33862
5b27a807
UD
338632011-05-31 Ulrich Drepper <drepper@gmail.com>
33864
356f8bc6
UD
33865 * version.h (RELEASE): Bump for 2.14 release.
33866 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33867
5b27a807
UD
33868 * config.make.in (RANLIB): Remove entry.
33869
01f16ab0
UD
338702011-05-30 Ulrich Drepper <drepper@gmail.com>
33871
41fce8bd
UD
33872 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33873 (libc.pot): Work around missing support for .ksh extension in xgettext.
33874
4769ae77
UD
33875 [BZ #12684]
33876 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33877 if both request failed.
33878 (send_dg): In case of server errors clear resplen or *resplen2.
33879
6b1e7d19
UD
33880 [BZ #12454]
33881 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33882 when there are multiple maps.
33883 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33884 (_dl_fini): Remove test here.
33885
01f16ab0
UD
33886 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33887
b1ebd700
UD
338882011-05-29 Ulrich Drepper <drepper@gmail.com>
33889
7ae22829
UD
33890 [BZ #12350]
33891 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33892 bit from old_res_options.
33893 (gaih_inet): Likewise.
33894
553149f6 33895 [BZ #11099]
18a84741 33896 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
33897 as signed.
33898
652ffab1
UD
33899 * resolv/res_init.c (res_setoptions): Make the code more compact.
33900
16985fd0
UD
33901 [BZ #11558]
33902 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33903 set RES_USEVC.
33904
0464f746
UD
33905 [BZ #11634]
33906 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33907
7d17596c
UD
33908 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33909
cf6bbbd7
UD
33910 [BZ #11781]
33911 * malloc/malloc.h: Declare malloc hook variables as volatile.
33912
13f1ab36
UD
33913 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33914 in last patch.
33915
b1ebd700
UD
33916 [BZ #11799]
33917 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 33918 raise in the comment.
80e2212d
UD
33919 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33920 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33921 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 33922
ce67228d
UD
339232011-05-28 Ulrich Drepper <drepper@gmail.com>
33924
8887a920
UD
33925 [BZ #12811]
33926 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33927 grow the buffers more if it already has to be sufficient.
33928 (build_wcs_upper_buffer): Likewise.
33929 * posix/regexec.c (check_matching): Likewise.
33930 (clean_state_log_if_needed): Likewise.
33931 (extend_buffers): Don't enlarge buffers beyond size of the input
33932 buffer.
33933 Patches mostly by Emil Wojak <emil@wojak.eu>.
33934 * posix/bug-regex32.c: New file.
33935 * posix/Makefile (tests): Add bug-regex32.
33936
4f031072
UD
33937 * locale/findlocale.c (_nl_find_locale): Return right away if
33938 _nl_explode_name failed.
33939 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33940
d0478f0c
UD
33941 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33942
de81b246
UD
33943 * debug/xtrace.sh: Unify messages.
33944 * malloc/memusage.sh: Likewise.
33945
c738465a
UD
33946 [BZ #12813]
33947 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33948 time symbol from vDSO. Substitute with vsyscall if not available.
33949 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33950 __vdso_time.
33951
f1f929d7
UD
33952 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33953 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33954 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33955 Add sendmmsg and internal_sendmmsg.
33956 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33957 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33958 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33959
ce67228d
UD
33960 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33961 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33962 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33963
e57420c6
UD
339642011-05-27 Ulrich Drepper <drepper@gmail.com>
33965
a8509ca5
UD
33966 [BZ #12813]
33967 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33968 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33969 available.
33970 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33971 __vdso_getcpu.
33972
e57420c6
UD
33973 [BZ #12814]
33974 * iconvdata/Makefile (tests): Add bug-iconv9.
33975 * iconvdata/bug-iconv9.c: New file.
33976
4d07db15
AS
339772011-05-27 Andreas Schwab <schwab@redhat.com>
33978
33979 [BZ #12814]
33980 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33981
ea486f69
JJ
339822011-05-25 Jakub Jelinek <jakub@redhat.com>
33983
33984 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33985 (struct user_regs_struct): Change intcs field back to cs.
33986
6f038433
UD
339872011-05-25 Ulrich Drepper <drepper@gmail.com>
33988
33989 * po/ja.po: Update from translation team.
33990
67f86a25
UD
339912011-05-23 Ulrich Drepper <drepper@gmail.com>
33992
33993 [BZ #12795]
33994 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33995 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33996
def7fbd6
AS
339972011-05-20 Andreas Schwab <schwab@redhat.com>
33998
33999 * stdlib/longlong.h: Update from GCC.
34000
f50ef8f1
AS
340012011-05-23 Andreas Schwab <schwab@redhat.com>
34002
34003 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34004 parameter name.
34005 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34006 Add parameter name.
34007 (__sysconf): Pass it down.
34008
de7ce8f1
UD
340092011-05-22 Ulrich Drepper <drepper@gmail.com>
34010
f2962a71
UD
34011 [BZ #12671]
34012 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34013 some situations.
34014 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34015 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34016 add in in __libc_use_alloca calls. Adjust callers.
34017 (glob): Use malloc in some situations.
34018
de7ce8f1
UD
34019 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34020 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34021 pltexit.
34022
aec84f53
UD
340232011-05-21 Ulrich Drepper <drepper@gmail.com>
34024
05bb4a68
UD
34025 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34026 and CLOCK_BOOTTIME_ALARM.
34027
7ea72f99
UD
34028 [BZ #12782]
34029 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34030 is returned.
34031
7e4afad5
UD
34032 * string/_strerror.c (__strerror_r): Print negative errors as signed
34033 numbers.
34034
8e211fec
UD
34035 [BZ #12777]
34036 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34037 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34038 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34039
f7d82dc9
UD
34040 * configure.in: Fix typo in redirection and correct removal of test
34041 files in two cases.
34042
cc9e536d
UD
34043 [BZ #12788]
34044 * locale/setlocale.c (new_composite_name): Fix test to check for
34045 identical name of all categories.
34046
aec84f53
UD
34047 [BZ #12792]
34048 * libio/filedoalloc.c (local_isatty): New function.
34049 (_IO_file_doallocate): Use local_isatty.
34050 * stdio-common/perror.c (perror): In case a new stream is used
34051 forward the stream error.
34052 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34053 error flag.
34054
78e64fdc
RT
340552011-05-20 Ulrich Drepper <drepper@gmail.com>
34056
34a9094f
UD
34057 [BZ #11869]
34058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34059 alloca.
34060 * include/alloca.h (extend_alloca_account): Define.
34061
78e64fdc
RT
34062 [BZ #11857]
34063 * posix/regex.h: Fix comments with documentation of user-accessible
34064 fields after compilation and describe correct free'ing of pattern
34065 after re_compile_pattern.
34066 Patch by Reuben Thomas <rrt@sc3d.org>.
34067
457bddfc
RA
340682011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34069
34070 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34071 and -mno-altivec to prevent the compiler from using Altivec and/or
34072 VSX instructions when the corresponding registers are not available.
34073
a4527b51
AS
340742011-05-19 Andreas Schwab <schwab@redhat.com>
34075
34076 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34077
ed690b2f
UD
340782011-05-19 Ulrich Drepper <drepper@gmail.com>
34079
34080 * libio/freopen.c (freopen): Use __dup2, not dup2.
34081 * libio/freopen64.c (freopen64): Likewise.
34082
8db73634
L
340832011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34084
34085 [BZ #12775]
34086 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34087 * math/Makefile (tests): Add test-powl.
34088 (CFLAGS-test-powl.c): Define.
34089 * math/test-powl.c: New file.
34090
0a197a9d
L
340912011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34092
34093 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34094
ee30c380
UD
340952011-05-17 Ulrich Drepper <drepper@gmail.com>
34096
34097 [BZ #11837]
34098 * iconvdata/gb18030.c: Update to GB18020-2005.
34099
6ce75379
UD
341002011-05-16 Ulrich Drepper <drepper@gmail.com>
34101
a4b89fd8
AR
34102 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34103 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34104 Patch by Aharon Robbins <arnold@skeeve.com>.
34105
ea389b12
UD
34106 [BZ #11892]
34107 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34108 on the stack.
34109
68a3f91f
UD
34110 [BZ #11895]
34111 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34112 through underflows.
34113
15cc7dd1
UD
34114 [BZ #12766]
34115 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34116 point to strings before performing equality test for error_one_per_line
34117 mode.
34118
f3799213
UD
34119 [BZ #11697]
34120 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34121
d79a9c94
UD
34122 [BZ #11820]
34123 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34124 (struct user_fpregs_struct): Avoid __uint*_t types.
34125
56e5eb46
UD
34126 [BZ #6420]
34127 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34128 symbol info. Use it instead of calling _dl_addr locally.
34129 (lock_and_info): New function.
34130 (tr_freehook): Call lock_and_info and pass symbol info as additional
34131 parameter to tr_where.
34132 (tr_mallochook): Likewise.
34133 (tr_reallochook): Likewise.
34134 (tr_memalignhook): Likewise.
34135
6ce75379
UD
34136 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34137 used and couldn't be at all thread-safe.
34138
f8a3b5bf
UD
341392011-05-15 Ulrich Drepper <drepper@gmail.com>
34140
94b7cc37
UD
34141 * libio/freopen.c (freopen): Don't close old file descriptor
34142 before the new one is opened. Instead dup the new file descriptor
34143 to the old one after the new stream is created.
34144 * libio/freopen64.c (freopen64): Likewise.
34145 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34146 * libio/fileops.c (_IO_new_file_close_it): Handle new
34147 _IO_FLAGS2_NOCLOSE flag.
34148 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34149 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34150 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34151 _IO_FLAGS2_NOCLOSE flag.
34152 * include/unistd.h: Add hidden_proto for dup3.
34153 Define __have_dup3.
34154 * io/dup3.c: Define hidden symbol.
34155 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34156
bd25564e
UD
34157 [BZ #7101]
34158 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34159 when an incomplete long option is used.
34160 * posix/tst-getopt_long1.c: New file.
34161 * posix/Makefile (tests): Add tst-getopt_long1.
34162
c84cfef4
UD
34163 [BZ #10138]
34164 * scripts/config.guess: Update from autoconf-2.68.
34165 * scripts/config.sub: Likewise.
34166
3b85df27
UD
34167 [BZ #10157]
34168 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34169 tests into ...
34170 (has_cpuclock): ...this. New function.
34171 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34172 macro here based on has_cpuclock code.
34173
15a856b1
UD
34174 [BZ #10149]
34175 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34176 First byte (not low byte) is now always NUL.
34177 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34178
05f399e6
UD
34179 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34180 Use non-cancelable interfaces.
34181
10a52685 34182 [BZ #9809]
94ecc67d
UD
34183 * locale/iso-639.def: Add entry for Sorani.
34184
f8a3b5bf
UD
34185 [BZ #11901]
34186 * include/stdlib.h: Move include protection to the right place.
34187 Define abort_msg_s. Declare __abort_msg with it.
34188 * stdlib/abort.c (__abort_msg): Adjust type.
34189 * assert/assert.c (__assert_fail_base): New function. Majority
34190 of code from __assert_fail. Allocate memory for __abort_msg with
34191 mmap.
34192 (__assert_fail): Now call __assert_fail_base.
34193 * assert/assert-perr.c: Remove bulk of implementation. Use
34194 __assert_fail_base.
34195 * include/assert.hL Declare __assert_fail_base.
34196 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34197 mmap.
34198 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34199
1af4e298
UD
342002011-05-14 Ulrich Drepper <drepper@gmail.com>
34201
f8a3b5bf 34202 [BZ #11952]
d26dfc60
MG
34203 [BZ #12453]
34204 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34205 until all modules are registered in the DTV.
34206 * elf/Makefile: Add rules to build and run tst-tls19.
34207 * elf/tst-tls19.c: New file.
34208 * elf/tst-tls19mod1.c: New file.
34209 * elf/tst-tls19mod2.c: New file.
34210 * elf/tst-tls19mod3.c: New file.
34211 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34212
2fc54d6f
UD
34213 [BZ #12083]
34214 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34215 correctly.
34216
98d76b46
UD
34217 [BZ #12601]
34218 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34219 two-byte sequence errors.
34220 * iconvdata/Makefile (tests): Add bug-iconv8.
34221 * iconvdata/bug-iconv8.c: New file.
34222
da3c19ef
UD
34223 [BZ #12626]
34224 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34225 buf2 definition.
34226
ca408c15
UD
34227 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34228
d6f67f7d
UD
34229 [BZ #12432]
34230 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34231 (dummy_getcfa): New function.
34232 (init): Get _Unwind_GetCFA address, use dummy if not found.
34233 (backtrace_helper): In recursion check, also check whether CFA changes.
34234 (__backtrace): Completely initialize arg.
34235
1af4e298 34236 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
34237 storing incomplete byte sequence in state object. Avoid testing for
34238 guaranteed too small input if we know there is enough data available.
1af4e298 34239
da62f81b
AS
342402011-05-11 Andreas Schwab <schwab@redhat.com>
34241
34242 * Makeconfig (+link-pie): Indent.
34243 * Rules (binaries-pie): Define if $(have-fpie) and
34244 $(build-shared).
34245 (binaries-shared): Also filter out $(binaries-pie).
34246 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34247 * nscd/Makefile (others-pie): Add nscd.
34248 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34249 ($(objpfx)nscd): Remove command override.
34250 * login/Makefile (others-pie): Add pt_chown.
34251 ($(objpfx)pt_chown): Remove command override.
34252 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34253 remove command overrides.
34254
fcabc0f8
UD
342552011-05-13 Ulrich Drepper <drepper@gmail.com>
34256
20030ae6
UD
34257 * libio/tst_putwc.c: Fix error messages.
34258
fcabc0f8
UD
34259 [BZ #12724]
34260 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34261 currently writing and seek to current position when not.
34262 * libio/Makefile (tests): Add bug-fclose1.
34263 * libio/bug-fclose1.c: New file.
34264
320a5dc0
PB
342652011-05-12 Ulrich Drepper <drepper@gmail.com>
34266
34267 [BZ #12511]
34268 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34269 don't set DF_1_NODELETE here.
34270 (do_lookup_x): When entering new entry test for copy relocation
34271 and if necessary set DF_1_NODELETE flag.
34272 * elf/tst-unique4.cc: New file.
34273 * elf/tst-unique4.h: New file.
34274 * elf/tst-unique4lib.cc: New file.
34275 * elf/Makefile: Add rules to build and run tst-unique4.
34276 Patch by Piotr Bury <pbury@goahead.com>.
34277
22836f52
UD
342782011-05-11 Ulrich Drepper <drepper@gmail.com>
34279
f574184a
UD
34280 [BZ #12052]
34281 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34282
e1fb097f
UD
34283 [BZ #12625]
34284 * misc/mntent_r.c (addmntent): Flush the stream after the output
34285
22836f52
UD
34286 [BZ #12393]
34287 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34288 (is_trusted_path_normalize): Skip initial colon. Append slash
34289 to empty buffer. Duplicate is_trusted_path code but allow
34290 constructed patch to be prefix.
34291 (is_dst): Allow $ORIGIN followed by /.
34292 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34293 Correct testing of result of is_trusted_path_normalize
34294 (decompose_rpath): Fix warning.
34295
7b3b0b2a
UD
342962011-05-10 Ulrich Drepper <drepper@gmail.com>
34297
34298 [BZ #11257]
34299 * grp/initgroups.c (internal_getgrouplist): When we found the service
34300 list through the initgroups entry in nsswitch.conf do not always
34301 continue on a successful lookup. Don't always use the
eac80ce2 34302 __nss_group_database value if it is set.
7b3b0b2a
UD
34303 * nss/nsswitch.conf (initgroups): Change action for successful db
34304 lookup to continue for compatibility.
34305
2a81eaa5
UD
343062011-05-09 Ulrich Drepper <drepper@gmail.com>
34307
be97a69e
UD
34308 [BZ #11532]
34309 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34310 and CP774 modules.
34311 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34312 and CP774 modules.
34313 * iconvdata/tst-tables.sh: Likewise.
34314 * iconvdata/cp770.c: New file.
34315 * iconvdata/cp771.c: New file.
34316 * iconvdata/cp772.c: New file.
34317 * iconvdata/cp773.c: New file.
34318 * iconvdata/cp774.c: New file.
34319 * iconvdata/testdata/CP770: New file.
34320 * iconvdata/testdata/CP770..UTF8: New file.
34321 * iconvdata/testdata/CP771: New file.
34322 * iconvdata/testdata/CP771..UTF8: New file.
34323 * iconvdata/testdata/CP772: New file.
34324 * iconvdata/testdata/CP772..UTF8: New file.
34325 * iconvdata/testdata/CP773: New file.
34326 * iconvdata/testdata/CP773..UTF8: New file.
34327 * iconvdata/testdata/CP774: New file.
34328 * iconvdata/testdata/CP774..UTF8: New file.
34329
34330 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34331 END CHARMAP line.
34332 * iconvdata/gen-8bit-gap.sh: Likewise.
34333 * iconvdata/gen-8bit.sh: Likewise.
34334
c1e9e399
UD
34335 * locale/iso-639.def: Add ary entry.
34336
24c55fb3 34337 [BZ #11258]
96b4b1b0
UD
34338 * locale/C-translit.h.in: Add U20A1 transliteration.
34339
bdc2f971
KB
34340 [BZ #12178]
34341 * locale/iso-639.def: Add wae entry.
34342 Patch by Kevin Bortis <bortis@translate-wae.ch>.
34343
2952b117
UD
34344 [BZ #12545]
34345 * locale/programs/localedef.c (construct_output_path): Use ssize_t
34346 for n.
34347
2a81eaa5
UD
34348 [BZ #12711]
34349 * locale/C-translit.h.in: Add entry for U20B9.
34350 Patch by pravin.d.s@gmail.com.
34351
28377d1b
UD
343522011-05-08 Ulrich Drepper <drepper@gmail.com>
34353
7fb90fb8
UD
34354 [BZ #12713]
34355 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34356 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
34357 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34358 in rtld. Use *stat64.
7fb90fb8 34359 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 34360 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 34361 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
34362 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34363 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34364 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34365 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34366 __fstatat64 macros.
7fb90fb8
UD
34367 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34368 * dirent/rewinddir.c: Add libc_hidden_def.
34369 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 34370 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 34371
28377d1b
UD
34372 * include/dirent.h (__alloc_dir): Add flags parameter.
34373 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34374 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34375 __alloc_dir.
34376 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34377 from fdopendir if O_CLOEXEC is already set.
34378
66bdbaa4
AM
343792011-03-15 Alan Modra <amodra@gmail.com>
34380
34381 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34382 l_tls_firstbyte_offset non-zero. Save padding offset in
34383 l_tls_firstbyte_offset for later use.
34384 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34385 freeing static tls block.
34386
95721191
JN
343872011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34388
34389 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34390 where #ifdef was intended. The intent is to prevent ARG_MAX from
34391 being defined by the kernel headers.
34392
f87dfb1f
UD
343932011-05-07 Ulrich Drepper <drepper@gmail.com>
34394
34395 [BZ #12734]
34396 * resolv/resolv.h: Define RES_NOTLDQUERY.
34397 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34398 no-tld-query and set RES_NOTLDQUERY.
34399 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34400 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34401 modern BIND to search name as TLD unless forbidden.
34402
47c3cd7a
UD
344032011-05-07 Petr Baudis <pasky@suse.cz>
34404 Ulrich Drepper <drepper@gmail.com>
34405
34406 [BZ #12393]
34407 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34408 (is_trusted_path): ...to here.
c1e9ea35 34409 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 34410 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 34411 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 34412
8a35c912
PP
344132011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34414
34415 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34416 __BEGIN/__END_DECLS.
34417
acd41f47
UD
344182011-05-06 Ulrich Drepper <drepper@gmail.com>
34419
34420 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34421 NSS_STATUS_NOTFOUND if no record was found.
34422
597df647
AS
344232011-05-05 Andreas Schwab <schwab@redhat.com>
34424
34425 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34426 (headers-not-in-tirpc): Remove rpc/netdb.h
34427 * resolv/netdb.h: Revert last change.
34428
b9af1301
PP
344292011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34430
34431 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34432 circular dependency between libgcc.a and libc.a.
34433
4e34d5f5
AS
344342011-05-05 Andreas Schwab <schwab@redhat.com>
34435
34436 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34437 * nis/Makefile: Don't install rpcsvc/*.
34438 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34439 instead of <rpc/types.h>.
34440 (MAXHOSTNAMELEN): Define.
34441
00ee369c
AS
344422011-05-03 Andreas Schwab <schwab@redhat.com>
34443
34444 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34445
0b592a30
MB
344462011-04-28 Maciej Babinski <mbabinski@google.com>
34447
34448 [BZ #12714]
34449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34450 gethostbyname4_r when IPv6 results are possible.
34451
6e04cbbe
UD
344522011-05-02 Ulrich Drepper <drepper@gmail.com>
34453
34454 [BZ #12723]
34455 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34456 _PC_PIPE_BUF handling.
34457
e4ecafe0
BH
344582011-04-30 Bruno Haible <bruno@clisp.org>
34459
34460 [BZ #12717]
34461 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34462 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34463 to 'int'.
34464 * inet/getnameinfo.c (getnameinfo): Likewise.
34465
125ee683
UD
344662011-04-29 Ulrich Drepper <drepper@gmail.com>
34467
34468 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34469 to groups setting in database lookup.
34470 * nss/nsswitch.conf: Add initgroups entry.
34471
b722481a
EB
344722011-04-22 Ulrich Drepper <drepper@gmail.com>
34473
34474 [BZ #12685]
34475 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34476 mode string.
34477 Patch by Eric Blake <eblake@redhat.com>.
34478
4df46dbd
L
344792011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34480
34481 * sunrpc/Makefile (need-export-routines): Add svc_run.
34482 (routines): Remove svc_run.
34483 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34484 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34485 * sunrpc/svc_run.c (svc_run): Likewise.
34486 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34487
e84142d2
UD
344882011-04-21 Ulrich Drepper <drepper@gmail.com>
34489
34490 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34491 problem in reallocation in last patch.
34492
877175d8
UD
344932011-04-20 Ulrich Drepper <drepper@gmail.com>
34494
34495 * sunrpc/Makefile: Move inclusion of Rules.
34496
ab8eed78
UD
344972011-04-19 Ulrich Drepper <drepper@gmail.com>
34498
34499 * nss/nss_files/files-initgroups.c: New file.
34500 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34501 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34502 _nss_files_initgroups_dyn.
34503
e3d8f584
RS
345042011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34505
34506 * elf/elf.h (R_ARM_IRELATIVE): Define.
34507
af190f45
UD
345082011-04-19 Ulrich Drepper <drepper@gmail.com>
34509
34510 * po/ru.po: Update from translation team.
34511
53cf59ef
UD
345122011-04-17 Ulrich Drepper <drepper@gmail.com>
34513
34514 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34515 dependencies.
34516
4c559bcd
MF
345172011-02-06 Mike Frysinger <vapier@gentoo.org>
34518
34519 [BZ #12653]
34520 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34521 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34522 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34523 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34524 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34525
4420675c
AS
345262011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34527
34528 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34529 differing bytes.
34530 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34531 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34532 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34533
75ea32ab
UD
345342011-04-17 Ulrich Drepper <drepper@gmail.com>
34535
34536 [BZ #12420]
34537 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34538 storing it.
34539 * stdlib/bug-getcontext.c: New file.
34540 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34541
27390476
AK
345422011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34543
34544 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34545 instructions into .machine "z9-109".
34546 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34547 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34548
10442705
AK
345492011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34550
34551 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34552 between environment variables and auxiliary vector.
34553
7b57bfe5
UD
345542011-04-16 Ulrich Drepper <drepper@gmail.com>
34555
34556 * Makefile: Add rules to build linkobj/libc.so.
34557 * include/libc-symbols.h: Define libc_hidden_nolink.
34558 * include/rpc/auth.h: Mark functions which are to be hidden.
34559 * include/rpc/auth_des.h: Likewise.
34560 * include/rpc/auth_unix.h: Likewise.
34561 * include/rpc/clnt.h: Likewise.
34562 * include/rpc/des_crypt.h: Likewise.
34563 * include/rpc/key_prot.h: Likewise.
34564 * include/rpc/pmap_clnt.h: Likewise.
34565 * include/rpc/pmap_prot.h: Likewise.
34566 * include/rpc/pmap_rmt.h: Likewise.
34567 * include/rpc/rpc_msg.h: Likewise.
34568 * include/rpc/svc.h: Likewise.
34569 * include/rpc/svc_auth.h: Likewise.
34570 * include/rpc/xdr.h: Likewise.
34571 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34572 * nss/Makefile: Likewise.
34573 * sunrpc/Makefile: Don't install headers. Build library with normal
34574 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34575 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34576 for the compat linking library. Remove use of INTDEF/INTUSE.
34577 * sunrpc/auth_none.c: Likewise.
34578 * sunrpc/auth_unix.c: Likewise.
34579 * sunrpc/authdes_prot.c: Likewise.
34580 * sunrpc/authuxprot.c: Likewise.
34581 * sunrpc/clnt_gen.c: Likewise.
34582 * sunrpc/clnt_perr.c: Likewise.
34583 * sunrpc/clnt_raw.c: Likewise.
34584 * sunrpc/clnt_simp.c: Likewise.
34585 * sunrpc/clnt_tcp.c: Likewise.
34586 * sunrpc/clnt_udp.c: Likewise.
34587 * sunrpc/clnt_unix.c: Likewise.
34588 * sunrpc/des_crypt.c: Likewise.
34589 * sunrpc/des_soft.c: Likewise.
34590 * sunrpc/get_myaddr.c: Likewise.
34591 * sunrpc/key_call.c: Likewise.
34592 * sunrpc/key_prot.c: Likewise.
34593 * sunrpc/netname.c: Likewise.
34594 * sunrpc/pm_getmaps.c: Likewise.
34595 * sunrpc/pm_getport.c: Likewise.
34596 * sunrpc/pmap_clnt.c: Likewise.
34597 * sunrpc/pmap_prot.c: Likewise.
34598 * sunrpc/pmap_prot2.c: Likewise.
34599 * sunrpc/pmap_rmt.c: Likewise.
34600 * sunrpc/publickey.c: Likewise.
34601 * sunrpc/rpc_cmsg.c: Likewise.
34602 * sunrpc/rpc_common.c: Likewise.
34603 * sunrpc/rpc_dtable.c: Likewise.
34604 * sunrpc/rpc_prot.c: Likewise.
34605 * sunrpc/rpc_thread.c: Likewise.
34606 * sunrpc/rtime.c: Likewise.
34607 * sunrpc/svc.c: Likewise.
34608 * sunrpc/svc_auth.c: Likewise.
34609 * sunrpc/svc_authux.c: Likewise.
34610 * sunrpc/svc_raw.c: Likewise.
34611 * sunrpc/svc_run.c: Likewise.
34612 * sunrpc/svc_simple.c: Likewise.
34613 * sunrpc/svc_tcp.c: Likewise.
34614 * sunrpc/svc_udp.c: Likewise.
34615 * sunrpc/svc_unix.c: Likewise.
34616 * sunrpc/svcauth_des.c: Likewise.
34617 * sunrpc/xcrypt.c: Likewise.
34618 * sunrpc/xdr.c: Likewise.
34619 * sunrpc/xdr_array.c: Likewise.
34620 * sunrpc/xdr_float.c: Likewise.
34621 * sunrpc/xdr_intXX_t.c: Likewise.
34622 * sunrpc/xdr_mem.c: Likewise.
34623 * sunrpc/xdr_rec.c: Likewise.
34624 * sunrpc/xdr_ref.c: Likewise.
34625 * sunrpc/xdr_sizeof.c: Likewise.
34626 * sunrpc/xdr_stdio.c: Likewise.
34627
e6c61494
UD
346282011-04-10 Ulrich Drepper <drepper@gmail.com>
34629
34630 [BZ #12650]
34631 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34632 * sysdeps/ia64/dl-tls.h: Likewise.
34633 * sysdeps/powerpc/dl-tls.h: Likewise.
34634 * sysdeps/s390/dl-tls.h: Likewise.
34635 * sysdeps/sh/dl-tls.h: Likewise.
34636 * sysdeps/sparc/dl-tls.h: Likewise.
34637 * sysdeps/x86_64/dl-tls.h: Likewise.
34638 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34639
34fe483e
AS
346402011-03-14 Andreas Schwab <schwab@redhat.com>
34641
34642 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34643 rpath element also skip the following colon.
34644 (expand_dynamic_string_token): Add is_path parameter and pass
34645 down to DL_DST_REQUIRED and _dl_dst_substitute.
34646 (decompose_rpath): Call expand_dynamic_string_token with
34647 non-zero is_path. Ignore empty rpaths.
34648 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34649 with zero is_path.
34650
f12a32e6
AS
346512011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34652
34653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34654 Make cancelable.
34655
38a7d692
UD
346562011-04-09 Ulrich Drepper <drepper@gmail.com>
34657
34658 [BZ #12655]
34659 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34660 Patch by Filipe David Manana <fdmanana@apache.org>.
34661
e451d22b
AS
346622011-04-07 Andreas Schwab <schwab@redhat.com>
34663
34664 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34665 Maintain aligned stack.
34666 (CHECK_RSP): Remove unused macro.
34667
dedc7c7b
UD
346682011-04-03 Ulrich Drepper <drepper@gmail.com>
34669
34670 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34671 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34672
94521213
UD
346732011-04-02 Ulrich Drepper <drepper@gmail.com>
34674
34675 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34676
8cb700c0 34677 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 34678
0354e355
L
346792011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34680
34681 [BZ #12518]
34682 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34683 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34684 * sysdeps/x86_64/memmove.c: New file.
34685 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34686 (memcpy): Renamed to ...
34687 (__new_memcpy): This.
34688 (memcpy): Provide GLIBC_2_14 memcpy.
34689 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34690 (memcpy): Provide GLIBC_2_2_5 memcpy.
34691
8593482f
UD
346922011-04-01 Ulrich Drepper <drepper@gmail.com>
34693
34694 [BZ #12631]
34695 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34696
81a5726b
AS
346972011-03-30 Andreas Schwab <schwab@redhat.com>
34698
34699 * misc/syncfs.c: New file.
34700 * misc/Makefile (routines): Add syncfs.
34701 * posix/unistd.h: Declare syncfs.
34702 * sysdeps/unix/syscalls.list: Add syncfs.
34703
00e5419f
AS
347042011-04-01 Andreas Schwab <schwab@redhat.com>
34705
34706 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34707 open_by_handle_at.
34708 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34709 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34710 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34711 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34712 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34713 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34714 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34715
748876bf
UD
347162011-04-01 Ulrich Drepper <drepper@gmail.com>
34717
658e451d
UD
34718 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34719 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34720 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34721 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34722 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34723 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34724 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34725
748876bf
UD
34726 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34727 sync_file_range.c with -fexceptions.
34728 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34729 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34730 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34731 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34732 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34733 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34734 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
34735 sync_file_range as cancellation point
34736 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
34737 now a wrapper around __call_sync_file_range with cancellation handling.
34738 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34739 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
34740 function name to __call_sync_file_range.
34741 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34742 Add call_sync_file_range.
748876bf 34743
6e63d5e1
AS
347442011-04-01 Andreas Schwab <schwab@redhat.com>
34745
34746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 34747 bits/timex.h.
6e63d5e1 34748
46998f74
UD
347492011-04-01 Ulrich Drepper <drepper@gmail.com>
34750
4c1423ed
UD
34751 * iconv/iconv.h: Fix typo in comment.
34752 * io/fcntl.h: Likewise.
34753 * libio/stdio.h: Likewise.
34754 * posix/spawn.h: Likewise.
34755 * posix/unistd.h: Likewise.
34756 * stdlib/stdlib.h: Likewise.
34757 * time/time.h: Likewise.
34758 * wcsmbs/wchar.h: Likewise.
34759
158648c0
UD
34760 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34761 open_by_handle): Add.
34762 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34763 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
34764 Augment a few comments.
34765 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34766 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34767 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34768 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34769 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34770 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34771 open_by_handle.
34772
46998f74
UD
34773 * io/fcntl.h (AT_EMPTY_PATH): Define.
34774
83fe108b
UD
347752011-03-30 Ulrich Drepper <drepper@gmail.com>
34776
34777 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34778 * sysdeps/unix/sysv/linux/bits/time.h: New file.
34779 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34780 to...
34781 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
34782 * Versions.def: Add GLIBC_2.14.
34783 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34784 Export.
83fe108b 34785
bb242059
UD
347862011-03-22 Ulrich Drepper <drepper@gmail.com>
34787
34788 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34789 round counter.
34790 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34791
c97a1282
L
347922011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34793
34794 [BZ #12597]
34795 * string/test-strncmp.c (do_page_test): New function.
34796 (check2): Likewise.
34797 (test_main): Call check2.
34798 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34799
2a115601
UD
348002011-03-20 Ulrich Drepper <drepper@gmail.com>
34801
34802 [BZ #12587]
34803 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34804 Handle cache information in CPU leaf 4.
34805 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34806
8126d904
UD
348072011-03-18 Ulrich Drepper <drepper@gmail.com>
34808
042c49c6 34809 [BZ #12583]
8126d904
UD
34810 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34811 character representation.
34812 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34813
ccfe366e
RA
348142011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34815
34816 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34817 END(__isnan) to END(__isnanf) to match function entry point/label
34818 EALIGN(__isnanf,...).
34819
c6e13027
JJ
348202011-03-10 Jakub Jelinek <jakub@redhat.com>
34821
34822 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34823
33f85a3f
UD
348242011-03-10 Ulrich Drepper <drepper@gmail.com>
34825
028478fa
UD
34826 [BZ #12510]
34827 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34828 copy from the symbol referenced in the relocation to initialize the
34829 used variable.
34830 Patch by Piotr Bury <pbury@goahead.com>.
34831 * elf/Makefile: Add rules to build and tst-unique3.
34832 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34833 * elf/tst-unique3.cc: New file.
34834 * elf/tst-unique3.h: New file.
34835 * elf/tst-unique3lib.cc: New file.
34836 * elf/tst-unique3lib2.cc: New file.
34837
33f85a3f
UD
34838 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34839
03592fc7
MF
348402011-03-10 Mike Frysinger <vapier@gentoo.org>
34841
34842 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34843 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34844 to _start.
03592fc7 34845
6a5ee102
UD
348462011-03-06 Ulrich Drepper <drepper@gmail.com>
34847
34848 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34849 to-be-loaded object along a path to loader is ld.so.
34850
7e4ba49c
HJ
348512011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34852 Ulrich Drepper <drepper@gmail.com>
34853
34854 * sysdeps/x86_64/memset.S: After aligning destination, code
34855 branches to different locations depending on the value of
34856 misalignment, when multiarch is enabled. Fix this.
34857
348582011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34859
34860 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34861 Set _x86_64_preferred_memory_instruction for AMD processsors.
34862 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34863 Set bit_Prefer_SSE_for_memop for AMD processors.
34864
13a804de
UD
348652011-03-04 Ulrich Drepper <drepper@gmail.com>
34866
34867 * libio/fmemopen.c (fmemopen): Optimize a bit.
34868
9d25c392
AS
348692011-03-03 Andreas Schwab <schwab@redhat.com>
34870
34871 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34872
a5543c6a
RM
348732011-03-03 Roland McGrath <roland@redhat.com>
34874
34875 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34876
012d35f7
DM
348772011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34878
7e4ba49c 34879 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
34880 __bzero_ultra1 instead of __memset_ultra1.
34881
4bff6e01
AS
348822011-02-23 Andreas Schwab <schwab@redhat.com>
34883 Ulrich Drepper <drepper@gmail.com>
34884
34885 [BZ #12509]
34886 * include/link.h (struct link_map): Add l_orig_initfini.
34887 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34888 returning unsuccessfully.
34889 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34890 close of a file loaded at startup, restore the original l_initfini
34891 list.
34892 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34893 list, store the pointer.
34894 * elf/Makefile ($(objpfx)noload-mem): New rule.
34895 (noload-ENV): Define.
34896 (tests): Add $(objpfx)noload-mem.
34897 * elf/noload.c: Include <memcheck.h>.
34898 (main): Call mtrace. Close all opened handles.
34899
f2092faf
AS
349002011-02-17 Andreas Schwab <schwab@redhat.com>
34901
34902 [BZ #12454]
34903 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34904 dependencies are missing.
34905
6c8a2e88
ST
349062011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34907
f2092faf 34908 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
34909 Hurd needs munmap.
34910 * sysdeps/mach/hurd/ifreq.h: New file.
34911
84a42118
PB
349122011-01-27 Petr Baudis <pasky@suse.cz>
34913 Ulrich Drepper <drepper@gmail.com>
34914
071f805e 34915 [BZ 12445]#
84a42118
PB
34916 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34917 to extend_alloca().
34918 * stdio-common/bug23.c: New file.
34919 * stdio-common/Makefile (tests): Add bug23.
34920
e23fe25b
AS
349212010-09-28 Andreas Schwab <schwab@redhat.com>
34922 Ulrich Drepper <drepper@gmail.com>
34923
34924 [BZ #12489]
34925 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34926 before performing relro protection. At old place add assertion
34927 to make sure nothing changed.
34928
d3f02e10
NS
349292011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34930 Glauber de Oliveira Costa <glommer@gmail.com>
34931
34932 * elf/elf.h: Add new ARM TLS relocs.
34933
d55fd7a5
RA
349342011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34935
34936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34937 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34938 cast from r3.
34939 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34940 'tests' variable.
34941 * sysdeps/wordsize-64/tst-writev.c: New file.
34942
2206397e
RA
349432011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34944
34945 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34946 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34947 insns in _dl_start to prevent a TOC reference before relocs are
34948 resolved.
34949
e9433893
UD
349502011-02-15 Ulrich Drepper <drepper@gmail.com>
34951
34952 [BZ #12469]
34953 * Makeconfig: Remove RANLIB definition.
34954 * Makerules: Don't use RANLIB.
34955 * aclocal.m4: Remove ranlib test.
34956 * configure.in: No need to check for ranlib.
34957 * elf/rtld-Rules: Don't use RANLIB.
34958
f75286c6
ST
349592011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34960
8e31c82d
ST
34961 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34962 protection macro.
34963 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34964 inclusion protection macro.
34965
f75286c6
ST
34966 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34967 SIGRTMIN and SIGRTMAX and print information in that case only when
34968 SIGRTMIN is defined.
34969
c1d0e639
JJ
349702011-02-11 Jakub Jelinek <jakub@redhat.com>
34971
34972 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34973 arginfo fn returning -1.
34974
34975 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34976 and thousands string is zero terminated.
34977
edf9294e
AS
349782011-02-03 Andreas Schwab <schwab@redhat.com>
34979
34980 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34981 sysdeps/unix/sysv/linux/bits/socket.h.
34982
2b7e92df
ST
349832011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34984
edf9294e
AS
34985 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34986 (__CPU_COUNT): Remove old macros.
34987 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34988 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34989 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
34990 (__sched_cpualloc, __sched_cpufree): Add declarations.
34991
a4c7ea7b
UD
349922011-02-05 Ulrich Drepper <drepper@gmail.com>
34993
34994 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34995 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34996 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34997 (readdhstai): Return value of addhstaiX call.
34998 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34999 (addgrbyX): Return value returned by cache_addgr.
35000 (readdgrbyname): Return value returned by addgrbyX.
35001 (readdgrbygid): Likewise.
35002 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35003 (addpwbyX): Return value returned by cache_addpw.
35004 (readdpwbyname): Return value returned by addhstbyX.
35005 (readdpwbyuid): Likewise.
35006 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35007 (addservbyX): Return value returned by cache_addserv.
35008 (readdservbyname): Return value returned by addservbyX:
35009 (readdservbyport): Likewise.
35010 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35011 (addhstbyX): Return value returned by cache_addhst.
35012 (readdhstbyname): Return value returned by addhstbyX.
35013 (readdhstbyaddr): Likewise.
35014 (readdhstbynamev6): Likewise.
35015 (readdhstbyaddrv6): Likewise.
35016 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35017 (readdinitgroups): Return value returned by addinitgroupsX.
35018 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35019 (prune_cache): Keep track of timeout value of re-added entries.
35020 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35021 * nscd/nscd.h: Adjust prototypes of readd* functions.
35022
a0bf67cc
RM
350232011-02-04 Roland McGrath <roland@redhat.com>
35024
35025 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35026 (nis_stats): Likewise.
35027 * nis/nis_modify.c (nis_modify): Likewise.
35028 * nis/nis_remove.c (nis_remove): Likewise.
35029 * nis/nis_add.c (nis_add): Likewise.
35030
35031 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35032
35033 * posix/fnmatch_loop.c: Add some consts.
35034
35035 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35036
435b95eb
L
350372011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35038
35039 [BZ #12460]
35040 * config.make.in (config-cflags-novzeroupper): Define.
35041 * configure.in: Substitute libc_cv_cc_novzeroupper.
35042 * elf/Makefile (AVX-CFLAGS): Define.
35043 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35044 (CFLAGS-tst-auditmod4a.c): Likewise.
35045 (CFLAGS-tst-auditmod4b.c): Likewise.
35046 (CFLAGS-tst-auditmod6b.c): Likewise.
35047 (CFLAGS-tst-auditmod6c.c): Likewise.
35048 (CFLAGS-tst-auditmod7b.c): Likewise.
35049 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35050
8517b15e
UD
350512011-02-02 Ulrich Drepper <drepper@gmail.com>
35052
35053 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35054 function to the callback.
35055 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35056
10a656fe
AS
350572011-02-02 Andreas Schwab <schwab@redhat.com>
35058
35059 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35060 of errno.
35061
968dad0a
UD
350622011-01-19 Ulrich Drepper <drepper@gmail.com>
35063
9f94d2ea 35064 [BZ #11724]
968dad0a
UD
35065 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35066 of constructors.
35067 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35068 of destructors.
35069 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35070
35071 [BZ #11724]
35072 * elf/Makefile: Add rules to build and run new test.
35073 * elf/tst-initorder.c: New file.
35074 * elf/tst-initorder.exp: New file.
35075 * elf/tst-initordera1.c: New file.
35076 * elf/tst-initordera2.c: New file.
35077 * elf/tst-initordera3.c: New file.
35078 * elf/tst-initordera4.c: New file.
35079 * elf/tst-initorderb1.c: New file.
35080 * elf/tst-initorderb2.c: New file.
35081 * elf/tst-order-a1.c: New file.
35082 * elf/tst-order-a2.c: New file.
35083 * elf/tst-order-a3.c: New file.
35084 * elf/tst-order-a4.c: New file.
35085 * elf/tst-order-b1.c: New file.
35086 * elf/tst-order-b2.c: New file.
35087 * elf/tst-order-main.c: New file.
35088 New test case by George Gensure <werkt0@gmail.com>.
35089
86e92359
UD
350902010-10-01 Andreas Schwab <schwab@redhat.com>
35091
35092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35093 decoding ACE if AI_CANONIDN.
35094
5d5732b0
UD
350952011-01-18 Ulrich Drepper <drepper@gmail.com>
35096
35097 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35098
a77e8cbc
UD
350992011-01-17 Ulrich Drepper <drepper@gmail.com>
35100
6392473f
UD
35101 * version.h (RELEASE): Bump for 2.13 release.
35102 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35103
620a0529
UD
35104 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35105
18ba70a5
UD
35106 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35107 MADV_NOHUGEPAGE.
32465c3e
UD
35108 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35109 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35110 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35111 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35112 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35113 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35114
c0dafcf1
UD
35115 * posix/getconf.c: Update copyright year.
35116 * catgets/gencat.c: Likewise.
35117 * csu/version.c: Likewise.
35118 * debug/catchsegv.sh: Likewise.
35119 * debug/xtrace.sh: Likewise.
35120 * elf/ldconfig.c: Likewise.
35121 * elf/ldd.bash.in: Likewise.
35122 * elf/sprof.c (print_version): Likewise.
35123 * iconv/iconv_prog.c: Likewise.
35124 * iconv/iconvconfig.c: Likewise.
35125 * locale/programs/locale.c: Likewise.
35126 * locale/programs/localedef.c: Likewise.
35127 * malloc/memusage.sh: Likewise.
35128 * malloc/mtrace.pl: Likewise.
35129 * nscd/nscd.c (print_version): Likewise.
35130 * nss/getent.c: Likewise.
35131
a77e8cbc
UD
35132 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35133 PF_CAIF, and PF_ALG.
35134 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35135
77e8bddf
AS
351362011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35137
1f20b93a
AS
35138 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35139 (modules-names): Use them.
35140 (ifunc-test-modules, ifunc-pie-tests): Define.
35141 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35142 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35143 (test-extras): Likewise.
35144 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35145 $(compile-command.c).
35146 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35147 (all-built-dso): Define.
35148 (check-textrel.out, check-execstack.out): Depend on it.
35149
77e8bddf
AS
35150 * configure.in: Don't override --enable-multi-arch.
35151
bc425b33
UD
351522011-01-15 Ulrich Drepper <drepper@gmail.com>
35153
35154 [BZ #6812]
35155 * nscd/hstcache.c (tryagain): Define.
35156 (cache_addhst): Return tryagain not notfound for temporary errors.
35157 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35158 failed.
35159
794c3ad3
UD
351602011-01-14 Ulrich Drepper <drepper@gmail.com>
35161
70181fdd
UD
35162 [BZ #10563]
35163 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35164 to make the syscall.
35165 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35166
794c3ad3
UD
35167 [BZ #12378]
35168 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35169 and fall back to matching as normal character if the string ends before
35170 the matching ']' is found. This is what POSIX requires.
35171 * posix/testfnm.c: Adjust test result.
35172 * posix/globtest.sh: Adjust test result. Add new test.
35173 * posix/tst-fnmatch.input: Likewise.
35174 * posix/tst-fnmatch2.c: Add new test.
35175
68dc9497
AS
351762010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35177
35178 * elf/Makefile (check-execstack): Revert last change. Depend on
35179 check-execstack.h.
35180 (check-execstack.h): New target.
35181 (generated): Add check-execstack.h.
35182 * elf/check-execstack.c: Include "check-execstack.h".
35183 (main): Revert last change.
35184 (handle_file): Return zero if GNU_STACK is absent and
35185 DEFAULT_STACK_PERMS doesn't include PF_X.
35186
451f001b
UD
351872011-01-13 Ulrich Drepper <drepper@gmail.com>
35188
cfa28e56
UD
35189 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35190 in child fails because the descriptor is already closed.
8cf8ce17
UD
35191 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35192 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35193 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 35194
1086d70d
UD
35195 [BZ #12397]
35196 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35197 syscall.
35198
451f001b
UD
35199 [BZ #10484]
35200 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35201 temporary buffer used to handle multi lookups locally.
a85b5cb4 35202 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 35203
08769175
UD
352042011-01-12 Ulrich Drepper <drepper@gmail.com>
35205
35206 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35207 loader is ld.so.
35208
5e49c52e
UD
352092011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35210
35211 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35212 alignment for SSE2.
35213
60522a5f
UD
352142011-01-12 Ulrich Drepper <drepper@gmail.com>
35215
35216 [BZ #12394]
35217 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35218 characters. When rounding increased number of integer digits recompute
35219 number of groups.
35220 * stdio-common/tst-grouping.c: New file.
35221 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35222
f257bbd7
UD
352232011-01-09 Ulrich Drepper <drepper@gmail.com>
35224
35225 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35226 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35227
35228 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35229 void.
35230 * bits/select.h: Likewise.
35231
fa9c15cb
UD
352322011-01-08 Ulrich Drepper <drepper@gmail.com>
35233
35234 * po/ja.po: Update from translation team.
35235
16c2895f
DM
352362011-01-04 David S. Miller <davem@sunset.davemloft.net>
35237
35238 [BZ #11155]
35239 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35240 implementation just like for lxstat, fxstatat, et al.
35241
2543fef2
JM
352422010-12-27 Jim Meyering <meyering@redhat.com>
35243
35244 [BZ #12348]
35245 * posix/regexec.c (build_trtable): Return failure indication upon
35246 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35247
98727dbe
UD
352482010-12-25 Ulrich Drepper <drepper@gmail.com>
35249
5bd6dc5c
UD
35250 [BZ #12201]
35251 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35252 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35253 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35254 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35255
97983464
UD
35256 [BZ #12207]
35257 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35258
98727dbe
UD
35259 [BZ #12204]
35260 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35261 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35262
4a531bb0
L
352632010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35264
35265 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35266 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35267 script has SORT_BY_INIT_PRIORITY.
35268 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35269 NO_CTORS_DTORS_SECTIONS is defined.
35270 * elf/soinit.c: Likewise.
35271 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35272 NO_CTORS_DTORS_SECTIONS is defined.
35273 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35274 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35275 * sysdeps/sh/init-first.c: Likewise.
35276 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35277
07eb4b71
UD
352782010-12-24 Ulrich Drepper <drepper@gmail.com>
35279
35280 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35281 always use the slow path.
35282
30950a5f
RA
352832010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35284
35285 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35286 similar rule which adds the sysdep directories to the header search in
35287 order to pick up the correct platform stackinfo.h.
35288 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35289 perform test if it is, otherwise return successfully without testing.
35290 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35291 DEFAULT_STACK_PERMS define in stackinfo.h.
35292 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35293 defined in stackinfo.h.
35294 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35295 DEFAULT_STACK_PERMS defined in stackinfo.h.
35296 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35297 * sysdeps/ia64/stackinfo.h: Likewise.
35298 * sysdeps/s390/stackinfo.h: Likewise.
35299 * sysdeps/sh/stackinfo.h: Likewise.
35300 * sysdeps/sparc/stackinfo.h: Likewise.
35301 * sysdeps/x86_64/stackinfo.h: Likewise.
35302 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35303 PF_X for powerpc64. Retain PF_X for powerpc32.
35304
db753e2c
UD
353052010-12-19 Ulrich Drepper <drepper@gmail.com>
35306
14b697f7
UD
35307 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35308 accurately.
db753e2c
UD
35309 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35310 GETDENTS_64BIT_ALIGNED.
35311
28300719
UD
353122010-12-14 Ulrich Drepper <dreper@gmail.com>
35313
14b697f7 35314 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 35315
4f197237
AS
353162010-12-10 Andreas Schwab <schwab@redhat.com>
35317
dbb0472f
AS
35318 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35319 _GNU_SOURCE.
35320
4f197237
AS
35321 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35322 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35323 Remove __restrict.
35324 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35325 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35326
fb88ac72
UD
353272010-12-09 Ulrich Drepper <drepper@gmail.com>
35328
35329 [BZ #11655]
35330 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35331 are initialized.
35332
42acbb92
JJ
353332010-12-09 Jakub Jelinek <jakub@redhat.com>
35334
35335 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35336
c038d98d
UD
353372010-12-03 Ulrich Drepper <drepper@gmail.com>
35338
35339 * po/it.po: Update from translation team.
35340
3a4a2499
L
353412010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35342
35343 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35344 unused codes.
35345
1e24cf6e
UD
353462010-11-30 Ulrich Drepper <drepper@gmail.com>
35347
35348 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35349
a7690819
AS
353502010-11-24 Andreas Schwab <schwab@redhat.com>
35351
35352 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35353 specially.
35354 (gaih_getanswer_slice): Likewise.
35355
3bf8d1b1
JJ
353562010-10-20 Jakub Jelinek <jakub@redhat.com>
35357
35358 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35359
6db52fbb
PB
353602010-05-31 Petr Baudis <pasky@suse.cz>
35361
35362 [BZ #11149]
35363 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35364 silently even in the chroot mode.
35365
eaca7569
UD
353662010-11-22 Ulrich Drepper <drepper@gmail.com>
35367
35368 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35369 last patch a bit. Pretty printing
35370
3056dcdb
UD
353712010-05-31 Petr Baudis <pasky@suse.cz>
35372
35373 [BZ #10085]
35374 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35375 initialization of skip_initgroups_dyn.
35376
cf7c9078
UD
353772010-11-19 Ulrich Drepper <drepper@gmail.com>
35378
35379 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35380 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35381
a1fb5e3e
UD
353822010-11-16 Ulrich Drepper <drepper@gmail.com>
35383
35384 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35385
3540d66b
AS
353862010-11-11 Andreas Schwab <schwab@redhat.com>
35387
35388 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35389 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35390 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35391 ($(objpfx)tst-fnmatch-mem): New rule.
35392 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35393 * posix/tst-fnmatch.c (main): Call mtrace.
35394
13b69574
L
353952010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35396
35397 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35398 Support Intel processor model 6 and model 0x2c.
35399
da93d214
LM
354002010-11-10 Luis Machado <luisgpm@br.ibm.com>
35401
35402 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35403 signed comparison.
35404
8ca52c6e
L
354052010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35406
35407 [BZ #12205]
35408 * string/test-strncasecmp.c (check_result): New function.
35409 (do_one_test): Use it.
35410 (check1): New function.
35411 (test_main): Use it.
35412 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35413 Support strcasecmp and strncasecmp.
35414
69da074d
UD
354152010-11-08 Ulrich Drepper <drepper@gmail.com>
35416
35417 [BZ #12194]
35418 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35419 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35420
ff02d528
L
354212010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35422
35423 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35424 IFUNC support.
35425 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35426 memset-x86-64.
35427 * sysdeps/x86_64/multiarch/bzero.S: New file.
35428 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35429 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35430 * sysdeps/x86_64/multiarch/memset.S: New file.
35431 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35433 Set bit_Prefer_SSE_for_memop for Intel processors.
35434 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35435 Define.
35436 (index_Prefer_SSE_for_memop): Define.
35437 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35438
344d0b54
LM
354392010-11-04 Luis Machado <luisgpm@br.ibm.com>
35440
35441 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35442 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35443
c0dde15b
UD
354442010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35445
35446 [BZ #12191]
35447 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35448 (__x86_64_raw_data_cache_size_half): Likewise.
35449 (__x86_64_raw_shared_cache_size): Likewise.
35450 (__x86_64_raw_shared_cache_size_half): Likewise.
35451
35452 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35453 (__x86_64_raw_data_cache_size_half): Likewise.
35454 (__x86_64_raw_shared_cache_size): Likewise.
35455 (__x86_64_raw_shared_cache_size_half): Likewise.
35456 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35457 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35458 and __x86_64_raw_shared_cache_size_half. Round
35459 __x86_64_data_cache_size_half, __x86_64_data_cache_size
35460 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35461 to multiple of 256 bytes.
35462
0e516e0e
MS
354632010-11-03 Ulrich Drepper <drepper@gmail.com>
35464
35465 [BZ #12167]
35466 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35467 of inacessible symlinks. Verify result of symlink before returning it.
35468 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35469 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35470
0e012e87
ER
354712010-10-28 Erich Ritz <erichritz@gmail.com>
35472
35473 * math/math.h (isinf): Fix typo in comment.
35474
de0ff7bc
UD
354752010-11-01 Ulrich Drepper <drepper@gmail.com>
35476
35477 * po/da.po: Update from translation team.
35478
fa41c84d
UD
354792010-10-26 Ulrich Drepper <drepper@gmail.com>
35480
35481 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35482 is added to the list.
35483
f0967738
AK
354842010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35485 Ulrich Drepper <drepper@gmail.com>
35486
35487 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35488 the global list here. Move code to...
35489 (_dl_add_to_namespace_list): ...here. New function.
35490 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35491 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35492 * elf/dl-load.c (lose): Don't remove the element from the list.
35493 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35494 (_dl_map_object): Likewise.
35495
354962010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
35497
35498 [BZ #12159]
35499 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35500 into all bytes of SSE register.
35501 Patch by Richard Li <richardpku@gmail.com>.
35502
f0967738 355032010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
35504
35505 [BZ #12140]
35506 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35507 perturbing.
35508
d0b9e94f
MB
355092010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35510
35511 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35512 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35513 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35514 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35516 submachine.
35517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35518
8e9f92e9
AS
355192010-10-22 Andreas Schwab <schwab@redhat.com>
35520
35521 * include/dlfcn.h (__RTLD_SECURE): Define.
35522 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35523 mode & __RTLD_SECURE instead.
35524 (open_path): Rename preloaded parameter to secure.
35525 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35526 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35527 * elf/dl-deps.c (openaux): Likewise.
35528 * elf/rtld.c (struct map_args): Remove is_preloaded.
35529 (map_doit): Don't use it.
35530 (dl_main): Likewise.
35531 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35532 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35533
bc96fbda
AS
355342010-09-09 Andreas Schwab <schwab@redhat.com>
35535
35536 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35537 (sysd-rules-targets): Remove duplicates.
35538 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35539 rtld-%.$o dependency.
35540
22cd1c9b
AS
355412010-10-18 Andreas Schwab <schwab@redhat.com>
35542
35543 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35544 _dl_map_object do it.
35545
18edac48
UD
355462010-10-19 Ulrich Drepper <drepper@gmail.com>
35547
35548 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35549 fast fma builtins, define the macros in the C99 standard.
35550 (FP_FAST_FMAF): Likewise.
35551 (FP_FAST_FMAL): Likewise.
35552 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35553
35554 * bits/mathdef.h: Update copyright year.
35555 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35556
d2050124
MM
355572010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35558
35559 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35560 builtins, define the macros in the C99 standard.
35561 (FP_FAST_FMAF): Likewise.
35562 (FP_FAST_FMAL): Likewise.
35563 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35564 multiply/add.
35565 (FP_FAST_FMAF): Likewise.
35566
475facd1
JJ
355672010-10-15 Jakub Jelinek <jakub@redhat.com>
35568
35569 [BZ #3268]
35570 * math/libm-test.inc (fma_test): Some new testcases.
35571 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35572 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35573 y and infinite z. Do multiplication by C already in long double.
35574 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35575 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35576 y and infinite z. Do bitwise or of inexact bit into u.d.
35577 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35578 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35579 * sysdeps/i386/fpu/s_fma.S: Removed.
35580 * sysdeps/i386/fpu/s_fmal.S: Removed.
35581
7c08a05c
JJ
355822010-10-16 Jakub Jelinek <jakub@redhat.com>
35583
35584 [BZ #3268]
35585 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35586 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35587 computation is not scheduled after fetestexcept. Fix value
35588 of minimum denormal long double.
35589
f3f7372d
JJ
355902010-10-14 Jakub Jelinek <jakub@redhat.com>
35591
35592 [BZ #3268]
35593 * math/libm-test.inc (fma_test): Add some more tests.
35594 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35595 correctly.
35596
14d43591
AS
355972010-10-15 Andreas Schwab <schwab@redhat.com>
35598
35599 * scripts/data/localplt-s390-linux-gnu.data: New file.
35600 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35601
5e908464
JJ
356022010-10-13 Jakub Jelinek <jakub@redhat.com>
35603
35604 [BZ #3268]
35605 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35606 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35607 instead of dbl-64.
35608 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35609 inlines.
35610 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35611 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35612 if one of x and y is very large and the other is subnormal.
35613 * sysdeps/s390/fpu/s_fmaf.c: New file.
35614 * sysdeps/s390/fpu/s_fma.c: New file.
35615 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35616 * sysdeps/powerpc/fpu/s_fma.S: New file.
35617 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35618 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35619 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35620
356212010-10-12 Jakub Jelinek <jakub@redhat.com>
35622
35623 [BZ #3268]
35624 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35625 fma tests.
35626 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35627 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35628 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35629 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35630 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35631 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35632 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35633
b833d51f
UD
356342010-10-12 Ulrich Drepper <drepper@redhat.com>
35635
35636 [BZ #12078]
35637 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35638 * posix/bug-regex31.input: Add test case.
35639
1751705d
UD
356402010-10-11 Ulrich Drepper <drepper@gmail.com>
35641
e9b9cbf5
UD
35642 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35643 * posix/bug-regex31.input: New file.
35644
35645 [BZ #12078]
35646 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35647 (parse_sub_exp): Fix last change, use postorder.
35648
ef06edbe
UD
35649 * posix/bug-regex31.c: New file.
35650 * posix/Makefile: Add rules to build and run bug-regex31.
35651
a129c80d
UD
35652 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35653
35654 [BZ #12078]
35655 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35656
b76b818e
UD
35657 [BZ #12108]
35658 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35659 to have entries in sys_siglist.
35660
1751705d
UD
35661 [BZ #12093]
35662 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35663 be NULL.
35664
9ff8d36f
JJ
356652010-10-07 Jakub Jelinek <jakub@redhat.com>
35666
35667 [BZ #3268]
35668 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35669 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35670 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35671 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35672 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35673 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35674 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35675 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35676 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35677 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35678 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35679 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35680 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35681 * math/ftestexcept.c (fetestexcept): Likewise.
35682 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35683 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35684 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35685 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35686 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35687 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35688 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35689
af325969
UD
356902010-10-11 Ulrich Drepper <drepper@gmail.com>
35691
c579b202 35692 [BZ #12107]
af325969
UD
35693 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35694 newline.
35695
67a67b95
UD
356962010-10-06 Ulrich Drepper <drepper@gmail.com>
35697
35698 * string/bug-strstr1.c: New file.
35699 * string/Makefile: Add rules to build and run bug-strstr1.
35700
5fb308bc
EB
357012010-10-05 Eric Blake <eblake@redhat.com>
35702
35703 [BZ #12092]
35704 * string/str-two-way.h (two_way_long_needle): Always clear memory
35705 when skipping input due to the shift table.
35706
45db99c7
UD
357072010-10-03 Ulrich Drepper <drepper@gmail.com>
35708
3b111893
UD
35709 [BZ #12005]
35710 * malloc/mcheck.c: Handle large requests.
35711
45db99c7
UD
35712 [BZ #12077]
35713 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35714 for strncmp and strncasecmp.
35715 * string/stratcliff.c: Add tests for strcmp and strncmp.
35716 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35717
cf7a1eb8
NI
357182010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35719
35720 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35721 __set_fpscr.
35722
6484ba5e
AJ
357232010-09-30 Andreas Jaeger <aj@suse.de>
35724
35725 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35726 (CGROUP_SUPER_MAGIC): Define.
35727 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35728 Handle btrfs and cgroup file systems.
35729 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35730 Likewise.
35731
91c42559
LM
357322010-09-27 Luis Machado <luisgpm@br.ibm.com>
35733
35734 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35735 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35736
87a97932
AK
357372010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35738
35739 [BZ #12067]
35740 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35741 trying to locate the ELF header.
35742
c21cc9bc
AS
357432010-09-27 Andreas Schwab <schwab@redhat.com>
35744
35745 [BZ #11611]
35746 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35747 Mask out sign-bit copies when constructing f_fsid.
35748
315970f6
PB
357492010-09-24 Petr Baudis <pasky@suse.cz>
35750
35751 * debug/stack_chk_fail_local.c: Add missing licence exception.
35752 * debug/warning-nop.c: Likewise.
35753
1ac7a2c7
JM
357542010-09-15 Joseph Myers <joseph@codesourcery.com>
35755
35756 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35757 implementing getdents64 using getdents syscall, set d_type if
35758 __ASSUME_GETDENTS32_D_TYPE.
35759
56801c50
AS
357602010-09-16 Andreas Schwab <schwab@redhat.com>
35761
35762 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35763 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35764
dda51327
UD
357652010-09-21 Ulrich Drepper <drepper@redhat.com>
35766
35767 [BZ #12037]
35768 * posix/unistd.h: Undo change of feature selection for ftruncate from
35769 2010-01-11.
35770
8ffcee4a
UD
357712010-09-20 Ulrich Drepper <drepper@redhat.com>
35772
a545ecd9 35773 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
35774 detection.
35775
e24f0a8b
AS
357762010-09-20 Andreas Schwab <schwab@redhat.com>
35777
35778 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35779 fanotify_mark.
35780 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35781
7291c56f
AS
357822010-09-14 Andreas Schwab <schwab@redhat.com>
35783
35784 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35785 variables after CHECK_SP call.
35786 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35787
bc5fb037
AS
357882010-09-13 Andreas Schwab <schwab@redhat.com>
35789 Ulrich Drepper <drepper@redhat.com>
35790
35791 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35792 re-relocationg ld.so.
35793 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35794 _dl_init_paths call.
35795 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
35796 here anymore.
35797
e66e7419
UD
357982010-09-14 Ulrich Drepper <drepper@redhat.com>
35799
35800 * resolv/res_init.c (__res_vinit): Count the default server we added.
35801
c044aa75
CLT
358022010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35803 Ulrich Drepper <drepper@redhat.com>
35804
35805 [BZ #11968]
35806 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35807 (____longjmp_chk): Use %ebx for saving value across system call.
35808 Add unwind info.
35809
32cf4069
AS
358102010-09-06 Andreas Schwab <schwab@redhat.com>
35811
35812 * manual/Makefile: Don't mix pattern rules with normal rules.
35813
817328ee
AS
358142010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35815
35816 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35817 operation.
35818 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35819 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35820 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35821 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35822 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35823 Likewise.
35824
29fddf61
UD
358252010-09-04 Ulrich Drepper <drepper@redhat.com>
35826
35827 [BZ #11979]
35828 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35829 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35830
0959ffc9
UD
358312010-09-02 Ulrich Drepper <drepper@redhat.com>
35832
35833 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35834 * sysdeps/x86_64/addmul_1.S: Likewise.
35835 * sysdeps/x86_64/lshift.S: Likewise.
35836 * sysdeps/x86_64/mul_1.S: Likewise.
35837 * sysdeps/x86_64/rshift.S: Likewise.
35838 * sysdeps/x86_64/sub_n.S: Likewise.
35839 * sysdeps/x86_64/submul_1.S: Likewise.
35840
ece29840
ST
358412010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35842
0959ffc9
UD
35843 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35844 Define __sched_param instead of SCHED_* and sched_param when
ece29840 35845 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 35846 * bits/sched.h [__need_schedparam]
ece29840 35847 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
35848 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35849 (__defined_schedparam): Define to 1.
ece29840
ST
35850 (__sched_param): New structure, identical to sched_param.
35851 (__need_schedparam): Undefine.
35852
e53a31fe
MF
358532010-08-31 Mike Frysinger <vapier@gentoo.org>
35854
fdc0c10d
MF
35855 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35856 (epoll_create1): Declare.
35857
e53a31fe
MF
35858 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35859
a726d796
AS
358602010-08-31 Andreas Schwab <schwab@redhat.com>
35861
35862 [BZ #7066]
35863 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35864 shifting retval into place.
35865
2f3e3dc7
UD
358662010-09-01 Ulrich Drepper <drepper@redhat.com>
35867
f2933da9
UD
35868 * nis/rpcsvc/nis.h: Update copyright notice.
35869 * nis/rpcsvc/nis.x: Likewise.
35870 * nis/rpcsvc/nis_callback.h: Likewise.
35871 * nis/rpcsvc/nis_callback.x: Likewise.
35872 * nis/rpcsvc/nis_object.x: Likewise.
35873 * nis/rpcsvc/nis_tags.h: Likewise.
35874 * nis/rpcsvc/yp.h: Likewise.
35875 * nis/rpcsvc/yp.x: Likewise.
35876 * nis/rpcsvc/ypupd.h: Likewise.
35877 * nis/yp_xdr.c: Likewise.
35878 * nis/ypupdate_xdr.c: Likewise.
35879
2f3e3dc7
UD
35880 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35881 mainly the body of pmap_getport. Add parameters to specify timeouts.
35882 (pmap_getport): Use __libc_rpc_getport.
35883 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35884 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35885 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35886
f3dcc2f9
AS
358872010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35888
35889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35890 fanotify_mark.
35891
6d34eb5b
RM
358922010-08-27 Roland McGrath <roland@redhat.com>
35893
35894 * sysdeps/i386/i686/multiarch/Makefile
35895 (CFLAGS-varshift.c): New variable.
35896
9ea3de11
UD
358972010-08-27 Ulrich Drepper <drepper@redhat.com>
35898
c96d23fc
UD
35899 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35900 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35901
9ea3de11
UD
35902 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35903
35904 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35905
623aac7f
L
359062010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35907
35908 * sysdeps/x86_64/strlen.S: Unroll the loop.
35909 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35910 strlen-sse2 strlen-sse2-bsf.
35911 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35912 __strlen_no_bsf if bit_Slow_BSF is set.
35913 (__strlen_sse42): Removed.
35914 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35915 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35916
8b2b7715
RM
359172010-08-25 Roland McGrath <roland@redhat.com>
35918
35919 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35920 * sysdeps/x86_64/multiarch/varshift.c: New file.
35921 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35922 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35923 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35924 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35925
e73015f2
L
359262010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35927
35928 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35929 strlen-sse2 strlen-sse2-bsf.
35930 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35931 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35932 (__strlen_sse2): Removed.
35933 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35934 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35936 bit_Slow_BSF for Atom.
35937 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35938 (index_Slow_BSF): Define.
35939 (HAS_SLOW_BSF): Define.
35940
df24a73e
UD
359412010-08-25 Ulrich Drepper <drepper@redhat.com>
35942
35943 [BZ #10851]
35944 * resolv/res_init.c (__res_vinit): When no server address at all
35945 is given default to loopback.
35946
f2ac4868
RM
359472010-08-24 Roland McGrath <roland@redhat.com>
35948
09055553
RM
35949 * configure.in: Remove config-name.h generation.
35950 * configure: Regenerated.
35951 * config-name.in: File removed.
35952 * scripts/config-uname.sh: New file.
35953 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35954 ($(objdir)config-name.h): New target.
35955
f2ac4868
RM
35956 * sunrpc/rpc_parse.h: Avoid nested comment.
35957
73f27d5e
RH
359582010-08-24 Richard Henderson <rth@redhat.com>
35959 Ulrich Drepper <drepper@redhat.com>
35960 H.J. Lu <hongjiu.lu@intel.com>
35961
35962 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35963 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35964 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35965 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35966 _mm_alignr_epi8 with _mm_loadu_si128.
35967 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35968 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35969 (__m128i_shift_right): Removed.
35970 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35971 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35972 * sysdeps/x86_64/multiarch/varshift.h: New file.
35973 * sysdeps/x86_64/multiarch/varshift.S: New file.
35974
84b9230c
MF
359752010-08-21 Mike Frysinger <vapier@gentoo.org>
35976
35977 * configure.in: Move assembler checks to before sysdep dir checking.
35978
9bbd0ddc
PB
359792010-08-20 Petr Baudis <pasky@suse.cz>
35980
35981 * LICENSES: Sync the sunrpc license.
35982
9da4bb31
UD
359832010-08-19 Ulrich Drepper <drepper@redhat.com>
35984
a7ab6ec8
UD
35985 * sunrpc/auth_des.c: Update copyright notice once again.
35986 * sunrpc/auth_none.c: Likewise.
35987 * sunrpc/auth_unix.c: Likewise.
35988 * sunrpc/authdes_prot.c: Likewise.
35989 * sunrpc/authuxprot.c: Likewise.
35990 * sunrpc/bindrsvprt.c: Likewise.
35991 * sunrpc/clnt_gen.c: Likewise.
35992 * sunrpc/clnt_perr.c: Likewise.
35993 * sunrpc/clnt_raw.c: Likewise.
35994 * sunrpc/clnt_simp.c: Likewise.
35995 * sunrpc/clnt_tcp.c: Likewise.
35996 * sunrpc/clnt_udp.c: Likewise.
35997 * sunrpc/clnt_unix.c: Likewise.
35998 * sunrpc/des_crypt.c: Likewise.
35999 * sunrpc/des_soft.c: Likewise.
36000 * sunrpc/get_myaddr.c: Likewise.
36001 * sunrpc/getrpcport.c: Likewise.
36002 * sunrpc/key_call.c: Likewise.
36003 * sunrpc/key_prot.c: Likewise.
36004 * sunrpc/openchild.c: Likewise.
36005 * sunrpc/pm_getmaps.c: Likewise.
36006 * sunrpc/pm_getport.c: Likewise.
36007 * sunrpc/pmap_clnt.c: Likewise.
36008 * sunrpc/pmap_prot.c: Likewise.
36009 * sunrpc/pmap_prot2.c: Likewise.
36010 * sunrpc/pmap_rmt.c: Likewise.
36011 * sunrpc/rpc/auth.h: Likewise.
36012 * sunrpc/rpc/auth_unix.h: Likewise.
36013 * sunrpc/rpc/clnt.h: Likewise.
36014 * sunrpc/rpc/des_crypt.h: Likewise.
36015 * sunrpc/rpc/key_prot.h: Likewise.
36016 * sunrpc/rpc/netdb.h: Likewise.
36017 * sunrpc/rpc/pmap_clnt.h: Likewise.
36018 * sunrpc/rpc/pmap_prot.h: Likewise.
36019 * sunrpc/rpc/pmap_rmt.h: Likewise.
36020 * sunrpc/rpc/rpc.h: Likewise.
36021 * sunrpc/rpc/rpc_des.h: Likewise.
36022 * sunrpc/rpc/rpc_msg.h: Likewise.
36023 * sunrpc/rpc/svc.h: Likewise.
36024 * sunrpc/rpc/svc_auth.h: Likewise.
36025 * sunrpc/rpc/types.h: Likewise.
36026 * sunrpc/rpc/xdr.h: Likewise.
36027 * sunrpc/rpc_clntout.c: Likewise.
36028 * sunrpc/rpc_cmsg.c: Likewise.
36029 * sunrpc/rpc_common.c: Likewise.
36030 * sunrpc/rpc_cout.c: Likewise.
36031 * sunrpc/rpc_dtable.c: Likewise.
36032 * sunrpc/rpc_hout.c: Likewise.
36033 * sunrpc/rpc_main.c: Likewise.
36034 * sunrpc/rpc_parse.c: Likewise.
36035 * sunrpc/rpc_parse.h: Likewise.
36036 * sunrpc/rpc_prot.c: Likewise.
36037 * sunrpc/rpc_sample.c: Likewise.
36038 * sunrpc/rpc_scan.c: Likewise.
36039 * sunrpc/rpc_scan.h: Likewise.
36040 * sunrpc/rpc_svcout.c: Likewise.
36041 * sunrpc/rpc_tblout.c: Likewise.
36042 * sunrpc/rpc_util.c: Likewise.
36043 * sunrpc/rpc_util.h: Likewise.
36044 * sunrpc/rpcinfo.c: Likewise.
36045 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36046 * sunrpc/rpcsvc/key_prot.x: Likewise.
36047 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36048 * sunrpc/rpcsvc/mount.x: Likewise.
36049 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36050 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36051 * sunrpc/rpcsvc/rex.x: Likewise.
36052 * sunrpc/rpcsvc/rstat.x: Likewise.
36053 * sunrpc/rpcsvc/rusers.x: Likewise.
36054 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36055 * sunrpc/rpcsvc/spray.x: Likewise.
36056 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36057 * sunrpc/rtime.c: Likewise.
36058 * sunrpc/svc.c: Likewise.
36059 * sunrpc/svc_auth.c: Likewise.
36060 * sunrpc/svc_authux.c: Likewise.
36061 * sunrpc/svc_raw.c: Likewise.
36062 * sunrpc/svc_run.c: Likewise.
36063 * sunrpc/svc_simple.c: Likewise.
36064 * sunrpc/svc_tcp.c: Likewise.
36065 * sunrpc/svc_udp.c: Likewise.
36066 * sunrpc/svc_unix.c: Likewise.
36067 * sunrpc/svcauth_des.c: Likewise.
36068 * sunrpc/xcrypt.c: Likewise.
36069 * sunrpc/xdr.c: Likewise.
36070 * sunrpc/xdr_array.c: Likewise.
36071 * sunrpc/xdr_float.c: Likewise.
36072 * sunrpc/xdr_mem.c: Likewise.
36073 * sunrpc/xdr_rec.c: Likewise.
36074 * sunrpc/xdr_ref.c: Likewise.
36075 * sunrpc/xdr_sizeof.c: Likewise.
36076 * sunrpc/xdr_stdio.c: Likewise.
36077
9da4bb31
UD
36078 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36079 handling.
36080
bdaa77bc
AS
360812010-08-19 Andreas Schwab <schwab@redhat.com>
36082
36083 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36084
fe2f79db
LM
360852010-08-19 Luis Machado <luisgpm@br.ibm.com>
36086
36087 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36088 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36089 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36090 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36091 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36092 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36093 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36094 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36095 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36096 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36097 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36098 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36099 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36100 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36101
b9b42ee0
AB
361022010-07-26 Anton Blanchard <anton@samba.org>
36103
36104 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36105 * malloc/arena.c (heap_trim): Likewise.
36106
1c06ba31
UD
361072010-08-16 Ulrich Drepper <drepper@redhat.com>
36108
36109 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36110 here. Not...
36111 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36112 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36113
f8392f40
L
361142010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36115
36116 * sysdeps/i386/elf/Makefile: New file.
36117
3162f12e
AS
361182010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36119
36120 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36121 from fanotify_init.
36122 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36123 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36124
28c90b2c
UD
361252010-08-15 Ulrich Drepper <drepper@redhat.com>
36126
36127 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36128 of strncasecmp_l.
1feccb6c 36129 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 36130
ca6bb004
UD
361312010-08-14 Ulrich Drepper <drepper@redhat.com>
36132
e9f82e0d
UD
36133 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36134 strncase_l-nonascii.
36135 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36136 Add strncase_l-ssse3.
36137 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36138 * sysdeps/x86_64/strcmp.S: Likewise.
36139 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36140 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36141 * sysdeps/x86_64/strncase.S: New file.
36142 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36143 * sysdeps/x86_64/strncase_l.S: New file.
36144 * string/Makefile (strop-tests): Add strncasecmp.
36145 * string/test-strncasecmp.c: New file.
36146
36147 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36148 warning.
36149
ca6bb004
UD
36150 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36151 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36152
052fa7b3
AS
361532010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36154
36155 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36156
962dba78
UD
361572010-08-12 Ulrich Drepper <drepper@redhat.com>
36158
36159 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36160 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36161 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36162
bebff237
AM
361632010-05-01 Alan Modra <amodra@gmail.com>
36164
36165 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36166 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36167 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36168 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36169 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36170 tidying. Don't tail-call __sigjmp_save for static lib.
36171 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36172 save location.
36173 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36174 (CALL_MCOUNT): Add eh info, and nop after bl.
36175 (TAIL_CALL_SYSCALL_ERROR): New macro.
36176 (PSEUDO_RET): Use it.
36177 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36178 Correct save location of integer regs and cr.
36179 (_dl_profile_resolve): Correct cr save location. Delete nops
36180 after bl when SHARED. Reduce cfi size a little by better
36181 placement of cfi directives.
36182 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36183 make a stack frame. Instead use parm save area as a temp.
36184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36185 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36187 Don't make a stack frame for parent, use parm save area.
36188 Increase child stack frame to 112 bytes. Don't save unused reg,
36189 and adjust reg usage. Set up cfi on error recovery and
36190 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36192 (__makecontext): Add dummy nop after jump to exit.
36193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36194 Use correct parm save area and cr save, reduce stack frame.
36195 Correct cfi for possible PSEUDO_RET frame setup.
36196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36197 Branch to local label emitted by PSEUDO_RET rather than
36198 __syscall_error.
36199
02637374
AS
362002010-08-12 Andreas Schwab <schwab@redhat.com>
36201
36202 [BZ #11904]
36203 * locale/programs/locale.c (print_assignment): New function.
36204 (show_locale_vars): Use it.
36205
c3e2f19b
UD
362062010-08-11 Ulrich Drepper <drepper@redhat.com>
36207
3cdaa6ad
UD
36208 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36209 field.
36210 (struct statfs64): Likewise.
36211 (_STATFS_F_FLAGS): Define.
36212 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36213 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36214 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36215 (ST_VALID): Define locally.
36216 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36217 __statvfs_getflags, use the provided value.
36218 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36219 __ASSUME_STATFS_F_FLAGS.
36220
754f7da3
UD
36221 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36222
10b3bedc
UD
36223 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36224 Add sys/fanotify.h.
36225 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36226 fanotify_mask for GLIBC_2.13.
36227 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36228 fanotify_init and fanotify_mark.
36229 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36230 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36231
c08fb0d7
UD
36232 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36233 Add prlimit.
36234 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36235 prlimit64 for GLIBC_2.13.
36236 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36237 prlimit64.
36238 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36239 syscall.
36240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36241 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36242 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36243 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36244 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36245 add prlimit alias.
36246 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36247
15bac72b
UD
36248 [BZ #11903]
36249 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36250 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36251
c3e2f19b
UD
36252 * nss/Makefile: Add rules to build and run tst-nss-test1.
36253 * shlib-versions: Add entry for libnss_test1.
36254 * nss/nss_test1.c: New file.
36255 * nss/tst-nss-test1.c: New file.
36256
36257 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36258 (__nss_configure_lookup): Set appropriate entry in
36259 __nss_configure_lookup to true.
36260 * nss/nsswitch.h: Define enum with indeces of databases in
36261 databases and __nss_database_custom arrays. Declare
36262 __nss_database_custom.
36263 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36264 to avoid using nscd when custom rules are installed.
36265 * nss/getXXbyYY_r.c: Likewise.
36266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36267
36268 * nss/nss_files/files-parse.c: Whitespace fixes.
36269
f15ce4d8
UD
362702010-08-09 Ulrich Drepper <drepper@redhat.com>
36271
36272 [BZ #11883]
36273 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36274 * posix/fnmatch_loop.c: Likewise.
36275
d22e4cc9
AK
362762010-07-17 Andi Kleen <ak@linux.intel.com>
36277
36278 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36279 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36280 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36281 * Versions.def [GLIBC_2.13]: Add.
36282
805bc17d
UD
362832010-08-06 Ulrich Drepper <drepper@redhat.com>
36284
36285 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36286 Also fail if tpwd after pwuid call is NULL.
36287
5a42321d
ST
362882010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36289
36290 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36291 when converting to ms.
36292
fd3ebeda
ST
362932010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36294
36295 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36296 EOPNOTSUPP errors with ENOTTY.
36297 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36298 EOPNOTSUPP errors with ENOTTY.
36299
73507d3a
UD
363002010-07-31 Ulrich Drepper <drepper@redhat.com>
36301
36302 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36303 Add strcasecmp_l-ssse3.
36304 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36305 strcasecmp.
36306 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36307 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36308 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36309
fe36dd02
UD
363102010-07-30 Ulrich Drepper <drepper@redhat.com>
36311
66f6765a
UD
36312 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36313
42e08a54
UD
36314 * string/Makefile (strop-tests): Add strcasecmp.
36315 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36316 strcasecmp_l-nonascii.
36317 (gen-as-const-headers): Add locale-defines.sym.
36318 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36319 * sysdeps/x86_64/strcasecmp.S: New file.
36320 * sysdeps/x86_64/strcasecmp_l.S: New file.
36321 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36322 * sysdeps/x86_64/locale-defines.sym: New file.
36323 * string/test-strcasecmp.c: New file.
36324
fe36dd02
UD
36325 * string/test-strcasestr.c: Test both ends of the range of characters.
36326 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36327
48cbc0d6
RM
363282010-07-29 Roland McGrath <roland@redhat.com>
36329
76e6d6bc 36330 [BZ #11856]
48cbc0d6
RM
36331 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36332
880113d9
UD
363332010-07-27 Ulrich Drepper <drepper@redhat.com>
36334
36335 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36336 for ld.so.
36337
deb9cabb
AS
363382010-07-27 Andreas Schwab <schwab@redhat.com>
36339
36340 * manual/memory.texi (Malloc Tunable Parameters): Document
36341 M_PERTURB.
36342
1c7570ff
RM
363432010-07-26 Roland McGrath <roland@redhat.com>
36344
36345 [BZ #11840]
36346 * configure.in (-fgnu89-inline check): Set and substitute
36347 gnu89_inline, not libc_cv_gnu89_inline.
36348 * configure: Regenerated.
36349 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36350
24fb0f88
UD
363512010-07-26 Ulrich Drepper <drepper@redhat.com>
36352
36353 * string/test-strnlen.c: New file.
36354 * string/Makefile (strop-tests): Add strnlen.
36355 * string/tester.c (test_strnlen): Add a few more test cases.
36356 * string/tst-strlen.c: Better error reporting.
36357
36358 * sysdeps/x86_64/strnlen.S: New file.
36359
8e96b93a
UD
363602010-07-24 Ulrich Drepper <drepper@redhat.com>
36361
36362 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36363 lower-latency instructions.
36364
dbc676d4
UD
363652010-07-23 Ulrich Drepper <drepper@redhat.com>
36366
36367 * string/test-strcasestr.c: New file.
36368 * string/test-strstr.c: New file.
36369 * string/Makefile (strop-tests): Add strstr and strcasestr.
36370 * string/str-two-way.h: Don't undefine MAX.
36371 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36372
f6a31e0e
AS
363732010-07-21 Andreas Schwab <schwab@redhat.com>
36374
36375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36376 strcasestr-nonascii.
36377 (CFLAGS-strcasestr-nonascii.c): Define.
36378 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36379 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36380 Remove unused attribute.
36381
5dbc3b6c
RM
363822010-07-20 Roland McGrath <roland@redhat.com>
36383
36384 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36385 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36386 ld.so.cache was broken. With it, there is no way to disable dsocaps
36387 like LD_HWCAP_MASK can disable hwcaps.
36388
23d101d8
EPM
363892010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36390
36391 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36392
cc9f2e47
UD
363932010-07-16 Ulrich Drepper <drepper@redhat.com>
36394
36395 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36396 call in strcasestr.
36397 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36398 __strcasestr_sse42_nonascii.
36399 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36400 strcasestr-nonascii.c.
36401 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36402
77c1b069
LM
364032010-06-15 Luis Machado <luisgpm@br.ibm.com>
36404
36405 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36406 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36407 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36408 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36409
440566c3
UD
364102010-07-09 Ulrich Drepper <drepper@redhat.com>
36411
36412 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36413 fcntl.
36414
5be9d05d
AS
364152010-07-06 Andreas Schwab <schwab@redhat.com>
36416
c30b7ee2 36417 [BZ #11577]
5be9d05d
AS
36418 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36419 dl_signal_cerror.
36420
8a492a67
UD
364212010-07-06 Ulrich Drepper <drepper@redhat.com>
36422
36423 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36424 _PC_PIPE_BUF using F_GETPIPE_SZ.
36425
713df3d5
RM
364262010-07-05 Roland McGrath <roland@redhat.com>
36427
36428 * manual/arith.texi (Rounding Functions): Fix rint description
36429 implicit in round description.
36430
702e8f14
UD
364312010-07-02 Ulrich Drepper <drepper@redhat.com>
36432
36433 * elf/Makefile: Fix linking for a few tests to make recent linker
36434 happy.
36435
52ed8be9
AS
364362010-06-30 Andreas Schwab <schwab@redhat.com>
36437
36438 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36439 $(common-objpfx)libc_nonshared.a.
36440
f47c9a11
LM
364412010-06-21 Luis Machado <luisgpm@br.ibm.com>
36442
36443 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36444 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36445 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36446 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36447 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36448 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36449 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36450 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36465 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36466 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36467 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36468 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36469 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36470 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36471 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36472 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36473 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36474 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36475 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36476 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36491
6fb8cbcb
L
364922010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36493
36494 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36495 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36496 * string/memmove.c (memmove): Renamed to ...
36497 (MEMMOVE): ...this. Default to memmove.
36498 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36499 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36500 (END_CHK): Define.
36501 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36502 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36503 mempcpy-ssse3-back memmove-ssse3-back.
36504 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36505 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36506 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36507 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36508 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36509 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36510 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36511 * sysdeps/x86_64/multiarch/memmove.c: New file.
36512 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36513 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36514 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36515 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36516 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36517 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36518 Define.
36519 (index_Fast_Copy_Backward): Define.
36520 (HAS_ARCH_FEATURE): Define.
36521 (HAS_FAST_REP_STRING): Define.
36522 (HAS_FAST_COPY_BACKWARD): Define.
36523
4e733bac 365242010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
36525
36526 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36527 Restore proper fallback handling.
36528
63c4ed22
UD
365292010-06-19 Ulrich Drepper <drepper@redhat.com>
36530
ac2b484c
UD
36531 [BZ #11701]
36532 * posix/group_member.c (__group_member): Correct checking loop.
36533
63c4ed22
UD
36534 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36535 OOM in getpwuid_r correctly. Return error number when the caller
36536 should return, otherwise -1.
36537 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36538 call returning > 0 value.
36539 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36540
765ade4b
AS
365412010-06-07 Andreas Schwab <schwab@redhat.com>
36542
36543 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36544 libc_nonshared.a from targets in modules-names.
36545
80da2e09
KS
365462010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36547
36548 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36549 requires it.
36550
158db122
LM
365512010-06-10 Luis Machado <luisgpm@br.ibm.com>
36552
36553 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36554 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36555 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36556 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36557
caa78cf8
AS
365582010-06-02 Andreas Schwab <schwab@redhat.com>
36559
36560 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36561
b2ef2c01
UD
365622010-06-14 Ulrich Drepper <drepper@redhat.com>
36563
36564 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36565 and F_GETPIPE_SZ.
36566 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36567 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36568 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36569 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36570 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36571 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36572
fbd643b6
RM
365732010-06-14 Roland McGrath <roland@redhat.com>
36574
36575 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36576
f32f2869
JJ
365772010-06-07 Jakub Jelinek <jakub@redhat.com>
36578
36579 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36580 __REDIRECT followed by __THROW.
36581 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36582 * posix/getopt.h (getopt): Likewise.
36583
2a50c078
EPM
365842010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36585
36586 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36587 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36588 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36589 in AT_FLAGS.
36590 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36591 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36592
eb5ad2eb
LM
365932010-05-28 Luis Machado <luisgpm@br.ibm.com>
36594
36595 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36596
3c88fe1e
L
365972010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36598
36599 [BZ #11640]
36600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36601 Properly check family and model.
36602
d2f73151
TY
366032010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36604
36605 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36606
ebd2e13d
LM
366072010-05-24 Luis Machado <luisgpm@br.ibm.com>
36608
36609 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36610
b32b8b45
UD
366112010-05-21 Ulrich Drepper <drepper@redhat.com>
36612
36613 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36614 symbol reference.
36615
9acbe24d
AS
366162010-05-19 Andreas Schwab <schwab@redhat.com>
36617
36618 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36619 symbol reference.
36620
f0ccf6ea
AS
366212010-05-21 Andreas Schwab <schwab@redhat.com>
36622
3d04ff3a
AS
36623 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36624 and internal_recvmmsg.
36625 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36626 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36627 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36628 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36629
f0ccf6ea
AS
36630 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36631 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36632 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36633
5b08ac57
AS
366342010-05-20 Andreas Schwab <schwab@redhat.com>
36635
36636 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36637
4828935d
LM
366382010-05-17 Luis Machado <luisgpm@br.ibm.com>
36639
36640 POWER7 optimizations.
36641 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36642 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36643
373d545e
UD
366442010-05-19 Ulrich Drepper <drepper@redhat.com>
36645
36646 * version.h: Update for 2.13 development version.
36647
21a2b1ae
AS
366482010-05-12 Andrew Stubbs <ams@codesourcery.com>
36649
36650 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36651 exceptions. Return 0.
36652
3f7dcb2b
RM
366532010-05-07 Roland McGrath <roland@redhat.com>
36654
36655 * elf/ldconfig.c (main): Add a const.
36656
5f24d53a 366572010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 36658
a160f8d8
UD
36659 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36660 (args_options): Add no-idn option.
36661 (ahosts_keys_int): Add idn_flags to ai_flags.
36662 (parse_option): Handle 'i' option to clear idn_flags.
36663
5f24d53a
UD
36664 * malloc/malloc.c (_int_free): Possible race in the most recently
36665 added check. Only act on the data if no current modification
36666 happened.
265bb1ce
UD
36667
36668See ChangeLog.17 for earlier changes.
This page took 4.856867 seconds and 5 git commands to generate.