]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC: multiarch lrint/lrintf for PowerPC32
[thirdparty/glibc.git] / ChangeLog
CommitLineData
79dccf31
AZ
12013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
4 and lrintf multiarch implementations.
5 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6 New file.
7 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8 New file.
9 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10 multiarch lrint for PowerPC32.
11 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12 file: multiarch lrintf for PowerPC32.
13
deb66480
AZ
142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15
16 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17 and lroundf multiarch implementations.
18 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19 New file.
20 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21 New file.
22 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
23 New file.
24 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25 multiarch lround for PowerPC32.
26 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27 file: multiarch lroundf for PowerPC32.
28
264b036b
AZ
292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30
31 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
32 copysign and copysignf multiarch implementations.
33 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
34 New file.
35 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
36 New file.
37 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
38 file: multiarch copysign for PowerPC32.
39 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
40 file: multiarch copysignf for PowerPC32.
41
d47db6c9
AZ
422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43
44 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
45 and truncf multiarch implementations.
46 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
47 New file.
48 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
49 file.
50 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
51 multiarch trunc for PowerPC32.
52 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
53 New file.
54 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
55 New file.
56 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
57 multiarch truncf for PowerPC32.
58
ddb60b5a
AZ
592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60
61 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
62 and roundf multiarch implementations.
63 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
64 New file.
65 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
66 file.
67 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
68 multiarch round for PowerPC32.
69 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
70 New file.
71 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
72 New file.
73 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
74 multiarch roundf for PowerPC32.
75
bedcf49b
AZ
762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77
78 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
79 and floorf multiarch implementations.
80 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
81 New file.
82 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
83 file.
84 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
85 multiarch floor for PowerPC32.
86 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
87 New file.
88 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
89 New file.
90 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
91 multiarch floorf for PowerPC32.
92
35ae5b40
AZ
932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
94
95 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
96 and ceilf multiarch implementations.
97 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
98 New file.
99 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
100 file.
101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
102 multiarch ceil for PowerPC32.
103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
104 New file.
105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
106 file.
107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
108 multiarch ceilf for PowerPC32.
109
ae1a4cd9
AZ
1102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
111
112 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
113 is defined.
114 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
115 FINITEF is defined.
116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
117 and finitef multiarch implementations.
118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
119 New file.
120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
121 file.
122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
123 multiarch finite for PowerPC32.
124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
125 New file.
126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
127 file: multiarch finitef for PowerPC32.
128
64fffd65
AZ
1292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
130
131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
132 and isinff multiarch implementations.
133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
134 file.
135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
136 file.
137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
138 multiarch isinf for PowerPC32.
139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
140 New file.
141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
142 multiarch isinff for PowerPC32.
143
8e4e7ba2
AZ
1442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
145
146 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
147 alias when __isnan is defined.
148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
149 and isnanf multiarch implementations.
150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
151 file.
152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
153 file.
154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
155 file.
156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
157 file.
158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
159 multiarch isnan for PowerPC32.
160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
161 New file.
162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
163 New file.
164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
165 multiarch isnanf for PowerPC32.
166
ddba588e
AZ
1672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
168
169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
170 and sqrtf multiarch implementations.
171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
172 file.
173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
174 file.
175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
176 multiarch sqrt for PowerPC32.
177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
178 file.
179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
180 file.
181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
182 multiarch sqrtf for PowerPC32.
183
0f96a2f0
AZ
1842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
185
186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
187 and llroundf multiarch implementations.
188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
189 New file.
190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
191 New file.
192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
193 New file.
194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
195 file: multiarch llround for PowerPC32.
196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
197 file: multiarch llroundf for PowerPC32.
198
c9b5d79e
AZ
1992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
200
201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
202 multiarch PowerPC32 fpu implementations.
203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
204 New file.
205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
206 New file.
207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
208 multiarch llrint for PowerPC32.
209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
210 New file.
211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
212 New file.
213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
214 file.
215
9cbb3aab
AZ
2162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
217
218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
219
ea5a72f8
AZ
2202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
221
222 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
223 file.
224 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
225 file.
226 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
227 file.
228 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
229 multiarch wordcopy for PPC32.
230 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
231 wordcopy objects.
232 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
233 (__libc_ifunc_impl_list): Likewise.
234 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
235 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
236 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
237 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
238 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
239 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
240
93be09e7
AZ
2412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
242
243 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
244 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
245 file.
246 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
247 file.
248 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
249 file.
250 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
251 multiarch wcscpy for PPC32.
252 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
253 multiarch objects.
254 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
255 (__libc_ifunc_impl_list): Likewise.
256 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
257 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
258 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
259 sysdeps/powerpc/power6/wcscpy.c.
260
bb04e529
AZ
2612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
262
263 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
264 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
265 file.
266 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
267 file.
268 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
269 file.
270 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
271 multiarch wcsrchr for PPC32.
272 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
273 multiarch objects.
274 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
275 (__libc_ifunc_impl_list): Likewise.
276 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
277 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
278 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
279 sysdeps/powerpc/power6/wcsrchr.c.
280
05b5cd1c
AZ
2812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
282
283 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
284 file.
285 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
286 file.
287 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
288 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
289 multiarch wcschr for PPc32.
290 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
291 multiarch objects.
292 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
293 (__libc_ifunc_impl_list): Likewise.
294 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
295 * sysdeps/powerpc/power6/wcschr.c: ... to here.
296 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
297 sysdeps/powerpc/power6/wcschr.c.
298
ba964147
AZ
2992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
300
301 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
302 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
303 file.
304 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
305 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
306 file: multiarch strchr for PPC32.
307 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
308 multiarch objects.
309 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
310 (__libc_ifunc_impl_list): Likewise.
311
31c81aaa
AZ
3122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
313
314 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
315 name.
316 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
317 file.
318 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
319 file.
320 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
321 multiarch strchrnul for PPC32.
322 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
323 multiarch objects.
324 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
325 (__libc_ifunc_impl_list): Likewise.
326
0d0607d9
AZ
3272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
328
329 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
330 file.
331 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
332 multiarch strncasecmp for PPC32.
333 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
334 file.
335 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
336 multiarch strncasecmp_l for PPC32.
337 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
338 strncasecmp multiarch objects.
339 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
340 (__libc_ifunc_impl_list): Likewise.
341
4dfd5c86
AZ
3422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
343
344 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
345 file.
346 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
347 multiarch strncasecmp for PPC32.
348 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
349 New file.
350 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
351 multiarch strcasecmp_l for PPC32.
352 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
353 multiarch objects.
354 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
355 (__libc_ifunc_impl_list): Likewise.
356
a19e01a3
AZ
3572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
358
359 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
360 file.
361 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
362 file.
363 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
364 multiarch strncmp for PPC32.
365 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
366 multiarch objects.
367 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
368 (__libc_ifunc_impl_list): Likewise.
369
ae9cf7a2
AZ
3702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
371
372 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
373 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
374 file.
375 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
376 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
377 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
378 multiarch objects.
379 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
380 (__libc_ifunc_impl_list): Likewise.
381
3148bb7d
AZ
3822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
383
384 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
385 file.
386 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
387 file.
388 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
389 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
390 multiarch objects.
391 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
392 (__libc_ifunc_impl_list): Likewise.
393
7af8b946
AZ
3942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
395
396 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
397 file.
398 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
399 file.
400 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
401 multiarch rawmemchr for PPC32.
402 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
403 multiarch objects.
404 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
405 (__libc_ifunc_impl_list): Likewise.
406
03a6aa6a
AZ
4072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
408
409 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
410 file.
411 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
412 file.
413 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
414 file: memrchr multiarch for PPC32.
415 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
416 multiarch objects.
417 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
418 (__libc_ifunc_impl_list): Likewise.
419
1c62e6d9
AZ
4202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
421
422 * string/memchr.c (__memchr): Using macro to redefine symbol name.
423 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
424 file.
425 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
426 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
427 multiarch memchr for PPC32.
428 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
429 multiarch objects.
430 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
431 (__libc_ifunc_impl_list): Likewise.
432
87da8bdb
AZ
4332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
434
435 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
436 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
437 file.
438 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
439 file.
440 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
441 file: multiarch mempcpy for PPC32.
442 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
443 multiarch objects.
444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
445 (__libc_ifunc_impl_list): Likewise.
446
20ed4714
AZ
4472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
448
449 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
450 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
451 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
452 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
453 multiarch bzero for PPC32.
454 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
455 file.
456 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
457 file.
458 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
459 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
460 file: multiarch memset for PPC32.
461 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
462 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
463 memset multiarch objects.
464 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
465 (__libc_ifunc_impl_list): Likewise.
466
ab3e3a46
AZ
4672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
468
469 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
470 file.
471 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
472 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
473 memcmp for PPC32.
474 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
475 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
476 multiarch objects.
477 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
478 (__libc_ifunc_impl_list): Likewise.
479
930de6f0
AZ
4802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
481
482 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
483 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
484 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
485 file.
486 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
487 file.
488 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
489 file.
490 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
491 multiarch memcpy for PPC32.
492 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
493 multiarch objects.
494 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
495 (__libc_ifunc_impl_list): Likewise.
496
4c628e00
AZ
4972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
498
499 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
500 support multiarch for POWER/PPC32.
501 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
502 Likewise.
503 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
505 Implies file to make multiarch folder appers before the fpu and
506 default folder for power4 configuration.
507
f4479220
SP
5082013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
509
510 * scripts/bench.pl: Append volatile keyword to type.
511
8517800f
KK
5122013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
513
514 * sysdeps/sh/sotruss-lib.c: New file.
515 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
516
180138f1
AZ
5172013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
518
519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
520
bbf37bdc
JM
5212013-12-05 Joseph Myers <joseph@codesourcery.com>
522
e47cc4e0
JM
523 [BZ #6810]
524 * math/w_tgamma.c: Include <errno.h>.
525 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
526 * math/w_tgammaf.c: Include <errno.h>.
527 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
528 * math/w_tgammal.c: Include <errno.h>.
529 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
530 * math/auto-libm-test-in: Do not allow missing errno on tgamma
531 underflow. Add more tgamma tests.
532 * math/auto-libm-test-out: Regenerated.
533 * sysdeps/i386/fpu/libm-test-ulps: Update.
534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
535
bbf37bdc
JM
536 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
537 sin, sinh, tan, tanh, tgamma, y0 and y1.
538 * math/auto-libm-test-out: Regenerated.
539 * math/libm-test.inc (TEST_COND_x86_64): New macro.
540 (TEST_COND_x86): Likewise.
541 (M_E2l): Remove macro.
542 (M_E3l): Likewise.
543 (M_2_SQRT_PIl): Likewise.
544 (M_SQRT_PIl): Likewise.
545 (M_1_DIV_El): Likewise.
546 (log_test_data): Use AUTO_TESTS_f_f.
547 (log10_test_data): Likewise.
548 (log1p_test_data): Likewise.
549 (log2_test_data): Likewise.
550 (sin_test_data): Likewise.
551 (sin_tonearest_test_data): Likewise.
552 (sin_towardzero_test_data): Likewise.
553 (sin_downward_test_data): Likewise.
554 (sin_upward_test_data): Likewise.
555 (sinh_test_data): Likewise.
556 (sinh_tonearest_test_data): Likewise.
557 (sinh_towardzero_test_data): Likewise.
558 (sinh_downward_test_data): Likewise.
559 (sinh_upward_test_data): Likewise.
560 (tan_test_data): Likewise.
561 (tan_tonearest_test_data): Likewise.
562 (tan_towardzero_test_data): Likewise.
563 (tan_downward_test_data): Likewise.
564 (tan_upward_test_data): Likewise.
565 (tanh_test_data): Likewise.
566 (tgamma_test_data): Likewise.
567 (y0_test_data): Likewise.
568 (y1_test_data): Likewise.
569 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
570 (special_real_inputs): Add pi/4.
571 * sysdeps/i386/fpu/libm-test-ulps: Update.
572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
573
eb5ad6b9
AZ
5742013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
575
576 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
577 "longjmp_target" static probes.
578 (__longjmp): Rename to __longjmp_symbol.
579 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
580 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
581 on which longjmp to generate.
582 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
583 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
584 probe.
585 (__sigsetjmp): Rename to __sigsetjmp_symbol.
586 (__sigjmp_save): Rename to __sigjmp_save_symbol.
587 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
588 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
589 and __sigjmp_save_symbol based on which sigsetjmp to generated.
590 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
592 __longjmp_symbol based on which __longjmp to generate.
593 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
594 probe.
595 (setjmp): Rename to setjmp_symbol.
596 (__sigsetjmp): Rename to __sigsetjmp_symbol.
597 (_setjmp): Rename to _setjmp_symbol.
598 (__sigsetjmp): Rename to __sigsetjmp_symbol.
599 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
600 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
601 which setjmp to generate.
602 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
603 "longjmp_target" static probes.
604
d136c6dc
SP
6052013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
606
9298ecba
SP
607 * benchtests/README: Add note about output arguments.
608 * benchtests/bench-sincos.c: Remove file.
609 * benchtests/sincos-inputs: New file.
610 * scripts/bench.pl: Identify output arguments and define
611 static variables for them.
612
232983e9
SP
613 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
614
d136c6dc
SP
615 [BZ #15941]
616 * Makefile (INSTALL): Add install-plain.texi as the primary
617 dependency.
618 * manual/install-plain.texi: New file.
619 * manual/install.texi: Include node directive only for
620 non-plaintext output.
621
699ff837
JM
6222013-12-04 Joseph Myers <joseph@codesourcery.com>
623
ab07cea8
JM
624 * stdlib/longlong.h: Update from GCC.
625
699ff837
JM
626 [BZ #6807]
627 [BZ #15901]
628 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
629 * math/w_j0f.c (y0f): Likewise.
630 * math/w_j0l.c (__y0l): Likewise.
631 * math/w_j1.c (y1): Likewise.
632 * math/w_j1f.c (y1f): Likewise.
633 * math/w_j1l.c (__y1l): Likewise
634 * math/w_jn.c (yn): Likewise.
635 * math/w_jnf.c (ynf): Likewise.
636 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
637 Bessel function pole errors in _POSIX_ mode. Use NAN as return
638 value for Bessel function domain errors outside _SVID_ mode.
639 Adjust sign of return value for yn (negative integer, 0).
640 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
641 by zero in return for negative x and set sign appropriately for
642 negative n.
643 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
644 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
645 * math/libm-test.inc (y0_test_data): Add more tests and adjust
646 expectations in error cases.
647 (y1_test_data): Likewise.
648 (yn_test_data): Likewise.
649 * sysdeps/i386/fpu/libm-test-ulps: Update.
650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
651
5b118558
UW
6522013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
653
654 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
655 "64" to "64-v1". Add "64-v2".
656 (abi-64-options): Rename to ...
657 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
658 (abi-64-condition): Rename to ...
659 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
660 (abi-64-ld-soname): Rename to ...
661 (abi-64-v1-ld-soname): ... this.
662 (abi-64-v2-options): Define.
663 (abi-64-v2-condition): Likewise.
664 (abi-64-v2-ld-soname): Likewise.
665 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
666 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
670
61cd8fe4
UW
6712013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
672 Alan Modra <amodra@gmail.com>
673
674 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
675 New versions for use with the ELFv2 ABI.
676 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
677 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
678 declaration.
679 (struct La_ppc64v2_retval): Likewise.
680 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
681 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
682 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
683 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
684 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
685 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
686 Do not save or restore CR.
687 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
688 (_dl_profile_resolve): Do no save or restore CR. Support extended
689 return values for ELFv2 ABI. Fix location of FPR return registers.
690 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
691 updated values for _CALL_ELF == 2.
692 (La_regs, La_retval, int_retval): Likewise.
693
8b8a692c
UW
6942013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
695
696 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
697 (FRAME_MIN_SIZE_PARM): Likewise.
698 (FRAME_BACKCHAIN): Likewise.
699 (FRAME_CR_SAVE): Likewise.
700 (FRAME_LR_SAVE): Likewise.
701 (FRAME_TOC_SAVE): Likewise.
702 (FRAME_PARM_SAVE): Likewise.
703 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
704 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
705 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
706 (call_mcount_parm_offset): New macro.
707 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
708 (PROF): Use symbolic stack frame offsets.
709 (TAIL_CALL_SYSCALL_ERROR): Likewise.
710 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
711 Redefine in terms of FRAME_MIN_SIZE.
712 (_dl_runtime_resolve): Use symbolic stack frame offsets.
713 (_dl_profile_resolve): Likewise. Update comment.
714 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
715 symbols stack frame offsets.
716 (__sigsetjmp): Likewise.
717 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
718 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
719 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
720 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
721
722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
723 (FRAME_BACKCHAIN): Remove.
724 (FRAME_CR_SAVE): Likewise.
725 (FRAME_LR_SAVE): Likewise.
726 (FRAME_COMPILER_DW): Likewise.
727 (FRAME_LINKER_DW): Likewise.
728 (FRAME_TOC_SAVE): Likewise.
729 (FRAME_PARM_SAVE): Likewise.
730 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
731 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
732 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
734 (CHECK_SP): Use symbolic stack frame offsets.
735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
736 zone" instead of caller's parameter save area for temp storage.
737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
738 Likewise. Also, use symbolic stack frame offsets.
739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
740 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
741 our own stack frame instead of the caller's.
742 (__socket): Use symbolic stack frame offsets.
743
122b66de
UW
7442013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
745 Alan Modra <amodra@gmail.com>
746
747 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
748 Define.
749 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
750 PPC64_LOCAL_ENTRY_OFFSET): Define.
751 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
752 New function.
753 (elf_machine_fixup_plt): Call it.
754 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
755 reloc arguments.
756 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
757 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
758 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
759 r2 before calling target.
760
696caf1d
UW
7612013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
762 Alan Modra <amodra@gmail.com>
763
764 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
765 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
766 versions of macros to support ELFv2 ABI.
767 (LOCALENTRY): New macro.
768 (ENTRY, EALIGN): Use it.
769 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
770 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
771 fall through into ENTRY entry point.
772 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
773 Only define if _CALL_ELF != 2.
774
775 (elf_machine_matches_host): Verify ABI version matches.
776 (RTLD_START): Use LOCALENTRY.
777 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
778 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
779 (PLT_ENTRY_WORDS): New macro.
780 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
781 (elf_machine_runtime_setup): Support ELFv2 ABI.
782 (elf_machine_fixup_plt): Likewise.
783 (elf_machine_plt_conflict): Likewise.
784 (resolve_ifunc): Likewise.
785 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
786 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
787 Likewise.
788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
789 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
791 (makecontext): Support ELFv2 ABI.
792 * elf/elf.h (EF_PPC64_ABI): Define.
793
d31beafa
UW
7942013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
795
796 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
797 New assembler macro.
798 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
799 [ASSEMBLER] (ENTRY): ... but instead here ...
800 [ASSEMBLER] (EALIGN): ... and here.
801 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
802 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
803 [!ASSEMBLER] (ENTRY_2): Use it.
804 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
805 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
806 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
807 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
808 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
810 Use PPC64_LOAD_FUNCPTR.
811
b525166b
UW
8122013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
813
814 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
815
7ec07d9a
AM
8162013-12-04 Alan Modra <amodra@gmail.com>
817
818 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
819 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
820 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
821 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
822
823 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
824 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
825 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
826 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
827 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
828 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
829
5162e7dd
UW
8302013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
831
832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
833 (__makecontext): Fix incorrect CFI when backtracing out of
834 context created via makecontext.
835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
836 (__setcontext): Fix incorrect CFI during switch to new context.
837 (__novec_setcontext): Likewise.
838
19e3372b
OB
8392013-12-04 Ondřej Bílka <neleai@seznam.cz>
840
841 [BZ #4772]
842 * time/strptime_l.c (__strptime_internal): Allow modifiers
843 in strptime.
844 * time/tst-strptime.c (day_tests): Add testcase.
845
846
ecaf142d
SP
8472013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
848
849 * scripts/bench.pl: Skip over blank lines.
850
fbf964ae
PE
8512013-12-04 Paul Eggert <eggert@cs.ucla.edu>
852
853 [BZ #926]
854 * manual/time.texi (Calendar Time): Clarify what timezone functions
855 use.
856
fa60a674
AZ
8572013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
858
859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
860
d674f0ef
OB
8612013-12-04 Ondřej Bílka <neleai@seznam.cz>
862
863 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
864 implementation.
865 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
866 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
867 * debug/memset_chk.c (__memset_chk): Likewise.
868 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
869 * debug/strncpy_chk.c: Likewise.
870
17dea188
JM
8712013-12-03 Joseph Myers <joseph@codesourcery.com>
872
749008ff
JM
873 [BZ #15268]
874 [BZ #15425]
875 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
876 (__ieee754_exp): For possibly underflowing results, check size of
877 result and force underflow exception if required.
878 * math/auto-libm-test-in: Add more tests of exp.
879 * math/auto-libm-test-out: Regenerated.
880 * sysdeps/i386/fpu/libm-test-ulps: Update.
881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
882
17dea188
JM
883 [BZ #16283]
884 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
885 * math/w_exp2f.c (__exp2f): Likewise.
886 * math/w_exp2l.c (__exp2l): Likewise.
887 * math/auto-libm-test-in: Do not allow missing errno on exp2
888 underflow.
889 * math/auto-libm-test-out: Regenerated.
890
b20de2c3
OB
8912013-12-03 Ondřej Bílka <neleai@seznam.cz>
892
893 [BZ #16274]
894 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
895 handle filename validation.
896 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
897 (do_open): Delete.
898
d8e2dbe3
JM
8992013-12-03 Joseph Myers <joseph@codesourcery.com>
900
34e16df5
JM
901 [BZ #6786]
902 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
903 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
904 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
905 <float.h>.
906 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
907 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
908 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
909 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
910 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
911 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
912 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
913 * math/auto-libm-test-in: Don't allow missing errno from erfc.
914 Add more erfc tests.
915 * math/auto-libm-test-out: Regenerated.
916 * sysdeps/i386/fpu/libm-test-ulps: Update.
917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
918
d8e2dbe3
JM
919 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
920 exp2, expm1, j0 and j1.
921 * math/auto-libm-test-out: Regenerated.
922 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
923 (erfc_test_data): Likewise.
924 (exp_test_data): Likewise.
925 (exp_tonearest_test_data): Likewise.
926 (exp_towardzero_test_data): Likewise.
927 (exp_downward_test_data): Likewise.
928 (exp_upward_test_data): Likewise.
929 (exp10_test_data): Likewise.
930 (exp2_test_data): Likewise.
931 (expm1_test_data): Likewise.
932 (j0_test_data): Likewise.
933 (j1_test_data): Likewise.
934 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
935 (input_flag_type): Add flag_xfail_rounding.
936 (input_flags): Add xfail-rounding.
937 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
938 (output_for_one_input_case): Handle flag_xfail_rounding.
939 * sysdeps/i386/fpu/libm-test-ulps: Update.
940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
941
18d14251
AJ
9422013-12-03 Aurelien Jarno <aurelien@aurel32.net>
943
3d2e6075 944 [BZ #16289]
18d14251
AJ
945 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
946 division by 0.
947
520d437b
SP
9482013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
949
950 [BZ #16195]
951 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
952 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
953 (STAP_PROBE0): New macro.
954 (STAP_PROBE1): Likewise.
955 (STAP_PROBE2): Likewise.
956 (STAP_PROBE3): Likewise.
957 (STAP_PROBE4): Likewise.
958
416e0145
OB
9592013-12-02 Ondřej Bílka <neleai@seznam.cz>
960
961 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
962
9d17796a
SE
9632013-12-02 Steve Ellcey <sellcey@mips.com>
964
965 * benchtests/Makefile (bench): Add sqrt.
966 (LDLIBS-bench-sqrt): New.
967 * benchtests/sqrt-input: New.
968
f524d6a8
PS
9692013-12-02 Pavel Simerda <psimerda@redhat.com>
970
639a0ef8
PS
971 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
972 (GAIH_EAI): Likewise.
973 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
974 (gaih_inet): Likewise.
975 (getaddrinfo): Don't use GAIH_EAI.
976
f524d6a8
PS
977 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
978 (struct gaih): Remove definition.
979
df3aedaf
SP
9802013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
981
982 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
983 Use HERRNOP directly.
984
1ab19dec
AZ
9852013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
986
b42ad38d 987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 988
176b0c79
JM
9892013-11-30 Joseph Myers <joseph@codesourcery.com>
990
991 * math/gen-auto-libm-tests.c (test_functions): Add more
992 single-argument functions.
993 (special_fill_pi_2): New function.
994 (special_fill_minus_pi_2): Likewise.
995 (special_fill_pi_6): Likewise.
996 (special_fill_minus_pi_6): Likewise.
997 (special_fill_pi_3): Likewise.
998 (special_fill_2pi_3): Likewise.
999 (special_fill_e): Likewise.
1000 (special_fill_1_e): Likewise.
1001 (special_fill_e_minus_1): Likewise.
1002 (special_real_inputs): Add more special inputs.
1003 (output_for_one_input_case): Do not require ERANGE on underflow to
1004 zero if round-to-nearest result does not underflow to zero, unless
1005 exact results required.
1006 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1007 atan, atanh, cbrt, cos and cosh.
1008 * math/auto-libm-test-out: Regenerated.
1009 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1010 (acos_tonearest_test_data): Likewise.
1011 (acos_towardzero_test_data): Likewise.
1012 (acos_downward_test_data): Likewise.
1013 (acos_upward_test_data): Likewise.
1014 (acosh_test_data): Likewise.
1015 (asin_test_data): Likewise.
1016 (asin_tonearest_test_data): Likewise.
1017 (asin_towardzero_test_data): Likewise.
1018 (asin_upward_test_data): Likewise.
1019 (asinh_test_data): Likewise.
1020 (atan_test_data): Likewise.
1021 (atanh_test_data): Likewise.
1022 (cbrt_test_data): Likewise.
1023 (cos_test_data): Likewise.
1024 (cos_tonearest_test_data): Likewise.
1025 (cos_towardzero_test_data): Likewise.
1026 (cos_downward_test_data): Likewise.
1027 (cos_upward_test_data): Likewise.
1028 (cosh_test_data): Likewise.
1029 (cosh_tonearest_test_data): Likewise.
1030 (cosh_towardzero_test_data): Likewise.
1031 (cosh_downward_test_data): Likewise.
1032 (cosh_upward_test_data): Likewise.
1033 * sysdeps/i386/fpu/libm-test-ulps: Update.
1034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1035
ffb536d0
JM
10362013-11-29 Joseph Myers <joseph@codesourcery.com>
1037
2a77a467
JM
1038 [BZ #6787]
1039 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1040 * math/w_exp10f.c (__exp10f): Likewise.
1041 * math/w_exp10l.c (__exp10l): Likewise.
1042 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1043 errno settings in existing tests.
1044
ea3bc4e8
JM
1045 [BZ #14032]
1046 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1047 precision control set to double precision.
1048 * sysdeps/i386/fpu/w_sqrt.c: New file.
1049 * math/auto-libm-test-in: Add more tests.
1050 * math/auto-libm-test-out: Update.
1051
0712c9d8
JM
1052 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1053 (sqrt_test_tonearest): New function.
1054 (sqrt_towardzero_test_data): New variable.
1055 (sqrt_test_towardzero): New function.
1056 (sqrt_downward_test_data): New variable.
1057 (sqrt_test_downward): New function.
1058 (sqrt_upward_test_data): New variable.
1059 (sqrt_test_upward): New function.
1060 (main): Call the new functions.
1061
ffb536d0
JM
1062 * math/gen-auto-libm-tests.c: New file.
1063 * math/auto-libm-test-in: Likewise.
1064 * math/auto-libm-test-out: New generated file.
1065 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1066 variables.
1067 (%beautify): Add generated representations of zero.
1068 (top level): Set $auto_input and call parse_auto_input.
1069 (beautify): Remove trailing "f" from hex float constants.
1070 (parse_args): Handle XFAIL_TEST.
1071 (convert_condition): New function.
1072 (or_value): Likewise.
1073 (or_cond_value): Likewise.
1074 (generate_testfile): Handle AUTO_TESTS_* lines.
1075 (parse_auto_input): New function.
1076 * math/libm-test.inc (XFAIL_TEST): New macro.
1077 (ERRNO_UNCHANGED): Update value.
1078 (ERRNO_EDOM): Likewise.
1079 (ERRNO_ERANGE): Likewise.
1080 (IGNORE_RESULT): Likewise.
1081 (TEST_COND_flt_32): New macro.
1082 (TEST_COND_dbl_64): Likewise.
1083 (TEST_COND_ldbl_96_intel): Likewise.
1084 (TEST_COND_ldbl_96_m68k): Likewise.
1085 (TEST_COND_ldbl_128): Likewise.
1086 (TEST_COND_ldbl_128ibm): Likewise.
1087 (TEST_COND_long32): Likewise.
1088 (TEST_COND_long64): Likewise.
1089 (TEST_COND_before_rounding): Likewise.
1090 (TEST_COND_after_rounding): Likewise.
1091 (enable_test): Handle XFAIL_TEST flag.
1092 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1093 with finite results.
1094 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1095 auto-libm-test-out.
1096
acd98a8e
AK
10972013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1098 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1099
1100 [BZ #16214]
1101 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1102 __tls_get_addr_internal instead of __tls_get_offset in order to
1103 avoid GOT pointer dependency. Make rtld export
1104 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1105 __tls_get_addr since we are a __tls_get_offset platform.
1106 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1107 GOT pointer being set up before.
1108 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1109
3c1c46a6
JM
11102013-11-28 Joseph Myers <joseph@codesourcery.com>
1111
7475aef5
JM
1112 * manual/math.texi (Errors in Math Functions): Document accuracy
1113 goals.
1114
8bca7cd8
JM
1115 [BZ #15004]
1116 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1117 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1118 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1119 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1120 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1121 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1122 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1123 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1124 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1125 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1126 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1127 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1128 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1129 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1130 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1131 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1132
91a1f3fe
JM
1133 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1134 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1135 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1136 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1137 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1138 Likewise.
1139 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1140 Likewise.
1141 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1142 Likewise.
1143 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1144 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1145 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1146 atomic-feupdateenv and flt-rounds.
1147 * sysdeps/powerpc/nofpu/Versions (libc): Add
1148 __atomic_feholdexcept, __atomic_feclearexcept,
1149 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1150 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1151 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1152 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1153 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1154 here.
1155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1156 Update.
1157
c5df7609
JM
1158 * manual/arith.texi (FP Exceptions): Document that exceptions may
1159 not be raised when matherr is used.
1160 (Math Error Reporting): Document overflow in directed rounding
1161 modes. Document that errno may not be set when finite values are
1162 returned on overflow. Document intent to set errno on underflow
1163 only for underflow to zero.
1164
3c1c46a6
JM
1165 [BZ #16271]
1166 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1167 round-to-nearest then adjust result for other rounding modes.
1168 * include/fenv.h (fegetround): Use libm_hidden_proto.
1169 * math/fegetround.c (fegetround): Use libm_hidden_def.
1170 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1171 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1172 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1173 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1174 Likewise.
1175 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1176 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1177 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1178 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1179
5a4c6d53
SP
11802013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1181
1182 [BZ #16077]
1183 * nss/Versions (libnss_files): Add
1184 _nss_files_gethostbyname3_r.
1185 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1186 New function.
1187 (HOST_DB_LOOKUP): Remove macro.
1188 (_nss_files_gethostbyname_r): Implement function without the
1189 HOST_DB_LOOKUP macro.
1190 (_nss_files_gethostbyname2_r): Likewise.
1191
897b98ba
OB
11922013-11-28 Ondřej Bílka <neleai@seznam.cz>
1193
1194 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1195
6f476861
UB
11962013-11-26 Uros Bizjak <ubizjak@gmail.com>
1197
1198 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1199 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1200 warning.
1201
bd12ab55
AZ
12022013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1203
1204 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1205 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1206 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1207 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1208 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1209 __fe_nomask_env_priv and attribute_hidden.
1210 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1211 (libc_feupdateenv_test_ppc): Likewise.
1212 (libc_feresetround_ppc): Likewise.
1213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1214 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1215 compat_symbol macro.
1216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1217 (__fe_nomask_env): Likewise.
1218 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1219
52bb6543
OB
12202013-11-26 Ondřej Bílka <neleai@seznam.cz>
1221
1222 * string/Makefile: Remove ifunc tests.
1223 * string/test-string.h: Define TEST_IFUNC.
1224 * string/test-bcopy-ifunc.c: Remove.
1225 * string/test-bzero-ifunc.c: Likewise.
1226 * string/test-memccpy-ifunc.c: Likewise.
1227 * string/test-memchr-ifunc.c: Likewise.
1228 * string/test-memcmp-ifunc.c: Likewise.
1229 * string/test-memcpy-ifunc.c: Likewise.
1230 * string/test-memmem-ifunc.c: Likewise.
1231 * string/test-memmove-ifunc.c: Likewise.
1232 * string/test-mempcpy-ifunc.c: Likewise.
1233 * string/test-memrchr-ifunc.c: Likewise.
1234 * string/test-memset-ifunc.c: Likewise.
1235 * string/test-rawmemchr-ifunc.c: Likewise.
1236 * string/test-stpcpy-ifunc.c: Likewise.
1237 * string/test-stpncpy-ifunc.c: Likewise.
1238 * string/test-strcasecmp-ifunc.c: Likewise.
1239 * string/test-strcasestr-ifunc.c: Likewise.
1240 * string/test-strcat-ifunc.c: Likewise.
1241 * string/test-strchr-ifunc.c: Likewise.
1242 * string/test-strchrnul-ifunc.c: Likewise.
1243 * string/test-strcmp-ifunc.c: Likewise.
1244 * string/test-strcpy-ifunc.c: Likewise.
1245 * string/test-strcspn-ifunc.c: Likewise.
1246 * string/test-strlen-ifunc.c: Likewise.
1247 * string/test-strncasecmp-ifunc.c: Likewise.
1248 * string/test-strncat-ifunc.c: Likewise.
1249 * string/test-strncmp-ifunc.c: Likewise.
1250 * string/test-strncpy-ifunc.c: Likewise.
1251 * string/test-strnlen-ifunc.c: Likewise.
1252 * string/test-strpbrk-ifunc.c: Likewise.
1253 * string/test-strrchr-ifunc.c: Likewise.
1254 * string/test-strspn-ifunc.c: Likewise.
1255 * string/test-strstr-ifunc.c: Likewise.
1256
ab260039 12572013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
1258
1259 * benchtests/Makefile: Remove ifunc tests.
1260 * benchtests/bench-string.h: Define TEST_IFUNC.
1261 * benchtests/bench-bcopy-ifunc.c: Remove.
1262 * benchtests/bench-bzero-ifunc.c: Likewise.
1263 * benchtests/bench-memccpy-ifunc.c: Likewise.
1264 * benchtests/bench-memchr-ifunc.c: Likewise.
1265 * benchtests/bench-memcmp-ifunc.c: Likewise.
1266 * benchtests/bench-memcpy-ifunc.c: Likewise.
1267 * benchtests/bench-memmem-ifunc.c: Likewise.
1268 * benchtests/bench-memmove-ifunc.c: Likewise.
1269 * benchtests/bench-mempcpy-ifunc.c: Likewise.
1270 * benchtests/bench-memrchr-ifunc.c: Likewise.
1271 * benchtests/bench-memset-ifunc.c: Likewise.
1272 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1273 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1274 * benchtests/bench-stpcpy-ifunc.c: Likewise.
1275 * benchtests/bench-stpncpy-ifunc.c: Likewise.
1276 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1277 * benchtests/bench-strcasestr-ifunc.c: Likewise.
1278 * benchtests/bench-strcat-ifunc.c: Likewise.
1279 * benchtests/bench-strchr-ifunc.c: Likewise.
1280 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1281 * benchtests/bench-strcmp-ifunc.c: Likewise.
1282 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1283 * benchtests/bench-strcpy-ifunc.c: Likewise.
1284 * benchtests/bench-strcspn-ifunc.c: Likewise.
1285 * benchtests/bench-strlen-ifunc.c: Likewise.
1286 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1287 * benchtests/bench-strncat-ifunc.c: Likewise.
1288 * benchtests/bench-strncmp-ifunc.c: Likewise.
1289 * benchtests/bench-strncpy-ifunc.c: Likewise.
1290 * benchtests/bench-strnlen-ifunc.c: Likewise.
1291 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1292 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 1293 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
1294 * benchtests/bench-strspn-ifunc.c: Likewise.
1295 * benchtests/bench-strstr-ifunc.c: Likewise.
1296
12972013-11-26 Ondřej Bílka <neleai@seznam.cz>
1298
ab260039
OB
1299 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1300
d1d9eaf4 13012013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 1302
d1d9eaf4
OB
1303 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1304 * rt/aio.h: Likewise.
1305 * sysdeps/gnu/bits/utmp.h: Likewise.
1306 * sysdeps/gnu/bits/utmpx.h: Likewise.
1307 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1308 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1309 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1310 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1311 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1312 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1313 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1314 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1315 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1316 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1317 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1318 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1319 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1321 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1322 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1323 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1324 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1325 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1326 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1327 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1328 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1329 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1330 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1331 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1332 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1333 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1334 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1335 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1336 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1337 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1338 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1339 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1340 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1341 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1342 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1343 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1344 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1345 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1346 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1347 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1348 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1349
a7624ed9
CD
13502013-11-25 Carlos O'Donell <carlos@redhat.com>
1351
1352 [BZ #16245]
1353 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1354 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1355
63cfe52b
JM
13562013-11-25 Joseph Myers <joseph@codesourcery.com>
1357
1358 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1359 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1360 Likewise.
1361
41e8926a
AZ
13622013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1363
1364 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1365 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1366 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1367 (__fesetround): Remove define.
1368 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1369 rounding and exceptions handling.
1370 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1371 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1372 (__fe_nomask_env): Likewise.
1373 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1374 __fegetround instead of fegetround.
1375 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1376 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1377
6851bd4d
RM
13782013-11-21 Roland McGrath <roland@hack.frob.com>
1379
070906ff
RM
1380 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1381 it's there.
1382
6851bd4d
RM
1383 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1384
84ae135d
MI
13852013-11-21 Meador Inge <meadori@codesourcery.com>
1386
1387 [BZ #11157]
1388 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1389 (encrypt_r): Likewise.
1390 * malloc/obstack.h (obstack_free): Likewise.
1391 * posix/unistd.h (encrypt): Likewise.
1392
daf75146
GM
13932013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1394
1395 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1396 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1397 DL_CALL_DT_FINI() that call the functions directly.
1398 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1399 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1400 * elf/dl-fini.c: Likewise.
1401
10ad46bc
OB
14022013-11-20 Ondřej Bílka <neleai@seznam.cz>
1403
1404 * malloc/hooks.c (memalign_check): Add alignment rounding.
1405 * malloc/malloc.c (_mid_memalign): New function.
1406 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1407 Implement by calling _mid_memalign.
1408 * manual/probes.texi (Memory Allocation Probes): Remove
1409 memory_valloc_retry and memory_pvalloc_retry.
1410
f3fd2628
SP
14112013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1412
4712799f
SP
1413 * locale/programs/locarchive.c (open_archive): Add const
1414 qualifier to ARCHIVEFNAME and copy default fname to
1415 DEFAULT_FNAME.
1416
0417b20f
SP
1417 [BZ #15601]
1418 * libio/tst-widetext.input: Rename Oriya to Odia.
1419 * locale/iso-639.def: Likewise.
1420
f3fd2628
SP
1421 * manual/probes.texi (Mathematical Function Probes): Add
1422 documentation for sin, cos, asin and acos probes.
1423 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1424 (__sin32): Add slowasin probe.
1425 (__cos32): Add slowacos probe.
1426 (__mpsin): Add slowsin probe.
1427 (__mpcos): Add slowcos probe.
1428
73c1ce4f
JM
14292013-11-19 Joseph Myers <joseph@codesourcery.com>
1430
1431 [BZ #15483]
1432 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1433 thread-local __sim_exceptions_thread and global
1434 __sim_exceptions_global.
1435 (__sim_disabled_exceptions): Change to thread-local
1436 __sim_disabled_exceptions_thread and global
1437 __sim_disabled_exceptions_global.
1438 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1439 and global __sim_round_mode_global.
1440 (__simulate_exceptions): Use thread-local floating-point state and
1441 set global state from it as needed.
1442 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1443 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1444 __sim_round_mode_thread.
1445 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1446 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1447 and global __sim_exceptions_global.
1448 (__sim_disabled_exceptions): Change to thread-local
1449 __sim_disabled_exceptions_thread and global
1450 __sim_disabled_exceptions_global.
1451 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1452 and global __sim_round_mode_global.
1453 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1454 (SIM_SET_GLOBAL): Likewise.
1455 * sysdeps/powerpc/soft-fp/sfp-machine.h
1456 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1457 __sim_round_mode_thread.
1458 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1459 __sim_disabled_exceptions_thread.
1460 (__sim_exceptions): Change to __sim_exceptions_thread.
1461 (__sim_disabled_exceptions): Change to
1462 __sim_disabled_exceptions_thread.
1463 (__sim_round_mode): Change to __sim_round_mode_thread.
1464 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1465 thread-local floating-point state and set global state from it as
1466 needed.
1467 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1468 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1469 (__sim_disabled_exceptions): Remove extern declaration.
1470 (feenableexcept): Use thread-local floating-point state and set
1471 global state from it as needed.
1472 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1473 extern declaration.
1474 (__sim_disabled_exceptions): Likewise.
1475 (__sim_round_mode): Likewise.
1476 (__fegetenv): Use thread-local floating-point state.
1477 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1478 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1479 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1480 floating-point state and set global state from it as needed.
1481 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1482 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1483 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1484 Likewise.
1485 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1486 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1487 Likewise.
1488 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1489 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1490 Use __sim_round_mode_thread.
1491 * math/test-fenv-tls.c: New file.
1492 * math/Makefile (tests): Add test-fenv-tls.
1493 ($(objpfx)test-fenv-tls): Depend on
1494 $(common-objpfx)nptl/libpthread.so.
1495
b5449b12
AS
14962013-11-19 Andreas Schwab <schwab@suse.de>
1497
1498 * locale/programs/locale.c (show_info): Decode wordarray elements.
1499 * locale/categories.def (LC_MONETARY): Add element for
1500 _NL_MONETARY_CRNCYSTR.
1501 * locale/C-monetary.c (conversion_rate): New variable.
1502 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1503 element.
1504
e186536b
CM
15052013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1506
1507 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1508 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1509
5c349950
PP
15102013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1511
1512 * elf/Makefile (tst-auxv): New test.
1513 * elf/tst-auxv.c: New
1514 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1515
699df45b
JM
15162013-11-18 Joseph Myers <joseph@codesourcery.com>
1517
1518 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1519 (hidden_proto): Caller changed.
1520 (hidden_tls_proto): New macro.
1521 (libc_hidden_tls_proto): Likewise.
1522 (rtld_hidden_tls_proto): Likewise.
1523 (libm_hidden_tls_proto): Likewise.
1524 (libresolv_hidden_tls_proto): Likewise.
1525 (librt_hidden_tls_proto): Likewise.
1526 (libdl_hidden_tls_proto): Likewise.
1527 (libnss_files_hidden_tls_proto): Likewise.
1528 (libnsl_hidden_tls_proto): Likewise.
1529 (libnss_nisplus_hidden_tls_proto): Likewise.
1530 (libutil_hidden_tls_proto): Likewise.
1531
b7589107
OB
15322013-11-18 Ondřej Bílka <neleai@seznam.cz>
1533
1534 [BZ #10253]
1535 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1536 (decompose_rpath): Defer expansion to fillin_rpath.
1537 (_dl_init_paths): Pass linkmap to fillin_rpath.
1538
250c23bd
RS
15392013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1540
1541 * benchtests/Makefile: Add strsep.
1542 * benchtests/bench-strsep.c: New file: strsep benchtest.
1543 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1544
a7931fcf
AS
15452013-11-18 Andreas Schwab <schwab@suse.de>
1546
1547 * locale/programs/locale.c (show_info) [case byte]: Check for
1548 '\377' instead of '\177'.
1549 * locale/C-monetary.c (not_available): Always use "\377".
1550 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1551 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1552 detect unavailable sign_posn locale elements.
1553 * locale/localeconv.c (__localeconv): For grouping and
1554 mon_grouping handle "\177" and "\377" like no grouping.
1555 (INT_ELEM): New macro. Use it to set all numeric members.
1556 * locale/programs/ld-monetary.c (monetary_read)
1557 <tok_mon_grouping>: Normalize single -1 to the empty string.
1558 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1559 Likewise.
1560
728dab0e
OB
15612013-11-07 Ondřej Bílka <neleai@seznam.cz>
1562
1563 [BZ #16055]
1564 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1565 when we match (nil).
1566 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1567
66294491
JM
15682013-11-16 Joseph Myers <joseph@codesourcery.com>
1569
ce665817
JM
1570 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1571 (NO_TEST_INLINE): Update value.
1572 (ERRNO_UNCHANGED): Likewise.
1573 (ERRNO_EDOM): Likewise.
1574 (ERRNO_ERANGE): Likewise.
1575 (IGNORE_RESULT): Likewise.
1576 (check_float_internal): Check signs of NaN results if
1577 TEST_NAN_SIGN used.
1578 (check_complex): Pass TEST_NAN_SIGN flag through to second
1579 check_float_internal call.
1580 (copysign_test_data): Add tests with quiet NaNs as second
1581 argument. Use TEST_NAN_SIGN.
1582 (fabs_test_data): Add test of negative quiet NaN argument. Use
1583 TEST_NAN_SIGN.
1584 (signbit_test_data): Add tests of quiet NaN argument.
1585 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1586
ee1466a9
JM
1587 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1588 $ignore_result.
1589 (parse_args): Handle function results specified as IGNORE.
1590 * math/libm-test.inc (IGNORE_RESULT): New macro.
1591 (check_float_internal): Do not check numerical result if flag
1592 IGNORE_RESULT set.
1593 (check_complex): Pass through IGNORE_RESULT to second
1594 check_float_internal call.
1595 (check_int): Do not check numerical result if flag IGNORE_RESULT
1596 set.
1597 (check_long): Likewise.
1598 (check_bool): Likewise.
1599 (check_longlong): Likewise.
1600 (lrint_test_data): Add tests of infinite and NaN arguments.
1601 (lrint_tonearest_test_data): Likewise.
1602 (lrint_towardzero_test_data): Likewise.
1603 (lrint_downward_test_data): Likewise.
1604 (lrint_upward_test_data): Likewise.
1605 (llrint_test_data): Likewise.
1606 (llrint_tonearest_test_data): Likewise.
1607 (llrint_towardzero_test_data): Likewise.
1608 (llrint_downward_test_data): Likewise.
1609 (llrint_upward_test_data): Likewise.
1610 (lround_test_data): Likewise.
1611 (llround_test_data): Likewise.
1612
14407b7e
JM
1613 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1614 (ERRNO_UNCHANGED): Update value.
1615 (ERRNO_EDOM): Likewise.
1616 (ERRNO_ERANGE): Likewise.
1617 (NO_TEST_INLINE_FLOAT): New macro.
1618 (NO_TEST_INLINE_DOUBLE): Likewise.
1619 (enable_test): New function.
1620 (RUN_TEST_f_f): Check enable_test before running test.
1621 (RUN_TEST_2_f): Likewise.
1622 (RUN_TEST_fff_f): Likewise.
1623 (RUN_TEST_c_f): Likewise.
1624 (RUN_TEST_f_f1): Likewise.
1625 (RUN_TEST_fF_f1): Likewise.
1626 (RUN_TEST_fI_f1): Likewise.
1627 (RUN_TEST_ffI_f1): Likewise.
1628 (RUN_TEST_c_c): Likewise.
1629 (RUN_TEST_cc_c): Likewise.
1630 (RUN_TEST_f_i): Likewise.
1631 (RUN_TEST_f_i_tg): Likewise.
1632 (RUN_TEST_ff_i_tg): Likewise.
1633 (RUN_TEST_f_b): Likewise.
1634 (RUN_TEST_f_b_tg): Likewise.
1635 (RUN_TEST_f_l): Likewise.
1636 (RUN_TEST_f_L): Likewise.
1637 (RUN_TEST_fFF_11): Likewise.
1638 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1639 conditionals.
1640 (cosh_test_data): Likewise.
1641 (exp_test_data): Likewise.
1642 (expm1_test_data): Likewise.
1643 (hypot_test_data): Likewise.
1644 (pow_test_data): Likewise.
1645 (sinh_test_data): Likewise.
1646 (tanh_test_data): Likewise.
1647 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1648 flags argument.
1649
ca07f197
JM
1650 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1651 tests with quiet NaN input and output.
1652 (acosh_test_data): Likewise.
1653 (asin_test_data): Likewise.
1654 (asinh_test_data): Likewise.
1655 (atan_test_data): Likewise.
1656 (atanh_test_data): Likewise.
1657 (atan2_test_data): Likewise.
1658 (cbrt_test_data): Likewise.
1659 (cos_test_data): Likewise.
1660 (cosh_test_data): Likewise.
1661 (erf_test_data): Likewise.
1662 (erfc_test_data): Likewise.
1663 (exp_test_data): Likewise.
1664 (exp10_test_data): Likewise.
1665 (exp2_test_data): Likewise.
1666 (expm1_test_data): Likewise.
1667 (hypot_test_data): Likewise.
1668 (j0_test_data): Likewise.
1669 (j1_test_data): Likewise.
1670 (jn_test_data): Likewise.
1671 (lgamma_test_data): Likewise.
1672 (log_test_data): Likewise.
1673 (log10_test_data): Likewise.
1674 (log1p_test_data): Likewise.
1675 (log2_test_data): Likewise.
1676 (pow_test_data): Likewise.
1677 (scalb_test_data): Likewise.
1678 (sin_test_data): Likewise.
1679 (sincos_test_data): Likewise.
1680 (sinh_test_data): Likewise.
1681 (tan_test_data): Likewise.
1682 (tanh_test_data): Likewise.
1683 (tgamma_test_data): Likewise.
1684 (y0_test_data): Likewise.
1685 (y1_test_data): Likewise.
1686 (yn_test_data): Likewise.
1687
66294491
JM
1688 [BZ #16167]
1689 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1690 argument being NaN and avoid computations with second argument in
1691 that case.
1692 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1693 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1694 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1695
1820b143
CL
16962013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1697
1698 * locale/iso-639.def: Add Chitwani Tharu (the).
1699
714bd261
AS
17002013-11-14 Andreas Schwab <schwab@suse.de>
1701
1702 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1703 word instead of empty string.
1704
7ab44563
AZ
17052013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1706
1707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1708 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1710 (__fe_nomask_env): Likewise.
1711
e8470ea2
SE
17122013-11-13 Steve Ellcey <sellcey@mips.com>
1713
1714 * benchtests/bench-timing.h: Include time.h.
1715
17c1d9f0
L
17162013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1717
1718 [BZ #15997]
1719 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1720 to 3.4.0 for x32.
1721 * sysdeps/unix/sysv/linux/configure: Regenerated.
1722
9310c284
JM
17232013-11-13 Joseph Myers <joseph@codesourcery.com>
1724
1725 [BZ #16151]
1726 * stdlib/strtod_l.c (round_and_return): Do not consider
1727 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1728 exponent one less than half the least subnormal exponent.
1729 * stdlib/test-strtod-round-data: Add more tests.
1730 * stdlib/tst-strtod-round.c (tests): Regenerated.
1731
7a2ad8cf
AZ
17322013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1733
1734 [BZ #14143]
1735 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1736 (__fe_mask_env): Likewise.
1737 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1738 libm_hidden_proto and add function prototype.
1739 (__fe_mask_env): Add function prototype.
1740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1741 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1743 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1745 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1746
50727aa7
MS
17472013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1748
b2f386c1 1749 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
1750 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1751
a615be46
MS
17522013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1753
1754 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1755 of htab_find_slot().
1756
7ddace62
DM
17572013-11-11 David S. Miller <davem@davemloft.net>
1758
1759 [BZ #16150]
1760 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1761 symbol in the non-vis3 case in static builds.
1762 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1763 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1764 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1765 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1766
9182aa67
JK
17672013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1768
1769 [BZ #387]
1770 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1771 it is empty.
1772
450a2e2d
AZ
17732013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1774
b2f386c1
SP
1775 * benchtests/Makefile: Add bench-strtod.
1776 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 1777
8ec3f656
AS
17782013-11-11 Andreas Schwab <schwab@suse.de>
1779
1780 [BZ #16153]
1781 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1782 terminating NUL in key length.
1783
76a9b998
AZ
17842013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1785
1786 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1787 Add artificial ODP entry for vDSO symbol for PPC64.
1788 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1789 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1790
e4368156
OB
17912013-11-07 Ondřej Bílka <neleai@seznam.cz>
1792
1793 [BZ #15374]
1794 * nss/getent.c (services_keys): Recognize services starting with digit.
1795
8d6bb57c
DM
17962013-11-06 David S. Miller <davem@davemloft.net>
1797
1798 [BZ #15985]
1799 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1800 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1801
e256c421
WN
18022013-11-06 Will Newton <will.newton@linaro.org>
1803
1804 * manual/memory.texi (Malloc Examples): Remove register
1805 keyword from examples.
1806
f6e12daa 18072013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 1808
f6e12daa 1809 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 1810
9d880655
AS
18112013-11-04 Joseph Myers <joseph@codesourcery.com>
1812
1813 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1814 depending on [__GCC_IEC_559 > 0].
1815 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1816 depending on [__GCC_IEC_559_COMPLEX > 0].
1817
ae129d3c
CL
18182013-11-03 Chris Leonard <cjl@sugarlabs.org>
1819
1820 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1821 to iso-639.def.
1822
4a15c2a4 18232013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
1824
1825 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1826
8b35e35d
OB
18272013-11-01 Ondřej Bílka <neleai@seznam.cz>
1828
1829 [BZ #16112]
1830 * malloc/malloc (malloc_info): Do not handle first bin as
1831 special case.
1832
1d70fd6c
CL
18332013-11-01 Chris Leonard <cjl@sugarlabs.org>
1834
1835 * locale/iso-639.def: Add Central Nahuatl (nhn).
1836
8c5c2600
BH
18372013-11-01 Bruno Haible <bruno@clisp.org>
1838
1839 [BZ #7003]
1840 * manual/math.texi (BSD Random): Specify range upper bound as
1841 in POSIX.
1842
da5579c2
CL
18432013-10-31 Chris Leonard <cjl@sugarlabs.org>
1844
1845 * locale/iso-639.def: Add Meadow Mari (mhr).
1846
5d30d853
OB
18472013-10-31 Ondřej Bílka <neleai@seznam.cz>
1848
1849 [BZ #14752], [BZ #15763]
1850 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1851 Validate name.
1852 * rt/tst_shm.c: Add test for escaping directory.
1853
a4966c61
AS
18542013-10-31 Andreas Schwab <schwab@suse.de>
1855
8a43e768 1856 [BZ #15917]
a4966c61
AS
1857 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1858 followed by 'x' as part of digit sequence.
1859 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1860
28d708c4
MAP
18612013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1862
1863 [BZ #16037]
1864 * configure.ac: allow GNU Make 4.0 and greater.
1865 * configure: Regenerated.
1866
a56ee40b
WN
18672013-10-30 Will Newton <will.newton@linaro.org>
1868
1869 [BZ #16038]
1870 * malloc/hooks.c (memalign_check): Limit alignment to the
1871 maximum representable power of two.
1872 * malloc/malloc.c (__libc_memalign): Likewise.
1873 * malloc/tst-memalign.c (do_test): Add test for very
1874 large alignment values.
1875 * malloc/tst-posix_memalign.c (do_test): Likewise.
1876
c6e4925d
OB
18772013-10-30 Ondřej Bílka <neleai@seznam.cz>
1878
1879 [BZ #11087]
1880 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1881 (munmap_chunk): Likewise.
1882 (mremap_chunk): Likewise.
1883
18842013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 1885
8a43e768 1886 [BZ #15799]
bbea82f7
OB
1887 * stdlib/div.c (div): Remove obsolete code.
1888 * stdlib/ldiv.c (ldiv): Likewise.
1889 * stdlib/lldiv.c (lldiv): Likewise.
1890
977f4b31
SP
18912013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1892
1893 [BZ #16071]
1894 * nss/nss_files/files-XXX.c (get_contents_ret): New
1895 enumerator.
1896 (get_contents): New function.
1897 (internal_getent): Use it. Expand size of LINEBUFLEN.
1898
cb8a6dbd
MF
18992013-10-30 Mike Frysinger <vapier@gentoo.org>
1900
1901 * configure.in: Moved to ...
1902 * configure.ac: ... here. Change reference to configure.in
1903 to configure.ac.
1904 * sysdeps/arm/preconfigure.ac: ... here.
1905 configure.in to configure.ac.
1906 * sysdeps/gnu/configure.in: Moved to ...
1907 * sysdeps/gnu/configure.ac: ... here.
1908 * sysdeps/i386/configure.in: Moved to ...
1909 * sysdeps/i386/configure.ac: ... here.
1910 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1911 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1912 * sysdeps/mach/configure.in: Moved to ...
1913 * sysdeps/mach/configure.ac: ... here.
1914 * sysdeps/mach/hurd/configure.in: Moved to ...
1915 * sysdeps/mach/hurd/configure.ac: ... here.
1916 * sysdeps/powerpc/configure.in: Moved to ...
1917 * sysdeps/powerpc/configure.ac: ... here.
1918 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1919 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1920 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1921 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1922 * sysdeps/s390/s390-32/configure.in: Moved to ...
1923 * sysdeps/s390/s390-32/configure.ac: ... here.
1924 * sysdeps/s390/s390-64/configure.in: Moved to ...
1925 * sysdeps/s390/s390-64/configure.ac: ... here.
1926 * sysdeps/sh/configure.in: Moved to ...
1927 * sysdeps/sh/configure.ac: ... here.
1928 * sysdeps/sparc/configure.in: Moved to ...
1929 * sysdeps/sparc/configure.ac: ... here.
1930 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1931 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1932 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1933 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1934 * sysdeps/x86_64/configure.in: Moved to ...
1935 * sysdeps/x86_64/configure.ac: ... here.
1936 * sysdeps/x86_64/preconfigure.in: Moved to ...
1937 * sysdeps/x86_64/preconfigure.ac: ... here.
1938 * aclocal.m4: Change reference to configure.in to configure.ac.
1939 * config.h.in: Likewise.
1940 * manual/install.texi: Likewise.
1941 * manual/maint.texi: Likewise.
1942 * Makefile: Likewise.
1943 * malloc/Makefile: Likewise.
1944 * nscd/Makefile: Likewise.
1945 * Makeconfig: Change reference to configure.in and
1946 preconfigure.in to configure.ac and preconfigure.ac
1947 respectively.
1948 * INSTALL: Regenerated.
1949 * configure: Likewise.
1950 * sysdeps/gnu/configure: Likewise.
1951 * sysdeps/i386/configure: Likewise.
1952 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1953 * sysdeps/mach/configure: Likewise.
1954 * sysdeps/mach/hurd/configure: Likewise.
1955 * sysdeps/powerpc/configure: Likewise.
1956 * sysdeps/powerpc/powerpc32/configure: Likewise.
1957 * sysdeps/powerpc/powerpc64/configure: Likewise.
1958 * sysdeps/s390/s390-32/configure: Likewise.
1959 * sysdeps/s390/s390-64/configure: Likewise.
1960 * sysdeps/sh/configure: Likewise.
1961 * sysdeps/sparc/configure: Likewise.
1962 * sysdeps/unix/sysv/linux/configure: Likewise.
1963 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1964 * sysdeps/x86_64/configure: Likewise.
1965 * sysdeps/x86_64/preconfigure: Likewise.
1966
36a4953a
AS
19672013-10-29 Andreas Schwab <schwab@suse.de>
1968
1969 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1970
c79a1204
SP
19712013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1972
dfa1b402
SP
1973 * benchtests/pow-inputs: Add new inputs.
1974
54f73d9c
SP
1975 * benchtests/exp-inputs: Add new inputs.
1976
c79a1204
SP
1977 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1978 conditional check for return value.
1979 (__cos32): Likewise.
1980
67beb545 19812013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
1982
1983 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1984 to provide a boost for large inputs with word alignment.
1985 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1986 implementation based on optimized PPC64 strcpy.
1987 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1988 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1989 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1990 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1991
151659f6
OB
19922013-10-25 Ondřej Bílka <neleai@seznam.cz>
1993
482a077e 1994 [BZ #2801]
151659f6
OB
1995 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1996
10b0f26b
OB
19972013-10-25 Ondřej Bílka <neleai@seznam.cz>
1998
1999 [BZ #14876]
2000 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2001 * time/tst-strptime.c (day_tests): Add testcase.
2002
ca42d35e
OB
20032013-10-25 Ondřej Bílka <neleai@seznam.cz>
2004
482a077e 2005 [BZ #14029]
ca42d35e
OB
2006 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2007
52e6d801
FB
20082013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2009
2010 [BZ #16074]
2011 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2012 MAP_FAILED on error.
2013
7cbcdb36
SP
20142013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2015
2016 [BZ #16072]
2017 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2018 heap for large requests.
2019
894f3f10
AM
20202013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2021
2022 [BZ #9954]
2023 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2024 result if the result has no associated interface.
2025 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2026 interface for all 127.X.Y.Z addresses.
2027
b85545a6
CL
20282013-10-24 Chris Leonard <cjl@sugarlabs.org>
2029
2030 * locale/iso-639.def: Add Ligurian (lij)
2031
d1f23d46
OB
20322013-10-21 Ondřej Bílka <neleai@seznam.cz>
2033
2034 [BZ #15825]
2035 * sunrpc/rpc_main.c: Document rpcgen -5.
2036
4db5b08f
MS
20372013-10-19 Michael Stahl <mstahl@redhat.com>
2038
2039 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2040
a471e96a
OB
20412013-10-19 Ondřej Bílka <neleai@seznam.cz>
2042
d1f23d46 2043 [BZ #10278]
a471e96a
OB
2044 * posix/glob.c: Match only directories when trailing slash is present.
2045 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2046 (main): Add testcase.
2047
45c30c61
OB
20482013-10-19 Ondřej Bílka <neleai@seznam.cz>
2049
2050 [BZ #15670]
2051 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2052
484c12fb
CD
20532013-10-18 Carlos O'Donell <carlos@redhat.com>
2054
3d7dc513
CD
2055 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2056 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2057 AUTH_DES and cindex for FIPS 140-2.
2058 (DES Encryption): Add cindex FIPS 46-3.
2059
484c12fb
CD
2060 * locale/locarchive.h (struct locarhandle): Add fname.
2061 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2062 if an optional argument was specified to --list-archive,
2063 otherwise NULL.
2064 * locale/programs/locarchive.c (show_archive_content): Take new
2065 argument fname and pass it via ah.fname to open_archive.
2066 * locale/programs/localedef.h: Update decl.
2067 (open_archive): If AH->fname is non-null, open that file
2068 rather than the default file name, and don't ignore ENOENT.
2069 (create_archive): Set AH.fname to NULL.
2070 (delete_locales_from_archive): Likewise.
2071 (add_locales_to_archive): Likewise.
2072 * locale/programs/locfile.c (write_all_categories): Likewise.
2073
3c8325fb
JM
20742013-10-18 Joseph Myers <joseph@codesourcery.com>
2075 Aldy Hernandez <aldyh@redhat.com>
2076
2077 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2078 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2079 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2080 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2081 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2082 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2083 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2084 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2085 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2086 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2087 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2088 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2089 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2090 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2091 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2092 Likewise.
2093 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2094 Likewise.
2095 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2096 Likewise.
2097 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2098 Likewise.
2099 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2100 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2101 Likewise.
2102 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2103 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2104 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2105 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2106 Likewise.
2107 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2108 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2109 * sysdeps/powerpc/preconfigure: Likewise.
2110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2111 Likewise.
2112 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2113 Replace contents of file by #include of <fenv_libc.h>.
2114 * sysdeps/powerpc/soft-fp/sfp-machine.h
2115 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2116 and <sys/prctl.h>.
2117 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2118 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2119 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2120 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2121 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2122 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2123 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2124 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2125 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2126 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2127 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2128 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2130 Allow copysignl PLT reference to be missing.
2131
5abe0682
RS
21322013-10-18 Richard Sandiford <richard@codesourcery.com>
2133 Joseph Myers <joseph@codesourcery.com
2134
2135 [BZ #15948]
2136 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2137 single character.
2138 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2139
c7738d08
SP
21402013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2141
2142 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2143 * elf/tst-tls1.c: Likewise.
2144 * elf/tst-tls10.h: Likewise.
2145 * elf/tst-tls14.c: Likewise.
2146 * elf/tst-tls2.c: Likewise.
2147 * elf/tst-tls3.c: Likewise.
2148 * elf/tst-tls4.c: Likewise.
2149 * elf/tst-tls5.c: Likewise.
2150 * elf/tst-tls6.c: Likewise.
2151 * elf/tst-tls7.c: Likewise.
2152 * elf/tst-tls8.c: Likewise.
2153 * elf/tst-tls9.c: Likewise.
2154 * elf/tst-tlsmod1.c: Likewise.
2155 * elf/tst-tlsmod13.c: Likewise.
2156 * elf/tst-tlsmod13a.c: Likewise.
2157 * elf/tst-tlsmod14a.c: Likewise.
2158 * elf/tst-tlsmod16a.c: Likewise.
2159 * elf/tst-tlsmod16b.c: Likewise.
2160 * elf/tst-tlsmod2.c: Likewise.
2161 * elf/tst-tlsmod3.c: Likewise.
2162 * elf/tst-tlsmod4.c: Likewise.
2163 * elf/tst-tlsmod5.c: Likewise.
2164 * elf/tst-tlsmod6.c: Likewise.
2165
0bfcf2c7
OB
21662013-10-18 Ondřej Bílka <neleai@seznam.cz>
2167
2168 [BZ #12486]
2169 * malloc/malloc.c: remove checks for statistics.
2170
264aad1e
OB
21712013-10-17 Ondřej Bílka <neleai@seznam.cz>
2172
2173 [BZ #15277]
2174 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2175 * inet/tst-network.c: Add testcase.
2176
b957ced8
AS
21772013-10-17 Andreas Schwab <schwab@suse.de>
2178
2179 [BZ #15218]
2180 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2181 to determine canonical name.
2182
c5d5d574
OB
21832013-10-17 Ondřej Bílka <neleai@seznam.cz>
2184
2185 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2186 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2187 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2188 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2189 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2190 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2191 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2192 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2193 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2194 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2195 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2196 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2197 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2198 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2199 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2200 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2201 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2202 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2203 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2204 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2205 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2206 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2207 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2208 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2209 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2210 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2211 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2212 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2213 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2214 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2215 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2216 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2217 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2218 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2219 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2220 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2221 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2222 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2223 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2224 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2225 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2226 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2227 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2228 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2229 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2230 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2231 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2232 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2233 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2234 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2235 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2236 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2237 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2238 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2239 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2240 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2241 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2242 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2243
e5c2c2d0
JM
22442013-10-17 Joseph Myers <joseph@codesourcery.com>
2245
2246 [BZ #16041]
2247 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2248 make result into a quiet NaN.
2249
51ca9e29
JM
22502013-10-16 Joseph Myers <joseph@codesourcery.com>
2251
2252 * soft-fp/adddf3.c: Fix horizontal whitespace.
2253 * soft-fp/addsf3.c: Likewise.
2254 * soft-fp/addtf3.c: Likewise.
2255 * soft-fp/divdf3.c: Likewise.
2256 * soft-fp/divsf3.c: Likewise.
2257 * soft-fp/divtf3.c: Likewise.
2258 * soft-fp/double.h: Likewise.
2259 * soft-fp/eqdf2.c: Likewise.
2260 * soft-fp/eqsf2.c: Likewise.
2261 * soft-fp/eqtf2.c: Likewise.
2262 * soft-fp/extenddftf2.c: Likewise.
2263 * soft-fp/extended.h: Likewise.
2264 * soft-fp/extendsfdf2.c: Likewise.
2265 * soft-fp/extendsftf2.c: Likewise.
2266 * soft-fp/extendxftf2.c: Likewise.
2267 * soft-fp/fixdfdi.c: Likewise.
2268 * soft-fp/fixdfsi.c: Likewise.
2269 * soft-fp/fixdfti.c: Likewise.
2270 * soft-fp/fixsfdi.c: Likewise.
2271 * soft-fp/fixsfsi.c: Likewise.
2272 * soft-fp/fixsfti.c: Likewise.
2273 * soft-fp/fixtfdi.c: Likewise.
2274 * soft-fp/fixtfsi.c: Likewise.
2275 * soft-fp/fixtfti.c: Likewise.
2276 * soft-fp/fixunsdfdi.c: Likewise.
2277 * soft-fp/fixunsdfsi.c: Likewise.
2278 * soft-fp/fixunsdfti.c: Likewise.
2279 * soft-fp/fixunssfdi.c: Likewise.
2280 * soft-fp/fixunssfsi.c: Likewise.
2281 * soft-fp/fixunssfti.c: Likewise.
2282 * soft-fp/fixunstfdi.c: Likewise.
2283 * soft-fp/fixunstfsi.c: Likewise.
2284 * soft-fp/fixunstfti.c: Likewise.
2285 * soft-fp/floatdidf.c: Likewise.
2286 * soft-fp/floatdisf.c: Likewise.
2287 * soft-fp/floatditf.c: Likewise.
2288 * soft-fp/floatsidf.c: Likewise.
2289 * soft-fp/floatsisf.c: Likewise.
2290 * soft-fp/floatsitf.c: Likewise.
2291 * soft-fp/floattidf.c: Likewise.
2292 * soft-fp/floattisf.c: Likewise.
2293 * soft-fp/floattitf.c: Likewise.
2294 * soft-fp/floatundidf.c: Likewise.
2295 * soft-fp/floatundisf.c: Likewise.
2296 * soft-fp/floatunditf.c: Likewise.
2297 * soft-fp/floatunsidf.c: Likewise.
2298 * soft-fp/floatunsisf.c: Likewise.
2299 * soft-fp/floatunsitf.c: Likewise.
2300 * soft-fp/floatuntidf.c: Likewise.
2301 * soft-fp/floatuntisf.c: Likewise.
2302 * soft-fp/floatuntitf.c: Likewise.
2303 * soft-fp/fmadf4.c: Likewise.
2304 * soft-fp/fmasf4.c: Likewise.
2305 * soft-fp/fmatf4.c: Likewise.
2306 * soft-fp/gedf2.c: Likewise.
2307 * soft-fp/gesf2.c: Likewise.
2308 * soft-fp/getf2.c: Likewise.
2309 * soft-fp/ledf2.c: Likewise.
2310 * soft-fp/lesf2.c: Likewise.
2311 * soft-fp/letf2.c: Likewise.
2312 * soft-fp/muldf3.c: Likewise.
2313 * soft-fp/mulsf3.c: Likewise.
2314 * soft-fp/multf3.c: Likewise.
2315 * soft-fp/negdf2.c: Likewise.
2316 * soft-fp/negsf2.c: Likewise.
2317 * soft-fp/negtf2.c: Likewise.
2318 * soft-fp/op-1.h: Likewise.
2319 * soft-fp/op-2.h: Likewise.
2320 * soft-fp/op-4.h: Likewise.
2321 * soft-fp/op-8.h: Likewise.
2322 * soft-fp/op-common.h: Likewise.
2323 * soft-fp/quad.h: Likewise.
2324 * soft-fp/single.h: Likewise.
2325 * soft-fp/soft-fp.h: Likewise.
2326 * soft-fp/sqrtdf2.c: Likewise.
2327 * soft-fp/sqrtsf2.c: Likewise.
2328 * soft-fp/sqrttf2.c: Likewise.
2329 * soft-fp/subdf3.c: Likewise.
2330 * soft-fp/subsf3.c: Likewise.
2331 * soft-fp/subtf3.c: Likewise.
2332 * soft-fp/truncdfsf2.c: Likewise.
2333 * soft-fp/trunctfdf2.c: Likewise.
2334 * soft-fp/trunctfsf2.c: Likewise.
2335 * soft-fp/trunctfxf2.c: Likewise.
2336 * soft-fp/unorddf2.c: Likewise.
2337 * soft-fp/unordsf2.c: Likewise.
2338 * soft-fp/unordtf2.c: Likewise.
2339
9ebb0332
JM
23402013-10-15 Joseph Myers <joseph@codesourcery.com>
2341
2342 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2343 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2344
4b1a6d8b
OB
23452013-10-15 Ondřej Bílka <neleai@seznam.cz>
2346
2347 * elf/dl-libc.c: Clear initfini list after freeing.
2348
1e145589
JM
23492013-10-14 Joseph Myers <joseph@codesourcery.com>
2350
2351 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2352 * soft-fp/addsf3.c: Likewise.
2353 * soft-fp/addtf3.c: Likewise.
2354 * soft-fp/divdf3.c: Likewise.
2355 * soft-fp/divsf3.c: Likewise.
2356 * soft-fp/divtf3.c: Likewise.
2357 * soft-fp/double.h: Likewise.
2358 * soft-fp/eqdf2.c: Likewise.
2359 * soft-fp/eqsf2.c: Likewise.
2360 * soft-fp/eqtf2.c: Likewise.
2361 * soft-fp/extenddftf2.c: Likewise.
2362 * soft-fp/extended.h: Likewise.
2363 * soft-fp/extendsfdf2.c: Likewise.
2364 * soft-fp/extendsftf2.c: Likewise.
2365 * soft-fp/extendxftf2.c: Likewise.
2366 * soft-fp/fixdfdi.c: Likewise.
2367 * soft-fp/fixdfsi.c: Likewise.
2368 * soft-fp/fixdfti.c: Likewise.
2369 * soft-fp/fixsfdi.c: Likewise.
2370 * soft-fp/fixsfsi.c: Likewise.
2371 * soft-fp/fixsfti.c: Likewise.
2372 * soft-fp/fixtfdi.c: Likewise.
2373 * soft-fp/fixtfsi.c: Likewise.
2374 * soft-fp/fixtfti.c: Likewise.
2375 * soft-fp/fixunsdfdi.c: Likewise.
2376 * soft-fp/fixunsdfsi.c: Likewise.
2377 * soft-fp/fixunsdfti.c: Likewise.
2378 * soft-fp/fixunssfdi.c: Likewise.
2379 * soft-fp/fixunssfsi.c: Likewise.
2380 * soft-fp/fixunssfti.c: Likewise.
2381 * soft-fp/fixunstfdi.c: Likewise.
2382 * soft-fp/fixunstfsi.c: Likewise.
2383 * soft-fp/fixunstfti.c: Likewise.
2384 * soft-fp/floatdidf.c: Likewise.
2385 * soft-fp/floatdisf.c: Likewise.
2386 * soft-fp/floatditf.c: Likewise.
2387 * soft-fp/floatsidf.c: Likewise.
2388 * soft-fp/floatsisf.c: Likewise.
2389 * soft-fp/floatsitf.c: Likewise.
2390 * soft-fp/floattidf.c: Likewise.
2391 * soft-fp/floattisf.c: Likewise.
2392 * soft-fp/floattitf.c: Likewise.
2393 * soft-fp/floatundidf.c: Likewise.
2394 * soft-fp/floatundisf.c: Likewise.
2395 * soft-fp/floatunsidf.c: Likewise.
2396 * soft-fp/floatunsisf.c: Likewise.
2397 * soft-fp/floatuntidf.c: Likewise.
2398 * soft-fp/floatuntisf.c: Likewise.
2399 * soft-fp/floatuntitf.c: Likewise.
2400 * soft-fp/fmadf4.c: Likewise.
2401 * soft-fp/fmasf4.c: Likewise.
2402 * soft-fp/fmatf4.c: Likewise.
2403 * soft-fp/gedf2.c: Likewise.
2404 * soft-fp/gesf2.c: Likewise.
2405 * soft-fp/getf2.c: Likewise.
2406 * soft-fp/ledf2.c: Likewise.
2407 * soft-fp/lesf2.c: Likewise.
2408 * soft-fp/letf2.c: Likewise.
2409 * soft-fp/muldf3.c: Likewise.
2410 * soft-fp/mulsf3.c: Likewise.
2411 * soft-fp/multf3.c: Likewise.
2412 * soft-fp/negdf2.c: Likewise.
2413 * soft-fp/negsf2.c: Likewise.
2414 * soft-fp/negtf2.c: Likewise.
2415 * soft-fp/op-1.h: Likewise.
2416 * soft-fp/op-2.h: Likewise.
2417 * soft-fp/op-4.h: Likewise.
2418 * soft-fp/op-8.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 * soft-fp/sqrtdf2.c: Likewise.
2424 * soft-fp/sqrtsf2.c: Likewise.
2425 * soft-fp/sqrttf2.c: Likewise.
2426 * soft-fp/subdf3.c: Likewise.
2427 * soft-fp/subsf3.c: Likewise.
2428 * soft-fp/subtf3.c: Likewise.
2429 * soft-fp/truncdfsf2.c: Likewise.
2430 * soft-fp/trunctfdf2.c: Likewise.
2431 * soft-fp/trunctfsf2.c: Likewise.
2432 * soft-fp/trunctfxf2.c: Likewise.
2433 * soft-fp/unorddf2.c: Likewise.
2434 * soft-fp/unordsf2.c: Likewise.
2435 * soft-fp/unordtf2.c: Likewise.
2436
17c48a60
OB
24372013-10-14 Ondřej Bílka <neleai@seznam.cz>
2438
2439 [BZ #15672]
2440 * misc/error.c (error_tail): Fix possible buffer overflow.
2441
cabba934
OB
24422013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2443
2444 [BZ #13028]
2445 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2446 address.
2447
94bf958a
PM
24482013-10-14 P. J. McDermott <pj@pehjota.net>
2449
2450 [BZ #832]
2451 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2452 testing pipefail option.
2453
71b4dea7
JM
24542013-10-12 Joseph Myers <joseph@codesourcery.com>
2455
2456 * soft-fp/double.h: Indent preprocessor directives inside #if.
2457 * soft-fp/extended.h: Likewise.
2458 * soft-fp/op-2.h: Likewise.
2459 * soft-fp/op-4.h: Likewise.
2460 * soft-fp/op-common.h: Likewise.
2461 * soft-fp/quad.h: Likewise.
2462 * soft-fp/single.h: Likewise.
2463 * soft-fp/soft-fp.h: Likewise.
2464
55602758
YC
24652013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2466
2467 * iconv/iconv_prog.c: Fix typos.
2468 * stdio-common/psiginfo-data.h: Likewise.
2469
9cd83302
RT
24702013-10-12 Reuben Thomas <rrt@sc3d.org>
2471
2472 [BZ #15764]
2473 * locale/setlocale.c: Fix typo.
2474
99fd9f47
JM
24752013-10-12 Joseph Myers <joseph@codesourcery.com>
2476
b7ea74f0
JM
2477 [BZ #16036]
2478 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2479 signaling NaN arguments.
2480 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2481 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2482
8a509447
JM
2483 [BZ #14910]
2484 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2485 unordered operands.
2486 * soft-fp/gesf2.c (__gesf2): Likewise.
2487 * soft-fp/getf2.c (__getf2): Likewise.
2488 * soft-fp/ledf2.c (__ledf2): Likewise.
2489 * soft-fp/lesf2.c (__lesf2): Likewise.
2490 * soft-fp/letf2.c (__letf2): Likewise.
2491
98998e9f
JM
2492 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2493 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2494 * soft-fp/eqtf2.c (__eqtf2): Likewise.
2495 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2496 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2497 * soft-fp/fixdfti.c (__fixdfti): Likewise.
2498 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2499 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2500 * soft-fp/fixsfti.c (__fixsfti): Likewise.
2501 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2502 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2503 * soft-fp/fixtfti.c (__fixtfti): Likewise.
2504 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2505 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2506 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2507 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2508 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2509 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2510 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2511 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2512 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2513 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2514 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2515 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2516 * soft-fp/floattidf.c (__floattidf): Likewise.
2517 * soft-fp/floattisf.c (__floattisf): Likewise.
2518 * soft-fp/floattitf.c (__floattitf): Likewise.
2519 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2520 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2521 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2522 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2523 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2524 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2525 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2526 * soft-fp/gesf2.c (__gesf2): Likewise.
2527 * soft-fp/getf2.c (__getf2): Likewise.
2528 * soft-fp/ledf2.c (__ledf2): Likewise.
2529 * soft-fp/lesf2.c (__lesf2): Likewise.
2530 * soft-fp/letf2.c (__letf2): Likewise.
2531
8edc4a11
JM
2532 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2533 Undefine and redefine.
2534 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2535 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2536 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2537 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2538 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2539 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2540 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2541 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2542 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2543 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2544 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2545 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2546 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2547 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2548 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2549
8399acaf
JM
2550 [BZ #16032]
2551 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2552 without decrementing exponent if mantissa >= that for the
2553 denominator, not >.
2554 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2555 denominator, not >. Decrement exponent in < case instead of
2556 incrementing in >= case.
2557 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2558 without decrementing exponent if mantissa >= that for the
2559 denominator, not >.
2560
99fd9f47
JM
2561 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2562 computing saturated result for unsigned overflow.
2563
10e1cf6b
SP
25642013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2565 Jeff Law <law@redhat.com>
2566
2567 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2568 (atan2Mp): Add systemtap probe marker.
2569 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2570 (__ieee754_log): Add systemtap probe marker.
2571 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2572 (atanMp): Add systemtap probe marker.
2573 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2574 (tanMp): Add systemtap probe marker.
2575 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2576 (__slowexp): Add systemtap probe marker.
2577 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2578 (__slowpow): Add systemtap probe marker.
2579 * manual/probes.texi: Document probes.
2580
3d110c7c
EB
25812013-10-11 Eric Biggers <ebiggers3@gmail.com>
2582
2583 [BZ #15362]
2584 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2585 written.
2586 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2587 written.
2588 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2589 written to buffer but not flushed.
2590 * libio/iofwrite_u.c: Likewise.
2591 * libio/iopadn.c: Return bytes returned even if EOF was
2592 encountered.
2593 * libio/iowpadn.c: Likewise.
2594 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2595 if _IO_padn does not write the whole buffer.
2596 [!COMPILE_WPRINTF] (PAD): Likewise.
2597
75b4202a
DM
25982013-10-10 David S. Miller <davem@davemloft.net>
2599
2600 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2601 directory block.
2602
6c6352e6
JM
26032013-10-10 Joseph Myers <joseph@codesourcery.com>
2604
33b853c3
JM
2605 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2606 instead of FSF address.
2607 * soft-fp/fixdfti.c: Likewise.
2608 * soft-fp/fixsfti.c: Likewise.
2609 * soft-fp/fixtfti.c: Likewise.
2610 * soft-fp/fixunsdfti.c: Likewise.
2611 * soft-fp/fixunssfti.c: Likewise.
2612 * soft-fp/fixunstfti.c: Likewise.
2613 * soft-fp/floattidf.c: Likewise.
2614 * soft-fp/floattisf.c: Likewise.
2615 * soft-fp/floattitf.c: Likewise.
2616 * soft-fp/floatuntidf.c: Likewise.
2617 * soft-fp/floatuntisf.c: Likewise.
2618 * soft-fp/floatuntitf.c: Likewise.
2619 * soft-fp/trunctfxf2.c: Likewise.
2620
6c6352e6
JM
2621 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2622 * soft-fp/fixdfti.c: Likewise.
2623 * soft-fp/fixsfti.c: Likewise.
2624 * soft-fp/fixtfti.c: Likewise.
2625 * soft-fp/fixunsdfti.c: Likewise.
2626 * soft-fp/fixunssfti.c: Likewise.
2627 * soft-fp/fixunstfti.c: Likewise.
2628 * soft-fp/floattidf.c: Likewise.
2629 * soft-fp/floattisf.c: Likewise.
2630 * soft-fp/floattitf.c: Likewise.
2631 * soft-fp/floatuntidf.c: Likewise.
2632 * soft-fp/floatuntisf.c: Likewise.
2633 * soft-fp/floatuntitf.c: Likewise.
2634 * soft-fp/trunctfxf2.c: Likewise.
2635
3bf78b71
DM
26362013-10-10 David S. Miller <davem@davemloft.net>
2637
2638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2639
6f10289e
JM
26402013-10-10 Joseph Myers <joseph@codsourcery.com>
2641
bd878fc0
JM
2642 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2643 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2644 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2645 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2646 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2647 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2648 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2649
6f10289e
JM
2650 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2651 for NaNs before doing comparisons on argument.
2652 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2653 Likewise.
2654
321e2684
WN
26552013-10-10 Will Newton <will.newton@linaro.org>
2656
2657 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2658 passed to _int_memalign does not overflow.
2659
40fefba1
TR
26602013-10-10 Torvald Riegel <triegel@redhat.com>
2661
2662 * scripts/bench.pl: Add include-sources directive.
2663 * benchtests/README: Update documentation.
2664
2ae21ed2
JM
26652013-10-10 Joseph Myers <joseph@codesourcery.com>
2666
dcc2dd3f
JM
2667 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2668 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2669 instead of FP_INIT_ROUNDMODE.
2670 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2671 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2672
2ae21ed2
JM
2673 [BZ #16034]
2674 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2675 copy class of input value.
2676 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2677 not handle exceptions.
2678 * soft-fp/negsf2.c (__negsf2): Likewise.
2679 * soft-fp/negtf2.c (__negtf2): Likewise.
2680 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2681
cb8f9562
JM
26822013-10-09 Joseph Myers <joseph@codesourcery.com>
2683
2684 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2685 semicolon. From Linux kernel.
2686
5b60c59d
AB
26872013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2688
2689 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2690
b86835ca
YC
26912013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2692
2693 [BZ #156]
2694 * manual/socket.texi: Added statement about buffer
2695 for gethostbyname2_r.
2696
e7044ea7
OB
26972013-10-08 Ondřej Bílka <neleai@seznam.cz>
2698
2699 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2700 Use .p2align directive instead, throughout.
2701 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2702 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2703 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2704 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2705 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2706 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2707 * sysdeps/x86_64/strchr.S: Likewise.
2708 * sysdeps/x86_64/strrchr.S: Likewise.
2709
09544cbc
SP
27102013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2711
88576635
SP
2712 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2713
e7b2d1dd
SP
2714 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2715
09544cbc
SP
2716 * sysdeps/generic/math_private.h (__mpsin1): Remove
2717 declaration.
2718 (__mpcos1): Likewise.
2719 (__mpsin): New argument __range_reduce.
2720 (__mpcos): Likewise.
2721 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2722 (slow): Use __mpsin and __mpcos.
2723 (slow1): Likewise.
2724 (slow2): Likewise.
2725 (sloww): Likewise.
2726 (sloww1): Likewise.
2727 (sloww2): Likewise.
2728 (bsloww): Likewise.
2729 (bsloww1): Likewise.
2730 (bsloww2): Likewise.
2731 (cslow2): Likewise.
2732 (csloww): Likewise.
2733 (csloww1): Likewise.
2734 (csloww2): Likewise.
2735 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2736 range_reduce. Merge in __mpsin1.
2737 (__mpcos): Likewise.
2738 (__mpsin1): Remove.
2739 (__mpcos1): Likewise.
2740
7602d070
JM
27412013-10-07 Joseph Myers <joseph@codesourcery.com>
2742
2743 * locale/loadlocale.c (_nl_intern_locale_data): Use
2744 LOCFILE_ALIGNED_P.
2745 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2746 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2747 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2748 obstack data is appropriately aligned.
2749 (obstack_int32_grow_fast): Likewise.
2750 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2751 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2752 (add_locale_uint32_array): Likewise.
2753
a357259b
SP
27542013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2755
2756 * benchtests/Makefile: Remove ARGLIST and RET variables.
2757 ($(objpfx)bench-%.c): Pass only function name to the script.
2758 * benchtests/README: Update documentation.
2759 * benchtests/acos-inputs: Add new directives.
2760 * benchtests/acosh-inputs: Likewise.
2761 * benchtests/asin-inputs: Likewise.
2762 * benchtests/asinh-inputs: Likewise.
2763 * benchtests/atan-inputs: Likewise.
2764 * benchtests/atanh-inputs: Likewise.
2765 * benchtests/cos-inputs: Likewise.
2766 * benchtests/cosh-inputs: Likewise.
2767 * benchtests/exp-inputs: Likewise.
2768 * benchtests/log-inputs: Likewise.
2769 * benchtests/pow-inputs: Likewise.
2770 * benchtests/rint-inputs: Likewise.
2771 * benchtests/sin-inputs: Likewise.
2772 * benchtests/sinh-inputs: Likewise.
2773 * benchtests/tan-inputs: Likewise.
2774 * benchtests/tanh-inputs: Likewise.
2775 * scripts/bench.pl: Add support for new directives.
2776
9ec1b13d
AM
27772013-10-07 Alan Modra <amodra@gmail.com>
2778
2779 * README: Fix careless merge.
2780
8b7d57cd
AM
27812013-10-05 Alan Modra <amodra@gmail.com>
2782
2783 * NEWS: Mention powerpc64le support and bugs fixed.
2784 * README: Both big-endian and little-endian powerpc64 supported.
2785
7b7bab13
ST
27862013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2787
2788 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2789 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2790 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2791 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2792
d39baad1
RA
27932013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
2794
2795 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2796 match prototype.
2797
cd78f7e7
JM
27982013-10-04 Joseph Myers <joseph@codesourcery.com>
2799
29d73d86
JM
2800 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2801 Move -mhard-float appending from
2802 ports/sysdeps/powerpc/powerpc32/Makefile.
2803 [$(with-fp) = yes] (ASFLAGS): Likewise.
2804 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2805 * sysdeps/powerpc/nofpu: Move directory from
2806 ports/sysdeps/powerpc/nofpu.
2807 * sysdeps/powerpc/soft-fp: Move directory from
2808 ports/sysdeps/powerpc/soft-fp.
2809 * sysdeps/powerpc/powerpc32/405: Move directory from
2810 ports/sysdeps/powerpc/powerpc32/405.
2811 * sysdeps/powerpc/powerpc32/440: Move directory from
2812 ports/sysdeps/powerpc/powerpc32/440.
2813 * sysdeps/powerpc/powerpc32/464: Move directory from
2814 ports/sysdeps/powerpc/powerpc32/464.
2815 * sysdeps/powerpc/powerpc32/476: Move directory from
2816 ports/sysdeps/powerpc/powerpc32/476.
2817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2818 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2820 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2822 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2824 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2826 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2827 * README: Update for powerpc-*-linux-gnu software floating point
2828 support in libc.
2829
e246b347
JM
2830 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2831 case to powerpc/powerpc32*.
2832 * sysdeps/unix/sysv/linux/configure: Regenerated.
2833
89c2003e
JM
2834 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2835 (_FPU_MASK_OM): Define as 0x04.
2836 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2837 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2838 0x00c10080.
2839 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2840 0x0000003c.
2841 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2842
cd78f7e7
JM
2843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2844 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2845 getcontext_e500.
2846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2847 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2848 setcontext_e500.
2849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2850 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2851 and setcontext_e500.
2852
c755294d
CL
28532013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2854
2855 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2856
e16d221c
SP
28572013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2858
2859 * manual/threads.texi (Default Thread Attributes): Fix typo.
2860
215c7d43
WN
28612013-10-04 Will Newton <will.newton@linaro.org>
2862
2863 * malloc/Makefile: Add tst-memalign.
2864 * malloc/tst-memalign.c: New file.
2865
27d0461b
WN
2866 * malloc/tst-posix_memalign.c: Add comments.
2867 (do_test): Add comments and call free on all potentially
2868 allocated pointers. Add space after cast.
2869
1bc92709
WN
2870 * malloc/tst-pvalloc.c: Add comments.
2871 (do_test): Add comments and call free on all potentially
2872 allocated pointers. Remove duplicate check for NULL pointer.
2873 Add space after cast.
2874
66a9be9d
WN
2875 * malloc/tst-valloc.c: Add comments.
2876 (do_test): Add comments and call free on all potentially
2877 allocated pointers. Remove duplicate check for NULL pointer.
2878 Add space after cast.
2879
4cb81307
AM
28802013-10-04 Alan Modra <amodra@gmail.com>
2881
2882 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2883 Use stdint types in rather than __attribute__((mode())).
2884 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2885
f8e3e9f3
AM
28862013-10-04 Alan Modra <amodra@gmail.com>
2887
2888 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2889 Correct handling of unaligned relocs for little-endian.
2890 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2891
8f9ebb08
AM
28922013-10-04 Alan Modra <amodra@gmail.com>
2893
2894 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2895 * configure: Regenerate.
2896 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2897 * shlib-versions: Likewise.
2898
0edf96c2
AM
28992013-10-04 Alan Modra <amodra@gmail.com>
2900
2901 * string/tester.c (test_memrchr): Increment reported test cycle.
2902
e0f7a380
AM
29032013-10-04 Alan Modra <amodra@gmail.com>
2904
2905 * string/test-memcpy.c (do_one_test): When reporting errors, print
2906 string address and don't overrun end of string.
2907
466b0393
AM
29082013-10-04 Alan Modra <amodra@gmail.com>
2909
2910 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2911 insrdi. Make better use of reg selection to speed exit slightly.
2912 Schedule entry path a little better. Remove useless "are we done"
2913 checks on entry to main loop. Handle wrapping around zero address.
2914 Correct main loop count. Handle single left-over word from main
2915 loop inline rather than by using loop_small. Remove extra word
2916 case in loop_small caused by wrong loop count. Add little-endian
2917 support.
2918 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2919 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2920 cache hint.
2921 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2922 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2923 support. Avoid rlwimi.
2924 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2925
3be87c77
AM
29262013-10-04 Alan Modra <amodra@gmail.com>
2927
2928 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 2929 insrdi. Formatting.
3be87c77
AM
2930 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2931 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2932 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2933 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2934 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2935 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2936
759cfef3
AM
29372013-10-04 Alan Modra <amodra@gmail.com>
2938
2939 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2940 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2941 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2942 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2943 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2944 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2945 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2946 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2947 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2948 use of regs. Use power7 mtocrf. Tidy function tails.
2949
fe6e95d7
AM
29502013-10-04 Alan Modra <amodra@gmail.com>
2951
2952 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2953 Formatting. Consistently use rXXX register defines or rN defines.
2954 Use early exit labels that avoid restoring unused non-volatile regs.
2955 Make cr field use more consistent with rWORDn compares. Rename
2956 regs used as shift registers for unaligned loop, using rN defines
2957 for short lifetime/multiple use regs.
2958 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2959 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2960 addi 1,1,64 to pop stack frame. Simplify return value code.
2961 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2962
664318c3
AM
29632013-10-04 Alan Modra <amodra@gmail.com>
2964
2965 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2966 support. Correct typos, formatting. Optimize tail. Use insrdi
2967 rather than rlwimi.
2968 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2969 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2970 little-endian support. Correct typos.
2971 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2972 rather than rlwimi.
2973 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2974 in loop and entry code to keep "and." results.
2975 (strchr): Add little-endian support. Comment. Move cntlzd
2976 earlier in tail.
2977 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2978
43b84013
AM
29792013-10-04 Alan Modra <amodra@gmail.com>
2980
2981 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2982 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2983 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2984 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2985
8a7413f9
AM
29862013-10-04 Alan Modra <amodra@gmail.com>
2987
2988 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2989 (rTMP): Define as r11.
2990 (strcmp): Add little-endian support. Optimise tail.
2991 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2992 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2993 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2994 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2995 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2996 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2997 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2998
33ee81de
AM
29992013-10-04 Alan Modra <amodra@gmail.com>
3000
3001 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3002 little-endian support. Remove unnecessary "are we done" tests.
3003 Handle "s" wrapping around zero and extremely large "size".
3004 Correct main loop count. Handle single left-over word from main
3005 loop inline rather than by using small_loop. Correct comments.
3006 Delete "zero" tail, use "end_max" instead.
3007 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3008
db9b4570
AM
30092013-10-04 Alan Modra <amodra@gmail.com>
3010
3011 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3012 support. Don't branch over align.
3013 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3014 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3015 support. Rearrange tmp reg use to suit. Comment.
3016 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3017
f7c399cf
AM
30182013-10-04 Alan Modra <amodra@gmail.com>
3019
3020 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3021
0b2c2ace
AM
30222013-10-04 Alan Modra <amodra@gmail.com>
3023
3024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3025 conditional form of branch and link when obtaining pc.
3026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3027
02f04a6c
AM
30282013-10-04 Alan Modra <amodra@gmail.com>
3029
3030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3031 HIWORD/LOWORD.
3032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3034
9b874b2f
AM
30352013-10-04 Alan Modra <amodra@gmail.com>
3036
3037 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3038 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3039 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3040 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3041 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3042 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3043 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3044 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3045 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3046 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3047
be1e5d31
AB
30482013-10-04 Anton Blanchard <anton@au1.ibm.com>
3049 Alistair Popple <alistair@ozlabs.au.ibm.com>
3050 Alan Modra <amodra@gmail.com>
3051
3052 [BZ #15723]
3053 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3054 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3055 _dl_hwcap access for little-endian.
3056 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3057 destroy vmx regs when saving unaligned.
3058 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3059 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3060 destroy vmx regs when saving unaligned.
3061
fef13a78
AM
30622013-10-04 Alan Modra <amodra@gmail.com>
3063
3064 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3065 Don't use a union to pack hi/low value.
3066
76a66d51
AB
30672013-10-04 Anton Blanchard <anton@au1.ibm.com>
3068
3069 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3070 for little-endian.
3071 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3072 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3073 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3074 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3075 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3076
6a31fe7f
AM
30772013-10-04 Alan Modra <amodra@gmail.com>
3078
3079 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3080 constants to usual value for .cst8 section, and remove redundant
3081 high address load.
3082 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3083 constant for 0x1p52. Load little-endian words of double from
3084 correct stack offsets.
3085
7b88401f
AM
30862013-10-04 Alan Modra <amodra@gmail.com>
3087
3088 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3089 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3090 words of double from correct stack offsets.
3091 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3092 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3093 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3094 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3095 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3096 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3097 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3098 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3099 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3100 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3101 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3102 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3103 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3104 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3105 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3106 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3107 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3108
9c008155
AM
31092013-10-04 Alan Modra <amodra@gmail.com>
3110
3111 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3112 64-bit int/double union.
3113 (_FPU_SETCW): Likewise.
3114 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3115 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3116
da13146d
AM
31172013-10-04 Alan Modra <amodra@gmail.com>
3118
3119 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3120 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3121
603e8410
AM
31222013-10-04 Alan Modra <amodra@gmail.com>
3123
3124 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3125 use vector int constants.
3126 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3127
4a28b3ca
AB
31282013-10-04 Anton Blanchard <anton@au1.ibm.com>
3129
3130 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3131 array with long long.
3132 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3133 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3134 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3135 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3136 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3137 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3138 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3139 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3140 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3141 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3142 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3143 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3144 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3145
2ca85d2b
AB
31462013-10-04 Anton Blanchard <anton@au1.ibm.com>
3147
3148 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3149 (__signbit): Likewise. Correct for little-endian.
3150 (__signbitl): Call __signbit.
3151 (lrint): Correct for little-endian.
3152 (lrintf): Call lrint.
3153
62a728ae
AM
31542013-10-04 Alan Modra <amodra@gmail.com>
3155
3156 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3157 union 32-bit int array member with 64-bit int array.
3158 (t515, tm256): Double rather than long double.
3159 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3160
32c301df
AM
31612013-10-04 Alan Modra <amodra@gmail.com>
3162
3163 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3164 Delete.
3165 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3166 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3167 version of math_ldbl.h.
3168
650ef4bd
AM
31692013-10-04 Alan Modra <amodra@gmail.com>
3170
3171 [BZ #15734], [BZ #15735]
3172 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3173 all uses of ieee875 long double macros and unions. Simplify test
3174 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3175 ldbl_extract_mantissa value for ix,iy exponents. Properly
3176 normalize after ldbl_extract_mantissa, and don't add hidden bit
3177 already handled. Don't treat low word of ieee854 mantissa like
3178 low word of IBM long double and mask off bit when testing for
3179 zero.
3180 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3181 all uses of ieee875 long double macros and unions. Simplify tests
3182 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3183 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3184 two1022, instead use their values. Recognise that tests for large
3185 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3186 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3187 Rewrite all uses of ieee875 long double macros and unions. Simplify
3188 test for 0.0L and nan. Correct negation.
3189 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3190 ieee875 long double macros and unions. Correct output for large
3191 magnitude x. Correct absolute value calculation.
3192 (__erfcl): Likewise.
3193 * math/libm-test.inc: Add tests for errors discovered in IBM long
3194 double versions of fmodl, remainderl, erfl and erfcl.
3195
765714ca
AM
31962013-10-04 Alan Modra <amodra@gmail.com>
3197
3198 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3199 all uses of ieee854 long double macros and unions. Simplify tests
3200 for long doubles that are fully specified by the high double.
3201 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3202 Likewise.
3203 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3204 Remove dead code too.
3205 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3206 (__ieee754_ynl): Likewise.
3207 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3208 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3209 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3210 Remove dead code too.
3211 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3212 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3213 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3214 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3215 Simplify.
3216 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3217 Simplify.
3218 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3219 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3220 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3221 Comment on variable precision.
3222 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3223 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3224 Likewise.
3225 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3226 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3227 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3228 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3229 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3230
4ebd120c
AM
32312013-10-04 Alan Modra <amodra@gmail.com>
3232
3233 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3234 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3235 all uses of ieee854 long double macros and unions.
3236 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3237 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3238 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3239 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3240 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3241 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3242 Likewise.
3243 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3244 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3245 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3246 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3247 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3248 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3249 Simplify sign and nan test too.
3250 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3251 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3252 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3253 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3254 Likewise.
3255 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3256 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3257 Likewise.
3258 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3259 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3260 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3261 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3262 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3263 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3264
1b6adf88
AM
32652013-10-04 Alan Modra <amodra@gmail.com>
3266
3267 * stdio-common/printf_size.c (__printf_size): Don't use
3268 union ieee854_long_double in fpnum union.
3269 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
3270 signbit macro to retrieve sign from long double.
3271 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3272 retrieve sign from long double.
3273 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3274 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3275 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3276 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3277 * math/test-misc.c (main): Don't use union ieee854_long_double.
3278
4cf69995
AM
32792013-10-04 Alan Modra <amodra@gmail.com>
3280
3281 [BZ #15680]
3282 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3283 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3284 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3285 calculation. Remove unnecessary test for denormal exponent.
3286 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3287 Correct handling of denormals. Avoid undefined shift behaviour.
3288 Correct normalisation of low mantissa when low double is denormal.
3289 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3290 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3291 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3292 Correct normalisation of low mantissa. Test for overflow of high
3293 mantissa and normalise.
3294 (ldbl_nearbyint): Use more readable constant for two52.
3295 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3296 (__mpn_construct_long_double): Fix test for overflow of high
3297 mantissa and correct normalisation. Avoid undefined shift.
3298
9605ca6c
AM
32992013-10-04 Alan Modra <amodra@gmail.com>
3300
3301 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3302 (union ibm_extended_long_double): Define as an array of ieee754_double.
3303 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3304 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3305 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3306 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3307 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3308 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3309 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3310 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3311 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3312 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3313 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3314
975569d0
JM
33152013-10-03 Joseph Myers <joseph@codesourcery.com>
3316
d3d23756
JM
3317 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3318 page size instead of calling getpagesize.
3319
975569d0
JM
3320 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3321 (LOCFILE_ALIGN_MASK): Likewise.
3322 (LOCFILE_ALIGN_UP): Likewise.
3323 (LOCFILE_ALIGNED_P): Likewise.
3324 * locale/programs/ld-collate.c (collate_output): Use the new
3325 macros instead of __alignof__ (int32_t).
3326 * locale/weight.h (findidx): Likewise.
3327
b1fe1f2b
OB
33282013-10-03 Ondřej Bílka <neleai@seznam.cz>
3329
3330 [BZ #431]
3331 * manual/string.texi: Fix strncat and wcsncat.
3332
5f855e35
BM
33332013-10-03 Brooks Moses <bmoses@google.com>
3334
3335 [BZ #15915]
3336 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3337 * Makerules: ...here, and adjust associated comments.
3338
3cef6009
WN
33392013-10-02 Will Newton <will.newton@linaro.org>
3340
3341 * malloc/Makefile: Add tst-pvalloc.
3342 * malloc/tst-pvalloc.c: New file.
3343
7815420b
WN
33442013-10-02 Will Newton <will.newton@linaro.org>
3345
3346 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3347 improve test coverage.
3348
4868b204
WN
33492013-10-02 Will Newton <will.newton@linaro.org>
3350
3351 * malloc/Makefile: Add tst-posix_memalign.
3352 * malloc/tst-posix_memalign.c: New file.
3353
29c793b3
EB
33542013-10-01 Eric Blake <eblake@redhat.com>
3355
3356 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3357 Use __THROWNL rather than __THROW on static functions.
3358
fd967522
PM
33592013-09-30 Petr Machata <pmachata@redhat.com>
3360
3361 * elf/elf.h (R_AARCH64_ABS16): New macro.
3362 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3363 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3364 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3365 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3366 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3367 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3368 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3369 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3370 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3371 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3372 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3373 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3374 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3375 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3376 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3377 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3378 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3379 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3380 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3381 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3382 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3383 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3384 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3385 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3386 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3387 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3388 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3389 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3390 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3391 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3392 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3393 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3394 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3395 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3396 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3397 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3398 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3399 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3400 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3401 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3402 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3403 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3404 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3405 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3406 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3407 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3408 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3409 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3410 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3411 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3412 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3413 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3414 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3415 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3416 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3417 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3418 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3419 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3420 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3421 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3422 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3423 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3424 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3425 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3426 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3427 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3428 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3429 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3430 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3431 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3432 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3433 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3434 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3435 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3436 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3437 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3438 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3439 (R_AARCH64_TLSDESC_LDR): Likewise.
3440 (R_AARCH64_TLSDESC_ADD): Likewise.
3441 (R_AARCH64_TLSDESC_CALL): Likewise.
3442
b2179107
AS
34432013-09-30 Andreas Schwab <schwab@suse.de>
3444
3445 [BZ #15048]
3446 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3447 the nss database lookup.
3448 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3450
47f28d0a
MF
34512013-09-28 Mike Frysinger <vapier@gentoo.org>
3452
3453 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3454
34552013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
3456
3457 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3458 ${Bash-specific parameter/pattern/string} parameter expansion.
3459 * sysdeps/unix/make-syscalls.sh: Likewise.
3460
f4518a17
KK
34612013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3462
3463 * sysdeps/sh/stackguard-macros.h: New file.
3464
dc1a95c7
OB
34652013-09-26 Ondřej Bílka <neleai@seznam.cz>
3466
3467 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3468 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3469 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3470 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3471 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3472 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3473
5ebbff8f
AZ
34742013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3475
3476 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3477 Fix thread ID register.
3478
4fd2cf9f
JM
34792013-09-25 Joseph Myers <joseph@codesourcery.com>
3480
3481 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3482 [POSIX || UNIX98]: Require rather than permitting all symbols from
3483 <time.h>.
3484 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3485 element of struct sched_param.
3486 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3487 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3488 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3489 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3490 constant.
3491
12c22bc4
OL
34922013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3493
3494 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3495 argument calculation.
3496
a03d8ea7
JM
34972013-09-24 Joseph Myers <joseph@codesourcery.com>
3498
3499 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3500 Expect macro.
3501 [POSIX] (pthread_attr_t): Do not require type.
3502 [POSIX] (pthread_cond_t): Likewise.
3503 [POSIX] (pthread_condattr_t): Likewise.
3504 [POSIX] (pthread_key_t): Likewise.
3505 [POSIX] (pthread_mutex_t): Likewise.
3506 [POSIX] (pthread_mutexattr_t): Likewise.
3507 [POSIX] (pthread_once_t): Likewise.
3508 [POSIX] (pthread_t): Likewise.
3509 [POSIX-based standards] (pthread_atfork): Expect function.
3510
6055173a
JM
35112013-09-24 Joseph Myers <joseph@codesourcery.com>
3512 Richard Sandiford <richard@codesourcery.com>
3513
3514 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3515 (swap_endianness_p): New extern variable.
3516 (set_big_endian): New inline function.
3517 (maybe_swap_uint32): Likewise.
3518 (maybe_swap_uint32_array): Likewise.
3519 (maybe_swap_uint32_obstack): Likewise.
3520 * locale/programs/locfile.c: Include <stdbool.h>.
3521 (swap_endianness_p): New variable.
3522 (add_locale_uint32): Call maybe_swap_uint32.
3523 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3524 (write_locale_data): Call maybe_swap_uint32_array.
3525 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3526 maybe_swap_uint32.
3527 (obstack_int32_grow_fast): Likewise.
3528 (output_weightwc): Call maybe_swap_uint32_obstack.
3529 (collate_output): Likewise.
3530 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3531 (OPT_LITTLE_ENDIAN): Likewise.
3532 (options): Add --little-endian and --big-endian options.
3533 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3534 * locale/programs/locarchive.c: Include "locfile.h".
3535 (GET): New macro.
3536 (SET): Likewise.
3537 (INC): Likewise.
3538 (create_archive): Use the new macros to access fields of
3539 structures directly mapped from or written to locale archives.
3540 (oldlocrecentcmp): Likewise.
3541 (enlarge_archive): Likewise.
3542 (insert_name): Likewise.
3543 (add_alias): Likewise.
3544 (add_locale): Likewise.
3545 (delete_locales_from_archive): Likewise.
3546 (show_archive_content): Likewise.
3547 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3548 locale data.
3549
39bf0bb4
RM
35502013-09-24 Roland McGrath <roland@hack.frob.com>
3551
3552 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3553 http://www.gnu.org/doc/freemanuals.texi.
3554 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3555
f02eed10
WN
35562013-09-24 Will Newton <will.newton@linaro.org>
3557
3558 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3559 macro.
3560
a3a6c312
JM
35612013-09-23 Joseph Myers <joseph@codesourcery.com>
3562
3563 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3564 unsigned char.
3565
107375ac
MR
35662013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3567
3568 * manual/threads.texi (POSIX Threads): Fix a typo.
3569
141f3a77
SP
35702013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3571
303e567a
SP
3572 [BZ #14547]
3573 * string/tst-strcoll-overflow.c: New test case.
3574 * string/Makefile (xtests): Add tst-strcoll-overflow.
3575 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3576 cache if string sizes may cause integer overflow.
3577
141f3a77
SP
3578 [BZ #14547]
3579 * string/strcoll_l.c (coll_seq): New members rule, idx,
3580 save_idx and back_us.
3581 (get_next_seq_nocache): New function.
3582 (do_compare_nocache): New function.
3583 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3584 when malloc fails.
3585
c61b4d41
CD
35862013-09-23 Carlos O'Donell <carlos@redhat.com>
3587
0b1f8e35
CD
3588 [BZ #15754]
3589 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3590 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3591 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3592
c61b4d41
CD
3593 [BZ #15754]
3594 * elf/Makefile (tests): Add tst-ptrguard1.
3595 (tests-static): Add tst-ptrguard1-static.
3596 (tst-ptrguard1-ARGS): Define.
3597 (tst-ptrguard1-static-ARGS): Define.
3598 * elf/tst-ptrguard1.c: New file.
3599 * elf/tst-ptrguard1-static.c: New file.
3600 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3601 * sysdeps/i386/stackguard-macros.h: Likewise.
3602 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3603 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3604 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3605 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3606 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3607 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3608
36092013-09-23 Hector Marco <hecmargi@upv.es>
3610 Ismael Ripoll <iripoll@disca.upv.es>
3611 Carlos O'Donell <carlos@redhat.com>
3612
3613 [BZ #15754]
3614 * sysdeps/generic/stackguard-macros.h: Define
3615 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3616 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3617 Define __pointer_chk_guard_local.
3618 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3619 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3620
f5f4e7b4
VV
36212013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3622
3623 [BZ #15859]
3624 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3625
5bb43a43
AS
36262013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3627
3628 * include/string.h (__ffs): Declare as hidden.
3629 * string/ffs.c (__ffs): Define as hidden.
3630 * sysdeps/i386/ffs.c (__ffs): Likewise.
3631 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3632 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3633 * sysdeps/s390/ffs.c (__ffs): Likewise.
3634 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3635
3ea5be54
AO
36362013-09-20 Alexandre Oliva <aoliva@redhat.com>
3637
ffb89e53
AO
3638 * NEWS: Mention malloc probes.
3639
322dea08
AO
3640 * malloc/arena.c (new_heap): New memory_heap_new probe.
3641 (grow_heap): New memory_heap_more probe.
3642 (shrink_heap): New memory_heap_less probe.
3643 (heap_trim): New memory_heap_free probe.
3644 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3645 (systrim): New memory_sbrk_less probe.
3646 * manual/probes.texi: Document them.
3647
655673f3
AO
3648 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3649 * manual/probes.texi: Document it.
3650
35fed6f1
AO
3651 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3652 (__libc_realloc): Add memory_realloc_retry probe.
3653 (__libc_memalign): Add memory_memalign_retry probe.
3654 (__libc_valloc): Add memory_valloc_retry probe.
3655 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3656 (__libc_calloc): Add memory_calloc_retry probe.
3657 * manual/probes.texi: Document them.
3658
6999d38c
AO
3659 * malloc/arena.c (get_free_list): Add probe
3660 memory_arena_reuse_free_list.
3661 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3662 and memory_arena_reuse.
3663 (arena_get2) [!PER_THREAD]: Likewise.
3664 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3665 memory_arena_reuse_realloc.
3666 * manual/probes.texi: Document them.
3667
0653427f
AO
3668 * malloc/malloc.c (__libc_free): Add
3669 memory_mallopt_free_dyn_thresholds probe.
3670 (__libc_mallopt): Add multiple memory_mallopt probes.
3671 * manual/probes.texi: Document them.
3672
3ea5be54
AO
3673 * malloc/malloc.c: Include stap-probe.h.
3674 (__libc_mallopt): Add memory_mallopt probe.
3675 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3676 * manual/probes.texi: New.
3677 * manual/Makefile (chapters): Add probes.
3678 * manual/threads.texi: Set next node.
3679
e35696c3 36802013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 3681
e35696c3
CL
3682 [BZ #15963, #13985]
3683 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3684 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3685 Add `Chinese' to `nan' entry name.
3686
4aafb73c
SP
36872013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3688
3689 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3690 (POLYNOMIAL): Likewise.
3691 (TAYLOR_SINCOS): Likewise.
3692 (TAYLOR_SLOW): Likewise.
3693 (__sin): Use TAYLOR_SINCOS.
3694 (__cos): Likewise.
3695 (slow): Use TAYLOR_SLOW.
3696 (sloww): Likewise.
3697 (bsloww): Likewise.
3698 (csloww): Likewise.
3699
d84f25c7
LD
37002013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3701
3702 * stdlib/strtod_l.c: Fix buffer overrun.
3703
5eea0404
SP
37042013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3705
7849ff93
SP
3706 * benchtests/Makefile (bench): Add sincos.
3707 * benchtests/bench-sincos.c: New file.
3708
cfa3c886
SP
3709 * math/libm-test.inc (cos_test_data): New test inputs.
3710 (sin_test_data): Likewise.
3711
b348e1e3
SP
3712 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3713 macro.
3714 (__sin): Use it.
3715 (__cos): Likewise.
3716 (slow1): Likewise.
3717 (slow2): Likewise.
3718 (sloww1): Likewise.
3719 (sloww2): Likewise.
3720 (bsloww1): Likewise.
3721 (bsloww2): Likewise.
3722 (cslow2): Likewise.
3723 (csloww1): Likewise.
3724 (csloww2): Likewise.
3725
6cce25f8
SP
3726 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3727 function.
3728 (__sin): Use it.
3729 (__cos): Likewise.
3730
5eea0404
SP
3731 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3732 gotos.
3733 (__cos): Likewise.
3734
9c21573c
MR
37352013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3736
3737 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3738 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3739 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3740 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3741 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3742 * elf/cache.c (print_entry): Handle the new cache flags.
3743
24d22e65
JM
37442013-09-18 Joseph Myers <joseph@codesourcery.com>
3745 Aldy Hernandez <aldyh@redhat.com>
3746
3747 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3748 Change condition to [_SOFT_FLOAT].
3749 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3750 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3751 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3752 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3753 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3756 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3760 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3761 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3762 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3764 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3765 declaration.
3766
d13ef066
JM
37672013-09-18 Joseph Myers <joseph@codesourcery.com>
3768
2e071de0
JM
3769 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3770 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3771 (__longjmp): Use LOAD_GP to load saved GPRs.
3772 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3773 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3774 (__sigsetjmp): Use SAVE_GP to save GPRs.
3775
d13ef066
JM
3776 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3777 Do not append -msoft-float.
3778 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3779
97a0650b
SP
37802013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3781
3782 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3783
11ca09e9
JM
37842013-09-17 Joseph Myers <joseph@codesourcery.com>
3785
3786 [BZ #15966]
3787 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3788 (_FPU_GETCW): Use initial "__" on variable and field names but not
3789 on macro parameter name.
3790 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
3791 parentheses around reference to macro parameter.
3792
08ffcf34
RS
37932013-09-13 Richard Sandiford <richard@codesourcery.com>
3794
3795 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3796 prototype.
3797 (ctype_startup): Use uint32_t in cast and sizeof for
3798 ctype->charnames.
3799
ae7080d3
JL
38002013-09-11 Jia Liu <proljc@gmail.com>
3801
3802 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3803 __daddr_t_defined.
3804 [__FreeBSD__]: Likewise.
3805
5905e7b3
OB
38062013-09-11 Ondřej Bílka <neleai@seznam.cz>
3807
3808 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3809 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3810 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3811 (strchr): Remove __strchr_sse42 ifunc selection.
3812 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3813 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3814
b987c776
WN
38152013-09-11 Will Newton <will.newton@linaro.org>
3816
3817 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3818 parameter to RES. Remove hardcoded 1000 value.
3819 * benchtests/bench-skeleton.c (main): Pass RES parameter
3820 to TIMING_INIT and multiply result by 1000.
3821
ddf985af
AZ
38222013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3823
3824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3825
ffdd3181
AS
38262013-09-11 Andreas Schwab <schwab@suse.de>
3827
3828 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3829 if not defined.
3830 (O_TMPFILE) [__USE_GNU]: Define.
3831 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3832 Define.
3833
b73ed247
WN
38342013-09-11 Will Newton <will.newton@linaro.org>
3835
3836 [BZ #15857]
3837 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3838 does not overflow.
3839
55e17aad
WN
38402013-09-11 Will Newton <will.newton@linaro.org>
3841
3842 [BZ #15856]
3843 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3844 does not overflow.
3845
1159a193
WN
38462013-09-11 Will Newton <will.newton@linaro.org>
3847
3848 [BZ #15855]
3849 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3850 does not overflow.
3851
5905e7b3 38522013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
3853
3854 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3855 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3856 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3857 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3858 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3859
cdfc721b
AM
38602013-09-10 Allan McRae <allan@archlinux.org>
3861
aa04af00
AM
3862 [BZ #15748]
3863 * manual/arith.texi (Parsing of Floats): Clarify
3864 cross-reference.
3865
cdfc721b
AM
3866 [BZ #15849]
3867 * manual/install.texi (Running make install): Mention
3868 --enable-pt-chown.
3869 * INSTALL: Regenerated.
3870
95e7cf29
MR
38712013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3872
3873 * csu/init-first.c (_init): Remove the !SHARED condition around
3874 FPU control word initialization.
3875 * elf/dl-support.c (_dl_fpu_control): New variable.
3876 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3877 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3878 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3879 * math/test-fpucw-static.c: New file.
3880 * math/test-fpucw-ieee.c: New file.
3881 * math/test-fpucw-ieee-static.c: New file.
3882 * math/Makefile (tests): Add `test-fpucw-ieee' and
3883 `$(tests-static)'.
3884 (tests-static): New variable.
3885 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3886 dependency to...
3887 [($(build-shared),yes)]
3888 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3889 ... this.
3890 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3891 New dependency.
3892
83e43bf0
AM
38932013-09-09 Allan McRae <allan@archlinux.org>
3894
a9f5ce09
AM
3895 [BZ #15939]
3896 * manual/string.texi (Collation Functions): Fix typo in
3897 strcoll example.
3898 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3899
34829bc2
AM
3900 [BZ #15893]
3901 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3902
3932737d
AM
3903 [BZ #15892]
3904 * libio/memstream.c (open_memstream): Fix memory leak.
3905 * libio/wmemstream.c (open_wmemstream): Likewise.
3906
83e43bf0
AM
3907 [BZ #15895]
3908 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3909
0c66b8e9
WN
39102013-09-09 Will Newton <will.newton@linaro.org>
3911
3912 * malloc/Makefile: Add tst-realloc to tests.
3913 * malloc/tst-realloc.c: New file.
3914
f6b00fd1
AM
39152013-09-09 Allan McRae <allan@archlinux.org>
3916
3917 [BZ #15844]
3918 * COPYING: Update from GNU website to fix FSF address.
3919 * COPYING.LIB: Likewise.
3920
eec55e16
DM
39212013-09-06 David S. Miller <davem@davemloft.net>
3922
3923 * po/zh_TW.po: Update Chinese (traditional) translation from
3924 translation project.
3925
1ecbb381
RS
39262013-09-06 Richard Sandiford <richard@codesourcery.com>
3927 Joseph Myers <joseph@codesourcery.com>
3928
3929 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3930 "localeinfo.h".
3931 (obstack_chunk_alloc): New macro.
3932 (obstack_chunk_free): Likewise.
3933 (record_offset): New function.
3934 (init_locale_data): Likewise.
3935 (align_locale_data): Likewise.
3936 (add_locale_empty): Likewise.
3937 (add_locale_raw_data): Likewise.
3938 (add_locale_raw_obstack): Likewise.
3939 (add_locale_string): Likewise.
3940 (add_locale_wstring): Likewise.
3941 (add_locale_uint32): Likewise.
3942 (add_locale_uint32_array): Likewise.
3943 (add_locale_char): Likewise.
3944 (start_locale_structure): Likewise.
3945 (end_locale_structure): Likewise.
3946 (start_locale_prelude): Likewise.
3947 (end_locale_prelude): Likewise.
3948 (write_locale_data): Take locale_file structure rather than an
3949 iovec.
3950 * locale/programs/locfile.h: Include "obstack.h".
3951 (struct locale_file): Change to store locale file contents instead
3952 of header.
3953 (init_locale_data): New prototype.
3954 (align_locale_data): Likewise.
3955 (add_locale_empty): Likewise.
3956 (add_locale_raw_data): Likewise.
3957 (add_locale_raw_obstack): Likewise.
3958 (add_locale_string): Likewise.
3959 (add_locale_wstring): Likewise.
3960 (add_locale_uint32): Likewise.
3961 (add_locale_uint32_array): Likewise.
3962 (add_locale_char): Likewise.
3963 (start_locale_structure): Likewise.
3964 (end_locale_structure): Likewise.
3965 (start_locale_prelude): Likewise.
3966 (end_locale_prelude): Likewise.
3967 (write_locale_data): Update prototype.
3968 * locale/programs/3level.h (struct TABLE): Remove result field.
3969 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3970 Use new locale_file interface.
3971 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3972 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3973 * locale/programs/ld-address.c (address_output): Use new
3974 locale_file interface.
3975 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3976 NO_ADD_LOCALE.
3977 (collate_finish): Don't call collseq_table_finalize.
3978 (collate_output): Use new locale_file interface.
3979 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3980 in file.
3981 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3982 (TABLE): Move defines earlier in file.
3983 (ELEMENT): Likewise.
3984 (DEFAULT): Likewise.
3985 (wctrans_table_add): Move macro and inline function earlier in
3986 file.
3987 (struct wctype_table): Move type earlier in file.
3988 (add_locale_wctype_table): New static prototype.
3989 (struct locale_ctype_t): Use logical types instead of struct iovec
3990 pointers for members.
3991 (ctype_output): Use new locale_file interface.
3992 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3993 new locale_file interface.
3994 (allocate_arrays): Update for use of new locale_file interface.
3995 * locale/programs/ld-identification.c (identification_output): Use
3996 new locale_file interface.
3997 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3998 * locale/programs/ld-messages.c (messages_output): Likewise.
3999 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4000 * locale/programs/ld-name.c (name_output): Likewise.
4001 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4002 * locale/programs/ld-paper.c (paper_output): Likewise.
4003 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4004 * locale/programs/ld-time.c (time_output): Likewise.
4005
e029e2e5
AZ
40062013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4007
4008 * benchtests/Makefile: Add memrchr benchmark.
4009 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4010 benchmark as memrchr.
4011 * benchtests/bench-memrchr-ifunc.c: New file.
4012 * benchtests/bench-memrchr.c: New file.
4013
bbf6e8e4
WN
40142013-09-06 Will Newton <will.newton@linaro.org>
4015
4016 * benchtests/Makefile (string-bench): Add memcpy.
4017
6c82a2f8
CD
40182013-09-05 Carlos O'Donell <carlos@redhat.com>
4019 Cong Wang <amwang@redhat.com>
4020
4021 * sysdeps/unix/sysv/linux/bits/in.h
4022 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4023 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4024 before __USE_KERNEL_IPV6_DEFS uses.
4025 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4026 IPPROTO_BEETPH.
4027 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4028 sockaddr_in6, or ipv6_mreq.
4029
5430fc65
AZ
40302013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4031
4032 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4033 memory access for final bytes in some large inputs.
4034 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4035
4660856c
AZ
40362013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4037
4038 * string/test-memrchr.c: New file.
4039 * string/test-memrchr-ifunc.c: New file.
4040 * string/Makefile: Add new memrchr testcase.
4041
bb8ea713
MF
40422013-09-05 Mike Frysinger <vapier@gentoo.org>
4043
4044 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4045 fanotify_init returns EPERM.
4046
b92a20b5
JM
40472013-09-04 Joseph Myers <joseph@codesourcery.com>
4048
4049 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4050 errors.
4051 (top level): Treat second token from macro or constant entries for
4052 allowed headers as allowed.
4053 * include/complex.h: Condition internal declarations on
4054 [!_ISOMAC].
4055 * include/fenv.h: Condition include of <stdbool.h> and internal
4056 declarations on [!_ISOMAC].
7447ccd9
CL
4057
40582013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4059
3e181dda 4060 [BZ #15923]
7447ccd9
CL
4061 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4062
3f2e46a4
JM
40632013-09-04 Joseph Myers <joseph@codesourcery.com>
4064
4065 * configure.in (--enable-versioning): Remove configure option.
4066 (libc_cv_asm_symver_directive): Remove configure test.
4067 (libc_cv_ld_version_script_option): Likewise.
4068 (VERSIONING): Remove variable and AC_SUBST.
4069 (DO_VERSIONING): Remove AC_DEFINE.
4070 * configure: Regenerated.
4071 * config.h.in (DO_VERSIONING): Remove macro.
4072 * Makerules [$(versioning) = yes]: Change conditionals to
4073 [$(build-shared) = yes].
4074 * config.make.in (versioning): Remove variable.
4075 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4076 [$(build-shared) = yes].
4077 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4078 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4079 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4080 [$(build-shared) = yes].
4081 * extra-lib.mk [$(versioning) = yes]: Likewise.
4082 * hurd/Makefile [$(versioning) = yes]: Likewise.
4083 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4084 [SHARED].
4085 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4086 [SHARED].
4087 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4088 [SHARED && !NO_HIDDEN].
4089 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4090 [SHARED].
4091 [SHARED && DO_VERSIONING]: Likewise..
4092 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4093 [$(build-shared) = yes].
4094 * manual/install.texi (--disable-versioning): Remove
4095 documentation.
4096 * INSTALL: Regenerated.
4097 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4098 to [SHARED].
4099 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4100 [$(build-shared) = yes].
4101 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4102 * sysdeps/i386/i686/multiarch/strstr-c.c
4103 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4104 [SHARED && !NO_HIDDEN].
4105 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4106 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4107 * sysdeps/powerpc/powerpc32/dl-machine.c
4108 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4109 * sysdeps/powerpc/powerpc32/sysdep.h
4110 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4111 to [SHARED && PIC && !NO_HIDDEN].
4112 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4113 conditional to [SHARED].
4114
44558701
WN
41152013-09-04 Will Newton <will.newton@linaro.org>
4116
4117 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4118 * benchtests/bench-string.h: Include bench-timing.h instead
4119 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4120 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4121 call to HP_TIMING_DIFF_INIT.
4122 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4123 instead of hp-timing.h macros.
4124 * benchtests/bench-memchr.c: Likewise.
4125 * benchtests/bench-memcmp.c: Likewise.
4126 * benchtests/bench-memcpy.c: Likewise.
4127 * benchtests/bench-memmem.c: Likewise.
4128 * benchtests/bench-memmove.c: Likewise.
4129 * benchtests/bench-memset.c: Likewise.
4130 * benchtests/bench-rawmemchr.c: Likewise.
4131 * benchtests/bench-strcasecmp.c: Likewise.
4132 * benchtests/bench-strcasestr.c: Likewise.
4133 * benchtests/bench-strcat.c: Likewise.
4134 * benchtests/bench-strchr.c: Likewise.
4135 * benchtests/bench-strcmp.c: Likewise.
4136 * benchtests/bench-strcpy.c: Likewise.
4137 * benchtests/bench-strcpy_chk.c: Likewise.
4138 * benchtests/bench-strlen.c: Likewise.
4139 * benchtests/bench-strncasecmp.c: Likewise.
4140 * benchtests/bench-strncat.c: Likewise.
4141 * benchtests/bench-strncmp.c: Likewise.
4142 * benchtests/bench-strncpy.c: Likewise.
4143 * benchtests/bench-strnlen.c: Likewise.
4144 * benchtests/bench-strpbrk.c: Likewise.
4145 * benchtests/bench-strrchr.c: Likewise.
4146 * benchtests/bench-strspn.c: Likewise.
4147 * benchtests/bench-strstr.c: Likewise.
4148
cae16d66
WN
41492013-09-04 Will Newton <will.newton@linaro.org>
4150
4151 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4152
ffa3cd7f
JM
41532013-09-03 Joseph Myers <joseph@codesourcery.com>
4154
4155 [BZ #15427]
4156 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4157 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4158 * math/libm-test.inc (lgamma_test_data): Add more tests.
4159 * sysdeps/i386/fpu/libm-test-ulps: Update.
4160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4161
8f02859f
OB
41622013-09-03 Ondřej Bílka <neleai@seznam.cz>
4163
4164 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4165 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4166 Add ifunc.
4167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4168 Add strcmp-sse2-unaligned
4169 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4170
18d43716
MF
41712013-09-02 Mike Frysinger <vapier@gentoo.org>
4172
4173 * Versions.def (libc): Add GLIBC_2.19.
4174
ac444012
MF
41752013-09-02 Mike Frysinger <vapier@gentoo.org>
4176
4177 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4178 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4179
b7835e32
JM
41802013-09-02 Joseph Myers <joseph@codesourcery.com>
4181
4182 [BZ #14155]
4183 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4184 intermediate calculations in recurrence.
4185 (__ieee754_ynf): Likewise.
4186 * math/libm-test.inc (jn_test_data): Do not allow spurious
4187 underflow exception. Add more tests.
4188 (yn_test_data): Add more tests.
4189 * sysdeps/i386/fpu/libm-test-ulps: Update.
4190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4191
8220f4f0
OB
41922013-09-02 Ondřej Bílka <neleai@seznam.cz>
4193
4194 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4195
f24a6d08
OB
41962013-08-30 Ondřej Bílka <neleai@seznam.cz>
4197
4198 * csu/init-first.c: Fix then/than typos.
4199 * locale/programs/ld-collate.c: Likewise.
4200 * locale/programs/linereader.h: Likewise.
4201 * manual/charset.texi: Likewise.
4202 * manual/filesys.texi: Likewise.
4203 * manual/stdio.texi: Likewise.
4204 * manual/string.texi: Likewise.
4205 * stdlib/fmtmsg.c: Likewise.
4206 * sysdeps/i386/stpncpy.S: Likewise.
4207 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4208 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4209 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4210 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4211
382466e0
OB
42122013-08-30 Ondřej Bílka <neleai@seznam.cz>
4213
4214 * elf/dl-open.c: Fix typos.
4215 * iconvdata/gbbig5.c: Likewise.
4216 * iconvdata/iso-2022-jp.c: Likewise.
4217 * iconv/gconv_int.h: Likewise.
4218 * iconv/loop.c: Likewise.
4219 * nis/rpcsvc/nis.h: Likewise.
4220 * resolv/ns_name.c: Likewise.
4221 * stdio-common/vfscanf.c: Likewise.
4222 * streams/stropts.h: Likewise.
4223 * sunrpc/rpc_thread.c: Likewise.
4224 * sysdeps/i386/strpbrk.S: Likewise.
4225 * sysdeps/ieee754/k_standard.c: Likewise.
4226 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4227 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4228 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4229 * sysdeps/mach/hurd/profil.c: Likewise.
4230 * sysdeps/s390/dl-procinfo.h: Likewise.
4231 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4232 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4233 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4234 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4235 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4236
0186c6e9
OB
42372013-08-30 Ondřej Bílka <neleai@seznam.cz>
4238
4239 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4240 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4241
d4e16af1
OB
42422013-08-29 Ondřej Bílka <neleai@seznam.cz>
4243
4244 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4245 aix specific files.
4246 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4247 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4248 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4249 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4250 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4251 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4252 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4253 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4254
88335980
TS
42552013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4256 Roland McGrath <roland@hack.frob.com>
4257
4258 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4259 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4260
ed479b02
ST
42612013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4262
4263 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4264 __executable_start symbol instead of _start.
4265
f1cc4c86
TS
42662013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4267
d821f07c
TS
4268 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4269 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4270 Move macros to...
4271 * sysdeps/gnu/ldsodefs.h: ... this new file.
4272
c54290cf
TS
4273 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4274 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4275 instead of ELFOSABI_LINUX.
4276
0007fc9b 4277 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
4278 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4279 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4280 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4281 Likewise.
4282 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4283 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4284 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4285 Likewise.
4286 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4287 (ibm_extended_long_double): Add ieee_nan member.
4288 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4289 (do_test): New function.
4290
f1cc4c86
TS
4291 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4292 TEST_TRUNC.
4293 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4294 functions, renamed from truncdfsf_test, trunctfsf_test,
4295 trunctfdf_test.
4296 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4297 functions.
4298 (do_test): Run all these.
4299
6f65e668
OB
43002013-08-29 Ondřej Bílka <neleai@seznam.cz>
4301
4302 * argp/argp-help.c: Fix typos.
4303 * argp/argp-parse.c: Likewise.
4304 * debug/backtracesyms.c: Likewise.
4305 * elf/elf.h: Likewise.
4306 * malloc/malloc.c: Likewise.
4307 * nis/nis_print.c: Likewise.
4308 * resolv/res_comp.c: Likewise.
4309 * stdlib/stdlib.h: Likewise.
4310 * sunrpc/clnt_tcp.c: Likewise.
4311 * sunrpc/clnt_udp.c: Likewise.
4312 * sunrpc/clnt_unix.c: Likewise.
4313 * sysdeps/unix/bsd/ptsname.c: Likewise.
4314 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4315 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
4316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4317 Likewise.
4318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4319 Likewise.
4320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4321 Likewise.
6f65e668
OB
4322 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4323
3a309239
SP
43242013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4325
4326 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4328
3b813b29
MF
43292013-08-27 Mike Frysinger <vapier@gentoo.org>
4330
4331 [BZ #15897]
4332 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4333 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4334 ($(objpfx)bug-dl-leaf): New rule.
4335 ($(objpfx)bug-dl-leaf.so): Likewise.
4336 ($(objpfx)bug-dl-leaf.out): Likewise.
4337 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4338 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4339 * dlfcn/bug-dl-leaf.c: New test.
4340 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4341 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4342 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4343 (dlclose): Likewise.
4344 (dlmopen): Likewise.
4345
8cc3269f
RM
43462013-08-27 Roland McGrath <roland@hack.frob.com>
4347
7f9d0034
RM
4348 * include/netdb.h [!_ISOMAC]:
4349 Don't include <tls.h>.
4350 (h_errno, __libc_h_errno): Move declaration and macros out of
4351 [_LIBC_REENTRANT].
4352
fb431262
RM
4353 * include/resolv.h [_RESOLV_H_]:
4354 Don't include <tls.h>.
4355 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4356 * resolv/res_libc.c: Don't include <tls.h>.
4357 (_res): Use __attribute__ ((nocommon)) in place of
4358 __attribute__ ((section (".bss"))).
4359
bd81123a
RM
4360 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4361 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4362
c4e42566
RM
4363 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4364
f890a59b
RM
4365 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4366 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4367
4368 * resolv/res_mkquery.c: Include <sys/time.h>.
4369
5d1f0a09
RM
4370 * inet/ifreq.c: Moved to ...
4371 * sysdeps/unix/ifreq.c: ... here.
4372 * inet/ifreq.c: New file, true stub version.
4373
6fcf28b3
RM
4374 * socket/sa_len.c: New file.
4375 * socket/Makefile (aux): Add it.
4376 * sysdeps/unix/sysv/linux/Makefile
4377 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4378 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4379 and #include <socket/sa_len.c>.
4380 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4381 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4382
e041fb8b
RM
4383 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4384 * bits/socket.h: ... here.
4385
8cc3269f
RM
4386 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4387 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4388 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4389
5d228a43
AS
43902013-08-27 Andreas Schwab <schwab@suse.de>
4391
45b8accc
AS
4392 [BZ #15736]
4393 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4394 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4395 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4396 * string/test-strcasecmp.c (test_main): Run tests in several
4397 locales.
4398 * string/test-strncasecmp.c (test_main): Likewise.
4399
5d228a43
AS
4400 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4401 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4402 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4403 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4404 (__strncasecmp_ssse3) [PIC]: Likewise.
4405
59d112a4
RM
44062013-08-26 Roland McGrath <roland@hack.frob.com>
4407
53234cc3
RM
4408 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4409
59d112a4
RM
4410 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4411 instead of explicitly declaring xdecrypt.
4412 * nis/nss_nis/nis-publickey.c: Likewise.
4413
595aba70
SP
44142013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4415
4416 [BZ #15890]
4417 * nscd/aicache.c: Include res_hconf.h.
4418 (addhstaiX): Initialize res_hconf.
4419
ffabd393
AS
44202013-08-26 Andreas Schwab <schwab@suse.de>
4421
4422 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4423 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4424
e0a69f5c
SP
44252013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4426
4427 * nscd/aicache.c (addhstaiX): Fix indentation.
4428
8c12f01d
MF
44292013-08-25 Mike Frysinger <vapier@gentoo.org>
4430
4431 * configure.ac: Quote $build_pt_chown test.
4432 * configure: Regenerated.
4433
8fe89494
JM
44342013-08-23 Joseph Myers <joseph@codesourcery.com>
4435
4436 [BZ #15532]
4437 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4438 * math/s_cexpf.c (__cexpf): Likewise.
4439 * math/s_cexpl.c (__cexpl): Likewise.
4440 * math/libm-test.inc (cexp_test_data): Correct expected return
4441 value for NaN + i0. Add another test.
4442
75b181d6
DM
44432013-08-22 David S. Miller <davem@davemloft.net>
4444
4445 * po/ca.po: Update Catalan translation from translation project.
936241e4 4446 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 4447
acd06bb1
JM
44482013-08-21 Joseph Myers <joseph@codesourcery.com>
4449
4450 [BZ #15797]
4451 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4452 is infinite, not alongside NaN test.
4453 * math/s_fdimf.c (__fdimf): Likewise.
4454 * math/s_fdiml.c (__fdiml): Likewise.
4455 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4456 errno is unchanged.
4457
c0c3f78a
OB
44582013-08-21 Ondřej Bílka <neleai@seznam.cz>
4459
4460 * argp/argp-help.c: Fix typos.
4461 * crypt/speeds.c: Likewise.
4462 * csu/check_fds.c: Likewise.
4463 * elf/dl-load.c: Likewise.
4464 * elf/dl-open.c: Likewise.
4465 * elf/reldep3.c: Likewise.
4466 * elf/reldep.c: Likewise.
4467 * elf/sprof.c: Likewise.
4468 * iconv/iconv_charmap.c: Likewise.
4469 * iconv/skeleton.c: Likewise.
4470 * iconv/strtab.c: Likewise.
4471 * io/lockf64.c: Likewise.
4472 * libio/libioP.h: Likewise.
4473 * resolv/gai_notify.c: Likewise.
4474 * resolv/ns_name.c: Likewise.
4475 * resolv/ns_samedomain.c: Likewise.
4476 * resolv/res_send.c: Likewise.
4477 * stdlib/random.c: Likewise.
4478 * sunrpc/rpc/xdr.h: Likewise.
4479 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4480 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4481 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4482 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4483 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4484 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4485 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4486 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4487 * sysdeps/mach/hurd/check_fds.c: Likewise.
4488 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4489 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4490 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4491 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4492 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4493 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4494 * sysdeps/pthread/aio_notify.c: Likewise.
4495 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4496 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4497 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4498 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4499 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4500
46ed1038
LD
45012013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4502
4503 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4504 version if bit_Slow_SSE4_2 is set.
4505 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4506 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4507
d400dcac
AZ
45082013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4509
4510 [BZ #15867]
4511 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4512 trampoline stack frame information.
4513 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4514 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4515 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4516 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4517 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4518 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4519 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4520 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4521 sa_flags value.
4522 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4523 interrupting a syscall and set with option SA_SIGINFO.
4524
42c8fdd8
JM
45252013-08-20 Joseph Myers <joseph@codesourcery.com>
4526
c980f2f4
JM
4527 [BZ #15531]
4528 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4529 argument is infinite.
4530 * math/s_cprojf.c (__cprojf): Likewise.
4531 * math/s_cprojl.c (__cprojl): Likewise.
4532 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4533 * math/libm-test.inc (cproj_test_data): Add more tests.
4534
0716c4fc
JM
4535 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4536
42c8fdd8
JM
4537 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4538 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4539 size. Use __ffs to determine corresponding shift.
4540
b31469d0
JM
45412013-08-20 Joseph Myers <joseph@codesourcery.com>
4542 Roland McGrath <roland@hack.frob.com>
4543
4544 * Makefile (INSTALL): Remove trailing blank lines from output of
4545 makeinfo.
4546
4e39af6e
AK
45472013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4548
4549 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4550 Align 32 bit compat elf_greg to 8 bytes.
4551
f315524e
AA
45522013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4553
4554 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4555
1326ba1a
SP
45562013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4557
4558 * string/strcoll_l.c (coll_seq): New structure.
4559 (get_next_seq_cached): New function.
4560 (get_next_seq): New function.
4561 (do_compare): New function.
4562 (STRCOLL): Use GNU style definition. Simplify implementation
4563 by using get_next_seq, get_next_seq_cached and do_compare.
4564
91ce4085
FW
45652013-08-16 Florian Weimer <fweimer@redhat.com>
4566
4567 [BZ #14699]
4568 CVE-2013-4237
4569 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4570 member.
4571 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4572 member.
4573 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4574 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4575 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4576 conditional.
4577 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4578 GETDENTS_64BIT_ALIGNED.
4579 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4580 * manual/filesys.texi (Reading/Closing Directory): Document
4581 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4582 strongly.
4583 * manual/conf.texi (Limits for Files): Add portability note to
4584 NAME_MAX, PATH_MAX.
4585 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4586
ca0a6bc4
AS
45872013-08-13 Andreas Schwab <schwab@suse.de>
4588
4589 [BZ #15749]
4590 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4591 of fabs.
4592 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4593 LDBL_MAX_EXP >= 16384]: Add tests for it.
4594
6c1fd795
DM
45952013-08-12 David S. Miller <davem@davemloft.net>
4596
4597 * version.h (RELEASE): Set to "development".
4598 (VERSION): Set to "2.18.90".
4599 * NEWS: Add 2.19 section.
4600
31ad488d
DM
46012013-08-03 David S. Miller <davem@davemloft.net>
4602
4603 * po/ko.po: Update Korean translation from translation project.
4604
db24e684
DM
46052013-08-01 David S. Miller <davem@davemloft.net>
4606
4607 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4608 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4609 Bilka.
4610
f723285b
DM
46112013-07-30 David S. Miller <davem@davemloft.net>
4612
4613 * po/fr.po: Update French translation from translation project.
4614
3cbc52db
DM
46152013-07-28 David S. Miller <davem@davemloft.net>
4616
30bbc0cc
DM
4617 * po/cs.po: Update Czech translation from translation project.
4618
3cbc52db
DM
4619 * po/sv.po: Update Swedish translation from translation project.
4620
d492e6d0
DM
46212013-07-27 David S. Miller <davem@davemloft.net>
4622
f1a7f492
DM
4623 * po/eo.po: Update Esperanto translation from translation project.
4624
90e62a4a
DM
4625 * po/vi.po: Update Vietnamese translation from translation project.
4626
d492e6d0
DM
4627 * po/de.po: Update German translation from translation project.
4628
d4baa62d
DM
46292013-07-26 David S. Miller <davem@davemloft.net>
4630
641aa7b4
DM
4631 * po/bg.po: Update Bulgarian translation from translation project.
4632
d4baa62d
DM
4633 * po/nl.po: Update Dutch translation from translation project.
4634 * po/pl.po: Update Polish translation from translation project.
4635 * po/ru.po: Update Russian translation from translation project.
4636
61a9dcb9
DM
46372013-07-24 David S. Miller <davem@davemloft.net>
4638
4639 * po/libc.pot: Update.
4640
7b1f8b58
AZ
46412013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4642
4643 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4644 variable page size.
4645 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4646 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4647 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4648
a8fc7a03
AK
46492013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4650
4651 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4652
e4608715
CD
46532013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4654 Andreas Schwab <schwab@suse.de>
4655 Roland McGrath <roland@hack.frob.com>
4656 Joseph Myers <joseph@codesourcery.com>
4657 Carlos O'Donell <carlos@redhat.com>
4658
4659 [BZ #15755]
4660 * config.h.in: Define HAVE_PT_CHOWN.
4661 * config.make.in (build-pt-chown): New variable.
4662 * configure.in (--enable-pt_chown): New configure option.
4663 * configure: Regenerate.
4664 * login/Makefile: Include Makeconfig. Build pt_chown only if
4665 build-pt-chown is enabled.
4666 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4667 pt_chown to fix pty ownership.
4668 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4669 CLOSE_ALL_FDS.
4670 * manual/install.texi (Configuring and compiling): Mention
4671 --enable-pt_chown. Add @findex for grantpt.
4672 * INSTALL: Regenerate.
4673
da2d62df
DM
46742013-07-20 David S. Miller <davem@davemloft.net>
4675
4676 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4677 difference between 32-bit and 64-bit.
4678
d7e06450
CD
46792013-07-15 Carlos O'Donell <carlos@redhat.com>
4680
4681 [BZ #15711]
4682 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4683 Avoid system header dependency with -ffreestanding.
4684 ($(objpfx)bits/syscall%d): Likewise.
4685
f959cfd7
DM
46862013-07-13 David S. Miller <davem@davemloft.net>
4687
4688 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4689 underflows from atanl/atan2l due to bug 15319.
4690 (casinh_test_data): Likewise.
4691
c61f8513
DM
46922013-07-07 David S. Miller <davem@davemloft.net>
4693
4694 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4695
72c90ed0
JA
46962013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4697
4698 * sysdeps/i386/fpu/libm-test-ulps: Update.
4699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4700
52dfbe13
SP
47012013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4702
4703 * configure.in (--enable-lock-elision): Fix message text.
4704 * INSTALL: Regenerate.
4705 * configure: Regenerate.
4706
3f169543
AZ
47072013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4708
4709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4710
521c6785
AJ
47112013-07-03 Andreas Jaeger <aj@suse.de>
4712
4713 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4714 define.
4715 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4716 (ptrace_peeksiginfo_args): Add.
4717 (__ptrace_peeksiginfo_flags): Add.
4718 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4719 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4720 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4721
d2cc15cb
AM
47222013-07-03 Allan McRae <allan@archlinux.org>
4723
4724 * sysdeps/i386/fpu/libm-test-ulps: Update.
4725
3aaeeca7
DM
47262013-07-02 David S. Miller <davem@davemloft.net>
4727
4728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4729
5314ed1a
MT
47302013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4731
4732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4733
67338156
JM
47342013-07-02 Joseph Myers <joseph@codesourcery.com>
4735
4736 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4738
1717da59
AK
47392013-07-02 Andi Kleen <ak@linux.intel.com>
4740
4741 * config.h.in (ENABLE_LOCK_ELISION): Add.
4742 * configure.in (--enable-lock-elision): Add option.
4743 * manual/install.texi: Document --enable lock elision.
4744 * configure: Regenerate
4745 * INSTALL: Regenerate.
4746
1c81621c
L
47472013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4748
4749 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4750 SSE4.2 strcasecmp for libc.a.
4751 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4752
77f01ab5
JM
47532013-07-02 Joseph Myers <joseph@codesourcery.com>
4754
4755 [BZ #13304]
4756 * soft-fp/op-common.h (_FP_FMA): New macro.
4757 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4758 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4759 (_FP_MUL_MEAT_1_imm): ... here.
4760 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4761 (_FP_MUL_MEAT_1_wide): ... here.
4762 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4763 (_FP_MUL_MEAT_1_hard): ... here.
4764 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4765 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4766 (_FP_MUL_MEAT_2_wide): ... here.
4767 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4768 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4769 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4770 (_FP_MUL_MEAT_2_gmp): ... here.
4771 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4772 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
4773 (_FP_MUL_MEAT_4_wide): ... here.
4774 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
4775 (_FP_MUL_MEAT_4_gmp): ... here.
4776 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4777 (_FP_WFRACBITS_DW_S): Likewise.
4778 (_FP_WFRACXBITS_DW_S): Likewise.
4779 (_FP_HIGHBIT_DW_S): Likewise.
4780 (FP_FMA_S): Likewise.
4781 (_FP_FRAC_HIGH_DW_S): Likewise.
4782 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4783 (_FP_WFRACBITS_DW_D): Likewise.
4784 (_FP_WFRACXBITS_DW_D): Likewise.
4785 (_FP_HIGHBIT_DW_D): Likewise.
4786 (FP_FMA_D): Likewise.
4787 (_FP_FRAC_HIGH_DW_D): Likewise.
4788 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4789 (_FP_WFRACBITS_DW_E): Likewise.
4790 (_FP_WFRACXBITS_DW_E): Likewise.
4791 (_FP_HIGHBIT_DW_E): Likewise.
4792 (FP_FMA_E): Likewise.
4793 (_FP_FRAC_HIGH_DW_E): Likewise.
4794 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4795 (_FP_WFRACBITS_DW_Q): Likewise.
4796 (_FP_WFRACXBITS_DW_Q): Likewise.
4797 (_FP_HIGHBIT_DW_Q): Likewise.
4798 (FP_FMA_Q): Likewise.
4799 (_FP_FRAC_HIGH_DW_Q): Likewise.
4800 * soft-fp/fmasf4.c: New file.
4801 * soft-fp/fmadf4.c: Likewise.
4802 * soft-fp/fmatf4.c: Likewise.
4803
6308fd9a
LD
48042013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4805
4806 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4807 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4808 Silvermont.
4809 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4810 macro.
4811 (index_Slow_SSE4_2): Likewise.
4812 (index_Prefer_PMINUB_for_stringop): Likewise.
4813 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4814 bit_Slow_SSE4_2 is set.
4815 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4816 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4817
89cd9569
RA
48182013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4819
4820 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4821 rtld_global._dl_hwcap2.
4822 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4823 POWER8.
4824 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4825 POWER8 feature descriptions defined in _dl_hwcap2.
4826 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4827 string handling for POWER8 feature bits.
4828 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4829 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4830 _dl_powerpc_cap_flags.
4831 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4832 * sysdeps/powerpc/rtld-global-offsets.sym
4833 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4834 _dl_hwcap2 in the rtld_global_ro structure.
4835
1ae8bfe0
RA
48362013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4837
4838 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4839 hardware capabilities in support of AT_HWCAP2.
4840 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4841 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4842 GLRO(dl_hwcap2).
4843 (_dl_show_auxv): Add support for calling _dl_procinfo to display
4844 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
4845 explicitly the unknown a_type display mechanism is used.
4846 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4847 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4848 struct member.
4849 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4850 to macro prototype for AT_HWCAP2 support.
4851 * sysdeps/i386/dl-procinfo.h: Likewise.
4852 * sysdeps/s390/dl-procinfo.h: Likewise.
4853 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4854 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4855 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4856 return -1 for unknown a_type display fallback.
4857 * sysdeps/sparc/dl-procinfo.h: Likewise.
4858 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4859 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4860
8fbec010
JM
48612013-06-28 Joseph Myers <joseph@codesourcery.com>
4862
4863 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4864 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4865
0432680e
PY
48662013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4867
4868 [BZ #12492]
4869 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4870 mprotect making __stack_prot writable.
4871
ce61a2ad
NF
48722013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4873 Joseph Myers <joseph@codesourcery.com>
4874
4875 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4876 as being properly aligned.
4877
f91f1c0f
MR
48782013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4879
3d0f5d0c
MR
4880 * dlfcn/modstatic5.c: New file.
4881 * dlfcn/tststatic5.c: New file.
4882 * dlfcn/Makefile (tests): Add tststatic5.
4883 (tests-static): Likewise.
4884 (modules-names): Add modstatic5.
4885 (tststatic5-ENV): New variable.
4886 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4887
f91f1c0f
MR
4888 [BZ #15022]
4889 * elf/dl-support.c (_dl_main_map): New variable.
4890 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4891 (_dl_nns, _dl_load_adds): Set to 1.
4892 (_dl_initial_searchlist): Refer to _dl_main_map.
4893 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4894 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4895 call to _dl_get_origin.
4896 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4897 around call_map.
4898 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4899 * dlfcn/modstatic3.c: New file.
4900 * dlfcn/tststatic3.c: New file.
4901 * dlfcn/tststatic4.c: New file.
4902 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4903 (tests-static): Likewise.
4904 (modules-names): Add modstatic3.
4905 (tststatic3-ENV, tststatic4-ENV): New variables.
4906 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4907 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4908
cbe7d24b
JM
49092013-06-26 Joseph Myers <joseph@codesourcery.com>
4910
4911 * configure.in (CC): Require GCC version 4.4 or later.
4912 * configure: Regenerated.
4913 * manual/install.texi (Tools for Compilation): Update GCC version
4914 requirement.
4915 * INSTALL: Regenerated.
4916
11b8a0e1
LD
49172013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4918
4919 [BZ #15674]
bb5bb87c
L
4920 * string/test-memcmp.c (check2): New.
4921 (main): Call check2.
4922
11b8a0e1
LD
4923 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4924
b0037103
MR
49252013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4926
4927 [BZ #15022]
4928 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4929 over to...
4930 (dl_open_worker) [!SHARED]: ... here.
4931
c18c701d
RA
49322013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4933
4934 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4935
1d17fa5f
RH
49362013-06-25 Richard Henderson <rth@redhat.com>
4937
4938 * locale/programs/locarchive.c: Include <libc-internal.h>
4939
8fcb833a
JM
49402013-06-25 Joseph Myers <joseph@codesourcery.com>
4941
4942 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4943 trailing whitespace removed.
4944
17db6e8d
MF
49452013-06-24 Mike Frysinger <vapier@gentoo.org>
4946
4947 [BZ #10283]
17db6e8d
MF
4948 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4949 * locale/programs/locarchive.c: Include libc-mmap.h.
4950 (prepare_address_space): Take two new outputs (the mmap base and len).
4951 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4952 values.
4953 (create_archive): Declare new mmap base and len values for
4954 prepare_address_space, and store the result in ah.
4955 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4956 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4957 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4958 Declare new mmap base and len values for
4959 prepare_address_space, and store the result in new_ah.
4960 (open_archive): Declare new mmap base and len values for
4961 prepare_address_space, and store the result in ah.
4962 (close_archive): If ah->mmap_base is not NULL, use that and
4963 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4964 * sysdeps/generic/libc-mmap.h: New file.
4965
d605071e
MF
49662013-06-24 Mike Frysinger <vapier@gentoo.org>
4967
4968 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4969 (ALIGN_UP): Likewise.
4970 (PTR_ALIGN_DOWN): Likewise.
4971 (PTR_ALIGN_UP): Likewise.
4972
2f063a6e
RA
49732013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4974
4975 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4976 entry mapped to PPC_PLATFORM_POWER8.
4977 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4978 POWER8.
4979 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4980 (_dl_string_platform): Add case for exporting platform position for
4981 POWER8.
4982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4983 search path to sysdeps/powerpc/powerpc32/power8 directory.
4984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4985 search path to sysdeps/powerpc/powerpc64/power8 directory.
4986 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4987 power7 directories.
4988 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4989 power7 directories.
4990
a31ee4b3
SP
49912013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4992
a74ca98f
SP
4993 * INSTALL: Regenerate.
4994
a31ee4b3
SP
4995 * nscd/connections.c (nscd_init): Fix comment.
4996
695c378f
JM
49972013-06-22 Joseph Myers <joseph@codesourcery.com>
4998
d8412221
JM
4999 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5000
695c378f
JM
5001 [BZ #15667]
5002 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5003 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5004
d1d54715
MR
50052013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5006
5007 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5008 DL_DST_REQ_STATIC.
5009 (DL_DST_REQ_STATIC): Remove macro.
5010
8fdda7af
JM
50112013-06-21 Joseph Myers <joseph@codesourcery.com>
5012
5013 [BZ #7006]
5014 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5015 with a shift of 0 bits.
5016
f3bc5e5a
MR
50172013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5018
5019 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5020 $(tststatic-ENV).
5021
be09e8c9
KK
50222013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5023
5024 [BZ #15655]
5025 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5026
85c2e611
AZ
50272013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5028
5029 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5030 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5031 accepts -fno-tree-loop-distribute-patterns.
5032 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5033 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5034 recursive call.
5035 * string/memset.c (memset): Likewise.
5036 * string/test-memmove.c (simple_memmove): Disable loop transformation
5037 to library calls.
5038 * string/test-memset.c (simple_memset): Likewise.
5039 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5040 * benchtests/bench-memset.c (simple_memset): Likewise.
5041 * configure: Regenerated.
5042
c91e0825
JM
50432013-06-20 Joseph Myers <joseph@codesourcery.com>
5044
b8c792af
JM
5045 * math/test-misc.c (main): Ignore fesetround failure when failures
5046 of subsequent rounding tests would be ignored.
5047
c91e0825
JM
5048 [BZ #15654]
5049 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5050 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5051 * math/fegetenv.c (__fegetenv): Return 0.
5052 * math/fegetexcept.c (fegetexcept): Return 0.
5053 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5054 FE_TONEAREST.
5055 * math/feholdexcpt.c (feholdexcept): Return 0.
5056 * math/fesetenv.c (__fesetenv): Return 0.
5057 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5058 argument FE_TONEAREST.
5059 * math/feupdateenv.c (__feupdateenv): Return 0.
5060 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5061
bfcacbde
RM
50622013-06-18 Roland McGrath <roland@hack.frob.com>
5063
5064 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5065 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5066 ($(objpfx)rtld-%.os rules): Use them.
5067
e55a9b25
AZ
50682013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5069
5070 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5071 fields.
5072
346d65b3
RM
50732013-06-17 Roland McGrath <roland@hack.frob.com>
5074
12086fb4
RM
5075 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5076 length of target pattern, then descending length of dependency pattern.
5077 * configure.in (AWK): Require gawk 3.1.2 or newer.
5078 * manual/install.texi (Tools for Compilation): Say that we do.
5079 * configure: Regenerated.
5080
346d65b3
RM
5081 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5082 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5083 * scripts/sysd-rules.awk: ... this new script.
5084 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5085 than a glob-style pattern.
5086
1a846317
JM
50872013-06-17 Joseph Myers <joseph@codesourcery.com>
5088
5089 * math/test-misc.c (main): Do not treat incorrectly rounded
5090 conversions as failure unless ROUNDING_TESTS passes.
5091
8fc75e6f
JM
50922013-06-15 Joseph Myers <joseph@codesourcery.com>
5093
3711a167
JM
5094 [BZ #15631]
5095 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5096 restore exception state around main square root computation, then
5097 check for inexactness explicitly.
5098
8fc75e6f
JM
5099 * math/libm-test.inc (fma_test_data): Add another test.
5100
61dd6208
SP
51012013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5102
adf23d2c
SP
5103 * manual/threads.texi (Non-POSIX Extensions): New document
5104 node. Document pthread_getattr_default_np and
5105 pthread_setattr_default_np.
5106
61dd6208
SP
5107 * Versions.def (libpthread): Add GLIBC_2.18.
5108 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5110 Likewise.
5111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5112 Likewise.
5113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5114 Likewise.
5115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5116 Likewise.
5117 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5118 Likewise.
5119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5120 Likewise.
5121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5122 Likewise.
5123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5124 Likewise.
5125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5126 Likewise.
5127
d086fc7b
LD
51282013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5129
5130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5131 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5132
747ef469
SP
51332013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5134 H.J. Lu <hjl.tools@gmail.com>
5135
5136 [BZ #15627]
5137 * sysdeps/x86_64/rtld-memset.c: Remove file.
5138 * sysdeps/x86_64/rtld-memset.S: New file.
5139
1b2feed2
JM
51402013-06-14 Joseph Myers <joseph@codesourcery.com>
5141
5142 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5143 (test_in_one_mode): Take arguments for whether the rounding mode
5144 is supported for each floating-point type.
5145 (do_test): Pass new arguments to test_in_one_mode using
5146 ROUNDING_TESTS.
5147
a58ad3f8
RM
51482013-06-13 Roland McGrath <roland@hack.frob.com>
5149
5150 * posix/tst-waitid.c (do_test): Distinguish different instances of
5151 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5152 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5153 before entering the kernel for waitpid.
5154
c204ab28
SP
51552013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5156
5157 * NEWS: Fix note on clock function precision. Text by Roland
5158 McGrath.
5159
f4a29fba
RM
51602013-06-13 Roland McGrath <roland@hack.frob.com>
5161
5162 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5163 it into place only when and if the sanity check passes.
5164
1f24b9ad
JM
51652013-06-13 Joseph Myers <joseph@codesourcery.com>
5166
5167 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5168 output for whether conversion result is exact. Take argument
5169 indicating whether type is IBM long double.
5170 (round_for_all): Change need_exact field to ibm_ld.
5171 * stdlib/tst-strtod-round.c (struct exactness): New type.
5172 (struct test): Change bool ld_ok field to struct exactness exact.
5173 (TEST): Update all definitions for change to field.
5174 (tests): Regenerate array contents.
5175 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5176 field value. Check for IBM long double here.
5177 (do_test): Update calls to test_in_one_mode.
5178
58206c68
SP
51792013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5180
5181 [BZ #12515]
5182 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5183 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5184
2d6f4c5b 51852013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
5186
5187 [BZ #15605]
5188 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5189 generated by the compiler on loop optimizations.
5190 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5191 general definitions.
5192
94f2c076
JM
51932013-06-12 Joseph Myers <joseph@codesourcery.com>
5194
5195 * math/bug-nextafter.c: Include <math-tests.h>.
5196 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5197 the relevant type.
5198 * math/bug-nexttoward.c: Include <math-tests.h>.
5199 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5200 the relevant type.
5201 * math/test-misc.c: Include <math-tests.h>.
5202 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5203 the relevant type.
5204
e0e50a0a
AJ
52052013-06-12 Andreas Jaeger <aj@suse.de>
5206
5207 * po/ia.po: Update Interlingua translation from translation
5208 project.
5209
25061094
SP
52102013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5211
5212 * include/fenv.h: Include stdbool.h.
5213 (struct rm_ctx): New structure.
5214 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5215 Define macro.
5216 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5217 (SET_RESTORE_ROUNDF): Likewise.
5218 (SET_RESTORE_ROUNDL): Likewise.
5219 (SET_RESTORE_ROUND_NOEX): Likewise.
5220 (SET_RESTORE_ROUND_NOEXF): Likewise.
5221 (SET_RESTORE_ROUND_NOEXL): Likewise.
5222 (SET_RESTORE_ROUND_53BIT): Likewise.
5223 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5224 (libc_feresetround_noexf_ctx): Likewise.
5225 (libc_feresetround_noexl_ctx): Likewise.
5226 (libc_feholdsetround_53bit_ctx): Likewise.
5227 (libc_feresetround_53bit_ctx): Likewise.
5228 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5229 (libc_feholdexcept_setround_sse_ctx): New function.
5230 (libc_fesetenv_sse_ctx): Likewise.
5231 (libc_feupdateenv_sse_ctx): Likewise.
5232 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5233 (libc_feholdexcept_setround_387_ctx): Likewise.
5234 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5235 (libc_feholdsetround_387_prec_ctx): Likewise.
5236 (libc_feholdsetround_387_ctx): Likewise.
5237 (libc_feholdsetround_387_53bit_ctx): Likewise.
5238 (libc_feholdsetround_sse_ctx): Likewise.
5239 (libc_feresetround_sse_ctx): Likewise.
5240 (libc_feresetround_387_ctx): Likewise.
5241 (libc_feupdateenv_387_ctx): Likewise.
5242 (libc_feholdexcept_setroundf_ctx): Define macro.
5243 (libc_fesetenvf_ctx): Likewise.
5244 (libc_feupdateenvf_ctx): Likewise.
5245 (libc_feholdsetroundf_ctx): Likewise.
5246 (libc_feresetroundf_ctx): Likewise.
5247 (libc_feholdexcept_setround_ctx): Likewise.
5248 (libc_fesetenv_ctx): Likewise.
5249 (libc_feupdateenv_ctx): Likewise.
5250 (libc_feholdsetround_ctx): Likewise.
5251 (libc_feresetround_ctx): Likewise.
5252 (libc_feholdexcept_setroundl_ctx): Likewise.
5253 (libc_feupdateenvl_ctx): Likewise.
5254 (libc_feholdsetroundl_ctx): Likewise.
5255 (libc_feresetroundl_ctx): Likewise.
5256 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5257 (libc_feresetround_53bit_ctx): Likewise.
5258
59b30555
SP
52592013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5260
5261 * locale/iso-639.def: Convert to UTF-8.
5262
f1d73d30
JM
52632013-06-11 Joseph Myers <joseph@codesourcery.com>
5264
5265 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5266 (EXCEPTION_TESTS_double): Likewise.
5267 (EXCEPTION_TESTS_long_double): Likewise.
5268 (EXCEPTION_TESTS): Likewise.
5269 * math/libm-test.inc (test_exceptions): Only test exceptions if
5270 EXCEPTION_TESTS (FLOAT).
5271
94aca5e7
SP
52722013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5273
5274 * benchtests/Makefile (string-bench): Add strcpy_chk and
5275 stpcpy_chk.
5276 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5277 * benchtests/bench-stpcpy_chk.c: New file.
5278 * benchtests/bench-strcpy_chk-ifunc.c: New file.
5279 * benchtests/bench-strcpy_chk.c: New file.
5280 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5281 code.
5282 (do_test): Likewise.
5283
fac0c5f2
RA
52842013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5285
5286 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5287 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5288 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5289 with tabs where appropriate.
5290 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5291 dl-procinfo.h.
5292 [PPC_PLATFORM_PPC440]: Likewise.
5293 [PPC_PLATFORM_PPC464]: Likewise.
5294 [PPC_PLATFORM_PPC476]: Likewise.
5295 (_dl_string_platform): Add support for detecting ppc405, ppc440,
5296 ppc464, and ppc476 platform strings merging from ports/
5297 dl-procinfo.h.
5298
f22bc486
AS
52992013-06-11 Andreas Schwab <schwab@suse.de>
5300
5301 [BZ #14991]
5302 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5303 (from_ucs4_idx): Regenerate.
5304 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5305 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5306 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5307 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5308 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5309 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5310 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5311 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5312 from FROM_LOOP and TO_LOOP specific macros.
5313 (BODY): Handle combining characters.
5314 * iconvdata/BIG5HKSCS.irreversible: Update.
5315 * iconvdata/BIG5HKSCS.precomposed: New file.
5316 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5317 characters.
5318 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5319
c1f75dc3
SP
53202013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5321
4eacded2
SP
5322 * include/sys/time.h: Fix indentation and add copyright header.
5323
fec799f8
SP
5324 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5325 (do_test): Likewise.
5326 * string/test-memchr.c (do_one_test): Likewise.
5327 (do_test): Likewise.
5328 * string/test-memcmp.c (do_one_test): Likewise.
5329 (do_test): Likewise.
5330 * string/test-memcpy.c (do_one_test): Likewise.
5331 (do_test): Likewise.
5332 * string/test-memmem.c (do_one_test): Likewise.
5333 (do_test): Likewise.
5334 (do_random_tests): Likewise.
5335 * string/test-memmove.c (do_one_test): Likewise.
5336 (do_test): Likewise.
5337 * string/test-memset.c (do_one_test): Likewise.
5338 (do_test): Likewise.
5339 * string/test-rawmemchr.c (do_one_test): Likewise.
5340 (do_test): Likewise.
5341 * string/test-strcasecmp.c (do_one_test): Likewise.
5342 (do_test): Likewise.
5343 * string/test-strcasestr.c (do_one_test): Likewise.
5344 (do_test): Likewise.
5345 * string/test-strcat.c (do_one_test): Likewise.
5346 (do_test): Likewise.
5347 * string/test-strchr.c (do_one_test): Likewise.
5348 (do_test): Likewise.
5349 * string/test-strcmp.c (do_one_test): Likewise.
5350 (do_test): Likewise.
5351 * string/test-strcpy.c (do_one_test): Likewise.
5352 (do_test): Likewise.
5353 * string/test-string.h: Likewise.
5354 (test_init): Likewise.
5355 * string/test-strlen.c (do_one_test): Likewise.
5356 (do_test): Likewise.
5357 * string/test-strncasecmp.c (do_one_test): Likewise.
5358 (do_test): Likewise.
5359 * string/test-strncat.c (do_one_test): Likewise.
5360 (do_test): Likewise.
5361 * string/test-strncmp.c (do_one_test): Likewise.
5362 (do_test_limit): Likewise.
5363 (do_test): Likewise.
5364 * string/test-strncpy.c (do_one_test): Likewise.
5365 (do_test): Likewise.
5366 * string/test-strnlen.c (do_one_test): Likewise.
5367 (do_test): Likewise.
5368 * string/test-strpbrk.c (do_one_test): Likewise.
5369 (do_test): Likewise.
5370 * string/test-strrchr.c (do_one_test): Likewise.
5371 (do_test): Likewise.
5372 * string/test-strspn.c (do_one_test): Likewise.
5373 (do_test): Likewise.
5374 * string/test-strstr.c (do_one_test): Likewise.
5375 (do_test): Likewise.
5376
97020474
SP
5377 * benchtests/Makefile (string-bench): Add string benchmarks.
5378 * benchtests/bench-bcopy-ifunc.c: New file.
5379 * benchtests/bench-bcopy.c: New file.
5380 * benchtests/bench-bzero-ifunc.c: New file.
5381 * benchtests/bench-bzero.c: New file.
5382 * benchtests/bench-memccpy-ifunc.c: New file.
5383 * benchtests/bench-memccpy.c: New file.
5384 * benchtests/bench-memchr-ifunc.c: New file.
5385 * benchtests/bench-memchr.c: New file.
5386 * benchtests/bench-memcmp-ifunc.c: New file.
5387 * benchtests/bench-memcmp.c: New file.
5388 * benchtests/bench-memmem-ifunc.c: New file.
5389 * benchtests/bench-memmem.c: New file.
5390 * benchtests/bench-memmove-ifunc.c: New file.
5391 * benchtests/bench-memmove.c: New file.
5392 * benchtests/bench-mempcpy-ifunc.c: New file.
5393 * benchtests/bench-mempcpy.c: New file.
5394 * benchtests/bench-memset-ifunc.c: New file.
5395 * benchtests/bench-memset.c: New file.
5396 * benchtests/bench-rawmemchr-ifunc.c: New file.
5397 * benchtests/bench-rawmemchr.c: New file.
5398 * benchtests/bench-stpcpy-ifunc.c: New file.
5399 * benchtests/bench-stpcpy.c: New file.
5400 * benchtests/bench-stpncpy-ifunc.c: New file.
5401 * benchtests/bench-stpncpy.c: New file.
5402 * benchtests/bench-strcasecmp-ifunc.c: New file.
5403 * benchtests/bench-strcasecmp.c: New file.
5404 * benchtests/bench-strcasestr-ifunc.c: New file.
5405 * benchtests/bench-strcasestr.c: New file.
5406 * benchtests/bench-strcat-ifunc.c: New file.
5407 * benchtests/bench-strcat.c: New file.
5408 * benchtests/bench-strchr-ifunc.c: New file.
5409 * benchtests/bench-strchr.c: New file.
5410 * benchtests/bench-strchrnul-ifunc.c: New file.
5411 * benchtests/bench-strchrnul.c: New file.
5412 * benchtests/bench-strcmp-ifunc.c: New file.
5413 * benchtests/bench-strcmp.c: New file.
5414 * benchtests/bench-strcpy-ifunc.c: New file.
5415 * benchtests/bench-strcpy.c: New file.
5416 * benchtests/bench-strcspn-ifunc.c: New file.
5417 * benchtests/bench-strcspn.c: New file.
5418 * benchtests/bench-strlen-ifunc.c: New file.
5419 * benchtests/bench-strlen.c: New file.
5420 * benchtests/bench-strncasecmp-ifunc.c: New file.
5421 * benchtests/bench-strncasecmp.c: New file.
5422 * benchtests/bench-strncat-ifunc.c: New file.
5423 * benchtests/bench-strncat.c: New file.
5424 * benchtests/bench-strncmp-ifunc.c: New file.
5425 * benchtests/bench-strncmp.c: New file.
5426 * benchtests/bench-strncpy-ifunc.c: New file.
5427 * benchtests/bench-strncpy.c: New file.
5428 * benchtests/bench-strnlen-ifunc.c: New file.
5429 * benchtests/bench-strnlen.c: New file.
5430 * benchtests/bench-strpbrk-ifunc.c: New file.
5431 * benchtests/bench-strpbrk.c: New file.
5432 * benchtests/bench-strrchr-ifunc.c: New file.
5433 * benchtests/bench-strrchr.c: New file.
5434 * benchtests/bench-strspn-ifunc.c: New file.
5435 * benchtests/bench-strspn.c: New file.
5436 * benchtests/bench-strstr-ifunc.c: New file.
5437 * benchtests/bench-strstr.c: New file.
5438
c1f75dc3
SP
5439 * benchtests/Makefile: Disable parallel execution of targets.
5440 (string-bench): Add memcpy.
5441 (benchset): New variable to store a list of benchmark sets.
5442 (bench-func): Renamed from bench.
5443 (bench-set): New target.
5444 (bench): Depend on bench-func and bench-set.
5445 * benchtests/README: Add section on benchmark sets.
5446 * benchtests/bench-memcpy-ifunc.c: New file.
5447 * benchtests/bench-memcpy.c: New file.
5448 * benchtests/bench-string.h: New file.
5449
50fd745b
AS
54502013-06-11 Andreas Schwab <schwab@suse.de>
5451
5452 [BZ #15577]
5453 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5454 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5455 values in the triple.
5456 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5457 terminator in the group key.
5458
3ee7e9fe
AJ
54592013-06-11 Andreas Jaeger <aj@suse.de>
5460
5461 * po/zh_TW.po: Update Chinese (traditional) translation from
5462 translation project.
5463
89fb6835
SP
54642013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5465
5466 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5467 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5468 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5469 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5470 (clock_getcpuclockid): Likewise.
5471 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5472 Add weak_alias and libc_hidden_def.
5473 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5474 * rt/clock_gettime.c (clock_gettime): Rename to
5475 __clock_gettime. Add weak_alias and libc_hidden_def.
5476 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5477 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5478 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5479 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5480 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5481 Likewise.
5482 * rt/clock_settime.c (clock_settime): Rename to
5483 __clock_settime. Add weak_alias and libc_hidden_def.
5484 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5485
0efa6f8b
JM
54862013-06-10 Joseph Myers <joseph@codesourcery.com>
5487
b8c61b4b
JM
5488 * mach/err_boot.sub: Remove trailing whitespace.
5489 * mach/err_ipc.sub: Likewise.
5490 * mach/err_mach.sub: Likewise.
5491
0efa6f8b
JM
5492 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5493 (ROUNDING_TESTS_double): Likewise.
5494 (ROUNDING_TESTS_long_double): Likewise.
5495 (ROUNDING_TESTS): Likewise.
5496 * math/libm-test.inc: Include <math-tests.h>.
5497 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5498 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5499 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5500 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5501
50b818bf
SP
55022013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5503
5504 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5505 of assigning.
5506
60d2f8f3
JM
55072013-06-08 Joseph Myers <joseph@codesourcery.com>
5508
4902d2c3
JM
5509 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5510 otherwise empty TRANS lines.
5511 * sysdeps/gnu/errlist.c: Regenerated.
5512
60d2f8f3
JM
5513 * catgets/gencat.c (error_print): Use (void) in function
5514 definition.
5515 * crypt/crypt_util.c (__init_des): Likewise.
5516 * crypt/speeds.c (Stop): Likewise.
5517 (main): Likewise.
5518 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5519 * inet/ruserpass.c (token): Likewise.
5520 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5521 * intl/localealias.c (extend_alias_table): Likewise.
5522 * intl/plural-exp.c (init_germanic_plural): Likewise.
5523 * libio/fcloseall.c (__fcloseall): Likewise.
5524 * libio/genops.c (_IO_flush_all): Likewise.
5525 (_IO_flush_all_linebuffered): Likewise.
5526 (_IO_cleanup): Likewise.
5527 (_IO_iter_begin): Likewise.
5528 (_IO_iter_end): Likewise.
5529 (_IO_list_lock): Likewise.
5530 (_IO_list_unlock): Likewise.
5531 (_IO_list_resetlock): Likewise.
5532 * libio/getchar.c (getchar): Likewise.
5533 * libio/getchar_u.c (getchar_unlocked): Likewise.
5534 * libio/getwchar.c (getwchar): Likewise.
5535 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5536 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5537 * login/getpt.c (__getpt): Likewise.
5538 * login/tst-utmp.c (main): Likewise.
5539 * malloc/hooks.c (__malloc_check_init): Likewise.
5540 * malloc/malloc.c (__malloc_stats): Likewise.
5541 * malloc/mtrace.c (tr_break): Likewise.
5542 (mtrace): Likewise.
5543 (muntrace): Likewise.
5544 * misc/fstab.c (endfsent): Likewise.
5545 * misc/getclktck.c (__getclktck): Likewise.
5546 * misc/getdtsz.c (__getdtablesize): Likewise.
5547 * misc/gethostid.c (gethostid): Likewise.
5548 * misc/getpagesize.c (__getpagesize): Likewise.
5549 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5550 (__get_nprocs): Likewise.
5551 (__get_phys_pages): Likewise.
5552 (__get_avphys_pages): Likewise.
5553 * misc/getttyent.c (getttyent): Likewise.
5554 (setttyent): Likewise.
5555 (endttyent): Likewise.
5556 * misc/getusershell.c (getusershell): Likewise.
5557 (endusershell): Likewise.
5558 (setusershell): Likewise.
5559 (initshells): Likewise.
5560 * misc/hsearch.c (__hdestroy): Likewise.
5561 * misc/sync.c (sync): Likewise.
5562 * misc/syslog.c (closelog_internal): Likewise.
5563 (closelog): Likewise.
5564 * misc/ttyslot.c (ttyslot): Likewise.
5565 * misc/vhangup.c (vhangup): Likewise.
5566 * posix/fork.c (__fork): Likewise.
5567 * posix/getegid.c (__getegid): Likewise.
5568 * posix/geteuid.c (__geteuid): Likewise.
5569 * posix/getgid.c (__getgid): Likewise.
5570 * posix/getpid.c (__getpid): Likewise.
5571 * posix/getppid.c (__getppid): Likewise.
5572 * posix/getuid.c (__getuid): Likewise.
5573 * posix/pause.c (pause): Likewise.
5574 * posix/setpgrp.c (setpgrp): Likewise.
5575 * posix/setsid.c (__setsid): Likewise.
5576 * posix/test-vfork.c (noop): Likewise.
5577 * resolv/gethnamaddr.c (_endhtent): Likewise.
5578 (_gethtent): Likewise.
5579 (ht_endhostent): Likewise.
5580 (gethostent): Likewise.
5581 (dns_service): Likewise.
5582 * stdlib/drand48.c (drand48): Likewise.
5583 * stdlib/lrand48.c (lrand48): Likewise.
5584 * stdlib/mrand48.c (mrand48): Likewise.
5585 * stdlib/rand.c (rand): Likewise.
5586 * stdlib/random.c (__random): Likewise.
5587 * stdlib/setenv.c (clearenv): Likewise.
5588 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5589 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5590 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5591 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5592 (__get_nprocs): Likewise.
5593 (__get_phys_pages): Likewise.
5594 (__get_avphys_pages): Likewise.
5595 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5596 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5597 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5598 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5599 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5600 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5601 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5602 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5603 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5604 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5605 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5606 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5607 * sysdeps/posix/clock.c (clock): Likewise.
5608 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5609 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5610 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5611 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5612 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5613 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5614 (__get_nprocs_conf): Likewise.
5615 (__get_phys_pages): Likewise.
5616 (__get_avphys_pages): Likewise.
5617 * time/clock.c (clock): Likewise.
5618 * time/tzset.c (__tzname_max): Likewise.
5619
2e09a79a
JM
56202013-06-07 Joseph Myers <joseph@codesourcery.com>
5621
5622 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5623 (__bswap_32): Do not use "register".
5624 * crypt/crypt.c (_ufc_doit_r): Likewise.
5625 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5626 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5627 * gmon/gmon.c (__monstartup): Likewise.
5628 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5629 * hurd/hurdmalloc.c (more_memory): Likewise.
5630 (malloc): Likewise.
5631 (free): Likewise.
5632 (realloc): Likewise.
5633 (malloc_fork_prepare): Likewise.
5634 (malloc_fork_parent): Likewise.
5635 (malloc_fork_child): Likewise.
5636 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5637 (_svcauth_des): Likewise.
5638 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5639 * inet/inet_net.c (inet_network): Likewise.
5640 * inet/inet_netof.c (inet_netof): Likewise.
5641 * inet/rcmd.c (__validuser2_sa): Likewise.
5642 * io/fts.c (fts_open): Likewise.
5643 (fts_load): Likewise.
5644 (fts_close): Likewise.
5645 (fts_read): Likewise.
5646 (fts_children): Likewise.
5647 (fts_build): Likewise.
5648 (fts_stat): Likewise.
5649 (fts_sort): Likewise.
5650 (fts_alloc): Likewise.
5651 (fts_lfree): Likewise.
5652 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5653 (_IO_file_xsgetn): Likewise.
5654 (_IO_file_xsgetn_mmap): Likewise.
5655 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5656 (_IO_cookie_write): Likewise.
5657 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5658 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5659 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5660 * malloc/obstack.c (_obstack_begin): Likewise.
5661 (_obstack_begin_1): Likewise.
5662 (_obstack_newchunk): Likewise.
5663 (_obstack_allocated_p): Likewise.
5664 (obstack_free): Likewise.
5665 (_obstack_memory_used): Likewise.
5666 * misc/getttyent.c (getttynam): Likewise.
5667 (getttyent): Likewise.
5668 (skip): Likewise.
5669 (value): Likewise.
5670 * misc/getusershell.c (initshells): Likewise.
5671 * misc/syslog.c (__vsyslog_chk): Likewise.
5672 * misc/ttyslot.c (ttyslot): Likewise.
5673 * nis/nis_hash.c (__nis_hash): Likewise.
5674 * posix/fnmatch_loop.c (FCT): Likewise.
5675 * posix/getconf.c (print_all): Likewise.
5676 (main): Likewise.
5677 * posix/getopt.c (exchange): Likewise.
5678 * posix/glob.c (globfree): Likewise.
5679 (prefix_array): Likewise.
5680 (__glob_pattern_type): Likewise.
5681 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5682 (NS_GET32): Likewise.
5683 (NS_PUT16): Likewise.
5684 (NS_PUT32): Likewise.
5685 * resolv/gethnamaddr.c (getanswer): Likewise.
5686 (gethostbyname2): Likewise.
5687 (gethostbyaddr): Likewise.
5688 (_gethtent): Likewise.
5689 (_gethtbyname2): Likewise.
5690 (_gethtbyaddr): Likewise.
5691 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5692 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5693 * resolv/res_init.c (__res_vinit): Likewise.
5694 (net_mask): Likewise.
5695 * resolv/res_mkquery.c (outchar): Likewise.
5696 (PRINT): Likewise.
5697 * stdio-common/printf_fp.c (outchar): Likewise.
5698 (PRINT): Likewise.
5699 * stdio-common/printf_fphex.c (outchar): Likewise.
5700 (PRINT): Likewise.
5701 * stdio-common/printf_size.c (outchar): Likewise.
5702 (PRINT): Likewise.
5703 * stdio-common/test_rdwr.c (main): Likewise.
5704 * stdio-common/tfformat.c (matches): Likewise.
5705 * stdio-common/vfprintf.c (outchar): Likewise.
5706 (printf_unknown): Likewise.
5707 (buffered_vfprintf): Likewise.
5708 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5709 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5710 (ReadFile): Likewise.
5711 * stdlib/qsort.c (SWAP): Likewise.
5712 (_quicksort): Likewise.
5713 * stdlib/setenv.c (__add_to_environ): Likewise.
5714 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5715 * stdlib/strtol_l.c (__strtol_l): Likewise.
5716 * stdlib/tst-strtod.c (main): Likewise.
5717 * stdlib/tst-strtol.c (main): Likewise.
5718 * stdlib/tst-strtoll.c (main): Likewise.
5719 * string/bits/string2.h (__strcmp_cc): Likewise.
5720 (__strcmp_cg): Likewise.
5721 (__strcspn_c1): Likewise.
5722 (__strcspn_c2): Likewise.
5723 (__strcspn_c3): Likewise.
5724 (__strspn_c1): Likewise.
5725 (__strspn_c2): Likewise.
5726 (__strspn_c3): Likewise.
5727 (__strsep_1c): Likewise.
5728 (__strsep_2c): Likewise.
5729 (__strsep_3c): Likewise.
5730 * string/memccpy.c (__memccpy): Likewise.
5731 * string/stpcpy.c (__stpcpy): Likewise.
5732 * string/strcmp.c (strcmp): Likewise.
5733 * string/strrchr.c (strrchr): Likewise.
5734 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5735 Likewise.
5736 * sysdeps/mach/hurd/getcwd.c
5737 (_hurd_canonicalize_directory_name_internal): Likewise.
5738 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5739 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5740 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5741 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5742 Likewise, in both definitions.
5743 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5744 definitions.
5745 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5746 64] (__bswap_64): Likewise.
5747 * time/test_time.c (main): Likewise.
5748 * time/tzfile.c (__tzfile_read): Likewise.
5749 (__tzfile_compute): Likewise.
5750 * time/tzset.c (__tzset_parse_tz): Likewise.
5751 (tzset_internal): Likewise.
5752 (compute_change): Likewise.
5753 * wcsmbs/wcscat.c (__wcscat): Likewise.
5754 * wcsmbs/wcschr.c (wcschr): Likewise.
5755 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5756 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5757 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5758 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5759 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5760 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5761 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5762 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5763 * wcsmbs/wmemset.c (wmemset): Likewise.
5764
9e54314b
JM
57652013-06-06 Joseph Myers <joseph@codesourcery.com>
5766
5767 * scripts/config.guess: Update to version 2013-05-16.
5768 * scripts/config.sub: Update to version 2013-04-24.
5769 * scripts/install-sh: Update to version 2011-11-20.07.
5770 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5771 * scripts/move-if-change: Update to version 2012-01-06 07:23.
5772
350635a5
OB
57732013-06-06 Ondřej Bílka <neleai@seznam.cz>
5774
5775 * debug/fgetws_u_chk.c: Fix leading whitespaces.
5776 * elf/sln.c: Likewise.
5777 * hurd/hurd/ioctl.h: Likewise.
5778 * hurd/hurdmalloc.c: Likewise.
5779 * hurd/xattr.c: Likewise.
5780 * include/shlib-compat.h: Likewise.
5781 * inet/ruserpass.c: Likewise.
5782 * libio/iofgets_u.c: Likewise.
5783 * libio/iofgetws_u.c: Likewise.
5784 * locale/programs/ld-identification.c: Likewise.
5785 * locale/programs/ld-time.c: Likewise.
5786 * mach/msg-destroy.c: Likewise.
5787 * nss/nss_files/files-netgrp.c: Likewise.
5788 * resolv/res_data.c: Likewise.
5789 * soft-fp/op-1.h: Likewise.
5790 * soft-fp/op-2.h: Likewise.
5791 * soft-fp/op-4.h: Likewise.
5792 * soft-fp/op-common.h: Likewise.
5793 * stdio-common/printf_fphex.c: Likewise.
5794 * stdlib/strtod_l.c: Likewise.
5795 * sunrpc/rpc/clnt.h: Likewise.
5796 * sysdeps/generic/framestate.c: Likewise.
5797 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5798 * sysdeps/i386/bsd-setjmp.S: Likewise.
5799 * sysdeps/i386/__longjmp.S: Likewise.
5800 * sysdeps/i386/setjmp.S: Likewise.
5801 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5802 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5803 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5804 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5805 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5806 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5807 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5808 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5809 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5810 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5811 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5812 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5813 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5814 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5815 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5816 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5817 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5818 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5819 * sysdeps/ieee754/support.c: Likewise.
5820 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5821 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5822 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5823 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5824 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5825 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5826 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5827 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5828 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5829 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5830 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5831 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5832 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5833 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5834 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5835 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5836 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5838
44a988af
OB
58392013-06-05 Ondřej Bílka <neleai@seznam.cz>
5840
25506f09 5841 * posix/transbug.c: Remove executable mode.
44a988af 5842
9c84384c
JM
58432013-06-05 Joseph Myers <joseph@codesourcery.com>
5844
5845 * crypt/speeds.c: Remove trailing whitespace.
5846 * dlfcn/default.c: Likewise.
5847 * elf/ifuncdep2.c: Likewise.
5848 * elf/ifuncmain1.c: Likewise.
5849 * elf/ifuncmain1vis.c: Likewise.
5850 * elf/testobj.h: Likewise.
5851 * elf/tst-stackguard1.c: Likewise.
5852 * gmon/sys/gmon.h: Likewise.
5853 * hurd/hurdmsg.c: Likewise.
5854 * hurd/new-fd.c: Likewise.
5855 * hurd/ports-get.c: Likewise.
5856 * iconvdata/ibm1008_420.c: Likewise.
5857 * inet/tst-getni1.c: Likewise.
5858 * inet/tst-getni2.c: Likewise.
5859 * libio/ioungetc.c: Likewise.
5860 * libio/wfiledoalloc.c: Likewise.
5861 * manual/libm-err-tab.pl: Likewise.
5862 * math/w_dremf.c: Likewise.
5863 * misc/ftruncate.c: Likewise.
5864 * posix/bug-glob2.c: Likewise.
5865 * posix/tst-pcre.c: Likewise.
5866 * posix/wait4.c: Likewise.
5867 * resolv/README: Likewise.
5868 * resolv/res_debug.h: Likewise.
5869 * resolv/tst-inet_ntop.c: Likewise.
5870 * setjmp/bug269-setjmp.c: Likewise.
5871 * soft-fp/extended.h: Likewise.
5872 * soft-fp/op-1.h: Likewise.
5873 * soft-fp/op-2.h: Likewise.
5874 * soft-fp/op-4.h: Likewise.
5875 * soft-fp/op-8.h: Likewise.
5876 * soft-fp/testit.c: Likewise.
5877 * stdio-common/bug16.c: Likewise.
5878 * stdlib/random.c: Likewise.
5879 * sunrpc/rpcsvc/rquota.x: Likewise.
5880 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5881 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5882 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5883 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5884 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5885 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5886 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5887 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5888 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5889 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5890 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5891 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5892 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5893 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5894 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5895 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5896 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5897 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5898 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5899 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5900 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5901 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5902 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5903 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5904 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5905 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5906 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5907 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5908 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5909 * sysdeps/ieee754/s_lib_version.c: Likewise.
5910 * sysdeps/mach/hurd/check_fds.c: Likewise.
5911 * sysdeps/mach/hurd/getsockname.c: Likewise.
5912 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5913 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5914 * sysdeps/powerpc/bits/link.h: Likewise.
5915 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5916 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5917 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5918 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5919 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5920 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5921 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5922 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5923 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5924 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5925 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5926 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5927 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5928 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5929 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5930 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5931 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5932 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5933 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5934 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5935 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5936 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5937 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5938 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5939 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5940 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5941 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5942 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5943 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5944 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5945 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5946 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5947 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5948 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5949 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5950 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5951 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5952 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5953 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5954 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5955 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5956 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5957 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5958 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5959 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5960 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5961 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5962 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5963 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5964 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5965 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5966 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5967 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5968 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5969 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5970 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5971 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5972 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5973 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5974 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5975 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5976 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5977 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5978 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5979 * sysdeps/powerpc/sysdep.h: Likewise.
5980 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5981 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5982 * sysdeps/sh/dl-trampoline.S: Likewise.
5983 * sysdeps/sh/memset.S: Likewise.
5984 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5985 * sysdeps/sh/strlen.S: Likewise.
5986 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5987 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5988 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5989 * sysdeps/sparc/sparc32/rem.S: Likewise.
5990 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5991 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5992 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5993 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5994 * sysdeps/sparc/sparc32/urem.S: Likewise.
5995 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5996 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5997 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5998 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5999 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6000 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6001 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6002 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6003 * sysdeps/unix/bsd/times.c: Likewise.
6004 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6005 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6009 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6010 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6011 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6012 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6013 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6014 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6015 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6016 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6017 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6018 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6019 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6020 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6021 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6022 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6023 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6024 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6025 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6026 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6027 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6028 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6029 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6030 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6031 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6032 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6033 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6034 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6035 * sysdeps/x86_64/strcspn.S: Likewise.
6036
869378a5
RA
60372013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6038
6039 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6040 generated file. Regenerate properly from gen-translit.pl.
6041 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6042 locale/C-translit.h.
6043
840e2943
AS
60442013-06-05 Andreas Schwab <schwab@suse.de>
6045
6046 [BZ #15100]
6047 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6048 week as 6 instead of -1.
6049 * time/tst-strptime.c (day_tests): Add test case.
6050
4c60cb0c
SP
60512013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6052
6053 * sysdeps/generic/math_private.h
6054 (libc_feholdexcept_setround_53bit): Replace with
6055 libc_feholdsetround_53bit.
6056 (libc_feupdateenv_53bit): Replace with
6057 libc_feresetround_53bit.
6058 (SET_RESTORE_ROUND_53BIT): Adjust.
6059
d180203e
SP
60602013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6061
96df079a
SP
6062 * string/test-strchrnul.c: Add copyright header.
6063
d180203e
SP
6064 * posix/tst-getaddrinfo4.c: Increase test timeout.
6065
8b0ccb2d
CD
60662013-06-03 Carlos O'Donell <carlos@redhat.com>
6067
6068 [BZ #15536]
6069 * math/libm-test.inc (MAX_EXP): Remove
6070 (MIN_EXP): Define.
6071 (ulp): Use MIN_EXP - MANT_DIG.
6072 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6073
3b3c4d40
CD
60742013-05-31 Carlos O'Donell <carlos@redhat.com>
6075
6076 * po/be.po: Revert last change.
6077 * po/zh_CN.po: Likewise.
6078 * po/header.pot: Likewise.
6079
fab7ce3f
JM
60802013-05-31 Joseph Myers <joseph@codesourcery.com>
6081
6082 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6083 link-libc-deps to empty as target-specific variable.
6084 * Makerules (link-libc-args): New variable.
6085 (libc-for-link): Likewise.
6086 (link-libc-deps): Likewise.
6087 (lib%.so): Depend on $(link-libc-deps). Link with
6088 $(link-libc-args).
6089 (build-module): Link with $(link-libc-args).
6090 (build-module-asneeded): Likewise.
6091 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6092 list of objects.
6093 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6094 target-specific variable.
6095 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6096 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6097 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6098 libc.
6099 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6100 libc and ld.so.
6101 ($(objpfx)libpcprofile.so): Likewise.
6102 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6103 libc_nonshared.a.
6104 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6105 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6106 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6107 $(link-libc-deps).
6108 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6109 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6110 * login/Makefile ($(objpfx)libutil.so): Likewise.
6111 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6112 * math/Makefile ($(objpfx)libm.so): Likewise.
6113 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6114 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6115 variable instead of depending directly on libc.
6116 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6117 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6118 $(link-libc-deps).
6119 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6120 libc.
6121 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6122 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6123 ($(objpfx)libanl.so): Likewise.
6124 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6125 ld.so.
6126 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6127 $(link-libc-deps).
6128 * sysdeps/i386/fpu/Makefile: Remove file.
6129 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6130 ($(objpfx)libm.so): Remove dependency on ld.so.
6131
eca5920c
PF
61322013-05-30 Patsy Franklin <pfrankli@redhat.com>
6133
6134 [BZ # 15553]
6135 * nis/yp_xdr.c (XDRMAXNAME): Define.
6136 (XDRMAXRECORD): Define.
6137 (xdr_domainname): Use XDRMAXNAME.
6138 (xdr_mapname): Likewise.
6139 (xdr_peername): Likewise.
6140 (xdr_keydat): Use XDRMAXRECORD.
6141 (xdr_valdat): Likewise.
6142
61432013-05-30 Jeff Law <law@redhat.com>
96945714
JL
6144
6145 [BZ #14256]
6146 * manual/errno.texi (ESTALE): Update to account for more than
6147 just NFS file systems.
6148 * sysdeps/gnu/errlist.c: Regenerated.
6149
b9375348
SP
61502013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6151
6152 [BZ #15465]
6153 * elf/Makefile (tests): Add tst-null-argv.
6154 (modules-names): Add tst-null-argv-lib.
6155 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6156 (tst-null-argv-ENV): Set environment for tst-null-argv.
6157 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6158 (RTLD_PROGNAME): New macro.
6159 * elf/tst-null-argv.c: New test case.
6160 * elf/tst-null-argv-lib.c: Library for test case.
6161 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6162 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6163 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6164 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6165 * elf/dl-init.c (call_init): Likewise.
6166 (_dl_init): Likewise.
6167 * elf/dl-load.c (print_search_path): Likewise.
6168 (_dl_map_object): Likewise.
6169 * elf/dl-lookup.c (do_lookup_x): Likewise.
6170 (add_dependency): Likewise.
6171 (_dl_lookup_symbol_x): Likewise.
6172 (_dl_debug_bindings): Likewise.
6173 * elf/dl-open.c (_dl_show_scope): Likewise.
6174 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6175 * elf/dl-version.c (match_symbol): Likewise.
6176 (_dl_check_map_versions): Likewise.
6177 * elf/rtld.c (dl_main): Likewise.
6178 (print_unresolved): Use RTLD_PROGNAME.
6179 (print_missing_version): Likewise.
6180 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6181 (elf_machine_rela): Likewise.
6182 * sysdeps/powerpc/powerpc32/dl-machine.c
6183 (__process_machine_rela): Likewise.
6184 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6185 Likewise.
6186 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6187 Likewise.
6188 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6189 Likewise.
6190 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6191 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6192 Likewise.
6193 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6194 Likewise.
6195 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6196
8a9f20c8
CD
61972013-05-28 Carlos O'Donell <carlos@redhat.com>
6198
6199 * po/be.po: Add descriptive title.
6200 * po/zh_CN.po: Likewise.
6201 * po/header.pot: Likewise.
6202
0e60d68e
MF
62032013-05-28 Mike Frysinger <vapier@gentoo.org>
6204
6205 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6206 error message.
6207 (enlarge_archive): Likewise.
6208
56b672e9
BN
62092013-05-28 Ben North <ben@redfrontdoor.org>
6210
6211 * manual/arith.texi (frexp): It is the magnitude of the return
6212 value which lies in [0.5, 1), not the return value itself.
6213
5e056687
AZ
62142013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6215
6216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6217
2b66ef5d
TS
62182013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6219
528c2405
TS
6220 * stdio-common/bug26.c (main): Correct fscanf template.
6221
07b4c13d
TS
6222 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6223 declare _dl_skip_args.
6224
ec9dd97c
TS
6225 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6226 Don't declare.
6227
2b66ef5d
TS
6228 * manual/platform.texi: Add missing @end deftypefun.
6229
4f8dfe27
JM
62302013-05-24 Joseph Myers <joseph@codesourcery.com>
6231
0323d086
JM
6232 [BZ #15529]
6233 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6234 bit of mantissa of 2^16382.
6235 * math/libm-test.inc (hypot_test_data): Add more tests.
6236
dd4259b9
JM
6237 * math/libm-test.inc: Add drem and pow10 to list of tested
6238 functions.
6239 (pow10_test): New function.
6240 (drem_test): Likewise.
6241 (drem_test_tonearest): Likewise.
6242 (drem_test_towardzero): Likewise.
6243 (drem_test_downward): Likewise.
6244 (drem_test_upward): Likewise.
6245 (main): Call the new functions.
6246
4f8dfe27
JM
6247 * math/libm-test.inc (finite_test_data): Remove.
6248 (finite_test): Run tests from isfinite_test_data.
6249 (gamma_test_data): Remove.
6250 (gamma_test): Run tests from lgamma_test_data.
6251 * sysdeps/i386/fpu/libm-test-ulps: Update.
6252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6253
d116b7c4
AZ
62542013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6255
6256 * manual/platform.texi: Add PowerPC PPR function set documentation.
6257 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6258 implementation.
6259
e96e3767
CD
62602013-05-24 Carlos O'Donell <carlos@redhat.com>
6261
6262 * math/libm-test.inc (MAX_EXP): Define.
6263 (ULPDIFF): Define.
6264 (ulp): New function.
6265 (check_float_internal): Use ULPDIFF.
6266 (cpow_test): Disable failing test.
6267 (check_ulp): Test ulp() implemetnation.
6268 (main): Call check_ulp before starting tests.
6269
b679a606
JM
62702013-05-24 Joseph Myers <joseph@codesourcery.com>
6271
e8bdba36
JM
6272 * math/gen-libm-test.pl (generate_testfile): Do not handle
6273 START_DATA and END_DATA.
6274 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6275 END_DATA.
6276 (acos_tonearest_test_data): Likewise.
6277 (acos_towardzero_test_data): Likewise.
6278 (acos_downward_test_data): Likewise.
6279 (acos_upward_test_data): Likewise.
6280 (acosh_test_data): Likewise.
6281 (asin_test_data): Likewise.
6282 (asin_tonearest_test_data): Likewise.
6283 (asin_towardzero_test_data): Likewise.
6284 (asin_downward_test_data): Likewise.
6285 (asin_upward_test_data): Likewise.
6286 (asinh_test_data): Likewise.
6287 (atan_test_data): Likewise.
6288 (atanh_test_data): Likewise.
6289 (atan2_test_data): Likewise.
6290 (cabs_test_data): Likewise.
6291 (cacos_test_data): Likewise.
6292 (cacosh_test_data): Likewise.
6293 (carg_test_data): Likewise.
6294 (casin_test_data): Likewise.
6295 (casinh_test_data): Likewise.
6296 (catan_test_data): Likewise.
6297 (catanh_test_data): Likewise.
6298 (cbrt_test_data): Likewise.
6299 (ccos_test_data): Likewise.
6300 (ccosh_test_data): Likewise.
6301 (ceil_test_data): Likewise.
6302 (cexp_test_data): Likewise.
6303 (cimag_test_data): Likewise.
6304 (clog_test_data): Likewise.
6305 (clog10_test_data): Likewise.
6306 (conj_test_data): Likewise.
6307 (copysign_test_data): Likewise.
6308 (cos_test_data): Likewise.
6309 (cos_tonearest_test_data): Likewise.
6310 (cos_towardzero_test_data): Likewise.
6311 (cos_downward_test_data): Likewise.
6312 (cos_upward_test_data): Likewise.
6313 (cosh_test_data): Likewise.
6314 (cosh_tonearest_test_data): Likewise.
6315 (cosh_towardzero_test_data): Likewise.
6316 (cosh_downward_test_data): Likewise.
6317 (cosh_upward_test_data): Likewise.
6318 (cpow_test_data): Likewise.
6319 (cproj_test_data): Likewise.
6320 (creal_test_data): Likewise.
6321 (csin_test_data): Likewise.
6322 (csinh_test_data): Likewise.
6323 (csqrt_test_data): Likewise.
6324 (ctan_test_data): Likewise.
6325 (ctan_tonearest_test_data): Likewise.
6326 (ctan_towardzero_test_data): Likewise.
6327 (ctan_downward_test_data): Likewise.
6328 (ctan_upward_test_data): Likewise.
6329 (ctanh_test_data): Likewise.
6330 (ctanh_tonearest_test_data): Likewise.
6331 (ctanh_towardzero_test_data): Likewise.
6332 (ctanh_downward_test_data): Likewise.
6333 (ctanh_upward_test_data): Likewise.
6334 (erf_test_data): Likewise.
6335 (erfc_test_data): Likewise.
6336 (exp_test_data): Likewise.
6337 (exp_tonearest_test_data): Likewise.
6338 (exp_towardzero_test_data): Likewise.
6339 (exp_downward_test_data): Likewise.
6340 (exp_upward_test_data): Likewise.
6341 (exp10_test_data): Likewise.
6342 (exp2_test_data): Likewise.
6343 (expm1_test_data): Likewise.
6344 (fabs_test_data): Likewise.
6345 (fdim_test_data): Likewise.
6346 (finite_test_data): Likewise.
6347 (floor_test_data): Likewise.
6348 (fma_test_data): Likewise.
6349 (fma_towardzero_test_data): Likewise.
6350 (fma_downward_test_data): Likewise.
6351 (fma_upward_test_data): Likewise.
6352 (fmax_test_data): Likewise.
6353 (fmin_test_data): Likewise.
6354 (fmod_test_data): Likewise.
6355 (fpclassify_test_data): Likewise.
6356 (frexp_test_data): Likewise.
6357 (gamma_test_data): Likewise.
6358 (hypot_test_data): Likewise.
6359 (ilogb_test_data): Likewise.
6360 (isfinite_test_data): Likewise.
6361 (isgreater_test_data): Likewise.
6362 (isgreaterequal_test_data): Likewise.
6363 (isinf_test_data): Likewise.
6364 (isless_test_data): Likewise.
6365 (islessequal_test_data): Likewise.
6366 (islessgreater_test_data): Likewise.
6367 (isnan_test_data): Likewise.
6368 (isnormal_test_data): Likewise.
6369 (issignaling_test_data): Likewise.
6370 (isunordered_test_data): Likewise.
6371 (j0_test_data): Likewise.
6372 (j1_test_data): Likewise.
6373 (jn_test_data): Likewise.
6374 (ldexp_test_data): Likewise.
6375 (lgamma_test_data): Likewise.
6376 (lrint_test_data): Likewise.
6377 (lrint_tonearest_test_data): Likewise.
6378 (lrint_towardzero_test_data): Likewise.
6379 (lrint_downward_test_data): Likewise.
6380 (lrint_upward_test_data): Likewise.
6381 (llrint_test_data): Likewise.
6382 (llrint_tonearest_test_data): Likewise.
6383 (llrint_towardzero_test_data): Likewise.
6384 (llrint_downward_test_data): Likewise.
6385 (llrint_upward_test_data): Likewise.
6386 (log_test_data): Likewise.
6387 (log10_test_data): Likewise.
6388 (log1p_test_data): Likewise.
6389 (log2_test_data): Likewise.
6390 (logb_test_data): Likewise.
6391 (logb_downward_test_data): Likewise.
6392 (lround_test_data): Likewise.
6393 (llround_test_data): Likewise.
6394 (modf_test_data): Likewise.
6395 (nearbyint_test_data): Likewise.
6396 (nextafter_test_data): Likewise.
6397 (nexttoward_test_data): Likewise.
6398 (pow_test_data): Likewise.
6399 (pow_tonearest_test_data): Likewise.
6400 (pow_towardzero_test_data): Likewise.
6401 (pow_downward_test_data): Likewise.
6402 (pow_upward_test_data): Likewise.
6403 (remainder_test_data): Likewise.
6404 (remainder_tonearest_test_data): Likewise.
6405 (remainder_towardzero_test_data): Likewise.
6406 (remainder_downward_test_data): Likewise.
6407 (remainder_upward_test_data): Likewise.
6408 (remquo_test_data): Likewise.
6409 (rint_test_data): Likewise.
6410 (rint_tonearest_test_data): Likewise.
6411 (rint_towardzero_test_data): Likewise.
6412 (rint_downward_test_data): Likewise.
6413 (rint_upward_test_data): Likewise.
6414 (round_test_data): Likewise.
6415 (scalb_test_data): Likewise.
6416 (scalbn_test_data): Likewise.
6417 (scalbln_test_data): Likewise.
6418 (signbit_test_data): Likewise.
6419 (sin_test_data): Likewise.
6420 (sin_tonearest_test_data): Likewise.
6421 (sin_towardzero_test_data): Likewise.
6422 (sin_downward_test_data): Likewise.
6423 (sin_upward_test_data): Likewise.
6424 (sincos_test_data): Likewise.
6425 (sinh_test_data): Likewise.
6426 (sinh_tonearest_test_data): Likewise.
6427 (sinh_towardzero_test_data): Likewise.
6428 (sinh_downward_test_data): Likewise.
6429 (sinh_upward_test_data): Likewise.
6430 (sqrt_test_data): Likewise.
6431 (tan_test_data): Likewise.
6432 (tan_tonearest_test_data): Likewise.
6433 (tan_towardzero_test_data): Likewise.
6434 (tan_downward_test_data): Likewise.
6435 (tan_upward_test_data): Likewise.
6436 (tanh_test_data): Likewise.
6437 (tgamma_test_data): Likewise.
6438 (trunc_test_data): Likewise.
6439 (y0_test_data): Likewise.
6440 (y1_test_data): Likewise.
6441 (yn_test_data): Likewise.
6442 (significand_test_data): Likewise.
6443
b679a606
JM
6444 * math/gen-libm-test.pl (@functions): Remove variable.
6445 (generate_testfile): Don't handle START and END lines.
6446 * math/libm-test.inc (START): New macro.
6447 (END): Likewise.
6448 (END_COMPLEX): Likewise.
6449 (acos_test): Use END macro without arguments.
6450 (acos_test_tonearest): Likewise.
6451 (acos_test_towardzero): Likewise.
6452 (acos_test_downward): Likewise.
6453 (acos_test_upward): Likewise.
6454 (acosh_test): Likewise.
6455 (asin_test): Likewise.
6456 (asin_test_tonearest): Likewise.
6457 (asin_test_towardzero): Likewise.
6458 (asin_test_downward): Likewise.
6459 (asin_test_upward): Likewise.
6460 (asinh_test): Likewise.
6461 (atan_test): Likewise.
6462 (atanh_test): Likewise.
6463 (atan2_test): Likewise.
6464 (cabs_test): Likewise.
6465 (cacos_test): Use END_COMPLEX macro without arguments.
6466 (cacosh_test): Likewise.
6467 (carg_test): Use END macro without arguments.
6468 (casin_test): Use END_COMPLEX macro without arguments.
6469 (casinh_test): Likewise.
6470 (catan_test): Likewise.
6471 (catanh_test): Likewise.
6472 (cbrt_test): Use END macro without arguments.
6473 (ccos_test): Use END_COMPLEX macro without arguments.
6474 (ccosh_test): Likewise.
6475 (ceil_test): Use END macro without arguments.
6476 (cexp_test): Use END_COMPLEX macro without arguments.
6477 (cimag_test): Use END macro without arguments.
6478 (clog_test): Use END_COMPLEX macro without arguments.
6479 (clog10_test): Likewise.
6480 (conj_test): Likewise.
6481 (copysign_test): Use END macro without arguments.
6482 (cos_test): Likewise.
6483 (cos_test_tonearest): Likewise.
6484 (cos_test_towardzero): Likewise.
6485 (cos_test_downward): Likewise.
6486 (cos_test_upward): Likewise.
6487 (cosh_test): Likewise.
6488 (cosh_test_tonearest): Likewise.
6489 (cosh_test_towardzero): Likewise.
6490 (cosh_test_downward): Likewise.
6491 (cosh_test_upward): Likewise.
6492 (cpow_test): Use END_COMPLEX macro without arguments.
6493 (cproj_test): Likewise.
6494 (creal_test): Use END macro without arguments.
6495 (csin_test): Use END_COMPLEX macro without arguments.
6496 (csinh_test): Likewise.
6497 (csqrt_test): Likewise.
6498 (ctan_test): Likewise.
6499 (ctan_test_tonearest): Likewise.
6500 (ctan_test_towardzero): Likewise.
6501 (ctan_test_downward): Likewise.
6502 (ctan_test_upward): Likewise.
6503 (ctanh_test): Likewise.
6504 (ctanh_test_tonearest): Likewise.
6505 (ctanh_test_towardzero): Likewise.
6506 (ctanh_test_downward): Likewise.
6507 (ctanh_test_upward): Likewise.
6508 (erf_test): Use END macro without arguments.
6509 (erfc_test): Likewise.
6510 (exp_test): Likewise.
6511 (exp_test_tonearest): Likewise.
6512 (exp_test_towardzero): Likewise.
6513 (exp_test_downward): Likewise.
6514 (exp_test_upward): Likewise.
6515 (exp10_test): Likewise.
6516 (exp2_test): Likewise.
6517 (expm1_test): Likewise.
6518 (fabs_test): Likewise.
6519 (fdim_test): Likewise.
6520 (finite_test): Likewise.
6521 (floor_test): Likewise.
6522 (fma_test): Likewise.
6523 (fma_test_towardzero): Likewise.
6524 (fma_test_downward): Likewise.
6525 (fma_test_upward): Likewise.
6526 (fmax_test): Likewise.
6527 (fmin_test): Likewise.
6528 (fmod_test): Likewise.
6529 (fpclassify_test): Likewise.
6530 (frexp_test): Likewise.
6531 (gamma_test): Likewise.
6532 (hypot_test): Likewise.
6533 (ilogb_test): Likewise.
6534 (isfinite_test): Likewise.
6535 (isgreater_test): Likewise.
6536 (isgreaterequal_test): Likewise.
6537 (isinf_test): Likewise.
6538 (isless_test): Likewise.
6539 (islessequal_test): Likewise.
6540 (islessgreater_test): Likewise.
6541 (isnan_test): Likewise.
6542 (isnormal_test): Likewise.
6543 (issignaling_test): Likewise.
6544 (isunordered_test): Likewise.
6545 (j0_test): Likewise.
6546 (j1_test): Likewise.
6547 (jn_test): Likewise.
6548 (ldexp_test): Likewise.
6549 (lgamma_test): Likewise.
6550 (lrint_test): Likewise.
6551 (lrint_test_tonearest): Likewise.
6552 (lrint_test_towardzero): Likewise.
6553 (lrint_test_downward): Likewise.
6554 (lrint_test_upward): Likewise.
6555 (llrint_test): Likewise.
6556 (llrint_test_tonearest): Likewise.
6557 (llrint_test_towardzero): Likewise.
6558 (llrint_test_downward): Likewise.
6559 (llrint_test_upward): Likewise.
6560 (log_test): Likewise.
6561 (log10_test): Likewise.
6562 (log1p_test): Likewise.
6563 (log2_test): Likewise.
6564 (logb_test): Likewise.
6565 (logb_test_downward): Likewise.
6566 (lround_test): Likewise.
6567 (llround_test): Likewise.
6568 (modf_test): Likewise.
6569 (nearbyint_test): Likewise.
6570 (nextafter_test): Likewise.
6571 (nexttoward_test): Likewise.
6572 (pow_test): Likewise.
6573 (pow_test_tonearest): Likewise.
6574 (pow_test_towardzero): Likewise.
6575 (pow_test_downward): Likewise.
6576 (pow_test_upward): Likewise.
6577 (remainder_test): Likewise.
6578 (remainder_test_tonearest): Likewise.
6579 (remainder_test_towardzero): Likewise.
6580 (remainder_test_downward): Likewise.
6581 (remainder_test_upward): Likewise.
6582 (remquo_test): Likewise.
6583 (rint_test): Likewise.
6584 (rint_test_tonearest): Likewise.
6585 (rint_test_towardzero): Likewise.
6586 (rint_test_downward): Likewise.
6587 (rint_test_upward): Likewise.
6588 (round_test): Likewise.
6589 (scalb_test): Likewise.
6590 (scalbn_test): Likewise.
6591 (scalbln_test): Likewise.
6592 (signbit_test): Likewise.
6593 (sin_test): Likewise.
6594 (sin_test_tonearest): Likewise.
6595 (sin_test_towardzero): Likewise.
6596 (sin_test_downward): Likewise.
6597 (sin_test_upward): Likewise.
6598 (sincos_test): Likewise.
6599 (sinh_test): Likewise.
6600 (sinh_test_tonearest): Likewise.
6601 (sinh_test_towardzero): Likewise.
6602 (sinh_test_downward): Likewise.
6603 (sinh_test_upward): Likewise.
6604 (sqrt_test): Likewise.
6605 (tan_test): Likewise.
6606 (tan_test_tonearest): Likewise.
6607 (tan_test_towardzero): Likewise.
6608 (tan_test_downward): Likewise.
6609 (tan_test_upward): Likewise.
6610 (tanh_test): Likewise.
6611 (tgamma_test): Likewise.
6612 (trunc_test): Likewise.
6613 (y0_test): Likewise.
6614 (y1_test): Likewise.
6615 (yn_test): Likewise.
6616 (significand_test): Likewise.
6617
bae143d2
OB
66182013-05-24 Ondřej Bílka <neleai@seznam.cz>
6619
6620 [BZ #15381]
6621 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6622
9323d39b
EM
66232013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6624
d4ea44a0 6625 [BZ #14894]
9323d39b
EM
6626 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6627 __ppc_mdoio and __ppc_mdoom.
6628 * manual/platform.texi: Document new functions __ppc_yield,
6629 __ppc_mdoio and __ppc_mdoom.
6630
13e23af7
CD
66312013-05-22 Carlos O'Donell <carlos@redhat.com>
6632
6633 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6634 (main): Mention "tls" pseudo-hwcap is legacy.
6635 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6636
351fe550
JM
66372013-05-22 Joseph Myers <joseph@codesourcery.com>
6638
6639 * math/gen-libm-test.pl (parse_args): Output only string of
6640 arguments as text for test name, not full call or descriptions of
6641 tests for extra outputs.
6642 (generate_testfile): Do not pass function name to parse_args.
6643 Generate this_func variable from START.
6644 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6645 field to arg_str.
6646 (struct test_ff_f_data): Likewise.
6647 (test_ff_f_data_nexttoward): Likewise.
6648 (struct test_fi_f_data): Likewise.
6649 (struct test_fl_f_data): Likewise.
6650 (struct test_if_f_data): Likewise.
6651 (struct test_fff_f_data): Likewise.
6652 (struct test_c_f_data): Likewise.
6653 (struct test_f_f1_data): Likewise. Remove field extra_name.
6654 (struct test_fF_f1_data): Likewise.
6655 (struct test_ffI_f1_data): Likewise.
6656 (struct test_c_c_data): Rename test_name field to arg_str.
6657 (struct test_cc_c_data): Likewise.
6658 (struct test_f_i_data): Likewise.
6659 (struct test_ff_i_data): Likewise.
6660 (struct test_f_l_data): Likewise.
6661 (struct test_f_L_data): Likewise.
6662 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6663 and extra2_name.
6664 (COMMON_TEST_SETUP): New macro.
6665 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6666 (COMMON_TEST_CLEANUP): Likewise.
6667 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6668 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6669 macros.
6670 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6671 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6672 macros.
6673 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6674 (RUN_TEST_fff_f): Take argument string. Call new setup and
6675 cleanup macros.
6676 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6677 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6678 macros.
6679 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6680 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6681 macros.
6682 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6683 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6684 cleanup macros.
6685 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6686 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6687 cleanup macros.
6688 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6689 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6690 cleanup macros.
6691 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6692 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6693 macros.
6694 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6695 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6696 macros.
6697 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6698 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6699 macros.
6700 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6701 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6702 cleanup macros.
6703 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6704 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6705 cleanup macros.
6706 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6707 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6708 macros.
6709 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6710 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6711 cleanup macros.
6712 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6713 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6714 macros.
6715 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6716 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6717 macros.
6718 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6719 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6720 cleanup macros.
6721 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6722
85118d4d
EBM
67232013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6724
6725 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6726 to _sifields.sigfault.
6727 (si_addr_lsb): Define new macro.
6728 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6729 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6730 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6731
7a44c18f
CD
67322013-05-03 Carlos O'Donell <carlos at redhat.com>
6733
6734 [BZ #15441]
6735 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6736 returns -1.
6737 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6738 null return -1.
6739 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6740 loading the domain.
6741
b50a7181
JM
67422013-05-22 Joseph Myers <joseph@codesourcery.com>
6743
6744 * math/gen-libm-test.pl (parse_args): Do not include expected
6745 result in test name.
6746 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6747 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6748 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6749 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6750 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6752
051063c8
SP
67532013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6754
3ce9e010
SP
6755 * benchtests/Makefile: Sort function entries.
6756
051063c8
SP
6757 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6758 tanh, asinh, acosh, atanh.
6759 * benchtests/acos-inputs: New file.
6760 * benchtests/acosh-inputs: New file.
6761 * benchtests/asin-inputs: New file.
6762 * benchtests/asinh-inputs: New file.
6763 * benchtests/atanh-inputs: New file.
6764 * benchtests/cosh-inputs: New file.
6765 * benchtests/log-inputs: New file.
6766 * benchtests/sinh-inputs: New file.
6767 * benchtests/tanh-inputs: New file.
6768
47c22455
DL
67692013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6770
6771 [BZ #15339]
6772 * posix/tst-getaddrinfo4.c: New test.
6773 * posix/Makefile (tests): Add it.
6774
3d04f5db
SP
67752013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6776
6777 [BZ #15339]
6778 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6779 when no services were used.
6780 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6781 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6782
d5dd6189
AS
67832013-05-21 Andreas Schwab <schwab@suse.de>
6784
6785 [BZ #15014]
6786 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6787 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6788 successful.
6789 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6790 redundant variable declarations and reallocation of buffer when
6791 parsing as IPv6 address. Always set NSS status when called from
6792 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
6793 buffer too small. Correct computation of needed size.
6794 * nss/Makefile (tests): Add test-digits-dots.
6795 * nss/test-digits-dots.c: New test.
6796
fef94eab
SP
67972013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6798
6799 * benchtests/Makefile: Remove instructions for adding
6800 benchmark tests.
6801 * benchtests/README: New file to explain how to execute and
6802 enhance the benchmark tests.
6803
e39adf43
AS
68042013-05-21 Andreas Schwab <schwab@suse.de>
6805
6806 [BZ #15493]
6807 * setjmp/Makefile (tests): Add tst-sigsetjmp.
6808 * setjmp/tst-sigsetjmp.c: New test.
6809
b2b671b6
OB
68102013-05-20 Ondřej Bílka <neleai@seznam.cz>
6811
6812 * sysdeps/x86_64/memset.S (memset): New implementation.
6813 (__bzero): Likewise.
6814 (__memset_tail): New function.
6815
2d48b41c
OB
68162013-05-20 Ondřej Bílka <neleai@seznam.cz>
6817
6818 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6819 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6820 __memcpy_sse2_unaligned ifunc selection.
6821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6822 Add memcpy-sse2-unaligned.S.
6823 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6824 Add: __memcpy_sse2_unaligned.
6825
f16cc3eb
JM
68262013-05-19 Joseph Myers <joseph@codesourcery.com>
6827
3e694268
JM
6828 [BZ #15490]
6829 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6830 math_force_eval before restoring floating-point envrionment.
6831 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6832 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6833 Likewise.
6834 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6835 <math_private.h>.
6836 (__nearbyintl): Use math_force_eval before restoring
6837 floating-point environment.
6838 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6839
db62a907
JM
6840 * math/gen-libm-test.pl (special_functions): Remove.
6841 (parse_args): Don't handle TEST_extra. Handle functions with no
6842 return value.
6843 * math/libm-test.inc (struct test_sincos_data): Replace with
6844 struct test_fFF_11_data.
6845 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6846 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6847 (sincos_test_data): Change element type to struct
6848 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
6849 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6850 RUN_TEST_LOOP_sincos.
6851 * math/README.libm-test: Don't mention special handling of
6852 individual functions.
6853 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6854 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6855 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6856 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6857 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6859
f16cc3eb
JM
6860 * math/gen-libm-test.pl (get_variable): Remove function.
6861 (parse_args): Don't show pointer parameters to call in test
6862 names. Use "extra output N" in test names for extra outputs
6863 rather than naming variables.
6864
3779b5b6
JM
68652013-05-18 Joseph Myers <joseph@codesourcery.com>
6866
2ee094ff
JM
6867 [BZ #15488]
6868 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6869 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6870 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6871 double tests.
6872 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6873 disable.
6874 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6875 check_long_double.
6876
3779b5b6
JM
6877 * math/gen-libm-test.pl (@tests): Remove variable.
6878 ($count): Likewise.
6879 (new_test): Remove function.
6880 (show_exceptions): New function.
6881 (special_functions): Use show_exceptions instead of new_test.
6882 (parse_args): Likewise.
6883 (generate_testfile): Pass only function name in generated call to
6884 print_max_error or print_complex_max_error.
6885 (get_ulps): Do not handle complex tests specially.
6886 (output_test): Rename to ...
6887 (get_all_ulps_for_test): ... this. Return a string rather than
6888 printing to a file. Require ulps to be present.
6889 (output_ulps): Generate arrays rather than #defines.
6890 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6891 (struct ulp_data): New type.
6892 (BUILD_COMPLEX_ULP): Remove macro.
6893 (compare_ulp_data): New function.
6894 (find_ulps): Likewise.
6895 (find_test_ulps): Likewise.
6896 (find_function_ulps): Likewise.
6897 (find_complex_function_ulps): Likewise.
6898 (print_max_error): Determine allowed ulps using
6899 find_function_ulps.
6900 (print_complex_max_error): Determine allowed ulps using
6901 find_complex_function_ulps.
6902 (check_float_internal): Determine max ulps using find_test_ulps.
6903 (check_float): Do not take max_ulp parameter. Update call to
6904 check_float_internal.
6905 (check_complex): Likewise.
6906 (check_int): Do not take max_ulp parameter.
6907 (check_long): Likewise.
6908 (check_bool): Likewise.
6909 (check_longlong): Likewise.
6910 (struct test_f_f_data): Remove max_ulp field.
6911 (struct test_ff_f_data): Likewise.
6912 (struct test_ff_f_data_nexttoward): Likewise.
6913 (struct test_fi_f_data): Likewise.
6914 (struct test_fl_f_data): Likewise.
6915 (struct test_if_f_data): Likewise.
6916 (struct test_fff_f_data): Likewise.
6917 (struct test_c_f_data): Likewise.
6918 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6919 (struct test_fF_f1_data): Likewise.
6920 (struct test_ffI_f1_data): Likewise.
6921 (struct test_c_c_data): Remove max_ulp field.
6922 (struct test_cc_c_data): Likewise.
6923 (struct test_f_i_data): Likewise.
6924 (struct test_ff_i_data): Likewise.
6925 (struct test_f_l_data): Likewise.
6926 (struct test_f_L_data): Likewise.
6927 (struct test_sincos_data): Likewise.
6928 (RUN_TEST_f_f): Do not handle ulps.
6929 (RUN_TEST_LOOP_f_f): Likewise.
6930 (RUN_TEST_2_f): Likewise.
6931 (RUN_TEST_LOOP_2_f): Likewise.
6932 (RUN_TEST_fff_f): Likewise.
6933 (RUN_TEST_LOOP_fff_f): Likewise.
6934 (RUN_TEST_c_f): Likewise.
6935 (RUN_TEST_LOOP_c_f): Likewise.
6936 (RUN_TEST_f_f1): Likewise.
6937 (RUN_TEST_LOOP_f_f1): Likewise.
6938 (RUN_TEST_fF_f1): Likewise.
6939 (RUN_TEST_LOOP_fF_f1): Likewise.
6940 (RUN_TEST_fI_f1): Likewise.
6941 (RUN_TEST_LOOP_fI_f1): Likewise.
6942 (RUN_TEST_ffI_f1): Likewise.
6943 (RUN_TEST_LOOP_ffI_f1): Likewise.
6944 (RUN_TEST_c_c): Likewise.
6945 (RUN_TEST_LOOP_c_c): Likewise.
6946 (RUN_TEST_cc_c): Likewise.
6947 (RUN_TEST_LOOP_cc_c): Likewise.
6948 (RUN_TEST_f_i): Likewise.
6949 (RUN_TEST_LOOP_f_i): Likewise.
6950 (RUN_TEST_f_i_tg): Likewise.
6951 (RUN_TEST_LOOP_f_i_tg): Likewise.
6952 (RUN_TEST_ff_i_tg): Likewise.
6953 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6954 (RUN_TEST_f_b): Likewise.
6955 (RUN_TEST_LOOP_f_b): Likewise.
6956 (RUN_TEST_f_b_tg): Likewise.
6957 (RUN_TEST_LOOP_f_b_tg): Likewise.
6958 (RUN_TEST_f_l): Likewise.
6959 (RUN_TEST_LOOP_f_l): Likewise.
6960 (RUN_TEST_f_L): Likewise.
6961 (RUN_TEST_LOOP_f_L): Likewise.
6962 (RUN_TEST_sincos): Likewise.
6963 (RUN_TEST_LOOP_sincos): Likewise.
6964
8269107f
JM
69652013-05-17 Joseph Myers <joseph@codesourcery.com>
6966
bb38759d
JM
6967 [BZ #15480]
6968 [BZ #15485]
6969 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6970 main case of finite arguments, set rounding mode to FE_TONEAREST
6971 and discard exceptions.
6972 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6973 exceptions.
6974 (remainder_tonearest_test_data): New variable.
6975 (remainder_test_tonearest): New function.
6976 (remainder_towardzero_test_data): New variable.
6977 (remainder_test_towardzero): New function.
6978 (remainder_downward_test_data): New variable.
6979 (remainder_test_downward): New function.
6980 (remainder_upward_test_data): New variable.
6981 (remainder_test_upward): New function.
6982 (main): Call the new test functions.
6983
a00bdcf0
JM
6984 * math/libm-test.inc (struct test_f_f1_data): Remove field
6985 extra_init.
6986 (struct test_fF_f1_data): Likewise.
6987 (struct test_ffI_f1_data): Likewise.
6988 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6989 based on value of EXTRA_EXPECTED.
6990 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6991 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6992 EXTRA_VAR based on value of EXTRA_EXPECTED.
6993 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6994 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6995 EXTRA_VAR based on value of EXTRA_EXPECTED.
6996 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6997 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6998 EXTRA_VAR based on value of EXTRA_EXPECTED.
6999 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7000 * math/gen-libm-test.pl (parse_args): Don't output initializers
7001 for extra output values.
7002
de407f79
JM
7003 * math/libm-test.inc (check_int): Expect result to be exactly
7004 equal to expected value and do not handle ulps.
7005 (check_long): Likewise.
7006 (check_longlong): Likewise.
7007
8269107f
JM
7008 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7009 exceptions.
7010 (cimag_test_data): Likewise.
7011 (conj_test_data): Likewise.
7012 (copysign_test_data): Likewise.
7013 (cproj_test_data): Likewise.
7014 (creal_test_data): Likewise.
7015 (fabs_test_data): Likewise.
7016 (fdim_test_data): Likewise.
7017 (finite_test_data): Likewise.
7018 (floor_test_data): Likewise.
7019 (fmax_test_data): Likewise.
7020 (fmin_test_data): Likewise.
7021 (fmod_test_data): Likewise.
7022 (fpclassify_test_data): Likewise.
7023 (frexp_test_data): Likewise.
7024 (ilogb_test_data): Likewise.
7025 (isfinite_test_data): Likewise.
7026 (isgreater_test_data): Likewise.
7027 (isgreaterequal_test_data): Likewise.
7028 (isinf_test_data): Likewise.
7029 (isless_test_data): Likewise.
7030 (islessequal_test_data): Likewise.
7031 (islessgreater_test_data): Likewise.
7032 (isnan_test_data): Likewise.
7033 (isnormal_test_data): Likewise.
7034 (issignaling_test_data): Likewise.
7035 (isunordered_test_data): Likewise.
7036 (ldexp_test_data): Likewise.
7037 (lrint_test_data): Likewise.
7038 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7039 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7040 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7041 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7042 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7043 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7044 test input.
7045 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7046 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7047 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7048 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7049 that test input.
7050 (lrint_downward_test_data): Test for "inexact" exceptions.
7051 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7052 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7053 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7054 test input.
7055 (lrint_upward_test_data): Test for "inexact" exceptions.
7056 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7057 test input.
7058 (llrint_test_data): Test for "inexact" exceptions.
7059 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7060 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7061 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7062 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7063 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7064 (llrint_downward_test_data): Test for "inexact" exceptions.
7065 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7066 (llrint_upward_test_data): Test for "inexact" exceptions.
7067 (logb_test_data): Likewise.
7068 (logb_downward_test_data): Likewise.
7069 (nextafter_test_data): Likewise.
7070 (nexttoward_test_data): Likewise.
7071 (remainder_test_data): Likewise.
7072 (remquo_test_data): Likewise.
7073 (scalbn_test_data): Likewise.
7074 (scalbln_test_data): Likewise.
7075 (signbit_test_data): Likewise.
7076 (sqrt_test_data): Likewise.
7077 (significand_test_data): Likewise.
7078
48a18de1
SP
70792013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7080
7081 [BZ #15424]
7082 * benchtests/bench-modf.c (struct args): Mark arg0 as
7083 volatile.
7084 * scripts/bench.pl: Mark members of struct args as volatile.
7085
13d3b41a
AZ
70862013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7087
68191c1d 7088 [BZ # 15497]
13d3b41a
AZ
7089 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7090 negative infinity on POWER6 or lower.
7091 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7092
2848b105
MR
70932013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7094
7095 [BZ #15442]
7096 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7097 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7098 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7099 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7100 (_FP_SETQNAN): New macro.
7101 (_FP_SETQNAN_SEMIRAW): Likewise.
7102 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7103 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7104 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7105 (FP_EXTEND): Use _FP_FRAC_SNANP.
7106 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7107 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7108 into account.
7109 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7110 New macro.
7111 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7112 Likewise.
7113
323e5cb7
JM
71142013-05-16 Joseph Myers <joseph@codesourcery.com>
7115
c58b274f
JM
7116 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7117 with DIVIDE_BY_ZERO_EXCEPTION.
7118 (gamma_test_data): Likewise.
7119 (lgamma_test_data): Likewise.
7120 (log_test_data): Likewise.
7121 (log10_test_data): Likewise.
7122 (log2_test_data): Likewise.
7123 (tgamma_test_data): Likewise.
7124
0ab34904
JM
7125 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7126 (acos_test_tonearest): Likewise.
7127 (acos_test_towardzero): Likewise.
7128 (acos_test_downward): Likewise.
7129 (acos_test_upward): Likewise.
7130 (acosh_test): Likewise.
7131 (asin_test): Likewise.
7132 (asin_test_tonearest): Likewise.
7133 (asin_test_towardzero): Likewise.
7134 (asin_test_downward): Likewise.
7135 (asin_test_upward): Likewise.
7136 (asinh_test): Likewise.
7137 (atan_test): Likewise.
7138 (atanh_test): Likewise.
7139 (atan2_test): Likewise.
7140 (cabs_test): Likewise.
7141 (cacos_test): Likewise.
7142 (cacosh_test): Likewise.
7143 (casin_test): Likewise.
7144 (casinh_test): Likewise.
7145 (catan_test): Likewise.
7146 (catanh_test): Likewise.
7147 (cbrt_test): Likewise.
7148 (ccos_test): Likewise.
7149 (ccosh_test): Likewise.
7150 (cexp_test): Likewise.
7151 (clog_test): Likewise.
7152 (clog10_test): Likewise.
7153 (cos_test): Likewise.
7154 (cos_test_tonearest): Likewise.
7155 (cos_test_towardzero): Likewise.
7156 (cos_test_downward): Likewise.
7157 (cos_test_upward): Likewise.
7158 (cosh_test): Likewise.
7159 (cosh_test_tonearest): Likewise.
7160 (cosh_test_towardzero): Likewise.
7161 (cosh_test_downward): Likewise.
7162 (cosh_test_upward): Likewise.
7163 (cpow_test): Likewise.
7164 (csin_test): Likewise.
7165 (csinh_test): Likewise.
7166 (csqrt_test): Likewise.
7167 (ctan_test): Likewise.
7168 (ctan_test_tonearest): Likewise.
7169 (ctan_test_towardzero): Likewise.
7170 (ctan_test_downward): Likewise.
7171 (ctan_test_upward): Likewise.
7172 (ctanh_test): Likewise.
7173 (ctanh_test_tonearest): Likewise.
7174 (ctanh_test_towardzero): Likewise.
7175 (ctanh_test_downward): Likewise.
7176 (ctanh_test_upward): Likewise.
7177 (erf_test): Likewise.
7178 (erfc_test): Likewise.
7179 (exp_test): Likewise.
7180 (exp_test_tonearest): Likewise.
7181 (exp_test_towardzero): Likewise.
7182 (exp_test_downward): Likewise.
7183 (exp_test_upward): Likewise.
7184 (exp10_test): Likewise.
7185 (exp2_test): Likewise.
7186 (expm1_test): Likewise.
7187 (fmod_test): Likewise.
7188 (gamma_test): Likewise.
7189 (hypot_test): Likewise.
7190 (j0_test): Likewise.
7191 (j1_test): Likewise.
7192 (jn_test): Likewise.
7193 (lgamma_test): Likewise.
7194 (log_test): Likewise.
7195 (log10_test): Likewise.
7196 (log1p_test): Likewise.
7197 (log2_test): Likewise.
7198 (logb_test_downward): Likewise.
7199 (pow_test): Likewise.
7200 (pow_test_tonearest): Likewise.
7201 (pow_test_towardzero): Likewise.
7202 (pow_test_downward): Likewise.
7203 (pow_test_upward): Likewise.
7204 (remainder_test): Likewise.
7205 (remquo_test): Likewise.
7206 (sin_test): Likewise.
7207 (sin_test_tonearest): Likewise.
7208 (sin_test_towardzero): Likewise.
7209 (sin_test_downward): Likewise.
7210 (sin_test_upward): Likewise.
7211 (sincos_test): Likewise.
7212 (sinh_test): Likewise.
7213 (sinh_test_tonearest): Likewise.
7214 (sinh_test_towardzero): Likewise.
7215 (sinh_test_downward): Likewise.
7216 (sinh_test_upward): Likewise.
7217 (sqrt_test): Likewise.
7218 (tan_test): Likewise.
7219 (tan_test_tonearest): Likewise.
7220 (tan_test_towardzero): Likewise.
7221 (tan_test_downward): Likewise.
7222 (tan_test_upward): Likewise.
7223 (tanh_test): Likewise.
7224 (tgamma_test): Likewise.
7225 (y0_test): Likewise.
7226 (y1_test): Likewise.
7227 (yn_test): Likewise.
7228
323e5cb7
JM
7229 * math/gen-libm-test.pl (adjust_arg): Remove function.
7230 (special_function): Remove argument $in_func. Only handle
7231 generating output for tables of tests, not inside functions.
7232 (parse_args): Likewise.
7233 (generate_testfile): Remove variable $in_func. Update call to
7234 parse_args.
7235 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7236 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7237 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7238 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7239 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7240 (MAX_VALUE_INIT): Rename macro to max_value.
7241 (MIN_VALUE_INIT): Rename macro to min_value.
7242 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7243 (plus_zero): Remove variable.
7244 (minus_zero): Likewise.
7245 (plus_infty): Likewise.
7246 (minus_infty): Likewise.
7247 (qnan_value): Likewise.
7248 (max_value): Likewise.
7249 (min_value): Likewise.
7250 (min_subnorm_value): Likewise.
7251
e054f494
RA
72522013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7253
7254 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7255 uint64_t or uint32_t usage.
7256 * crypt/sha256-block.c: Likewise.
7257 * crypt/sha256-crypt.c: Likewise.
7258 * crypt/sha256.c: Likewise.
7259 * crypt/sha512-block.c: Likewise.
7260 * crypt/sha512-crypt.c: Likewise.
7261 * crypt/sha512.c: Likewise.
7262 * debug/backtrace-tst.c: Likewise.
7263 * debug/pcprofiledump.c: Likewise.
7264 * elf/cache.c: Likewise.
7265 * elf/dl-cache.c: Likewise.
7266 * elf/dl-misc.c: Likewise.
7267 * elf/dl-profile.c: Likewise.
7268 * elf/dl-support.c: Likewise.
7269 * elf/ldconfig.c: Likewise.
7270 * elf/sprof.c: Likewise.
7271 * iconv/dummy-repertoire.c: Likewise.
7272 * iconv/iconv_charmap.c: Likewise.
7273 * iconv/skeleton.c: Likewise.
7274 * iconvdata/8bit-generic.c: Likewise.
7275 * iconvdata/cp737.h: Likewise.
7276 * iconvdata/cp775.h: Likewise.
7277 * iconvdata/ibm1008.h: Likewise.
7278 * iconvdata/ibm1025.h: Likewise.
7279 * iconvdata/ibm1046.h: Likewise.
7280 * iconvdata/ibm1097.h: Likewise.
7281 * iconvdata/ibm1112.h: Likewise.
7282 * iconvdata/ibm1122.h: Likewise.
7283 * iconvdata/ibm1123.h: Likewise.
7284 * iconvdata/ibm1124.h: Likewise.
7285 * iconvdata/ibm1129.h: Likewise.
7286 * iconvdata/ibm1130.h: Likewise.
7287 * iconvdata/ibm1132.h: Likewise.
7288 * iconvdata/ibm1133.h: Likewise.
7289 * iconvdata/ibm1137.h: Likewise.
7290 * iconvdata/ibm1140.h: Likewise.
7291 * iconvdata/ibm1141.h: Likewise.
7292 * iconvdata/ibm1142.h: Likewise.
7293 * iconvdata/ibm1143.h: Likewise.
7294 * iconvdata/ibm1144.h: Likewise.
7295 * iconvdata/ibm1145.h: Likewise.
7296 * iconvdata/ibm1146.h: Likewise.
7297 * iconvdata/ibm1147.h: Likewise.
7298 * iconvdata/ibm1148.h: Likewise.
7299 * iconvdata/ibm1149.h: Likewise.
7300 * iconvdata/ibm1153.h: Likewise.
7301 * iconvdata/ibm1154.h: Likewise.
7302 * iconvdata/ibm1155.h: Likewise.
7303 * iconvdata/ibm1156.h: Likewise.
7304 * iconvdata/ibm1157.h: Likewise.
7305 * iconvdata/ibm1158.h: Likewise.
7306 * iconvdata/ibm1160.h: Likewise.
7307 * iconvdata/ibm1161.h: Likewise.
7308 * iconvdata/ibm1162.h: Likewise.
7309 * iconvdata/ibm1163.h: Likewise.
7310 * iconvdata/ibm1164.h: Likewise.
7311 * iconvdata/ibm1166.h: Likewise.
7312 * iconvdata/ibm1167.h: Likewise.
7313 * iconvdata/ibm12712.h: Likewise.
7314 * iconvdata/ibm1390.h: Likewise.
7315 * iconvdata/ibm1399.h: Likewise.
7316 * iconvdata/ibm16804.h: Likewise.
7317 * iconvdata/ibm4517.h: Likewise.
7318 * iconvdata/ibm4899.h: Likewise.
7319 * iconvdata/ibm4909.h: Likewise.
7320 * iconvdata/ibm4971.h: Likewise.
7321 * iconvdata/ibm5347.h: Likewise.
7322 * iconvdata/ibm803.h: Likewise.
7323 * iconvdata/ibm856.h: Likewise.
7324 * iconvdata/ibm901.h: Likewise.
7325 * iconvdata/ibm902.h: Likewise.
7326 * iconvdata/ibm9030.h: Likewise.
7327 * iconvdata/ibm9066.h: Likewise.
7328 * iconvdata/ibm921.h: Likewise.
7329 * iconvdata/ibm922.h: Likewise.
7330 * iconvdata/ibm9448.h: Likewise.
7331 * iconvdata/isiri-3342.h: Likewise.
7332 * iconvdata/jis0201.h: Likewise.
7333 * include/link.h: Likewise.
7334 * include/netdb.h: Likewise.
7335 * inet/check_native.c: Likewise.
7336 * inet/check_pf.c: Likewise.
7337 * inet/getipv4sourcefilter.c: Likewise.
7338 * inet/getnameinfo.c: Likewise.
7339 * inet/getsourcefilter.c: Likewise.
7340 * inet/htonl.c: Likewise.
7341 * inet/setipv4sourcefilter.c: Likewise.
7342 * inet/setsourcefilter.c: Likewise.
7343 * inet/test-inet6_opt.c: Likewise.
7344 * inet/tst-network.c: Likewise.
7345 * locale/C-collate.c: Likewise.
7346 * locale/C-ctype.c: Likewise.
7347 * locale/C-time.c: Likewise.
7348 * locale/C-translit.h: Likewise.
7349 * locale/loadarchive.c: Likewise.
7350 * locale/programs/3level.h: Likewise.
7351 * locale/programs/charmap.c: Likewise.
7352 * locale/programs/charmap.h: Likewise.
7353 * locale/programs/ld-address.c: Likewise.
7354 * locale/programs/ld-collate.c: Likewise.
7355 * locale/programs/ld-ctype.c: Likewise.
7356 * locale/programs/ld-identification.c: Likewise.
7357 * locale/programs/ld-measurement.c: Likewise.
7358 * locale/programs/ld-messages.c: Likewise.
7359 * locale/programs/ld-monetary.c: Likewise.
7360 * locale/programs/ld-name.c: Likewise.
7361 * locale/programs/ld-numeric.c: Likewise.
7362 * locale/programs/ld-paper.c: Likewise.
7363 * locale/programs/ld-telephone.c: Likewise.
7364 * locale/programs/ld-time.c: Likewise.
7365 * locale/programs/linereader.c: Likewise.
7366 * locale/programs/locale.c: Likewise.
7367 * locale/programs/locarchive.c: Likewise.
7368 * locale/programs/locfile.h: Likewise.
7369 * locale/programs/repertoire.c: Likewise.
7370 * locale/programs/simple-hash.c: Likewise.
7371 * locale/programs/simple-hash.h: Likewise.
7372 * malloc/memusage.c: Likewise.
7373 * malloc/memusagestat.c: Likewise.
7374 * nis/nis_defaults.c: Likewise.
7375 * nis/nis_hash.c: Likewise.
7376 * nis/nis_print.c: Likewise.
7377 * nis/nis_xdr.c: Likewise.
7378 * nscd/connections.c: Likewise.
7379 * nscd/hstcache.c: Likewise.
7380 * nscd/nscd_gethst_r.c: Likewise.
7381 * nscd/nscd_getserv_r.c: Likewise.
7382 * nscd/nscd_helper.c: Likewise.
7383 * nscd/servicescache.c: Likewise.
7384 * nss/makedb.c: Likewise.
7385 * nss/nss_db/db-XXX.c: Likewise.
7386 * nss/nss_db/db-initgroups.c: Likewise.
7387 * nss/nss_db/db-netgrp.c: Likewise.
7388 * nss/nss_files/files-network.c: Likewise.
7389 * nss/nss_files/files-parse.c: Likewise.
7390 * posix/bug-regex5.c: Likewise.
7391 * posix/fnmatch_loop.c: Likewise.
7392 * posix/regcomp.c: Likewise.
7393 * posix/regexec.c: Likewise.
7394 * posix/tst-rfc3484-2.c: Likewise.
7395 * posix/tst-rfc3484-3.c: Likewise.
7396 * posix/tst-rfc3484.c: Likewise.
7397 * resolv/nss_dns/dns-canon.c: Likewise.
7398 * resolv/nss_dns/dns-network.c: Likewise.
7399 * resolv/res_init.c: Likewise.
7400 * resolv/res_mkquery.c: Likewise.
7401 * resolv/tst-aton.c: Likewise.
7402 * stdlib/cxa_atexit.c: Likewise.
7403 * stdlib/cxa_finalize.c: Likewise.
7404 * stdlib/gen-fpioconst.c: Likewise.
7405 * stdlib/strtol_l.c: Likewise.
7406 * string/tst-endian.c: Likewise.
7407 * sunrpc/auth_des.c: Likewise.
7408 * sunrpc/clnt_udp.c: Likewise.
7409 * sunrpc/rtime.c: Likewise.
7410 * sunrpc/svcauth_des.c: Likewise.
7411 * sunrpc/xdr.c: Likewise.
7412 * sunrpc/xdr_intXX_t.c: Likewise.
7413 * sunrpc/xdr_rec.c: Likewise.
7414 * sysdeps/generic/ldconfig.h: Likewise.
7415 * sysdeps/generic/ldsodefs.h: Likewise.
7416 * sysdeps/generic/memusage.h: Likewise.
7417 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7418 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7419 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7420 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7421 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7422 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7423 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7424 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7425 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7426 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7427 * sysdeps/posix/getaddrinfo.c: Likewise.
7428 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7429 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7430 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7431 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7432 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7433 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7434 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7435 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7436 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7437 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7438 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7439 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7440 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7441 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7442 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7443 * sysdeps/x86_64/dl-tls.h: Likewise.
7444 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7445 * time/alt_digit.c: Likewise.
7446 * time/era.c: Likewise.
7447 * wcsmbs/tst-c16c32-1.c: Likewise.
7448
8c75f674
JM
74492013-05-16 Joseph Myers <joseph@codesourcery.com>
7450
7451 * math/libm-test.inc (struct test_sincos_data): New type.
7452 (RUN_TEST_LOOP_sincos): New macro.
7453 (sincos_test_data): New variable.
7454 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7455
e6e49e59
RH
74562013-05-16 Richard Henderson <rth@redhat.com>
7457
7458 * math/atest-exp2.c (LIMB64): New macro.
7459 (CONSTSZ): New macro.
7460 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7461 (hexdig): Move ...
7462 (print_mpn_fp): ... to function scope.
7463 (read_mpn_hex): Remove.
7464 (get_log2): Remove.
7465 (exp2_mpn): Use mp_log2.
7466 (main): Use mp_exp1.
7467
15c7c18d
JM
74682013-05-16 Joseph Myers <joseph@codesourcery.com>
7469
105a07df
JM
7470 * math/libm-test.inc: Remove comment about not testing "inexact"
7471 exceptions.
7472 (INEXACT_EXCEPTION): New macro.
7473 (NO_INEXACT_EXCEPTION): Likewise.
7474 (INVALID_EXCEPTION_OK): Update value.
7475 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7476 (OVERFLOW_EXCEPTION_OK): Likewise.
7477 (UNDERFLOW_EXCEPTION_OK): Likewise.
7478 (IGNORE_ZERO_INF_SIGN): Likewise.
7479 (ERRNO_UNCHANGED): Likewise.
7480 (ERRNO_EDOM): Likewise.
7481 (ERRNO_ERANGE): Likewise.
7482 (test_exceptions): Handle testing "inexact" exceptions.
7483 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7484 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7485 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7486 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7487 INEXACT_EXCEPTION.
7488 (rint_towardzero_test_data): Likewise.
7489 (rint_downward_test_data): Likewise.
7490 (rint_upward_test_data): Likewise.
7491
e9eee333
JM
7492 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7493 with OVERFLOW_EXCEPTION.
7494 (exp10_test_data): Likewise.
7495 (exp2_test_data): Likewise.
7496 (expm1_test_data): Likewise.
7497 (lgamma_test_data): Likewise.
7498 (pow_test_data): Likewise.
7499 (tgamma_test_data): Likewise.
7500 (yn_test_data): Remove duplicate test of overflow.
7501
1c38ff73
JM
7502 * math/libm-test.inc (struct test_cc_c_data): New type.
7503 (RUN_TEST_LOOP_cc_c): New macro.
7504 (cpow_test_data): New variable.
7505 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7506
15c7c18d
JM
7507 * math/libm-test.inc (struct test_f_L_data): New type.
7508 (RUN_TEST_LOOP_f_L): New macro.
7509 (llrint_test_data): New variable.
7510 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7511 (llrint_tonearest_test_data): New variable.
7512 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7513 (llrint_towardzero_test_data): New variable.
7514 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7515 (llrint_downward_test_data): New variable.
7516 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7517 (llrint_upward_test_data): New variable.
7518 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7519 (llround_test_data): New variable.
7520 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7521
f137ff13
PC
75222013-05-13 Peter Collingbourne <pcc@google.com>
7523
7524 * math/atest-exp2.c (get_log2): Remove const attribute.
7525
3608cb24
JM
75262013-05-15 Joseph Myers <joseph@codesourcery.com>
7527
7528 * math/libm-test.inc (struct test_f_l_data): New type.
7529 (RUN_TEST_LOOP_f_l): New macro.
7530 (lrint_test_data): New variable.
7531 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7532 (lrint_tonearest_test_data): New variable.
7533 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7534 (lrint_towardzero_test_data): New variable.
7535 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7536 (lrint_downward_test_data): New variable.
7537 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7538 (lrint_upward_test_data): New variable.
7539 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7540 (lround_test_data): New variable.
7541 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7542
39b1f617
PC
75432013-05-15 Peter Collingbourne <pcc@google.com>
7544
1deff3dc
PC
7545 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7546 (EXTRACT_WORDS64) Use where appropriate.
7547 (INSERT_WORDS64) Likewise.
7548
791f3ba0
PC
7549 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7550 constraints with x constraints.
7551 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7552
39b1f617
PC
7553 * malloc/obstack.c (_obstack_compat): Add initializer.
7554
12fba011
EM
75552013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7556
7557 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7558 si_trapno and add si_addr_lsb to _sifields.sigfault.
7559 (si_trapno): Remove macro.
7560 (si_addr_lsb): Define new macro.
7561 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7562
d369f531
JM
75632013-05-15 Joseph Myers <joseph@codesourcery.com>
7564
b861c6c4
JM
7565 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7566 instead of TEST_f_l.
7567 (llrint_test_tonearest): Likewise.
7568 (llrint_test_towardzero): Likewise.
7569 (llrint_test_downward): Likewise.
7570 (llrint_test_upward): Likewise.
7571 (llround_test): Likewise.
7572
7abeee12
JM
7573 * math/libm-test.inc (struct test_f_i_data): Add comment.
7574 (RUN_TEST_LOOP_f_b): New macro.
7575 (RUN_TEST_LOOP_f_b_tg): Likewise.
7576 (finite_test_data): New variable.
7577 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7578 (isfinite_test_data): New variable.
7579 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7580 (isinf_test_data): New variable.
7581 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7582 (isnan_test_data): New variable.
7583 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7584 (isnormal_test_data): New variable.
7585 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7586 (issignaling_test_data): New variable.
7587 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7588 (signbit_test_data): New variable.
7589 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7590
cbe8c4d3
JM
7591 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7592 with INVALID_EXCEPTION.
7593 (acosh_test_data): Likewise.
7594 (asin_test_data): Likewise.
7595 (atanh_test_data): Likewise.
7596 (fmod_test_data): Likewise.
7597 (log_test_data): Likewise.
7598 (log10_test_data): Likewise.
7599 (log2_test_data): Likewise.
7600 (pow_test_data): Likewise.
7601 (sqrt_test_data): Likewise.
7602 (y0_test_data): Likewise.
7603 (y1_test_data): Likewise.
7604 (yn_test_data): Likewise.
7605
5575c0e5
JM
7606 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7607 function contents.
7608
d369f531
JM
7609 * math/libm-test.inc (struct test_ff_i_data): New type.
7610 (RUN_TEST_LOOP_ff_i_tg): New macro.
7611 (isgreater_test_data): New variable.
7612 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7613 (isgreaterequal_test_data): New variable.
7614 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7615 (isless_test_data): New variable.
7616 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7617 (islessequal_test_data): New variable.
7618 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7619 (islessgreater_test_data): New variable.
7620 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7621 (isunordered_test_data): New variable.
7622 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7623
781fd748
DM
76242013-05-14 David S. Miller <davem@davemloft.net>
7625
7626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7627
87aa21df
JM
76282013-05-14 Joseph Myers <joseph@codesourcery.com>
7629
5e908270
JM
7630 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7631
f71172e5
JM
7632 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7633 extra_test to int.
7634 (struct test_f_i_data): Change type of max_ulp to int.
7635
8cfa635a
JM
7636 * math/libm-test.inc (test_ffI_f1_data): New type.
7637 (RUN_TEST_LOOP_ffI_f1): New macro.
7638 (remquo_test_data): New variable.
7639 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7640
2bcb36b2
JM
7641 * setjmp/tst-setjmp-fp.c: New file.
7642 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7643 (link-libm): New variable.
7644 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7645
acbd839a
JM
7646 * math/libm-test.inc (struct test_f_i_data): New type.
7647 (RUN_TEST_LOOP_f_i): New macro.
7648 (RUN_TEST_LOOP_f_i_tg): Likewise.
7649 (fpclassify_test_data): New variable.
7650 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7651 (ilogb_test_data): New variable.
7652 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7653
e414d745
JM
7654 * math/libm-test.inc (scalbln_test): Correct function name in END
7655 call.
7656
d9c2a0fd
JM
7657 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7658 (RUN_TEST_LOOP_fI_f1): New macro.
7659 (frexp_test_data): New variable.
7660 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7661
9dc9095d
JM
7662 * math/libm-test.inc (struct test_fF_f1_data): New type.
7663 (RUN_TEST_LOOP_fF_f1): New macro.
7664 (modf_test_data): New variable.
7665 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7666
87aa21df
JM
7667 * math/libm-test.inc (struct test_f_f1_data): New type.
7668 (RUN_TEST_LOOP_f_f1): New macro.
7669 (gamma_test_data): New variable.
7670 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7671 (lgamma_test_data): New variable.
7672 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7673
141af660
CD
76742013-05-13 Carlos O'Donell <carlos@redhat.com>
7675
7676 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7677 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7678 (main): Comment "tls" pseudo-hwcap.
7679
6d33265c
JM
76802013-05-13 Joseph Myers <joseph@codesourcery.com>
7681
68fc074c
JM
7682 * math/libm-test.inc (struct test_fl_f_data): New type.
7683 (RUN_TEST_LOOP_fl_f): New variable.
7684 (scalbln_test_data): New variable.
7685 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7686
243216e1
JM
7687 * math/libm-test.inc (struct test_fi_f_data): New type.
7688 (RUN_TEST_LOOP_fi_f): New macro.
7689 (ldexp_test_data): New variable.
7690 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7691 (scalbn_test_data): New variable.
7692 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7693
6a1992e2
JM
7694 * math/libm-test.inc (struct test_c_f_data): New type.
7695 (RUN_TEST_LOOP_c_f): New macro.
7696 (cabs_test_data): New variable.
7697 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7698 (carg_test_data): New variable.
7699 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7700 (cimag_test_data): New variable.
7701 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7702 (creal_test_data): New variable.
7703 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7704
0e400df5
JM
7705 * math/libm-test.inc (struct test_if_f_data): New type.
7706 (RUN_TEST_LOOP_if_f): New macro.
7707 (jn_test_data): New variable.
7708 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7709 (yn_test_data): New variable.
7710 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7711
6d33265c
JM
7712 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7713
f98ece5f
AZ
77142013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7715
7716 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7717 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7718
0f7d347b
SP
77192013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7720
43fe811b
SP
7721 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7722 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7723 (bench-deps): Add bench-timing.h.
7724 * benchtests-bench-skeleton.c: Include bench-timing.h.
7725 (main): Use TIMING_* macros instead of clock_gettime.
7726 * benchtests/bench-timing.h: New file.
7727
0f7d347b
SP
7728 [BZ #14582]
7729 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7730 Renamed from _LIB_VERSION.
7731 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7732
601a3a5f
JM
77332013-05-12 Joseph Myers <joseph@codesourcery.com>
7734
4f184d30
JM
7735 * math/libm-test.inc (struct test_fff_f_data): New type.
7736 (RUN_TEST_LOOP_fff_f): New macro.
7737 (fma_test_data): New variable.
7738 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7739 (fma_towardzero_test_data): New variable.
7740 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7741 (fma_downward_test_data): New variable.
7742 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7743 (fma_upward_test_data): New variable.
7744 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7745
08198877
JM
7746 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7747 (struct test_c_c_data): New type.
7748 (RUN_TEST_LOOP_c_c): New macro.
7749 (cacos_test_data): New variable.
7750 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7751 (cacosh_test_data): New variable.
7752 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7753 (casin_test_data): New variable.
7754 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7755 (casinh_test_data): New variable.
7756 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7757 (catan_test_data): New variable.
7758 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7759 (catanh_test_data): New variable.
7760 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7761 (ccos_test_data): New variable.
7762 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7763 (ccosh_test_data): New variable.
7764 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7765 (cexp_test_data): New variable.
7766 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7767 (clog_test_data): New variable.
7768 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7769 (clog10_test_data): New variable.
7770 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7771 (conj_test_data): New variable.
7772 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7773 (cproj_test_data): New variable.
7774 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7775 (csin_test_data): New variable.
7776 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7777 (csinh_test_data): New variable.
7778 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7779 (csqrt_test_data): New variable.
7780 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7781 (ctan_test_data): New variable.
7782 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7783 (ctan_tonearest_test_data): New variable.
7784 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7785 (ctan_towardzero_test_data): New variable.
7786 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7787 (ctan_downward_test_data): New variable.
7788 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7789 (ctan_upward_test_data): New variable.
7790 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7791 (ctanh_test_data): New variable.
7792 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7793 (ctanh_tonearest_test_data): New variable.
7794 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7795 (ctanh_towardzero_test_data): New variable.
7796 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7797 (ctanh_downward_test_data): New variable.
7798 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7799 (ctanh_upward_test_data): New variable.
7800 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7801 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7802 of BUILD_COMPLEX.
7803
601a3a5f
JM
7804 * math/libm-test.inc (struct test_ff_f_data): New type.
7805 (struct test_ff_f_data_nexttoward): Likewise.
7806 (RUN_TEST_LOOP_2_f): New macro.
7807 (RUN_TEST_LOOP_ff_f): Likewise.
7808 (atan2_test_data): New variable.
7809 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7810 (copysign_test_data): New variable.
7811 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7812 (fdim_test_data): New variable.
7813 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7814 (fmax_test_data): New variable.
7815 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7816 (fmin_test_data): New variable.
7817 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7818 (fmod_test_data): New variable.
7819 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7820 (hypot_test_data): New variable.
7821 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7822 (nextafter_test_data): New variable.
7823 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7824 (nexttoward_test_data): New variable.
7825 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7826 (pow_test_data): New variable.
7827 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7828 (pow_tonearest_test_data): New variable.
7829 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7830 (pow_towardzero_test_data): New variable.
7831 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7832 (pow_downward_test_data): New variable.
7833 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7834 (pow_upward_test_data): New variable.
7835 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7836 (remainder_test_data): New variable.
7837 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7838 (scalb_test_data): New variable.
7839 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7840 * sysdeps/i386/fpu/libm-test-ulps: Update.
7841
74c57478
JM
78422013-05-11 Joseph Myers <joseph@codesourcery.com>
7843
8329e4da
JM
7844 * math/libm-test.inc (fma_test): Use max_value instead of local
7845 variable fltmax.
7846 (nextafter_test): Likewise.
7847
74c57478
JM
7848 * math/libm-test.inc (acos_towardzero_test_data): New variable.
7849 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7850 (acos_downward_test_data): New variable.
7851 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7852 (acos_upward_test_data): New variable.
7853 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7854 (acosh_test_data): New variable.
7855 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7856 (asin_test_data): New variable.
7857 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7858 (asin_tonearest_test_data): New variable.
7859 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7860 (asin_towardzero_test_data): New variable.
7861 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7862 (asin_downward_test_data): New variable.
7863 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7864 (asin_upward_test_data): New variable.
7865 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7866 (asinh_test_data): New variable.
7867 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7868 (atan_test_data): New variable.
7869 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7870 (atanh_test_data): New variable.
7871 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7872 (cbrt_test_data): New variable.
7873 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7874 (ceil_test_data): New variable.
7875 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7876 (cos_test_data): New variable.
7877 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7878 (cos_tonearest_test_data): New variable.
7879 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7880 (cos_towardzero_test_data): New variable.
7881 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7882 (cos_downward_test_data): New variable.
7883 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7884 (cos_upward_test_data): New variable.
7885 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7886 (cosh_test_data): New variable.
7887 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7888 (cosh_tonearest_test_data): New variable.
7889 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7890 (cosh_towardzero_test_data): New variable.
7891 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7892 (cosh_downward_test_data): New variable.
7893 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7894 (cosh_upward_test_data): New variable.
7895 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7896 (erf_test_data): New variable.
7897 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7898 (erfc_test_data): New variable.
7899 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7900 (exp_test_data): New variable.
7901 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7902 (exp_tonearest_test_data): New variable.
7903 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7904 (exp_towardzero_test_data): New variable.
7905 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7906 (exp_downward_test_data): New variable.
7907 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7908 (exp_upward_test_data): New variable.
7909 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7910 (exp10_test_data): New variable.
7911 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7912 (exp2_test_data): New variable.
7913 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7914 (expm1_test_data): New variable.
7915 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7916 (fabs_test_data): New variable.
7917 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7918 (floor_test_data): New variable.
7919 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7920 (j0_test_data): New variable.
7921 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7922 (j1_test_data): New variable.
7923 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7924 (log_test_data): New variable.
7925 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7926 (log10_test_data): New variable.
7927 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7928 (log1p_test_data): New variable.
7929 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7930 (log2_test_data): New variable.
7931 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7932 (logb_test_data): New variable.
7933 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7934 (logb_downward_test_data): New variable.
7935 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7936 (nearbyint_test_data): New variable.
7937 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7938 (rint_test_data): New variable.
7939 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7940 (rint_tonearest_test_data): New variable.
7941 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7942 (rint_towardzero_test_data): New variable.
7943 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7944 (rint_downward_test_data): New variable.
7945 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7946 (rint_upward_test_data): New variable.
7947 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7948 (round_test_data): New variable.
7949 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7950 (sin_test_data): New variable.
7951 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7952 (sin_tonearest_test_data): New variable.
7953 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7954 (sin_towardzero_test_data): New variable.
7955 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7956 (sin_downward_test_data): New variable.
7957 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7958 (sin_upward_test_data): New variable.
7959 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7960 (sinh_test_data): New variable.
7961 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7962 (sinh_tonearest_test_data): New variable.
7963 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7964 (sinh_towardzero_test_data): New variable.
7965 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7966 (sinh_downward_test_data): New variable.
7967 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7968 (sinh_upward_test_data): New variable.
7969 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7970 (sqrt_test_data): New variable.
7971 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7972 (tan_test_data): New variable.
7973 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7974 (tan_tonearest_test_data): New variable.
7975 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7976 (tan_towardzero_test_data): New variable.
7977 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7978 (tan_downward_test_data): New variable.
7979 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7980 (tan_upward_test_data): New variable.
7981 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7982 (tanh_test_data): New variable.
7983 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7984 (tgamma_test_data): New variable.
7985 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7986 (trunc_test_data): New variable.
7987 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7988 (y0_test_data): New variable.
7989 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7990 (y1_test_data): New variable.
7991 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7992 (significand_test_data): New variable.
7993 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7994
7187d844
CG
79952013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7996
7997 [BZ #12387]
7998 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7999
f63fae73
PT
80002013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8001
8002 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8003
8a67a4b3
AJ
80042013-05-10 Andreas Jaeger <aj@suse.de>
8005
8006 [BZ #15448]
8007 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8008 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8009
51df539d
JM
80102013-05-10 Joseph Myers <joseph@codesourcery.com>
8011
8012 * math/gen-libm-test.pl (adjust_arg): New function.
8013 (special_functions): Handle generating output in both functions
8014 and arrays.
8015 (parse_args): Likewise.
8016 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8017 $in_func argument to parse_args.
8018 * math/libm-test.inc (struct test_f_f_data): New type.
8019 (IF_ROUND_INIT_): New macro.
8020 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8021 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8022 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8023 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8024 (ROUND_RESTORE_): Likewise.
8025 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8026 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8027 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8028 (ROUND_RESTORE_FE_UPWARD): Likewise.
8029 (RUN_TEST_LOOP_f_f): New macro.
8030 (acos_test_data): New variable.
8031 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8032 (acos_tonearest_test_data): New variable.
8033 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8034
5c637fe5
SP
80352013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8036
8037 * benchtests/bench-skeleton.c (startup): Fix coding style.
8038
ab2b9461
JM
80392013-05-10 Joseph Myers <joseph@codesourcery.com>
8040
8041 [BZ #6809]
8042 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8043 negative infinity argument.
8044 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8045 negative infinity argument.
8046 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8047 negative infinity argument.
8048 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8049 domain errors.
8050
4c0fe6fe
FW
80512013-05-10 Florian Weimer <fweimer@redhat.com>
8052
8053 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8054 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8055 * iconv/iconv_prog.c (main): Likewise.
8056 * locale/programs/charmap-dir.c (charmap_readdir)
8057 (fopen_uncompressed): Likewise.
8058 * locale/programs/locfile.c (siblings_uncached)
8059 (write_locale_data): Use lstat64 instead of lstat.
8060 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8061 stat.
8062
a3375d29
AJ
80632013-05-10 Andreas Jaeger <aj@suse.de>
8064
8065 [BZ #15395]
8066 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8067 localization.
8068 Include <locale.h>.
8069
36129722
CD
80702013-05-09 Carlos O'Donell <carlos@redhat.com>
8071
8072 * elf/dl-close.c (_dl_close_worker): Add comments.
8073
faa7f811
JM
80742013-05-09 Joseph Myers <joseph@codesourcery.com>
8075
ed41ffef
JM
8076 [BZ #15359]
8077 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8078 high part of pi/2.
8079 (__ieee754_rem_pio2l): Update comments.
8080
d0213cd0
JM
8081 [BZ #15429]
8082 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8083 high part of pi/2.
8084 (__ieee754_rem_pio2l): Update comments.
8085
0d3e777a
JM
8086 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8087 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8088
24f56066
JM
8089 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8090 M_PI_4l.
8091
faa7f811
JM
8092 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8093 (M_PI_34_LOG10El): Likewise.
8094 (M_PI2_LOG10El): Likewise.
8095 (M_PI4_LOG10El): Likewise.
8096 (M_PI_LOG10El): Likewise.
8097
e9a5e0fd
AZ
80982013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8099
8100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8101
d8cd06db
JM
81022013-05-08 Joseph Myers <joseph@codesourcery.com>
8103
a0d9f9d7
JM
8104 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8105 (MINUS_ZERO_INIT): Likewise.
8106 (PLUS_INFTY_INIT): Likewise.
8107 (MINUS_INFTY_INIT): Likewise.
8108 (QNAN_VALUE_INIT): Likewise.
8109 (MAX_VALUE_INIT): Likewise.
8110 (MIN_VALUE_INIT): Likewise.
8111 (MIN_SUBNORM_VALUE_INIT): Likewise.
8112 (plus_zero): Initialize with PLUS_ZERO_INIT.
8113 (minus_zero): Initialize with MINUS_ZERO_INIT.
8114 (plus_infty): Initialize with PLUS_INFTY_INIT.
8115 (minus_infty): Initialize with MINUS_INFTY_INIT.
8116 (qnan_value): Initialize with QNAN_VALUE_INIT.
8117 (max_value): Initialize with MAX_VALUE_INIT.
8118 (min_value): Initialize with MIN_VALUE_INIT.
8119 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8120
ae08db3b
JM
8121 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8122 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8123 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8124 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8125
f44bf14a
JM
8126 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8127 (RUN_TEST_2_f): Likewise.
8128 (RUN_TEST_ff_f): Likewise.
8129 (RUN_TEST_fi_f): Likewise.
8130 (RUN_TEST_fl_f): Likewise.
8131 (RUN_TEST_fff_f): Likewise.
8132 (RUN_TEST_c_f): Likewise.
8133 (RUN_TEST_f_f1): Likewise.
8134 (RUN_TEST_fF_f1): Likewise.
8135 (RUN_TEST_fI_f1): Likewise.
8136 (RUN_TEST_ffI_f1): Likewise.
8137 (RUN_TEST_c_c): Likewise.
8138 (RUN_TEST_cc_c): Likewise.
8139 (RUN_TEST_f_i): Likewise.
8140 (RUN_TEST_f_i_tg): Likewise.
8141 (RUN_TEST_ff_i_tg): Likewise.
8142 (RUN_TEST_f_b): Likewise.
8143 (RUN_TEST_f_b_tg): Likewise.
8144 (RUN_TEST_f_l): Likewise.
8145 (RUN_TEST_f_L): Likewise.
8146 (RUN_TEST_sincos): Likewise.
8147 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8148 whether to show exceptions. Do not include ");\n" in return
8149 value.
8150 (special_functions): Output call to RUN_TEST_sincos instead of
8151 check_float calls. Update calls to new_test.
8152 (parse_args): Output call to single RUN_TEST_* macro instead of
8153 check_* calls and other assignments. Update calls to new_test.
8154
d8cd06db
JM
8155 [BZ #2546]
8156 [BZ #2560]
8157 [BZ #5159]
8158 [BZ #15426]
8159 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8160 input to result for tgamma overflow.
8161 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8162 (gamma_coeff): New variable.
8163 (NCOEFF): New macro.
8164 (gamma_positive): New function.
8165 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8166 underflow here. Use gamma_positive instead of exp (lgamma) for
8167 other arguments.
8168 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8169 (gamma_coeff): New variable.
8170 (NCOEFF): New macro.
8171 (gammaf_positive): New function.
8172 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8173 underflow here. Use gamma_positive instead of exp (lgamma) for
8174 other arguments.
8175 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8176 (gamma_coeff): New variable.
8177 (NCOEFF): New macro.
8178 (gammal_positive): New function.
8179 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8180 underflow here. Use gamma_positive instead of exp (lgamma) for
8181 other arguments.
8182 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8183 (gamma_coeff): New variable.
8184 (NCOEFF): New macro.
8185 (gammal_positive): New function.
8186 (__ieee754_gammal_r): Handle positive infinity, overflow and
8187 underflow here. Handle NaN the same as positive infinity. Remove
8188 check x < 0xffffffff for negative integers. Use gamma_positive
8189 instead of exp (lgamma) for other arguments.
8190 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8191 (gamma_coeff): New variable.
8192 (NCOEFF): New macro.
8193 (gammal_positive): New function.
8194 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8195 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8196 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8197 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8198 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8199 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8200 * sysdeps/generic/math_private.h (__gamma_productf): New
8201 prototype.
8202 (__gamma_product): Likewise.
8203 (__gamma_productl): Likewise.
8204 * math/Makefile (libm-calls): Add gamma_product.
8205 * math/libm-test.inc (tgamma_test): Add more tests.
8206 * sysdeps/i386/fpu/libm-test-ulps: Update.
8207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8208
bb7cf681
OB
82092013-05-08 Ondřej Bílka <neleai@seznam.cz>
8210
8211 * benchtests/bench-skeleton.c (main): Preheat CPU.
8212
ba853947
AJ
82132013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8214
8215 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8216
8347c74c
RM
82172013-05-07 Roland McGrath <roland@hack.frob.com>
8218
8219 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8220 and _dl_skip_args_internal.
8221
e8dd4791
CD
82222013-05-07 Carlos O'Donell <carlos@redhat.com>
8223
8224 * manual/message.texi (Message Translation): Talk about users.
8225 Message to key mapping impacts design.
8226
c7405830
RM
82272013-05-06 Roland McGrath <roland@hack.frob.com>
8228
a9173057
RM
8229 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8230
976e2f03
RM
8231 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8232
9723ffc5
RM
8233 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8234 * sysdeps/wordsize-64/glob64.c: ... here.
8235
962e6658
RM
8236 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8237 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8238 New macros.
8239
ee586a6d
RM
8240 * debug/getlogin_r_chk.c: Moved to ...
8241 * login/getlogin_r_chk.c: ... here.
8242 * debug/Makefile (routines): Move getlogin_r_chk to ...
8243 * login/Makefile (routines): ... here.
8244 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8245 * login/Versions (libc: GLIBC_2.4): ... here.
8246
355f9165
RM
8247 * io/poll.c (__poll): Renamed from poll.
8248 Add libc_hidden_def.
8249 (poll): Define as weak alias.
8250
bd9ffde6
RM
8251 * debug/ptsname_r_chk.c: Moved to ...
8252 * login/ptsname_r_chk.c: ... here.
8253 * debug/Makefile (routines): Move ptsname_r_chk to ...
8254 * login/Makefile (routines): ... here.
8255 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8256 * login/Versions (libc: GLIBC_2.4): ... here.
8257
8fb16a04
RM
8258 * posix/getlogin.c: Moved to ...
8259 * login/getlogin.c: ... here.
8260 * posix/getlogin_r.c: Moved to ...
8261 * login/getlogin_r.c: ... here.
8262 * posix/getlogin_r.c: Moved to ...
8263 * login/getlogin_r.c: ... here.
8264 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8265 * login/Makefile (routines): ... here.
8266 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8267 * login/Versions (libc: GLIBC_2.0): ... here.
8268
b99b892f
RM
8269 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8270 (setrlimit): Define as weak alias.
8271
c7405830
RM
8272 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8273 Call __ names for open, ftruncate, and close.
8274 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8275 (truncate): Define as weak alias.
8276
5bf96de5
JM
82772013-05-06 Joseph Myers <joseph@codesourcery.com>
8278
9ea3513c
JM
8279 * math/gen-libm-test.pl (parse_args): Initialize x before each
8280 test of frexp, modf and remquo.
8281
5bf96de5
JM
8282 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8283 test signgam value.
8284
16e616a7
AZ
82852013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8286
8287 [BZ #15418]
8288 [BZ #15419]
8289 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8290 internal tests.
8291 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8292
d5e82754
RM
82932013-05-06 Roland McGrath <roland@hack.frob.com>
8294
8295 * elf/dl-writev.h: New file.
8296 * elf/dl-misc.c: Include it.
8297 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8298 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8299
a7548d41
JM
83002013-05-04 Joseph Myers <joseph@codesourcery.com>
8301
b7dab1e4
JM
8302 * math/libm-test.inc (noXFails): Remove variable.
8303 (noXPasses): Likewise.
8304 (BUILD_COMPLEX_INT): Remove macro.
8305 (print_screen): Remove xfail argument.
8306 (print_screen_max_error): Likewise.
8307 (update_stats): Likewise.
8308 (print_max_error): Likewise. Update calls to other affected
8309 functions.
8310 (print_complex_max_error): Likewise.
8311 (test_single_exception): Update calls to print_screen.
8312 (test_single_errno): Likewise.
8313 (check_float_internal): Remove xfail argument. Update calls to
8314 other affected functions.
8315 (check_float): Likewise.
8316 (check_complex): Likewise.
8317 (check_int): Likewise.
8318 (check_long): Likewise.
8319 (check_bool): Likewise.
8320 (check_longlong): Likewise.
8321 (main): Don't print noXFails and noXPasses.
8322 * math/gen-libm-test.pl (top level): Don't mention expected
8323 failure handling in comment.
8324 (new_test): Don't handle expected failures.
8325 (parse_args): Don't mention expected failure handling in comment.
8326 (generate_testfile): Don't handle expected failures.
8327 (parse_ulps): Likewise.
8328 (print_ulps_file): Likewise.
8329 (get_failure): Remove function.
8330 (output_test): Don't handle expected failures.
8331 * make/README.libm-test: Don't mention expected failure handling.
8332
a7548d41
JM
8333 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8334 (minus_zero): Likewise.
8335 (plus_infty): Likewise.
8336 (minus_infty): Likewise.
8337 (qnan_value): Likewise.
8338 (max_value): Likewise.
8339 (min_value): Likewise.
8340 (min_subnorm_value): Likewise.
8341 (initialize): Do not initialize those variables dynamically.
8342
60bfd54c
RM
83432013-05-03 Roland McGrath <roland@hack.frob.com>
8344
cc0e6ed8
RM
8345 * io/open.c (__open_2): Moved to ...
8346 * io/open_2.c: ... this new file.
8347 * io/open64.c (__open64_2): Moved to ...
8348 * io/open64_2.c: ... this new file.
8349 * io/openat.c (__openat_2): Moved to ...
8350 * io/openat_2.c: ... this new file.
8351 * io/openat64.c (__openat64_2): Moved to ...
8352 * io/openat64_2.c: ... this new file.
8353 * io/Makefile (routines): Add them.
8354 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8355 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8356 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8357 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8358 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8359 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8360 (__openat64): Add hidden_ver.
8361 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8362 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8363
60bfd54c
RM
8364 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8365 Separately conditionalize setting of GLRO(dl_sysinfo) so
8366 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8367 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8368
83e7640f
AZ
83692013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8370
8371 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8372 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8373 definition.
8374 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8375 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8376 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8377 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8378 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8379
d5dc2af3
JM
83802013-05-03 Joseph Myers <joseph@codesourcery.com>
8381
c31a5b1e
JM
8382 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8383 test signgam value.
8384
d5dc2af3
JM
8385 * math/libm-test.inc (hypot_test): Do not use
8386 IGNORE_ZERO_INF_SIGN.
8387
164fd39d
AJ
83882013-05-03 Andreas Jaeger <aj@suse.de>
8389
8390 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8391 Linux 3.9.
8392 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8393 (PF_MAX): Adjust for VSOCK change.
8394
8237f48c
AZ
83952013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8396
8397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8398
9df02941
CD
83992013-05-02 Carlos O'Donell <carlos@redhat.com>
8400
8401 [BZ #15264]
8402 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8403 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8404 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8405
d422395e
DM
84062013-05-02 David S. Miller <davem@davemloft.net>
8407
8408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8409
a07c5731
OB
84102013-05-01 Ondřej Bílka <neleai@seznam.cz>
8411
8412 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8413
1324e37f
RM
84142013-05-01 Roland McGrath <roland@hack.frob.com>
8415
8416 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8417
0695940b
RS
84182013-05-01 Richard Smith <richard@metafoo.co.uk>
8419
bb5f27ad 8420 [BZ #14952]
0695940b
RS
8421 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8422 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8423 Use __attribute__ ((__gnu_inline__)).
8424 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8425 Don't use __attribute__ ((__gnu_inline__)).
8426
10de07f5
JM
84272013-05-01 Joseph Myers <joseph@codesourcery.com>
8428
8429 [BZ #15423]
8430 * math/s_catan.c (__catan): Handle small real or imaginary part of
8431 input specially to avoid spurious underflow.
8432 * math/s_catanf.c (__catanf): Likewise.
8433 * math/s_catanh.c (__catanh): Likewise.
8434 * math/s_catanhf.c (__catanhf): Likewise.
8435 * math/s_catanhl.c (__catanhl): Likewise.
8436 * math/s_catanl.c (__catanl): Likewise.
8437 * math/libm-test.inc (catan_test): Add more tests.
8438 (catanh_test): Likewise.
8439 * sysdeps/i386/fpu/libm-test-ulps: Update.
8440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8441
cb4d5414
AZ
84422013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8443
8444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8445
caf84319
JM
84462013-04-30 Joseph Myers <joseph@codesourcery.com>
8447
8448 [BZ #15416]
8449 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8450 accurately for denominator in atan2.
8451 * math/s_catanf.c (__catanf): Likewise.
8452 * math/s_catanh.c (__catanh): Likewise.
8453 * math/s_catanhf.c (__catanhf): Likewise.
8454 * math/s_catanhl.c (__catanhl): Likewise.
8455 * math/s_catanl.c (__catanl): Likewise.
8456 * math/libm-test.inc (catan_test): Add more tests.
8457 (catanh_test): Likewise.
8458 * sysdeps/i386/fpu/libm-test-ulps: Update.
8459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8460
d569c6ee
SP
84612013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8462
6dbe713d
SP
8463 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8464
f0ee064b
SP
8465 * benchtests/Makefile (bench): Remove slow benchmarks.
8466 * benchtests/atan-inputs: Add slow benchmark inputs.
8467 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8468 (BENCH_FUNC): Accept variant offset.
8469 (VARIANT): Define.
8470 * benchtests/bench-skeleton.c (main): Run benchmark for each
8471 variant.
8472 * benchtests/cos-inputs: Add slow benchmark inputs.
8473 * benchtests/exp-inputs: Likewise.
8474 * benchtests/pow-inputs: Likewise.
8475 * benchtests/sin-inputs: Likewise.
8476 * benchtests/slowatan-inputs: Remove.
8477 * benchtests/slowatan.c: Remove.
8478 * benchtests/slowcos-inputs: Remove.
8479 * benchtests/slowcos.c: Remove.
8480 * benchtests/slowexp-inputs: Remove.
8481 * benchtests/slowexp.c: Remove.
8482 * benchtests/slowpow-inputs: Remove.
8483 * benchtests/slowpow.c: Remove.
8484 * benchtests/slowsin-inputs: Remove.
8485 * benchtests/slowsin.c: Remove.
8486 * benchtests/slowtan-inputs: Remove.
8487 * benchtests/slowtan.c: Remove.
8488 * benchtests/tan-inputs: Add slow benchmark inputs.
8489 * scripts/bench.pl: Parse comments and directives.
8490
d569c6ee
SP
8491 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8492 in CPPFLAGS.
8493 ($(objpfx)bench-%.c): Remove *-ITER.
8494 * benchtests/bench-modf.c: Remove definition of ITER.
8495 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8496 (main): Loop for DURATION seconds instead of fixed number of
8497 iterations.
8498 * scripts/bench.pl: Don't expect iterations in parameters.
8499
a6a242fe
RM
85002013-04-29 Roland McGrath <roland@hack.frob.com>
8501
8502 * io/fchdir.c (__fchdir): Renamed from fchdir.
8503 (fchdir): Define as weak alias.
8504
f2da7793
JM
85052013-04-29 Joseph Myers <joseph@codesourcery.com>
8506
8507 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8508 (ERRNO_EDOM): Likewise.
8509 (ERRNO_ERANGE): Likewise.
8510 (noErrnoTests): New variable.
8511 (init_max_error): Set errno to 0.
8512 (test_single_errno): New function.
8513 (test_errno): Likewise.
8514 (check_float_internal): Call test_errno. Set errno to 0.
8515 (check_complex): Refer to errno tests in comment.
8516 (check_int): Call test_errno. Set errno to 0.
8517 (check_long): Likewise.
8518 (check_bool): Likewise.
8519 (check_longlong): Likewise.
8520 (cos_test): Use ERRNO_* flags for errno tests instead of
8521 check_int.
8522 (expm1_test): Likewise.
8523 (fmod_test): Likewise.
8524 (ilogb_test): Likewise.
8525 (lgamma_test): Likewise.
8526 (pow_test): Likewise.
8527 (remainder_test): Likewise.
8528 (sin_test): Likewise.
8529 (tan_test): Likewise.
8530 (yn_test): Likewise.
8531 (initialize): Set errno to 0.
8532 (main): Print number of errno tests.
8533 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8534
b1a36ceb
AJ
85352013-04-29 Andreas Jaeger <aj@suse.de>
8536
c3ed8088
AJ
8537 [BZ #15084]
8538 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8539 and RES_USEVC.
8540
f1a24198
AJ
8541 [BZ #15085]
8542 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8543 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8544 unimplemented.
8545
9ce3b2cb
AJ
8546 [BZ #15380]
8547 * stdlib/random.c (__initstate): Return NULL if
8548 __initstate fails.
8549
f1a24198 8550 [BZ #15086]
b1a36ceb
AJ
8551 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8552 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8553 RES_SNGLKUPREOP.
8554
7e7b6f36
AZ
85552013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8556
8557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8558
4d14f449
JM
85592013-04-29 Joseph Myers <joseph@codesourcery.com>
8560
8561 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8562 of individual tests.
8563 (casin_test): Likewise.
8564 (casinh_test): Likewise.
8565
5b4217d7
JM
85662013-04-27 Joseph Myers <joseph@codesourcery.com>
8567
8568 [BZ #15409]
8569 * math/s_catan.c (__catan): Handle arguments with large real or
8570 imaginary part separately without squaring.
8571 * math/s_catanf.c (__catanf): Likewise.
8572 * math/s_catanh.c (__catanh): Likewise.
8573 * math/s_catanhf.c (__catanhf): Likewise.
8574 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8575 and redefine.
8576 (__catanhl): Handle arguments with large real or imaginary part
8577 separately without squaring.
8578 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8579 and redefine.
8580 (__catanl): Handle arguments with large real or imaginary part
8581 separately without squaring.
8582 * math/libm-test.inc (catan_test): Add more tests.
8583 (catanh_test): Likewise.
8584 * sysdeps/i386/fpu/libm-test-ulps: Update.
8585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8586
4220c3ef
AJ
85872013-04-27 Andreas Jaeger <aj@suse.de>
8588
8589 [BZ #15007]
8590 * stdlib/stdlib.h: Update guards for qecvt.
8591 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8592 <stdlib.h>.
8593
4721b2d1
AM
85942013-04-27 Allan McRae <allan@archlinux.org>
8595
8596 * sysdeps/i386/fpu/libm-test-ulps: Update.
8597
f0302940
JM
85982013-04-26 Joseph Myers <joseph@codesourcery.com>
8599
9457fd95
JM
8600 [BZ #15406]
8601 * math/s_catan.c: Include <float.h>.
8602 (__catan): Ensure underflow exception occurs for underflowed
8603 result.
8604 * math/s_catanf.c: Include <float.h>.
8605 (__catanf): Ensure underflow exception occurs for underflowed
8606 result.
8607 * math/s_catanh.c: Include <float.h>.
8608 (__catanh): Ensure underflow exception occurs for underflowed
8609 result.
8610 * math/s_catanhf.c: Include <float.h>.
8611 (__catanhf): Ensure underflow exception occurs for underflowed
8612 result.
8613 * math/s_catanhl.c: Include <float.h>.
8614 (__catanhl): Ensure underflow exception occurs for underflowed
8615 result.
8616 * math/s_catanl.c: Include <float.h>.
8617 (__catanl): Ensure underflow exception occurs for underflowed
8618 result.
8619 * math/libm-test.inc (catan_test): Add more tests.
8620 (catanh_test): Likewise.
8621
f0302940
JM
8622 [BZ #15405]
8623 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8624 underflowed result.
8625 * math/s_ccoshf.c (__ccoshf): Likewise.
8626 * math/s_ccoshl.c (__ccoshl): Likewise.
8627 * math/s_csin.c (__csin): Likewise.
8628 * math/s_csinf.c (__csinf): Likewise.
8629 * math/s_csinh.c (__csinh): Likewise.
8630 * math/s_csinhf.c (__csinhf): Likewise.
8631 * math/s_csinhl.c (__csinhl): Likewise.
8632 * math/s_csinl.c (__csinl): Likewise.
8633 * math/libm-test.inc (ccos_test): Add more tests.
8634 (ccosh_test): Likewise.
8635 (csin_test): Likewise.
8636 (csinh_test): Likewise.
8637
aa630f59
AZ
86382013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8639
8640 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8641 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8642 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8643 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8644 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8645 powerpc/power5+/fpu folders.
8646 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8647
8648
1b835983
MT
86492013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8650
8651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8652
73709b26
JM
86532013-04-25 Joseph Myers <joseph@codesourcery.com>
8654
8655 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8656 additions to variable.
8657 [$(config-machine) = x86_64] (modules-names): Likewise.
8658 ($(objpfx)tst-audit3): Remove dependency.
8659 ($(objpfx)tst-audit3.out): Likewise.
8660 ($(objpfx)tst-audit4): Likewise.
8661 ($(objpfx)tst-audit4.out): Likewise.
8662 ($(objpfx)tst-audit5): Likewise.
8663 ($(objpfx)tst-audit5.out): Likewise.
8664 ($(objpfx)tst-audit6): Likewise.
8665 ($(objpfx)tst-audit6.out): Likewise.
8666 ($(objpfx)tst-audit7): Likewise.
8667 ($(objpfx)tst-audit7.out): Likewise.
8668 (tst-audit3-ENV): Remove variable.
8669 (tst-audit4-ENV): Likewise.
8670 (tst-audit5-ENV): Likewise.
8671 (tst-audit6-ENV): Likewise.
8672 (tst-audit7-ENV): Likewise.
8673 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8674 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8675 addition to variable.
8676 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8677 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8678 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8679 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8680 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8681 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8682 tst-audit3, tst-audit4 and tst-audit5.
8683 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8684 tst-audit6 and tst-audit7.
8685 [$(subdir) = elf] (modules-names): Add audit modules for those
8686 tests.
8687 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8688 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8689 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8690 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8691 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8692 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8693 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8694 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8695 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8696 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8697 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8698 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8699 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8700 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8701 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8702 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8703 Likewise.
8704 [$(subdir) = elf && $(config-cflags-avx) = yes]
8705 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8706 [$(subdir) = elf && $(config-cflags-avx) = yes]
8707 (CFLAGS-tst-auditmod4a.c): Likewise.
8708 [$(subdir) = elf && $(config-cflags-avx) = yes]
8709 (CFLAGS-tst-auditmod4b.c): Likewise.
8710 [$(subdir) = elf && $(config-cflags-avx) = yes]
8711 (CFLAGS-tst-auditmod6b.c): Likewise.
8712 [$(subdir) = elf && $(config-cflags-avx) = yes]
8713 (CFLAGS-tst-auditmod6c.c): Likewise.
8714 [$(subdir) = elf && $(config-cflags-avx) = yes]
8715 (CFLAGS-tst-auditmod7b.c): Likewise.
8716 * elf/tst-audit3.c: Move to ...
8717 * sysdeps/x86_64/tst-audit3.c: ... here.
8718 * elf/tst-audit4.c: Move to ...
8719 * sysdeps/x86_64/tst-audit4.c: ... here.
8720 * elf/tst-audit5.c: Move to ...
8721 * sysdeps/x86_64/tst-audit5.c: ... here.
8722 * elf/tst-audit6.c: Move to ...
8723 * sysdeps/x86_64/tst-audit6.c: ... here.
8724 * elf/tst-audit7.c: Move to ...
8725 * sysdeps/x86_64/tst-audit7.c: ... here.
8726 * elf/tst-auditmod3a.c: Move to ...
8727 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8728 * elf/tst-auditmod3b.c: Move to ...
8729 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8730 * elf/tst-auditmod4a.c: Move to ...
8731 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8732 * elf/tst-auditmod4b.c: Move to ...
8733 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8734 * elf/tst-auditmod5a.c: Move to ...
8735 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8736 * elf/tst-auditmod5b.c: Move to ...
8737 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8738 * elf/tst-auditmod6a.c: Move to ...
8739 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8740 * elf/tst-auditmod6b.c: Move to ...
8741 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8742 * elf/tst-auditmod6c.c: Move to ...
8743 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8744 * elf/tst-auditmod7a.c: Move to ...
8745 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8746 * elf/tst-auditmod7b.c: Move to ...
8747 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8748
1ef74943
PP
87492013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8750
8751 [BZ #15366]
8752 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8753 define unconditionally.
8754 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8755 define unconditionally.
8756 (INT8_C, INT16_C, etc.): Likewise.
8757
93fd48c5
MR
87582013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8759
ae9552cf
MR
8760 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8761 __ehdr_start with hidden visibility.
8762
93fd48c5
MR
8763 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8764
418601aa
CD
87652013-04-24 Carlos O'Donell <carlos@redhat.com>
8766
8767 * math/libm-test.inc (cos_test): Use accurate hex constants.
8768 (sincost_test): Likewise.
8769
2f38fbfe
JM
87702013-04-24 Joseph Myers <joseph@codesourcery.com>
8771
5e221800
JM
8772 * math/libm-test.inc (catan_test): Add more tests.
8773 (catanh_test): Likewise.
8774
77f143fd
JM
8775 * math/s_catanf.c (__catanf): Use suffixed floating-point
8776 constants.
8777 * math/s_catanhf.c (__catanhf): Likewise.
8778 * math/s_catanhl.c (__catanhl): Likewise.
8779 * math/s_catanl.c (__catanl): Likewise.
8780
2f38fbfe
JM
8781 [BZ #15394]
8782 * math/s_catan.c (__catan): Calculate imaginary part of result
8783 with log1p not log unless computing log of number close to 0.
8784 * math/s_catanf.c (__catanf): Likewise.
8785 * math/s_catanl.c (__catanl): Likewise.
8786 * math/s_catanh.c (__catanh): Calculate real part of result with
8787 log1p not log unless computing log of number close to 0.
8788 * math/s_catanhf.c (__catanhf): Likewise.
8789 * math/s_catanhl.c (__catanhl): Likewise.
8790 * math/libm-test.inc (catan_test): Add more tests.
8791 (catanh_test): Likewise.
8792 * sysdeps/i386/fpu/libm-test-ulps: Update.
8793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8794
45d69176
SP
87952013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8796
8797 * benchtests/Makefile: Mention files in which fast and slow
8798 paths of math functions are implemented.
8799
87f51853
RM
88002013-04-23 Roland McGrath <roland@hack.frob.com>
8801
8802 * sysdeps/posix/timespec_get.c: New file.
8803
3c026539
AZ
88042013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8805
8806 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8807 POWER.
8808 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8809 for POWER.
8810 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8811 powerpc/power5/fpu folders.
8812 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8813 * benchtests/Makefile: Add modf testcase.
8814 * benchtests/bench-modf.c: New file: Benchmark test for mo
8815
ff491d14
SP
88162013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8817
8818 [BZ #14888]
8819 * time/Makefile (tests): Add tst-strptime-whitespace.
8820 * time/strptime_l.c (get_number): Use ISSPACE.
8821 (__strptime_internal): Likewise.
8822 * time/tst-strptime-whitespace.c: New test case.
8823
7ed3f4e8
AS
88242013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8825
8826 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8827 member.
8828 (_nss_files_init): Set it here.
8829
5c95f7b6
HC
88302013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8831
8832 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8833 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8834 unsigned.
8835
d34c9158
JBG
88362013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8837
8838 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8839
2169712d
SP
88402013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8841
8842 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8843 size just once.
8844
29c5de99
DM
88452013-04-21 David S. Miller <davem@davemloft.net>
8846
8847 * po/ru.po: Update Russion translation from translation project.
8848
ccdad15d
AC
88492013-04-17 Adam Conrad <adconrad@0c3.net>
8850
8851 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8852 and setfsgid.
8853
0f122b8d
CD
88542013-04-17 Carlos O'Donell <carlos@redhat.com>
8855
5c5b07da 8856 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 8857 * configure: Regenerate.
5c5b07da 8858 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
8859 Add example to error message.
8860 * sysdeps/i386/configure: Regenerate.
8861
037714dd
SP
88622013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8863
8864 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8865 slowtan.
8866 * benchtests/cos-inputs: New file.
8867 * benchtests/slowcos-inputs: New file.
8868 * benchtests/slowcos.c: New file.
8869 * benchtests/slowtan-inputs: New file.
8870 * benchtests/slowtan.c: New file.
8871 * benchtests/tan-inputs: New file.
8872
e913141d
RM
88732013-04-16 Roland McGrath <roland@hack.frob.com>
8874
8875 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8876 considered kosher.
8877
a2964074
SP
88782013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8879
4856bcd2
SP
8880 * benchtests/Makefile: Include cppflags-iterator.mk to add
8881 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8882
a2964074
SP
8883 * Makefile.in (bench-clean): New target.
8884 * benchtests/Makefile (bench-clean): Likewise.
8885
9fbf9aca
DH
88862013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8887
8888 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8889
207d1e2a
TS
88902013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8891
8892 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8893
306dfba9
AS
88942013-04-15 Andreas Schwab <schwab@suse.de>
8895
8896 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8897 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8898 * nscd/pwdcache.c (cache_addpw): Likewise.
8899 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8900 more than recsize.
8901
206a6699
SP
89022013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8903
8904 * benchtests/Makefile (bench): Write all output to
8905 bench-out.tmp together.
8906
0582f6b3
AS
89072013-04-15 Andreas Schwab <schwab@suse.de>
8908
8909 * nscd/nscd.c (main): Don't fork again after closing files.
8910
acb4325f
SP
89112013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8912
5cb26d0a
SP
8913 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8914
acb4325f
SP
8915 * benchtests/Rules (bench-deps): Collect dependencies into a
8916 single variable. Add Makefile to dependencies.
8917 ($(objpfx)bench-%.c): Depend on bench-deps.
8918
47792506
RM
89192013-04-12 Roland McGrath <roland@hack.frob.com>
8920 Xavier Roche <roche+kml2@exalead.com>
8921
8922 [BZ #15361]
8923 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8924 just that it's a file descriptor.
8925 * manual/llio.texi (Synchronizing AIO Operations): Update description
8926 for EBADF error from aio_fsync.
8927
8fc1bee5
SP
89282013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8929
8930 * Rules (bench): Move target definition...
8931 * benchtests/Makefile: ... here.
8932
aba5e333
CD
89332013-04-11 Carlos O'Donell <carlos@redhat.com>
8934
8935 * math/libm-test.inc (cos_test): Fix PI/2 test.
8936 (sincos_test): Likewise.
8937 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8938 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8939
273cdee8
AS
89402013-04-11 Andreas Schwab <schwab@suse.de>
8941
6ecec3b6
AS
8942 [BZ #13988]
8943 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8944 accept exponent character only when digits were seen.
8945 * stdio-common/Makefile (tests): Add bug26.
8946 * stdio-common/bug26.c: New file.
8947
273cdee8
AS
8948 [BZ #14293]
8949 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8950 non-freeable.
8951
8da491f5
SP
89522013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8953
01dc6df9
SP
8954 * Makeconfig (rtld-prefix): Define built linker prefix.
8955 * Rules (run-bench): Use it.
8956 * math/Makefile (run-regen-ulps): Likewise.
8957
8da491f5
SP
8958 * Rules (bench): Remove eval.
8959
abe7f530
SP
89602013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8961 Roland McGrath <roland@hack.frob.com>
8962 Ondrej Bilka <neleai@seznam.cz>
8963
8964 [BZ #15346]
8965 * time/getdate.c: Include ctype.h and alloca.h.
8966 (__getdate_r): Trim leading and trailing spaces of input.
8967 * time/tst-getdate.c (tests): Add tests with leading and
8968 trailing spaces.
8969
61c23e62
RM
89702013-04-08 Roland McGrath <roland@hack.frob.com>
8971
8972 [BZ #14280]
8973 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8974 when computing value.
8975
7208a313
CD
89762013-04-06 Carlos O'Donell <carlos@redhat.com>
8977
085b2d41
CD
8978 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8979 Use testrun.sh to run libm tests.
8980
7208a313
CD
8981 [BZ #15309]
8982 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8983
872c0acd
MM
89842013-04-06 Marko Myllynen <myllynen@redhat.com>
8985
8986 [BZ #15264]
8987 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8988
26510bdd
CD
89892013-04-06 Carlos O'Donell <carlos@redhat.com>
8990
8991 * Makefile.in (regen-ulps): New target.
8992 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8993 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8994 [ifneq (no,$(PERL)] (regen-ulps): New target.
8995 [ifeq (no,$(PERL)] (regen-ulps): New target.
8996 * math/libm-test.inc (ulps_file_name): Define.
8997 (output_dir): New variable.
8998 (options): Add "output-dir" option.
8999 (parse_opt): Handle 'o' case.
9000 (main): If output_dir is non-NULL use it as a prefix
9001 otherwise use "".
9002 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9003
a01f19c8
CD
90042013-04-06 Carlos O'Donell <carlos@redhat.com>
9005
9006 [BZ #10060, #10062]
9007 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9008 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9009 fail configure if __sync_val_compare_and_swap is not inlined.
9010 * sysdeps/i386/configure: Regenerate.
9011 * configure.in: Build for i686 when configured for i386.
9012 * configure: Regenerate.
9013 * README: Remove i386 reference.
9014
b7a329a5
CD
90152013-04-06 Carlos O'Donell <carlos@redhat.com>
9016
9017 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9018 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9019
bf0f50df
TS
90202013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9021
ee091edf
TS
9022 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9023 (lmsnanval): New variables.
9024 (F): Add conversion tests.
9025 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9026 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9027
a8b792d6
TS
9028 * stdio-common/tstdiomisc.c (F): Properly collect individual
9029 tests' results.
9030
a1cbf437
TS
9031 [BZ #14686, #15336]
9032 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9033 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9034 Instead, use input NaN values or generate a qNaN by arithmetic
9035 operation. Also fix bugs to comply with the standard.
9036 * math/libm-test.inc (remainder_test): Add more tests.
9037
8b43a0c9
TS
9038 [BZ #15335, #15342]
9039 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9040 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9041 input NaN values or generate a qNaN by arithmetic operation.
9042
d91da4ce
TS
9043 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9044 unreachable code.
9045
bf0f50df
TS
9046 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9047 definitions.
9048
05e166c8
JM
90492013-04-03 Joseph Myers <joseph@codesourcery.com>
9050
9051 [BZ #14478]
9052 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9053 underflowed result.
9054 * math/s_cexpf.c (__cexpf): Likewise.
9055 * math/s_cexpl.c (__cexpl): Likewise.
9056 * math/libm-test.inc (cexp_test): Add more tests.
9057
1cef1b19
AS
90582013-04-03 Andreas Schwab <schwab@suse.de>
9059
9060 [BZ #15330]
9061 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9062 order arrays from heap if bigger than alloca cutoff.
9063
74d87055
TS
90642013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9065
9066 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9067 (SNAN_TESTS_double): Refer to GCC PR56831.
9068 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9069 GCC PR56828.
9070
d755bba4
SP
90712013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9072
90d5d5bb
SP
9073 * Rules (bench): Move bench.out after the run is complete.
9074
73e0cd5d
SP
9075 * Rules (bench): Echo currently running benchmark.
9076
64aabd4b
SP
9077 * benchtests/Makefile (bench): Add atan and slowatan.
9078 * benchtests/atan-inputs: New file.
9079 * benchtests/slowatan-inputs: New file.
9080 * benchtests/slowatan.c: New file.
9081
c871eccd
SP
9082 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9083 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9084 its value.
9085
d755bba4
SP
9086 [BZ #15305]
9087 * sysdeps/unix/sysv/linux/kernel-features.h
9088 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9089 __ASSUME_XFS_RESTRICTED_CHOWN.
9090 * sysdeps/unix/sysv/linux/pathconf.c
9091 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9092 Save and restore errno.
9093
52ce4860
JM
90942013-04-02 Joseph Myers <joseph@codesourcery.com>
9095
9096 [BZ #15327]
9097 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9098 arguments using __kernel_casinh.
9099 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9100 arguments using __kernel_casinhf.
9101 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9102 arguments using __kernel_casinhl.
9103 * math/libm-test.inc (cacosh_test): Add more tests.
9104 * sysdeps/i386/fpu/libm-test-ulps: Update.
9105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9106
81f311c2
SP
91072013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9108
e7906a47
SP
9109 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9110 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9111
92e3664b
SP
9112 * bench/Makefile (bench): Add sin and slowsin.
9113 * benchtests/sin-inputs: New file.
9114 * benchtests/slowsin-inputs: New file.
9115 * benchtests/slowsin.c: New file.
9116
81f311c2
SP
9117 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9118 (bench): Add slowexp and slowpow.
9119 (exp-ITER): Increase iterations.
9120 (pow-ITER): Likewise.
9121 * benchtests/exp-inputs: Change input.
9122 * benchtests/pow-inputs: Likewise.
9123 * benchtests/slowexp-inputs: New file.
9124 * benchtests/slowexp.c: New file.
9125 * benchtests/slowpow-inputs: New file.
9126 * benchtests/slowpow.c: New file.
9127
ab0f1aa9
AZ
91282013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9129
9130 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9131 instructions.
9132 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9133 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9134 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9135 * benchtests/Makefile: Add rint benchtest.
9136 * benchtests/rint-inputs: Input for rint benchtest.
9137
57267616
TS
91382013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9139
9140 * Versions.def (libm): Add GLIBC_2.18.
9141 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9142 hidden libm prototypes.
9143 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9144 * math/Makefile (libm-calls): Add s_issignaling.
9145 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9146 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9147 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9148 declaration.
9149 * math/math.h [__USE_GNU] (issignaling): New macro.
9150 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9151 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9152 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9153 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9154 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9155 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9156 * manual/arith.texi (issignaling): New section.
9157 * manual/libm-err-tab.pl (@all_functions): Update comment.
9158 * math/gen-libm-test.pl (parse_args): Apply special handling for
9159 issignaling.
9160 * math/libm-test.inc (print_float, issignaling_test): New
9161 functions.
9162 (check_float_internal): Add issignaling checks.
9163 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9164 default definition.
9165 * sysdeps/powerpc/math-tests.h: New file.
9166 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9167 tests.
9168 * math/test-snan.c (TEST_FUNC): Likewise.
9169
6142896d
DM
91702013-03-30 David S. Miller <davem@davemloft.net>
9171
9172 * po/de.po: Update from translation team.
9173
ccc8cadf
JM
91742013-03-30 Joseph Myers <joseph@codesourcery.com>
9175
9176 [BZ #10357]
9177 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9178 imaginary part less than 1.0 and real part less than 0.5
9179 specially.
9180 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9181 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9182 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9183 (cacos_test): Add more tests.
9184 (casin_test): Likewise.
9185 (casinh_test): Likewise.
9186 * sysdeps/i386/fpu/libm-test-ulps: Update.
9187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9188
0f6a8d4b
SP
91892013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9190
0d1029de
SP
9191 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9192 ONE with its value.
9193
c2d94018
SP
9194 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9195 (__pow_mp): Replace ONE and MONE with their values.
9196 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9197 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9198 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9199 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9200 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9201 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9202
27ec37f1
SP
9203 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9204
a64d7e0e
SP
9205 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9206 (__pow_mp): Replace ZERO and MZERO with their values.
9207 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9208 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9209 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9210 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9211 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9212 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9213 (__sqr): Likewise.
9214
d26dd3eb
SP
9215 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9216
0f6a8d4b
SP
9217 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9218
e57b0c61
RM
92192013-03-28 Roland McGrath <roland@hack.frob.com>
9220
9221 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9222 Declare with __attribute__ ((weak)).
9223 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9224 Call __call_tls_dtors only if it's not NULL.
9225
356b3480
RM
92262013-03-28 Roland McGrath <roland@hack.frob.com>
9227
288f7d79
RM
9228 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9229 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9230 magic __ehdr_start linker symbol if it's defined.
9231 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9232 them up here if it was already done.
9233
dc0a0263
RM
9234 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9235 (_dl_aux_init): Use const in cast when setting it.
9236 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9237 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9238 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9239
3d3436ae
RM
9240 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9241 Declare them here.
9242 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9243 * csu/libc-tls.c: Nor here.
9244 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9245
356b3480
RM
9246 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9247 (__libc_message): Never call vsyslog.
9248
b0f1246a
AM
92492013-03-28 Alan Modra <amodra@gmail.com>
9250
9251 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9252 Define as empty.
9253 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9254 Likewise.
9255
fbbe2b9a
AZ
92562013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9257
9258 [BZ #15214]
9259 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9260 underflow.
9261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9262
1728ab37
SP
92632013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9264
7a86be6e
SP
9265 [BZ #15304]
9266 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9267 Don't add gid passed as argument.
9268
1728ab37
SP
9269 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9270
3a7182a1
JM
92712013-03-27 Joseph Myers <joseph@codesourcery.com>
9272
9273 [BZ #15307]
9274 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9275 imaginary part between 1.0 and 1.5 and real part less than 0.5
9276 specially.
9277 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9278 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9279 * math/libm-test.inc (cacos_test): Add more tests.
9280 (casin_test): Likewise.
9281 (casinh_test): Likewise.
9282 * sysdeps/i386/fpu/libm-test-ulps: Update.
9283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9284
6f2e90e7
SP
92852013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9286
5739f705
SP
9287 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9288 constants.
9289 (norm): Likewise.
9290 (denorm): Likewise.
9291 (__dbl_mp): Likewise.
9292 (add_magnitudes): Likewise.
9293 (sub_magnitudes): Likewise.
9294 (__add): Likewise.
9295 (__sub): Likewise.
9296 (__mul): Likewise.
9297 (__sqr): Likewise.
9298 (__inv): Likewise.
9299 (__dvd): Likewise.
9300
e375e83d
SP
9301 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9302 commented code.
9303 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9304 (__dubcos): Likewise.
9305 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9306 (__ieee754_acos): Likewise.
9307 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9308 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9309 (__exp1): Likewise.
9310 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9311 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9312 (log1): Likewise.
9313 (my_log2): Likewise.
9314 (checkint): Likewise.
9315 * sysdeps/ieee754/dbl-64/e_remainder.c
9316 (__ieee754_remainder): Likewise.
9317 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9318 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9319 (bsloww): Likewise.
9320 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9321
6f2e90e7
SP
9322 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9323 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9324 MANTISSA_STORE_T to store computations on mantissa. Use
9325 macros for rounding and division.
9326 (denorm): Likewise.
9327 (__dbl_mp): Likewise.
9328 (add_magnitudes): Likewise.
9329 (sub_magnitudes): Likewise.
9330 (__mul): Likewise.
9331 (__sqr): Likewise.
9332 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9333 powers of two in terms of TWOPOW macro.
9334 (mp_no): Make type of mantissa as MANTISSA_T.
9335 [!RADIXI]: Define RADIXI.
9336 [!TWO52]: Define TWO52.
9337 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9338
fce14d4e
AZ
93392013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9340
9341 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9342 llroundl symbol when building for PPC32.
9343
9ad027fb
MW
93442013-03-24 Mark H Weaver <mhw@netris.org>
9345
9346 * manual/arith.texi (Normalization Functions): Fix prototypes for
9347 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9348
e42a38dd
AZ
93492013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9350
9351 [BZ #13889]
9352 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9353 high value to check if expl overflow.
9354 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9355 to check for underflow and overflow.
9356 * math/libm-test.inc: Add exp test.
9357
2e0fb521
DL
93582013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9359
9360 [BZ #11120]
9361 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9362 with NOT_IN_libc.
9363
b5784d95
AZ
93642013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9365
9366 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9367 symbol.
9368
5aa4a1a1
TS
93692013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9370
bdef0be7
TS
9371 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9372 wrap blocks consisting of several statements.
9373
5aa4a1a1
TS
9374 * sysdeps/generic/math-tests.h: New file.
9375 * sysdeps/i386/fpu/math-tests.h: Likewise.
9376 * math/test-snan.c: Include it.
9377 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9378
98c48fe5
JM
93792013-03-21 Joseph Myers <joseph@codesourcery.com>
9380
9381 [BZ #15285]
9382 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9383 (__ieee754_j0l): Do not improve calculations using cos of twice
9384 input for inputs above LDBL_MAX / 2.0L.
9385 (__ieee754_y0l): Likewise.
9386 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9387 (__ieee754_j1l): Do not improve calculations using cos of twice
9388 input for inputs above LDBL_MAX / 2.0L.
9389 (__ieee754_y1l): Likewise.
9390 * math/libm-test.inc (j0_test): Add another test.
9391 (j1_test): Likewise.
9392 (y0_test): Likewise.
9393 (y1_test): Likewise.
9394 * sysdeps/i386/fpu/libm-test-ulps: Update.
9395
3775a8bc
SP
93962013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9397
9398 * Rules ($(objpfx)bench-%.c): Include code from a C source
9399 file.
9400
0a1b2ae6
JM
94012013-03-21 Joseph Myers <joseph@codesourcery.com>
9402
9403 [BZ #15287]
9404 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9405 imaginary part 1.0 and real part less than 0.5 specially.
9406 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9407 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9408 * math/libm-test.inc (cacos_test): Add more tests.
9409 (casin_test): Likewise.
9410 (casinh_test): Likewise.
9411 * sysdeps/i386/fpu/libm-test-ulps: Update.
9412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9413
b33d4ce4
SP
94142013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9415
9416 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9417 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9418
bef0b507
JM
94192013-03-20 Joseph Myers <joseph@codesourcery.com>
9420
9421 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9422 * config.make.in (config-cflags-sse4): Remove variable.
9423 (config-cflags-avx): Likewise.
9424 (config-cflags-sse2avx): Likewise.
9425 (config-cflags-novzeroupper): Likewise.
9426 (config-asflags-i686): Likewise.
9427 (have-mfma4): Likewise.
9428 (have-as-vis3): Likewise.
9429 (MIG): Likewise.
9430 * configure.in (MIG): Do not AC_SUBST.
9431 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9432 (libc_cv_cc_sse4): Do not AC_SUBST.
9433 (libc_cv_cc_avx): Likewise.
9434 (libc_cv_cc_sse2avx): Likewise.
9435 (libc_cv_cc_novzeroupper): Likewise.
9436 (libc_cv_cc_fma4): Likewise.
9437 (libc_cv_as_i686): Likewise.
9438 (libc_cv_sparc_as_vis3): Likewise.
9439 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9440 LIBC_CONFIG_VAR.
9441 (config-asflags-i686): Likewise.
9442 (config-cflags-avx): Likewise.
9443 (config-cflags-sse2avx): Likewise.
9444 (have-mfma4): Likewise.
9445 (config-cflags-novzeroupper): Likewise.
9446 * sysdeps/mach/configure.in (MIG): Likewise.
9447 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9448 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9449 LIBC_CONFIG_VAR.
9450 (config-cflags-avx): Likewise.
9451 (config-cflags-sse2avx): Likewise.
9452 (have-mfma4): Likewise.
9453 (config-cflags-novzeroupper): Likewise.
9454 * configure: Regenerated.
9455 * sysdeps/i386/configure: Likewise.
9456 * sysdeps/mach/configure: Likewise.
9457 * sysdeps/sparc/configure: Likewise.
9458 * sysdeps/x86_64/configure: Likewise.
9459
912cc4b3
RM
94602013-03-20 Roland McGrath <roland@hack.frob.com>
9461
9462 [BZ #14812]
9463 * locale/programs/localedef.c (options): Put N_ translation marker
9464 on argument names, not just descriptions.
9465
04eed2b0
MS
94662013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9467
9468 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9469
a065ceff
OB
94702013-03-20 Ondřej Bílka <neleai@seznam.cz>
9471
9bb2a810 9472 [BZ #14176]
a065ceff
OB
9473 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9474
a600e5ce
RM
94752013-03-19 Roland McGrath <roland@hack.frob.com>
9476
9477 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9478 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9479 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9480 [!BEFORE_ABORT] (before_abort): New function.
9481 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9482 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9483 (writev_for_fatal): New function.
9484 (WRITEV_FOR_FATAL): New macro; call that.
9485 (backtrace_and_maps): New function.
9486 (BEFORE_ABORT): New macro; call that.
9487 (struct str_list): Type removed.
9488 (__libc_message, __libc_fatal): Functions removed.
9489 Include <sysdeps/posix/libc_fatal.c> instead.
9490
6b18bea6
JM
94912013-03-19 Joseph Myers <joseph@codesourcery.com>
9492
9493 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9494 constants.
9495 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9496 double constants.
9497
aaa8cb4b
AS
94982013-03-19 Andreas Schwab <schwab@suse.de>
9499
44673770
AS
9500 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9501 * sysdeps/gnu/configure: Regenerate.
9502
aaa8cb4b
AS
9503 * configure.in: Substitute libc_cv_rtlddir.
9504 * configure: Regenerate.
9505 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9506 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9507 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9508 * elf/Makefile (install-others, CFLAGS-interp.c)
9509 (ldso_install, common-ldd-rewrite): Likewise.
9510 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9511 $(inst_slibdir)/$(rtld-installed-name).
9512 * scripts/rellns-sh: Add -p option.
9513 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9514 for source.
9515
d3cfc668
SP
95162013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9517
9518 * manual/nptl.texi: Renamed to ...
9519 * manual/threads.texi: ... this.
9520 * manual/Makefile (chapters): Update.
9521
0e2b9cdd
RM
95222013-03-18 Roland McGrath <roland@hack.frob.com>
9523
9524 [BZ #14812]
9525 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9526 on argument names, not just descriptions.
0e2b9cdd
RM
9527 * malloc/memusagestat.c (options): Likewise.
9528 * nss/getent.c (options): Likewise.
63270c24
RM
9529
95302013-03-18 Benno Schulenberg <bensberg@justemail.net>
9531
9532 [BZ #14812]
9533 * iconv/iconv_prog.c (options): Put N_ translation marker
9534 on argument names, not just descriptions.
9535 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 9536
b2e1393c
OB
95372013-03-18 Ondrej Bilka <neleai@seznam.cz>
9538
9539 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9540 implementation which is faster on all x86_64 architectures.
9541 Tested on AMD, Intel Nehalem, SNB, IVB.
9542 * sysdeps/x86_64/strnlen.S: Likewise.
9543
9544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9545 Remove all multiarch strlen and strnlen versions.
9546 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9547 Remove strlen and strnlen related parts.
9548
9549 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9550 Inline strlen part.
9551 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9552
9553 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9554 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9555 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9556 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9557 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9558 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9559
ec4ff04d
CD
95602013-03-17 Carlos O'Donell <carlos@redhat.com>
9561
9562 * manual/memory.texi (Malloc Tunable Parameters):
9563 Sort parameters alphabetically. Add comments for missing entries.
9564
cd18e90a
DM
95652013-03-17 David S. Miller <davem@davemloft.net>
9566
9567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9568
2a185d32
JM
95692013-03-16 Joseph Myers <joseph@codesourcery.com>
9570
d2f9799e
JM
9571 [BZ #15283]
9572 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9573 for arguments at most half maximum finite value.
9574 * math/libm-test.inc (j0_test): Add more tests.
9575 (j1_test): Likewise.
9576 (y0_test): Likewise.
9577 (y1_test): Likewise.
9578 * sysdeps/i386/fpu/libm-test-ulps: Update.
9579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9580
2a185d32
JM
9581 [BZ #14155]
9582 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9583 1 / x and functions P and Q for arguments above 0x1p256L.
9584 (__ieee754_y0l): Likewise.
9585 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9586 (__ieee754_y1l): Likewise.
9587 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9588 (j1_test): Likewise.
9589 (y0_test): Likewise.
9590 (y1_test): Likewise.
9591
6cbec759
TS
95922013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9593
9594 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9595 variable.
9596
bc16e260
RM
95972013-03-15 Roland McGrath <roland@hack.frob.com>
9598
aefc9b8c
RM
9599 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9600 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9601 zero since it's initialized to EXEC_PAGESIZE.
9602
bc16e260
RM
9603 * sysdeps/unix/sysv/linux/ldsodefs.h
9604 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9605 * sysdeps/generic/ldsodefs.h: ... here.
9606
a57da955
TS
96072013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9608
af00a34d
TS
9609 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9610
495ded2c
TS
9611 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9612 math/test-snan.c.
9613 * math/test-snan.c: Renamed from
9614 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9615 * math/Makefile (tests): Add test-snan.
9616 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9617 test-powerpc-snan.
9618
777b0332
TS
9619 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9620 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9621 functions.
9622 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9623 __builtin_nan family of functions.
9624 * math/libm-test.inc (initialize): Initialize qnan_value with
9625 __builtin_nan family of functions.
9626 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9627 Remove variables.
9628 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9629 Remove functions.
9630 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9631 storage class. Initialize qNaN_var and sNaN_var with
9632 __builtin_nan and __builtin_nans families of functions,
9633 respectively.
9634
64d063b8
TS
9635 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9636 (sqrt_test): Remove duplicate test with qNaN input.
9637 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9638 (round_test, signbit_test, significand_test): Note missing +/-Inf
9639 as well as qNaN tests.
9640
67e971f1
TS
9641 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9642 qNaN_var. Fix a few strings, too.
9643 * math/libm-test.inc (nan_value): Rename to qnan_value.
9644 * math/gen-libm-test.pl (%beautify): Adjust to that.
9645 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9646 * math/test-misc.c (main): Likewise.
9647 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9648 to __qnan_bytes, and __qnan_union, respectively.
9649 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9650 Likewise.
9651 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9652 and lqnanval, respectively.
9653 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9654 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9655 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9656 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9657
64487e12
TS
9658 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9659 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9660 doubles.
9661
e015e27b
TS
9662 * math/test-misc.c (main): Fix copy'n'pastos.
9663 * misc/tst-efgcvt.c (special): Likewise.
9664
a57da955
TS
9665 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9666 Remove declarations.
9667
1e380345
SP
96682013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9669
9670 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9671 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9672 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9673 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9674
ef26eece
AZ
96752013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9676
9677 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9678 macro to return vdso values correctly in IFUNC implementations.
9679 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9680 Optimization by using IFUNC.
9681
8cfdb7e0
SP
96822013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9683 Richard Henderson <rth@redhat.com>
9684 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9685
9686 * Makefile.in (bench): New target.
9687 * NEWS: Mention the benchmark framework.
9688 * Rules (bench): Likewise.
9689 (binaries-bench): Generate binaries for functions to
9690 benchmark.
9691 * benchtests/Makefile: New makefile for benchmark tests.
9692 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9693 programs.
9694 * benchtests/exp-inputs: New input file for EXP function.
9695 * benchtests/pow-inputs: New input file for POW function.
9696 * scripts/bench.pl: New script to generate source files for
9697 benchmark programs.
9698
bcda9880
SP
96992013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9700
d22ca8cd
SP
9701 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9702 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9703 computations on mantissa. Use macros for rounding and
9704 division.
9705 (denorm): Likewise.
9706 (__dbl_mp): Likewise.
9707 (add_magnitudes): Likewise.
9708 (sub_magnitudes): Likewise.
9709 (__mul): Likewise.
9710 (__sqr): Likewise.
9711 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9712 powers of two in terms of TWOPOW macro.
9713 (mp_no): Make type of mantissa as MANTISSA_T.
9714 [!RADIXI]: Define RADIXI.
9715 [!TWO52]: Define TWO52.
9716 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9717
bcda9880
SP
9718 * manual/nptl.texi (cindex): Modify threads to pthreads.
9719
06d5adfb
JM
97202013-03-15 Joseph Myers <joseph@codesourcery.com>
9721
9722 * sysdeps/x86_64/preconfigure: Regenerated.
9723
41c7328e
JM
97242013-03-14 Joseph Myers <joseph@codesourcery.com>
9725
9726 [BZ #14155]
9727 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9728 0x1p28 and above.
9729 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9730 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9731 0x1p28 and above.
9732 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9733 * math/libm-test.inc (j0_test): Do not allow one spurious
9734 underflow exception.
9735 (y1_test): Likewise.
9736
e25cfa60
SP
97372013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9738
0409959c
SP
9739 * manual/Makefile (chapters): Add nptl.
9740 * manual/debug.texi (Debugging Support): Add link to Threads
9741 chapter.
9742 * manual/nptl.texi: New file.
9743
e25cfa60
SP
9744 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9745
58a1335e
PB
97462013-03-14 Petr Baudis <pasky@ucw.cz>
9747
9748 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9749 for non-NULL pointer before the memory validity test. Pointed
9750 out by Holger Brunck <holger.brunck@keymile.com>.
9751
9dc7c64f
AS
97522013-03-13 Andreas Schwab <schwab@suse.de>
9753
9754 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9755 instead of .os.
9756
54206aa6
JM
97572013-03-13 Joseph Myers <joseph@codesourcery.com>
9758
9759 * timezone/zic.c: Update from tzcode 2013b.
9760
e98cdb38
CD
97612013-03-12 Carlos O'Donell <carlos@redhat.com>
9762
9763 * manual/install.texi (Configuring and compiling):
9764 Mention i686 and i586.
9765 * INSTALL: Regenerate.
9766
9967e003
RM
97672013-03-12 Roland McGrath <roland@hack.frob.com>
9768
9769 * sysdeps/init_array/elf-init.c: New file.
9770 * csu/elf-init.c
9771 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9772 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9773
9774 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9775 __gmon_start__ as global, but as static with a .preinit_array pointer.
9776 * sysdeps/init_array/gmon-start.c: New file. Use that.
9777 * sysdeps/init_array/crti.S: New file, empty except for comments.
9778 * sysdeps/init_array/crtn.S: Likewise.
9779
e6b5a293 97802013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
9781
9782 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9783 definining bcopy.
80f844c9
OB
9784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9785 Remove Prefer_SSE_for_memop.
9786 * sysdeps/x86_64/multiarch/init-arch.h: Remove
9787 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9788 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
9789 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9790 memset-x86-64.
80f844c9 9791 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 9792 Remove bzero, memset ifunc support.
80f844c9
OB
9793 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9794 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9795 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9796 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9797
fb6b0fcb
AS
97982013-03-11 Andreas Schwab <schwab@suse.de>
9799
9800 [BZ #15234]
9801 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9802 by SHLIB_COMPAT.
9803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9804 (GLIBC_2.16): Remove pthread_atfork.
9805
3e6bd4b1
PP
98062013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9807
9808 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9809 (ptestcases.h): Likewise.
9810
222d7f00
RM
98112013-03-08 Roland McGrath <roland@hack.frob.com>
9812
9813 * Makeconfig ($(common-objpfx)config.status): Depend on
9814 sysdeps/*/preconfigure{,.in} too.
9815
1ba4f030
JM
98162013-03-08 Joseph Myers <joseph@codesourcery.com>
9817
a222d91a
JM
9818 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9819 (__free_hook): Use void * instead of __malloc_ptr_t.
9820 (__malloc_hook): Likewise.
9821 (__realloc_hook): Likewise.
9822 (__memalign_hook): Likewise.
9823 (__after_morecore_hook): Likewise.
9824 * malloc/arena.c (save_malloc_hook): Likewise.
9825 (save_free_hook): Likewise.
9826 * malloc/hooks.c (malloc_hook_ini): Likewise.
9827 (realloc_hook_ini): Likewise.
9828 (memalign_hook_ini): Likewise.
9829 * malloc/malloc.c (malloc_hook_ini): Likewise.
9830 (realloc_hook_ini): Likewise.
9831 (memalign_hook_ini): Likewise.
9832 (__free_hook): Likewise.
9833 (__malloc_hook): Likewise.
9834 (__realloc_hook): Likewise.
9835 (__memalign_hook): Likewise.
9836 (__libc_malloc): Likewise.
9837 (__libc_free): Likewise.
9838 (__libc_realloc): Likewise.
9839 (__libc_memalign): Likewise.
9840 (__libc_valloc): Likewise.
9841 (__libc_pvalloc): Likewise.
9842 (__libc_calloc): Likewise.
9843 (__posix_memalign): Likewise.
9844 * malloc/morecore.c (__sbrk): Likewise.
9845 (__default_morecore): Likewise.
9846
5cc45e10
JM
9847 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9848
dd54b864
JM
9849 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9850 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9851 __malloc_ptrdiff_t.
9852
1ba4f030
JM
9853 * malloc/malloc.h (__malloc_size_t): Remove macro.
9854 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9855 __malloc_size_t.
9856 (old_memalign_hook): Likewise.
9857 (old_realloc_hook): Likewise.
9858 (struct hdr): Likewise.
9859 (flood): Likewise.
9860 (mallochook): Likewise.
9861 (memalignhook): Likewise.
9862 (reallochook): Likewise.
9863 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9864 (tr_old_realloc_hook): Likewise.
9865 (tr_old_memalign_hook): Likewise.
9866 (tr_mallochook): Likewise.
9867 (tr_reallochook): Likewise.
9868 (tr_memalignhook): Likewise.
9869
edf66e57
AZ
98702013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9871
9872 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9873 default_ldbl_pack and using as default implementation.
9874 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9875 implementation.
9876 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9877 redundant definition.
9878 (ldbl_insert_mantissa): Likewise.
9879 (ldbl_canonicalize): Likewise.
9880 (ldbl_nearbyint): Likewise.
9881 (ldbl_pack): Rename to ldbl_pack_ppc.
9882 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9883 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9884 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9885
6d9145d8
SP
98862013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9887
9888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9889 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9890 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9891 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9893 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9894 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9895 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9896
4dd4e157
AJ
98972013-03-07 Andreas Jaeger <aj@suse.de>
9898
9899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9900 bits/mman-linux.h.
9901
adbb8027
SP
99022013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9903
ce544b5b
SP
9904 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9905 Include mpa.h and declare __MPEXP.
9906 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9907 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9908 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9909 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9910 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9911 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9912 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9913
4cc149fd
SP
9914 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9915 (__slowpow): Use long double EXPL and LOGL functions to
9916 compute POW.
9917 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9918 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9919 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9920 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9921 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9922 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9923
e6ebd4a7
SP
9924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9925 intermediate variable to calculate exponent.
9926 (__sqr): Likewise.
9927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9928 Likewise.
9929 (__sqr): Likewise.
9930
82a9811d
SP
9931 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9932 [!NO__SQR]: Define __sqr.
9933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9934 and NO__SQR. Remove all code except __mul and __sqr. Include
9935 sysdeps/ieee754/dbl-64/mpa.c.
9936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9937
adbb8027
SP
9938 [BZ #12723]
9939 * posix/Makefile (tests): Add tst-pathconf.
9940 * posix/tst-pathconf.c: New test case.
9941 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9942 _PC_PIPE_BUF.
9943 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9944
39120df9
PF
99452013-03-06 Patsy Franklin <pfrankli@redhat.com>
9946
9947 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9948
67525cb8
AJ
99492013-03-06 Andreas Jaeger <aj@suse.de>
9950
664a9ce4
AJ
9951 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9952 definition via __MAP_ANONYMOUS.
9953
8e39047d
AJ
9954 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9955 it's not part of Linux headers.
9956
67525cb8
AJ
9957 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9958 (MAP_HUGE_MASK): Define.
9959
9960 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9961 Define.
9962 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9963 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9964 Define.
9965 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9966 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9967 Define.
9968 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9969 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9970 Define.
9971 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9972
9973 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9974 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9975 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9976 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9977 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9978 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9979
9980 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9981 Handle f2fs.
9982
9983 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9984 Handle f2fs and efivarfs.
9985
9986 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9987 f2fs.
9988
9989 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9990 (EFIVARFS_MAGIC): Add.
9991 (F2FS_LINK_MAX): Add.
9992
e1b42695
PP
99932013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9994
9995 * stdio-common/vfprintf.c: Replace __builtin_expect with
9996 __glibc_unlikely.
9997
2d67d91a
JM
99982013-03-06 Joseph Myers <joseph@codesourcery.com>
9999
10000 [BZ #13550]
10001 * sysdeps/generic/bp-sym.h: Remove file.
10002 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10003 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10004 <bp-sym.h> and <bp-asm.h>.
10005 (__longjmp): Don't use BP_SYM.
10006 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10007 and <bp-asm.h>.
10008 (memcpy): Don't use BP_SYM.
10009 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10010 <bp-sym.h> and <bp-asm.h>.
10011 (memcpy): Don't use BP_SYM.
10012 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10013 <bp-asm.h>.
10014 (memcpy): Don't use BP_SYM.
10015 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10016 <bp-asm.h>.
10017 (memset): Don't use BP_SYM.
10018 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10019 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10020 (__bzero): Don't use BP_SYM.
10021 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10022 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10023 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10024 <bp-sym.h> and <bp-asm.h>.
10025 (memcmp): Don't use BP_SYM. Remove comment about bounded
10026 pointers.
10027 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10028 <bp-sym.h> and <bp-asm.h>.
10029 (memcpy): Don't use BP_SYM.
10030 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10031 <bp-sym.h> and <bp-asm.h>.
10032 (memset): Don't use BP_SYM.
10033 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10034 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10035 (__bzero): Don't use BP_SYM.
10036 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10037 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10038 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10039 <bp-sym.h> and <bp-asm.h>.
10040 (strncmp): Don't use BP_SYM. Remove comment about bounded
10041 pointers.
10042 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10043 <bp-sym.h> and <bp-asm.h>.
10044 (memcpy): Don't use BP_SYM.
10045 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10046 <bp-sym.h> and <bp-asm.h>.
10047 (memset): Don't use BP_SYM.
10048 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10049 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10050 (__bzero): Don't use BP_SYM.
10051 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10052 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10053 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10054 <bp-sym.h> and <bp-asm.h>.
10055 (__memchr): Don't use BP_SYM.
10056 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10057 <bp-sym.h> and <bp-asm.h>.
10058 (memcmp): Don't use BP_SYM. Remove comment about bounded
10059 pointers.
10060 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10061 <bp-sym.h> and <bp-asm.h>.
10062 (memcpy): Don't use BP_SYM.
10063 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10064 <bp-sym.h> and <bp-asm.h>.
10065 (__mempcpy): Don't use BP_SYM.
10066 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10067 <bp-sym.h> and <bp-asm.h>.
10068 (__memrchr): Don't use BP_SYM.
10069 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10070 <bp-sym.h> and <bp-asm.h>.
10071 (memset): Don't use BP_SYM.
10072 (__bzero): Likewise.
10073 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10074 <bp-sym.h> and <bp-asm.h>.
10075 (__rawmemchr): Don't use BP_SYM.
10076 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10077 <bp-sym.h> and <bp-asm.h>.
10078 (__STRCMP): Don't use BP_SYM.
10079 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10080 <bp-sym.h> and <bp-asm.h>.
10081 (strchr): Don't use BP_SYM.
10082 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10083 <bp-sym.h> and <bp-asm.h>.
10084 (__strchrnul): Don't use BP_SYM.
10085 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10086 <bp-sym.h> and <bp-asm.h>.
10087 (strlen): Don't use BP_SYM.
10088 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10089 <bp-sym.h> and <bp-asm.h>.
10090 (strncmp): Don't use BP_SYM. Remove comment about bounded
10091 pointers.
10092 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10093 <bp-sym.h> and <bp-asm.h>.
10094 (__strnlen): Don't use BP_SYM.
10095 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10096 <bp-sym.h> and <bp-asm.h>.
10097 (__GI__setjmp): Don't use BP_SYM.
10098 (_setjmp): Likewise.
10099 (__sigsetjmp): Likewise.
10100 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10101 (L(start_addresses)): Don't use BP_SYM.
10102 (_start): Likewise.
10103 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10104 <bp-asm.h>.
10105 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10106 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10107 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10108 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10109 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10110 <bp-asm.h>.
10111 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10112 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10113 about bounded pointers.
10114 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10115 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10116 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10117 <bp-asm.h>.
10118 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10119 about bounded pointers. Remove GKM FIXME comments.
10120 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10121 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10122 <bp-asm.h>.
10123 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10124 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10125 Remove GKM FIXME comments.
10126 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10127 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10128 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10129 <bp-asm.h>.
10130 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10131 about bounded pointers. Remove GKM FIXME comment.
10132 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10133 and <bp-asm.h>.
10134 (strncmp): Don't use BP_SYM. Remove comment about bounded
10135 pointers.
10136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10137 <bp-sym.h> and <bp-asm.h>.
10138 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10140 <bp-sym.h> and <bp-asm.h>.
10141 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10142 comment.
10143
cdcf361f
PP
101442013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10145
10146 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10147 call free(NULL).
10148
3c4a2b15
DM
101492013-03-05 David S. Miller <davem@davemloft.net>
10150
10151 * po/es.po: Update from translation team.
10152
cdcf361f 101532013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
10154
10155 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10156 <bits/mman-linux.h>.
10157 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10158 is fine.
10159 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10160 <bits/mman-linux.h> to end of file.
10161 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10162 is fine.
10163 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10164 <bits/mman-linux.h> to end of file.
10165 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10166 is fine.
10167 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10168 <bits/mman-linux.h> to end of file.
10169
10170 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10171 (MCL_CURRENT, MCL_FUTURE): Define here.
10172
5f67c04f
AK
101732013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10174
8a4473cc 10175 [BZ #15232]
5f67c04f
AK
10176 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10177 attribute_hidden.
10178 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10179
c3e94a95
AK
101802013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10181
10182 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10183 fourth parameter needed for rt_sigprocmask syscall.
10184 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10185 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10186 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10187 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10188 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10189 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10190
cfb6382a
JM
101912013-03-04 Joseph Myers <joseph@codesourcery.com>
10192
10193 [BZ #13550]
10194 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10195 comment about bounded pointers.
10196 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10197 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10198
539d8e01
AJ
101992013-03-04 Andreas Jaeger <aj@suse.de>
10200
10201 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10202 common definitions.
10203
10204 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10205 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10206 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10207 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10208 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
10209 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10210
2e167a70 102112013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
10212
10213 [BZ #15055]
10214 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10215 __ieee754_sqrl instead of __sqrl.
10216
68508633
JM
102172013-03-01 Joseph Myers <joseph@codesourcery.com>
10218
10219 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10220 * sysdeps/powerpc/fpu_control.h: ... here.
10221 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10222 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10223 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10224 * sysdeps/powerpc/bits/mathinline.h: ... here.
10225
7775448e
RM
102262013-03-01 Roland McGrath <roland@hack.frob.com>
10227
10228 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10229 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10230 to just [NEED_DL_SYSINFO_DSO].
10231 * elf/dl-support.c: Likewise.
10232 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10233 * elf/rtld.c (dl_main): Likewise.
10234 * elf/setup-vdso.h (setup_vdso): Likewise.
10235 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10236 * sysdeps/unix/sysv/linux/dl-sysdep.c
10237 (_dl_discover_osversion): Likewise.
10238
4e9b5995
CD
102392013-03-01 Carlos O'Donell <carlos@redhat.com>
10240
10241 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10242 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10243
e23872c8
SP
102442013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10245
e5c74c63
SP
10246 * NEWS: Mention libm performance improvements and non-x86 PI
10247 futex support.
10248
e23872c8
SP
10249 * csu/libc-start.c (__pthread_initialize_minimal): Change
10250 function arguments.
10251 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10252
b5510883
JM
102532013-02-28 Joseph Myers <joseph@codesourcery.com>
10254
10255 [BZ #13550]
10256 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10257 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10258 <bp-sym.h> and <bp-asm.h>.
10259 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10260 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10261 and <bp-asm.h>.
10262 (memcpy): Don't use BP_SYM.
10263 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10264 <bp-asm.h>.
10265 (__mpn_add_n): Don't use BP_SYM.
10266 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10267 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10268 and <bp-asm.h>.
10269 (__mpn_addmul_1): Don't use BP_SYM.
10270 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10271 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10272 <bp-sym.h>.
10273 (_setjmp): Don't use BP_SYM.
10274 (__novmx_setjmp): Likewise.
10275 (__GI__setjmp): Likewise.
10276 (__vmx_setjmp): Likewise.
10277 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10278 <bp-sym.h>.
10279 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10280 (__bzero): Don't use BP_SYM.
10281 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10282 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10283 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10284 <bp-sym.h> and <bp-asm.h>.
10285 (memcpy): Don't use BP_SYM.
10286 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10287 <bp-sym.h> and <bp-asm.h>.
10288 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10289 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10290 <bp-sym.h> and <bp-asm.h>.
10291 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10292 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10293 <bp-asm.h>.
10294 (__mpn_lshift): Don't use BP_SYM.
10295 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10296 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10297 <bp-asm.h>.
10298 (memset): Don't use BP_SYM.
10299 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10300 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10301 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10302 <bp-asm.h>.
10303 (__mpn_mul_1): Don't use BP_SYM.
10304 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10305 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10306 <bp-sym.h> and <bp-asm.h>.
10307 (memcmp): Don't use BP_SYM.
10308 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10309 <bp-sym.h> and <bp-asm.h>.
10310 (memcpy): Don't use BP_SYM.
10311 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10312 <bp-sym.h> and <bp-asm.h>.
10313 (memset): Don't use BP_SYM.
10314 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10315 <bp-sym.h> and <bp-asm.h>.
10316 (strncmp): Don't use BP_SYM.
10317 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10318 <bp-sym.h> and <bp-asm.h>.
10319 (memcpy): Don't use BP_SYM.
10320 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10321 <bp-sym.h> and <bp-asm.h>.
10322 (memset): Don't use BP_SYM.
10323 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10324 <bp-sym.h> and <bp-asm.h>.
10325 (__memchr): Don't use BP_SYM.
10326 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10327 <bp-sym.h> and <bp-asm.h>.
10328 (memcmp): Don't use BP_SYM.
10329 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10330 <bp-sym.h> and <bp-asm.h>.
10331 (memcpy): Don't use BP_SYM.
10332 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10333 <bp-sym.h> and <bp-asm.h>.
10334 (__mempcpy): Don't use BP_SYM.
10335 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10336 <bp-sym.h> and <bp-asm.h>.
10337 (__memrchr): Don't use BP_SYM.
10338 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10339 <bp-sym.h> and <bp-asm.h>.
10340 (memset): Don't use BP_SYM.
10341 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10342 <bp-sym.h> and <bp-asm.h>.
10343 (__rawmemchr): Don't use BP_SYM.
10344 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10345 <bp-sym.h> and <bp-asm.h>.
10346 (__STRCMP): Don't use BP_SYM.
10347 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10348 <bp-sym.h> and <bp-asm.h>.
10349 (strchr): Don't use BP_SYM.
10350 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10351 <bp-sym.h> and <bp-asm.h>.
10352 (__strchrnul): Don't use BP_SYM.
10353 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10354 <bp-sym.h> and <bp-asm.h>.
10355 (strlen): Don't use BP_SYM.
10356 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10357 <bp-sym.h> and <bp-asm.h>.
10358 (strncmp): Don't use BP_SYM.
10359 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10360 <bp-sym.h> and <bp-asm.h>.
10361 (__strnlen): Don't use BP_SYM.
10362 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10363 <bp-asm.h>.
10364 (__mpn_rshift): Don't use BP_SYM.
10365 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10366 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10367 <bp-sym.h> and <bp-asm.h>.
10368 (__sigsetjmp): Don't use BP_SYM.
10369 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10370 (L(start_addresses)): Don't use BP_SYM.
10371 (_start): Likewise.
10372 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10373 <bp-asm.h>.
10374 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10375 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10376 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10377 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10378 <bp-asm.h>.
10379 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10380 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10381 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10382 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10383 <bp-asm.h>.
10384 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10385 comments.
10386 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10387 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10388 <bp-asm.h>.
10389 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
10390 FIXME comments.
10391 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10392 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10393 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10394 <bp-asm.h>.
10395 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10396 comment.
10397 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10398 and <bp-asm.h>.
10399 (strncmp): Don't use BP_SYM,
10400 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10401 <bp-asm.h>.
10402 (__mpn_sub_n): Don't use BP_SYM.
10403 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10404 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10405 and <bp-asm.h>.
10406 (__mpn_submul_1): Don't use BP_SYM.
10407 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10409 <bp-sym.h> and <bp-asm.h>.
10410 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10412 <bp-sym.h> and <bp-asm.h>.
10413 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10414 comment.
10415
8d19fe64
SP
104162013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10417
10418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10419 Use ZK to minimize writes to Z.
10420 (sub_magnitudes): Simplify code a bit.
10421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10422 Use ZK to minimize writes to Z.
10423 (sub_magnitudes): Simplify code a bit.
10424
85bd816a
RM
104252013-02-27 Roland McGrath <roland@hack.frob.com>
10426
10427 * csu/gmon-start.c: Add special exception to license text.
10428
b5977bf2
RH
104292013-02-27 Richard Henderson <rth@redhat.com>
10430
10431 * scripts/config.guess: Update from config.git.
10432 * scripts/config.sub: Likewise.
10433
11d6e2f2
SP
104342013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10435
09c14ed2
SP
10436 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10437
a688864e
SP
10438 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10439
6295157a
SP
10440 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10441
b8de2202
SP
10442 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10443
11d6e2f2
SP
10444 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10445
7e80ddb8
RM
104462013-02-26 Roland McGrath <roland@hack.frob.com>
10447
10448 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10449 [$(build-shared = yes].
7e80ddb8 10450
7da6d9ed
SP
104512013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10452
45f05884
SP
10453 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10454 (__mul): Reduce iterations for calculating mantissa.
10455
2236d359
SP
10456 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10457 MPTWO.
10458 (__mpranred): Likewise.
10459
7da6d9ed
SP
10460 [BZ #15160]
10461 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10462 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10463
b7688c42
PE
104642013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10465
10466 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10467 Define __attribute__.
10468
53a5c423
SP
104692013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10470
10471 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10472 unused.
10473 * posix/regex_internal.h (__attribute): Remove.
10474 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10475 (re_string_context_at): Likewise.
10476 (bitset_not): Use __attribute__ and mark function as possibly
10477 unused.
10478 (bitset_merge): Likewise.
10479 (bitset_mask): Likewise.
10480 (re_string_char_size_at): Likewise.
10481 (re_string_wchar_at): Likewise.
10482 (re_string_elem_size_at): Likewise.
10483
60f5a8b5
SP
104842013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10485
2a983a2e
SP
10486 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10487 code.
10488 (cc32): Likewise.
10489
e69804d1
SP
10490 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10491 (__acr): Likewise.
10492 (__cpy): Likewise.
10493 (norm): Likewise.
10494 (denorm): Likewise.
10495 (__dbl_mp): Likewise.
10496 (add_magnitudes): Likewise.
10497 (sub_magnitudes): Likewise.
10498 (__mul): Likewise.
10499 (__inv): Likewise.
10500
2f22a1e8
SP
10501 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10502 style.
10503
8930ddc7
SP
10504 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10505 style.
10506
dc60cb11
SP
10507 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10508 code.
10509
60f5a8b5
SP
10510 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10511 up changes with default code.
10512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10513 Likewise.
10514
b4d1fd33
AM
105152013-02-24 Allan McRae <allan@archlinux.org>
10516
faf6f8bc
AM
10517 * manual/socket.texi (The Internet Namespace): Order menu items
10518 to match that in the file.
10519
b4d1fd33
AM
10520 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10521 node listing of the info page menu.
10522
2366713d
JM
105232013-02-21 Joseph Myers <joseph@codesourcery.com>
10524
10525 [BZ #13550]
10526 * sysdeps/i386/bp-asm.h: Remove file.
10527 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10528 (PARMS): Do not use macros from bp-asm.h.
10529 (S1): Likewise.
10530 (S2): Likewise.
10531 (SIZE): Likewise.
10532 (__mpn_add_n): Do not use BP_SYM
10533 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10534 "bp-asm.h".
10535 (PARMS): Do not use macros from bp-asm.h.
10536 (S1): Likewise.
10537 (SIZE): Likewise.
10538 (__mpn_addmul_1): Do not use BP_SYM
10539 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10540 "bp-asm.h".
10541 (PARMS): Do not use macros from bp-asm.h.
10542 (SIGMSK): Likewise.
10543 (_setjmp): Likewise. Do not use BP_SYM.
10544 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10545 "bp-asm.h".
10546 (PARMS): Do not use macros from bp-asm.h.
10547 (SIGMSK): Likewise.
10548 (setjmp): Likewise. Do not use BP_SYM.
10549 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10550 "bp-asm.h".
10551 (PARMS): Do not use macros from bp-asm.h.
10552 (__frexp): Do not use BP_SYM.
10553 (frexp): Likewise.
10554 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10555 "bp-asm.h".
10556 (PARMS): Do not use macros from bp-asm.h.
10557 (__frexpf): Do not use BP_SYM.
10558 (frexpf): Likewise.
10559 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10560 "bp-asm.h".
10561 (PARMS): Do not use macros from bp-asm.h.
10562 (__frexpl): Do not use BP_SYM.
10563 (frexpl): Likewise.
10564 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10565 "bp-asm.h".
10566 (PARMS): Do not use macros from bp-asm.h.
10567 (__remquo): Do not use BP_SYM.
10568 (remquo): Likewise.
10569 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10570 "bp-asm.h".
10571 (PARMS): Do not use macros from bp-asm.h.
10572 (__remquof): Do not use BP_SYM.
10573 (remquof): Likewise.
10574 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10575 "bp-asm.h".
10576 (PARMS): Do not use macros from bp-asm.h.
10577 (__remquol): Do not use BP_SYM.
10578 (remquol): Likewise.
10579 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10580 "bp-asm.h".
10581 (PARMS): Do not use macros from bp-asm.h.
10582 (DEST): Likewise.
10583 (SRC): Likewise.
10584 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10585 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10586 "bp-asm.h".
10587 (PARMS): Do not use macros from bp-asm.h.
10588 (strlen): Do not use BP_SYM.
10589 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10590 "bp-asm.h".
10591 (PARMS): Do not use macros from bp-asm.h.
10592 (S1): Likewise.
10593 (S2): Likewise.
10594 (SIZE): Likewise.
10595 (__mpn_add_n): Do not use BP_SYM.
10596 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10597 "bp-asm.h".
10598 (PARMS): Do not use macros from bp-asm.h.
10599 (S1): Likewise.
10600 (SIZE): Likewise.
10601 (__mpn_addmul_1): Do not use BP_SYM.
10602 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10603 weak_alias.
10604 (bzero): Likewise.
10605 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10606 "bp-asm.h".
10607 (PARMS): Do not use macros from bp-asm.h.
10608 (S): Likewise.
10609 (SIZE): Likewise.
10610 (__mpn_lshift): Do not use BP_SYM.
10611 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10612 "bp-asm.h".
10613 (PARMS): Do not use macros from bp-asm.h.
10614 (DEST): Likewise.
10615 (SRC): Likewise.
10616 (LEN): Likewise.
10617 (memcpy): Likewise. Do not use BP_SYM.
10618 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10619 libc_hidden_def and weak_alias.
10620 (mempcpy): Do not use BP_SYM in weak_alias.
10621 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10622 "bp-asm.h".
10623 (PARMS): Do not use macros from bp-asm.h.
10624 (DEST): Likewise.
10625 (LEN): Likewise.
10626 [!BZERO_P] (CHR): Likewise.
10627 (memset): Likewise. Do not use BP_SYM.
10628 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10629 "bp-asm.h".
10630 (PARMS): Do not use macros from bp-asm.h.
10631 (S1): Likewise.
10632 (SIZE): Likewise.
10633 (__mpn_mul_1): Do not use BP_SYM.
10634 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10635 "bp-asm.h".
10636 (PARMS): Do not use macros from bp-asm.h.
10637 (S): Likewise.
10638 (SIZE): Likewise.
10639 (__mpn_rshift): Do not use BP_SYM.
10640 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10641 "bp-asm.h".
10642 (PARMS): Do not use macros from bp-asm.h.
10643 (STR): Likewise.
10644 (CHR): Likewise.
10645 (strchr): Likewise. Do not use BP_SYM.
10646 (index): Do not use BP_SYM in weak_alias.
10647 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10648 "bp-asm.h".
10649 (PARMS): Do not use macros from bp-asm.h.
10650 (DEST): Likewise.
10651 (SRC): Likewise.
10652 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10653 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10654 "bp-asm.h".
10655 (PARMS): Do not use macros from bp-asm.h.
10656 (strlen): Do not use BP_SYM.
10657 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10658 "bp-asm.h".
10659 (PARMS): Do not use macros from bp-asm.h.
10660 (S1): Likewise.
10661 (S2): Likewise.
10662 (SIZE): Likewise.
10663 (__mpn_sub_n): Do not use BP_SYM.
10664 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10665 "bp-asm.h".
10666 (PARMS): Do not use macros from bp-asm.h.
10667 (S1): Likewise.
10668 (SIZE): Likewise.
10669 (__mpn_submul_1): Do not use BP_SYM.
10670 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10671 "bp-asm.h".
10672 (PARMS): Do not use macros from bp-asm.h.
10673 (S1): Likewise.
10674 (S2): Likewise.
10675 (SIZE): Likewise.
10676 (__mpn_add_n): Do not use BP_SYM.
10677 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10678 weak_alias.
10679 (bzero): Likewise.
10680 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10681 "bp-asm.h".
10682 (PARMS): Do not use macros from bp-asm.h.
10683 (BLK2): Likewise.
10684 (LEN): Likewise.
10685 (memcmp): Do not use BP_SYM.
10686 (bcmp): Do not use BP_SYM in weak_alias.
10687 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10688 "bp-asm.h".
10689 (PARMS): Do not use macros from bp-asm.h.
10690 (DEST): Likewise.
10691 (SRC): Likewise.
10692 (LEN): Likewise.
10693 (memcpy): Likewise. Do not use BP_SYM.
10694 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10695 "bp-asm.h".
10696 (PARMS): Do not use macros from bp-asm.h.
10697 (DEST): Likewise.
10698 (SRC): Likewise.
10699 (LEN): Likewise.
10700 (memmove): Likewise. Do not use BP_SYM.
10701 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10702 "bp-asm.h".
10703 (PARMS): Do not use macros from bp-asm.h.
10704 (DEST): Likewise.
10705 (SRC): Likewise.
10706 (LEN): Likewise.
10707 (__mempcpy): Likewise. Do not use BP_SYM.
10708 (mempcpy): Do not use BP_SYM in weak_alias.
10709 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10710 "bp-asm.h".
10711 (PARMS): Do not use macros from bp-asm.h.
10712 (DEST): Likewise.
10713 (LEN): Likewise.
10714 [!BZERO_P] (CHR): Likewise.
10715 (memset): Likewise. Do not use BP_SYM.
10716 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10717 "bp-asm.h".
10718 (PARMS): Do not use macros from bp-asm.h.
10719 (STR2): Likewise.
10720 (strcmp): Do not use BP_SYM.
10721 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10722 "bp-asm.h".
10723 (PARMS): Do not use macros from bp-asm.h.
10724 (STR): Likewise.
10725 (DELIM): Likewise.
10726 [USE_AS_STRTOK_R] (SAVE): Likewise.
10727 (FUNCTION): Likewise. Do not use BP_SYM.
10728 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10729 aliases.
10730 (strtok_r): Likewise.
10731 (__GI___strtok_r): Likewise.
10732 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10733 (PARMS): Do not use macros from bp-asm.h.
10734 (S): Likewise.
10735 (SIZE): Likewise.
10736 (__mpn_lshift): Do not use BP_SYM.
10737 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10738 (PARMS): Do not use macros from bp-asm.h.
10739 (STR): Likewise.
10740 (CHR): Likewise.
10741 (__memchr): Do not use BP_SYM.
10742 (memchr): Do not use BP_SYM in weak_alias.
10743 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10744 (PARMS): Do not use macros from bp-asm.h.
10745 (BLK2): Likewise.
10746 (LEN): Likewise.
10747 (memcmp): Do not use BP_SYM.
10748 (bcmp): Do not use BP_SYM in weak_alias.
10749 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10750 (PARMS): Do not use macros from bp-asm.h.
10751 (S1): Likewise.
10752 (SIZE): Likewise.
10753 (__mpn_mul_1): Do not use BP_SYM.
10754 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10755 "bp-asm.h".
10756 (PARMS): Do not use macros from bp-asm.h.
10757 (STR): Likewise.
10758 (CHR): Likewise.
10759 (__rawmemchr): Do not use BP_SYM.
10760 (rawmemchr): Do not use BP_SYM in weak_alias.
10761 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10762 (PARMS): Do not use macros from bp-asm.h.
10763 (S): Likewise.
10764 (SIZE): Likewise.
10765 (__mpn_rshift): Do not use BP_SYM.
10766 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10767 (PARMS): Do not use macros from bp-asm.h.
10768 (SIGMSK): Likewise.
10769 (__sigsetjmp): Likewise. Do not use BP_SYM.
10770 * sysdeps/i386/start.S: Do not include "bp-sym.h".
10771 (_start): Do not use BP_SYM.
10772 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10773 (PARMS): Do not use macros from bp-asm.h.
10774 (DEST): Likewise.
10775 (SRC): Likewise.
10776 (__stpcpy): Likewise. Do not use BP_SYM.
10777 (stpcpy): Do not use BP_SYM in weak_alias.
10778 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10779 "bp-asm.h".
10780 (PARMS): Do not use macros from bp-asm.h.
10781 (DEST): Likewise.
10782 (SRC): Likewise.
10783 (LEN): Likewise.
10784 (__stpncpy): Likewise. Do not use BP_SYM.
10785 (stpncpy): Do not use BP_SYM in weak_alias.
10786 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10787 (PARMS): Do not use macros from bp-asm.h.
10788 (STR): Likewise.
10789 (CHR): Likewise.
10790 (strchr): Likewise. Do not use BP_SYM.
10791 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10792 "bp-asm.h".
10793 (PARMS): Do not use macros from bp-asm.h.
10794 (STR): Likewise.
10795 (CHR): Likewise.
10796 (__strchrnul): Likewise. Do not use BP_SYM.
10797 (strchrnul): Do not use BP_SYM in weak_alias.
10798 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10799 "bp-asm.h".
10800 (PARMS): Do not use macros from bp-asm.h.
10801 (STOP): Likewise.
10802 (strcspn): Do not use BP_SYM.
10803 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10804 "bp-asm.h".
10805 (PARMS): Do not use macros from bp-asm.h.
10806 (STR): Likewise.
10807 (STOP): Likewise.
10808 (strpbrk): Likewise. Do not use BP_SYM.
10809 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10810 "bp-asm.h".
10811 (PARMS): Do not use macros from bp-asm.h.
10812 (STR): Likewise.
10813 (CHR): Likewise.
10814 (strrchr): Likewise. Do not use BP_SYM.
10815 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10816 (PARMS): Do not use macros from bp-asm.h.
10817 (SKIP): Likewise.
10818 (strspn): Do not use BP_SYM.
10819 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10820 (PARMS): Do not use macros from bp-asm.h.
10821 (STR): Likewise.
10822 (DELIM): Likewise.
10823 (SAVE): Likewise.
10824 (FUNCTION): Likewise. Do not use BP_SYM.
10825 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10826 aliases.
10827 (strtok_r): Likewise.
10828 (__GI___strtok_r): Likewise.
10829 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10830 (PARMS): Do not use macros from bp-asm.h.
10831 (S1): Likewise.
10832 (S2): Likewise.
10833 (SIZE): Likewise.
10834 (__mpn_sub_n): Do not use BP_SYM.
10835 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10836 "bp-asm.h".
10837 (PARMS): Do not use macros from bp-asm.h.
10838 (S1): Likewise.
10839 (SIZE): Likewise.
10840 (__mpn_submul_1): Do not use BP_SYM.
10841 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10842 <bp-sym.h>.
10843 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10844 and <bp-asm.h>.
10845 (PARMS): Do not use macros from bp-asm.h.
10846 (FLAGS): Likewise.
10847 (PTID): Likewise.
10848 (TLS): Likewise.
10849 (CTID): Likewise.
10850 (__clone): Do not use BP_SYM.
10851 (clone): Do not use BP_SYM in weak_alias.
10852 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10853 and <bp-asm.h>.
10854 (PARMS): Do not use macros from bp-asm.h.
10855 (LEN): Likewise.
10856 (__mmap64): Do not use BP_SYM.
10857 (mmap64): Do not use BP_SYM in weak_alias.
10858 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10859 <bp-sym.h> and <bp-asm.h>.
10860 (PARMS): Do not use macros from bp-asm.h.
10861 (__posix_fadvise64_l64): Do not use BP_SYM.
10862 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10863 (PARMS): Do not use macros from bp-asm.h.
10864 (NSOPS): Likewise.
10865 (semtimedop): Do not use BP_SYM.
10866 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10867 and <bp-asm.h>.
10868
582a3cff
AM
108692013-02-21 Allan McRae <allan@archlinux.org>
10870
10871 * manual/message.texi (Charset conversion in gettext):
10872 Move @end statement to beginning of line.
10873
bab8a695
SP
108742013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10875
80945231
SP
10876 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10877 static.
10878 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10879 Likewise.
10880
bab8a695
SP
10881 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10882 (denorm): Likewise.
10883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10884 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10885
e21d7aa7
AK
108862013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10887
10888 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10889 tail-call to the resolved function if pltexit isn't needed.
10890
4c7a4263
SP
108912013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10892
10893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10894 or Y being zero as being unlikely.
10895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10896 Likewise.
10897
41f49342
CD
108982013-02-20 Carlos O'Donell <carlos@redhat.com>
10899
10900 * manual/nss.texi (System Databases and Name Service Switch):
10901 Remove frobnicate @pxref.
10902
50022a93
TS
109032013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10904
10905 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10906 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10907
08cbd996
PM
109082013-02-20 Petr Machata <pmachata@redhat.com>
10909
10910 * elf/elf.h (R_ARM_TARGET1): New macro.
10911 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10912 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10913 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10914 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10915 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10916 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10917 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10918 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10919 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10920 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10921 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10922 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10923 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10924 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10925 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10926 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10927 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10928 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10929 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10930 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10931 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10932 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10933 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10934 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10935 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10936 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10937 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10938 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10939 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10940 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10941 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10942 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10943 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10944 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10945 (R_ARM_THM_GOT_BREL12): Likewise.
10946 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10947 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10948 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10949 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10950 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10951 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10952 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10953 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10954 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10955
c7b275d6
TS
109562013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10957
10958 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10959 __attribute_used__ to __attribute__ ((unused)).
10960
20cd7fb3
SP
109612013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10962
10963 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10964 powerpc mpa.c.
10965 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10966 comment formatting.
10967 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10968
92945b52
JM
109692013-02-19 Joseph Myers <joseph@codesourcery.com>
10970
10971 [BZ #13550]
10972 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10973 Remove macro.
10974 (ENTER): Remove both macro definitions.
10975 (LEAVE): Likewise.
10976 (CHECK_BOUNDS_LOW): Likewise.
10977 (CHECK_BOUNDS_HIGH): Likewise.
10978 (CHECK_BOUNDS_BOTH): Likewise.
10979 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10980 (RETURN_BOUNDED_POINTER): Likewise.
10981 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10982 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10983 (POP_ERRNO_LOCATION_RETURN): Likewise.
10984 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10985 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10986 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10987 macros.
10988 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10989 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10990 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10991 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10992 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10993 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10994 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10995 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10996 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10997 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10998 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10999 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11000 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11001 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11002 removed macros.
11003 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11004 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11005 macros.
11006 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11007 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11008 * sysdeps/i386/i586/memset.S (memset): Likewise.
11009 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11010 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11011 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11012 macros.
11013 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11014 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11015 Change uses of L(2) to L(out).
11016 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11017 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11018 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11019 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11020 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11021 removed macros.
11022 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11023 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11024 macros.
11025 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11026 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11027 (RETURN): Do not use macro LEAVE.
11028 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11029 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11030 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11031 * sysdeps/i386/i686/memset.S (memset): Likewise.
11032 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11033 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11034 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11035 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11036 Likewise.
11037 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11038 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11039 L(1_2) and L(1_3) into L(1).
11040 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11041 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11042 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11043 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11044 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11045 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11046 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11047 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11048 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11049 macros.
11050 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11051 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11052 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11053 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11054 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11055 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11056 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11057 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11058 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11059 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11060 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11061 * sysdeps/i386/strspn.S (strspn): Likewise.
11062 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11063 conditional code.
11064 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11065 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11066 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11067 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11068 L(1_3) into L(1_1).
11069 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11070 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11071 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11072 macros.
11073 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11074
2389741a
JJ
110752013-02-19 Jakub Jelinek <jakub@redhat.com>
11076
11077 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11078 macro.
11079
2016b3cd
SP
110802013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11081
e4f22324
SP
11082 * math/atest-exp.c (exp_mpn): Remove ROUND.
11083 * math/atest-exp2.c (exp_mpn): Likewise.
11084 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11085
2016b3cd
SP
11086 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11087 * stdlib/tst-tls-atexit-lib.c: Likewise.
11088 * stdlib/tst-tls-atexit.c: Likewise.
11089
4be9b544
MF
110902013-02-18 Mike Frysinger <vapier@gentoo.org>
11091
11092 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11093 and __attribute_alloc_size__.
11094
2f62b9ee
MF
110952013-02-18 Mike Frysinger <vapier@gentoo.org>
11096
11097 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11098 __attribute_alloc_size__.
11099 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11100 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11101
6ff444c4
MF
111022013-02-18 Mike Frysinger <vapier@gentoo.org>
11103
11104 * include/programs/xmalloc.h: New file.
11105 * catgets/gencat.c: Include it.
11106 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11107 * elf/pldd.c: Likewise.
11108 * iconv/iconv_charmap.c: Likewise.
11109 * iconv/iconvconfig.c: Likewise.
11110 * iconv/strtab.c: Likewise.
11111 * locale/programs/locale.c: Likewise.
11112 * locale/programs/localedef.h: Likewise.
11113 * locale/programs/simple-hash.c: Likewise.
11114 * nscd/nscd.h: Likewise.
11115 * nss/makedb.c: Likewise.
11116 * sysdeps/generic/ldconfig.h: Likewise.
11117
be179c8a
SP
111182013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11119
ba384f6e
SP
11120 * Versions.def: Add GLIBC_2.18.
11121 * include/link.h (struct link_map): New member l_tls_dtor_count.
11122 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11123 (__call_tls_dtors): Likewise.
11124 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11125 __cxa_thread_atexit_impl.
11126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11127 Likewise.
11128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11129 Likewise.
11130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11131 Likewise.
11132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11133 Likewise.
11134 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11136 Likewise.
11137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11138 Likewise.
11139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11141 Likewise.
11142 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11143 (tests): Add test case tst-tls-atexit.
11144 (modules-names): Add shared library for tst-tls-atexit.
85891aca 11145 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
11146 (GLIBC_PRIVATE): Add __call_tls_dtors.
11147 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11148 for libstdc++.
11149 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11150 * stdlib/tst-tls-atexit.c: New test case.
11151 * stdlib/tst-tls-atexit-lib.c: New test case.
11152
ffaa74cf 11153 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 11154
be179c8a
SP
11155 * elf/Versions (ld): Add _dl_find_dso_for_object.
11156 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11157 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11158 (dl_open_worker): Use _dl_find_dso_for_object.
11159 * elf/dl-sym.c (do_sym): Likewise.
11160 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11161
f78b5caa
AK
111622013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11163
11164 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11165 Syntactic changes only.
11166 (_dl_runtime_profile): Do a tail-call to the resolved function.
11167
29691210
JM
111682013-02-17 Joseph Myers <joseph@codesourcery.com>
11169
11170 [BZ #13550]
11171 * sysdeps/x86_64/bp-asm.h: Remove file.
11172 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11173 <bp-sym.h> and <bp-asm.h>.
11174 (__clone): Do not use BP_SYM.
11175 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11176 <bp-sym.h> and <bp-asm.h>.
11177 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11178 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11179 "bp-asm.h".
11180 (_setjmp): Do not use BP_SYM.
11181 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11182 "bp-asm.h".
11183 (setjmp): Do not use BP_SYM.
11184 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11185 libc_hidden_def.
11186 (mempcpy): Do not use BP_SYM in weak_alias.
11187 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11188 "bp-asm.h".
11189 (strchr): Do not use BP_SYM.
11190 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11191 "bp-asm.h".
11192 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11193 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11194 (_start): Do not use BP_SYM.
11195 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11196 "bp-asm.h".
11197 (strcat): Do not use BP_SYM.
11198 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11199 "bp-asm.h".
11200 (STRCMP): Do not use BP_SYM.
11201 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11202 "bp-asm.h".
11203 (STRCPY): Do not use BP_SYM.
11204 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11205 "bp-asm.h".
11206 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11207 "bp-asm.h".
11208 (FUNCTION): Do not use BP_SYM.
11209 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11210 weak_alias.
11211 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11212
f238fd19
AJ
112132013-02-17 Andreas Jaeger <aj@suse.de>
11214
11215 * time/Versions: Sort entries.
11216 * string/Versions: Likewise.
11217 * resolv/Versions: Likewise.
11218 * posix/Versions: Likewise.
11219 * iconv/Versions: Likewise.
11220 * elf/Versions: Likewise.
11221 * wcsmbs/Versions: Likewise.
11222
bd07f23c 112232013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 11224
22af19f9
SP
11225 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11226 loop termination condition.
11227
4709fe76
SP
11228 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11229 variable to calculate EZ.
11230 (__sqr): Likewise.
2d0e0f29
SP
11231
11232 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11233 the lower precision input.
11234
daaa7713
JM
112352013-02-15 Joseph Myers <joseph@codesourcery.com>
11236
11237 [BZ #13550]
11238 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11239 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11240 (run-via-rtld-prefix): Do not handle %-bp tests.
11241 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11242 (all-object-suffixes): Remove .ob.
11243 (bppfx): Remove variable.
11244 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11245 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11246 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11247 [$(build-bounded) = yes] (libtype.ob): Likewise.
11248 * Makerules (elide-routines.ob): Remove variable.
11249 (do-tests-clean): Do not handle *-bp.out.
11250 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11251 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11252 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11253 (tests): Do not include $(tests-bp.out).
11254 (xtests): Do not include $(xtests-bp.out).
11255 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11256 [$(build-bounded) = yes] ($(addprefix
11257 $(objpfx),$(binaries-bounded))): Remove rule.
11258 ($(objpfx)%-bp.out): Remove rule.
11259 * config.make.in (build-bounded): Remove variable.
11260 * crypt/Makefile [$(build-bounded) = yes]
11261 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11262 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11263 append to variable.
11264 [$(build-bounded) = yes] (install-lib): Likewise.
11265 [$(build-bounded) = yes] (generated): Likewise.
11266 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11267 Remove rule.
11268 * intl/Makefile [$(build-bounded) = yes]
11269 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11270 * math/Makefile [$(build-bounded) = yes]
11271 ($(tests:%=$(objpfx)%-bp): Likewise.
11272 * misc/Makefile [$(build-bounded) = yes]
11273 ($(objpfx)tst-tsearch-bp): Likewise.
11274 * nptl/Makeconfig (bounded-thread-library): Remove variable.
11275 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11276 Remove dependency.
11277 * string/Makefile (o-objects.ob): Remove variable.
11278 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11279 (CFLAGS-.ob): Remove variable.
11280 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11281 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11282 both definitions of variable.
11283 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11284 (ASFLAGS-.ob): Remove variable.
11285
e97ed6dd
JM
112862013-02-14 Joseph Myers <joseph@codesourcery.com>
11287
2bdd4ca6
JM
11288 [BZ #13550]
11289 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11290 Remove __BOUNDED_POINTERS__ from condition.
11291 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11292 * string/bits/string2.h [!__NO_STRING_INLINES &&
11293 !__BOUNDED_POINTERS__]: Likewise.
11294 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11295 Likewise.
11296 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11297 Remove conditional code.
11298 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11299 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11300 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11301 condition.
11302
e97ed6dd
JM
11303 [BZ #13550]
11304 * csu/libc-start.c: Do not include <bp-sym.h>.
11305 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11306 * elf/dl-open.c: Do not include <bp-sym.h>.
11307 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11308 * math/fegetenv.c: Do not include <bp-sym.h>.
11309 (fegetenv): Do not use BP_SYM in versioned symbols.
11310 * nptl/sysdeps/pthread/bits/libc-lockP.h
11311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11312 <bp-sym.h>.
11313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11314 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11316 (__pthread_mutex_destroy): Likewise.
11317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11318 (__pthread_mutex_lock): Likewise.
11319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11320 (__pthread_mutex_trylock): Likewise.
11321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11322 (__pthread_mutex_unlock): Likewise.
11323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11324 (__pthread_mutexattr_init): Likewise.
11325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11326 (__pthread_mutexattr_destroy): Likewise.
11327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11328 (__pthread_mutexattr_settype): Likewise.
11329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11330 (__pthread_rwlock_init): Likewise.
11331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11332 (__pthread_rwlock_destroy): Likewise.
11333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11334 (__pthread_rwlock_rdlock): Likewise.
11335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11336 (__pthread_rwlock_tryrdlock): Likewise.
11337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11338 (__pthread_rwlock_wrlock): Likewise.
11339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11340 (__pthread_rwlock_trywrlock): Likewise.
11341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11342 (__pthread_rwlock_unlock): Likewise.
11343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11344 (__pthread_key_create): Likewise.
11345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11346 (__pthread_setspecific): Likewise.
11347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11348 (__pthread_getspecific): Likewise.
11349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11350 Likewise.
11351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11352 (_pthread_cleanup_push_defer): Likewise.
11353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11354 (_pthread_cleanup_pop_restore): Likewise.
11355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11356 (pthread_setcancelstate): Likewise.
11357 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11358 <bp-sym.h>.
11359 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11360 (memchr): Do not use BP_SYM in weak_alias.
11361 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11362 (fegetenv): Do not use BP_SYM in versioned symbols.
11363 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11364 (fesetenv): Do not use BP_SYM in versioned symbols.
11365 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11366 (feupdateenv): Do not use BP_SYM in versioned symbols.
11367 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11368 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11369 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11370 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11371 (open64): Do not use BP_SYM in weak_alias.
11372 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11373 (fegetenv): Do not use BP_SYM in versioned symbols.
11374 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11375 (fesetenv): Do not use BP_SYM in versioned symbols.
11376 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11377 (feupdateenv): Do not use BP_SYM in versioned symbols.
11378 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11379 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11380 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11381 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11382 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11383 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11384 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11385 <bp-sym.h>.
11386 (__libc_start_main): Do not use BP_SYM.
11387
d6752ccd
SP
113882013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11389
cb57ce60
SP
11390 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11391 redundant return line.
11392 (norm): Likewise.
11393 (denorm): Likewise.
11394 (dbl_mp): Likewise.
11395 (sub_magnitudes): Likewise.
11396 (__add): Likewise.
11397 (__sub): Likewise.
11398 (__mul): Likewise.
11399 (__inv): Likewise.
11400 (__dvd): Likewise.
11401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11402 (norm): Likewise.
11403 (denorm): Likewise.
11404 (dbl_mp): Likewise.
11405 (sub_magnitudes): Likewise.
11406 (__add): Likewise.
11407 (__sub): Likewise.
11408 (__mul): Likewise.
11409 (__inv): Likewise.
11410 (__dvd): Likewise.
11411
f414520d
SP
11412 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11413 instead of __mul.
11414 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11415 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11416 (cc32): Likewise.
11417
d6752ccd
SP
11418 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11419 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11420 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11421 of __mul for squares.
11422 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11423 function
11424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11425 Likewise.
11426 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11427 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11428
70d9946a
JM
114292013-02-13 Joseph Myers <joseph@codesourcery.com>
11430
11431 [BZ #13550]
11432 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11433 code.
11434 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11435 prototype or function definition. Rename ubp_* variables and
11436 parameters. Remove argv definitions conditional on
11437 [__BOUNDED_POINTERS__].
11438 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11439 * elf/dl-runtime.c (_dl_fixup): Likewise.
11440 * include/set-hooks.h (RUN_HOOK): Likewise.
11441 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11442 definition.
11443 * string/strcpy.c (strcpy): Do not use __unbounded.
11444 * sysdeps/generic/frame.h (struct layout): Likewise.
11445 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11446 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11447 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11448 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11449 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11450 (__backtrace): Likewise.
11451 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11452 use __ptrvalue.
11453 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11454 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11455 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11456 Likewise.
11457 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11458 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11459 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11460 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11461 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11462 Do not use __unbounded.
11463 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11464 Rename __unboundedrlimits parameter to rlimits in prototype.
11465 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11466 Do not use __unbounded.
11467 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11468 not use __ptrvalue.
11469 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11470 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11471 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11472 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11473 __ptrvalue or __unbounded.
11474 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11475 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11476 use __unbounded.
11477 (__new_msgctl): Do not use __ptrvalue.
11478 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11479 __unbounded.
11480 (__libc_msgrcv): Do not use __ptrvalue.
11481 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11482 startup_info): Do not use __unbounded.
11483 (__libc_start_main): Likewise. Rename ubp_* variables and
11484 parameters. Remove argv definitions conditional on
11485 [__BOUNDED_POINTERS__].
11486 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11487 __ptrvalue.
11488 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11489 use __unbounded.
11490 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11491 or __ptrvalue.
11492 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11493 use __unbounded.
11494 (__new_shmctl): Do not use __ptrvalue.
11495 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11496 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11497 Likewise.
11498 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11499 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11500 (__libc_sigaction): Likewise.
11501 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11502 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11503 Likewise.
11504 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11505
cc7834d6
OB
115062013-02-13 Ondřej Bílka <neleai@seznam.cz>
11507
ffb1ec7b 11508 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
11509
11510 * string/mempcpy.c: Implement by calling memcpy.
11511
bdf02814
SP
115122013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11513
c2af38aa
SP
11514 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11515
4e92d59e
SP
11516 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11517 evaluation.
11518
909279a5
SP
11519 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11520 values in the mantissa.
11521
bdf02814
SP
11522 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11523 minimize writes to Z.
11524 (sub_magnitudes): Simplify code a bit.
11525
cd525923
RM
115262013-02-12 Roland McGrath <roland@hack.frob.com>
11527
11528 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11529 from the message. The linker prefixes all warnings with that already.
11530
7e2f0d2d
AS
115312013-02-12 Andreas Schwab <schwab@suse.de>
11532
a445af0b
AS
11533 [BZ #15078]
11534 * posix/regexec.c (extend_buffers): Add parameter min_len.
11535 (check_matching): Pass minimum needed length.
11536 (clean_state_log_if_needed): Likewise.
11537 (get_subexp): Likewise.
11538 * posix/Makefile (tests): Add bug-regex34.
11539 (bug-regex34-ENV): Define.
11540 * posix/bug-regex34.c: New file.
11541
7e2f0d2d
AS
11542 [BZ #11561]
11543 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11544 elements compare against the byte sequence of it, not its name.
11545 * posix/Makefile (tests): Add bug-regex35.
11546 (bug-regex35-ENV): Define.
11547 * posix/bug-regex35.c: New file.
11548
a175b684
TV
115492013-02-11 Tom de Vries <tom@codesourcery.com>
11550
11551 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11552 comment.
11553 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11554 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11555 (CHECK_EOL): Add undef.
11556
310998fe 115572013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
11558
11559 * bits/stdlib-bsearch.h: New file.
11560 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 11561 * stdlib/stdlib.h: Likewise.
41eda41d 11562
8ded91fb
RM
115632013-02-11 Roland McGrath <roland@hack.frob.com>
11564
11565 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11566 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11567 declaration.
11568 * manual/search.texi (Array Search Function): Add missing const in
11569 lfind prototype.
11570 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11571 declaration to use rlim_t.
11572 (Basic Scheduling Functions): Remove erroneous const from
11573 sched_getparam prototype. Remove erroneous * from
11574 sched_get_priority_max and sched_get_priority_min prototypes.
11575 (Resource Usage): Fix summary @comment on vtimes to refer to
11576 sys/vtimes.h rather than vtimes.h.
11577 Add missing *s in vtimes prototype.
11578 (Limits on Resources): Fix ulimit prototype to return long int.
11579 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11580 prototypes to use long int rather than double.
11581 (BSD Random): Fix initstate and setstate to use char *, not void *.
11582 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11583 prototype to make second argument 'struct aiocb64 *const[]'.
11584 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11585 (Status of AIO Operations): Remove erroneous const in aio_return and
11586 aio_return64 prototypes.
11587 (Synchronizing I/O): Fix sync prototype to return void.
11588 * manual/startup.texi (Suboptions): Remove an erroneous const in
11589 getsubopt prototype.
11590 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11591 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11592 use size_t rather than int.
11593 (Scanning All Users): Likewise for getpwent_r.
11594 (Setting Groups): Add missing const to setgroups prototype.
11595 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11596 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11597 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11598 'const void *' rather than 'const char *'.
11599 (Host Address Functions): Likewise for inet_ntop.
11600 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11601 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11602 ssize_t for return value.
11603 (Sending Data): Likewise for send, sendto, sendmsg.
11604 (Socket Option Functions): Add a missing const in setsockopt prototype.
11605 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11606 use wchar_t for the argument.
11607 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11608 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11609 take no arguments.
11610 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11611 double/float/long double for second argument.
11612 Fix return types of significand, significandf, significandl.
11613 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11614 argument in fchmod prototype.
11615 (File Owner): Use uid_t and gid_t in fchown prototype.
11616 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11617 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11618 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11619 use 'const struct dirent **' as argument types to CMP function pointer
11620 argument.
11621 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11622 (File Times): Fix summary magic @comment for struct utimbuf and utime
11623 to refer to utime.h, not time.h.
11624 * manual/string.texi (Argz Functions): Add missing const in
11625 argz_extract and argz_next prototypes.
11626 (Finding Tokens in a String): Likewise for basename.
11627 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11628 (Copying and Concatenation): Fix typo in wmemmove prototype.
11629 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11630 (Signal Stack): Remove erroneous const in sigstack prototype.
11631 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11632 prototype.
11633 (Simple Calendar Time): Likewise for stime.
11634 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11635 prototype.
11636 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11637 say sys/sysctl.h instead.
11638 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11639 and vsyslog prototypes.
11640
fe77fe6d
TV
116412013-02-11 Tom de Vries <tom@codesourcery.com>
11642
11643 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11644 Remove.
11645
3a09b620
RM
116462013-02-11 Roland McGrath <roland@hack.frob.com>
11647
11648 * misc/sys/mman.h: Fix typo in mremap comment.
11649
550a0b89
RM
116502013-02-08 Roland McGrath <roland@hack.frob.com>
11651
11652 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11653 the '\0' terminator.
11654
a2da1673
JM
116552013-02-08 Joseph Myers <joseph@codesourcery.com>
11656
11657 [BZ #13550]
11658 * debug/segfault.c: Don't include <bp-checks.h>.
11659 * sysdeps/generic/bp-checks.h: Remove file.
11660 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11661 (__GETDENTS): Don't use CHECK_N.
11662 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11663 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11664 (__getgroups): Don't use CHECK_N.
11665 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11666 (setgroups): Don't use CHECK_N.
11667 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11668 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11669 (__libc_msgrcv): Don't use CHECK_N.
11670 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11671 (__libc_msgsnd): Don't use CHECK_N.
11672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11673 <bp-checks.h>.
11674 (__libc_pread): Don't use CHECK_N.
11675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11676 include <bp-checks.h>.
11677 (__libc_pread64): Don't use CHECK_N.
11678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11679 include <bp-checks.h>.
11680 (__libc_pwrite): Don't use CHECK_N.
11681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11682 include <bp-checks.h>.
11683 (__libc_pwrite64): Don't use CHECK_N.
11684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11685 <bp-checks.h>.
11686 (__libc_pread): Don't use CHECK_N.
11687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11688 include <bp-checks.h>.
11689 (__libc_pread64): Don't use CHECK_N.
11690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11691 include <bp-checks.h>.
11692 (__libc_pwrite): Don't use CHECK_N.
11693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11694 include <bp-checks.h>.
11695 (__libc_pwrite64): Don't use CHECK_N.
11696 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11697 (do_pread): Don't use CHECK_N.
11698 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11699 (do_pread64): Don't use CHECK_N.
11700 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11701 (do_pwrite): Don't use CHECK_N.
11702 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11703 (do_pwrite64): Don't use CHECK_N.
11704 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11705 (__libc_readv): Don't use CHECK_N.
11706 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11707 (semop): Don't use CHECK_N.
11708 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11709 <bp-checks.h>.
11710 (semtimedop): Don't use CHECK_N.
11711 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11712 (__libc_pread): Don't use CHECK_N.
11713 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11714 <bp-checks.h>.
11715 (__libc_pread64): Don't use CHECK_N.
11716 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11717 <bp-checks.h>.
11718 (__libc_pwrite): Don't use CHECK_N.
11719 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11720 <bp-checks.h>.
11721 (__libc_pwrite64): Don't use CHECK_N.
11722 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11723 <bp-checks.h>.
11724 (__libc_msgrcv): Don't use CHECK_N.
11725 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11726 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11727 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11728 (__libc_writev): Don't use CHECK_N.
11729
b84660a8
RM
117302013-02-08 Roland McGrath <roland@hack.frob.com>
11731
7f3e75f8
RM
11732 * string/strcpy.c: Removed unused variable.
11733
b84660a8
RM
11734 * Makeconfig (+sysdep-includes): Define with := rather than =.
11735 Use an existing include/ subdir of each sysdeps dir before it.
11736
471514d3
CD
117372013-02-08 Carlos O'Donell <carlos@redhat.com>
11738
11739 * nscd/connection.c (register_traced_file): Comment function.
11740 [HAVE_INOTIFY] (union __inev): Define.
11741 [HAVE_INOTIFY] (inotify_check_files): New function.
11742 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11743 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11744 clear_db_cache.
11745 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11746
b2d3c3be
CD
117472013-02-08 Carlos O'Donell <carlos@redhat.com>
11748
11749 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11750 loaded if not already and that a failure is permanent.
11751
b39949d2
CD
117522013-02-08 Carlos O'Donell <carlos@redhat.com>
11753
ddacd1db 11754 [BZ #15006]
b39949d2
CD
11755 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11756 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11757
b2c9eff4
JM
117582013-02-08 Joseph Myers <joseph@codesourcery.com>
11759
f3aae3f3
JM
11760 [BZ #13550]
11761 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11762 (CHECK_1_NULL_OK): Likewise.
11763 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11764 (__fxstat): Do not use CHECK_1.
11765 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11766 <bp-checks.h>.
11767 (___fxstat64): Do not use CHECK_1.
11768 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11769 <bp-checks.h>.
11770 (__fxstatat): Do not use CHECK_1.
11771 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11772 <bp-checks.h>.
11773 (__fxstatat64): Do not use CHECK_1.
11774 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11775 <bp-checks.h>.
11776 (__fxstat): Do not use CHECK_1.
11777 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11778 <bp-checks.h>.
11779 (__fxstatat): Do not use CHECK_1.
11780 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11781 <bp-checks.h>.
11782 (__getresgid): Do not use CHECK_1.
11783 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11784 <bp-checks.h>.
11785 (__getresuid): Do not use CHECK_1.
11786 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11787 <bp-checks.h>.
11788 (__lxstat): Do not use CHECK_1.
11789 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11790 <bp-checks.h>.
11791 (__old_msgctl): Do not use CHECK_1.
11792 (__new_msgctl): Likewise.
11793 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11794 <bp-checks.h>.
11795 (__new_setrlimit): Do not use CHECK_1.
11796 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11797 <bp-checks.h>.
11798 (__old_shmctl): Do not use CHECK_1.
11799 (__new_shmctl): Likewise.
11800 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11801 <bp-checks.h>.
11802 (__xstat): Do not use CHECK_1.
11803 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11804 (__lxstat): Do not use CHECK_1.
11805 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11806 <bp-checks.h>.
11807 (___lxstat64): Do not use CHECK_1.
11808 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11809 (__old_msgctl): Do not use CHECK_1.
11810 (__new_msgctl): Likewise.
11811 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11812 <bp-checks.h>.
11813 (__gettimeofday): Do not use CHECK_1.
11814 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11815 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11816 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11817 <bp-checks.h>.
11818 (__gettimeofday): Do not use CHECK_1.
11819 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11820 (__old_shmctl): Do not use CHECK_1_NULL_OK.
11821 (__new_shmctl): Do not use CHECK_1.
11822 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11823 <bp-checks.h>.
11824 (do_sigtimedwait): Do not use CHECK_1.
11825 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11826 <bp-checks.h>.
11827 (do_sigwaitinfo): Do not use CHECK_1.
11828 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11829 <bp-checks.h>.
11830 (msgctl): Do not use CHECK_1.
11831 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11832 <bp-checks.h>.
11833 (shmctl): Do not use CHECK_1.
11834 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11835 (ustat): Do not use CHECK_1.
11836 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11837 <bp-checks.h>.
11838 (__fxstat): Do not use CHECK_1.
11839 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11840 <bp-checks.h>.
11841 (__fxstatat): Do not use CHECK_1.
11842 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11843 <bp-checks.h>.
11844 (__lxstat): Do not use CHECK_1.
11845 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11846 <bp-checks.h>.
11847 (__xstat): Do not use CHECK_1.
11848 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11849 (__xstat): Do not use CHECK_1.
11850 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11851 (___xstat64): Do not use CHECK_1.
11852
b2c9eff4
JM
11853 [BZ #13550]
11854 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11855 definitions.
11856 (CHECK_BOUNDS_HIGH): Likewise.
11857 * string/strcpy.c: Do not include <bp-checks.h>.
11858 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11859
f1d70dad
RM
118602013-02-07 Roland McGrath <roland@hack.frob.com>
11861
11862 * nscd/nscd-client.h (__nscd_drop_map_ref):
11863 Add __attribute__ ((unused)).
11864 * nis/nss-nisplus.h (niserr2nss): Likewise.
11865
11866 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11867 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11868
11869 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11870 Remove inline keyword.
11871 * include/rounding-mode.h (round_away): Likewise.
11872 * libio/wfileops.c (adjust_wide_data): Likewise.
11873 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11874 (__m128i_strloadu_tolower): Likewise.
11875 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11876 (__m128i_strloadu_tolower): Likewise.
11877 * time/mktime.c (ydhms_diff): Likewise.
11878 * locale/elem-hash.h (elem_hash): Likewise.
11879 * locale/setlocale.c (setdata): Likewise.
11880 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11881 (re_string_wchar_at): Likewise.
11882 (bitset_not, bitset_merge, bitset_mask): Likewise.
11883 [!(__GNUC__ > 3)] (inline): Remove macro.
11884 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11885 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11886 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11887 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11888 * string/memcmp.c (memcmp_bytes): Likewise.
11889 * locale/programs/locarchive.c (compute_hashval): Likewise.
11890 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11891 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11892 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11893 * nss/getent.c (print_rpc, print_protocols): Likewise.
11894 (print_passwd, print_group, print_aliases): Likewise.
11895 * nis/nss-nisplus.h (niserr2nss): Likewise.
11896 * nscd/connections.c (restart_p): Likewise.
11897 Change return type to bool.
11898
eab55bfb
RM
118992013-02-05 Roland McGrath <roland@hack.frob.com>
11900
7bd642f5
RM
11901 * Makeconfig (all-Depend-files): Add existing
11902 $(sorted-subdirs:=/Depend) files.
11903 (all-subdirs): Remove nss.
11904 * sysdeps/unix/inet/Subdirs: Add it here instead.
11905 * hesiod/Depend: New file.
11906
573c29b2
RM
11907 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11908 instead of calling alloca.
11909
b2e25af0
RM
11910 * io/lseek.c (__lseek): Rename to __libc_lseek.
11911 Define __lseek as an alias.
11912
eab55bfb
RM
11913 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11914
9a0d1941
CD
119152013-02-04 Carlos O'Donell <carlos@redhat.com>
11916
11917 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11918 else clause and remove check for non-standard endianness.
11919
b83bbec4
DM
119202013-02-04 David S. Miller <davem@davemloft.net>
11921
11922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11923
6277fdab
JM
119242013-02-04 Joseph Myers <joseph@codesourcery.com>
11925
11926 [BZ #13550]
11927 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11928 (__ubp_memchr): Remove prototype.
11929 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11930 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11931 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11932 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11933 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11934 Remove alias.
11935 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11936 (__ubp_memchr): Likewise.
11937 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11938 (__ubp_memchr): Likewise.
11939 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11940 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11941 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11942 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11943 CHECK_STRING.
11944 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11945 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11946 (__getcwd): Do not use CHECK_STRING.
11947 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11948 <bp-checks.h>.
11949 (__real_chown): Do not use CHECK_STRING.
11950 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11951 <bp-checks.h>.
11952 (fchownat): Do not use CHECK_STRING.
11953 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11954 CHECK_STRING.
11955 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11956 <bp-checks.h>.
11957 (__lchown): Do not use CHECK_STRING.
11958 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11959 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11960 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11961 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11963 include <bp-checks.h>.
11964 (truncate64): Do not use CHECK_STRING.
11965 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11966 <bp-checks.h>.
11967 (__real_chown): Do not use CHECK_STRING.
11968 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11969 <bp-checks.h>.
11970 (__lchown): Do not use CHECK_STRING.
11971 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11972 <bp-checks.h>.
11973 (__chown): Do not use CHECK_STRING.
11974 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11975 <bp-checks.h>.
11976 (truncate64): Do not use CHECK_STRING.
11977 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11978 Likewise.
11979 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11980 (__xmknod): Do not use CHECK_STRING.
11981 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11982 <bp-checks.h>.
11983 (__xmknodat): Do not use CHECK_STRING.
11984 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11985 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11986
903ae060
AS
119872013-02-04 Andreas Schwab <schwab@suse.de>
11988
11989 [BZ #14142]
11990 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11991 * include/netdb.h: Likewise for h_errno.
11992 * elf/tst-stackguard1.c: Include <tls.h>.
11993
542f9466
JK
119942013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11995
11996 * elf/link.h (struct link_map): Extend the l_addr comment.
11997 * include/link.h (struct link_map): Likewise.
11998
e782a927
JM
119992013-02-01 Joseph Myers <joseph@codesourcery.com>
12000
12001 [BZ #13550]
12002 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12003 (BOUNDED_1): Remove macro.
12004 * debug/backtrace.c: Don't include <bp-checks.h>.
12005 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12006 (__backtrace): Likewise.
12007 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12008 <bp-checks.h>.
12009 (__backtrace): Don't use BOUNDED_1.
12010 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12011 <bp-checks.h>.
12012 (__backtrace): Don't use BOUNDED_1.
12013 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12014 (__backtrace): Don't use BOUNDED_1.
12015 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12016 (shmat): Don't use BOUNDED_N.
12017
8cf28c5e
JM
120182013-01-31 Joseph Myers <joseph@codesourcery.com>
12019
3a7ac8a0
JM
12020 [BZ #13550]
12021 * sysdeps/generic/bp-start.h: Remove file.
12022 * csu/libc-start.c: Don't include <bp-start.h>.
12023 (LIBC_START_MAIN): Set up __environ directly instead of using
12024 INIT_ARGV_and_ENVIRON.
12025 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12026 <bp-start.h>.
12027
f3499f95
JM
12028 [BZ #13550]
12029 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12030 definitions.
12031 (CHECK_FCNTL): Likewise.
12032 (CHECK_N_PAGES): Likewise.
12033
32a45bea
JM
12034 [BZ #13550]
12035 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12036 definitions.
12037 (CHECK_SIGSET_NULL_OK): Likewise.
12038 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12039 <bp-checks.h>.
12040 (sigpending): Don't use CHECK_SIGSET.
12041 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12042 <bp-checks.h>.
12043 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12044 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12045 <bp-checks.h>.
12046 (do_sigsuspend): Don't use CHECK_SIGSET.
12047 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12048 use CHECK_SIGSET.
12049 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12050 (do_sigwait): Don't use CHECK_SIGSET.
12051 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12052 use CHECK_SIGSET.
12053 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12054 include <bp-checks.h>.
12055 (sigpending): Don't use CHECK_SIGSET.
12056 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12057 include <bp-checks.h>.
12058 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12059 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12060 <bp-checks.h>.
12061 (sigpending): Don't use CHECK_SIGSET.
12062 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12063 <bp-checks.h>.
12064 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12065
2e8a5c8c
JM
12066 [BZ #13550]
12067 * sysdeps/generic/bp-semctl.h: Remove file.
12068 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12069 <bp-checks.h> and <bp-semctl.h>.
12070 (__old_semctl): Don't use CHECK_SEMCTL.
12071 (__new_semctl): Likewise.
12072 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12073 and <bp-semctl.h>.
12074 (__old_semctl): Don't use CHECK_SEMCTL.
12075 (__new_semctl): Likewise.
12076 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12077 <bp-checks.h> and <bp-semctl.h>.
12078 (__old_semctl): Don't use CHECK_SEMCTL.
12079 (__new_semctl): Likewise.
12080 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12081 <bp-checks.h> and <bp-semctl.h>.
12082 (semctl): Don't use CHECK_SEMCTL.
12083
c2d54929
JM
12084 [BZ #13550]
12085 * Makerules (elide-bp-thunks): Remove variable.
12086 (elide-routines.oS): Don't use $(elide-bp-thunks).
12087 (elide-routines.os): Likewise.
12088 (elide-routines.o): Likewise.
12089 (elide-routines.op): Likewise.
12090 (elide-routines.og): Likewise.
12091 (objects): Don't use $(bp-thunks).
12092 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12093 include.
12094 (common-generated): Do not add s-proto-bp.d.
12095 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12096 (int): Likewise.
12097 (typ): Likewise.
12098 Do not generate makefile rules for bounded-pointer thunks.
12099 * sysdeps/generic/bp-thunks.h: Remove file.
12100 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12101 * sysdeps/unix/s-proto-bp.S: Likewise.
12102
8cf28c5e
JM
12103 [BZ #15062]
12104 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12105 parts of result separately when argument is not close to line from
12106 -i to i and one part of argument is small.
12107 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12108 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12109 * math/libm-test.inc (cacos_test): Add more tests.
12110 (casin_test): Likewise.
12111 (casinh_test): Likewise.
12112 * sysdeps/i386/fpu/libm-test-ulps: Update.
12113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12114
c4e33b8d
DM
121152013-01-31 David S. Miller <davem@davemloft.net>
12116
12117 * po/de.po: Update from translation team.
12118
3b60b421
MK
121192013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12120
12121 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12122
bb931195
TS
121232013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12124
b5a5da23
TS
12125 * configure.in (_AC_PROG_CC_C89): New definition.
12126 * configure: Regenerate.
12127
bb931195
TS
12128 * configure.in (AC_PROG_CPP): New definition.
12129 * configure: Regenerate.
12130
8c53a12c
JM
121312013-01-23 Joseph Myers <joseph@codesourcery.com>
12132
12133 * debug/tst-backtrace.h: New file.
12134 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12135 (ret): Remove variable.
12136 (x): Likewise.
12137 (FAIL): Remove macro.
12138 (NO_INLINE): Likewise.
12139 (fn1): Use match function instead of strstr.
12140 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12141 (ret): Remove variable.
12142 (x): Likewise.
12143 (FAIL): Remove macro.
12144 (NO_INLINE): Likewise.
12145 (fn): Use match function instead of strstr.
12146 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12147 (ret): Remove variable.
12148 (x): Likewise.
12149 (FAIL): Remove macro.
12150 (NO_INLINE): Likewise.
12151 (handle_signal): Use match function instead of strstr.
12152 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12153 (ret): Remove variable.
12154 (x): Likewise.
12155 (FAIL): Remove macro.
12156 (NO_INLINE): Likewise.
12157 (handle_signal): Use match function instead of strstr.
12158
4858fa2a
RM
121592013-01-23 Roland McGrath <roland@hack.frob.com>
12160
12161 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12162
bae8e7f5
DM
121632013-01-23 David S. Miller <davem@davemloft.net>
12164
12165 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12166 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12167 argument of CAS if possible.
12168 * sysdeps/sparc/sparc64/bits/atomic.h
12169 (__arch_compare_and_exchange_val_32_acq): Likewise.
12170 (__arch_compare_and_exchange_val_64_acq): Likewise.
12171
9cbbc4ae
PT
121722013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12173
12174 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12175 * sysdeps/posix/ulimit.c: ... this.
92a601b8 12176 Include <limits.h>.
67b3f58c 12177 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 12178
5655a0b5
AC
121792013-01-23 Adam Conrad <adconrad@0c3.net>
12180
12181 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12182 (LDFLAGS-tst-array5): Likewise.
12183
052aff95
JM
121842013-01-23 Joseph Myers <joseph@codesourcery.com>
12185
12186 [BZ #15036]
12187 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12188 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12189 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12190 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12191
7c1e01aa
DM
121922013-01-21 David S. Miller <davem@davemloft.net>
12193
12194 * sysdeps/sparc/backtrace.c: New file.
12195 * sysdeps/sparc/sparc32/backtrace.h: New file.
12196 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12197 * sysdeps/sparc/sparc64/backtrace.h: New file.
12198 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12199 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12200 -funwind-tables.
12201
ab087e0a
AS
122022013-01-21 Andreas Schwab <schwab@suse.de>
12203
12204 [BZ #15020]
12205 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12206 closed its stdout.
12207
ed689c2f
AS
122082013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12209
12210 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12211 "mpa2.h".
12212 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12213
31d470ac
JM
122142013-01-18 Joseph Myers <joseph@codesourcery.com>
12215 Mark Mitchell <mark@codesourcery.com>
12216 Tom de Vries <tom@codesourcery.com>
12217 Paul Pluzhnikov <ppluzhnikov@google.com>
12218
12219 * debug/tst-backtrace2.c: New file.
12220 * debug/tst-backtrace3.c: Likewise.
12221 * debug/tst-backtrace4.c: Likewise.
12222 * debug/tst-backtrace5.c: Likewise.
12223 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12224 (CFLAGS-tst-backtrace3.c): Likewise.
12225 (CFLAGS-tst-backtrace4.c): Likewise.
12226 (CFLAGS-tst-backtrace5.c): Likewise.
12227 (LDFLAGS-tst-backtrace2): Likewise.
12228 (LDFLAGS-tst-backtrace3): Likewise.
12229 (LDFLAGS-tst-backtrace4): Likewise.
12230 (LDFLAGS-tst-backtrace5): Likewise.
12231 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12232 tst-backtrace4 and tst-backtrace5.
12233
90567f30 122342013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
12235 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12236
12237 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12238 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12239 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12240 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12242 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12243 "+r" and remove output regs list as redundant. Add explicit inline
12244 asm to specify register of return val to work around compiler codegen
12245 bug. Remove (int) cast on return value. Add return type parameter to
12246 use in macro so that this macro does not truncate return value for
12247 64-bit values.
12248 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12249 pass to INTERNAL_VSYSCALL_NCS.
12250 (INLINE_VSYSCALL): Add 'long int' as return type to
12251 INTERNAL_VSYSCALL_NCS macro invocation.
12252 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12253 INTERNAL_VSYSCALL_NCS macro invocation.
12254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12255
d3b9ea61
SP
122562013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12257
0b57daeb
SP
12258 [BZ #14496]
12259 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12260 Fix application of SIMD FP exception mask.
12261
caa99d06
SP
12262 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12263 mp_no from a power of two.
12264 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12265 __mpexp_twomm1. Use __pow_mp.
12266
d3b9ea61
SP
12267 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12268 multiplication.
12269
1dbaee3c
DM
122702013-01-17 David S. Miller <davem@davemloft.net>
12271
12272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12273
728d7b43
JM
122742013-01-17 Joseph Myers <joseph@codesourcery.com>
12275
12276 [BZ #15023]
12277 * include/complex.h: Condition contents on [!_COMPLEX_H].
12278 (__kernel_casinhf): New prototype.
12279 (__kernel_casinh): Likewise.
12280 (__kernel_casinhl): Likewise.
12281 * math/Makefile (libm_calls): Add k_casinh.
12282 * math/k_casinh.c: New file.
12283 * math/k_casinhf.c: Likewise.
12284 * math/k_casinhl.c: Likewise.
12285 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12286 finite nonzero arguments.
12287 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12288 finite nonzero arguments.
12289 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12290 finite nonzero arguments.
12291 * math/s_casinh.c: Do not include <float.h>.
12292 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12293 * math/s_casinhf.c: Do not include <float.h>.
12294 (__casinhf): Move code for finite nonzero arguments to
12295 k_casinhf.c.
12296 * math/s_casinhl.c: Do not include <float.h>.
12297 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12298 redefine.
12299 (__casinhl): Move code for finite nonzero arguments to
12300 k_casinhl.c.
12301 * math/libm-test.inc (cacos_test): Add more tests.
12302 * sysdeps/i386/fpu/libm-test-ulps: Update.
12303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12304
2a26ef3a
PT
123052013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12306
12307 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12308 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12309 [!HAVE_MREMAP]: Remove [defined linux] case.
12310 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12311
a897655d
SP
123122013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12313
12314 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12315
881ebe89 123162013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
12317
12318 * elf/elf.h (R_386_SIZE32): New relocation.
12319 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12320 R_386_SIZE32.
12321 (elf_machine_rela): Likewise.
12322 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12323 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12324
59981e9b
JM
123252013-01-17 Joseph Myers <joseph@codesourcery.com>
12326
12327 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12328 (FP_FAST_FMA): Do not define.
12329 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12330 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12331 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12332 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12333 !_SOFT_FLOAT]: Likewise.
12334 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12335 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12336 value.
12337 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12338 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12339 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12340 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12341 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12342 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12343 file.
12344
cfa8054f
AS
123452013-01-16 Andreas Schwab <schwab@suse.de>
12346
12347 [BZ #14327]
12348 * include/stdlib.h (__mktemp): Add declaration.
12349 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12350 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12351
dd930cc5
SP
123522013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12353
881ebe89
SP
12354 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12355 definitions.
12356 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12357 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12358 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12359 definitions here.
12360 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12361 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12362 definitions.
12363 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12364 and ONE.
12365 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12366 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12367 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12368 definitions.
12369 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12370 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12371 definitions.
12372 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 12373
dd930cc5
SP
12374 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12375
c19a9f89
DM
123762013-01-15 David S. Miller <davem@davemloft.net>
12377
1aa61767
DM
12378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12379 trunc{,f} to libm-sysdep_routes.
12380 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12382 file.
12383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12385 file.
12386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12387 file.
12388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12390 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12391 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12392 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12393 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12394 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12395 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12396
c42d5e98
DM
12397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12398 nearbyint{,f} to libm-sysdep_routes.
12399 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12401 New file.
12402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12403 file.
12404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12405 New file.
12406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12407 file.
12408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12410 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12411 file.
12412 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12413 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12414 file.
12415 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12416 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12417 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12418
c19a9f89
DM
12419 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12420 libc_feholdexcept and libc_fesetenv.
12421
357679d2
MF
124222013-01-15 Mike Frysinger <vapier@gentoo.org>
12423
12424 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12425
65a82e3d
DM
124262013-01-14 David S. Miller <davem@davemloft.net>
12427
8b954ab9
DM
12428 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12429 (SPARC_ASM_VIS2_IFUNC): Likewise.
12430 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12432 use of 'siam' instruction.
12433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12434 Likewise.
12435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12436 Likewise.
12437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12438 Likewise.
12439 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12440 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12441 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12442 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12444 file.
12445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12446 file.
12447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12448 file.
12449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12450 file.
12451 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12452 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12453 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12454 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12456 new VIS2 routines.
12457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12460 Likewise.
12461 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12462 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12463 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12464 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12466 routines to libm-sysdep_routines.
12467 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12468
65a82e3d
DM
12469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12470 fdim/fdimf to libm-sysdep_routines.
12471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12472 file.
12473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12475 file.
12476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12479 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12480 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12481 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12482 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12483
e34ab705
SP
124842013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12485
2a91b573
SP
12486 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12487 to optimize copies.
12488
1066a534
SP
12489 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12492
e34ab705
SP
12493 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12494 local variable MPTWO.
12495 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12496 Likewise.
12497
aba5e596
MF
124982013-01-13 Mike Frysinger <vapier@gentoo.org>
12499
12500 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12501 GLOB_NOESCAPE.
12502
e557e9e5
MF
125032013-01-13 Mike Frysinger <vapier@gentoo.org>
12504
12505 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12506
0428cec9
MF
125072013-01-13 Mike Frysinger <vapier@gentoo.org>
12508
12509 * manual/pattern.texi (glob_t): Document gl_flags.
12510 (glob64_t): Likewise.
12511
8794a964
DM
125122013-01-11 David S. Miller <davem@davemloft.net>
12513
66438c3f
RM
12514 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12515 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12516 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
12517 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12518 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12519 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12520 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12521 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12522 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12523 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12524 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12525 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12526 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12527
4ae4244d
DM
12528 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12529 sparc V9 rather than using V8 code.
12530 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12531 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12532
8794a964
DM
12533 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12534 Move to...
12535 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12536 Here.
12537
6270516e
RM
125382013-01-11 Roland McGrath <roland@hack.frob.com>
12539
12540 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12541 not in the main loop.
12542 * configure: Regenerated.
12543
6a57d931
JM
125442013-01-11 Joseph Myers <joseph@codesourcery.com>
12545
12546 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12547 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12548 to just #else.
12549 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12550 [!__GLIBC_HAVE_LONG_LONG] case.
12551 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12552 condition to just #else.
12553 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12554 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12555 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12556 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12557 unconditional.
12558 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12559 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12560 #elif condition to just #else.
12561 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12562 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12563 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12564 #elif condition to just #else.
12565
0e8529e9
SE
125662013-01-11 Steve Ellcey <sellcey@mips.com>
12567
12568 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12569 (EF_MIPS_ARCH_64): Fix value.
12570 (EF_MIPS_ARCH_32R2): New.
12571 (EF_MIPS_ARCH_64R2): New.
12572
740b3dbe
L
125732013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12574
12575 * Makeconfig (+link-pie-before-libc): New.
12576 (+link-pie-after-libc): Likewise.
12577 (+link-pie-tests): Likewise.
12578 (+link-pie): Rewritten.
12579 (link-before-libc): Remove $(config-LDFLAGS).
12580 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12581 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12582 (config-LDFLAGS): Renamed to ...
12583 (rtld-LDFLAGS): This.
12584 (rtld-tests-LDFLAGS): New macro.
12585 (link-libc-rpath-link): Likewise.
12586 (link-libc-tests-rpath-link): Likewise.
12587 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12588 (link-libc): Prepand $(link-libc-rpath-link).
12589 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12590 (test-program-prefix): New macro.
12591 (test-via-rtld-prefix): Likewise.
12592 (test-program-cmd): Likewise.
12593 (host-test-program-cmd): Likewise.
12594 * Makefile ($(common-objpfx)testrun.sh): Replace
12595 $(run-program-prefix) with $(test-program-prefix).
12596 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12597 $(rtld-LDFLAGS).
12598 ($(common-objpfx)shlib.lds): Likewise.
12599 (build-module-helper): Likewise.
12600 ($(common-objpfx)format.lds): Likewise.
12601 * Rules (binaries-pie-tests): New.
12602 (binaries-pie-notests): Likewise.
12603 (binaries-pie): Rewritten.
12604 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12605 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12606 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12607 (make-test-out): Replace $(host-built-program-cmd) with
12608 $(host-test-program-cmd).
12609 * config.make.in (build-hardcoded-path-in-tests): New variable.
12610 * configure.in (--enable-hardcoded-path-in-tests): New configure
12611 option.
12612 (hardcoded_path_in_tests): New AC_SUBST.
12613 * configure: Regenerated.
12614 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12615 $(built-program-cmd) with $(test-program-cmd).
12616 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12617 (test_program_cmd): This.
12618 * elf/Makefile ($(objpfx)order.out): Run test with
12619 $(test-program-prefix).
12620 ($(objpfx)order2.out): Likewise.
12621 ($(objpfx)tst-initorder.out): Likewise.
12622 ($(objpfx)tst-initorder2.out): Likewise.
12623 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12624 $(test-program-cmd).
12625 ($(objpfx)tst-array1-static.out): Likewise.
12626 ($(objpfx)tst-array2.out): Likewise.
12627 ($(objpfx)tst-array3.out): Likewise.
12628 ($(objpfx)tst-array4.out): Likewise.
12629 ($(objpfx)tst-array5.out): Likewise.
12630 ($(objpfx)tst-array5-static.out): Likewise.
12631 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12632 $(test-program-cmd).
12633 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12634 $(run-program-prefix) with $(test-program-prefix).
12635 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12636 (test_program_prefix): This.
12637 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12638 $(run-program-prefix) with $(test-program-prefix).
12639 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12640 (test_program_prefix): This.
12641 * iconvdata/tst-tables.sh: Likewise.
12642 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12643 $(run-program-prefix) with $(test-program-prefix).
12644 ($(objpfx)tst-translit.out): Likewise.
12645 ($(objpfx)tst-gettext2.out): Likewise.
12646 ($(objpfx)tst-gettext4.out): Likewise.
12647 ($(objpfx)tst-gettext6.out): Likewise.
12648 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12649 (test_program_prefix): This.
12650 * intl/tst-gettext2.sh: Likewise.
12651 * intl/tst-gettext4.sh Likewise.
12652 * intl/tst-gettext6.sh: Likewise.
12653 * intl/tst-translit.sh: Likewise.
12654 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12655 with $(test-program-cmd).
12656 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12657 $(run-program-prefix) with $(test-program-prefix).
12658 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12659 (test_program_prefix): This.
12660 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12661 $(run-program-prefix) with $(test-program-prefix).
12662 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12663 (test_program_prefix): This.
12664 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12665 * posix/Makefile ($(objpfx)globtest.out): Replace
12666 $(run-via-rtld-prefix) and $(test-wrapper) with
12667 $(test-program-prefix) and $(test-via-rtld-prefix).
12668 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12669 $(test-program-prefix).
12670 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12671 $(host-test-program-cmd).
12672 (tst-spawn-ARGS): Likewise.
12673 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12674 $(test-program-prefix).
12675 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12676 (test_via_rtld_prefix): This.
12677 (test_wrapper): Renamed to ...
12678 (test_program_prefix): This.
12679 (run_program_prefix): Replaced by test_program_prefix.
12680 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12681 (test_program_prefix): This.
12682 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12683 with $(host-test-program-cmd).
12684 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12685 $(run-program-prefix) with $(test-program-prefix).
12686 ($(objpfx)tst-printf.out): Likewise.
12687 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12688 $(test-program-cmd).
12689 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12690 (test_program_prefix): This.
12691 * stdio-common/tst-unbputc.sh: Likewise.
12692 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12693 $(run-program-prefix) with $(test-program-prefix).
12694 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12695 (test_program_prefix): This.
12696 * string/Makefile ($(objpfx)tst-svc.out): Replace
12697 $(built-program-cmd) with $(test-program-cmd).
12698
c6fe55cf
AJ
126992013-01-11 Andreas Jaeger <aj@suse.de>
12700
12701 [BZ #15003]
12702 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12703 value. Sync with Linux 3.7.
12704
9e6919c8
DM
127052013-01-10 David S. Miller <davem@davemloft.net>
12706
12707 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12708 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12709 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12710
1c9f1a02
RM
127112013-01-10 Roland McGrath <roland@hack.frob.com>
12712
12713 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12714 never set.
12715 * configure: Regenerated.
12716
b9de2dde
DM
127172013-01-10 David S. Miller <davem@davemloft.net>
12718
12719 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12720 sparc V9 rather than using V8 code.
12721 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12722 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12723
e7f68ef4
RM
127242013-01-10 Roland McGrath <roland@hack.frob.com>
12725
12726 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12727 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12728 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12729 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12730 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12731 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12732 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12733 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12734 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12735 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12736 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12737 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12738 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12739 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12740 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12741 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12742 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12743 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12744 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12745 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12746 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12747 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12748 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12749 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12750 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12751 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12752 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12753
5a47cc9c
DM
127542013-01-10 David S. Miller <davem@davemloft.net>
12755
12756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12757
4cf8f209
L
127582013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12759
12760 * posix/Makefile (tests-static): New variable.
12761 (tests): Add $(tests-static).
12762 (tst-exec-static-ARGS): New variable.
12763 (tst-spawn-static-ARGS): Likewise.
12764 * posix/tst-exec-static.c: New file.
12765 * posix/tst-spawn-static.c: Likewise.
12766 * posix/tst-exec.c: Support run directly.
12767 * posix/tst-spawn.c: Likewise.
12768
fed0faa1
JM
127692013-01-10 Joseph Myers <joseph@codesourcery.com>
12770
828beb13
JM
12771 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12772 long.
12773 * math/bits/mathcalls.h (llrint): Likewise.
12774 (llround): Likewise.
12775 * stdlib/stdlib.h (struct drand48_data): Likewise.
12776 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12777 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12778 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12779 Likewise.
12780 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12781 Likewise.
12782 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12783 (elf_greg_t): Likewise.
12784 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12785 (__jmp_buf): Likewise.
12786 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12787 definitions.
12788 (llrint): Likewise, for all definitions.
12789 (llrintl): Likewise.
12790
fed0faa1
JM
12791 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12792 Remove [__GNUC__] condition.
12793 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12794 condition to just [__USE_ISOC99].
12795 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12796
1a20cb20
L
127972013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12798
12799 [BZ #14200]
12800 * sysdeps/unix/sysv/linux/x86/bits/environments.h
12801 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12802 defined.
12803 (_POSIX_V6_ILP32_OFF32): Likewise.
12804 (_XBS5_ILP32_OFF32): Likewise.
12805 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12806 (__ILP32_OFFBIG_LDFLAGS): Likewise.
12807
751b85f7
SP
128082013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12809
7490eb81
SP
12810 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12811
751b85f7
SP
12812 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12813 doubles __mpexp_twomm1. Adjust usage.
12814 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12815 Remove.
12816
988197f0
AS
128172013-01-10 Andreas Schwab <schwab@suse.de>
12818
12819 [BZ #14964]
12820 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12821 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12822
e83d7298
DM
128232013-01-09 David S. Miller <davem@davemloft.net>
12824
034ed64b 12825 [BZ #15003]
e83d7298
DM
12826 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12827 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12828 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12829 TCP_FASTOPEN): Define.
12830 (tcp_repair_opt): New structure.
12831 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12832 enum values.
12833 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12834 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12835 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12836 (tcp_cookie_transactions): New structure.
12837
d5e0b9bd
AB
128382013-01-09 Anton Blanchard <anton@samba.org>
12839
12840 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12841 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12842 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12843 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12844
0c07e3ea
JM
128452013-01-09 Joseph Myers <joseph@codesourcery.com>
12846
12847 * include/features.h (__USE_ANSI): Remove.
12848
232f7002
RM
128492013-01-09 Roland McGrath <roland@hack.frob.com>
12850
ad98e30c
RM
12851 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12852
232f7002
RM
12853 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12854
950c99ca
SP
128552013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12856
b5792741
SP
12857 * sysdeps/s390/fpu/libm-test-ulps: Update.
12858
47cf2278
SP
12859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12860
950c99ca
SP
12861 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12862 (__acr): Likewise.
12863 (__cpy): Likewise.
12864 (norm): Likewise.
12865 (denorm): Likewise.
12866 (__mp_dbl): Likewise.
12867 (__dbl_mp): Likewise.
12868 (add_magnitudes): Likewise.
12869 (sub_magnitudes): Likewise.
12870 (__add): Likewise.
12871 (__sub): Likewise.
12872 (__mul): Likewise.
12873 (__inv): Likewise.
12874 (__dvd): Likewise.
12875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12876 (__acr): Likewise.
12877 (__cpy): Likewise.
12878 (norm): Likewise.
12879 (denorm): Likewise.
12880 (__mp_dbl): Likewise.
12881 (__dbl_mp): Likewise.
12882 (add_magnitudes): Likewise.
12883 (sub_magnitudes): Likewise.
12884 (__add): Likewise.
12885 (__sub): Likewise.
12886 (__mul): Likewise.
12887 (__inv): Likewise.
12888 (__dvd): Likewise.
12889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12890 (__acr): Likewise.
12891 (__cpy): Likewise.
12892 (norm): Likewise.
12893 (denorm): Likewise.
12894 (__mp_dbl): Likewise.
12895 (__dbl_mp): Likewise.
12896 (add_magnitudes): Likewise.
12897 (sub_magnitudes): Likewise.
12898 (__add): Likewise.
12899 (__sub): Likewise.
12900 (__mul): Likewise.
12901 (__inv): Likewise.
12902 (__dvd): Likewise.
12903
eede9df9
JM
129042013-01-08 Joseph Myers <joseph@codesourcery.com>
12905
12906 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12907 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12908 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12909 2 && __USE_EXTERN_INLINES]: Likewise.
12910
c40ea3d9
AJ
129112013-01-08 Andreas Jaeger <aj@suse.de>
12912
12913 [BZ# 14985]
12914 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12915 Remove.
12916 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12917 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12918
2ccdea26
AB
129192013-01-07 Anton Blanchard <anton@samba.org>
12920
12921 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12922 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12923 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12924 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12925 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12926 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12927 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12928 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12929 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12930 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12931 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12932 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12933 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12934 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12935 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12936 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12937 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12938 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12939 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12940 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12941 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12942 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12943 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12944 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12945 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12946 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12947 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12948 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12949 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12950 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12951 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12953 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12954 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12955 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12956 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12957 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12958 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12959 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12960 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12961 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12962 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12963 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12964
a9708fed
JM
129652013-01-07 Joseph Myers <joseph@codesourcery.com>
12966
375607b9
JM
12967 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12968 (__MALLOC_PMT): Likewise.
12969 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12970 [__GNUC__], only on [_LIBC].
12971 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12972 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12973 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12974 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12975 forward declaration.
12976 (realloc_hook_ini): Likewise.
12977 (memalign_hook_ini): Likewise.
12978 (__libc_memalign): Do not use __MALLOC_PMT in variable
12979 declaration.
12980 (__libc_valloc): Likewise.
12981 (__libc_pvalloc): Likewise.
12982 (__libc_calloc): Likewise.
12983 (__posix_memalign): Likewise.
12984
a9708fed
JM
12985 [BZ #14996]
12986 * math/s_casinh.c: Include <float.h>.
12987 (__casinh): Do not do computation with squaring and square root
12988 for large arguments.
12989 * math/s_casinhf.c: Include <float.h>.
12990 (__casinhf): Do not do computation with squaring and square root
12991 for large arguments.
12992 * math/s_casinhl.c: Include <float.h>.
12993 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12994 (__casinhl): Do not do computation with squaring and square root
12995 for large arguments.
12996 * math/libm-test.inc (casin_test): Add more tests.
12997 (casinh_test): Likewise.
12998 * sysdeps/i386/fpu/libm-test-ulps: Update.
12999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13000
afec409a
L
130012013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13002
13003 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13004 (__x86_64_raw_data_cache_size): Likewise.
13005 (__x86_64_data_cache_size_half): Likewise.
13006 (__x86_64_raw_data_cache_size_half): Likewise.
13007 (__x86_64_shared_cache_size): Likewise.
13008 (__x86_64_raw_shared_cache_size): Likewise.
13009 (__x86_64_shared_cache_size_half): Likewise.
13010 (__x86_64_raw_shared_cache_size_half): Likewise.
13011 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13012 to ...
13013 (__x86_data_cache_size): This.
13014 (__x86_64_raw_data_cache_size): Renamed to ...
13015 (__x86_raw_data_cache_size): This.
13016 (__x86_64_data_cache_size_half): Renamed to ...
13017 (__x86_data_cache_size_half): This.
13018 (__x86_64_raw_data_cache_size_half): Renamed to ...
13019 (__x86_raw_data_cache_size_half): This.
13020 (__x86_64_shared_cache_size): Renamed to ...
13021 (__x86_shared_cache_size): This.
13022 (__x86_64_raw_shared_cache_size): Renamed to ...
13023 (__x86_raw_shared_cache_size): This.
13024 (__x86_64_shared_cache_size_half): Renamed to ...
13025 (__x86_shared_cache_size_half): This.
13026 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13027 (__x86_raw_shared_cache_size_half): This.
13028 * sysdeps/x86_64/memcpy.S: Updated.
13029 * sysdeps/x86_64/memset.S: Likewise.
13030 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13031 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13032 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13033
0b3986d0
DM
130342013-01-04 David S. Miller <davem@davemloft.net>
13035
13036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13037
e47686e9
AS
130382013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13039
d643bac1
AS
13040 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13041 1 to avoid redefinition warning.
13042 (__USE_GNU): Don't define.
13043 (init_signaling_nan): Protoize.
13044
e47686e9
AS
13045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13046
b18decba
SP
130472013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13048
fffb407f
SP
13049 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13050 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13051 (__cpymn): Likewise.
13052 (norm): Remove commented code.
13053 (denorm): Likewise.
13054 (__mp_dbl): Likewise.
13055 (__inv): Likewise.
13056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13057 (__cpymn): Likewise.
13058 (norm): Remove commented code.
13059 (denorm): Likewise.
13060 (__mp_dbl): Likewise.
13061 (__inv): Likewise.
13062
b18decba
SP
13063 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13064 mp_no value for 1.0 and 2.0.
13065 (norm): Use RADIXI instead of radixi.d.
13066 (denorm): Likewise.
13067 (__mul): Use 0.0 instead of zero.d.
13068 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13069 mp_no value for 1.0 and 2.0.
13070 (norm): Use RADIXI instead of radixi.d.
13071 (denorm): Likewise.
13072 (__mul): Use 0.0 instead of zero.d.
13073
cdc1c96f
JM
130742013-01-04 Joseph Myers <joseph@codesourcery.com>
13075
13076 [BZ #14994]
13077 * math/s_casinh.c (__casinh): Reduce finite argument to first
13078 quadrant then set signs of results at the end.
13079 * math/s_casinhf.c (__casinhf): Likewise.
13080 * math/s_casinhl.c (__casinhl): Likewise.
13081 * math/libm-test.inc (casin_test): Add more tests.
13082 (casinh_test): Likewise.
13083 * sysdeps/i386/fpu/libm-test-ulps: Update.
13084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13085
302913e1
SP
130862013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13087
6420d207
SP
13088 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13089
a9e48ab4
SP
13090 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13091
b7837264
SP
13092 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13093 declarations.
13094 (denorm): Likewise.
13095 (__mp_dbl): Likewise.
13096 (__inv): Likewise.
13097
f8af25d2
SP
13098 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13099 and adjust the header comment.
13100
302913e1
SP
13101 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13102 variable name from declaration.
13103
5d7dd1ca
L
131042013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13105
13106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13107 Initialize COMMON_CPUID_INDEX_7 element.
13108 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13109 (CPUID_RTM): Likewise.
13110 (HAS_RTM): Likewise.
13111 (COMMON_CPUID_INDEX_7): New enum.
13112
2f5f40f4
AS
131132013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13114
13115 [BZ #14981]
13116 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13117 size is zero, record memory as freed.
13118
4056f4a0
AJ
131192013-01-03 Andreas Jaeger <aj@suse.de>
13120
13121 * po/ia.po: Add new Interlingua translation.
13122
ab15736f 131232012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
13124
13125 * locale/programs/localedef.c: Fix description of '--posix' flag.
13126
568035b7
JM
131272013-01-02 Joseph Myers <joseph@codesourcery.com>
13128
e6898b8d
JM
13129 * NEWS: Update dates in second copyright notice.
13130 * README: Update copyright dates in example.
13131 * manual/libc.texinfo: Update copyright dates.
13132 * scripts/test-installation.pl: Update copyright date in --version
13133 output.
13134
0e2f9562
JM
13135 * hurd/ctty-input.c: Fix copyright notice formatting.
13136 * hurd/ctty-output.c: Likewise.
13137 * hurd/dtable.c: Likewise.
13138 * hurd/hurd-raise.c: Likewise.
13139 * hurd/hurdprio.c: Likewise.
13140 * hurd/msgportdemux.c: Likewise.
13141 * misc/sys/file.h: Likewise.
13142 * misc/sys/ioctl.h: Likewise.
13143 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13144 * sysdeps/mach/hurd/chdir.c: Likewise.
13145 * sysdeps/mach/hurd/fchdir.c: Likewise.
13146 * sysdeps/mach/hurd/rename.c: Likewise.
13147 * sysdeps/mach/hurd/rmdir.c: Likewise.
13148 * sysdeps/mach/hurd/seekdir.c: Likewise.
13149 * sysdeps/mach/hurd/setsid.c: Likewise.
13150 * sysdeps/posix/wait3.c: Likewise.
13151
568035b7
JM
13152 * All files with FSF copyright notices: Update copyright dates
13153 using scripts/update-copyrights.
13154 * intl/plural.c: Regenerated.
13155 * locale/programs/charmap-kw.h: Likewise.
13156 * locale/programs/locfile-kw.h: Likewise.
13157
da08f647
SP
131582013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13159
0f5477af
SP
13160 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13161 four values.
13162
44e0d4c2
SP
13163 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13164 calculation loop and add branch prediction.
13165
4d55b4e5
SP
13166 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13167 check access beyond bounds of m1np.
13168
da08f647
SP
13169 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13170 MPTWO.
13171 (__inv): Remove local variable MPTWO to use the global
13172 constant.
13173 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13174 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13175 variable MPTWO.
13176 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13177 MP3HALFS static const.
13178
8e051029
DM
131792013-01-01 David S. Miller <davem@davemloft.net>
13180
13181 * po/ca.po: Update from translation team.
13182
f4cf5f2d
JM
131832013-01-01 Joseph Myers <joseph@codesourcery.com>
13184
13185 * scripts/update-copyrights: New file.
13186 * Makeconfig: Reformat copyright notice.
13187 * ctype/ctype.h: Likewise.
13188 * debug/swprintf_chk.c: Likewise.
13189 * elf/dl-cache.c: Likewise.
13190 * elf/dl-debug.c: Likewise.
13191 * elf/dl-object.c: Likewise.
13192 * grp/initgroups.c: Likewise.
13193 * hurd/Makefile: Likewise.
13194 * hurd/hurd/signal.h: Likewise.
13195 * hurd/hurdfault.c: Likewise.
13196 * hurd/hurdioctl.c: Likewise.
13197 * hurd/hurdlookup.c: Likewise.
13198 * hurd/intr-msg.c: Likewise.
13199 * iconv/gconv_open.c: Likewise.
13200 * libio/swprintf.c: Likewise.
13201 * locale/lc-ctype.c: Likewise.
13202 * locale/nl_langinfo.c: Likewise.
13203 * mach/Machrules: Likewise.
13204 * mach/Makefile: Likewise.
13205 * malloc/obstack.h: Likewise.
13206 * manual/Makefile: Likewise.
13207 * manual/tsort.awk: Likewise.
13208 * misc/bits/stab.def: Likewise.
13209 * nis/nis_print_group_entry.c: Likewise.
13210 * nis/nis_table.c: Likewise.
13211 * nis/nss_compat/compat-pwd.c: Likewise.
13212 * nis/nss_compat/compat-spwd.c: Likewise.
13213 * po/Makefile: Likewise.
13214 * posix/fnmatch.c: Likewise.
13215 * posix/regex.h: Likewise.
13216 * resolv/Makefile: Likewise.
13217 * resolv/nss_dns/dns-network.c: Likewise.
13218 * resolv/res_hconf.c: Likewise.
13219 * scripts/gen-sorted.awk: Likewise.
13220 * soft-fp/soft-fp.h: Likewise.
13221 * stdio-common/printf.h: Likewise.
13222 * stdlib/monetary.h: Likewise.
13223 * stdlib/random.c: Likewise.
13224 * stdlib/random_r.c: Likewise.
13225 * sysdeps/generic/Makefile: Likewise.
13226 * sysdeps/gnu/Makefile: Likewise.
13227 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13228 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13229 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13230 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13231 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13232 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13233 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13234 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13235 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13236 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13237 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13238 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13239 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13240 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13241 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13242 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13243 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13244 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13245 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13246 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13247 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13248 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13249 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13250 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13251 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13252 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13253 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13254 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13255 * sysdeps/mach/hurd/errnos.awk: Likewise.
13256 * sysdeps/mach/hurd/fork.c: Likewise.
13257 * sysdeps/mach/hurd/getcwd.c: Likewise.
13258 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13259 * sysdeps/mach/hurd/mmap.c: Likewise.
13260 * sysdeps/mach/hurd/utimes.c: Likewise.
13261 * sysdeps/mach/hurd/xmknod.c: Likewise.
13262 * sysdeps/posix/profil.c: Likewise.
13263 * sysdeps/posix/readdir_r.c: Likewise.
13264 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13265 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13266 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13267 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13268 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13269 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13270 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13271 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13273 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13274 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13275 * sysdeps/pthread/lio_listio.c: Likewise.
13276 * sysdeps/sparc/dl-procinfo.h: Likewise.
13277 * sysdeps/unix/i386/sysdep.S: Likewise.
13278 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13279 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13280 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13281 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13283 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13284 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13285 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13286 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13287 * sysdeps/wordsize-32/divdi3.c: Likewise.
13288 * time/sys/time.h: Likewise.
13289 * wcsmbs/Makefile: Likewise.
13290
0549fbba
DM
132912013-01-01 David S. Miller <davem@davemloft.net>
13292
a141f1a7
DM
13293 * po/fr.po: Update from translation team.
13294
0549fbba
DM
13295 * catgets/gencat.c: Update copyright year.
13296 * csu/version.c: Likewise.
13297 * debug/catchsegv.sh: Likewise.
13298 * debug/pcprofiledump.c: Likewise.
13299 * debug/xtrace.sh: Likewise.
13300 * elf/ldconfig.c: Likewise.
13301 * elf/ldd.bash.in: Likewise.
13302 * elf/pldd.c: Likewise.
13303 * elf/sotruss.ksh: Likewise.
13304 * elf/sprof.c: Likewise.
13305 * iconv/iconv_prog.c: Likewise.
13306 * iconv/iconvconfig.c: Likewise.
13307 * locale/programs/locale.c: Likewise.
13308 * locale/programs/localedef.c: Likewise.
13309 * login/programs/pt_chown.c: Likewise.
13310 * malloc/memusage.sh: Likewise.
13311 * malloc/memusagestat.c: Likewise.
13312 * malloc/mtrace.pl: Likewise.
13313 * nscd/nscd.c: Likewise.
13314 * nss/getent.c: Likewise.
13315 * nss/makedb.c: Likewise.
13316 * posix/getconf.c: Likewise.
13317
18ea052c
SP
133182012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13319
13320 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13321 numbers.
13322
9c89fca6
MF
133232012-12-30 Mike Frysinger <vapier@gentoo.org>
13324
13325 * math/bits/mathcalls.h (modf): Use __nonnull.
13326
085ec079
SP
133272012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13328
13329 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13330 (split): Use macro CN instead of the bare value.
13331 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13332 could be used.
13333 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13334 instead of the bare value.
13335 (power1): Likewise.
13336
6d9f97e1
SP
133372012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13338
d63f73be
SP
13339 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13340 __ATAN_TWOM.
13341 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13342
6d9f97e1
SP
13343 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13344 their values.
13345 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13346 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13347 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13348 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13349
4c4febf5
AJ
133502012-12-28 Andreas Jaeger <aj@suse.de>
13351
af5843ef
AJ
13352 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13353 values are from Linux 3.7.
13354
4c4febf5
AJ
13355 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13356 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13357
99136f82
SP
133582012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13359
2f216c3c 13360 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
13361 TRUE case.
13362
99136f82
SP
13363 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13364 (norm): Likewise.
13365 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13366 variables with preprocessor constants.
13367 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13368 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13369 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13370
7fffbdff
BH
133712012-12-27 Bruno Haible <bruno@clisp.org>
13372
13373 [BZ #14317]
13374 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13375 only if needed.
13376
b76eb5f0
SP
133772012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13378
31a7fe5c
SP
13379 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13380 and use variable directly.
13381 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13382
b76eb5f0
SP
13383 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13384 MPONE.
13385 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13386 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13387 variable MPONE.
13388 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13389 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13390 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13391 include directive. Remove local variable MPONE.
13392 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13393 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13394 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13395
2c8bfe7d
DM
133962012-12-25 David S. Miller <davem@davemloft.net>
13397
13398 * version.h (RELEASE): Set to "development".
13399 (VERSION): Set to "2.17.90".
13400 * NEWS: Add 2.18 section.
13401
147d03b0
DM
134022012-12-21 David S. Miller <davem@davemloft.net>
13403
13404 * po/hr.po: Update from translation team.
13405
a8ebb2b9
AK
134062012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13407
13408 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13409
95b4f1b6
SE
134102012-12-19 Steve Ellcey <sellcey@mips.com>
13411
b2d94007 13412 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 13413
cedb2a90
MS
134142012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13415
13416 * manual/contrib.texi (Contributors): Spelling correction.
13417
bbf527d6
DM
134182012-12-15 David S. Miller <davem@davemloft.net>
13419
13420 * po/ru.po: Update from translation team.
13421
bc38c906
DM
134222012-12-13 David S. Miller <davem@davemloft.net>
13423
85429b1a
DM
13424 * NEWS: Mention IFUNC testsuite enhancements.
13425
d283e353
DM
13426 * po/pl.po: Update from translation team.
13427 * po/bg.po: Likewise.
13428
bc38c906
DM
13429 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13430 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13431
a181b0d7
DM
134322012-12-11 David S. Miller <davem@davemloft.net>
13433
4641d57e
DM
13434 * po/sv.po: Update from translation team.
13435
f7bc6495
DM
13436 * po/vi.po: Update from translation team.
13437
6fc9048f
DM
13438 * po/cs.po: Update from translation team.
13439
a181b0d7
DM
13440 * po/de.po: Update from translation team.
13441 * po/eo.po: Likewise.
13442 * po/nl.po: Likewise.
13443
f70bfe80
SP
134442012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13445
3c8b4190
SP
13446 [BZ #14246]
13447 * manual/argp.texi (Argp Helper Functions): Move node to follow
13448 Argp Parsing State.
13449
f70bfe80
SP
13450 [BZ #14872]
13451 * manual/conf.texi (Limits on File System Capacity): Mention if
13452 terminating null is included in the max size.
13453
188f0adf
AJ
134542012-12-10 Andreas Jaeger <aj@suse.de>
13455
13456 * po/cs.po: Update from translation team.
13457
56e7d3ad
SP
134582012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13459
13460 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13461 void pointer and cast to uintptr_t.
13462 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13463 path.
13464 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13465 * sysdeps/s390/s390-64/memset.S: Likewise.
13466
76f2d2ea 134672012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
13468
13469 [BZ #14833]
13470 * menual/message.texi (Message Translation): Fix typos.
13471 (Helper programs for gettext): Likewise.
13472
67cbf9a2
AS
134732012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13474
13475 [BZ #14898]
13476 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13477 Change to -1.
13478
682d0e9a
DM
134792012-12-07 David S. Miller <davem@davemloft.net>
13480
13481 * po/libc.pot: Update.
13482
573cd484
RH
134832012-12-07 Richard Henderson <rth@redhat.com>
13484
7e9da188 13485 [BZ #10114]
573cd484
RH
13486 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13487 normal/normal case to before the switch.
13488 (_FP_DIV): Likewise.
13489
e933a943
MF
134902012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13491 Mike Frysinger <vapier@gentoo.org>
13492
13493 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13494 check for __NR_fadvise64_64.
13495
82123268
CM
134962012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13497
13498 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13499 0, not just to plain "0" as a statement.
13500 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13501 with cw.
13502
d9814526
JM
135032012-12-06 Joseph Myers <joseph@codesourcery.com>
13504
13505 * NEWS: Use sourceware.org in Bugzilla URL.
13506
7728c574
SP
135072012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13508
f16946dd
SP
13509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13510 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13511
5704bbcb
SP
13512 * stdio-common/tst-put-error.c (do_test): Add newline to the
13513 padded test to ensure flush.
13514
17aa0516
JL
135152012-12-05 Jeff Law <law@redhat.com>
13516
13517 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13518
363313b5
JM
135192012-12-05 Joseph Myers <joseph@codesourcery.com>
13520
effbd42a
JM
13521 * README: Don't refer to ports add-on as distributed separately.
13522 Mention AArch64 in list of systems supported in the ports add-on.
13523
87600365
JM
13524 * LICENSES: Add more non-FSF copyright and license notices.
13525
a0d7066a
JM
13526 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13527 ((unused)).
13528
66ca5a5b
JM
13529 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13530
363313b5
JM
13531 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13532 10000 as width of padded output.
13533
b37984ad
JM
135342012-12-04 Joseph Myers <joseph@codesourcery.com>
13535
9003570a
JM
13536 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13537
b37984ad
JM
13538 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13539 variable LX with __attribute__ ((unused)).
13540 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13541 Likewise.
13542 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13543 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13544 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13545 with __attribute__ ((unused)).
13546
c8df52ec
DM
135472012-12-04 David S. Miller <davem@abraco.davemloft.net>
13548
13549 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13550
b3b099af
JM
135512012-12-04 Joseph Myers <joseph@codesourcery.com>
13552
c33aa6e3
JM
13553 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13554 (CFLAGS-nldbl-acos.c): New variable.
13555 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13556 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13557 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13558 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13559 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13560 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13561 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13562 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13563 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13564 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13565 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13566 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13567 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13568 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13569 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13570 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13571 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13572 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13573 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13574 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13575 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13576 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13577 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13578 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13579 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13580 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13581 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13582 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13583 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13584 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13585 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13586 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13587 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13588 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13589 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13590 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13591 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13592 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13593 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13594 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13595 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13596 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13597 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13598 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13599 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13600 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13601 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13602 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13603 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13604 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13605 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13606 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13607 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13608 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13609 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13610 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13611 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13612 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13613 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13614 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13615 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13616 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13617 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13618 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13619 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13620 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13621 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13622 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13623 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13624 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13625 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13626 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13627 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13628 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13629 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13630 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13631 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13632 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13633 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13634 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13635 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13636 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13637 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13638 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13639 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13640 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13641 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13642 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13643 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13644 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13645 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13646 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13647 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13648 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13649 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13650 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13651 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13652
20f0018d
JM
13653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13654 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13655
b3b099af
JM
13656 [BZ #14914]
13657 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13658 whole low double instead of just low 47 bits when splitting values
13659 into two parts.
13660
029264d1
AM
136612012-12-03 Allan McRae <allan@archlinux.org>
13662
13663 * manual/stdio.texi (Predefined Printf Handlers): Remove
13664 @hsep and @vsep usage.
13665
c9d6789e
MF
136662012-12-03 Mike Frysinger <vapier@gentoo.org>
13667
13668 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13669 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13670
4b7634a5
JL
136712012-12-03 Jeff Law <law@redhat.com>
13672
13673 * time/sys/time.h (settimeofday): Do not mark TV argument
13674 as __nonnull.
13675
eb6cbd24
MF
136762012-12-01 Mike Frysinger <vapier@gentoo.org>
13677
13678 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13679 when currently writing and seek to current position when not.
13680 * libio/Makefile (tests): Remove bug-fclose1.
13681 * libio/bug-fclose1.c: Delete.
13682
f638872a
JM
136832012-12-01 Joseph Myers <joseph@codesourcery.com>
13684
13685 * manual/arith.texi (feenableexcept): Fix typo.
13686 (fedisableexcept): Likewise.
13687
48085d14
RM
136882012-11-30 Roland McGrath <roland@hack.frob.com>
13689
13690 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13691 second, differently-typed declaration, rather than a cast.
13692
1a538b9f
SP
136932012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13694
13695 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13696 * include/rpc/svc.h: ... here.
13697
d07f2ff1 136982012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
13699
13700 [BZ #13013]
13701 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13702 depending n and resplen2 to catch cases where answer
13703 equals answerp2.
13704
c93ec1f0
CD
137052012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13706
13707 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13708 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13709
37db69de
MF
137102012-11-29 Mike Frysinger <vapier@gentoo.org>
13711
13712 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13713
e10c4e4f
RM
137142012-11-29 Roland McGrath <roland@hack.frob.com>
13715
13716 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13717
2af1b328
JL
137182012-11-28 Jeff Law <law@redhat.com>
13719
13720 [BZ #13761]
13721 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13722 dataset_temporary. Track alloca usage into alloca_used.
13723 If dataset is large allocate and release it via malloc/free.
13724
111db5b1
FW
137252012-06-04 Florian Weimer <fweimer@redhat.com>
13726
f06cc227 13727 [BZ #14197]
111db5b1
FW
13728 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13729
dd694abd
DM
137302012-11-28 David S. Miller <davem@davemloft.net>
13731
13732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13733
9984dd01
JM
137342012-11-28 Joseph Myers <joseph@codesourcery.com>
13735
13736 [BZ #14803]
13737 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13738 of pi/2 rounded to nearest to 64 bits.
13739 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13740 nearest to 64 bits.
13741 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13742 bits.
13743
14bc93a9
JL
137442012-11-28 Jeff Law <law@redhat.com>
13745 Martin Osvald <mosvald@redhat.com>
13746
13747 [BZ #14889]
13748 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13749 * sunrpc/svc.c: Include time.h.
13750 (__svc_accept_failed): New function.
13751 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13752 any reason other than EINTR, call __svc_accept_failed.
13753 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13754 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13755
e3c6aa3a
AS
137562012-11-28 Andreas Schwab <schwab@suse.de>
13757
13758 * scripts/abilist.awk: Also handle indirect functions in .opd
13759 section.
13760
1bead169
JM
137612012-11-28 Joseph Myers <joseph@codesourcery.com>
13762
13763 [BZ #13881]
13764 * sysdeps/x86/fpu/powl_helper.c: New file.
13765 * sysdeps/x86/fpu/Makefile: Likewise.
13766 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13767 (p3): New object.
13768 (__ieee754_powl): Use __powl_helper for finite arguments except
13769 integer exponents below 8.
13770 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13771 (p3): New object.
13772 (__ieee754_powl): Use __powl_helper for finite arguments except
13773 integer exponents below 8.
13774 * math/libm-test.inc (pow_test): Add more tests and enable some
13775 previously disabled tests.
13776 * sysdeps/i386/fpu/libm-test-ulps: Update.
13777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13778
0817d63d
SP
137792012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13780 Carlos O'Donell <carlos_odonell@mentor.com>
13781
13782 * nss/makedb.c (is_prime): Assert that input is odd and greater
13783 than 4. Note that fact in a comment too.
13784 (next_prime): Add 4 to input.
13785
de2fd463
SP
137862012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13787
13788 [BZ #11741]
13789 * libio/Makefile (tests): Add test case tst-fwrite-error.
13790 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13791 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13792 * libio/tst-fwrite-error.c: New test case.
13793
c515fb51
L
137942012-11-26 H.J. Lu <hongjiu.lu@intel.com>
13795
13796 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13797 before casting to void *.
13798 * include/libc-internal.h (__pointer_type): New macro.
13799 (__integer_if_pointer_type_sub): Likewise.
13800 (__integer_if_pointer_type): Likewise.
13801 (cast_to_integer): Likewise.
13802 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13803 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13804 before casting to atomic64_t.
13805 (atomic_exchange_acq): Likewise.
13806 (__arch_exchange_and_add_body): Likewise.
13807 (__arch_add_body): Likewise.
13808 (atomic_add_negative): Likewise.
13809 (atomic_add_zero): Likewise.
13810
4cf77aa9
JM
138112012-11-26 Joseph Myers <joseph@codesourcery.com>
13812
13813 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13814 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13815 (add_fdes): Likewise.
13816 (linear_search_fdes): Likewise.
13817 (binary_search_unencoded_fdes): Likewise.
13818
d260b3b4
AS
138192012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13820
13821 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13822
67060746
AC
138232012-11-24 Adam Conrad <adconrad@0c3.net>
13824
13825 * configure.in: Autodetect C++ header directories.
13826 * configure: Regenerated.
13827
800938a1
MF
138282012-11-23 Mike Frysinger <vapier@gentoo.org>
13829
13830 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13831
4e6e34e6
AS
138322012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13833
13834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13835
7c7feb47
JM
138362012-11-22 Joseph Myers <joseph@codesourcery.com>
13837
7184dcdf
JM
13838 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13839 LDBL_MANT_DIG == 106]: Disable some tests.
13840 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13841 Likewise.
13842 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13843 Likewise.
13844
0a42601f
JM
13845 [BZ #14871]
13846 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13847 input for small inputs. Return +/- pi/2 for large inputs.
13848 * math/libm-test.inc (atan_test): Add more tests.
13849
79c9b9fe
JM
13850 * sysdeps/generic/unwind-dw2-fde-glibc.c
13851 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13852 __attribute__ ((unused)).
13853
c60d3bf2
JM
13854 [BZ #14645]
13855 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13856 x * y if x and y are nonzero and z is zero.
13857
ef1e0867
JM
13858 [BZ #14811]
13859 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13860 nonzero exponents with absolute value below 0x1p-117 to +/-
13861 0x1p-117.
13862
1468ded3
JM
13863 [BZ #14869]
13864 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13865 up arguments below 2**-450, not just those below 2**-500.
13866 * math/libm-test.inc (hypot_test): Add another test.
13867
8e27e3cc
JM
13868 [BZ #14868]
13869 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13870 Return a+b for ratio over 2**120, not 2**60.
13871 * math/libm-test.inc (hypot_test): Add another test.
13872
c9c0279b
JM
13873 * math/libm-test.inc (clog_test): Use
13874 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13875 (clog10_test): Likewise.
13876
7c7feb47
JM
13877 [BZ #6778]
13878 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13879
fff1530e
AS
138802012-11-22 Andreas Schwab <schwab@suse.de>
13881
13882 * sysdeps/i386/fpu/libm-test-ulps: Update.
13883
94558d30
PT
138842012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13885
13886 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13887 printf output with newline.
13888
7e1be741
L
138892012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13890
6bfea974
L
13891 [BZ #14865]
13892 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13893 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13894 -z nodlopen, -z initfirst and -z execstack support.
13895 * configure: Regenerated.
13896
7e1be741
L
13897 * elf/elf.h (DF_1_NODIRECT): New macro.
13898 (DF_1_IGNMULDEF): Likewise.
13899 (DF_1_NOKSYMS): Likewise.
13900 (DF_1_NOHDR): Likewise.
13901 (DF_1_EDITED): Likewise.
13902 (DF_1_NORELOC): Likewise.
13903 (DF_1_SYMINTPOSE): Likewise.
13904 (DF_1_GLOBAUDIT): Likewise.
13905 (DF_1_SINGLETON): Likewise.
13906 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13907 DT_1_SUPPORTED_MASK bits.
13908 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13909
105ce2ce
CD
139102012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13911
13912 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13913
123be9de
TS
139142012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13915
d072f3f7
TS
13916 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13917 macro.
13918
123be9de
TS
13919 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13920 (sendmmsg): Move declarations...
13921 * socket/sys/socket.h: ... here.
13922 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13923 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13924 include it from...
13925 * socket/recvmmsg.c: ... this new file.
13926 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13927 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13928 definition of __sendmmsg hidden.
13929 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13930 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13931 Move ENOSYS stub into and include it from...
13932 * socket/sendmmsg.c: ... this new file.
13933 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13934 (sysdep_routines): Move recvmmsg and sendmmsg...
13935 * socket/Makefile (routines): ... here.
13936 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13937 (GLIBC_PRIVATE): Add __sendmmsg.
13938 * include/sys/socket.h (__sendmmsg): Add declarations.
13939 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13940 sendmmsg.
13941
cf9a5d18
JM
139422012-11-20 Joseph Myers <joseph@codesourcery.com>
13943
13944 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13945 variable I1 with __attribute__ ((unused)).
13946 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13947
ecd4caf9
JM
139482012-11-19 Joseph Myers <joseph@codesourcery.com>
13949
be14d48f
JM
13950 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13951 DUMMY variables with __attribute__ ((unused)).
13952
ecd4caf9
JM
13953 * bits/byteswap.h: Include <bits/types.h>.
13954 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13955
986cab95
PT
139562012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13957
13958 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13959 string_t. Do not manually set errno.
13960 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13961 length with __strnlen. Make sure to both set errno and return it on
13962 failure.
13963
6d33cc9d
DM
139642012-11-19 David S. Miller <davem@davemloft.net>
13965
13966 With help from Joseph Myers.
13967 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13968 very large arguments properly.
13969 * math/libm-test.inc (atan_test): New tests.
13970 (atan2_test): New tests.
13971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13973
ee663277
JM
139742012-11-19 Joseph Myers <joseph@codesourcery.com>
13975
877f2d8e
JM
13976 [BZ #14856]
13977 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13978 Define to 3.
13979
116fc08a
JM
13980 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13981 [POSIX] (EADDRNOTAVAIL): Likewise.
13982 [POSIX] (EAFNOSUPPORT): Likewise.
13983 [POSIX] (EALREADY): Likewise.
13984 [POSIX] (ECONNABORTED): Likewise.
13985 [POSIX] (ECONNREFUSED): Likewise.
13986 [POSIX] (ECONNRESET): Likewise.
13987 [POSIX] (EDESTADDRREQ): Likewise.
13988 [POSIX] (EDQUOT): Likewise.
13989 [POSIX] (EHOSTUNREACH): Likewise.
13990 [POSIX] (EIDRM): Likewise.
13991 [POSIX] (EISCONN): Likewise.
13992 [POSIX] (ELOOP): Likewise.
13993 [POSIX] (EMULTIHOP): Likewise.
13994 [POSIX] (ENETDOWN): Likewise.
13995 [POSIX] (ENETUNREACH): Likewise.
13996 [POSIX] (ENOBUFS): Likewise.
13997 [POSIX] (ENODATA): Likewise.
13998 [POSIX] (ENOLINK): Likewise.
13999 [POSIX] (ENOMSG): Likewise.
14000 [POSIX] (ENOPROTOOPT): Likewise.
14001 [POSIX] (ENOSR): Likewise.
14002 [POSIX] (ENOSTR): Likewise.
14003 [POSIX] (ENOTCONN): Likewise.
14004 [POSIX] (ENOTSOCK): Likewise.
14005 [POSIX] (EOPNOTSUPP): Likewise.
14006 [POSIX] (EOVERFLOW): Likewise.
14007 [POSIX] (EPROTO): Likewise.
14008 [POSIX] (EPROTONOSUPPORT): Likewise.
14009 [POSIX] (EPROTOTYPE): Likewise.
14010 [POSIX] (ESTALE): Likewise.
14011 [POSIX] (ETIME): Likewise.
14012 [POSIX] (ETXTBSY): Likewise.
14013 [POSIX] (EWOULDBLOCK): Likewise.
14014 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14015 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14016 [POSIX] (SEEK_CUR): Likewise.
14017 [POSIX] (SEEK_END): Likewise.
14018 [POSIX || UNIX98] (mode_t): Do not require.
14019 [POSIX] (off_t): Likewise.
14020 [POSIX] (pid_t): Likewise.
14021 [POSIX] (sys/stat.h): Do not allow header.
14022 [POSIX] (unistd.h): Likewise.
14023 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14024 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14025 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14026 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14027 require.
14028 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14029 sigevent): Specify elements.
14030 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14031 entry.
14032 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14033 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14034
a483863f
JM
14035 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14036 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14037 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14038 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14039 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14040 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14041 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14042 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14043 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14044 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14045 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14046 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14047 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14048 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14049 Likewise.
14050 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14051 Likewise.
14052 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14053 Likewise.
14054 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14055 Likewise.
14056 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14057 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14058 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14059 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14060 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14061 Specify lower bound on value.
14062 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14063 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14064 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14065 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14066 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14067 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14068 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14069 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14070 value.
14071 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14072 as optional.
14073 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14074 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14075 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14076 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14077 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14078 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14079 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14080 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14081 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14082 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14083 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14084 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14085 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14086 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14087 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14088 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14089 entry.
14090 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14091 optional.
14092 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14093 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14094 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14095 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14096 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14097 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14098 Likewise.
14099 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14100 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14101 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14102 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14103 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14104 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14105 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14106 as optional.
14107 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14108 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14109 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14110 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14111 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14112 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14113 specify as optional.
14114 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14115 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14116 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14117 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14118 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14119 [XPG3] (NL_LANGMAX): Likewise.
14120 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14121 [POSIX || XPG3] (NL_NMAX): Likewise.
14122 [POSIX || XPG3] (NL_SETMAX): Likewise.
14123 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14124 [XPG3] (NZERO): Likewise.
14125 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14126 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14127 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14128 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14129 (REG_ERANGE): Expect.
14130 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14131 optional-constant.
14132 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14133 Use (void) in prototype.
14134 [POSIX] (*_t): Allow.
14135 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14136 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14137 (WRDE_BADVAL): Expect.
14138
5ba924e3
JM
14139 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14140 expect.
14141 [XPG3 || XPG4] (O_RSYNC): Likewise.
14142 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14143 Likewise.
14144 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14145 [XPG3 || XPG4] (sigqueue): Likewise.
14146 [XPG3 || XPG4] (sigtimedwait): Likewise.
14147 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14148 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14149 [XPG3 || XPG4] (vsnprintf): Likewise.
14150 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14151 Likewise.
14152 [XPG3 || XPG4] (blksize_t): Likewise.
14153 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14154 Likewise.
14155 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14156 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14157 [XPG3 || XPG4] (struct itimerspec): Likewise.
14158 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14159 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14160 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14161 [XPG3 || XPG4] (clockid_t): Likewise.
14162 [XPG3 || XPG4] (timer_t): Likewise.
14163 [XPG3 || XPG4] (clock_getres): Likewise.
14164 [XPG3 || XPG4] (clock_gettime): Likewise.
14165 [XPG3 || XPG4] (clock_settime): Likewise.
14166 [XPG3 || XPG4] (nanosleep): Likewise.
14167 [XPG3 || XPG4] (timer_create): Likewise.
14168 [XPG3 || XPG4] (timer_delete): Likewise.
14169 [XPG3 || XPG4] (timer_gettime): Likewise.
14170 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14171 [XPG3 || XPG4] (timer_settime): Likewise.
14172 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14173 [XPG3 || XPG4] (getlogin_r): Likewise.
14174 [XPG3 || XPG4] (pread): Likewise.
14175 [XPG3 || XPG4] (pthread_atfork): Likewise.
14176 [XPG3 || XPG4] (pwrite): Likewise.
14177
ee663277
JM
14178 [BZ #14835]
14179 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14180 <bits/siginfo.h>.
14181
942caa16
PT
141822012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14183
e19af380
PT
14184 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14185 finalizing MALLSTREAM.
14186
942caa16
PT
14187 * sysdeps/mach/hurd/syncfs.c: New file.
14188
cfde9b46
SP
141892012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14190
14191 [BZ #14719]
14192 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14193 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14194 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14195 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14196 (_nss_dns_gethostbyname4_r): Likewise.
14197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14198 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14199
f6da27e5
PH
142002012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14201
14202 [BZ #13763]
14203 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14204
6665d4a2
SM
142052012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14206
1f51ee92
SM
14207 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14208 * elf/cache.c (print_entry): Print ",AArch64" for
14209 FLAG_AARCH64_LIB64
14210
6665d4a2
SM
14211 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14212 * elf/cache.c (print_entry): Print ",hard-float" for
14213 FLAG_ARM_LIBHF.
14214
05b227bd
DM
142152012-11-18 David S. Miller <davem@davemloft.net>
14216
14217 With help from Joseph Myers.
14218 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14219 cutoff to 2**-13.
14220 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14221 cutoff to 2**-25.
14222 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14223 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14224 small.
14225 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14226 * math/libm-test.inc (y0_test): New tests.
14227 (y1_test): New tests.
14228 * sysdeps/i386/fpu/libm-test-ulps: Update.
14229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14231
786b0b67
AS
142322012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14233
14234 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14235 64-bit targets.
14236 * configure: Regenerated.
14237
8e18b86d
DM
142382012-11-17 David S. Miller <davem@davemloft.net>
14239
14240 [BZ #14811]
14241 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14242 nonzero exponents with absolute value below 0x1p-128 to +/-
14243 0x1p-128.
14244
531f1ae0
JM
142452012-11-17 Joseph Myers <joseph@codesourcery.com>
14246
12df29e2
JM
14247 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14248
150dc1a0
JM
14249 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14250
531f1ae0
JM
14251 * posix/getconf-speclist.c: New file.
14252 * posix/posix-envs.def: Likewise.
14253 * posix/confstr.c (START_ENV_GROUP): New macro.
14254 (END_ENV_GROUP): Likewise.
14255 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14256 (KNOWN_PRESENT_ENV_STRING): Likewise.
14257 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14258 (UNKNOWN_ENVIRONMENT): Likewise.
14259 (confstr): Include posix-envs.def instead of handling
14260 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14261 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14262 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14263 (END_ENV_GROUP): Likewise.
14264 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14265 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14266 (UNKNOWN_ENVIRONMENT): Likewise.
14267 (__sysconf): Include posix-envs.def instead of handling associated
14268 cases directly here.
14269 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14270 preprocessing getconf-speclist.c rather than running getconf or
14271 generating empty file.
14272
a93f9cbc
PT
142732012-11-16 Pino Toscano <toscano.pino@tiscali.it>
14274
14275 * scripts/check-local-headers.sh: Ignore 'mach' headers.
14276
d64d9f87
AL
142772012-11-16 Andrej Lajovic <natrij@gmail.com>
14278
14279 [BZ #14672]
14280 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14281
447885eb
DM
142822012-11-16 David S. Miller <davem@davemloft.net>
14283
14284 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14285 smaller than LDBL_EPSILON/2.0L, just return xm1.
14286
bcbf9830
L
142872012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14288
14289 * elf/tst-array1.c (init): Set constructor priority to 1000.
14290 (fini): Set destructor priority to 1000.
14291 * elf/tst-array2dep.c: Likewise.
14292
2b766585
SP
142932012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14294
14295 [BZ #11741]
14296 * libio/fileops.c (_IO_new_file_write): Correctly return error.
14297 (_IO_new_file_xsputn): Also return EOF if none of the input
14298 data was written when overflow failed.
14299 * libio/iopadn.c (_IO_padn): Likewise.
14300 * libio/iowpadn.c (_IO_wpadn): Likewise.
14301 * stdio-common/tst-put-error.c: Add copyright notice.
14302 (do_test): Add case for printing padded string.
14303 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14304 _IO_padn returned error.
14305 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14306 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14307 return EOF.
14308
b1848fde
SP
143092012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14310
14311 * libio/libioP.h: Add comment note that the references to C++
14312 bits are now obsolete.
14313
2fd89785
MS
143142012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14315
14316 * math/libm-test.inc (check_complex): Use asprintf.
14317
e3ea5409
JM
143182012-11-14 Joseph Myers <joseph@codesourcery.com>
14319
14320 * debug/pcprofiledump.c (print_version): Update copyright year.
14321 * malloc/memusagestat.c (print_version): Likewise.
14322
2e64d265
L
143232012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14324
14325 [BZ #14831]
14326 * elf/Makefile (tests): Add tst-audit8.
14327 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14328 ($(objpfx)tst-audit8.out): New target.
14329 (tst-audit8-ENV): New variable.
14330 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14331 audit if l_reloc_result is NULL.
14332 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14333 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14334 * elf/tst-audit8.c: New file.
14335
c485e4d2
MS
143362012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14337
14338 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14339 * misc/Makefile (CFLAGS-select.c): Define.
14340 * posix/Makefile (CFLAGS-pause.c): Define.
14341
3a0d900a
DM
143422012-11-13 David S. Miller <davem@davemloft.net>
14343
14344 * crypt/Makefile: Move test targets after toplevel Rules
14345 inclusion. Grab any necessary sysdep routines when linking.
14346 * crypt/md5.c (md5_process_block): Remove define, we will always
14347 name it __md5_process_block.
14348 (md5_finish_ctx): Update md5_process_block call.
14349 (md5_stream): Likewise.
14350 (md5_process_bytes): Likewise.
14351 (md5_process_block): Rename to __md5_process_block and move to ...
14352 * crypt/md5-block.c: ... here.
14353 * crypt/sha256.c (sha256_process_block): Move to ...
14354 * crypt/sha256-block.c: ... here.
14355 * crypt/sha512.c (sha512_process_block): Move to ...
14356 * crypt/sha512-block.c: ... here.
14357 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14358 path.
14359 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14360 * sysdeps/sparc/sparc64/multiarch/Makefile
14361 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14362 crypt subdir.
14363 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14364 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14365 multiarch changes.
14366 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14367 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14368 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14369 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14370 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14371 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14372 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14373 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14374 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14375 file.
14376 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14377 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14378 file.
14379 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14380
8ca89318
JM
143812012-11-13 Joseph Myers <joseph@codesourcery.com>
14382
e27d476a
JM
14383 * timezone/tzselect.ksh: Update from tzcode git revision
14384 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14385 * timezone/zdump.c: Likewise.
14386 * timezone/zic.c: Likewise.
14387 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14388 in TZVERSION setting, not $(PKGVERSION).
14389 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
14390 REPORT_BUGS_TO settings.
14391
8ca89318
JM
14392 [BZ #14838]
14393 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14394 macro.
14395
47594329
MS
143962012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14397
14398 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14399 detection to immediately after _FP_ROUND().
14400 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14401 bits are 0.
14402
640ac3f1
DM
144032012-11-11 David S. Miller <davem@davemloft.net>
14404
14405 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14406 inttypes.h
14407 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14408 __close rather than their public counterparts.
14409
3d2577bb
JM
144102012-11-10 Joseph Myers <joseph@codesourcery.com>
14411
14412 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14413 file.
14414 [UNIX98] (sem_timedwait): Do not expect.
14415 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14416 [XPG4 || UNIX98] (sockatmark): Do not expect.
14417 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14418 (clock_getcpuclockid): Do not expect.
14419 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14420 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14421 Do not expect.
14422 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14423 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14424 [UNIX98] (vwscanf): Likewise.
14425 [UNIX98] (vswscanf): Likewise.
14426
fb1ae1ee
JM
144272012-11-09 Joseph Myers <joseph@codesourcery.com>
14428
9ec6f8bd
JM
14429 * timezone/version.h: Remove file.
14430 * timezone/README: Do not refer to version.h.
14431 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14432 $(objpfx)version.h.
14433 ($(objpfx)zdump.o): Likewise.
c3f81911 14434 ($(objpfx)version.h): New target.
9ec6f8bd 14435
0aa8f8a1
JM
14436 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14437 2012i.
14438 * timezone/README: Don't mention modification to tzselect.ksh.
14439 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14440 work on unmodified tzselect.ksh. Substitute version numbers in
14441 tzselect.ksh.
14442
4e87147f
JM
14443 * Makefile (format-me): Remove.
14444 (INSTALL): Adjust indentation. Use commands directly instead of
14445 using $(format-me).
14446
8b748aed
JM
14447 * aclocal.m4 (ACX_PKGVERSION): New macro.
14448 (ACX_BUGURL): Likewise.
14449 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14450 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14451 (REPORT_BUGS_TO): Likewise.
14452 * configure: Regenerated.
14453 * config.h.in (PKGVERSION): New macro.
14454 (REPORT_BUGS_TO): Likewise.
14455 * config.make.in (PKGVERSION): New variable.
14456 (PKGVERSION_TEXI): Likewise.
14457 (REPORT_BUGS_TO): Likewise.
14458 (REPORT_BUGS_TEXI): Likewise.
14459 * Makefile (format-me): Use -I$(common-objpfx)manual.
14460 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14461 ($(common-objpfx)manual/%): New target.
14462 (manual/%): Remove target.
14463 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14464 (print_version): Use PKGVERSION.
14465 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14466 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14467 and REPORT_BUGS_TO.
14468 ($(objpfx)xtrace): Likewise.
14469 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14470 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14471 (print_version): Use PKGVERSION.
14472 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14473 (do_version): Use PKGVERSION.
14474 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14475 REPORT_BUGS_TO.
14476 (common-ldd-rewrite): Likewise.
14477 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14478 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14479 (print_version): Use PKGVERSION.
14480 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14481 * elf/pldd.c (argp_program_bug_address): Remove variable.
14482 (more_help): New function.
14483 (argp): Use more_help.
14484 (print_version): Use PKGVERSION.
14485 * elf/sln.c (main): Use PKGVERSION.
14486 (usage): Use REPORT_BUGS_TO.
14487 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14488 (top level): Use PKGVERSION.
14489 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14490 (print_version): Use PKGVERSION.
14491 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14492 (print_version): Use PKGVERSION.
14493 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14494 (print_version): Use PKGVERSION.
14495 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14496 (print_version): Use PKGVERSION.
14497 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14498 (print_version): Use PKGVERSION.
14499 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14500 (print_version): Use PKGVERSION.
14501 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14502 and BUGURL.
14503 ($(objpfx)memusage): Likewise.
14504 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14505 (do_version): Use PKGVERSION.
14506 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14507 (print_version): Use PKGVERSION.
14508 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14509 ($PKGVERSION): New variable.
14510 ($REPORT_BUGS_TO): Likewise.
14511 (usage): Use $REPORT_BUGS_TO.
14512 (top level): Use $PKGVERSION.
14513 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14514 ($(objpfx)pkgvers.texi): New rule.
14515 ($(objpfx)stamp-pkgvers): Likewise.
14516 * manual/install.texi: Include pkgvers.texi.
14517 (--with-pkgversion): Document new configure option.
14518 (--with-bugurl): Likewise.
14519 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14520 than necessarily for this particular distribution. Use
14521 REPORT_BUGS_TO for where to report bugs.
14522 * INSTALL: Regenerated.
14523 * manual/libc.texinfo: Include pkgvers.texi.
14524 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14525 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14526 (print_version): Use PKGVERSION.
14527 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14528 (print_version): Use PKGVERSION.
14529 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14530 (print_version): Use PKGVERSION.
14531 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14532 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14533 macro.
14534 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14535 (print_version): Use PKGVERSION.
14536 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14537 (print_version): Use PKGVERSION.
14538 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14539 and PKGVERSION.
14540
92e4b6a9
JM
14541 * timezone/checktab.awk: Update from tzcode 2012i.
14542 * timezone/ialloc.c: Likewise.
14543 * timezone/private.h: Likewise.
14544 * timezone/scheck.c: Likewise.
14545 * timezone/tzfile.h: Likewise.
14546 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14547 (TZVERSION): Hardcode tzcode version number.
14548 * timezone/zdump.c: Update from tzcode 2012i.
14549 * timezone/zic.c: Likewise.
14550 * timezone/version.h: New file.
14551 * timezone/README: Describe version.h. Update upstream location.
14552
9bde902c
JM
14553 [BZ #14824]
14554 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14555 (mktemp): Enable declaration.
14556 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14557 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14558 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14559 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14560 Likewise.
14561 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14562 Likewise.
14563 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14564 Likewise.
14565 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14566 Likewise.
14567 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14568 Likewise.
14569 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14570 Likewise.
14571
fb1ae1ee
JM
14572 [BZ #14821]
14573 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14574 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14575 for copies of such integer values.
14576 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14577 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14578
2c1adbcb
AJ
145792012-11-09 Andreas Jaeger <aj@suse.de>
14580
14581 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14582 definitions and declarations that are provided by
14583 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14584
d0f8457e
AK
145852012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14586
3a235abb 14587 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
14588 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14589 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14590 definition.
14591
57241e26
MS
145922012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14593
14594 * elf/elf.h: Update comment before AArch64 relocations.
14595
60e8270d
DM
145962012-11-07 David S. Miller <davem@davemloft.net>
14597
14598 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14599 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14600 (__start_context): Declare.
14601 (__makecontext_ret): Delete.
14602 (__makecontext): Hook up __start_context instead of
14603 __makecontext_ret.
14604 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14605 (sysdep_routines): Add __start_context when in stdlib.
14606
0fbb0fbc
JM
146072012-11-07 Joseph Myers <joseph@codesourcery.com>
14608
14609 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14610 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14611 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14612 hardcoded "nm".
14613 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14614 (READELF): New variable. Use it instead of hardcoded "readelf".
14615
eb48db7e
L
146162012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14617
14618 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14619 * sysdeps/x86/Makefile: Here.
14620 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14621 * sysdeps/x86/tst-xmmymm.sh: This.
14622
05bcf62a
JM
146232012-11-07 Joseph Myers <joseph@codesourcery.com>
14624
c4b6cf53
JM
14625 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14626 expectations.
14627 [UNIX98] (pthread_barrier_t): Do not expect.
14628 [UNIX98] (pthread_barrierattr_t): Likewise.
14629 [UNIX98] (pthread_spinlock_t): Likewise.
14630 [UNIX98] (pthread_barrier_destroy): Likewise.
14631 [UNIX98] (pthread_barrier_init): Likewise.
14632 [UNIX98] (pthread_barrier_wait): Likewise.
14633 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14634 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14635 [UNIX98] (pthread_barrierattr_init): Likewise.
14636 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14637 [UNIX98] (pthread_getcpuclockid): Likewise.
14638 [UNIX98] (pthread_mutex_timedlock): Likewise.
14639 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14640 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14641 [UNIX98] (pthread_sigmask): Likewise.
14642 [UNIX98] (pthread_spin_destroy): Likewise.
14643 [UNIX98] (pthread_spin_init): Likewise.
14644 [UNIX98] (pthread_spin_lock): Likewise.
14645 [UNIX98] (pthread_spin_trylock): Likewise.
14646 [UNIX98] (pthread_spin_unlock): Likewise.
14647 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14648 Do not expect.
14649 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14650 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14651 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14652 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14653 [XPG3 || XPG4] (pthread_key_t): Likewise.
14654 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14655 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14656 [XPG3 || XPG4] (pthread_once_t): Likewise.
14657 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14658 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14659 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14660 [XPG3 || XPG4] (pthread_t): Likewise.
14661
cbe6e120
JM
14662 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14663 not expect.
14664 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14665
1b126443
JM
14666 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14667 Change function return type to int.
14668
b961a573
JM
14669 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14670 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14671 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14672 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14673 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14674 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14675 [!POSIX] (posix_madvise): Likewise.
14676 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14677 && !UNIX98].
14678 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14679 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14680 (mode_t): Likewise.
14681 (posix_mem_offset): Likewise.
14682 (posix_typed_mem_get_info): Likewise.
14683 (posix_typed_mem_open): Likewise.
14684
9e188909
JM
14685 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14686 Change condition to [XOPEN2K8].
14687
05bcf62a
JM
14688 * conform/conformtest.pl: Preprocess allow-header data with -x c
14689 instead of from stdin.
14690 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14691 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14692 [C99-based standards] (cerfc): Likewise.
14693 [C99-based standards] (cexp2): Likewise.
14694 [C99-based standards] (cexpm1): Likewise.
14695 [C99-based standards] (clog10): Likewise.
14696 [C99-based standards] (clog1p): Likewise.
14697 [C99-based standards] (clog2): Likewise.
14698 [C99-based standards] (clgamma): Likewise.
14699 [C99-based standards] (ctgamma): Likewise.
14700 [C99-based standards] (cerff): Likewise.
14701 [C99-based standards] (cerfcf): Likewise.
14702 [C99-based standards] (cexp2f): Likewise.
14703 [C99-based standards] (cexpm1f): Likewise.
14704 [C99-based standards] (clog10f): Likewise.
14705 [C99-based standards] (clog1pf): Likewise.
14706 [C99-based standards] (clog2f): Likewise.
14707 [C99-based standards] (clgammaf): Likewise.
14708 [C99-based standards] (ctgammaf): Likewise.
14709 [C99-based standards] (cerfl): Likewise.
14710 [C99-based standards] (cerfcl): Likewise.
14711 [C99-based standards] (cexp2l): Likewise.
14712 [C99-based standards] (cexpm1l): Likewise.
14713 [C99-based standards] (clog10l): Likewise.
14714 [C99-based standards] (clog1pl): Likewise.
14715 [C99-based standards] (clog2l): Likewise.
14716 [C99-based standards] (clgammal): Likewise.
14717 [C99-based standards] (ctgammal): Likewise.
14718 * conform/data/inttypes.h-data [C99-based standards]: Include
14719 stdint.h-data. Remove all expectations for stdint.h contents.
14720 [C99-based standards] (PRI*): Do not allow.
14721 [C99-based standards] (SCN*): Likewise.
14722 [C99-based standards] (*_t): Likewise.
14723 [C99-based-standards] (PRId8): Expect macro.
14724 [C99-based-standards] (PRIi8): Likewise.
14725 [C99-based-standards] (PRIo8): Likewise.
14726 [C99-based-standards] (PRIu8): Likewise.
14727 [C99-based-standards] (PRIx8): Likewise.
14728 [C99-based-standards] (PRIX8): Likewise.
14729 [C99-based-standards] (SCNd8): Likewise.
14730 [C99-based-standards] (SCNi8): Likewise.
14731 [C99-based-standards] (SCNo8): Likewise.
14732 [C99-based-standards] (SCNu8): Likewise.
14733 [C99-based-standards] (SCNx8): Likewise.
14734 [C99-based-standards] (PRIdLEAST8): Likewise.
14735 [C99-based-standards] (PRIiLEAST8): Likewise.
14736 [C99-based-standards] (PRIoLEAST8): Likewise.
14737 [C99-based-standards] (PRIuLEAST8): Likewise.
14738 [C99-based-standards] (PRIxLEAST8): Likewise.
14739 [C99-based-standards] (PRIXLEAST8): Likewise.
14740 [C99-based-standards] (SCNdLEAST8): Likewise.
14741 [C99-based-standards] (SCNiLEAST8): Likewise.
14742 [C99-based-standards] (SCNoLEAST8): Likewise.
14743 [C99-based-standards] (SCNuLEAST8): Likewise.
14744 [C99-based-standards] (SCNxLEAST8): Likewise.
14745 [C99-based-standards] (PRIdFAST8): Likewise.
14746 [C99-based-standards] (PRIiFAST8): Likewise.
14747 [C99-based-standards] (PRIoFAST8): Likewise.
14748 [C99-based-standards] (PRIuFAST8): Likewise.
14749 [C99-based-standards] (PRIxFAST8): Likewise.
14750 [C99-based-standards] (PRIXFAST8): Likewise.
14751 [C99-based-standards] (SCNdFAST8): Likewise.
14752 [C99-based-standards] (SCNiFAST8): Likewise.
14753 [C99-based-standards] (SCNoFAST8): Likewise.
14754 [C99-based-standards] (SCNuFAST8): Likewise.
14755 [C99-based-standards] (SCNxFAST8): Likewise.
14756 [C99-based-standards] (PRId16): Likewise.
14757 [C99-based-standards] (PRIi16): Likewise.
14758 [C99-based-standards] (PRIo16): Likewise.
14759 [C99-based-standards] (PRIu16): Likewise.
14760 [C99-based-standards] (PRIx16): Likewise.
14761 [C99-based-standards] (PRIX16): Likewise.
14762 [C99-based-standards] (SCNd16): Likewise.
14763 [C99-based-standards] (SCNi16): Likewise.
14764 [C99-based-standards] (SCNo16): Likewise.
14765 [C99-based-standards] (SCNu16): Likewise.
14766 [C99-based-standards] (SCNx16): Likewise.
14767 [C99-based-standards] (PRIdLEAST16): Likewise.
14768 [C99-based-standards] (PRIiLEAST16): Likewise.
14769 [C99-based-standards] (PRIoLEAST16): Likewise.
14770 [C99-based-standards] (PRIuLEAST16): Likewise.
14771 [C99-based-standards] (PRIxLEAST16): Likewise.
14772 [C99-based-standards] (PRIXLEAST16): Likewise.
14773 [C99-based-standards] (SCNdLEAST16): Likewise.
14774 [C99-based-standards] (SCNiLEAST16): Likewise.
14775 [C99-based-standards] (SCNoLEAST16): Likewise.
14776 [C99-based-standards] (SCNuLEAST16): Likewise.
14777 [C99-based-standards] (SCNxLEAST16): Likewise.
14778 [C99-based-standards] (PRIdFAST16): Likewise.
14779 [C99-based-standards] (PRIiFAST16): Likewise.
14780 [C99-based-standards] (PRIoFAST16): Likewise.
14781 [C99-based-standards] (PRIuFAST16): Likewise.
14782 [C99-based-standards] (PRIxFAST16): Likewise.
14783 [C99-based-standards] (PRIXFAST16): Likewise.
14784 [C99-based-standards] (SCNdFAST16): Likewise.
14785 [C99-based-standards] (SCNiFAST16): Likewise.
14786 [C99-based-standards] (SCNoFAST16): Likewise.
14787 [C99-based-standards] (SCNuFAST16): Likewise.
14788 [C99-based-standards] (SCNxFAST16): Likewise.
14789 [C99-based-standards] (PRId32): Likewise.
14790 [C99-based-standards] (PRIi32): Likewise.
14791 [C99-based-standards] (PRIo32): Likewise.
14792 [C99-based-standards] (PRIu32): Likewise.
14793 [C99-based-standards] (PRIx32): Likewise.
14794 [C99-based-standards] (PRIX32): Likewise.
14795 [C99-based-standards] (SCNd32): Likewise.
14796 [C99-based-standards] (SCNi32): Likewise.
14797 [C99-based-standards] (SCNo32): Likewise.
14798 [C99-based-standards] (SCNu32): Likewise.
14799 [C99-based-standards] (SCNx32): Likewise.
14800 [C99-based-standards] (PRIdLEAST32): Likewise.
14801 [C99-based-standards] (PRIiLEAST32): Likewise.
14802 [C99-based-standards] (PRIoLEAST32): Likewise.
14803 [C99-based-standards] (PRIuLEAST32): Likewise.
14804 [C99-based-standards] (PRIxLEAST32): Likewise.
14805 [C99-based-standards] (PRIXLEAST32): Likewise.
14806 [C99-based-standards] (SCNdLEAST32): Likewise.
14807 [C99-based-standards] (SCNiLEAST32): Likewise.
14808 [C99-based-standards] (SCNoLEAST32): Likewise.
14809 [C99-based-standards] (SCNuLEAST32): Likewise.
14810 [C99-based-standards] (SCNxLEAST32): Likewise.
14811 [C99-based-standards] (PRIdFAST32): Likewise.
14812 [C99-based-standards] (PRIiFAST32): Likewise.
14813 [C99-based-standards] (PRIoFAST32): Likewise.
14814 [C99-based-standards] (PRIuFAST32): Likewise.
14815 [C99-based-standards] (PRIxFAST32): Likewise.
14816 [C99-based-standards] (PRIXFAST32): Likewise.
14817 [C99-based-standards] (SCNdFAST32): Likewise.
14818 [C99-based-standards] (SCNiFAST32): Likewise.
14819 [C99-based-standards] (SCNoFAST32): Likewise.
14820 [C99-based-standards] (SCNuFAST32): Likewise.
14821 [C99-based-standards] (SCNxFAST32): Likewise.
14822 [C99-based-standards] (PRId64): Likewise.
14823 [C99-based-standards] (PRIi64): Likewise.
14824 [C99-based-standards] (PRIo64): Likewise.
14825 [C99-based-standards] (PRIu64): Likewise.
14826 [C99-based-standards] (PRIx64): Likewise.
14827 [C99-based-standards] (PRIX64): Likewise.
14828 [C99-based-standards] (SCNd64): Likewise.
14829 [C99-based-standards] (SCNi64): Likewise.
14830 [C99-based-standards] (SCNo64): Likewise.
14831 [C99-based-standards] (SCNu64): Likewise.
14832 [C99-based-standards] (SCNx64): Likewise.
14833 [C99-based-standards] (PRIdLEAST64): Likewise.
14834 [C99-based-standards] (PRIiLEAST64): Likewise.
14835 [C99-based-standards] (PRIoLEAST64): Likewise.
14836 [C99-based-standards] (PRIuLEAST64): Likewise.
14837 [C99-based-standards] (PRIxLEAST64): Likewise.
14838 [C99-based-standards] (PRIXLEAST64): Likewise.
14839 [C99-based-standards] (SCNdLEAST64): Likewise.
14840 [C99-based-standards] (SCNiLEAST64): Likewise.
14841 [C99-based-standards] (SCNoLEAST64): Likewise.
14842 [C99-based-standards] (SCNuLEAST64): Likewise.
14843 [C99-based-standards] (SCNxLEAST64): Likewise.
14844 [C99-based-standards] (PRIdFAST64): Likewise.
14845 [C99-based-standards] (PRIiFAST64): Likewise.
14846 [C99-based-standards] (PRIoFAST64): Likewise.
14847 [C99-based-standards] (PRIuFAST64): Likewise.
14848 [C99-based-standards] (PRIxFAST64): Likewise.
14849 [C99-based-standards] (PRIXFAST64): Likewise.
14850 [C99-based-standards] (SCNdFAST64): Likewise.
14851 [C99-based-standards] (SCNiFAST64): Likewise.
14852 [C99-based-standards] (SCNoFAST64): Likewise.
14853 [C99-based-standards] (SCNuFAST64): Likewise.
14854 [C99-based-standards] (SCNxFAST64): Likewise.
14855 [C99-based-standards] (PRIdMAX): Likewise.
14856 [C99-based-standards] (PRIiMAX): Likewise.
14857 [C99-based-standards] (PRIoMAX): Likewise.
14858 [C99-based-standards] (PRIuMAX): Likewise.
14859 [C99-based-standards] (PRIxMAX): Likewise.
14860 [C99-based-standards] (PRIXMAX): Likewise.
14861 [C99-based-standards] (SCNdMAX): Likewise.
14862 [C99-based-standards] (SCNiMAX): Likewise.
14863 [C99-based-standards] (SCNoMAX): Likewise.
14864 [C99-based-standards] (SCNuMAX): Likewise.
14865 [C99-based-standards] (SCNxMAX): Likewise.
14866 [C99-based-standards] (PRIdPTR): Likewise.
14867 [C99-based-standards] (PRIiPTR): Likewise.
14868 [C99-based-standards] (PRIoPTR): Likewise.
14869 [C99-based-standards] (PRIuPTR): Likewise.
14870 [C99-based-standards] (PRIxPTR): Likewise.
14871 [C99-based-standards] (PRIXPTR): Likewise.
14872 [C99-based-standards] (SCNdPTR): Likewise.
14873 [C99-based-standards] (SCNiPTR): Likewise.
14874 [C99-based-standards] (SCNoPTR): Likewise.
14875 [C99-based-standards] (SCNuPTR): Likewise.
14876 [C99-based-standards] (SCNxPTR): Likewise.
14877 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14878 allow.
14879 * conform/data/stdint.h-data: Update comments to clarify
14880 requirements.
14881 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14882 type.
14883 [C99-based standards] (INT8_MAX): Likewise.
14884 [C99-based standards] (INT16_MIN): Likewise.
14885 [C99-based standards] (INT16_MAX): Likewise.
14886 [C99-based standards] (INT32_MIN): Likewise.
14887 [C99-based standards] (INT32_MAX): Likewise.
14888 [C99-based standards] (INT64_MIN): Likewise.
14889 [C99-based standards] (INT64_MAX): Likewise.
14890 [C99-based standards] (UINT8_MAX): Likewise.
14891 [C99-based standards] (UINT16_MAX): Likewise.
14892 [C99-based standards] (UINT32_MAX): Likewise.
14893 [C99-based standards] (UINT64_MAX): Likewise.
14894 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14895 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14896 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14897 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14898 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14899 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14900 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14901 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14902 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14903 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14904 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14905 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14906 [C99-based standards] (INT_FAST8_MIN): Likewise.
14907 [C99-based standards] (INT_FAST8_MAX): Likewise.
14908 [C99-based standards] (INT_FAST16_MIN): Likewise.
14909 [C99-based standards] (INT_FAST16_MAX): Likewise.
14910 [C99-based standards] (INT_FAST32_MIN): Likewise.
14911 [C99-based standards] (INT_FAST32_MAX): Likewise.
14912 [C99-based standards] (INT_FAST64_MIN): Likewise.
14913 [C99-based standards] (INT_FAST64_MAX): Likewise.
14914 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14915 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14916 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14917 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14918 [C99-based standards] (INTPTR_MIN): Likewise.
14919 [C99-based standards] (INTPTR_MAX): Likewise.
14920 [C99-based standards] (UINTPTR_MAX): Likewise.
14921 [C99-based standards] (INTMAX_MIN): Likewise.
14922 [C99-based standards] (INTMAX_MAX): Likewise.
14923 [C99-based standards] (UINTMAX_MAX): Likewise.
14924 [C99-based standards] (PTRDIFF_MIN): Likewise.
14925 [C99-based standards] (PTRDIFF_MAX): Likewise.
14926 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14927 [C99-based standards] (SIZE_MAX): Likewise.
14928 [C99-based standards] (WCHAR_MAX): Likewise.
14929 [C99-based standards] (WINT_MAX): Likewise.
14930 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14931 constraint on value.
14932 [C99-based standards] (WCHAR_MIN): Likewise.
14933 [C99-based standards] (WINT_MIN): Likewise.
14934 [C99-based standards] (*_t): Allow.
14935 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14936 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14937 Include math.h-data and complex.h-data. Remove all expectations
14938 of math.h and complex.h contents.
14939 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14940 at end of line.
14941 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14942 (struct tm): Expect tag.
14943 [C99-based-standards] (wcstof): Expect function.
14944 [C99-based-standards] (wcstold): Likewise.
14945 [C99-based-standards] (wcstoll): Likewise.
14946 [C99-based-standards] (wcstoull): Likewise.
14947 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14948 macro-int-constant. Specify type.
14949 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14950 constraint on value.
14951 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14952 Specify type.
14953 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14954 Specify value.
14955 [ISO C standards]: Do not allow headers.
14956 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14957 wcs[abcdefghijklmnopqrstuvwxyz]*.
14958 [ISO C standards] (*_t): Do not allow.
14959 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14960 Expect function.
14961 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14962 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14963 Specify type.
14964 [ISO C standards]: Do not allow headers.
14965 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14966 is[abcdefghijklmnopqrstuvwxyz]*.
14967 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14968 to[abcdefghijklmnopqrstuvwxyz]*.
14969 [ISO C standards] (*_t): Do not allow.
14970 * conform/data/stdalign.h-data: New file.
14971 * conform/data/stdbool.h-data: Likewise.
14972 * conform/data/stdnoreturn.h-data: Likewise.
14973
7514feb8
RM
149742012-11-07 Roland McGrath <roland@hack.frob.com>
14975
14976 [BZ #14815]
14977 * manual/filesys.texi (Directory Entries): Typo fix.
14978 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14979
19b2ecfc
MS
149802012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14981
14982 * elf/elf.h (EM_AARCH64): New macro.
14983 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14984 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14985 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14986 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14987 (R_AARCH64_TLSDESC): Likewise.
14988 (NT_ARM_TLS): Likewise.
14989 (NT_ARM_HW_BREAK): Likewise.
14990 (NT_ARM_HW_WATCH): Likewise.
14991
60e235ee
JM
149922012-11-07 Joseph Myers <joseph@codesourcery.com>
14993
14994 [BZ #14811]
14995 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14996 (__ieee754_powl): Saturate nonzero exponents with absolute value
14997 below 0x1p-79 to +/- 0x1p-79.
14998 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14999 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15000 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15001 nonzero exponents with absolute value below 0x1p-32 to +/-
15002 0x1p-32.
15003 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15004 (__ieee754_powl): Saturate nonzero exponents with absolute value
15005 below 0x1p-79 to +/- 0x1p-79.
15006 * math/libm-test.inc (pow_test): Add more tests.
15007
0ab234b7
AK
150082012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15009
15010 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15011 _dl_s390_cap_flags with kernel. Increase string length.
15012 (_dl_s390_platforms): Add z196 and zEC12.
15013
45832f74
JM
150142012-11-07 Joseph Myers <joseph@codesourcery.com>
15015
15016 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15017 Change XOPEN21K to XOPEN2K.
15018
19218757
MK
150192012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15020
15021 * string/memmove.c: Use memcpy when possible.
15022
c5f45721
AJ
150232012-11-06 Andreas Jaeger <aj@suse.de>
15024
15025 * po/eo.po: Update from translation team.
15026
82477c28
JM
150272012-11-06 Joseph Myers <joseph@codesourcery.com>
15028
15029 [BZ #14793]
15030 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15031 exponent and small x and y exponents, scale x or y up. Increase
15032 by 2 the exponent used in scaling up.
15033 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15034 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15035 * math/libm-test.inc (fma_test): Add more tests.
15036 (fma_test_towardzero): Likewise.
15037 (fma_test_downward): Likewise.
15038 (fma_test_upward): Likewise.
15039
99252c8c
JM
150402012-11-05 Joseph Myers <joseph@codesourcery.com>
15041
acfa885f
JM
15042 [BZ #14805]
15043 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15044 fenv_t *.
15045
99252c8c
JM
15046 [BZ #14801]
15047 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15048 namespace for names of struct fields.
15049 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15050 fenv_t fields.
15051 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15052 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15053
d6d98dea
ST
150542012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15055
15056 [BZ #3665]
15057 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15058
e10bb107
TS
150592012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15060
15061 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15062 PTR_DEMANGLE.
15063
15064 [BZ #5246]
15065 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15066 PTR_DEMANGLE.
15067
a0c2940d
JM
150682012-11-04 Joseph Myers <joseph@codesourcery.com>
15069
15070 [BZ #14797]
15071 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15072 definitely overflow as x * y not x * y + z.
15073 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15074 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15075 * math/libm-test.inc (fma_test): Add more tests.
15076 (fma_test_towardzero): Likewise.
15077 (fma_test_downward): Likewise.
15078 (fma_test_upward): Likewise.
15079
b830319d
TS
150802012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15081
15082 [BZ #157]
15083
15084 * include/stub-tag.h: Remove file.
15085 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15086 '#include' of it.
15087 * manual/maint.texi (Porting): Don't reference it.
15088 * Makerules ($(objpfx)stubs): Likewise.
15089 * dirent/closedir.c: Don't include <stub-tag.h>.
15090 * dirent/dirfd.c: Likewise.
15091 * dirent/fdopendir.c: Likewise.
15092 * dirent/getdents.c: Likewise.
15093 * dirent/getdents64.c: Likewise.
15094 * dirent/opendir.c: Likewise.
15095 * dirent/readdir.c: Likewise.
15096 * dirent/readdir64.c: Likewise.
15097 * dirent/readdir64_r.c: Likewise.
15098 * dirent/readdir_r.c: Likewise.
15099 * dirent/rewinddir.c: Likewise.
15100 * dirent/seekdir.c: Likewise.
15101 * dirent/telldir.c: Likewise.
15102 * gmon/profil.c: Likewise.
15103 * grp/setgroups.c: Likewise.
15104 * inet/if_index.c: Likewise.
15105 * io/access.c: Likewise.
15106 * io/chdir.c: Likewise.
15107 * io/chmod.c: Likewise.
15108 * io/chown.c: Likewise.
15109 * io/close.c: Likewise.
15110 * io/dup.c: Likewise.
15111 * io/dup2.c: Likewise.
15112 * io/dup3.c: Likewise.
15113 * io/euidaccess.c: Likewise.
15114 * io/faccessat.c: Likewise.
15115 * io/fchdir.c: Likewise.
15116 * io/fchmod.c: Likewise.
15117 * io/fchmodat.c: Likewise.
15118 * io/fchown.c: Likewise.
15119 * io/fchownat.c: Likewise.
15120 * io/fcntl.c: Likewise.
15121 * io/flock.c: Likewise.
15122 * io/fstatfs.c: Likewise.
15123 * io/fstatfs64.c: Likewise.
15124 * io/fstatvfs.c: Likewise.
15125 * io/fstatvfs64.c: Likewise.
15126 * io/futimens.c: Likewise.
15127 * io/fxstat.c: Likewise.
15128 * io/fxstat64.c: Likewise.
15129 * io/fxstatat.c: Likewise.
15130 * io/fxstatat64.c: Likewise.
15131 * io/getcwd.c: Likewise.
15132 * io/isatty.c: Likewise.
15133 * io/lchmod.c: Likewise.
15134 * io/lchown.c: Likewise.
15135 * io/link.c: Likewise.
15136 * io/linkat.c: Likewise.
15137 * io/lseek.c: Likewise.
15138 * io/lseek64.c: Likewise.
15139 * io/lxstat64.c: Likewise.
15140 * io/mkdir.c: Likewise.
15141 * io/mkdirat.c: Likewise.
15142 * io/mkfifo.c: Likewise.
15143 * io/mkfifoat.c: Likewise.
15144 * io/open.c: Likewise.
15145 * io/open64.c: Likewise.
15146 * io/openat.c: Likewise.
15147 * io/openat64.c: Likewise.
15148 * io/pipe.c: Likewise.
15149 * io/pipe2.c: Likewise.
15150 * io/poll.c: Likewise.
15151 * io/posix_fadvise.c: Likewise.
15152 * io/posix_fadvise64.c: Likewise.
15153 * io/posix_fallocate.c: Likewise.
15154 * io/posix_fallocate64.c: Likewise.
15155 * io/read.c: Likewise.
15156 * io/readlink.c: Likewise.
15157 * io/readlinkat.c: Likewise.
15158 * io/rmdir.c: Likewise.
15159 * io/sendfile.c: Likewise.
15160 * io/sendfile64.c: Likewise.
15161 * io/statfs.c: Likewise.
15162 * io/statfs64.c: Likewise.
15163 * io/statvfs.c: Likewise.
15164 * io/statvfs64.c: Likewise.
15165 * io/symlink.c: Likewise.
15166 * io/symlinkat.c: Likewise.
15167 * io/ttyname.c: Likewise.
15168 * io/ttyname_r.c: Likewise.
15169 * io/umask.c: Likewise.
15170 * io/unlink.c: Likewise.
15171 * io/unlinkat.c: Likewise.
15172 * io/utime.c: Likewise.
15173 * io/utimensat.c: Likewise.
15174 * io/write.c: Likewise.
15175 * io/xmknod.c: Likewise.
15176 * io/xmknodat.c: Likewise.
15177 * io/xstat.c: Likewise.
15178 * io/xstat64.c: Likewise.
15179 * login/getpt.c: Likewise.
15180 * login/grantpt.c: Likewise.
15181 * login/unlockpt.c: Likewise.
15182 * math/e_acoshl.c: Likewise.
15183 * math/e_acosl.c: Likewise.
15184 * math/e_asinl.c: Likewise.
15185 * math/e_atan2l.c: Likewise.
15186 * math/e_atanhl.c: Likewise.
15187 * math/e_coshl.c: Likewise.
15188 * math/e_expl.c: Likewise.
15189 * math/e_fmodl.c: Likewise.
15190 * math/e_gammal_r.c: Likewise.
15191 * math/e_hypotl.c: Likewise.
15192 * math/e_j0l.c: Likewise.
15193 * math/e_j1l.c: Likewise.
15194 * math/e_jnl.c: Likewise.
15195 * math/e_lgammal_r.c: Likewise.
15196 * math/e_log10l.c: Likewise.
15197 * math/e_log2l.c: Likewise.
15198 * math/e_logl.c: Likewise.
15199 * math/e_powl.c: Likewise.
15200 * math/e_rem_pio2l.c: Likewise.
15201 * math/e_sinhl.c: Likewise.
15202 * math/e_sqrtl.c: Likewise.
15203 * math/fclrexcpt.c: Likewise.
15204 * math/fedisblxcpt.c: Likewise.
15205 * math/feenablxcpt.c: Likewise.
15206 * math/fegetenv.c: Likewise.
15207 * math/fegetexcept.c: Likewise.
15208 * math/fegetround.c: Likewise.
15209 * math/feholdexcpt.c: Likewise.
15210 * math/fesetenv.c: Likewise.
15211 * math/fesetround.c: Likewise.
15212 * math/feupdateenv.c: Likewise.
15213 * math/fgetexcptflg.c: Likewise.
15214 * math/fraiseexcpt.c: Likewise.
15215 * math/fsetexcptflg.c: Likewise.
15216 * math/ftestexcept.c: Likewise.
15217 * math/k_cosl.c: Likewise.
15218 * math/k_rem_pio2l.c: Likewise.
15219 * math/k_sinl.c: Likewise.
15220 * math/k_tanl.c: Likewise.
15221 * math/s_asinhl.c: Likewise.
15222 * math/s_atanl.c: Likewise.
15223 * math/s_cbrtl.c: Likewise.
15224 * math/s_erfl.c: Likewise.
15225 * math/s_expm1l.c: Likewise.
15226 * math/s_log1pl.c: Likewise.
15227 * math/s_tanhl.c: Likewise.
15228 * misc/acct.c: Likewise.
15229 * misc/brk.c: Likewise.
15230 * misc/chflags.c: Likewise.
15231 * misc/chroot.c: Likewise.
15232 * misc/fchflags.c: Likewise.
15233 * misc/fgetxattr.c: Likewise.
15234 * misc/flistxattr.c: Likewise.
15235 * misc/fremovexattr.c: Likewise.
15236 * misc/fsetxattr.c: Likewise.
15237 * misc/fsync.c: Likewise.
15238 * misc/ftruncate.c: Likewise.
15239 * misc/futimes.c: Likewise.
15240 * misc/futimesat.c: Likewise.
15241 * misc/getdomain.c: Likewise.
15242 * misc/getdtsz.c: Likewise.
15243 * misc/gethostid.c: Likewise.
15244 * misc/gethostname.c: Likewise.
15245 * misc/getloadavg.c: Likewise.
15246 * misc/getpagesize.c: Likewise.
15247 * misc/getsysstats.c: Likewise.
15248 * misc/getxattr.c: Likewise.
15249 * misc/gtty.c: Likewise.
15250 * misc/ioctl.c: Likewise.
15251 * misc/lgetxattr.c: Likewise.
15252 * misc/listxattr.c: Likewise.
15253 * misc/llistxattr.c: Likewise.
15254 * misc/lremovexattr.c: Likewise.
15255 * misc/lsetxattr.c: Likewise.
15256 * misc/lutimes.c: Likewise.
15257 * misc/madvise.c: Likewise.
15258 * misc/mincore.c: Likewise.
15259 * misc/mlock.c: Likewise.
15260 * misc/mlockall.c: Likewise.
15261 * misc/mmap.c: Likewise.
15262 * misc/mprotect.c: Likewise.
15263 * misc/msync.c: Likewise.
15264 * misc/munlock.c: Likewise.
15265 * misc/munlockall.c: Likewise.
15266 * misc/munmap.c: Likewise.
15267 * misc/preadv.c: Likewise.
15268 * misc/preadv64.c: Likewise.
15269 * misc/ptrace.c: Likewise.
15270 * misc/pwritev.c: Likewise.
15271 * misc/pwritev64.c: Likewise.
15272 * misc/readv.c: Likewise.
15273 * misc/reboot.c: Likewise.
15274 * misc/remap_file_pages.c: Likewise.
15275 * misc/removexattr.c: Likewise.
15276 * misc/revoke.c: Likewise.
15277 * misc/select.c: Likewise.
15278 * misc/setdomain.c: Likewise.
15279 * misc/setegid.c: Likewise.
15280 * misc/seteuid.c: Likewise.
15281 * misc/sethostid.c: Likewise.
15282 * misc/sethostname.c: Likewise.
15283 * misc/setregid.c: Likewise.
15284 * misc/setreuid.c: Likewise.
15285 * misc/setxattr.c: Likewise.
15286 * misc/sstk.c: Likewise.
15287 * misc/stty.c: Likewise.
15288 * misc/swapoff.c: Likewise.
15289 * misc/swapon.c: Likewise.
15290 * misc/sync.c: Likewise.
15291 * misc/syncfs.c: Likewise.
15292 * misc/syscall.c: Likewise.
15293 * misc/truncate.c: Likewise.
15294 * misc/ualarm.c: Likewise.
15295 * misc/usleep.c: Likewise.
15296 * misc/ustat.c: Likewise.
15297 * misc/utimes.c: Likewise.
15298 * misc/vhangup.c: Likewise.
15299 * misc/writev.c: Likewise.
15300 * posix/_exit.c: Likewise.
15301 * posix/alarm.c: Likewise.
15302 * posix/execve.c: Likewise.
15303 * posix/fexecve.c: Likewise.
15304 * posix/fork.c: Likewise.
15305 * posix/fpathconf.c: Likewise.
15306 * posix/getaddrinfo.c: Likewise.
15307 * posix/getegid.c: Likewise.
15308 * posix/geteuid.c: Likewise.
15309 * posix/getgid.c: Likewise.
15310 * posix/getgroups.c: Likewise.
15311 * posix/getlogin.c: Likewise.
15312 * posix/getlogin_r.c: Likewise.
15313 * posix/getpgid.c: Likewise.
15314 * posix/getpid.c: Likewise.
15315 * posix/getppid.c: Likewise.
15316 * posix/getresgid.c: Likewise.
15317 * posix/getresuid.c: Likewise.
15318 * posix/getsid.c: Likewise.
15319 * posix/getuid.c: Likewise.
15320 * posix/glob64.c: Likewise.
15321 * posix/nanosleep.c: Likewise.
15322 * posix/pathconf.c: Likewise.
15323 * posix/pause.c: Likewise.
15324 * posix/posix_madvise.c: Likewise.
15325 * posix/pread.c: Likewise.
15326 * posix/pread64.c: Likewise.
15327 * posix/pwrite.c: Likewise.
15328 * posix/pwrite64.c: Likewise.
15329 * posix/sched_getaffinity.c: Likewise.
15330 * posix/sched_getp.c: Likewise.
15331 * posix/sched_gets.c: Likewise.
15332 * posix/sched_primax.c: Likewise.
15333 * posix/sched_primin.c: Likewise.
15334 * posix/sched_rr_gi.c: Likewise.
15335 * posix/sched_setaffinity.c: Likewise.
15336 * posix/sched_setp.c: Likewise.
15337 * posix/sched_sets.c: Likewise.
15338 * posix/sched_yield.c: Likewise.
15339 * posix/setgid.c: Likewise.
15340 * posix/setlogin.c: Likewise.
15341 * posix/setpgid.c: Likewise.
15342 * posix/setresgid.c: Likewise.
15343 * posix/setresuid.c: Likewise.
15344 * posix/setsid.c: Likewise.
15345 * posix/setuid.c: Likewise.
15346 * posix/sleep.c: Likewise.
15347 * posix/spawni.c: Likewise.
15348 * posix/sysconf.c: Likewise.
15349 * posix/times.c: Likewise.
15350 * posix/wait.c: Likewise.
15351 * posix/wait3.c: Likewise.
15352 * posix/wait4.c: Likewise.
15353 * posix/waitpid.c: Likewise.
15354 * resolv/gai_sigqueue.c: Likewise.
15355 * resource/getpriority.c: Likewise.
15356 * resource/getrlimit.c: Likewise.
15357 * resource/getrusage.c: Likewise.
15358 * resource/nice.c: Likewise.
15359 * resource/setpriority.c: Likewise.
15360 * resource/setrlimit.c: Likewise.
15361 * resource/ulimit.c: Likewise.
15362 * rt/aio_cancel.c: Likewise.
15363 * rt/aio_fsync.c: Likewise.
15364 * rt/aio_read.c: Likewise.
15365 * rt/aio_sigqueue.c: Likewise.
15366 * rt/aio_suspend.c: Likewise.
15367 * rt/aio_write.c: Likewise.
15368 * rt/clock_getres.c: Likewise.
15369 * rt/clock_gettime.c: Likewise.
15370 * rt/clock_nanosleep.c: Likewise.
15371 * rt/clock_settime.c: Likewise.
15372 * rt/lio_listio.c: Likewise.
15373 * rt/mq_close.c: Likewise.
15374 * rt/mq_getattr.c: Likewise.
15375 * rt/mq_notify.c: Likewise.
15376 * rt/mq_open.c: Likewise.
15377 * rt/mq_receive.c: Likewise.
15378 * rt/mq_send.c: Likewise.
15379 * rt/mq_setattr.c: Likewise.
15380 * rt/mq_timedreceive.c: Likewise.
15381 * rt/mq_timedsend.c: Likewise.
15382 * rt/mq_unlink.c: Likewise.
15383 * rt/shm_open.c: Likewise.
15384 * rt/shm_unlink.c: Likewise.
15385 * rt/timer_create.c: Likewise.
15386 * rt/timer_delete.c: Likewise.
15387 * rt/timer_getoverr.c: Likewise.
15388 * rt/timer_gettime.c: Likewise.
15389 * rt/timer_settime.c: Likewise.
15390 * setjmp/__longjmp.c: Likewise.
15391 * setjmp/setjmp.c: Likewise.
15392 * signal/kill.c: Likewise.
15393 * signal/killpg.c: Likewise.
15394 * signal/raise.c: Likewise.
15395 * signal/sigaction.c: Likewise.
15396 * signal/sigaltstack.c: Likewise.
15397 * signal/sigblock.c: Likewise.
15398 * signal/sigignore.c: Likewise.
15399 * signal/sigintr.c: Likewise.
15400 * signal/signal.c: Likewise.
15401 * signal/sigpause.c: Likewise.
15402 * signal/sigpending.c: Likewise.
15403 * signal/sigqueue.c: Likewise.
15404 * signal/sigreturn.c: Likewise.
15405 * signal/sigset.c: Likewise.
15406 * signal/sigsetmask.c: Likewise.
15407 * signal/sigstack.c: Likewise.
15408 * signal/sigsuspend.c: Likewise.
15409 * signal/sigtimedwait.c: Likewise.
15410 * signal/sigvec.c: Likewise.
15411 * signal/sigwait.c: Likewise.
15412 * signal/sigwaitinfo.c: Likewise.
15413 * signal/sysv_signal.c: Likewise.
15414 * socket/accept.c: Likewise.
15415 * socket/accept4.c: Likewise.
15416 * socket/bind.c: Likewise.
15417 * socket/connect.c: Likewise.
15418 * socket/getpeername.c: Likewise.
15419 * socket/getsockname.c: Likewise.
15420 * socket/getsockopt.c: Likewise.
15421 * socket/isfdtype.c: Likewise.
15422 * socket/listen.c: Likewise.
15423 * socket/recv.c: Likewise.
15424 * socket/recvfrom.c: Likewise.
15425 * socket/recvmsg.c: Likewise.
15426 * socket/send.c: Likewise.
15427 * socket/sendmsg.c: Likewise.
15428 * socket/sendto.c: Likewise.
15429 * socket/setsockopt.c: Likewise.
15430 * socket/shutdown.c: Likewise.
15431 * socket/sockatmark.c: Likewise.
15432 * socket/socket.c: Likewise.
15433 * socket/socketpair.c: Likewise.
15434 * stdio-common/ctermid.c: Likewise.
15435 * stdio-common/cuserid.c: Likewise.
15436 * stdio-common/remove.c: Likewise.
15437 * stdio-common/rename.c: Likewise.
15438 * stdio-common/renameat.c: Likewise.
15439 * stdio-common/tempname.c: Likewise.
15440 * stdlib/getcontext.c: Likewise.
15441 * stdlib/makecontext.c: Likewise.
15442 * stdlib/setcontext.c: Likewise.
15443 * stdlib/swapcontext.c: Likewise.
15444 * stdlib/system.c: Likewise.
15445 * streams/fattach.c: Likewise.
15446 * streams/fdetach.c: Likewise.
15447 * streams/getmsg.c: Likewise.
15448 * streams/getpmsg.c: Likewise.
15449 * streams/putmsg.c: Likewise.
15450 * streams/putpmsg.c: Likewise.
15451 * sysdeps/unix/bsd/getpt.c: Likewise.
15452 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15453 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15454 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15456 Likewise.
15457 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15458 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15459 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15460 * sysvipc/msgctl.c: Likewise.
15461 * sysvipc/msgget.c: Likewise.
15462 * sysvipc/msgrcv.c: Likewise.
15463 * sysvipc/msgsnd.c: Likewise.
15464 * sysvipc/semctl.c: Likewise.
15465 * sysvipc/semget.c: Likewise.
15466 * sysvipc/semop.c: Likewise.
15467 * sysvipc/semtimedop.c: Likewise.
15468 * sysvipc/shmat.c: Likewise.
15469 * sysvipc/shmctl.c: Likewise.
15470 * sysvipc/shmdt.c: Likewise.
15471 * sysvipc/shmget.c: Likewise.
15472 * termios/tcdrain.c: Likewise.
15473 * termios/tcflow.c: Likewise.
15474 * termios/tcflush.c: Likewise.
15475 * termios/tcgetattr.c: Likewise.
15476 * termios/tcgetpgrp.c: Likewise.
15477 * termios/tcsendbrk.c: Likewise.
15478 * termios/tcsetattr.c: Likewise.
15479 * termios/tcsetpgrp.c: Likewise.
15480 * time/adjtime.c: Likewise.
15481 * time/clock.c: Likewise.
15482 * time/getitimer.c: Likewise.
15483 * time/gettimeofday.c: Likewise.
15484 * time/setitimer.c: Likewise.
15485 * time/settimeofday.c: Likewise.
15486 * time/stime.c: Likewise.
15487 * time/time.c: Likewise.
15488
154892012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 15490
a20492cf
PT
15491 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15492 /usr/old/bin.
15493
72e182e3
PT
15494 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15495 instead of spaces.
15496 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15497
fbeafede
JM
154982012-11-03 Joseph Myers <joseph@codesourcery.com>
15499
5b5b04d6
JM
15500 [BZ #14796]
15501 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15502 FE_TONEAREST before applying Dekker multiplication and Knuth
15503 addition. Clear inexact exceptions and check for exact zero
15504 results afterwards.
15505 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15506 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15507 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15508 * math/libm-test.inc (fma_test): Add more tests.
15509 (fma_test_towardzero): Likewise.
15510 (fma_test_downward): Likewise.
15511 (fma_test_upward): Likewise.
15512 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15513 function.
15514 (libc_fesetround): New macro.
15515 (libc_fesetroundf): Likewise.
15516 (libc_fesetroundl): Likewise.
15517 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15518 function.
15519 (libc_fesetround_387): Likewise.
15520 (libc_fesetroundf): New macro.
15521 (libc_fesetround): Likewise.
15522 (libc_fesetroundl): Likewise.
15523 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15524 function.
15525 (libc_fesetroundf): New macro.
15526 (libc_fesetround): Likewise.
15527 (libc_fesetroundl): Likewise.
15528 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15529 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15530 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15531 libm_hidden_ver.
15532 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15533 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15534 libm_hidden_def.
15535 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15536 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15537 libm_hidden_ver.
15538 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15539 libm_hidden_def.
15540
fbeafede
JM
15541 [BZ #3439]
15542 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15543 integer constant usable in #if and use that to give value to enum
15544 constant.
15545 (FE_DIVBYZERO): Likewise.
15546 (FE_UNDERFLOW): Likewise.
15547 (FE_OVERFLOW): Likewise.
15548 (FE_INVALID): Likewise.
15549 (FE_INVALID_SNAN): Likewise.
15550 (FE_INVALID_ISI): Likewise.
15551 (FE_INVALID_IDI): Likewise.
15552 (FE_INVALID_ZDZ): Likewise.
15553 (FE_INVALID_IMZ): Likewise.
15554 (FE_INVALID_COMPARE): Likewise.
15555 (FE_INVALID_SOFTWARE): Likewise.
15556 (FE_INVALID_SQRT): Likewise.
15557 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15558 (FE_TONEAREST): Likewise.
15559 (FE_TOWARDZERO): Likewise.
15560 (FE_UPWARD): Likewise.
15561 (FE_DOWNWARD): Likewise.
15562 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15563 (FE_DIVBYZERO): Likewise.
15564 (FE_OVERFLOW): Likewise.
15565 (FE_UNDERFLOW): Likewise.
15566 (FE_INEXACT): Likewise.
15567 (FE_TONEAREST): Likewise.
15568 (FE_DOWNWARD): Likewise.
15569 (FE_UPWARD): Likewise.
15570 (FE_TOWARDZERO): Likewise.
15571 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15572 (FE_UNDERFLOW): Likewise.
15573 (FE_OVERFLOW): Likewise.
15574 (FE_DIVBYZERO): Likewise.
15575 (FE_INVALID): Likewise.
15576 (FE_TONEAREST): Likewise.
15577 (FE_TOWARDZERO): Likewise.
15578 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15579 (FE_OVERFLOW): Likewise.
15580 (FE_UNDERFLOW): Likewise.
15581 (FE_DIVBYZERO): Likewise.
15582 (FE_INEXACT): Likewise.
15583 (FE_TONEAREST): Likewise.
15584 (FE_TOWARDZERO): Likewise.
15585 (FE_UPWARD): Likewise.
15586 (FE_DOWNWARD): Likewise.
15587 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15588 (FE_DIVBYZERO): Likewise.
15589 (FE_OVERFLOW): Likewise.
15590 (FE_UNDERFLOW): Likewise.
15591 (FE_INEXACT): Likewise.
15592 (FE_TONEAREST): Likewise.
15593 (FE_DOWNWARD): Likewise.
15594 (FE_UPWARD): Likewise.
15595 (FE_TOWARDZERO): Likewise.
15596
105ca950
CM
155972012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15598
15599 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15600
a542b389
AS
156012012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15602
15603 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15604 commands. Quote $PWD.
15605 (blacklist_exports): Don't use remove_newlines. Replace "declare
15606 -x" by "export".
15607 (remove_newlines): Remove.
15608
f62c8abc
L
156092012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15610
15611 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15612 * stdlib/stdlib.h (atof): Moved to ...
15613 * include/bits/stdlib-float.h: Here. New file.
15614 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15615 * stdlib/bits/stdlib-float.h: New file.
15616 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15617 -mno-sse -mno-mmx.
15618 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15619 <xmmintrin.h>.
15620
0155d5b2
JM
156212012-11-02 Joseph Myers <joseph@codesourcery.com>
15622
a68d0680
JM
15623 * conform/conformtest.pl (@headers): Add fenv.h.
15624 * conform/data/fenv.h-data: New file.
15625 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15626 include of <math/fenv.h>.
15627
caf7f573
JM
15628 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15629 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15630 && !UNIX98]. Enables tests for XOPEN2K8.
15631 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15632 POSIX2008]: Likewise.
15633
6c073ad6
JM
15634 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15635 (struct rusage): Do not expect type or its members.
15636
0155d5b2
JM
15637 [BZ #3439]
15638 * math/math.h (FP_NAN): Define macro to integer constant usable in
15639 #if and use that to give value to enum constant.
15640 (FP_INFINITE): Likewise.
15641 (FP_ZERO): Likewise.
15642 (FP_SUBNORMAL): Likewise.
15643 (FP_NORMAL): Likewise.
15644
b5dcacb4
AS
156452012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15646
15647 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15648 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15649 arguments.
15650
f7934be8
RM
156512012-11-02 Roland McGrath <roland@hack.frob.com>
15652
15653 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15654 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15655 autoconf-time if not.
15656 * configure.in: Remove AC_PREREQ.
15657
d7d08bde
TMQMF
156582012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15659
15660 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15661 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15662 of the internal implementation.
15663
dcdae19a
JM
156642012-11-02 Joseph Myers <joseph@codesourcery.com>
15665
15666 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15667 except include of <misc/sys/syslog.h>.
15668
d6cffd3e
AS
156692012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15670
15671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15672 function returns with a NULL context exit with zero.
15673
b3563932
TMQMF
156742012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15675
15676 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15677
b288a93d
L
156782012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15679
15680 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15681 (run_program_cmd): This.
15682 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15683 (tst_langinfo): New variable. Use it.
15684
a2421a68
SAS
156852012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15686
15687 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15688 floating point opcodes.
15689
6f796e1b
TS
156902012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15691
7402596b
TS
15692 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15693 variable.
15694
d0d4f868
TS
15695 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15696
6f796e1b
TS
15697 * sysdeps/mach/hurd/powerpc: Remove directory.
15698 * sysdeps/mach/powerpc: Likewise.
15699
4da224a2
AS
157002012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15701
15702 * scripts/check-local-headers.sh: Ignore c++ headers.
15703
341dd673
TS
157042012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15705
15706 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15707 __libc_cleanup_region_start argument.
15708
473611b2
JM
157092012-11-01 Joseph Myers <joseph@codesourcery.com>
15710
15711 [BZ #14784]
15712 [BZ #14785]
15713 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15714 x * y using scaling, not as x * y + z.
15715 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15716 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15717 * math/libm-test.inc (fma_test): Add more tests.
15718 (fma_test_towardzero): Likewise.
15719 (fma_test_downward): Likewise.
15720 (fma_test_upward): Likewise.
15721
4078da3d
TS
157222012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15723
15724 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15725
903252aa
JM
157262012-10-31 Joseph Myers <joseph@codesourcery.com>
15727
15728 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15729 New variable.
15730
cbc818d0
TS
157312012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15732
15733 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15734
5a03cb1e
AS
157352012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15736
15737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15738 Fix sort order.
15739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15740 Likewise.
15741
90aff2ff
TMQMF
157422012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15743
15744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15745 Fix the order of the list for glibc 2.17.
15746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15747 Likewise.
15748
1818fcb7
AS
157492012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15750
15751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15752
ef82f4da
JM
157532012-10-31 Joseph Myers <joseph@codesourcery.com>
15754
16a0e2ec
JM
15755 [BZ #14610]
15756 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15757 for low part of x being zero before using __atanl (y).
15758 * math/libm-test.inc (atan2_test): Add another test.
15759
0eb69512
JM
15760 * manual/install.texi (Configuring and compiling): Document
15761 general use of test-wrapper and test-wrapper-env.
15762 * INSTALL: Regenerated.
15763
ef82f4da
JM
15764 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15765 (__fma): Do not extract and scale down low bits on after-rounding
15766 systems when result rounded to normal precision would have normal
15767 exponent.
15768 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15769 (__fmal): Do not extract and scale down low bits on after-rounding
15770 systems when result rounded to normal precision would have normal
15771 exponent.
15772 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15773 (__fmal): Do not extract and scale down low bits on after-rounding
15774 systems when result rounded to normal precision would have normal
15775 exponent.
15776 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15777 macro.
15778 (fma_test): Add more tests.
15779 (fma_test_towardzero): Likewise.
15780 (fma_test_downward): Likewise.
15781 (fma_test_upward): Likewise.
15782
954ef0d9
L
157832012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15784
15785 * sysdeps/i386/tininess.h: Renamed to ...
15786 * sysdeps/x86/tininess.h: This.
15787 * sysdeps/x86_64/tininess.h: Removed.
15788
df61ffb2
JM
157892012-10-30 Joseph Myers <joseph@codesourcery.com>
15790
15791 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15792 input. Use $(build-program-cmd).
15793 ($(objpfx)tst-array1-static.out): Likewise.
15794 ($(objpfx)tst-array2.out): Likewise.
15795 ($(objpfx)tst-array3.out): Likewise.
15796 ($(objpfx)tst-array4.out): Likewise.
15797 ($(objpfx)tst-array5.out): Likewise.
15798 ($(objpfx)tst-array5-static.out): Likewise.
15799
01767843
CM
158002012-10-30 Chris Metcalf <cmetcalf@tilera.com>
15801
47cc1490
CM
15802 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15803 if defined.
15804
01767843
CM
15805 * nss/nsswitch.h (nss_interface_function): Provide new
15806 macro for use with NSS functions.
15807 * grp/initgroups.c: Use new macro.
15808 * nss/getXXbyYY.c: Likewise.
15809 * nss/getXXbyYY_r.c: Likewise.
15810 * nss/getXXent.c: Likewise.
15811 * nss/getXXent_r.c: Likewise.
15812 * sysdeps/posix/getaddrinfo.c: Likewise.
15813
8321aa97
AJ
158142012-10-30 Andreas Jaeger <aj@suse.de>
15815
15816 * po/ru.po: Update Russion translation from translation project.
15817
2a27fd6d
JM
158182012-10-30 Joseph Myers <joseph@codesourcery.com>
15819
8627a232
JM
15820 [BZ #14152]
15821 [BZ #14783]
15822 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15823 result and shift together with sticky bit instead of replicating
15824 round-to-nearest rounding.
15825 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15826 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15827 * math/libm-test.inc (fma_test): Add more tests. Do not permit
15828 missing underflow exceptions.
15829 (fma_test_towardzero): Add more tests.
15830 (fma_test_downward): Likewise.
15831 (fma_test_upward): Likewise.
15832
2a27fd6d
JM
15833 [BZ #14047]
15834 * sysdeps/generic/tininess.h: New file.
15835 * sysdeps/i386/tininess.h: Likewise.
15836 * sysdeps/sh/tininess.h: Likewise.
15837 * sysdeps/x86_64/tininess.h: Likewise.
15838 * stdlib/tst-strtod-underflow.c: Likewise.
15839 * stdlib/tst-tininess.c: Likewise.
15840 * stdlib/strtod_l.c: Include <tininess.h>.
15841 (round_and_return): Do not set errno for exact underflow cases.
15842 Force an underflow exception when setting errno for underflow.
15843 Determine underflow based on rounding to normal precision if
15844 TININESS_AFTER_ROUNDING.
15845 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15846 ERANGE for exact underflow cases.
15847 * stdlib/Makefile (tests): Add tst-tininess and
15848 tst-strtod-underflow.
15849 ($(objpfx)tst-tininess): Use $(link-libm).
15850 ($(objpfx)tst-strtod-underflow): Likewise.
15851
e7170363
AJ
158522012-10-30 Andreas Jaeger <aj@suse.de>
15853
e5088dc6
AJ
15854 [BZ#14767]
15855 * elf/Makefile (tests): Remove conditional for have-initfini-array
15856 since this is now always required and the variable does not exist
15857 anymore.
15858 (tests-static): Likewise.
15859 (modules-names): Likewise.
15860
e7170363 15861 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
15862
15863 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15864 merged with constructor/destructor.
15865 (init_array): Likewise.
15866 * elf/tst-array2dep.c (fini_array): Likewise.
15867 (init_array): Likewise.
15868
60457d8a
MF
158692012-10-29 Mike Frysinger <vapier@gentoo.org>
15870
15871 * manual/message.texi: Delete @cartouche tags.
15872
8bece752
PT
158732012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15874
94ce799f
PT
15875 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15876 EOPNOTSUPP.
15877 * sysdeps/mach/hurd/fsync.c: Likewise.
15878
8bece752
PT
15879 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15880 [_POSIX_REALTIME_SIGNALS]: Change condition to
15881 [_POSIX_REALTIME_SIGNALS > 0].
15882
86ebe6b1
AJ
158832012-10-27 Andreas Jaeger <aj@suse.de>
15884
15885 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15886 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15887 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15888 [__WORDSIZE != 64]: Likewise.
15889
54399c08
L
158902012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15891
15892 * iconvdata/tst-table.sh: Remove ${SHELL}.
15893 * iconvdata/tst-tables.sh: Likewise.
15894
e2211bed
DM
158952012-10-25 David S. Miller <davem@davemloft.net>
15896
15897 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15898 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15899 of strtoull.
15900
f303f97c
DM
15901 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15902 ifunc-impl-list.c
15903 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15904 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15905 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15906 file.
15907
1e9d84cd
RM
159082012-10-25 Roland McGrath <roland@hack.frob.com>
15909
15910 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15911 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15912 __getdirentries.
15913
df381762
JM
159142012-10-25 Joseph Myers <joseph@codesourcery.com>
15915 Jim Blandy <jimb@codesourcery.com>
15916
15917 * scripts/cross-test-ssh.sh: New file.
15918 * manual/install.texi (Configuring and compiling): Document use of
15919 cross-test-ssh.sh.
15920 * INSTALL: Regenerated.
15921
bff64913
PT
159222012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15923
15924 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15925 EOPNOTSUPP.
15926
25fe8932
JM
159272012-10-25 Joseph Myers <joseph@codesourcery.com>
15928
15929 * Makeconfig (run-program-prefix): Fix comment.
15930
cc1290d0
JM
159312012-10-24 Joseph Myers <joseph@codesourcery.com>
15932 Jim Blandy <jimb@codesourcery.com>
15933
15934 * Makeconfig (test-wrapper): New variable,
15935 (test-wrapper-env): Likewise.
15936 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15937 (run-built-tests): Define to yes.
15938 (run-program-prefix): Use $(test-wrapper).
15939 (built-program-cmd): Likewise.
15940 * Rules (make-test-out): Use $(test-wrapper-env) and
15941 $(host-built-program-cmd).
15942 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15943 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15944 tst-pathopt.sh.
15945 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15946 $(test-wrapper-env) to tst-rtld-load-self.sh.
15947 ($(objpfx)order2.out): Use $(test-wrapper).
15948 ($(objpfx)tst-initorder.out): Likewise.
15949 ($(objpfx)tst-initorder2.out): Likewise.
15950 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15951 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15952 (test_wrapper_env): New variable. Use it to run ld.so.
15953 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15954 Use it to run ld.so.
15955 (test_wrapper_env): Likewise.
15956 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15957 $(test-wrapper) to run-iconv-test.sh.
15958 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15959 (ICONV): Use $test_wrapper.
15960 * posix/Makefile ($(objpfx)globtest.out): Pass
15961 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15962 globtest.sh, not $(run-program-prefix).
15963 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15964 (test_wrapper): Likewise.
15965 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15966 set together with run_via_rtld_prefix.
15967 (run_program_prefix): Define in terms of test_wrapper and
15968 run_via_rtld_prefix.
15969
6e6249d0
RM
159702012-10-24 Roland McGrath <roland@hack.frob.com>
15971
15972 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15973 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15974 Targets removed.
15975
15976 [BZ #14743]
15977 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15978 Declare __clock_getres, __clock_gettime, __clock_settime,
15979 __clock_nanosleep, and __clock_getcpuclockid.
15980 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15981 Remove librt_hidden_def (clock_gettime).
15982 * sysdeps/unix/clock_gettime.c: Likewise.
15983 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15984 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15985 * rt/clock_getres.c: Define __clock_getres as an alias.
15986 * sysdeps/posix/clock_getres.c: Likewise.
15987 * rt/clock_settime.c: Define __clock_settime as an alias.
15988 * sysdeps/unix/clock_settime.c: Likewise.
15989 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15990 * sysdeps/unix/clock_nanosleep.c: Likewise.
15991 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15992 * rt/clock-compat.c: New file.
15993 * rt/Makefile (librt-routines): Add clock-compat and move
15994 $(clock-routines) to ...
15995 (routines): ... here, new variable.
15996 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15997 Don't add get_clockfreq here.
15998 * rt/Versions (libc: GLIBC_2.17): New version set.
15999 Add clock_* symbols here.
16000 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16001 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16002 (GLIBC_2.17): Add clock_* symbols.
16003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16005 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16007 Likewise.
16008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16009 Likewise.
16010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16014 * NEWS: Mention the move.
16015
16016 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16017 Use __open, __read, __close rather than their public counterparts.
16018 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16019 (__get_clockfreq_via_cpuinfo): Likewise.
16020 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16021 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16022
16023 * config.h.in (HAVE_IFUNC): New #undef.
16024 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16025 was successful.
16026 * configure: Regenerated.
16027
0cae3f4b
MF
160282012-10-24 Mike Frysinger <vapier@gentoo.org>
16029
16030 * configure.in: Move READELF check to start of file.
16031 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16032 libc_cv_asm_gnu_indirect_function in the process.
16033 * configure: Regenerated.
16034
8175a253
MF
160352012-10-24 Mike Frysinger <vapier@gentoo.org>
16036
16037 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16038 send the output to /dev/null.
16039 (libc_cv_cc_with_libunwind): Likewise.
16040 (libc_cv_as_noexecstack): Likewise.
16041 * configure: Regenerate.
16042
0708a7d1
JM
160432012-10-24 Joseph Myers <joseph@codesourcery.com>
16044
10b40d85
JM
16045 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16046
0708a7d1
JM
16047 * posix/globtest.sh (TMPDIR): Do not set.
16048 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16049 (testout): Likewise.
16050
9fddec1a
AJ
160512012-10-24 Andreas Jaeger <aj@suse.de>
16052
3a8db22f
AJ
16053 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16054 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16055 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16056 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16057 posix_fadvise64, posix_fallocate64.
16058
9fddec1a
AJ
16059 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16060 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16061 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16062 Likewise.
16063 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16064 Likewise.
16065 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16066
16067 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16068 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16069 <bits/fcntl-linux.h>.
16070 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16071
16072 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16073 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16074 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16075 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16076 [__WORDSIZE != 64]: Likewise.
16077
ebfd1bbd
JM
160782012-10-23 Joseph Myers <joseph@codesourcery.com>
16079
03ac099f
JM
16080 * Makeconfig (run-built-tests): New variable.
16081 * Rules [$(cross-compiling) = yes]: Change condition to
16082 [$(run-built-tests) = no].
16083 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16084 to [$(run-built-tests) = yes].
16085 * elf/Makefile [$(cross-compiling) = no]: Likewise
16086 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16087 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16088 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16089 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16090 * io/Makefile [$(cross-compiling) = no]: Likewise.
16091 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16092 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16093 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16094 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16095 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16096 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16097 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16098 * string/Makefile [$(cross-compiling) = no]: Likewise.
16099
ebfd1bbd
JM
16100 * posix/Makefile ($(objpfx)globtest.out): Pass
16101 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16102 $(rtld-installed-name).
16103 * posix/globtest.sh (elf_objpfx): Remove variable.
16104 (rtld_installed_name): Likewise.
16105 (library_path): Likewise.
16106 (run_program_prefix): New variable. Use for running globtest
16107 binary.
16108
166bca24
JB
161092012-10-23 Jim Blandy <jimb@codesourcery.com>
16110 Joseph Myers <joseph@codesourcery.com>
16111
16112 * Makeconfig (host-built-program-cmd): New variable.
16113 * elf/Makefile (tst-stackguard1-ARGS): Use
16114 $(host-built-program-cmd).
16115 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16116 (tst-spawn-ARGS): Likewise.
16117 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16118
88866099
JM
161192012-10-23 Joseph Myers <joseph@codesourcery.com>
16120 Jim Blandy <jimb@codesourcery.com>
16121
16122 * Makeconfig (run-via-rtld-prefix): New variable.
16123 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16124 (built-program-cmd): Likewise.
16125
b4b4c296
AJ
161262012-10-22 Andreas Jaeger <aj@suse.de>
16127
16128 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16129 __O_RSYNC if it exists, otherwise to O_SYNC.
16130
6fb54a22
JB
161312012-10-22 Jim Blandy <jimb@codesourcery.com>
16132 Joseph Myers <joseph@codesourcery.com>
16133
16134 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16135 /dev/null.
16136 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16137 from /dev/null
16138 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16139 /dev/null.
16140
481b90b9
AJ
161412012-10-22 Andreas Jaeger <aj@suse.de>
16142
2a0e2669
AJ
16143 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16144 Define always.
16145 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16146
76e38f9a
AJ
16147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16148 bits/fcntl-linux.h.
16149
7cd37b43
AJ
16150 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16151 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16152
481b90b9
AJ
16153 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16154 to __O_LARGEFILE.
16155 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16156 to __O_LARGEFILE.
16157
aba75984
JB
161582012-10-21 Jim Blandy <jimb@codesourcery.com>
16159 Joseph Myers <joseph@codesourcery.com>
16160
16161 * config.make.in (NM): New variable.
16162
88d4247f
AJ
161632012-10-21 Andreas Jaeger <aj@suse.de>
16164
16165 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16166 definitions and declarations that are provided by
16167 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16168
f2eed205
L
161692012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16170
16171 [BZ #14683]
16172 * elf/Makefile (tests-static): Add tst-leaks1-static.
16173 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16174 ($(objpfx)tst-leaks1-static): New rule.
16175 ($(objpfx)tst-leaks1-static-mem): Likewise.
16176 (tst-leaks1-static-ENV): New macro.
16177 * elf/dl-open.c (dl_open_worker): Check the main application
16178 only if SHARED is defined.
16179 * elf/tst-leaks1-static.c: New file.
16180
335e6931
AJ
161812012-10-20 Andreas Jaeger <aj@suse.de>
16182
16183 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16184 generic values for Linux.
16185 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16186 and declarations that are provided by <bits/fcntl-linux.h> and
16187 include <bits/fcntl-linux.h>.
16188 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16189 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16190
ac5c94d3
RM
161912012-10-20 Roland McGrath <roland@hack.frob.com>
16192
16193 * io/fcntl.h: Move include of <bits/types.h> to the top and
16194 include it unconditionally.
16195
de54b33a
L
161962012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16197
228cfb01
L
16198 * wcsmbs/Makefile (tests-ifunc): New variable.
16199 (tests): Add $(tests-ifunc).
16200 * wcsmbs/test-wcschr-ifunc.c: New file.
16201 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16202 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16203 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16204 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16205 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16206
69f07e5f
L
16207 * string/Makefile (tests-ifunc): New variable.
16208 (tests): Add $(tests-ifunc).
16209 * string/test-memccpy.c (TEST_NAME): New macro.
16210 * string/test-memchr.c (TEST_NAME): Likewise.
16211 * string/test-memcmp.c (TEST_NAME): Likewise.
16212 * string/test-memcpy.c (TEST_NAME): Likewise.
16213 * string/test-memmem.c (TEST_NAME): Likewise.
16214 * string/test-memmove.c (TEST_NAME): Likewise.
16215 * string/test-memset.c (TEST_NAME): Likewise.
16216 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16217 * string/test-stpcpy.c (TEST_NAME): Likewise.
16218 * string/test-stpncpy.c (TEST_NAME): Likewise.
16219 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16220 * string/test-strcasestr.c (TEST_NAME): Likewise.
16221 * string/test-strcat.c (TEST_NAME): Likewise.
16222 * string/test-strchr.c (TEST_NAME): Likewise.
16223 * string/test-strcmp.c(TEST_NAME): Likewise.
16224 * string/test-strcpy.c (TEST_NAME): Likewise.
16225 * string/test-strcspn.c (TEST_NAME): Likewise.
16226 * string/test-strlen.c (TEST_NAME): Likewise.
16227 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16228 * string/test-strncmp.c (TEST_NAME): Likewise.
16229 * string/test-strncpy.c (TEST_NAME): Likewise.
16230 * string/test-strnlen.c (TEST_NAME): Likewise.
16231 * string/test-strpbrk.c (TEST_NAME): Likewise.
16232 * string/test-strrchr.c (TEST_NAME): Likewise.
16233 * string/test-strspn.c (TEST_NAME): Likewise.
16234 * string/test-strstr.c (TEST_NAME): Likewise.
16235 * string/test-bcopy-ifunc.c: New file.
16236 * string/test-bzero-ifunc.c: Likewise.
16237 * string/test-memccpy-ifunc.c: Likewise.
16238 * string/test-memchr-ifunc.c: Likewise.
16239 * string/test-memcmp-ifunc.c: Likewise.
16240 * string/test-memcpy-ifunc.c: Likewise.
16241 * string/test-memmem-ifunc.c: Likewise.
16242 * string/test-memmove-ifunc.c: Likewise.
16243 * string/test-mempcpy-ifunc.c: Likewise.
16244 * string/test-memset-ifunc.c: Likewise.
16245 * string/test-rawmemchr-ifunc.c: Likewise.
16246 * string/test-stpcpy-ifunc.c: Likewise.
16247 * string/test-stpncpy-ifunc.c: Likewise.
16248 * string/test-strcasecmp-ifunc.c: Likewise.
16249 * string/test-strcasestr-ifunc.c: Likewise.
16250 * string/test-strcat-ifunc.c: Likewise.
16251 * string/test-strchr-ifunc.c: Likewise.
16252 * string/test-strchrnul-ifunc.c: Likewise.
16253 * string/test-strcmp-ifunc.c: Likewise.
16254 * string/test-strcpy-ifunc.c: Likewise.
16255 * string/test-strcspn-ifunc.c: Likewise.
16256 * string/test-strlen-ifunc.c: Likewise.
16257 * string/test-strncasecmp-ifunc.c: Likewise.
16258 * string/test-strncat-ifunc.c: Likewise.
16259 * string/test-strncmp-ifunc.c: Likewise.
16260 * string/test-strncpy-ifunc.c: Likewise.
16261 * string/test-strnlen-ifunc.c: Likewise.
16262 * string/test-strpbrk-ifunc.c: Likewise.
16263 * string/test-strrchr-ifunc.c: Likewise.
16264 * string/test-strspn-ifunc.c: Likewise.
16265 * string/test-strstr-ifunc.c: Likewise.
16266
de54b33a
L
16267 * debug/Makefile (tests-ifunc): New variable.
16268 (tests): Add $(tests-ifunc).
16269 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16270 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16271 * debug/test-stpcpy_chk-ifunc.c: New file.
16272 * debug/test-strcpy_chk-ifunc.c: Likewise.
16273
88481c16
SP
162742012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16275
16276 [BZ #13601]
16277 * elf/dl-load.c (open_verify): Retry read if the entire ELF
16278 header is not read in.
16279
135948bd
JM
162802012-10-19 Joseph Myers <joseph@codesourcery.com>
16281
89f1c388
JM
16282 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16283 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16284 directly. Pass built executable to script as
16285 $(built-program-cmd).
16286 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16287 $testprogram without using LD_LIBRARY_PATH and $ldso.
16288
e40a0d21
JM
16289 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16290 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16291 $(rtld-installed-name).
16292 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16293 (rtld_installed_name): Likewise.
16294 (library_path): Likewise.
16295 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
16296 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16297 $(run-program-prefix) to tst-tables.sh.
16298 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16299 it to run tst-table-from and tst-table-to.
16300 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16301 Pass it to tst-table.sh.
16302 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16303 $(run-program-prefix) to tst-gettext.sh.
16304 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16305 tst-translit.sh.
16306 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16307 tst-gettext2.sh.
16308 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16309 to run tst-gettext.
16310 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16311 to run tst-gettext2.
16312 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16313 to run tst-translit.
16314 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16315 $(run-program-prefix) to tst-mtrace.sh.
16316 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16317 to run tst-mtrace.
16318 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16319 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16320 $(rtld-installed-name).
16321 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16322 (rtld_installed_name): Likewise.
16323 (run_program_prefix): New variable. Use it to run wordexp-test.
16324
728e272a
JM
16325 * Makeconfig (ARCH): Remove all definitions.
16326 (machine): Likewise.
16327 [ARCH]: Remove conditional code.
16328 [!objdir]: Give error.
16329 [!objdir] (objpfx): Remove.
16330 [!objdir] (common-objpfx): Likewise.
16331 [!objdir] (common-objdir): Likewise.
16332 * configure.in (config_makefile): Remove. Hardcode Makefile in
16333 AC_CONFIG_FILES call.
16334 * configure: Regenerated.
16335
d528cdcf
JM
16336 [BZ #13888]
16337 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16338 or TMPDIR.
16339 (testout): Likewise.
16340
135948bd
JM
16341 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16342 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16343 $(rtld-installed-name).
16344 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16345 (rtld_installed_name): Likwise.
16346 (runit): Remove function.
16347 (run_getconf): New variable, Use it for running getconf binary.
16348
38c78296
L
163492012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16350
16351 [BZ #14716]
16352 * string/test-memmem.c (check_result): New function.
16353 (do_one_test): Use it.
16354 (check1): New function.
16355 (test_main): Use it.
16356
d077f65f
MT
163572012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16358
16359 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16360
ced52c71
JM
163612012-10-18 Joseph Myers <joseph@codesourcery.com>
16362
16363 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16364 (_G_LSEEK64): Likewise.
16365 (_G_MMAP64): Likewise.
16366 (_G_FSTAT64): Likewise.
16367 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16368 (_G_LSEEK64): Likewise.
16369 (_G_MMAP64): Likewise.
16370 (_G_FSTAT64): Likewise.
16371 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16372 unconditional. Call __mmap64 directly.
16373 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16374 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16375 __lseek64 directly.
16376 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16377 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16378 __mmap64 directly.
16379 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16380 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16381 __lseek64 directly.
16382 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16383 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
16384 __lseek64 directly.
16385 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16386 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
16387 __lseek64 directly.
16388 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16389 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
16390 __fxstat64 directly.
16391 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16392 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16393 unconditional.
16394 (freopen64) [!_G_OPEN64]: Remove conditional code.
16395 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16396 unconditional.
16397 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16398 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16399 unconditional.
16400 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16401 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16402 unconditional.
16403 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16404 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16405 unconditional.
16406 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16407 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16408 unconditional.
16409 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16410 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16411 unconditional.
16412 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16413 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16414 unconditional.
16415 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16416
b741de23
SP
164172012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16418
16419 [BZ #12140]
16420 * manual/memory.texi (Malloc Tunable Parameters): Add note
16421 about free list pointers overwriting some perturb bytes.
16422 Wording suggested by Roland McGrath.
16423
f9b9d9c9
JM
164242012-10-17 Joseph Myers <joseph@codesourcery.com>
16425
16426 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16427 (lgamma_test): Likewise.
16428 (tgamma_test): Likewise.
16429
172a631a
FW
164302012-10-16 Florian Weimer <fweimer@redhat.com>
16431
16432 [BZ #14700]
16433 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16434 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16435
e9f37252
MK
164362012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16437
16438 * NEWS: Mention BZ #14716.
16439 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16440 when removing AVAILABLE1_USES_J macro.
16441
d394eb74
L
164422012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16443
16444 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16445 (__bswap_64): __uint64_t for unsigned 64-bit int.
16446
ca38dc17
AS
164472012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16448
16449 * include/string.h (memmem): Declare libc hidden alias.
16450 * string/memmem.c (memmem): Define libc hidden alias.
16451 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16452 __read, __close instead of open, read, close.
16453
9a387d1f
L
164542012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16455
ac49ecaf
L
16456 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16457 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16458 global and hidden.
16459 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16460 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16461 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16462 Likewise.
16463 (__rawmemchr_sse2): Likewise.
16464 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16465 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16466 (__strchr_sse2): Likewise.
16467 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16468 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16469 (__strcasecmp_sse2): Likewise.
16470 (__strncasecmp_sse2): Likewise.
16471 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16472 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16473 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16474 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16475 (__strrchr_sse2): Likewise.
16476 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16477 ifunc-impl-list.c.
16478 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16479 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16480 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16481 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16482 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16483 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16484 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16485 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16486 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16487 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16488 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16489 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16490 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16491 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16492 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16493 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16494 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16495 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16496 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16497 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16498 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16499 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16500 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16501 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16502 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16503 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16504 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16505 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16506 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16507 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16508
b090e8ea
L
16509 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16510 global and hidden.
16511 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16512 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16513 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16514 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16515 Likewise.
16516 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16517 Likewise.
16518 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16519 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16520 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16521 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16522 ifunc-impl-list.c.
16523 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16524 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16525 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16526 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16527 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16528 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16529 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16530 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16531 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16532 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16533 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16534 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16535 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16536 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16537 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16538 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16539 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16540 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16541 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16542 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16543 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16544 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16545 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16546 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16547 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16548 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16549 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16550 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16551 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16552 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16553 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16554 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16555 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16556 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16557 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16558 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16559 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16560 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16561 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16562 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16563 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16564
11dd4af6
L
16565 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16566 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16567 * include/ifunc-impl-list.h: New file.
16568 * misc/ifunc-impl-list.c: Likewise.
16569 * misc/Makefile (routines): Add ifunc-impl-list.
16570 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16571 * string/test-string.h: Include <ifunc-impl-list.h>.
16572 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16573 impl_array): New variables.
16574 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16575 are defined.
16576 (test_init): Call __libc_ifunc_impl_list to initialize
16577 func_list if TEST_IFUNC and TEST_NAME are defined.
16578
9a387d1f
L
16579 * string/Makefile (strop-tests): Add bcopy and bzero.
16580 * string/test-bcopy.c: New file.
16581 * string/test-bzero.c: Likewise.
16582 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16583 defined.
16584 * string/test-memset.c: Support bzero test if TEST_BZERO is
16585 defined.
16586 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16587 __libc_memmove.
16588 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16589 __libc_memset.
16590 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16591 of memset.
16592
472371b9
JM
165932012-10-10 Joseph Myers <joseph@codesourcery.com>
16594
1e4a9536
JM
16595 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16596 * configure: Regenerated.
16597
d173d12e
JM
16598 * Makeconfig (+link-static-before-libc): Don't include
16599 $(link-static-libc).
16600
472371b9
JM
16601 * libio/libio.h (_IO_pos_t): Remove.
16602
89a3ad0b
AO
166032012-10-10 Alexandre Oliva <aoliva@redhat.com>
16604
16605 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16606 McGrath.
16607
e7451425
AO
166082012-10-10 Alexandre Oliva <aoliva@redhat.com>
16609
16610 * crypt/crypt-entry.c: Include fips-private.h.
16611 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16612 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16613 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16614 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16615
4ba74a35
AO
166162012-10-10 Alexandre Oliva <aoliva@redhat.com>
16617
16618 * crypt/crypt-private.h: Include stdbool.h.
16619 (_ufc_setup_salt_r): Return bool.
16620 * crypt/crypt-entry.c: Include errno.h.
16621 (__crypt_r): Return NULL with EINVAL for bad salt.
16622 * crypt/crypt_util.c (bad_for_salt): New.
16623 (_ufc_setup_salt_r): Check that salt is long enough and within
16624 the specified alphabet.
16625 * crypt/badsalttest.c: New file.
16626 * crypt/Makefile (tests): Add it.
16627 ($(objpfx)badsalttest): New.
16628
f96f1242
MK
166292012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16630
16631 * NEWS: Add entry for BZ #14602.
16632
0e8e0c1c
JM
166332012-10-09 Joseph Myers <joseph@codesourcery.com>
16634
16635 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16636 type-generic.
16637 * math/libm-test.inc: Update comment listing what functions and
16638 macros are tested.
16639 (isgreater_test): New function.
16640 (isgreaterequal_test): Likewise.
16641 (isless_test): Likewise.
16642 (islessequal_test): Likewise.
16643 (islessgreater_test): Likewise.
16644 (isunordered_test): Likewise.
16645 (main): Call the new functions.
16646
273edc5e
RM
166472012-10-09 Roland McGrath <roland@hack.frob.com>
16648
b8493de0
RM
16649 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16650 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16651 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16652 * sysdeps/i386/configure: Regenerated.
16653 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16654 * sysdeps/mach/configure: Regenerated.
16655 * sysdeps/mach/hurd/configure: Regenerated.
16656 * sysdeps/powerpc/configure: Regenerated.
16657 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16658 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16659 * sysdeps/s390/s390-32/configure: Regenerated.
16660 * sysdeps/s390/s390-64/configure: Regenerated.
16661 * sysdeps/sh/configure: Regenerated.
16662 * sysdeps/sparc/configure: Regenerated.
16663 * sysdeps/unix/sysv/linux/configure: Regenerated.
16664 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16665 * sysdeps/x86_64/configure: Regenerated.
16666
273edc5e
RM
16667 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16668 defined. Don't check if MAP is NULL.
16669
c8450f70
JM
166702012-10-09 Joseph Myers <joseph@codesourcery.com>
16671
16672 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16673 (_G_stat64): Likewise.
16674 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16675 (_G_stat64): Likewise.
16676 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16677 instead of struct _G_stat64.
16678 * libio/fileops.c (mmap_remap_check): Likewise.
16679 (decide_maybe_mmap): Likewise.
16680 (_IO_new_file_seekoff): Likewise.
16681 (_IO_file_stat): Likewise.
16682 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16683 _G_off64_t.
16684 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16685 instead of struct _G_stat64.
16686 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16687
57e605ba
MK
166882012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16689
16690 [BZ #14602]
16691 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16692 Replace with ...
16693 (CHECK_EOL): New macro.
16694 (two_way_short_needle): Check beginning of haystack for EOL. Use
16695 CHECK_EOL.
16696 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16697 Replace with CHECK_EOL.
16698 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16699 Replace with CHECK_EOL.
16700
ef1bb361
JM
167012012-10-08 Joseph Myers <joseph@codesourcery.com>
16702
16703 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16704 type-generic.
16705 * math/libm-test.inc: Update comment listing what functions and
16706 macros are tested.
16707 (finite_test): New function.
16708 (isinf_test): Likewise.
16709 (isnan_test): Likewise.
16710 (fpclassify_test): Test subnormal input.
16711 (isfinite_test): Likewise.
16712 (isnormal_test): Likewise.
16713 (main): Call the new functions.
16714
55f11534
JN
167152012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16716
16717 [BZ #14660]
16718 * Makerules (%.dynsym): Force C locale when running
16719 $(OBJDUMP) --dynamic-syms.
16720
1ab29350
AS
167212012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16722
16723 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16724 <stdint.h>.
16725
f1ecb7ef
DM
167262012-10-06 David S. Miller <davem@davemloft.net>
16727
16728 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16729 upper 32-bits of the length value in %o2 since we use branch-on-register
16730 tests which consider the entire 64-bit register.
16731
5d41d91a
L
167322012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16733
16734 * string/test-strstr.c (check2): Add a test for page boundary.
16735
3baddb72
DM
167362012-10-05 David S. Miller <davem@davemloft.net>
16737
16738 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16739 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16740 file.
16741 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16742 sysdep_routines.
16743 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16744 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16745 and bzero when HWCAP_SPARC_CRYPTO is present.
16746
9cee5585
L
167472012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16748
d7e0dab9
L
16749 [BZ #14602]
16750 * string/test-strstr.c (check2): New function.
16751 (test_main): Call check2.
16752
03759f47
L
16753 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16754 and bug-strchr1.
16755 * string/bug-strcasestr1.c (do_test): Moved to ...
16756 * string/test-strcasestr.c (check1): Here. New function.
16757 (do_one_test): Break out result checking code into ...
16758 (check_result): This. New function.
16759 (do_one_test): Call check_result.
16760 (test_main): Call check1.
16761 * string/bug-strchr1.c (do_test): Moved to ...
16762 * string/test-strchr.c (check1): Here. New function.
16763 (do_one_test): Break out result checking code into ...
16764 (check_result): This. New function.
16765 (do_one_test): Call check_result.
16766 (test_main): Call check1.
16767 * string/bug-strstr1.c (main): Moved to ...
046f153e 16768 * string/test-strstr.c (check1): Here. New function.
03759f47
L
16769 (do_one_test): Break out result checking code into ...
16770 (check_result): This. New function.
16771 (do_one_test): Call check_result.
16772 (test_main): Call check1.
16773 * string/bug-strcasestr1.c: Removed.
16774 * string/bug-strchr1.c: Likewise.
16775 * string/bug-strstr1.c: Likewise.
16776
53cea63e
L
16777 * elf/Makefile (dl-routines): Add hwcaps.
16778 * elf/dl-support.c (_dl_important_hwcaps): Removed.
16779 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16780 (_dl_important_hwcaps): Moved to ...
16781 * elf/dl-hwcaps.c: Here. New file.
16782 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16783
9cee5585 16784 [BZ #14557]
bb859b06
L
16785 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16786 if IS_IN_rtld isn't defined.
16787
9cee5585
L
16788 * elf/dl-support.c (_dl_sysinfo_map): New.
16789 Include "get-dynamic-info.h" and "setup-vdso.h".
16790 (_dl_non_dynamic_init): Call setup_vdso.
16791 * elf/dynamic-link.h: Don't include <assert.h>.
16792 (elf_get_dynamic_info): Moved to ...
16793 * elf/get-dynamic-info.h: Here. New file.
16794 * elf/dynamic-link.h: Include "get-dynamic-info.h".
16795 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16796 * elf/setup-vdso.h: Here. New file.
16797 * elf/rtld.c: Include "setup-vdso.h".
16798 (dl_main): Call setup_vdso.
16799
23c31b76
JM
168002012-10-05 Joseph Myers <joseph@codesourcery.com>
16801
28234b07
JM
16802 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16803 creal in comment listing functions tested. List finite, isinf,
16804 isnan, isless, islessequal, isgreater, isgreaterequal,
16805 islessgreater, isunordered, lgamma_r and pow10 as functions and
16806 macros not tested. Mention which functions not tested are aliases
16807 for other functions. Fix typo. Note that signs of NaNs are not
16808 tested.
16809
23c31b76
JM
16810 * scripts/config.guess: Update from config.git.
16811 * scripts/config.sub: Likewise.
16812
9043e228
RM
168132012-10-04 Roland McGrath <roland@hack.frob.com>
16814
16815 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16816 * misc/madvise.c (madvise): Renamed to __madvise.
16817 Make madvise a weak alias.
16818 * include/sys/mman.h: Declare __madvise.
16819 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16820 * sysdeps/unix/syscalls.list
16821 (madvise): Make __madvise the strong name, and madvise a weak alias.
16822 * sysdeps/unix/sysv/linux/syscalls.list
16823 (madvise, mmap): Remove redundant entries.
16824 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16825 * malloc/malloc.c (mtrim): Likewise.
16826 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16827
f57f8055
RM
168282012-10-03 Roland McGrath <roland@hack.frob.com>
16829
16830 * sysdeps/mach/hurd/dl-cache.c: File removed.
16831 * config.h.in (USE_LDCONFIG): New #undef.
16832 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16833 * configure: Regenerated.
16834 * elf/Makefile (dl-routines): Add dl-cache only under
16835 [$(use-ldconfig) = yes].
16836 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16837 cache on [USE_LDCONFIG].
16838 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16839 [USE_LDCONFIG].
16840 * elf/rtld.c (dl_main): Likewise.
16841
5bb0c10a
PT
168422012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16843
16844 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16845 _SC_LEVEL4_CACHE_LINESIZE.
16846
010188c6
RM
168472012-10-03 Roland McGrath <roland@hack.frob.com>
16848
16849 * sysdeps/unix/bsd/confstr.h: File removed.
16850
b6c5ec07
AO
168512012-10-02 Alexandre Oliva <aoliva@redhat.com>
16852
16853 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16854 sys/sdt-config.h.
16855
408223d4
RM
168562012-10-02 Roland McGrath <roland@hack.frob.com>
16857
16858 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16859 Make 'mapoff' field ElfW(Off) rather than off_t.
16860
bb9510dc
DL
168612012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16862
fc997c6e
DL
16863 * nscd/Makefile: Remove nscd-cflags and all its users.
16864 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16865 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16866
bb9510dc
DL
16867 [BZ #10631]
16868 * malloc.c (malloc_printerr): Clarify error message.
16869
05699367
L
168702012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16871
16872 [BZ #14648]
16873 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16874 Set bit_FMA_Usable if FMA is supported.
16875 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16876 macro.
16877 (bit_FMA4_Usable): Updated.
16878 (index_FMA_Usable): New macro.
16879 (CPUID_FMA): Likewise
16880 (HAS_FMA): Defined with bit_FMA_Usable.
16881
51367701
RM
168822012-10-01 Roland McGrath <roland@hack.frob.com>
16883
16884 * bits/types.h (__swblk_t): Type removed.
16885 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16886 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16887 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16888 (__SWBLK_T_TYPE): Likewise.
16889 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16890 (__SWBLK_T_TYPE): Likewise.
16891 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16892 (__SWBLK_T_TYPE): Likewise.
16893 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16894 (__SWBLK_T_TYPE): Likewise.
16895
4d57bf63 168962012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 16897 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
16898
16899 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16900 (xdr_mapname): Use YPMAXMAP as maxsize.
16901 (xdr_peername): Use YPMAXPEER as maxsize.
16902 (xdr_keydat): Use YPAXRECORD as maxsize.
16903 (xdr_valdat): Use YPMAXRECORD as maxsize.
16904
93c65d43
RM
169052012-10-01 Roland McGrath <roland@hack.frob.com>
16906
497a03d6
RM
16907 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16908
93c65d43
RM
16909 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16910 * csu/init-first.c: ... here.
16911 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16912 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16913 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16914 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16915 * sysdeps/i386/init-first.c: File removed.
16916 * sysdeps/sh/init-first.c: File removed.
16917
bec749fd
JM
169182012-10-01 Joseph Myers <joseph@codesourcery.com>
16919
16920 [BZ #14645]
16921 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16922 if x * y might underflow to zero and z is zero.
16923 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16924 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16925 * math/libm-test.inc (min_subnorm_value): New variable.
16926 (fma_test): Add more tests.
16927 (fma_test_towardzero): Likewise.
16928 (fma_test_downward): Likewise
16929 (fma_test_upward): Likewise.
16930 (initialize): Set min_subnorm_value.
16931
8ec5b013
JM
169322012-09-29 Joseph Myers <joseph@codesourcery.com>
16933
16934 [BZ #14638]
16935 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16936 0 + 0.
16937 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16938 mode for addition resulting in exact zero.
16939 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16940 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16941 exact 0 + 0.
16942 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16943 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16944 * math/libm-test.inc (fma_test): Add more tests.
16945 (fma_test_towardzero): New function.
16946 (fma_test_downward): Likewise.
16947 (fma_test_upward): Likewise.
16948 (main): Call the new functions.
16949
b1fa802e
DM
169502012-09-28 David S. Miller <davem@davemloft.net>
16951
16952 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16953
d3b9fd9e
RM
169542012-09-28 Roland McGrath <roland@hack.frob.com>
16955
ea4d37b3
RM
16956 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16957 instead of SIGALRM.
16958
ac51c949
RM
16959 * sysdeps/gnu/_G_config.h: Moved to ...
16960 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16961 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16962 * sysdeps/generic/_G_config.h: ... here.
16963
28c195f7
RM
16964 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16965
848917f9
RM
16966 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16967
6bacf05b
RM
16968 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16969 Conditionalize target on [libnss_test1.so-version].
16970
91363dbb
RM
16971 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16972
cc87f7d8
RM
16973 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16974 (elfobjdir): Move out of conditionals.
16975
b1c608fe
RM
16976 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16977 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16978 (__nss_lookup_function): Conditionalize label remove_from_tree on
16979 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 16980
1d9a6d96
DM
169812012-09-28 David S. Miller <davem@davemloft.net>
16982
16983 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16984 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16985 file.
16986 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16987 sysdep_routines.
16988 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16989 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16990 when HWCAP_SPARC_CRYPTO is present.
16991
72581615
PT
169922012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16993
16994 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16995
715a900c
JL
169962012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16997
16998 [BZ #6530]
16999 * stdio-common/vfprintf.c (process_string_arg): Revert
17000 2000-07-22 change.
17001
170022011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17003
17004 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17005 for testcase.
17006 * stdio-common/tst-sprintf.c: Include <locale.h>
17007 (main): Test sprintf's handling of incomplete multibyte
17008 characters.
17009
9bac1d86
L
170102012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17011
17012 * elf/dl-runtime.c (VERSYMIDX): Removed.
17013 * elf/dl-version.c (VERSYMIDX): Likewise.
17014 * elf/do-rel.h (VERSYMIDX): Likewise.
17015 (VALIDX): Likewise.
17016 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17017 * elf/rtld.c (VALIDX): Likewise.
17018 (ADDRIDX): Likewise.
9bac1d86
L
17019 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17020 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17021 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
17022 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17023 (VALIDX): Likewise.
17024 (ADDRIDX): Likewise.
9bac1d86 17025
b31606c0
PT
170262012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17027
17028 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17029
11541177
JL
170302012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17031
17032 [BZ #11438]
17033 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17034 to global scope.
17035 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17036 addresses are in the same scope as 192.0.2/24.
17037 * posix/gai.conf: Document new scope table defaults.
17038
adb26fae
SP
170392012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17040
17041 [BZ #5298]
17042 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17043 for ftell. Compute offsets from write pointers instead.
17044 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17045
4573c6b0
SP
170462012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17047
17048 [BZ #14543]
17049 * libio/Makefile (tests): New test case tst-fseek.
17050 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17051 combination works in wide mode.
17052 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17053 state when the external buffer state changes.
17054
aa9bbfe6
DM
170552012-09-27 David S. Miller <davem@davemloft.net>
17056
17057 [BZ #14376]
17058 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17059 pass reloc->r_addend in as the 'high' argument to
17060 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17061
784421e7
DM
17062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17063
c39bc8b8
PT
170642012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17065
17066 * rt/tst-aio2.c: Include <pthread.h>.
17067 * rt/tst-aio3.c: Likewise.
17068
1ccc2399
SE
170692012-09-27 Steve Ellcey <sellcey@mips.com>
17070
17071 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17072
31ed4153
L
170732012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17074
25f5f885
L
17075 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17076 contents on [SHARED].
31ed4153 17077
b7bfe116
MP
170782012-09-26 Marek Polacek <polacek@redhat.com>
17079
17080 [BZ #14530]
17081 [BZ #13741]
17082 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17083 for C++ and GCC <4.3 as well as for non GCC compilers.
17084
43c4edba
MT
170852012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17086
17087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17088
6a1bf82f
RM
170892012-09-25 Roland McGrath <roland@hack.frob.com>
17090
17091 * Makefile.in (all, install): Declare with .PHONY.
17092 Reported by Michael Hope <michael.hope@linaro.org>.
17093
8ad11b9a
TMQMF
170942012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17095
17096 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17097 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17098 system header.
17099 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17100 Likewise.
17101 (sydep_routines): Add the new and the internal functions.
17102 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17103 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17105 (GLIBC_2.17): Add the new function.
17106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17107 (GLIBC_2.17): Likewise.
17108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17109 (GLIBC_2.17): Likewise.
17110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17111 (GLIBC_2.17): Likewise.
17112 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17113
7e2fca8d
AM
171142012-09-25 Alan Modra <amodra@gmail.com>
17115
17116 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17117 Add release barrier before setting once_control to say
17118 initialisation is done. Add hints on lwarx. Use macro in
17119 place of isync.
17120 (clear_once_control): Add release barrier.
17121
b87c4b24
JM
171222012-09-25 Joseph Myers <joseph@codesourcery.com>
17123
d032e0d2
JM
17124 [BZ #13629]
17125 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17126 specially.
17127 * math/s_clog10.c (__clog10): Likewise.
17128 * math/s_clog10f.c (__clog10f): Likewise.
17129 * math/s_clog10l.c (__clog10l): Likewise.
17130 * math/s_clogf.c (__clogf): Likewise.
17131 * math/s_clogl.c (__clogl): Likewise.
17132 * math/Makefile (libm-calls): Add x2y2m1.
17133 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17134 (__x2y2m1): Likewise.
17135 (__x2y2m1l): Likewise.
17136 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17137 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17138 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17139 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17140 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17141 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17142 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17143 * sysdeps/i386/fpu/libm-test-ulps: Update.
17144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17145
b87c4b24
JM
17146 [BZ #14621]
17147 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17148 int as type of variable DEPTH.
17149 (glob): Use size_t instead of int as type of variables NEWCOUNT
17150 and OLD_PATHC.
17151
6d3bf199
LD
171522012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17153
22bf5c17
LD
17154 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17155 Add s_sincosf-sse2.
17156 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17157 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17158 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17159 macros for using routine as __sincosf_ia32.
17160 Use macro for function declaration and weak_alias.
17161 * sysdeps/i386/fpu/libm-test-ulps: Update.
17162
17163 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17164 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17165
17166 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
17167 subnormal argument.
17168 * math/s_cexpf.c (__cexpf): Likewise.
17169 * math/s_csinf.c (__csinf): Likewise.
17170 * math/s_csinhf.c (__csinhf): Likewise.
17171 * math/s_ctanf.c (__ctanf): Likewise.
17172 * math/s_ctanhf.c (__ctanhf): Likewise.
17173 * math/s_ccosh.c (__ccoshf): Likewise.
17174 * math/s_cexp.c (__cexpl): Likewise.
17175 * math/s_csin.c (__csin): Likewise.
17176 * math/s_csinh.c (__csinh): Likewise.
17177 * math/s_ctan.c (__ctan): Likewise.
17178 * math/s_ctanh.c (ctanh): Likewise.
17179 * math/s_ccoshl.c (__ccoshl): Likewise.
17180 * math/s_cexpl.c (__cexpl): Likewise.
17181 * math/s_csinl.c (__csinl): Likewise.
17182 * math/s_csinhl.c (__csinhl): Likewise.
17183 * math/s_ctanl.c (__ctanl): Likewise.
17184 * math/s_ctanhl.c (__ctanhl): Likewise.
17185
203e5603
JM
171862012-09-25 Joseph Myers <joseph@codesourcery.com>
17187
17188 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17189 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17190 (_IO_off_t): Define to __off_t, not _G_off_t.
17191 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17192 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17193 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17194 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17195 type of __dummy and __dummy2 fields.
17196 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17197 (_G_ssize_t): Likewise.
17198 (_G_off_t): Likewise.
17199 (_G_pid_t): Likewise.
17200 (_G_uid_t): Likewise.
17201 (_G_wchar_t): Likewise.
17202 (_G_wint_t): Likewise.
17203 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17204 (_G_ssize_t): Likewise.
17205 (_G_off_t): Likewise.
17206 (_G_pid_t): Likewise.
17207 (_G_uid_t): Likewise.
17208 (_G_wchar_t): Likewise.
17209 (_G_wint_t): Likewise.
17210 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17211 (_G_ssize_t): Likewise.
17212 (_G_off_t): Likewise.
17213 (_G_pid_t): Likewise.
17214 (_G_uid_t): Likewise.
17215 (_G_wchar_t): Likewise.
17216 (_G_wint_t): Likewise.
17217
9fab36eb
SP
172182012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17219
17220 * malloc/arena.c: Include malloc-sysdep.h.
17221 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17222 is sufficient to shrink the heap or an unmap is needed.
17223 * sysdeps/generic/malloc-sysdep.h: New file. Define
17224 new function check_may_shrink_heap.
17225 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17226 new function check_may_shrink_heap.
17227
2b4f00d1
SP
172282012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17229
17230 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17231 comments.
17232
9a9028b1
DL
172332012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17234
57c69bef
DL
17235 * catgets/test-gencat.sh: Add "set -e".
17236 * elf/tst-pathopt.sh: Likewise.
17237 * grp/tst_fgetgrent.sh: Likewise.
17238 * iconvdata/run-iconv-test.sh: Likewise.
17239 * intl/tst-gettext.sh: Likewise.
17240 * intl/tst-gettext2.sh: Likewise.
17241 * intl/tst-gettext4.sh: Likewise.
17242 * intl/tst-gettext6.sh: Likewise.
17243 * intl/tst-translit.sh: Likewise.
17244 * io/ftwtest-sh: Likewise.
17245 * libio/test-freopen.sh: Likewise.
17246 * malloc/tst-mtrace.sh: Likewise.
17247 * posix/globtest.sh: Likewise.
17248 * posix/tst-getconf.sh: Likewise.
17249 * posix/wordexp-tst.sh: Likewise.
17250 * stdio-common/tst-printf.sh: Likewise.
17251 * stdio-common/tst-unbputc.sh: Likewise.
17252 * stdlib/tst-fmtmsg.sh: Likewise.
17253 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17254 * catgets/Makefile: Do not specify -e option when running
17255 testsuite shell scripts.
17256 * elf/Makefile: Likewise.
17257 * grp/Makefile: Likewise.
17258 * iconvdata/Makefile: Likewise.
17259 * intl/Makefile: Likewise.
17260 * io/Makefile: Likewise.
17261 * libio/Makefile: Likewise.
17262 * malloc/Makefile: Likewise.
17263 * posix/Makefile: Likewise.
17264 * stdio-common/Makefile: Likewise.
17265 * stdlib/Makefile: Likewise.
17266 * sysdeps/x86_64/Makefile: Likewise.
17267
9a9028b1
DL
17268 * io/ftwtest-sh: Add copyright header.
17269 * posix/globtest.sh: Likewise.
17270 * posix/tst-getconf.sh: Likewise.
17271 * posix/wordexp-tst.sh: Likewise.
17272 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17273
ced6f16e
L
172742012-09-24 H.J. Lu <hongjiu.lu@intel.com>
17275
94b32c39
L
17276 [BZ #13679]
17277 * Makeconfig (+link): Defined as $(+link-static) if
17278 $(build-shared) isn't yes.
17279 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17280 isn't yes.
17281 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17282
189e935b
L
17283 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17284
ced6f16e
L
17285 [BZ #14562]
17286 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17287 new chunk size with MALLOC_ALIGN_MASK.
17288
a9f8e53a
JM
172892012-09-24 Joseph Myers <joseph@codesourcery.com>
17290
17291 [BZ #5044]
17292 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17293 <rounding-mode.h>.
17294 (__printf_fphex): Determine rounding using get_rounding_mode and
17295 round_away.
17296 * stdio-common/tst-printf-round.c (struct hex_test): New
17297 structure.
17298 (hex_tests): New variable.
17299 (test_hex_in_one_mode): New function.
17300 (do_test): Also run tests for hex float output.
17301
43153109
JM
173022012-09-21 Joseph Myers <joseph@codesourcery.com>
17303
17304 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17305 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17306 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17307 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17308 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17309 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17310 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17311 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17312
8a26625d
JM
173132012-09-20 Joseph Myers <joseph@codesourcery.com>
17314
17315 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17316 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17317 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17318 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17319
f3fd569c
DL
173202012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17321
17322 [BZ #14579]
17323 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17324 mode only.
17325 * elf/tst-rtld-load-self.sh: New test.
17326 * elf/Makefile: Run it.
17327
63bbedd4
JM
173282012-09-18 Joseph Myers <joseph@codesourcery.com>
17329
17330 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17331 (tst-writev-ENV): Remove.
17332 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17333
626f8b6a
CM
173342012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17335
17336 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17337
b7aaa4d6
JM
173382012-09-17 Joseph Myers <joseph@codesourcery.com>
17339
17340 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17341 unconditional.
17342 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17343 Likewise.
17344 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17345 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17346 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17347 Likewise.
17348
65513990
L
173492012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17350
17351 [BZ #14587]
17352 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17353 * config.make.in (have-cpp-asm-debuginfo): Removed.
17354 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17355 * configure: Regenerated.
17356
784761be
JM
173572012-09-14 Joseph Myers <joseph@codesourcery.com>
17358
17359 [BZ #5044]
17360 * stdio-common/printf_fp.c: Include <stdbool.h> and
17361 <rounding-mode.h>.
17362 (___printf_fp): Determine rounding using get_rounding_mode and
17363 round_away.
17364 * stdio-common/tst-printf-round.c: New file.
17365 * stdio-common/Makefile (tests): Add tst-printf-round.
17366 (link-libm): New variable.
17367 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17368
9503345f
L
173692012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17370
17371 [BZ #14576]
17372 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17373 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17374 Likewise.
17375 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17376 Likewise.
17377
ad35fc00
JM
173782012-09-13 Joseph Myers <joseph@codesourcery.com>
17379
17380 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17381 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17382 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17383 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17384
6c9b0f68
JM
173852012-09-12 Joseph Myers <joseph@codesourcery.com>
17386
17387 [BZ #14518]
17388 * include/rounding-mode.h: New file.
17389 * sysdeps/generic/get-rounding-mode.h: Likewise.
17390 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17391 * stdlib/strtod_l.c: Include <rounding-mode.h>.
17392 (MAX_VALUE): New macro.
17393 (MIN_VALUE): Likewise.
17394 (overflow_value): New function.
17395 (underflow_value): Likewise.
17396 (round_and_return): Use overflow_value and underflow_value to
17397 determine return values in overflow and underflow cases. Use
17398 round_away to determine rounding depending on rounding mode.
17399 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17400 determine return values in overflow and underflow cases.
17401 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17402 (struct test_results): New structure.
17403 (struct test): Use struct test_results to store expected results
17404 for all rounding modes.
17405 (TEST): Include expected results for all rounding modes.
17406 (test_in_one_mode): New function.
17407 (do_test): Use test_in_one_mode to compute and check results.
17408 Check results for all rounding modes.
17409 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17410 $(link-libm).
17411
19fcedd5
AM
174122012-12-09 Allan McRae <allan@archlinux.org>
17413
1e9d84cd 17414 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 17415
8bbfd2f1
JM
174162012-09-11 Joseph Myers <joseph@codesourcery.com>
17417
17418 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17419 (_G_int32_t): Likewise.
17420 (_G_uint16_t): Likewise.
17421 (_G_uint32_t): Likewise.
17422 (_G_HAVE_BOOL): Likewise.
17423 (_G_HAVE_ATEXIT): Likewise.
17424 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17425 (_G_HAVE_IO_FILE_OPEN): Likewise.
17426 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17427 (_G_int32_t): Likewise.
17428 (_G_uint16_t): Likewise.
17429 (_G_uint32_t): Likewise.
17430 (_G_HAVE_BOOL): Likewise.
17431 (_G_HAVE_ATEXIT): Likewise.
17432 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17433 (_G_HAVE_IO_FILE_OPEN): Likewise.
17434 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17435 (_G_int32_t): Likewise.
17436 (_G_uint16_t): Likewise.
17437 (_G_uint32_t): Likewise.
17438 (_G_HAVE_BOOL): Likewise.
17439 (_G_HAVE_ATEXIT): Likewise.
17440 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17441 (_G_HAVE_IO_FILE_OPEN): Likewise.
17442
b1dc5912
L
174432012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17444
17445 * csu/libc-tls.c: Update copyright years.
17446
0e886ef9
JM
174472012-09-10 Joseph Myers <joseph@codesourcery.com>
17448
28361c5e
JM
17449 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17450 [!_G_USING_THUNKS]: Remove conditional code.
17451 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17452 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17453
0e886ef9
JM
17454 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17455 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17456 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17457 (_G_VTABLE_LABEL_PREFIX): Likewise.
17458 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17459 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17460 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17461 (_G_VTABLE_LABEL_PREFIX): Likewise.
17462 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17463 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17464 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17465 (_G_VTABLE_LABEL_PREFIX): Likewise.
17466 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17467
bcba7aa2
L
174682012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17469
17470 * libio/Makefile: Include ../Makeconfig before tests.
17471 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17472 only if $(build-shared) is yes.
17473
06585ee8
L
17474 * iconv/gconv_db.c: Update copyright years.
17475
80ccd52c
LD
174762012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17477
17478 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17479 unwind info if defined PIC. Fix special cases description.
17480 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17481
17482 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17483 DP_HI_MASK entry.
17484 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17485
691bc9c1
L
174862012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17487
3d9b46b3
L
17488 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17489
de2139a9
L
17490 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17491 is NULL.
17492
5ca78dd0
L
17493 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17494 (LDLIBS-tst-chk4): This.
17495 (LDFLAGS-tst-chk5): Renamed to ...
17496 (LDLIBS-tst-chk5): This.
17497 (LDFLAGS-tst-chk6): Renamed to ...
17498 (LDLIBS-tst-chk6): This.
17499 (LDFLAGS-tst-lfschk4): Renamed to ...
17500 (LDLIBS-tst-lfschk4): This.
17501 (LDFLAGS-tst-lfschk5): Renamed to ...
17502 (LDLIBS-tst-lfschk5): This.
17503 (LDFLAGS-tst-lfschk6): Renamed to ...
17504 (LDLIBS-tst-lfschk6): This.
17505
691bc9c1
L
17506 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17507 on $(common-objpfx)soversions.mk.
17508
65cafb1c
JM
175092012-09-07 Joseph Myers <joseph@codesourcery.com>
17510
17511 [BZ #10014]
17512 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17513 example host name.
17514
c78ab094
SP
175152012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17516
17517 * malloc/arena.c (arena_get_retry): New function that gets
17518 another arena for the caller to try its request on.
17519 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17520 current arena cannot fulfill the request.
17521 (__libc_memalign): Likewise.
17522 (__libc_memalign): Likewise.
17523 (__libc_pvalloc): Likewise.
17524 (__libc_calloc): Likewise.
17525
01f49f59
JT
175262012-09-05 John Tobey <john.tobey@gmail.com>
17527
17528 [BZ #13542]
17529 * manual/arith.texi (Operations on Complex): Fix description
17530 of carg branch cut.
17531
4c23fed5
JM
175322012-09-06 Joseph Myers <joseph@codesourcery.com>
17533
1d3c8572
JM
17534 [BZ #10014]
17535 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17536 host name.
17537
4c23fed5
JM
17538 [BZ #10038]
17539 * manual/memory.texi (Memory): Make order of menu items match
17540 order of sections.
17541
04570aaa
L
175422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17543
17544 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17545 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17546 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17547
b80af2f4
L
175482012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17549
17550 * csu/libc-tls.c (static_dtv): Renamed to ...
17551 (_dl_static_dtv): This. Make it global.
17552 (_dl_initial_dtv): Removed.
17553 (__libc_setup_tls): Updated.
17554 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17555 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17556 DL_INITIAL_DTV.
17557
2abe9f15
PM
175582012-09-06 Petr Machata <pmachata@redhat.com>
17559
17560 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17561 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17562 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17563 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17564
0948c3af
L
175652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17566
17567 [BZ #14545]
17568 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17569 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17570 freeing dtv[-1].
17571
a5055ad1
L
175722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17573
17574 [BZ #14544]
17575 * Makeconfig (link-static-before-libc): Replace $(+prector)
17576 with $(+prectorT).
17577 (link-static-after-libc): Replace $(+postctor) with
17578 $(+postctorT).
17579 (link-bounded): Replace $(+prector)/$(+postctor) with
17580 $(+prectorT)/$(+postctorT).
17581 (+prectorT): New macro.
17582 (+postctorT): Likewise.
17583
ed8c2ecd
JM
175842012-09-06 Joseph Myers <joseph@codesourcery.com>
17585
17586 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17587 (round_str): Handle values above the maximum for IBM long double
17588 as inexact.
17589 * stdlib/tst-strtod-round.c (tests): Regenerated.
17590
14c996c8
AK
175912012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17592
17593 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17594 assembler flag.
17595 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17596 zarch_nohighgprs around the zarch optimized routines.
17597 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17598 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17599 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17600 for zarch.
17601
430d6ce6
DM
176022012-09-05 David S. Miller <davem@davemloft.net>
17603
17604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17605
ff04dda4
DM
17606 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17607 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17608 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17609 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17610 entries.
17611
24d4e01b
AO
176122012-09-05 Alexandre Oliva <aoliva@redhat.com>
17613
17614 * malloc/arena.c: Fold copyright years.
17615 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17616
61d58174
AO
176172012-09-05 Alexandre Oliva <aoliva@redhat.com>
17618
17619 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17620
20196a5e
AO
176212012-09-05 Alexandre Oliva <aoliva@redhat.com>
17622
17623 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17624
5c447383
AO
176252012-09-05 Alexandre Oliva <aoliva@redhat.com>
17626
17627 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17628 change internal state upon failure.
17629
fad64255
AO
176302012-09-05 Alexandre Oliva <aoliva@redhat.com>
17631
17632 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17633 * malloc/memusage.c (mmap): Likewise.
17634 (mmap64, mremap): Likewise. Adjust name in comment.
17635
1ffb8c90
SP
176362012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17637
17638 * libio/fileops.c: Fix typos in comments.
17639 * libio/oldfileops.c: Likewise.
17640 * libio/wfileops.c: Likewise.
17641
6ef9cc37
SP
176422012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17643
17644 [BZ #1349]
17645 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17646 (tst-malloc-usable-ENV): Set environment for test case.
17647 * malloc/hooks.c (malloc_check_get_size): New function to get
17648 requested size.
17649 * malloc/malloc.c (musable): Use malloc_check_get_size.
17650 * malloc/tst-malloc-usable.c: New test case.
17651
4d038ae3
AS
176522012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17653
17654 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17655
c4e85184
AM
176562012-09-05 Allan McRae <allan@archlinux.org>
17657
b9dafc56 17658 [BZ #13966]
c4e85184
AM
17659 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17660 determine header location.
17661 * configure: Regenerated.
17662
e1343020
AS
176632012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17664
17665 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17666 float format.
17667 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
17668 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17669 format.
e1343020
AS
17670 (test): Regenerate.
17671
0a9f1987
DM
176722012-09-04 David S. Miller <davem@davemloft.net>
17673
17674 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17675 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17676 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17677
29237804
FW
176782012-09-04 Florian Weimer <fweimer@redhat.com>
17679
17680 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17681 failures.
17682
edb3cb88
FW
17683 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17684
60160d83
JM
176852012-09-04 Joseph Myers <joseph@codesourcery.com>
17686
17687 [BZ #9914]
17688 * libio/iogetdelim.c: Include <limits.h>.
17689 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17690 + len + 1 would overflow.
17691
bcd6c8dc
AJ
176922012-09-03 Andreas Jaeger <aj@suse.de>
17693
17694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17695 * sysdeps/i386/fpu/libm-test-ulps: Update.
17696
4ffffbd2
LD
176972012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17698
17699 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17700 Add s_sinf-sse2, s_conf-sse2.
17701
17702 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17703 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17704 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17705 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17706
17707 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17708 for using routine as __sinf_ia32.
17709 Use macro for function declaration and weak_alias.
17710 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17711 for using routine as __cosf_ia32.
17712 Use macro for function declaration and weak_alias.
17713
17714 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17715 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17716
17717 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17718 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17720
17721 * math/libm-test.inc (cos_test): Add more test cases.
17722 (sin_test): Likewise.
17723 (sincos_test): Likewise.
17724
511fa286
AK
177252012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17726
17727 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17728 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17729 hidden.
17730 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17731
5f30cfec
L
177322012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17733
17734 [BZ #14538]
17735 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17736 first element of the GOT.
17737 (elf_machine_load_address): Return the difference between
17738 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17739
0786794f
AM
177402012-09-01 Allan McRae <allan@archlinux.org>
17741
5f30cfec
L
17742 [BZ #13412]
17743 * configure.in (AWK): Require gawk version 3.0 or later.
17744 * configure: Regenerated.
0786794f 17745
26889eac
JM
177462012-09-01 Joseph Myers <joseph@codesourcery.com>
17747
17748 * sysdeps/unix/sysv/linux/kernel-features.h
17749 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17750 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17751 [__NR_clock_getres]: Make code unconditional.
17752 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17753 (clock_getcpuclockid): Remove code left unreachable by removal of
17754 conditionals.
17755 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17756 code unconditional.
17757 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17758 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17759 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17760 Make code unconditional.
17761 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17762 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17763 * sysdeps/unix/sysv/linux/clock_settime.c
17764 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17765 conditional code.
17766 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17767 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17768
d22e28b0
L
177692012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17770
17771 [BZ #14476]
17772 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17773 scripts/test-installation.pl.
17774
17775 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17776 and $ld_so_version if it is set.
17777
050af9c4
SP
177782012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17779
17780 [BZ #14516]
17781 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17782 failure if reading from procfs failed.
17783 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17784
ad845c0b
JM
177852012-08-27 Joseph Myers <joseph@codesourcery.com>
17786
17787 * sysdeps/unix/sysv/linux/kernel-features.h
17788 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17789 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17790 Remove conditional code.
17791 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17792 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17793 Remove conditional code.
17794 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17795 * sysdeps/unix/sysv/linux/i386/fxstat.c
17796 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17797 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17798 * sysdeps/unix/sysv/linux/i386/fxstatat.c
17799 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17800 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17801 * sysdeps/unix/sysv/linux/i386/lxstat.c
17802 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17803 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17804 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17805 Remove conditional code.
17806 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17807 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17808 Remove conditional code.
17809 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17810 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17811 <kernel-features.h>.
17812 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17813 Remove.
17814 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17815 Remove conditional code.
17816 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17817 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17818 Remove conditional.
17819
5dbf56af
MF
178202012-08-27 Mike Frysinger <vapier@gentoo.org>
17821
17822 [BZ #5400]
17823 * NEWS: Add fixed bug number.
17824
d6e70f43
JM
178252012-08-27 Joseph Myers <joseph@codesourcery.com>
17826
7efb4737
JM
17827 [BZ #14519]
17828 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17829 underflowing exponent in case of negative sign.
17830 * stdlib/tst-strtod-round-data: Add more tests.
17831 * stdlib/tst-strtod-round.c (tests): Regenerated.
17832
af92131a
JM
17833 [BZ #3479]
17834 * stdlib/strtod_l.c (NDIG): Remove.
17835 (HEXNDIG): Likewise.
17836 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17837 smallest representable value.
17838 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17839 lie within an exact representation of 1/2 ulp of the result.
17840 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17841 unconditionally.
17842 (TENS_P9_IDX): Define unconditionally.
17843 (TENS_P9_SIZE): Likewise.
17844 (TENS_P10_IDX): Likewise.
17845 (TENS_P10_SIZE): Likewise.
17846 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17847 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17848 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17849 entries for 10^2^13 and 10^2^14.
17850 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17851 (TENS_P13_IDX): Define.
17852 (TENS_P13_SIZE): Likewise.
17853 (TENS_P14_IDX): Likewise.
17854 (TENS_P14_SIZE): Likewise.
17855 (_fpioconst_pow10): Change array size to
17856 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17857 unconditional.
17858 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17859 1024]: Add entries for 10^2^13 and 10^2^14.
17860 [LAST_POW10 > _LAST_POW10]: Remove #error.
17861 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17862 (_fpioconst_pow10): Change array size to
17863 FPIOCONST_POW10_ARRAY_SIZE.
17864 * stdlib/gen-fpioconst.c: New file.
17865 * stdlib/gen-tst-strtod-round.c: Likewise.
17866 * stdlib/tst-strtod-round-data: Likewise.
17867 * stdlib/tst-strtod-round.c: Likewise.
17868 * stdlib/Makefile (tests): Add tst-strtod-round.
17869
d6e70f43
JM
17870 [BZ #14459]
17871 * stdlib/strtod_l.c: Include <stdint.h>.
17872 (NDEBUG): Do not define.
17873 (round_and_return): Change EXPONENT parameter to type intmax_t.
17874 Rearrange calculations to avoid internal overflow possibilities.
17875 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17876 Rearrange calculations to avoid internal overflow possibilities.
17877 Assert that number fits inside MPNSIZE limbs.
17878 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17879 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17880 calculations and add assertions to avoid internal overflow
17881 possibilities. Add casts to avoid signed/unsigned operations.
17882 * stdlib/tst-strtod-overflow.c: New file.
17883 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17884
1f529f7d
MP
178852012-08-25 Marek Polacek <polacek@redhat.com>
17886
17887 * time/time.h: Fix some typos in comments.
17888
59a629f1
RM
178892012-08-23 Roland McGrath <roland@hack.frob.com>
17890
17891 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17892 * posix/tst-rfc3484-2.c: Likewise.
17893 * posix/tst-rfc3484-3.c: Likewise.
17894
d3bafbc9
SM
178952012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17896
17897 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17898 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17899
4efcc022
JM
179002012-08-23 Joseph Myers <joseph@codesourcery.com>
17901
17902 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17903 #include of fxstatat64.c.
17904
3cc3ef96
RM
179052012-08-22 Roland McGrath <roland@hack.frob.com>
17906
f04e2132
RM
17907 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17908 * shadow/getspent_r.c: Likewise.
17909 * shadow/getspnam.c: Likewise.
17910 * shadow/getspnam_r.c: Likewise.
17911 * gshadow/getsgent.c: Likewise.
17912 * gshadow/getsgent_r.c: Likewise.
17913 * gshadow/getsgnam.c: Likewise.
17914 * gshadow/getsgnam_r.c: Likewise.
17915 * inet/getnetbyad.c: Likewise.
17916 * inet/getnetbyad_r.c: Likewise.
17917 * inet/getnetbynm.c: Likewise.
17918 * inet/getnetbynm_r.c: Likewise.
17919 * inet/getnetent.c: Likewise.
17920 * inet/getnetent_r.c: Likewise.
17921 * inet/getproto.c: Likewise.
17922 * inet/getproto_r.c: Likewise.
17923 * inet/getprtent.c: Likewise.
17924 * inet/getprtent_r.c: Likewise.
17925 * inet/getprtname.c: Likewise.
17926 * inet/getprtname_r.c: Likewise.
17927 * inet/getrpcbyname.c: Likewise.
17928 * inet/getrpcbyname_r.c: Likewise.
17929 * inet/getrpcbynumber.c: Likewise.
17930 * inet/getrpcbynumber_r.c: Likewise.
17931 * inet/getrpcent.c: Likewise.
17932 * inet/getrpcent_r.c: Likewise.
17933 * inet/getaliasent.c: Likewise.
17934 * inet/getaliasent_r.c: Likewise.
17935 * inet/getaliasname.c: Likewise.
17936 * inet/getaliasname_r.c: Likewise.
17937 * nscd/getgrgid_r.c: Likewise.
17938 * nscd/getgrnam_r.c: Likewise.
17939 * nscd/gethstbyad_r.c: Likewise.
17940 * nscd/gethstbynm3_r.c: Likewise.
17941 * nscd/getpwnam_r.c: Likewise.
17942 * nscd/getpwuid_r.c: Likewise.
17943 * nscd/getsrvbynm_r.c: Likewise.
17944 * nscd/getsrvbypt_r.c: Likewise.
17945 * nscd/gai.c: Likewise.
17946
c53d909c
RM
17947 * configure.in (build_nscd): New substituted variable, set
17948 by --disable-build-nscd and defaults to $use_nscd.
17949 * configure: Regenerated.
17950 * config.make.in (build-nscd): New substituted variable.
17951 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17952 Change conditional to require [$(build-nscd) = yes] as well.
17953 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17954
3cc3ef96
RM
17955 [BZ# 13696]
17956 * configure.in (use_nscd): New substituted variable, set by
17957 --disable-nscd. If enabled, define USE_NSCD.
17958 * configure: Regenerated.
17959 * config.h.in: Add USE_NSCD.
17960 * config.make.in (use-nscd): New substituted variable.
17961 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17962 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17963 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17964 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17965 (CFLAGS-getgrnam_r.c): Likewise.
17966 (CFLAGS-initgroups.c): Likewise.
17967 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17968 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17969 Variables removed.
17970 * inet/getnetgrent_r.c
17971 (nscd_setnetgrent): New function, broken out of ...
17972 (setnetgrent): ... here. Call it.
17973 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17974 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17975 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17976 * nscd/Makefile (routines, aux): Move definitions after include of
17977 Makeconfig. Conditionalize on [$(use-nscd) != no].
17978 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17979 Conditionalize on [USE_NSCD].
17980 (is_nscd, nscd_init_cb): Likewise.
17981 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17982 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17983 * nss/nss_db/db-init.c: Likewise.
17984 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17985 [USE_NSCD].
17986 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17987 (make_request): Use it.
17988 (cache_valid_p): New function.
17989 (__check_pf): Use it.
17990 * NEWS: Add item for --disable-nscd.
17991
07e51550
DL
179922012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17993
17994 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17995 to support sed >= 4.2.1-20-ga9bf076.
17996 * configure: Regenerated.
17997
35a5b08b
RM
179982012-08-22 Roland McGrath <roland@hack.frob.com>
17999
18000 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18001 Conditionalize whole body on [IREL].
18002
8479f23a
JL
180032012-08-22 Jeff Law <law@redhat.com>
18004
18005 [BZ #14505]
18006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18007 if the family is PF_UNSPEC.
18008
48da0b21
MF
180092012-08-22 Mike Frysinger <vapier@gentoo.org>
18010
18011 * Makerules (lib-version): Rename from V.
18012 (install-lib-nosubdir): Change V to lib-version.
18013
15d0da8c
WS
180142012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18015
18016 [BZ #14252]
18017 * powerpc32/power6/wcschr.c: New file.
18018 * powerpc32/power6/wcscpy.c: New file.
18019 * powerpc32/power6/wcsrchr.c: New file.
18020 * powerpc64/power6/wcschr.c: New file.
18021 * powerpc64/power6/wcscpy.c: New file.
18022 * powerpc64/power6/wcsrchr.c: New file.
18023
bcca0895
MK
180242012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18025
18026 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18027 (two_way_short_needle): Use it.
5a4aaa33
RM
18028 * string/strstr.c (AVAILABLE1_USES_J): Define.
18029 * string/strcasestr.c: Likewise.
99677e57
MK
18030
18031 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18032 array references.
18033 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18034
400726de
MK
18035 [BZ #11607]
18036 * NEWS: Add an entry.
18037 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18038 define their defaults.
18039 (two_way_short_needle): Detect end-of-string on-the-fly.
18040 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18041 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18042 * string/bug-strcasestr1.c: New test.
18043 * string/Makefile: Run it.
18044
20a71f2c
MK
180452012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18046
18047 [BZ #11607]
18048 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18049 the first character.
18050
21ad0558
RM
180512012-08-21 Roland McGrath <roland@hack.frob.com>
18052
18053 * csu/elf-init.c (__libc_csu_irel): Function removed.
18054 * csu/libc-start.c (apply_irel): New function.
18055 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18056
0e1d9911
JM
180572012-08-21 Joseph Myers <joseph@codesourcery.com>
18058
18059 * sysdeps/unix/sysv/linux/kernel-features.h
18060 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18061 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18062 <kernel-features.h>.
18063 [__NR_fadvise64_64]: Make code unconditional.
18064 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18065 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18066 !__NR_fadvise64_64)]: Likewise.
18067 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18068 !__NR_fadvise64_64))]: Likewise.
18069 [__NR_fadvise64]: Make code unconditional.
18070 [!__NR_fadvise64]: Remove conditional code.
18071 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18072 <kernel-features.h>.
18073 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18074 unconditional.
18075 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18076 conditional code.
18077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18078 not include <kernel-features.h>.
18079 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18080 unconditional.
18081 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18082 conditional code.
18083 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18084 include <kernel-features.h>.
18085 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18086 unconditional.
18087 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18088 conditional code.
18089
14a50c9d
WS
180902012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18091
18092 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18093 slight instruction rearrangements per scrollpipe analysis.
18094 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18095
c0f4faf0
RM
180962012-08-20 Roland McGrath <roland@hack.frob.com>
18097
696da859
RM
18098 * manual/syslog.texi (syslog; vsyslog, closelog):
18099 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18100 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18101
c0f4faf0
RM
18102 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18103 DSOCAPS to match condition on defining it.
18104
348363b2
JM
181052012-08-20 Joseph Myers <joseph@codesourcery.com>
18106
a35cbf28
JM
18107 * sysdeps/unix/sysv/linux/kernel-features.h
18108 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18110 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18111 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18113 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18114 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18116 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18117 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18118
445f7ecd
JM
18119 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18120 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18121
348363b2
JM
18122 * sysdeps/unix/sysv/linux/kernel-features.h
18123 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18124 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18125 unconditional.
18126 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18127 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18128 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18129 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18130 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18131 Make code unconditional.
18132 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18133 (__mmap64) [!__NR_mmap2]: Likewise.
18134 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18135 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18136 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18137 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18138 [__NR_mmap2]: Make code unconditional.
18139 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18140 (__mmap64) [!__NR_mmap2]: Likewise.
18141
bc5bc0e5
AK
181422012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18143
18144 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18145
88d506de
AJ
181462012-08-18 Andreas Jaeger <aj@suse.de>
18147
18148 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18149
493387d2
MF
181502012-08-18 Mike Frysinger <vapier@gentoo.org>
18151
18152 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18153 * include/unistd.h (__have_sock_cloexec): Likewise.
18154 (__have_pipe2): Likewise.
18155 (__have_dup3): Likewise.
18156
a277af22
MF
181572012-08-18 Mike Frysinger <vapier@gentoo.org>
18158
18159 [BZ #9685]
18160 * include/unistd.h (__have_pipe2): Change define into an extern int.
18161 (__have_dup3): Likewise.
18162 * socket/have_sock_cloexec.c: Include fcntl.h.
18163 (__have_pipe2): New variable.
18164 (__have_dup3): Likewise.
18165
fdab8fd3
MF
181662012-08-17 Mike Frysinger <vapier@gentoo.org>
18167
18168 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18169
31035e80
MP
181702012-08-17 Marek Polacek <polacek@redhat.com>
18171
18172 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18173 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18174
3bd9e993
RM
181752012-08-17 Roland McGrath <roland@hack.frob.com>
18176
c91c505f
RM
18177 * configure.in: Add AC_SUBST for sysheaders.
18178 * configure: Regenerated.
18179 * config.make.in (sysheaders): New substituted variable.
18180
7c6f9d53
RM
18181 * sysdeps/unix/mkfifo.c: Moved ...
18182 * sysdeps/posix/mkfifo.c: ... here.
18183 * sysdeps/unix/mkfifoat.c: Moved ...
18184 * sysdeps/posix/mkfifoat.c: ... here.
18185
18186 * sysdeps/unix/utime.c: Moved ...
18187 * sysdeps/posix/utime.c: ... here.
18188
18189 * sysdeps/unix/time.c: Moved ...
18190 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
18191 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18192 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
18193
18194 * sysdeps/unix/nice.c: Moved ...
18195 * sysdeps/posix/nice.c: ... here.
18196
18197 * sysdeps/unix/alarm.c: Moved ...
18198 * sysdeps/posix/alarm.c: ... here.
18199
3bd9e993
RM
18200 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18201
d1f09384
JL
182022012-08-17 Jeff Law <law@redhat.com>
18203
18204 * intl/Makefile (codeset_mo): New variable.
18205 ($(codeset_mo)): New target.
18206 (tst-codeset.out): Depend on that. Remove explicit rule.
18207 (tst-gettext3.out, tst-gettext5.out): Likewise.
18208 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18209 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18210 * intl/tst-codeset.sh: Remove.
18211 * intl/tst-gettext3.sh: Likewise.
18212 * intl/tst-gettext5.sh: Likewise.
18213
2ae1ae5c
RM
182142012-08-17 Roland McGrath <roland@hack.frob.com>
18215
c31fdb83
RM
18216 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18217 * sysdeps/unix/syscalls.list: ... here.
18218
a0844057
RM
18219 * sysdeps/posix/getaddrinfo.c
18220 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18221 (gaiconf_init, gaiconf_reload): Use them.
18222 [!_STATBUF_ST_NSEC]
18223 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18224 Define using time_t rather than struct timespec.
18225
750c1f2a
RM
18226 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18227 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18228 Macros removed.
18229 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18230 [!NO_THREADS].
18231 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18232 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18233 Likewise.
18234
2ae1ae5c
RM
18235 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18236 __libc_cleanup_push argument.
18237
e66a42f5
RM
18238 * bits/param.h: New file.
18239 * misc/sys/param.h: New file.
18240 * include/sys/param.h: New file.
18241 * misc/Makefile (headers): Add bits/param.h.
18242 * sysdeps/generic/sys/param.h: File removed.
18243 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18244 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18245 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 18246 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 18247
b7c08a66
RM
18248 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18249 last change.
18250
b2e1c562
RM
18251 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18252 [_IO_MTSAFE_IO].
18253 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18254 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18255 New macros.
18256
c75ccd4c
RM
18257 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18258 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18259 rather than -D_IO_MTSAFE_IO conditionally.
18260 * stdio-common/Makefile (CPPFLAGS): Likewise.
18261 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18262 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18263 Use $(libio-mtsafe).
18264 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18265 of -D_IO_MTSAFE_IO.
18266 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18267 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18268 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18269 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18270 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18271 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18272 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18273 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18274 (CFLAGS-fread_u_chk.c): Likewise.
18275 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18276 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18277 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18278 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18279 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18280 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18281 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18282 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18283 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18284
18285 * libio/Makefile: Test [$(libc-reentrant) = yes]
18286 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18287
18288 * Makeconfig
18289 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18290 * sysdeps/pthread/configure: File removed.
18291 * sysdeps/pthread/Makeconfig: New file.
18292 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18293 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18294
d9195db8
GB
182952012-08-16 Gary Benson <gbenson@redhat.com>
18296
18297 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18298 unmapping the first object in a namespace.
18299
86466cd9
RM
183002012-08-16 Roland McGrath <roland@hack.frob.com>
18301
18302 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18303 (__internal_setnetgrent): ... this. Add internal_function to
18304 definition. Add libc_hidden_def.
18305 (setnetgrent): Update caller.
18306 (internal_endnetgrent): Renamed to ...
18307 (__internal_endnetgrent): ... this. Add internal_function to
18308 definition. Add libc_hidden_def.
18309 (endnetgrent): Update caller.
18310 (internal_getnetgrent_r): Renamed to ...
18311 (__internal_getnetgrent_r): ... this. Add internal_function to
18312 definition. Add libc_hidden_def.
18313 (__getnetgrent_r): Update caller.
18314 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18315
c3c8283c
JM
183162012-08-16 Joseph Myers <joseph@codesourcery.com>
18317
18318 * stdlib/longlong.h: Update from GCC.
18319
db1ee0a8
RM
183202012-08-16 Roland McGrath <roland@hack.frob.com>
18321
18322 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18323 on _QL, which is set by umul_ppmm but never used.
18324 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18325 variables, which are set by GMP macros but never used.
18326 * stdio-common/_itowa.c (_itowa): Likewise.
18327 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18328 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18329
30f69637
CD
183302012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18331
18332 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18333 struct La_sh_regs is not constant.
18334 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18335 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18336 and struct La_sparc64_regs are not constant.
18337
93a78ac4
JM
183382012-08-16 Joseph Myers <joseph@codesourcery.com>
18339
18340 * sysdeps/unix/sysv/linux/kernel-features.h
18341 (__ASSUME_POSIX_TIMERS): Remove.
18342 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18343 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18344 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18345 Make code unconditional.
18346 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18347 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18348 Make code unconditional.
18349 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18350 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18351 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18352 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18353 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18354 Make code unconditional.
18355 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18356 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18357 (__libc_missing_posix_timers): Remove.
18358
dd924cd7
RM
183592012-08-15 Roland McGrath <roland@hack.frob.com>
18360
4b4f2771
RM
18361 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18362 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18363
601c888b
RM
18364 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18365
176790a7
RM
18366 * elf/dl-sym.c: Include <stdlib.h>.
18367
329bc018
RM
18368 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18369 constants, which avoids warnings in 32-bit builds.
18370
e04e272d
RM
18371 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18372 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18373
952bf94a
RM
18374 * misc/lseek.c: File moved to ...
18375 * io/lseek.c: ... here.
18376
7c99b50a
RM
18377 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18378
dd924cd7
RM
18379 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18380 shifting LEN more than 31 bits at once.
18381
b3f479a8
LD
183822012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18383
18384 [BZ #14195]
8c4ae0d4
RM
18385 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18386 segmentation fault for a case of two empty input strings.
b3f479a8
LD
18387 * string/test-strncasecmp.c (check1): Renamed to...
18388 (bz12205): ...this.
18389 (bz14195): Add new testcase for two empty input strings and N > 0.
18390 (test_main): Call new testcase, adapt for renamed function.
18391
9c55864e
AJ
183922012-08-15 Andreas Jaeger <aj@suse.de>
18393
18394 [BZ #14090]
18395 * crypt/md5test2.c: New test, based on test supplied by Serge
18396 Belyshev <belyshev@depni.sinp.msu.ru>.
18397 * crypt/Makefile (xtests): Add md5test-giant..
18398 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18399
02dcb6c5
PE
184002012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18401
18402 [BZ #14090]
18403 * crypt/md5.c (md5_process_block): Don't assume the buffer
18404 length is less than 2**32.
18405 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18406 length is less than 2**64.
18407
a3f95dcc
RM
184082012-08-15 Roland McGrath <roland@hack.frob.com>
18409
be75d758
RM
18410 * string/str-two-way.h: Include <sys/param.h>.
18411 (MAX): Macro removed.
18412
7312ca90
RM
18413 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18414 Move #define and #undef of memmove to just before and after
18415 including <string.h>.
18416
9a0a5486
RM
18417 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18418 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18419 and after including <string.h>. Move declarations of
18420 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18421 to before #include "string/memmove.c".
18422
67cc348d
RM
18423 * include/dirent.h: Declare __getdirentries.
18424
a3f95dcc
RM
18425 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18426 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18427
ca98e171
MF
184282012-08-14 Mike Frysinger <vapier@gentoo.org>
18429
18430 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18431 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18432 * sysdeps/i386/configure: Regenerated.
18433 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18434 STABS_CURRENT_FILE, and STABS_FUN.
18435 (END): Remove call to STABS_FUN_END.
18436 (STABS_CURRENT_FILE1): Delete.
18437 (STABS_CURRENT_FILE): Likewise.
18438 (STABS_FUN): Likewise.
18439 (STABS_FUN_END): Likewise.
18440 (STABS_FUN2): Likewise.
18441 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18442 * sysdeps/x86_64/configure: Regenerated.
18443
5908bf46
RM
184442012-08-14 Roland McGrath <roland@hack.frob.com>
18445
18446 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 18447 * elf/dl-lookup.c: Likewise.
5908bf46 18448
f2c05b9e
JM
184492012-08-14 Joseph Myers <joseph@codesourcery.com>
18450
18451 * sysdeps/unix/sysv/linux/kernel-features.h
18452 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18453 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18454 unconditionally.
18455 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18456 unconditionally.
18457 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18458 condition on __ASSUME_CLONE_THREAD_FLAGS.
18459
e11f5155
AJ
184602012-08-14 Andreas Jaeger <aj@suse.de>
18461
18462 * sysdeps/i386/fpu/libm-test-ulps: Update.
18463
51a9ba86
MK
184642012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18465
2fdd4f78
AJ
18466 * include/atomic.h (atomic_exchange_and_add): Split into ...
18467 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18468 New atomic macros.
51a9ba86 18469
ba6cba9e
MT
184702012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18471
18472 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18473
42443a47
JL
184742012-08-13 Jeff Law <law@redhat.com>
18475
18476 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18477 null byte in the output string.
18478
121dce05
JM
184792012-08-10 Joseph Myers <joseph@codesourcery.com>
18480
18481 * sysdeps/unix/sysv/linux/kernel-features.h
18482 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18483 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18484 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18485 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18486 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18487 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18488 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18489
bf51f568
JL
184902012-08-09 Jeff Law <law@redhat.com>
18491
18492 [BZ #13939]
18493 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18494 When avoid_arena is set, don't retry in the that arena. Pick the
18495 next one, whatever it might be.
18496 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18497 (arena_lock): Pass in new parameter to arena_get2.
18498 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18499 arena_get2.
18500 (__libc_malloc): Unify retrying after main arena failure with
18501 __libc_memalign version.
18502 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18503
f85fa270
L
185042012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18505
18506 [BZ #14166]
18507 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18508 to __redirect_strstr.
18509 (__strstr_sse42): Use typeof __redirect_strstr.
18510 (__strstr_ia32): Likewise.
18511 (__libc_strstr): New prototype.
18512 (strstr): Renamed to ...
18513 (__libc_strstr): This.
18514 (strstr): New strong alias of __libc_strstr.
18515 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18516 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18517 __redirect_time.
18518 Include <time.h>.
18519 (__libc_time): New prototype.
18520 (time_ifunc): Replace time with __libc_time.
18521 (time): New strong alias and hidden definition of __libc_time.
18522 (__GI_time): Remove strong alias.
18523 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18524 Include <stddef.h>.
18525 (memmove): Redefined to __redirect_memmove.
18526 (__memmove_sse2): Use typeof __redirect_memmove.
18527 (__memmove_ssse3): Likewise.
18528 (__memmove_ssse3_back): Likewise.
18529 (__libc_memmove): New prototype.
18530 (memmove): Renamed to ...
18531 (__libc_memmove): This.
18532 (memmove): New strong alias of __libc_memmove.
18533
33b4a91e
MS
185342012-08-08 Mark Salter <msalter@redhat.com>
18535
18536 * elf/elf.h
18537 (R_MN10300_TLS_GD): Define.
18538 (R_MN10300_TLS_LD): Likewise.
18539 (R_MN10300_TLS_LDO): Likewise.
18540 (R_MN10300_TLS_GOTIE): Likewise.
18541 (R_MN10300_TLS_IE): Likewise.
18542 (R_MN10300_TLS_LE): Likewise.
18543 (R_MN10300_TLS_DTPMOD): Likewise.
18544 (R_MN10300_TLS_DTPOFF): Likewise.
18545 (R_MN10300_TLS_TPOFF): Likewise.
18546 (R_MN10300_SYM_DIFF): Likewise.
18547 (R_MN10300_ALIGN): Likewise.
18548 (R_MN10300_NUM): Update.
18549
b36137f1
JM
185502012-08-08 Joseph Myers <joseph@codesourcery.com>
18551
18552 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18553 Remove.
18554
cdd915fd
RM
185552012-08-08 Roland McGrath <roland@hack.frob.com>
18556
a2433aac
RM
18557 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18558
cdd915fd
RM
18559 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18560 sysdeps/unix -> sysdeps/posix move.
18561 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18562
bf9b740a
AM
185632012-08-07 Allan McRae <allan@archlinux.org>
18564
18565 [BZ #14303]
18566 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18567 (SUNOS_CPP): Likewise.
18568 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18569 not found.
18570 (open_input): Call CPP using execvp.
18571
93df14ee
JM
185722012-08-07 Joseph Myers <joseph@codesourcery.com>
18573
18574 * sysdeps/unix/sysv/linux/kernel-features.h
18575 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18576 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18577 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18578 (__ASSUME_WAITID_SYSCALL): Likewise.
18579 * sysdeps/unix/sysv/linux/dl-execstack.c
18580 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18581 code unconditional.
18582 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18583 conditional code.
18584 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18585 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18586 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18587 code.
18588 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18589 unconditional.
18590 [__ASSUME_WAITID_SYSCALL]: Likewise.
18591 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18592
d34689de
RM
185932012-08-07 Roland McGrath <roland@hack.frob.com>
18594
a281decc
RM
18595 * sysdeps/unix/closedir.c: Renamed to ...
18596 * sysdeps/posix/closedir.c: ... here.
18597 * sysdeps/unix/dirfd.c: Renamed to ...
18598 * sysdeps/posix/dirfd.c: ... here.
18599 * sysdeps/unix/dirstream.h: Renamed to ...
18600 * sysdeps/posix/dirstream.h: ... here.
18601 * sysdeps/unix/fdopendir.c: Renamed to ...
18602 * sysdeps/posix/fdopendir.c: ... here.
18603 * sysdeps/unix/opendir.c: Renamed to ...
18604 * sysdeps/posix/opendir.c: ... here.
18605 * sysdeps/unix/readdir.c: Renamed to ...
18606 * sysdeps/posix/readdir.c: ... here.
18607 * sysdeps/unix/readdir_r.c: Renamed to ...
18608 * sysdeps/posix/readdir_r.c: ... here.
18609 * sysdeps/unix/rewinddir.c: Renamed to ...
18610 * sysdeps/posix/rewinddir.c: ... here.
18611 * sysdeps/unix/seekdir.c: Renamed to ...
18612 * sysdeps/posix/seekdir.c: ... here.
18613 * sysdeps/unix/telldir.c: Renamed to ...
18614 * sysdeps/posix/telldir.c: ... here.
18615 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18616 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18617 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18618 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18619
22895b47
RM
18620 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18621 * bits/fcntl.h: ... here.
18622
707a53b6
RM
18623 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18624 not 0.
18625 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18626 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18627 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18628 (struct flock): Move l_start, l_len to the beginning.
18629 Use __pid_t for l_pid.
18630 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18631 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18632 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18633 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18634 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18635 [__USE_LARGEFILE64] (struct flock64): New type.
18636 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18637
f0bd3e25
RM
18638 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18639 * bits/dirent.h: ... here.
18640
d34689de
RM
18641 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18642 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18643
6dad2c06
JM
186442012-08-07 Joseph Myers <joseph@codesourcery.com>
18645
18646 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18647 Change from 2.6.0 to 2.6.16.
18648 * sysdeps/unix/sysv/linux/configure: Regenerated.
18649 * sysdeps/unix/sysv/linux/kernel-features.h
18650 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18651 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18652 version.
18653 (__ASSUME_UTIMES): Likewise.
18654 (__ASSUME_CLONE_STOPPED): Remove.
18655 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18656 architectures, not kernel version.
18657 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18658 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18659 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18660 (__ASSUME_WAITID_SYSCALL): Likewise.
18661 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18662 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18663 * README: State 2.6.16 as minimum Linux kernel version. Do not
18664 refer to older versions.
18665
03af9520
RM
186662012-08-06 Roland McGrath <roland@hack.frob.com>
18667
8e49df1d
RM
18668 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18669 Define alphasort64 as an alias.
18670 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18671 Define versionsort64 as an alias.
18672 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18673 Define scandir64 as an alias.
18674 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18675 Define scandirat64 as an alias.
18676 * dirent/alphasort64.c (alphasort64):
18677 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18678 * dirent/versionsort64.c: Likewise.
18679 * dirent/scandir64.c: Likewise.
18680 * dirent/scandirat64.c: Likewise.
18681 * sysdeps/wordsize-64/alphasort.c: File removed.
18682 * sysdeps/wordsize-64/alphasort64.c: File removed.
18683 * sysdeps/wordsize-64/scandir.c: File removed.
18684 * sysdeps/wordsize-64/scandir64.c: File removed.
18685 * sysdeps/wordsize-64/scandirat.c: File removed.
18686 * sysdeps/wordsize-64/scandirat64.c: File removed.
18687 * sysdeps/wordsize-64/versionsort.c: File removed.
18688 * sysdeps/wordsize-64/versionsort64.c: File removed.
18689 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18690 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18691 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18692 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18693 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18694 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18695 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18696 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18697
18698 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18699 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18700 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18701 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18702 [defined __arch64__ || defined __sparcv9]
18703 (__INO_T_MATCHES_INO64_T): New macro.
18704 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18705 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18706 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18707 * sysdeps/unix/sysv/linux/bits/dirent.h
18708 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18709 (_DIRENT_MATCHES_DIRENT64): New macro.
18710
03af9520
RM
18711 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18712 Define lockf64 as an alias.
18713 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18714 Define fseeko64 as an alias.
18715 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18716 Define ftello64 as an alias.
18717 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18718 Define _IO_fgetpos64 and fgetpos64 as aliases.
18719 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18720 Define _IO_fsetpos64 and fsetpos64 as aliases.
18721 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18722 Conditionalize body on this.
18723 * libio/fseeko64.c: Likewise.
18724 * libio/ftello64.c: Likewise.
18725 * libio/iofgetpos64.c: Likewise.
18726 * libio/iofsetpos64.c: Likewise.
18727 * sysdeps/wordsize-64/lockf.c: File removed.
18728 * sysdeps/wordsize-64/lockf64.c: File removed.
18729 * sysdeps/wordsize-64/fseeko.c: File removed.
18730 * sysdeps/wordsize-64/fseeko64.c: File removed.
18731 * sysdeps/wordsize-64/ftello.c: File removed.
18732 * sysdeps/wordsize-64/ftello64.c: File removed.
18733 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18734 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18735 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18736 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18737 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18738 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18739 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18740 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18741 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18742 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18743 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18744 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18745 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18746 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18747
18748 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18749 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18750 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18751 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18752 [defined __arch64__ || defined __sparcv9]
18753 (__OFF_T_MATCHES_OFF64_T): New macro.
18754 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18755 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18756 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18757 (__OFF_T_MATCHES_OFF64_T): New macro.
18758
c5757acd
L
187592012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18760
18761 * stdlib/secure-getenv.c (__secure_getenv): Replace
18762 GLIBC_2_16 with GLIBC_2_17.
18763
3a31811e
L
187642012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18765
18766 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18767 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18768
faa2bccb
DM
187692012-08-03 David S. Miller <davem@davemloft.net>
18770
18771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18772
85fe1997
JM
187732012-08-03 Joseph Myers <joseph@codesourcery.com>
18774
18775 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18776 Remove.
18777 (__ASSUME_CORRECT_SI_PID): Likewise.
18778 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18779 (__ASSUME_TMPFS_NAME): Likewise.
18780 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18781 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18782 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18783 (HAVE_AUX_SECURE): Make definition unconditional.
18784 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18785 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18786
4f75b7a0
RM
187872012-08-03 Roland McGrath <roland@hack.frob.com>
18788
18789 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18790 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18791 * sysdeps/mach/hurd/eloop-threshold.h: New file.
18792 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18793 __eloop_threshold instead of SYMLOOP_MAX.
18794
18795 * sysdeps/generic/eloop-threshold.h: New file.
18796 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18797 of MAXSYMLINKS.
18798 * elf/chroot_canon.c (chroot_canon): Likewise.
18799
7aab07e4
JM
188002012-08-03 Joseph Myers <joseph@codesourcery.com>
18801
18802 [BZ #13717]
18803 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18804 Change to 2.6.0 everywhere.
18805 * sysdeps/unix/sysv/linux/configure: Regenerated.
18806 * sysdeps/unix/sysv/linux/kernel-features.h
18807 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18808 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18809 kernel versions.
18810 (__ASSUME_POSIX_TIMERS): Define unconditionally.
18811 (__ASSUME_FUTEX_REQUEUE): Remove.
18812 (__ASSUME_STATFS64): Define unconditionally.
18813 (__ASSUME_AT_SECURE): Likewise.
18814 (__ASSUME_CORRECT_SI_PID): Likewise.
18815 (__ASSUME_TGKILL): Define without depending on kernel version for
18816 i386.
18817 (__ASSUME_UTIMES): Likewise.
18818 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18819 kernel version.
18820 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18821 (__ASSUME_TMPFS_NAME): Likewise.
18822 * README: Update reference to Linux kernel versions.
18823
b67e9372
MP
188242012-08-02 Marek Polacek <polacek@redhat.com>
18825
1f529f7d 18826 [BZ# 14150]
b67e9372
MP
18827 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
18828 libc_cv_asm_type_prefix with %.
18829 * configure: Regenerated.
d2441631
RM
18830 * include/libc-symbols.h: Remove comment about
18831 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
18832 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18833 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18834 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18835 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18836 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18837 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18838 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18839 * elf/tst-unique2mod1.c: Likewise.
18840 * elf/tst-unique1mod2.c: Likewise.
18841 * elf/tst-unique1mod1.c: Likewise.
18842 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18843 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18844 Replace ASM_TYPE_DIRECTIVE with .type.
18845 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18846 * sysdeps/i386/sysdep.h: Likewise.
18847 * sysdeps/x86_64/sysdep.h: Likewise.
18848 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
18849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18850 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 18851 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
18852 * sysdeps/powerpc/powerpc32/sysdep.h:
18853 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
18854 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18855 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18856 * sysdeps/i386/fpu/e_powf.S: Likewise.
18857 * sysdeps/i386/fpu/e_expl.S: Likewise.
18858 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18859 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18860 * sysdeps/i386/fpu/e_pow.S: Likewise.
18861 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18862 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18863 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18864 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18865 * sysdeps/i386/fpu/e_log2.S: Likewise.
18866 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18867 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18868 * sysdeps/i386/fpu/e_powl.S: Likewise.
18869 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18870 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18871 * sysdeps/i386/fpu/e_logl.S: Likewise.
18872 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18873 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18874 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18875 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18876 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18877 * sysdeps/i386/fpu/e_log.S: Likewise.
18878 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18879 * sysdeps/i386/fpu/e_logf.S: Likewise.
18880 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18881 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18882 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18883 * sysdeps/i386/fpu/e_log10.S: Likewise.
18884 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18885 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18886 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18887 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18888 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18889 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18890 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18891 * sysdeps/i386/i686/strtok.S: Likewise.
18892 * sysdeps/i386/i386-mcount.S: Likewise.
18893 * sysdeps/i386/strtok.S: Likewise.
18894 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18895 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18896 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18897 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18898 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18899 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18900 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18901 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18902 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18903 * sysdeps/x86_64/_mcount.S: Likewise.
18904 * sysdeps/x86_64/strtok.S: Likewise.
18905 * sysdeps/sh/_mcount.S: Likewise.
18906
2747bf9a
RM
189072012-08-01 Roland McGrath <roland@hack.frob.com>
18908
18909 * libio/iofopen.c: Include <fcntl.h>.
18910 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18911 (_IO_fopen64, fopen64): Define as aliases.
18912 * libio/iofopen64.c: Include <fcntl.h>.
18913 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18914 Conditionalize body on this.
18915 * sysdeps/wordsize-64/iofopen.c: File removed.
18916 * sysdeps/wordsize-64/iofopen64.c: File removed.
18917
3fb791b8
MP
189182012-08-01 Marek Polacek <polacek@redhat.com>
18919
18920 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18921 Use dlfcn directly instead of a variable.
18922 (binfmt-subdir): Do not define.
18923 (dlfcn): Likewise.
18924
a9f1039f
JM
189252012-08-01 Joseph Myers <joseph@codesourcery.com>
18926
23bddc06
JM
18927 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18928 Remove all definitions.
18929 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18930 <kernel-features.h>.
18931 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18932 (miss_F_GETOWN_EX): Remove all definitions.
18933 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18934 macro definition.
18935 [!__ASSUME_FCNTL64]: Remove conditional code.
18936 [__ASSUME_FCNTL64]: Make code unconditional.
18937 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18938 <kernel-features.h>.
18939 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18940 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18941 (lockf64) [__NR_fcntl64]: Make code unconditional.
18942 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18943
a9f1039f
JM
18944 * sysdeps/unix/sysv/linux/kernel-features.h
18945 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18946 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18947 Make code unconditional.
18948 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18949 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18951 [__NR_vfork]: Make code unconditional.
18952 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18953 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18955 [__NR_vfork]: Make code unconditional.
18956 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18957 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18958
09c0ee5f
RM
189592012-08-01 Roland McGrath <roland@hack.frob.com>
18960
48aec5b9
RM
18961 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18962 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18963
cd97c966
RM
18964 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18965 Define mkstemp64 as an alias.
3f55550c
RM
18966 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18967 Define mkstemps64 as an alias.
cd97c966
RM
18968 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18969 Define mkostemp64 as an alias.
b8625cfc
RM
18970 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18971 Define mkostemps64 as an alias.
cd97c966
RM
18972 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18973 Conditionalize body on this.
18974 * misc/mkostemp64.c: Likewise.
b8625cfc 18975 * misc/mkostemps64.c: Likewise.
3f55550c 18976 * misc/mkstemps64.c: Likewise.
cd97c966
RM
18977 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18978 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18979 * sysdeps/wordsize-64/mkostemp.c: File removed.
18980 * sysdeps/wordsize-64/mkstemp.c: File removed.
18981 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18982 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18983 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18984 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18985
09c0ee5f
RM
18986 [BZ #14138]
18987 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18988 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18989 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18990 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18991
18992 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18993 compat_symbol macros from <shlib-compat.h> rather than the underlying
18994 default_symbol_version and symbol_version macros, so that DEFAULT
18995 lines in shlib-versions are respected.
18996 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18997
7e66ee51
FW
189982012-08-01 Florian Weimer <fweimer@redhat.com>
18999
19000 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19001 Declare with warn_unused_result.
19002 (setgid, setregid, setegid, setresgid): Likewise.
19003 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19004 Likewise.
19005 * WUR-REPORT: Remove set*id functions.
19006
d2a54255
PT
190072012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19008
19009 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19010
7ecdb005
RM
190112012-07-31 Roland McGrath <roland@hack.frob.com>
19012
b4180a5e 19013 [BZ #10191]
789bd351
RM
19014 * include/sys/socket.h (__libc_accept, __libc_accept4):
19015 Add attribute_hidden.
19016 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19017
40ce302d
RM
19018 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19019 use of PTR_MANGLE.
19020 * inet/getnetgrent_r.c (setup): Likewise.
19021
7ecdb005
RM
19022 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19023
e2eabb2c
DM
190242012-07-31 David S. Miller <davem@davemloft.net>
19025
19026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19027
d0419dbf
JM
190282012-07-31 Joseph Myers <joseph@codesourcery.com>
19029
19030 [BZ #13629]
19031 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19032 value between 1.0 and 2.0 and smaller part has absolute value less
19033 than 1.0.
19034 * math/s_clog10.c (__clog10): Likewise.
19035 * math/s_clog10f.c (__clog10f): Likewise.
19036 * math/s_clog10l.c (__clog10l): Likewise.
19037 * math/s_clogf.c (__clogf): Likewise.
19038 * math/s_clogl.c (__clogl): Likewise.
19039 * math/libm-test.inc (clog_test): Add more tests.
19040 (clog10_test): Likewise.
19041 * sysdeps/i386/fpu/libm-test-ulps: Update.
19042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19043
2bc13872
FW
190442012-07-31 Florian Weimer <fweimer@redhat.com>
19045
19046 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19047 Exit with zero in case no suitable GID is found, and write a
19048 message to standard error.
19049
bea9b193
RM
190502012-07-30 Roland McGrath <roland@hack.frob.com>
19051
19052 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19053 rather than to 1.
19054 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19055 (MAXPATHLEN): Removed.
19056 (NOGROUP, NODEV): New macros.
19057 (setbit, clrbit, isset, isclr): New macros.
19058 (howmany, roundup, powerof2): New macros.
19059 (DEV_BSIZE): New macro.
19060
19061 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19062 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19063
19064 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19065 definition on [!__NO_LONG_DOUBLE_MATH].
19066
19067 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19068 PTR_MANGLE and PTR_DEMANGLE.
19069
19070 * socket/accept4.c (accept4): Rename to __libc_accept4.
19071 Define accept4 as a weak alias.
19072
19073 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19074 on [_DIRENT_HAVE_D_TYPE].
19075 * io/ftw.c (ftw_dir): Likewise.
19076
19077 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19078
19079 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19080
19081 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19082 Use the BSD numbers rather than the arbitrary ones we had.
19083 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19084 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19085 (SIGXCPU, SIGXFSZ): New macros.
19086 (_NSIG): Now 32.
19087
19088 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19089 initializer on [_LIBC_REENTRANT].
19090
19091 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19092 definitions inside [_POSIX_MAPPED_FILES].
19093
19094 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19095
19096 * dirent/opendir.c: Include <fcntl.h>.
19097
19098 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19099 (__libc_getspecific): Likewise.
19100 (__libc_key_create): Likewise.
19101
19102 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19103 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19104 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19105 (tmpfile64): Define as alias.
19106 * sysdeps/wordsize-64/tmpfile.c: File removed.
19107 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19108 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19109 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19110
19111 * stdio-common/vfscanf.c: Include <stdbool.h>.
19112 * nss/makedb.c: Likewise.
19113 * stdio-common/_i18n_number.h: Likewise.
19114 * argp/argp-help.c: Likewise.
19115 * posix/wordexp.c: Likewise.
19116 * sysdeps/posix/spawni.c: Likewise.
19117 * nss/nss_files/files-initgroups.c: Likewise.
19118 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19119 * nss/nss_files/files-initgroups.c: Likewise.
19120 * nss/nss_db/db-netgrp.c: Likewise.
19121 * nss/nss_db/db-initgroups.c: Likewise.
19122 * io/fchmodat.c: Include <sys/stat.h>.
19123
19124 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19125 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19126
19127 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19128 [HAVE_MMAP].
19129
19130 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19131 Add multiple inclusion protection.
19132
e5abc686
DM
191332012-07-27 David S. Miller <davem@davemloft.net>
19134
19135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19136
815e6fa3
GB
191372012-07-27 Gary Benson <gbenson@redhat.com>
19138
19139 [BZ #14298]
19140 * elf/rtld.c: Include <stap-probe.h>.
19141 (dl_main): Added static probes "init_start" and "init_complete".
19142 * elf/dl-load.c: Include <stap-probe.h>.
19143 (lose): Take new parameter "nsid".
19144 Added static probe "map_failed".
19145 (_dl_map_object_from_fd): Pass namespace id to lose.
19146 Added static probe "map_start".
19147 (open_verify): Pass namespace id to lose.
19148 * elf/dl-open.c: Include <stap-probe.h>.
19149 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19150 and "reloc_complete".
19151 * elf/dl-close.c: Include <stap-probe.h>.
19152 (_dl_close_worker): Added static probes "unmap_start" and
19153 "unmap_complete".
19154 * elf/rtld-debugger-interface.txt: New file documenting the above.
19155
9f98c16c
RM
191562012-07-26 Roland McGrath <roland@hack.frob.com>
19157
19158 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19159 rather than a string variable.
19160 * sunrpc/rpc_main.c (h_output): Likewise.
19161 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19162
f3c22df3
PT
191632012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19164
19165 * inet/check_native.c: New file.
19166
3129cfc6
JM
191672012-07-26 Joseph Myers <joseph@codesourcery.com>
19168
da865e95
JM
19169 [BZ #13629]
19170 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19171 if larger part has absolute value 1.0.
19172 * math/s_clog10.c (__clog10): Likewise.
19173 * math/s_clog10f.c (__clog10f): Likewise.
19174 * math/s_clog10l.c (__clog10l): Likewise.
19175 * math/s_clogf.c (__clogf): Likewise.
19176 * math/s_clogl.c (__clogl): Likewise.
19177 * math/libm-test.inc (clog_test): Add more tests.
19178 (clog10_test): Likewise.
19179 * sysdeps/i386/fpu/libm-test-ulps: Update.
19180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19181
3129cfc6
JM
19182 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19183 (pltexit): Likewise.
19184 (La_regs): Likewise.
19185 (La_retval): Likewise.
19186 (int_retval): Likewise.
19187 Update #error for removed macros to refer only to definitions in
19188 tst-audit.h.
19189 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19190 macro.
19191 (pltexit): Likewise.
19192 (La_regs): Likewise.
19193 (La_retval): Likewise.
19194 (int_retval): Likewise.
19195 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19196 macro.
19197 (pltexit): Likewise.
19198 (La_regs): Likewise.
19199 (La_retval): Likewise.
19200 (int_retval): Likewise.
19201 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19202 macro.
19203 (pltexit): Likewise.
19204 (La_regs): Likewise.
19205 (La_retval): Likewise.
19206 (int_retval): Likewise.
19207 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19208 macro.
19209 (pltexit): Likewise.
19210 (La_regs): Likewise.
19211 (La_retval): Likewise.
19212 (int_retval): Likewise.
19213 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19214 macro.
19215 (pltexit): Likewise.
19216 (La_regs): Likewise.
19217 (La_retval): Likewise.
19218 (int_retval): Likewise.
19219 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19220 macro.
19221 (pltexit): Likewise.
19222 (La_regs): Likewise.
19223 (La_retval): Likewise.
19224 (int_retval): Likewise.
19225 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19226 macro definitions in tst-audit.h.
19227 * sysdeps/i386/tst-audit.h: New file.
19228 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19229 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19230 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19231 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19232 * sysdeps/sh/tst-audit.h: Likewise.
19233 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19234 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19235 * sysdeps/x86_64/tst-audit.h: Likewise.
19236
bfc07087
AJ
192372012-07-26 Andreas Jaeger <aj@suse.de>
19238
b1b2aaf8
AJ
19239 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19240 ptrace.
19241
19242 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19243 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19244 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19245 PTRACE_O_MASK.
19246 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19247 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19248 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19249
bfc07087
AJ
19250 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19251 value.
19252
19253 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19254 _sigsys.
19255 (si_call_addr, si_syscall, si_arch): Define new macro.
19256 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19257 _sigsys.
19258 (si_call_addr, si_syscall, si_arch): Define new marcro.
19259 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19260 _sigsys.
19261 (si_call_addr, si_syscall, si_arch): Define new macro.
19262 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19263 _sigsys.
19264 (si_call_addr, si_syscall, si_arch): Define new macro.
19265
89b4b02f
JM
192662012-07-25 Joseph Myers <joseph@codesourcery.com>
19267
19268 [BZ #13717]
19269 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19270 Change to 2.4.21 where previously 2.4.1.
19271 * sysdeps/unix/sysv/linux/configure: Regenerated.
19272 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19273 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19274 Linux kernel version.
19275 (__ASSUME_STD_AUXV): Remove.
19276 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19277 kernel version.
19278 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19279 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19280 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19281 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19282 (__ASSUME_NETLINK_SUPPORT): Likewise.
19283 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19284 (__no_netlink_support): Remove conditional definition.
19285 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19286 Remove.
19287 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19288 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19289 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19290 (if_nameindex_ioctl): Remove.
19291 (if_nameindex_netlink): Do not handle __no_netlink_support.
19292 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19293 code.
19294 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19295 Remove conditional code.
19296 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19297 code.
19298 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19299 unconditional.
19300 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19301 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19302 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19303 Remove.
19304 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19305 [!__ASSUME_STD_AUXV]: Remove conditional code.
19306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19307 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19308 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19310 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19311 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19312 code.
19313 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19315 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19316 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19317 conditional code.
19318 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19320 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19321 code.
19322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19323 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19324 conditional code.
19325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19326 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19327 code unconditional.
19328 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19329 conditional code.
19330 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19331 unconditional.
19332 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19333 conditional code.
19334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19335 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19336 unconditional.
19337 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19338 conditional code.
19339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19340 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19341 code unconditional.
19342 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19343 conditional code.
19344 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19345 unconditional.
19346 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19347 conditional code.
19348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19349 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19350 code unconditional.
19351 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19352 conditional code.
19353 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19354 unconditional.
19355 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19356 conditional code.
19357
842a39cd
AS
193582012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19359
19360 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19361 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19362 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19363 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19364 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19365 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19366 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19367 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19368 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19369 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19370 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19371 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19372 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19373 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19374 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19375 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19376 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19377 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19378 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19380 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19381 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19382 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19383
84b3fd84
FW
193842012-07-25 Florian Weimer <fweimer@redhat.com>
19385
19386 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
19387 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19388 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19389 Introduce __libc_secure_getenv.
0c7936d5
FW
19390 * stdlib/Versions (2.17): Add secure_getenv
19391 (GLIBC_PRIVATE): Add __libc_secure_getenv.
19392 * stdlib/secure-getenv.c: Rename __secure_getenv to
19393 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19394 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
19395 * stdlib/tst-secure-getenv.c: New.
19396 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
19397 * manual/startup.texi (Environment Access): Document
19398 secure_getenv.
84b3fd84
FW
19399 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19400 __libc_secure_getenv.
19401 * inet/ruserpass.c (ruserpass): Likewise.
19402 * malloc/mtrace.c (mtrace): Likewise.
19403 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 19404 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
19405 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19406 * sysdeps/posix/tempname.c: Likewise. Evaluate
19407 HAVE_SECURE_GETENV.
19408 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 19409 __secure_getenv to __libc_secure_getenv.
84b3fd84 19410 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
19411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19412 Likewise.
19413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19414 Likewise.
19415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19417 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 19422
56e49b71
JM
194232012-07-25 Joseph Myers <joseph@codesourcery.com>
19424
19425 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19426 (struct La_i86_retval): Likewise.
19427 (struct La_x86_64_regs): Likewise.
19428 (struct La_x86_64_retval): Likewise.
19429 (struct La_x32_regs): Likewise.
19430 (struct La_x32_retval): Likewise.
19431 (struct La_ppc32_regs): Likewise.
19432 (struct La_ppc32_retval): Likewise.
19433 (struct La_ppc64_regs): Likewise.
19434 (struct La_ppc64_retval): Likewise.
19435 (struct La_sh_regs): Likewise.
19436 (struct La_sh_retval): Likewise.
19437 (struct La_s390_32_regs): Likewise.
19438 (struct La_s390_32_retval): Likewise.
19439 (struct La_s390_64_regs): Likewise.
19440 (struct La_s390_64_retval): Likewise.
19441 (struct La_sparc32_regs): Likewise.
19442 (struct La_sparc32_retval): Likewise.
19443 (struct La_sparc64_regs): Likewise.
19444 (struct La_sparc64_retval): Likewise.
19445 (struct audit_ifaces): Remove architecture-specific pltenter and
19446 pltexit members.
19447 * sysdeps/i386/ldsodefs.h: New file.
19448 * sysdeps/powerpc/ldsodefs.h: Likewise.
19449 * sysdeps/s390/ldsodefs.h: Likewise.
19450 * sysdeps/sh/ldsodefs.h: Likewise.
19451 * sysdeps/sparc/ldsodefs.h: Likewise.
19452 * sysdeps/x86_64/ldsodefs.h: Likewise.
19453
354691b7
MP
194542012-07-25 Marek Polacek <polacek@redhat.com>
19455
19456 [BZ #6808]
19457 * math/libm-test.inc (yn_test): Add another test.
19458 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19459 to ERANGE when the result is +-Inf.
19460 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19461 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19462 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19463 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19464
bf9e2071
JM
194652012-07-24 Joseph Myers <joseph@codesourcery.com>
19466
19467 * conform/data/time.h-data (NULL): Use macro-constant. Require
19468 equal to 0.
19469 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19470 clock_t.
19471 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19472
57633811
TS
194732012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19474
19475 * configure.in <sysdeps resolving>: Correct printing
19476 Implies_before.
19477 * configure: Regenerate.
19478
c23c33b0
TS
194792012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19480
19481 * math/w_ilogb.c: Include <limits.h>.
19482 * math/w_ilogbl.c: Likewise.
19483
b5982523
JM
194842012-07-20 Joseph Myers <joseph@codesourcery.com>
19485
19486 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19487 va_copy. Document allowing for unavailable va_copy only as
19488 pre-C99 compatibility.
19489 * manual/string.texi (Copying and Concatenation): Use va_copy
19490 instead of __va_copy in concat example.
19491
ac4ea442
PT
194922012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19493
19494 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19495 (__sendto): Use create_address_port. Initialize APORT and deallocate
19496 it if not null.
19497
f98eafbd
PT
19498 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19499 with O_NOLINK passed to __file_name_lookup.
19500
898c7aab
PT
19501 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19502 with O_NOLINK passed to __file_name_lookup.
19503
0ced335a
PT
19504 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19505 negative N or less than NGIDS.
19506
b3404dbd
PT
19507 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19508 type to string_t. Set ERANGE as errno and return it if NAME is not big
19509 enough. Use memcpy instead of strncpy.
19510
0f48659e
JM
195112012-07-20 Joseph Myers <joseph@codesourcery.com>
19512
19513 * elf/Makefile (check-data): Remove.
19514 (localplt.data): New vpath directive.
19515 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19516 instead of $(check-data).
19517 * scripts/data/localplt-generic.data: Move to ...
19518 * sysdeps/generic/localplt.data: ... here.
19519 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19520 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19521 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19523 ... here.
19524 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19526 ... here.
19527 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19529 ... here.
19530 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19532 ... here.
19533 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19535 ... here.
19536 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19538 ... here.
19539
d37cbdaa
AZ
195402012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19541
19542 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19543 PPC32 and PPC64 files.
19544 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19545 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19546
46f85fc2
AK
195472012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19548
19549 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19550 __makecontext_ret to ...
19551 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19552 ... here and call exit if uc_link is NULL. New file.
19553 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19554 __makecontext_ret.S.
19555 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19556 __makecontext_ret to ...
19557 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19558 ... here and call exit if uc_link is NULL. New file.
19559 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19560 __makecontext_ret.S.
19561
08f43f9b
AK
195622012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19563
19564 * elf/elf.h (R_390_IRELATIVE): New definition.
19565 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19566 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19567 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19568 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19569 (elf_machine_lazy_rel): Likewise.
19570 * sysdeps/s390/dl-irel.h: New file.
19571 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19572 * sysdeps/s390/s390-64/memset.S: New asm code.
19573 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19574 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19575 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19576 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19577 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19578 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19579 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19580 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19581 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19582 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19583 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19584 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19585 * sysdeps/s390/s390-32/memset.S: New asm code.
19586 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19587
3b05db33
MP
195882012-07-17 Marek Polacek <polacek@redhat.com>
19589
19590 [BZ #14349]
19591 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19592 * sysdeps/s390/s390-64/configure.in: Likewise.
19593 * sysdeps/sparc/configure.in: Likewise.
19594 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19595 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19596 * sysdeps/i386/configure.in: Likewise.
19597 * sysdeps/x86_64/configure.in: Likewise.
19598 * sysdeps/sh/configure.in: Likewise.
19599 * sysdeps/s390/s390-32/configure: Regenerated.
19600 * sysdeps/s390/s390-64/configure: Likewise.
19601 * sysdeps/x86_64/configure: Likewise.
19602 * sysdeps/sh/configure: Likewise.
19603 * sysdeps/powerpc/powerpc64/configure: Likewise.
19604 * sysdeps/powerpc/powerpc32/configure: Likewise.
19605 * sysdeps/sparc/configure: Likwise.
19606 * sysdeps/i386/configure: Likewise.
19607
a66877c6
MP
19608 * elf/dl-open.c: Comment fixes.
19609
cfc82fd8
JM
196102012-07-17 Joseph Myers <joseph@codesourcery.com>
19611
bd29910a
JM
19612 * Makefile [CXX] (check-data): Remove.
19613 [CXX] (c++-types.data): New vpath directive.
19614 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19615 vpath. Do not allow for C++ type data being missing.
19616 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19617 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19618 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19619 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19620 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19621 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19622 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19624 ... here.
19625 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19627 ... here.
19628 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19630 ... here.
19631 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19633 ... here.
19634 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19636 ... here.
19637 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19639 ... here.
19640 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19642 ... here.
19643 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19645
cfc82fd8
JM
19646 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19647 definitions to architecture-specific files.
19648 (TLS_IE): Likewise.
19649 (TLS_LD): Likewise.
19650 (TLS_GD): Likewise.
19651 * sysdeps/i386/tls-macros.h: New file.
19652 * sysdeps/powerpc/tls-macros.h: Likewise.
19653 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19654 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19655 * sysdeps/sh/tls-macros.h: Likewise.
19656 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19657 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19658 * sysdeps/x86_64/tls-macros.h: Likewise.
19659
f7db3170
TS
196602012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19661
07cbfc23
TS
19662 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19663 zero value for regular exit case.
19664
f7db3170
TS
19665 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19666 (__start_context): Preserve zero value for regular exit case.
19667
dc97c227
TS
196682012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19669 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19670
19671 * manual/setjmp.texi (setcontext): Clarify normal process
19672 termination when uc_link is the null pointer.
19673 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19674 exit call.
19675
d0cd7d02
AS
196762012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19677
19678 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19679 preprocessor. Test for each exception mask separately.
19680
dd318934
AJ
196812012-07-16 Andreas Jaeger <aj@suse.de>
19682
19683 * po/ru.po: Update from translation team.
19684
8048311a
JM
196852012-07-15 Joseph Myers <joseph@codesourcery.com>
19686
19687 * conform/data/string.h-data (NULL): Use macro-constant. Require
19688 equal to 0.
19689 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19690 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19691 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19692 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19693 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19694
b637d46e
AJ
196952012-07-13 Andreas Jaeger <aj@suse.de>
19696
19697 * po/fr.po: Update from translation team.
19698
541428fe
MP
196992012-07-12 Marek Polacek <polacek@redhat.com>
19700
19701 [BZ #14173]
19702 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19703 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19704 loop condition.
19705
ec332e94
JM
197062012-07-12 Joseph Myers <joseph@codesourcery.com>
19707
19708 [BZ #13717]
19709 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19710 Change to 2.4.1 where previously 2.4.0.
19711 * sysdeps/unix/sysv/linux/configure: Regenerated.
19712 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19713 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19714 version.
19715 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19716 (__ASSUME_AT_CLKTCK): Remove.
19717 (__ASSUME_AT_PAGESIZE): Likewise.
19718 (__ASSUME_AT_XID): Likewise.
19719 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19720 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19721 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19722 unconditionally.
19723 (HAVE_AUX_PAGESIZE): Likewise.
19724 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19725 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19726 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19727
7b6e99be
JB
197282012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19729
19730 [BZ #14307]
19731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19732 the temporary buffer used to invoke __gethostbyname2_r,
19733 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19734 host_data / struct gaih_addrtuple.
19735 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19736 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19737 header file nss/nsswitch.h.
19738 * nss/nsswitch.h (global scope): Add definition of implementation
19739 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19740 resolv/nss_dns/dns-host.c).
19741
608404eb
AJ
197422012-07-11 Andreas Jaeger <aj@suse.de>
19743
19744 * po/fr.po: Update from translation team.
19745
71220aca
AJ
19746 * po/sv.po: Update from translation team
19747 * po/fr.po: Another update from translation team.
19748
28cfe843
AZ
197492012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19750
19751 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19752 for subnormals or multiply small sinh result by itself.
19753 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19755
6b90f981
DM
197562012-07-11 David S. Miller <davem@davemloft.net>
19757
19758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19759
c6825772
AS
197602012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19761
19762 [BZ #14347]
19763 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19764 (INTERNAL_MARK): Shift it here.
19765
7b8e0d49
MP
197662012-07-10 Marek Polacek <polacek@redhat.com>
19767
19768 [BZ #14151]
19769 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19770 libc_cv_asm_global_directive with .globl.
19771 * configure: Regenerated.
19772 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19773 with .globl.
19774 * sysdeps/i386/configure: Regenerated.
19775 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19776 with .globl.
19777 * sysdeps/x86_64/configure: Regenerated.
19778 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19779 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19780 * elf/tst-unique2mod2.c: Likewise.
19781 * elf/tst-unique2mod1.c: Likewise.
19782 * elf/tst-unique1mod2.c: Likewise.
19783 * elf/tst-unique1mod1.c: Likewise.
19784 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19785 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19786 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19787 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19788 * sysdeps/mach/sysdep.h: Likewise.
19789 * sysdeps/i386/sysdep.h: Likewise.
19790 * sysdeps/i386/i386-mcount.S: Likewise.
19791 * sysdeps/x86_64/_mcount.S: Likewise.
19792 * sysdeps/x86_64/sysdep.h: Likewise.
19793 * sysdeps/sh/_mcount.S: Likewise.
19794 * sysdeps/sh/sysdep.h: Likewise.
19795 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19796 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19797 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19798 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19799 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19800 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19801 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19802 * locale/localeinfo.h: Likewise.
19803 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19804 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19805
6c55cda3
RM
198062012-07-09 Roland McGrath <roland@hack.frob.com>
19807
19808 [BZ #14336]
19809 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19810 system".
19811 * manual/message.texi (The Uniforum approach): Likewise.
19812 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19813 (glibc iconv Implementation): Likewise.
19814
638a572e
JM
198152012-07-09 Joseph Myers <joseph@codesourcery.com>
19816
19817 [BZ #14337]
19818 * math/s_clog.c (__clog): Avoid scaling a value down where that
19819 could result in underflow.
19820 * math/s_clog10.c (__clog10): Likewise.
19821 * math/s_clog10f.c (__clog10f): Likewise.
19822 * math/s_clog10l.c (__clog10l): Likewise.
19823 * math/s_clogf.c (__clogf): Likewise.
19824 * math/s_clogl.c (__clogl): Likewise.
19825 * math/libm-test.inc (clog_test): Add more tests.
19826 (clog10_test): Likewise.
19827 * sysdeps/i386/fpu/libm-test-ulps: Update.
19828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19829
261f4859
AS
198302012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19831
0abaf3e4
AS
19832 [BZ #14283]
19833 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19834 by 7 not 8 to examine high bit of fractional part.
19835
261f4859
AS
19836 [BZ #14042]
19837 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19838 for call to __mcount_internal.
19839 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19840 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19841 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19842
f17ac40d
JM
198432012-07-06 Joseph Myers <joseph@codesourcery.com>
19844
9ad63c23
JM
19845 [BZ #14154]
19846 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19847 approximation for values within 0x1p-13f of an odd multiple of
19848 pi/4.
19849 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19850 exception. Add more tests.
19851 * sysdeps/i386/fpu/libm-test-ulps: Update.
19852
f17ac40d
JM
19853 [BZ #6778]
19854 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19855 inputs and return -1 for them. Do not check for +Inf in case not
19856 reachable for +Inf.
19857 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19858 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19859 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19860 and return -1 for them. Do not check for +Inf in case not
19861 reachable for +Inf.
19862 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19863 define.
19864 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19865 and return -1 for them. Do not check for +Inf in case not
19866 reachable for +Inf.
19867 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19868 spurious underflow.
19869 * sysdeps/i386/fpu/libm-test-ulps: Update.
19870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19871
fb21f89b
MF
198722012-07-06 Mike Frysinger <vapier@gentoo.org>
19873
19874 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19875
cdfe2c5e
JM
198762012-07-05 Joseph Myers <joseph@codesourcery.com>
19877
19878 [BZ #14157]
19879 [BZ #14331]
19880 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19881 could result in spurious underflow. Scale down values above
19882 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19883 * math/s_csqrtf.c (__csqrtf): Likewise.
19884 * math/s_csqrtl.c (__csqrtl): Likewise.
19885 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19886 spurious underflow.
19887 * sysdeps/i386/fpu/libm-test-ulps: Update.
19888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19889
70d35b67
AS
198902012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19891
704bc459
AS
19892 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19893 xopen-msg.sed.
19894 * catgets/xopen-msg.awk: New file.
19895 * catgets/xopen-msg.sed: Removed.
19896
70d35b67
AS
19897 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19898 po2text.sed.
19899 * intl/po2test.awk: New file.
19900 * intl/po2test.sed: Removed.
19901
ca61cf32
JM
199022012-07-04 Joseph Myers <joseph@codesourcery.com>
19903
19904 [BZ #14328]
19905 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19906 or multiply small sinh result by itself.
19907 * math/s_ctanf.c (__ctanf): Likewise.
19908 * math/s_ctanh.c (__ctanh): Likewise.
19909 * math/s_ctanhf.c (__ctanhf): Likewise.
19910 * math/s_ctanhl.c (__ctanhl): Likewise.
19911 * math/s_ctanl.c (__ctanl): Likewise.
19912 * math/libm-test.inc (ctan_test_tonearest): New function.
19913 (ctan_test_towardzero): Likewise.
19914 (ctan_test_downward): Likewise.
19915 (ctan_test_upward): Likewise.
19916 (ctanh_test_tonearest): Likewise.
19917 (ctanh_test_towardzero): Likewise.
19918 (ctanh_test_downward): Likewise.
19919 (ctanh_test_upward): Likewise.
19920 (main): Call these new functions.
19921 * sysdeps/i386/fpu/libm-test-ulps: Update.
19922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19923
ca48a46a
MF
199242012-07-03 Mike Frysinger <vapier@gentoo.org>
19925
19926 * .gitignore: Delete /ports entry.
19927
9d63d37d
AJ
199282012-07-03 Andreas Jaeger <aj@suse.de>
19929
19930 * po/bg.po: Update from translation team.
19931 * po/cs.po: Likewise.
19932 * po/de.po: Likewise.
19933 * po/hr.po: Likewise.
19934 * po/nl.pl: Likewise.
19935 * po/pl.po: Likewise.
19936 * po/vi.po: Likewise.
19937
370ca3d2
JM
199382012-07-03 Joseph Myers <joseph@codesourcery.com>
19939
95f5a9a8
JM
19940 * Makeconfig [!+link] (+link-before-libc): New variable.
19941 [!+link] (+link-after-libc): Likewise.
19942 [!+link] (+link-tests): Likewise.
19943 [!+link] (+link): Define in terms of $(+link-before-libc) and
19944 $(+link-after-libc).
19945 [!+link-static] (+link-static-before-libc): New variable.
19946 [!+link-static] (+link-static-after-libc): Likewise.
19947 [!+link-static] (+link-static-tests): Likewise.
19948 [!+link-static] (+link-static): Define in terms of
19949 $(+link-static-before-libc) and $(+link-static-after-libc).
19950 [build-shared] (link-libc-before-gnulib): New variable.
19951 [build-shared] (link-libc-tests): Likewise.
19952 [build-shared] (link-libc): Define in terms of
19953 $(link-libc-before-gnulib).
19954 [!build-shared] (link-libc-tests): New variable.
19955 (link-libc-static-tests): New variable.
19956 [!gnulib] (gnulib-arch): New variable.
19957 [!gnulib] (gnulib-tests): Likewise.
19958 [!gnulib] (static-gnulib-arch): Likewise.
19959 [!gnulib] (static-gnulib-tests): Likewise.
19960 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19961 Define with "=" instead of ":=".
19962 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19963 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19964 * Rules (binaries-all-notests): New variable.
19965 (binaries-all-tests): Likewise.
19966 (binaries-static-notests): Likewise.
19967 (binaries-static-tests): Likewise.
19968 (binaries-all): Define using $(binaries-all-notests) and
19969 $(binaries-all-tests).
19970 (binaries-static): Define using $(binaries-static-notests) and
19971 $(binaries-static-tests).
19972 (binaries-shared-tests): New variable.
19973 (binaries-shared-notests): Likewise.
19974 (binaries-shared): Remove variable.
19975 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19976 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19977 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19978 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19979 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19980 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19981 * elf/Makefile (sln-modules): New variable.
19982 (extra-objs): Add $(sln-modules:=.o).
19983 (ldconfig-modules): Add static-stubs.
19984 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19985 * elf/static-stubs.c: New file.
19986
7a845b2c
JM
19987 [BZ #14283]
19988 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19989 by 7 not 8 to examine high bit of fractional part. Use volatile
19990 variables when splitting into final array of floats if
19991 __FLT_EVAL_METHOD__ != 0.
19992 * math/libm-test.inc (cos_test): Add another test.
19993 (sin_test): Likewise.
19994 * sysdeps/i386/fpu/libm-test-ulps: Update.
19995
e2283f38
JM
19996 [BZ #14273]
19997 * math/libm-test.inc (cosh_test): Add more tests.
19998
370ca3d2
JM
19999 * version.h (RELEASE): Set to "development".
20000 (VERSION): Set to "2.16.90".
20001
ee9247c3
CD
200022012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20003
20004 * NEWS: Update copyright. Remove last-updated date.
20005 Mention math library bug fixes and timezone data changes.
20006 * README: Mention GNU/Hurd, x32, and HPPA support status.
20007
4648c381
TS
200082012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20009
20010 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20011
aac78a43
AJ
200122012-06-27 Andreas Jaeger <aj@suse.de>
20013
20014 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20015
ed3dbfad
AJ
200162012-06-25 Andreas Jaeger <aj@suse.de>
20017
20018 * sysdeps/s390/fpu/libm-test-ulps: Update.
20019
4d0ee855
AS
200202012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20021 Thomas Schwinge <thomas@codesourcery.com>
20022
20023 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20024 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20025 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20026 fanotify_mark.
20027
af1bce34
TS
200282012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20029
a9fa33ba
TS
20030 * sysdeps/mach/start.c: Remove file.
20031 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20032 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20033 * sysdeps/sh/init-first.c: Likewise.
20034
58f902b8
TS
20035 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20036 registers for frame unwinding purposes, add CFI directives.
20037 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20038 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20039 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20040 Likewise.
20041
1518f58b
TS
20042 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20043 __fortify_fail returning.
20044 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20045
db9b5059
TS
20046 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20047 sysdeps/sh/____longjmp_chk.S.
20048 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20049 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20050 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20051 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20052
967705fe
TS
20053 * sysdeps/sh/abort-instr.h: New file.
20054 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20055 process in case exit returns.
20056
a9def8c4
TS
20057 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20058 initialize the GOT register before use.
20059
2a649725
TS
20060 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20061 calculation of ARGC > 4.
20062
af1bce34
TS
20063 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20064 meaningful names to some local labels.
20065
d230f50a
KK
200662012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20067 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20068
20069 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20070 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20071 (__arch_compare_and_exchange_val_16_acq): Likewise.
20072 (__arch_compare_and_exchange_val_32_acq): Likewise.
20073 (atomic_exchange_and_add): Fix gUSA sequence.
20074 (atomic_add): Likewise.
20075 (atomic_add_negative): Likewise.
20076 (atomic_add_zero): Likewise.
20077 (atomic_bit_test_set): Likewise.
20078
0479b305
AS
200792012-06-22 Andreas Schwab <schwab@redhat.com>
20080
20081 [BZ #13579]
20082 * include/link.h (struct link_map): Add l_free_initfini.
20083 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20084 l_initfini.
20085 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20086 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20087 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20088 set.
20089
0e3933b9
CD
200902012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20091
20092 * configure.in: Use AC_LANG_SOURCE.
20093 * configure: Regenerate.
20094
4248b1b1
RM
200952012-06-22 Roland McGrath <roland@hack.frob.com>
20096
20097 * configure.in (libc_cv_localstatedir): New substituted variable.
20098 * configure: Regenerated.
20099 * config.make.in (localstatedir): New variable, substituted from
20100 libc_cv_localstatedir.
20101 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20102 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20103 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20104 * sysdeps/gnu/configure: Regenerated.
20105
006dd861
JL
201062012-06-21 Jeff Law <law@redhat.com>
20107
20108 [BZ #14277]
20109 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20110 free. Simplify list management for _LIBC case.
20111
79662d42
JM
201122012-06-21 Joseph Myers <joseph@codesourcery.com>
20113
b7abb4bf
JM
20114 [BZ #14273]
20115 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20116 Clear sign bit of 64-bit integer value before comparing against
20117 overflow value.
20118
79662d42
JM
20119 * sysdeps/mach/configure: Regenerated.
20120
1f150908
L
201212012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20122
20123 [BZ #14278]
20124 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20125
28363bbf
JL
201262012-06-21 Jeff Law <law@redhat.com>
20127
20128 [BZ #13882]
20129 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20130 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 20131 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
20132 * elf/dl-open.c (dl_open_worker): Likewise.
20133
09615db4
CD
201342012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20135
20136 * scripts/list-sources.sh: Scan PORTS for translations.
20137 * po/libc.pot: Regenerated.
20138
2174c6dd
AJ
201392012-06-21 Andreas Jaeger <aj@suse.de>
20140
20141 [BZ #12194]
20142 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20143 warning.
20144 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20145 * bits/byteswap-16.h (__bswap_16): Likewise.
20146 * bits/byteswap.h (__bswap_constant_16): Likewise.
20147
3ee947b1
L
201482012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20149
20150 [BZ #14117]
a2f34833
L
20151 * sysdeps/i386/fpu_control.h: Removed.
20152 * sysdeps/x86_64/fpu_control.h: Moved to ...
20153 * sysdeps/x86/fpu_control.h: Here.
20154
3ee947b1
L
20155 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20156 (_FPU_SETCW): Likewise.
20157
ed1825f8
L
201582012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20159
25f1282a
L
20160 [BZ #14117]
20161 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20162 * sysdeps/x86/fpu/bits/mathinline.h: This.
20163 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20164
ed1825f8
L
20165 [BZ #14050]
20166 [BZ #14117]
20167 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20168 functions if __x86_64__ is defined.
20169
36d54b74
CLT
201702012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20171
20172 * string/endian.h: Add !__ASSEMBLER__ condition for including
20173 conversion interfaces.
20174
10285c21
JM
201752012-06-15 Joseph Myers <joseph@codesourcery.com>
20176
20177 [BZ #14241]
20178 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20179 of ABS(x) in calculating zero to negative powers other than odd
20180 integers.
20181 * math/libm-test.inc (pow_test): Add more tests.
20182
06c5abbd
AJ
201832012-06-15 Andreas Jaeger <aj@suse.de>
20184
20185 * manual/contrib.texi (Contributors): Update entry of Liubov
20186 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20187 Machado Filho.
20188
a3aeac40
CH
201892012-06-15 Cyril Hrubis <metan@ucw.cz>
20190
20191 * string/string.h: Add __wur to GNU version of strerror_r.
20192
49bdf4c1
L
201932012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20194
20195 [BZ #14229]
20196 * string/Makefile (tests): Add tst-strtok_r.
20197 * string/tst-strtok_r.c: New file.
20198 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20199 RAX_LP/RDX_LP on SAVE_PTR.
20200
834f9b8d
RM
202012012-06-14 Roland McGrath <roland@hack.frob.com>
20202
20203 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20204
75fa1921
JM
202052012-06-14 Joseph Myers <joseph@codesourcery.com>
20206
20207 * libm_test.inc (csqrt_test): Allow more spurious underflow
20208 exceptions.
20209 (j0_test): Likewise.
20210 (j1_test): Likewise.
20211 (y0_test): Likewise.
20212 (y1_test): Likewise.
20213
771766df
CD
202142012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20215
20216 * po/Makefile (libc.pot): Use UTF-8 charset.
20217
ceb9e56b
PP
202182012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20219
20220 [BZ #14210]
20221 Suppress sign-conversion warning from FD_SET.
20222 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20223 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20224 not unsigned long int.
20225 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20226
ddb28975
L
202272012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20228
20229 [BZ #14050]
20230 [BZ #14117]
20231 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20232 __extern_always_inline instead of __extern_inline.
20233 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20234 (__signbit): Likewise.
20235 (__signbitl): Support C++ namespace.
20236 (lrintf): New inline function.
20237 (lrint): Likewise.
20238 (llrintf): Likewise.
20239 (llrint): Likewise.
20240 (fmaxf): Likewise.
20241 (fmax): Likewise.
20242 (fminf): Likewise.
20243 (fmin): Likewise.
20244 (rint): Likewise.
20245 (rintf): Likewise.
20246 (ceil): Likewise.
20247 (ceilf): Likewise.
20248 (floor): Likewise.
20249 (floorf): Likewise.
20250 (nearbyint): Likewise.
20251 (nearbyintf): Likewise.
20252
d7b4fb26
TS
202532012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20254
20255 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20256 non-default versions.
20257
eb55f5c2
RM
202582012-06-11 Roland McGrath <roland@hack.frob.com>
20259
20260 [BZ #14218]
20261 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20262
366af02c
TS
202632012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20264
99ff6e5c
TS
20265 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20266 (FE_UPWARD, FE_DOWNWARD): Don't define.
20267 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20268 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20269
366af02c
TS
20270 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20271 reading it.
20272 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20273 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20274
793ea851
KK
202752012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20276
20277 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20278 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20279 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20280 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20281
a728a38f
L
202822012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20283
20284 [BZ #14117]
c08010c7
L
20285 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20286 * sysdeps/i386/fpu/Implies: New file.
20287 * sysdeps/x86_64/fpu/Implies: Likewise.
20288 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20289 * sysdeps/x86/fpu/bits/fenv.h: This.
20290
a728a38f
L
20291 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20292 __SSE_MATH__.
20293
6e230d11
SP
202942012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20295
20296 [BZ #14134]
20297 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20298 character 0xffff that matches the last element of the
20299 conversion table.
20300
1b671feb
AZ
203012012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20302
20303 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20304 fmodl commit.
20305
6043738b
AZ
203062012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20307
20308 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20309 values higher than 25.6283.
20310
34ae0b32
AZ
203112012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20312
20313 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20314 subnormal exponent extraction and add some __builtin_expect.
20315 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20316 Fix for subnormal mantissa calculation.
20317
1214ec8f
MF
203182012-06-04 Mike Frysinger <vapier@gentoo.org>
20319
20320 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20321 cpu2 is -1 and errno is not ENOSYS.
20322
f3d1f93c
L
203232012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20324
20325 [BZ #14117]
0e4a3cd7
L
20326 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20327 * sysdeps/x86/bits/string.h: This.
20328 * sysdeps/x86_64/bits/string.h: Removed.
20329
6704c645
L
20330 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20331 if not compiling for x86-64, but compiling for >= i486.
20332
48495318
L
20333 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20334 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20335
14adcbfc
L
20336 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20337 New macro from Linux kernel 3.4.0.
20338 (FP_XSTATE_MAGIC2): Likewise.
20339 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20340 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20341 (struct _fpx_sw_bytes): New struct.
20342 (struct _xsave_hdr): Likewise.
20343 (struct _ymmh_state): Likewise.
20344 (struct _xstate): Likewise.
20345
68e408ab
L
20346 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20347 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20348 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20349 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20350 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20351 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20352
f3d1f93c
L
20353 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20354 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20355 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20356 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20357 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20358 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20359
d9dc34cd
TMQMF
203602012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20361
20362 [BZ #13743]
20363 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20364 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20365 (sysdep_headers): Include sys/platform/ppc.h.
20366 * sysdeps/powerpc/test-gettimebase.c: Test for
20367 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20368 * manual/Makefile (appendices): Include platform.texi.
20369 * manual/contrib.texi (Contributors): Update @node pointers.
20370 * manual/maint.texi (Maintenance): Likewise.
20371 (Platform): New node.
20372 * manual/platform.texi: New file. Document the new features.
20373
4af3879c
SP
203742012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20375 Jakub Jelinek <jakub@redhat.com>
20376
20377 [BZ #14188]
20378 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20379 where __builtin_expect is unavailable.
20380
2fd6ff13
DM
203812012-06-03 David S. Miller <davem@davemloft.net>
20382
20383 * stdlib/longlong.h: Updated from GCC.
20384
173f7220
AS
203852012-06-02 Andreas Schwab <schwab@linux-m68k.org>
20386
20387 [BZ #14042]
20388 * sysdeps/powerpc/powerpc32/mcount.c: New file.
20389 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20390 __mcount_internal.
20391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20392 (GLIBC_2.16): Likewise.
20393
f34a1c6f
L
203942012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20395
20396 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20397
88a4576f
JM
203982012-06-01 Joseph Myers <joseph@codesourcery.com>
20399
ea32bcdd
JM
20400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20401 (default-abi): New variable.
20402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20403 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20404 variable.
20405 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20406 Likewise.
20407 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20408 Likewise.
20409 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20410 Likewise.
20411
88a4576f
JM
20412 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20413 definition. Document in comment.
20414
402fe938
DM
204152012-06-01 David S. Miller <davem@davemloft.net>
20416
20417 * stdlib/longlong.h: Updated from GCC.
20418
3553723f
L
204192012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20420
20421 [BZ #14117]
3bd872c4
L
20422 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20423 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20424 sys/debugreg.h sys/io.h here.
20425 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20426 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20427 sys/io.h.
20428 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20429 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20430 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20431 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20432 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20433 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20434
3553723f
L
20435 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20436 Define only if __x86_64__ is defined.
20437
4842e4fe
JM
204382012-06-01 Joseph Myers <joseph@codesourcery.com>
20439
c5bfe3d5
JM
20440 [BZ #14048]
20441 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20442 Use int64_t for variable i.
20443 * math/libm-test.inc (fmod_test): Add more tests.
20444
4842e4fe
JM
20445 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20446 z computation is not scheduled after fetestexcept.
20447 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20448 Use math_force_eval instead of asm to ensure calculation scheduled
20449 before exception test.
20450 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20451 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20452
efb73488
AJ
204532012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20454
20455 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20456 computation is not scheduled after fetestexcept.
20457
29bcce7c
L
204582012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20459
20460 [BZ #14117]
20461 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20462 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20463
73a68f94
AZ
204642012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20465
20466 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20467 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20468
67b6df78
L
204692012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20470
edf2933a 20471 [BZ #14117]
ebc64a18
L
20472 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20473 <bits/wordsize.h>.
20474 (__WCHAR_MIN): Support __WORDSIZE == 64.
20475 (__WCHAR_MAX): Likewise.
20476
edf2933a
L
20477 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20478 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20479
57c6cf40
L
20480 [BZ #14183]
20481 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20482 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20483
67b6df78 20484 [BZ #14117]
8eb6281e
L
20485 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20486 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20487
aac639f4
L
20488 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20489 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20490
67b6df78
L
20491 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20492 Defined to 1 if __x86_64__ isn't defined.
20493 (_STAT_VER_LINUX_OLD): New.
20494 (st_atime): Remove duplicate.
20495 (st_mtime): Likewise.
20496 (st_ctime): Likewise.
20497
1c2cfe81
DM
204982012-05-31 David S. Miller <davem@davemloft.net>
20499
20500 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20501 entries.
20502
5be8418c
AS
205032012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20504
e7725326
AS
20505 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20506 gen-libm-test.pl.
20507
5be8418c
AS
20508 [BZ #14132]
20509 * elf/dl-reloc.c: Include <_itoa.h>.
20510 (_dl_reloc_bad_type): Remove use of INTUSE.
20511 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20512 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20513 * stdio-common/psiginfo.c (psiginfo): Likewise.
20514 * stdio-common/psignal.c (psignal): Likewise.
20515 * string/strsignal.c (strsignal): Likewise.
20516 * include/signal.h (_sys_siglist): Declare hidden proto.
20517 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20518 INTVARDEF with libc_hidden_data_def.
20519 * stdio-common/itoa-udigits.c: Likewise.
20520 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20521 (_itoa_lower_digits_internal): Remove declaration.
20522 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20523 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20524 (_sys_sigabbrev_internal): Remove aliases.
20525 (_sys_siglist): Define hidden alias.
20526
507352f1
MT
205272012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20528
20529 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20530 bits/sysctl.h.
20531
42bbb1c3
L
205322012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20533
20534 [BZ #14117]
6bd784b6
L
20535 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20536 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20537
8bca20f0
L
20538 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20539 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20540 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20541 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20542 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20543 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20544
f9e890a9
L
20545 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20546 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20547 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20548
471101a1
L
20549 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20550 with __addr.
20551 (insw): Likewise.
20552 (insl): Likewise.
20553 (outsb): Likewise.
20554 (outsw): Likewise.
20555 (outsl): Likewise.
20556
6451c862
L
20557 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20558 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20559 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20560
a254b8c9
L
20561 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20562 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20563 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20564 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20565 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20566 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20567
b8dfdd92
L
20568 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20569 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20570
578cd270
L
20571 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20572 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20573
de662f5f
L
20574 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20575 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20576 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20577
25653439
L
20578 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20579 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20580 to ...
20581 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20582
6bad24a0
L
20583 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20584 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20585 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20586
42bbb1c3
L
20587 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20588 for x86-64.
20589 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20590
2d10d547
JM
205912012-05-31 Joseph Myers <joseph@codesourcery.com>
20592
20593 * math/math.h (M_El): Use two more decimal places.
20594 (M_LOG2El): Likewise.
20595 (M_LOG10El): Likewise.
20596 (M_LN2l): Likewise.
20597 (M_LN10l): Likewise.
20598 (M_PIl): Likewise.
20599 (M_PI_2l): Likewise.
20600 (M_PI_4l): Likewise.
20601 (M_1_PIl): Likewise.
20602 (M_2_PIl): Likewise.
20603 (M_2_SQRTPIl): Likewise.
20604 (M_SQRT2l): Likewise.
20605 (M_SQRT1_2l): Likewise.
20606
f230c29b
DM
206072012-05-31 David S. Miller <davem@davemloft.net>
20608
20609 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20610 values between float registers.
20611 * sysdeps/sparc/sparc64/memset.S: Likewise.
20612 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20613
fed806c3
MF
206142012-05-31 Mike Frysinger <vapier@gentoo.org>
20615
20616 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20617 -D_FORTIFY_SOURCE=1.
20618 (CPPFLAGS-tst-longjmp_chk.c): Define.
20619 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20620 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20621 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20622 CFLAGS-tst-wchar-h.c.
20623
30917259
MP
206242012-05-31 Marek Polacek <polacek@redhat.com>
20625
20626 [BZ #14132]
20627 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20628 __endmntent_internal): Remove declaration.
20629 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20630 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20631 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20632
1c58d5dc
DM
206332012-05-30 David S. Miller <davem@davemloft.net>
20634
20635 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20636 (___Q_simulate_exceptions): Use real FP ops rather than writing
20637 into the %fsr.
20638 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20639 Likewise.
20640
7dc00e0d
L
206412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20642
20643 [BZ #14117]
0bd53985
L
20644 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20645 * sysdeps/x86/bits/xtitypes.h: This.
20646
3a257e66
L
20647 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20648 * sysdeps/x86/bits/wordsize.h: This.
20649
62f62904
L
20650 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20651 * sysdeps/x86/bits/huge_vall.h: This.
20652
404fe9d9
L
20653 * sysdeps/i386/bits/select.h: Removed.
20654 * sysdeps/x86_64/bits/select.h: Renamed to ...
20655 * sysdeps/x86/bits/select.h: This.
20656
d48d0446
L
20657 * sysdeps/i386/bits/setjmp.h: Removed.
20658 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20659 * sysdeps/x86/bits/setjmp.h: This.
20660
7dc00e0d
L
20661 * sysdeps/i386/bits/mathdef.h: Removed.
20662 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20663 * sysdeps/x86/bits/mathdef.h: This.
20664
03277f8f
AS
206652012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20666
20667 [BZ #14132]
20668 * include/sys/socket.h (__connect_internal)
20669 (__libc_sa_len_internal): Remove declaration.
20670 (__connect, __libc_sa_len): Declare hidden_proto.
20671 (SA_LEN): Remove use of INTUSE.
20672 * socket/connect.c: Add libc_hidden_def.
20673 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20674 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20675 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20676 alias.
20677 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20678 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20679 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20680 of adding _internal alias.
20681
13764867
L
206822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20683
20684 [BZ #14117]
6bd97696
L
20685 * sysdeps/i386/bits/link.h: Removed.
20686 * sysdeps/i386/bits/linkmap.h: Likewise.
20687 * sysdeps/x86_64/bits/link.h: Renamed to ...
20688 * sysdeps/x86/bits/link.h: This.
20689 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20690 * sysdeps/x86/bits/linkmap.h: This.
20691
f726f0bb
L
20692 * sysdeps/i386/bits/endian.h: Removed.
20693 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20694 * sysdeps/x86/bits/endian.h: This.
20695
13764867
L
20696 * sysdeps/i386/bits/byteswap.h: Removed.
20697 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20698 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20699 * sysdeps/x86/bits/byteswap.h: This.
20700 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20701 * sysdeps/x86/bits/byteswap-16.h: This.
20702 * sysdeps/i386/Implies: Add x86.
20703 * sysdeps/x86_64/Implies: Likewise.
20704
ae251b0b
DM
207052012-05-30 David S. Miller <davem@davemloft.net>
20706
20707 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20708 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20709 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20710 (FP_TRAPPING_EXCEPTIONS): Define.
20711 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20712 (FP_TRAPPING_EXCEPTIONS): Define.
20713 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20714 subnormals only when inexact has been signalled or underflow
20715 exceptions are enabled.
20716 (_FP_PACK_CANONICAL): Likewise.
20717
d5c90867
L
207182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20719
20720 [BZ #14183]
20721 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20722 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20723
63f1549e
RH
207242012-05-30 Richard Henderson <rth@twiddle.net>
20725
8d8f2279
RH
20726 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20727 with #ifndef NOT_IN_libc.
20728
63f1549e
RH
20729 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20730 marked to avoid plt entry.
20731
0ab0291b
L
207322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20733
20734 [BZ #14112]
20735 * Makeconfig (default-abi): New macro.
20736 (abi-includes): Likewise.
20737 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20738 $(abi-$(default-abi)-lib-soname) for soname if defined.
20739 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20740 abi-variants.
20741 * Makefile (installed-stubs): Likewise.
20742 * include/stubs-biarch.h: Removed.
20743 * scripts/lib-names.awk: Only handle one library at a time.
20744 * scripts/soversions.awk: Remove WORDSIZE support.
20745 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20746 entries.
20747 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20748 Removed.
20749 (syscall-list-default-condition): Likewise.
20750 (syscall-list-default-condition): Likewise.
20751 (syscall-list-includes): Likewise.
20752 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20753 syscall-list-* with abi-*. Handle undefined abi-variants.
20754 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20755 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20756 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20757 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20758 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20759 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20760 Removed.
20761 (syscall-list-32-options): Likewise.
20762 (syscall-list-32-condition): Likewise.
20763 (syscall-list-64-options): Likewise.
20764 (syscall-list-64-condition): Likewise.
20765 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20766 macro.
20767 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20768 Renamed to ...
20769 (abi-*): This.
20770 (abi-64-ld-soname): New macro.
20771 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20772 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20773 Renamed to ...
20774 (abi-*): This.
20775 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20776 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20777
4da0431d
JM
207782012-05-30 Joseph Myers <joseph@codesourcery.com>
20779
3a85279c
JM
20780 * sysdeps/unix/sysv/linux/kernel-features.h
20781 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20782 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20783 include <kernel-features.h>.
20784 [!__NR_ftruncate64]: Remove conditional code.
20785 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20786 [__NR_ftruncate64]: Make code unconditional.
20787 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20788 * sysdeps/unix/sysv/linux/truncate64.c: Do not
20789 include <kernel-features.h>.
20790 [!__NR_ftruncate64]: Remove conditional code.
20791 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20792 [__NR_ftruncate64]: Make code unconditional.
20793 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20795 include <kernel-features.h>.
20796 [!__NR_ftruncate64]: Remove conditional code.
20797 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20798 [__NR_ftruncate64]: Make code unconditional.
20799 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20801 include <kernel-features.h>.
20802 [!__NR_ftruncate64]: Remove conditional code.
20803 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20804 [__NR_ftruncate64]: Make code unconditional.
20805 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20806
4da0431d
JM
20807 * configure.in (libc_cv_fpie): Weaken to a compile test using
20808 LIBC_TRY_CC_OPTION.
20809 * configure: Regenerated.
20810
11ef492c
AK
208112012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20812
20813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20817 Refreshed.
20818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20824 Refreshed.
20825
d66ef399
DM
208262012-05-27 David S. Miller <davem@davemloft.net>
20827
20828 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20829 (___Q_zero): New.
20830 (__Q_simulate_exceptions): Return void. Change to simulate
20831 exceptions by writing into the %fsr.
20832 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20833 (__Qp_handle_exceptions): Likewise.
20834 (numbers): Delete.
20835 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20836 __Qp_handle_exceptions.
20837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20838 __Qp_handle_exceptions.
20839 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20840 as unused and give dummy FP_RND_NEAREST initializer.
20841 (FP_INHIBIT_RESULTS): Define.
20842 (___Q_simulate_exceptions): Update declaration.
20843 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20844 formatting.
20845 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20846 as unused and give dummy FP_RND_NEAREST initializer.
20847 (__Qp_handle_exceptions): Update declaration.
20848 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20849 formatting.
20850
04fb54b5
TS
208512012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20852
20853 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20854 the temporary FPU control word.
20855 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20856 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20857 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20858 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20859 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20860 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20861 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20862 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20863 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20864 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20865 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20866
3f99608f
KK
208672012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20868
20869 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20870 fields.
20871
65a4de4e
CLT
208722012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20873
20874 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20875 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20876 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20877 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20878 Likewise.
20879 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20880 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20881 Likewise.
20882
15749d40
UD
208832012-05-27 Ulrich Drepper <drepper@gmail.com>
20884
20885 * po/h.po: Update from translation team.
20886
25dbcb27
AS
208872012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20888
3d3f8e55
AS
20889 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20890
25dbcb27
AS
20891 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20892 handling of denormals.
20893 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20894 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20895 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20896 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20897 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20898 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20899 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20900 Likewise.
20901
7ad47a80 209022012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
20903
20904 [BZ #14152]
20905 * math/libm-test.inc (fma_test): Don't always expect underflow
20906 exception.
20907
9c6ea9fa
SP
209082012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20909
20910 [BZ #12416]
20911 * elf/tst-execstack.c: Include stackinfo.h.
20912 (do_test): Adjust test case to ensure that pthread_getattr_np
20913 behaviour remains the same after marking stack executable.
20914
a8239222
JM
209152012-05-25 Joseph Myers <joseph@codesourcery.com>
20916
20917 * sysdeps/unix/sysv/linux/kernel-features.h
20918 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20919 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20920 kernel-features.h.
20921 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20922 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20923 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20924 kernel-features.h.
20925 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20926 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20927
918b5606
L
209282012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20929
20930 * configure.in: Define the default includes to being none.
20931 * configure: Regenerated.
20932
3a097cc7
RM
209332012-05-25 Roland McGrath <roland@hack.frob.com>
20934
8422c9a5
RM
20935 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20936 * sysdeps/x86_64/setjmp.S: Likewise.
20937 * sysdeps/i386/bsd-setjmp.S: Likewise.
20938 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20939 * sysdeps/i386/setjmp.S: Likewise.
20940 * sysdeps/i386/__longjmp.S: Likewise.
20941 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20942 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20943
3a097cc7
RM
20944 * include/stap-probe.h: New file.
20945 * configure.in: Handle --enable-systemtap.
20946 * configure: Regenerated.
20947 * config.h.in (USE_STAP_PROBE): New #undef.
20948 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20949 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20950 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20951
21708942
JM
209522012-05-25 Joseph Myers <joseph@codesourcery.com>
20953
20954 [BZ #13717]
20955 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20956 to 2.4.0 where earlier.
20957 * sysdeps/unix/sysv/linux/configure: Regenerated.
20958 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20959 <kernel-features.h>.
20960 [__ASSUME_32BITUIDS]: Make code unconditional.
20961 [!__ASSUME_32BITUIDS]: Remove conditional code.
20962 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20963 <kernel-features.h>.
20964 [__ASSUME_32BITUIDS]: Make code unconditional.
20965 [!__ASSUME_32BITUIDS]: Remove conditional code.
20966 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20967 [__ASSUME_32BITUIDS]: Make code unconditional.
20968 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20969 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20970 <kernel-features.h>.
20971 [__ASSUME_32BITUIDS]: Make code unconditional.
20972 [!__ASSUME_32BITUIDS]: Remove conditional code.
20973 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20974 <kernel-features.h>.
20975 [__ASSUME_32BITUIDS]: Make code unconditional.
20976 [!__ASSUME_32BITUIDS]: Remove conditional code.
20977 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20978 <kernel-features.h>.
20979 [__ASSUME_32BITUIDS]: Make code unconditional.
20980 [!__ASSUME_32BITUIDS]: Remove conditional code.
20981 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20982 <kernel-features.h>.
20983 [__ASSUME_32BITUIDS]: Make code unconditional.
20984 [!__ASSUME_32BITUIDS]: Remove conditional code.
20985 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20986 <kernel-features.h>.
20987 [__ASSUME_32BITUIDS]: Make code unconditional.
20988 [!__ASSUME_32BITUIDS]: Remove conditional code.
20989 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20990 <kernel-features.h>.
20991 [__ASSUME_32BITUIDS]: Make code unconditional.
20992 [!__ASSUME_32BITUIDS]: Remove conditional code.
20993 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20994 <kernel-features.h>.
20995 [__ASSUME_32BITUIDS]: Make code unconditional.
20996 [!__ASSUME_32BITUIDS]: Remove conditional code.
20997 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20998 <kernel-features.h>.
20999 [__ASSUME_32BITUIDS]: Make code unconditional.
21000 [!__ASSUME_32BITUIDS]: Remove conditional code.
21001 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21002 <kernel-features.h>.
21003 [__ASSUME_32BITUIDS]: Make code unconditional.
21004 [!__ASSUME_32BITUIDS]: Remove conditional code.
21005 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21006 <kernel-features.h>.
21007 [__ASSUME_32BITUIDS]: Make code unconditional.
21008 [!__ASSUME_32BITUIDS]: Remove conditional code.
21009 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21010 <kernel-features.h>.
21011 [__NR_setresgid] (__setresgid): Do not declare.
21012 [__ASSUME_32BITUIDS]: Make code unconditional.
21013 [!__ASSUME_32BITUIDS]: Remove conditional code.
21014 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21015 <kernel-features.h>.
21016 [__NR_setresuid] (__setresuid): Do not declare.
21017 [__ASSUME_32BITUIDS]: Make code unconditional.
21018 [!__ASSUME_32BITUIDS]: Remove conditional code.
21019 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21020 <kernel-features.h>.
21021 [__ASSUME_32BITUIDS]: Make code unconditional.
21022 [!__ASSUME_32BITUIDS]: Remove conditional code.
21023 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21024 <kernel-features.h>.
21025 [__ASSUME_32BITUIDS]: Make code unconditional.
21026 [!__ASSUME_32BITUIDS]: Remove conditional code.
21027 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21028 <kernel-features.h>.
21029 [__ASSUME_32BITUIDS]: Make code unconditional.
21030 [!__ASSUME_32BITUIDS]: Remove conditional code.
21031 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21032 <kernel-features.h>.
21033 [__ASSUME_32BITUIDS]: Make code unconditional.
21034 [!__ASSUME_32BITUIDS]: Remove conditional code.
21035 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21036 <kernel-features.h>.
21037 [__ASSUME_32BITUIDS]: Make code unconditional.
21038 [!__ASSUME_32BITUIDS]: Remove conditional code.
21039 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21040 <kernel-features.h>.
21041 [__ASSUME_32BITUIDS]: Make code unconditional.
21042 [!__ASSUME_32BITUIDS]: Remove conditional code.
21043 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21044 <kernel-features.h>.
21045 [__ASSUME_32BITUIDS]: Make code unconditional.
21046 [!__ASSUME_32BITUIDS]: Remove conditional code.
21047 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21048 <kernel-features.h>.
21049 [__ASSUME_32BITUIDS]: Make code unconditional.
21050 [!__ASSUME_32BITUIDS]: Remove conditional code.
21051 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21052 <kernel-features.h>.
21053 [__ASSUME_32BITUIDS]: Make code unconditional.
21054 [!__ASSUME_32BITUIDS]: Remove conditional code.
21055 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21056 <kernel-features.h>.
21057 [__ASSUME_32BITUIDS]: Make code unconditional.
21058 [!__ASSUME_32BITUIDS]: Remove conditional code.
21059 * sysdeps/unix/sysv/linux/kernel-features.h
21060 (__ASSUME_SETRESUID_SYSCALL): Remove.
21061 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21062 (__ASSUME_32BITUIDS): Likewise.
21063 (__ASSUME_LDT_WORKS): Likewise.
21064 (__ASSUME_O_DIRECTORY): Likewise.
21065 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21066 architecture but not kernel version.
21067 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21068 (__ASSUME_MMAP2_SYSCALL): Likewise.
21069 (__ASSUME_STAT64_SYSCALL): Likewise.
21070 (__ASSUME_IPC64): Likewise.
21071 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21072 <kernel-features.h>.
21073 [__ASSUME_32BITUIDS]: Make code unconditional.
21074 [!__ASSUME_32BITUIDS]: Remove conditional code.
21075 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21076 <kernel-features.h>.
21077 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21078 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21079 132096]: Remove conditional code.
21080 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21081 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21082 <kernel-features.h>.
21083 [__ASSUME_32BITUIDS]: Make code unconditional.
21084 [!__ASSUME_32BITUIDS]: Remove conditional code.
21085 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21086 <kernel-features.h>.
21087 [__ASSUME_32BITUIDS]: Make code unconditional.
21088 [!__ASSUME_32BITUIDS]: Remove conditional code.
21089 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21090 <kernel-features.h>.
21091 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21092 unconditional.
21093 (__setresgid): Do not declare.
21094 [__ASSUME_32BITUIDS]: Make code unconditional.
21095 [!__ASSUME_32BITUIDS]: Remove conditional code.
21096 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21097 <kernel-features.h>.
21098 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21099 unconditional.
21100 (__setresuid): Do not declare.
21101 [__ASSUME_32BITUIDS]: Make code unconditional.
21102 [!__ASSUME_32BITUIDS]: Remove conditional code.
21103 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21104 <kernel-features.h>.
21105 [__ASSUME_32BITUIDS]: Make code unconditional.
21106 [!__ASSUME_32BITUIDS]: Remove conditional code.
21107 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21108 <kernel-features.h>.
21109 [__ASSUME_32BITUIDS]: Make code unconditional.
21110 [!__ASSUME_32BITUIDS]: Remove conditional code.
21111
a386f1cc
RH
211122012-05-25 Richard Henderson <rth@twiddle.net>
21113
21114 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21115 dl_hwcap to ifunc resolver.
21116 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21117 elf_ifunc_invoke.
21118 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21119 dl_hwcap to ifunc resolver.
21120 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21121
b6550497
JM
211222012-05-24 Joseph Myers <joseph@codesourcery.com>
21123
21124 [BZ #14153]
21125 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21126 for |x| <= 2**-26, not 2**-57.
21127 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21128 exception.
21129
b0bc23a1
JL
211302012-05-24 Jeff Law <law@redhat.com>
21131
21132 * stdio-common/Makefile (tests): Add bug25.
21133 * stdio-common/bug25.c: New test.
21134
347c92e9
L
211352012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21136
21137 [BZ #13576]
21138 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21139 multiple of MALLOC_ALIGNMENT in size.
21140 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21141
6bcc8b3f
JM
211422012-05-24 Joseph Myers <joseph@codesourcery.com>
21143
21144 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21145 Require >= 256.
21146 (FILENAME_MAX): Use macro-int-constant.
21147 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21148 (_IOFBF): Use macro-int-constant.
21149 (_IOLBF): Likewise.
21150 (_IONBF): Likewise.
21151 (SEEK_CUR): Likewise.
21152 (SEEK_END): Likewise.
21153 (SEEK_SET): Likewise.
21154 (TMP_MAX): Likewise.
21155 (EOF): Use macro-int-constant. Require < 0.
21156 (NULL): Use macro-constant. Require == 0.
21157 (stdin): Require type to be FILE *.
21158 (stdout): Likewise.
21159 (stderr): Likewise.
21160 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21161 macro-int-constant.
21162 (EXIT_SUCCESS): Likewise.
21163 (NULL): Use macro-constant. Require == 0.
21164 (RAND_MAX): Use macro-int-constant.
21165 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21166 [C99-based standards] (strtof): Require function.
21167 [C99-based standards] (strtold): Likewise.
21168 [C99-based standards] (strtoll): Likewise.
21169 [C99-based standards] (strtoull): Likewise.
21170 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21171 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21172 [ISO || ISO99 || ISO11] (math.h): Likewise.
21173 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21174 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21175 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21176
d18ea0c5
AS
211772012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21178
21179 [BZ #14132]
56d25bb8
AS
21180 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21181 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21182 * intl/dgettext.c (DCGETTEXT): Likewise.
21183 * intl/gettext.c (DCGETTEXT): Likewise.
21184 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21185 * posix/regex_internal.h (gettext): Likewise.
21186 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21187 Remove declaration.
21188 * include/argz.h (__argz_count_internal)
21189 (__argz_stringify_internal): Remove declaration.
21190 (__argz_count, __argz_stringify): Declare hidden proto.
21191 * intl/dcgettext.c: Remove use of INTDEF.
21192 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21193 * string/argz-stringify.c: Likewise.
21194 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21195 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21196 Declare hidden proto.
d18ea0c5
AS
21197 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21198 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21199 Declare hidden proto.
21200 * include/stdio.h (__asprintf_internal): Don't declare.
21201 (__asprintf): Don't define as macro. Declare hidden proto.
21202 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21203 (__fsetlocking): Declare hidden proto.
21204 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21205 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21206 hidden proto.
21207 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21208 (_IO_setlinebuf): Remove use of INTUSE.
21209 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21210 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21211 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21212 Remove declaration.
21213 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21214 (_IO_do_flush): Remove use of INTUSE.
21215 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21216 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21217 (_IO_adjust_column, _IO_least_wmarker)
21218 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21219 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21220 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21221 (_IO_default_doallocate, _IO_wdefault_doallocate)
21222 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21223 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21224 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21225 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21226 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21227 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21228 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21229 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21230 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21231 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21232 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21233 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21234 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21235 proto.
21236 (_IO_flush_all_internal, _IO_adjust_column_internal)
21237 (_IO_default_uflow_internal, _IO_default_finish_internal)
21238 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21239 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21240 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21241 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21242 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21243 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21244 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21245 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21246 (_IO_file_close_internal, _IO_file_close_it_internal)
21247 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21248 (_IO_file_init_internal, _IO_file_attach_internal)
21249 (_IO_file_fopen_internal, _IO_file_read_internal)
21250 (_IO_file_sync_internal, _IO_file_seek_internal)
21251 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21252 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21253 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21254 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21255 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21256 (_IO_list_all_internal, _IO_link_in_internal)
21257 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21258 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21259 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21260 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21261 (_IO_do_write_internal, _IO_padn_internal)
21262 (_IO_getline_info_internal, _IO_getline_internal)
21263 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21264 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21265 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21266 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21267 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21268 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21269 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21270 with libc_hidden_ver, remove use of INTUSE.
21271 * libio/genops.c: Likewise.
21272 * libio/freopen.c: Likewise.
21273 * libio/freopen64.c: Likewise.
21274 * libio/iofclose.c: Likewise.
21275 * libio/iofdopen.c: Likewise.
21276 * libio/iofflush.c: Likewise.
21277 * libio/iofflush_u.c: Likewise.
21278 * libio/iofgets.c: Likewise.
21279 * libio/iofgets_u.c: Likewise.
21280 * libio/iofopen.c: Likewise.
21281 * libio/iofopncook.c: Likewise.
21282 * libio/iofread.c: Likewise.
21283 * libio/iofread_u.c: Likewise.
21284 * libio/ioftell.c: Likewise.
21285 * libio/iofwrite.c: Likewise.
21286 * libio/iogetline.c: Likewise.
21287 * libio/iogets.c: Likewise.
21288 * libio/iogetwline.c: Likewise.
21289 * libio/iopadn.c: Likewise.
21290 * libio/iopopen.c: Likewise.
21291 * libio/ioseekoff.c: Likewise.
21292 * libio/ioseekpos.c: Likewise.
21293 * libio/iosetbuffer.c: Likewise.
21294 * libio/iosetvbuf.c: Likewise.
21295 * libio/ioungetc.c: Likewise.
21296 * libio/ioungetwc.c: Likewise.
21297 * libio/iovdprintf.c: Likewise.
21298 * libio/iovsprintf.c: Likewise.
21299 * libio/iovsscanf.c: Likewise.
21300 * libio/memstream.c: Likewise.
21301 * libio/obprintf.c: Likewise.
21302 * libio/oldfileops.c: Likewise.
21303 * libio/oldiofclose.c: Likewise.
21304 * libio/oldiofdopen.c: Likewise.
21305 * libio/oldiofopen.c: Likewise.
21306 * libio/oldiopopen.c: Likewise.
21307 * libio/oldstdfiles.c: Likewise.
21308 * libio/putc.c: Likewise.
21309 * libio/setbuf.c: Likewise.
21310 * libio/setlinebuf.c: Likewise.
21311 * libio/stdfiles.c: Likewise.
21312 * libio/strops.c: Likewise.
21313 * libio/vasprintf.c: Likewise.
21314 * libio/vscanf.c: Likewise.
21315 * libio/vsnprintf.c: Likewise.
21316 * libio/vswprintf.c: Likewise.
21317 * libio/wfiledoalloc.c: Likewise.
21318 * libio/wfileops.c: Likewise.
21319 * libio/wgenops.c: Likewise.
21320 * libio/wmemstream.c: Likewise.
21321 * libio/wstrops.c: Likewise.
21322 * libio/__fpurge.c: Likewise.
21323 * libio/__fsetlocking.c: Likewise.
21324 * assert/assert.c: Likewise.
21325 * debug/fgets_chk.c: Likewise.
21326 * debug/fgets_u_chk.c: Likewise.
21327 * debug/fread_chk.c: Likewise.
21328 * debug/fread_u_chk.c: Likewise.
21329 * debug/gets_chk.c: Likewise.
21330 * debug/obprintf_chk.c: Likewise.
21331 * debug/vasprintf_chk.c: Likewise.
21332 * debug/vdprintf_chk.c: Likewise.
21333 * debug/vsnprintf_chk.c: Likewise.
21334 * debug/vsprintf_chk.c: Likewise.
21335 * malloc/mtrace.c: Likewise.
21336 * misc/error.c: Likewise.
21337 * misc/syslog.c: Likewise.
21338 * stdio-common/asprintf.c: Likewise.
21339 * stdio-common/fxprintf.c: Likewise.
21340 * stdio-common/getw.c: Likewise.
21341 * stdio-common/isoc99_fscanf.c: Likewise.
21342 * stdio-common/isoc99_scanf.c: Likewise.
21343 * stdio-common/isoc99_vfscanf.c: Likewise.
21344 * stdio-common/isoc99_vscanf.c: Likewise.
21345 * stdio-common/isoc99_vsscanf.c: Likewise.
21346 * stdio-common/printf-prs.c: Likewise.
21347 * stdio-common/printf_fp.c: Likewise.
21348 * stdio-common/printf_fphex.c: Likewise.
21349 * stdio-common/printf_size.c: Likewise.
21350 * stdio-common/putw.c: Likewise.
21351 * stdio-common/scanf.c: Likewise.
21352 * stdio-common/sprintf.c: Likewise.
21353 * stdio-common/tmpfile.c: Likewise.
21354 * stdio-common/vfprintf.c: Likewise.
21355 * stdio-common/vfscanf.c: Likewise.
21356 * stdlib/strfmon_l.c: Likewise.
21357 * sunrpc/openchild.c: Likewise.
21358 * sunrpc/xdr_stdio.c: Likewise.
21359 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21360 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21361
d6c33fda
RM
213622012-05-24 Roland McGrath <roland@hack.frob.com>
21363
c1487492
RM
21364 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21365
21366 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21367 in the third column, to generate for the shared library an IFUNC
21368 that uses _dl_vdso_vsym.
21369 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21370 * Makeconfig (object-suffixes-noshared): New variable.
21371
21372 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21373 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21374 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21375 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21376
d6c33fda
RM
21377 [BZ #14132]
21378 * include/sys/time.h (__gettimeofday): Remove macro.
21379 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21380 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21381 Remove INTDEF.
21382 (__gettimeofday): Add libc_hidden_def.
21383 (gettimeofday): Add libc_hidden_weak.
21384 * sysdeps/mach/gettimeofday.c: Likewise.
21385 * sysdeps/posix/gettimeofday.c: Likewise.
21386 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21387 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21388 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21389 (__gettimeofday_internal): Remove strong_alias.
21390 (__gettimeofday): Add libc_hidden_def.
21391 (gettimeofday): Add libc_hidden_weak.
21392 * sysdeps/unix/syscalls.list (gettimeofday):
21393 Remove __gettimeofday_internal alias.
21394
b5a2bbe6
L
213952012-05-24 Daniel Jacobowitz <drow@false.org>
21396 H.J. Lu <hongjiu.lu@intel.com>
21397
21398 [BZ #12495]
21399 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21400 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21401 (largebin_index_32_big): New.
21402 (largebin_index): Use it for 16-byte alignment.
21403 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21404 correction with front_misalign.
21405
cfba4fda
L
214062012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21407
7f907421
L
21408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21410 Likewise.
21411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21412 Likewise.
21413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21414 Likewise.
21415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21416 Likewise.
21417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21418 Likewise.
21419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21420 Likewise.
21421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21422 Likewise.
21423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21424 Likewise.
21425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21426 Likewise.
21427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21428 Likewise.
21429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21430 Likewise.
21431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21432 Likewise.
21433
cfba4fda
L
21434 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21435 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21436
80bad0cc
JM
214372012-05-24 Joseph Myers <joseph@codesourcery.com>
21438
7a25eb06
JM
21439 [BZ #10846]
21440 [BZ #14036]
21441 * math/libm-test.inc (exp_test): Add test from bug 14036.
21442 (pow_test): Add test from bug 10846.
21443
795405f9
JM
21444 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21445 and other flags.
21446 (special_function): Do not include flags in test name.
21447 (parse_args): Likewise.
21448 * sysdeps/i386/fpu/libm-test-ulps: Update.
21449 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21450 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21451 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21453
80bad0cc
JM
21454 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21455 exceptions.
21456 * math/libm-test.inc ("Philosophy"): Update comment about
21457 exception testing.
21458 (UNDERFLOW_EXCEPTION): New macro.
21459 (UNDERFLOW_EXCEPTION_OK): Likewise.
21460 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21461 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21462 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21463 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21464 (INVALID_EXCEPTION_OK): Update value.
21465 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21466 (OVERFLOW_EXCEPTION_OK): Likewise.
21467 (IGNORE_ZERO_INF_SIGN): Likewise.
21468 (test_exceptions): Handle underflow exceptions.
21469 (acos_test): Update for underflow exception expectations.
21470 (cexp_test): Likewise.
21471 (clog_test): Likewise.
21472 (clog10_test): Likewise.
21473 (csqrt_test): Likewise.
21474 (ctan_test): Likewise.
21475 (ctanh_test): Likewise.
21476 (exp_test): Likewise.
21477 (exp10_test): Likewise.
21478 (exp2_test): Likewise.
21479 (expm1_test): Likewise.
21480 (fma_test): Likewise.
21481 (j0_test): Likewise.
21482 (jn_test): Likewise.
21483 (nexttoward_test): Likewise.
21484 (pow_test): Likewise.
21485 (scalbn_test): Likewise.
21486 (scalbln_test): Likewise.
21487 (tan_test): Likewise.
21488 (y1_test): Likewise.
21489 * sysdeps/i386/fpu/libm-test-ulps: Update.
21490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21491
9e0e3d0b
DM
214922012-05-23 David S. Miller <davem@davemloft.net>
21493
21494 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21495 (__libc_sigaction): Remove unused local variables.
21496
ccd0a08f
L
214972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21498
21499 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21500
62bdf9a6
PE
215012012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21502
f8591f80
PE
21503 mktime: avoid signed integer overflow
21504 * time/mktime.c (__mktime_internal): Do not mishandle the case
21505 where diff == INT_MIN.
21506
94c7d826
PE
21507 mktime: simplify computation of average
21508 * time/mktime.c (ranged_convert): Use new time_t_avg function
21509 instead of rolling our own (probably-slower) code.
21510
ce73d683
PE
21511 mktime: do not assume signed right shift propagates sign bit
21512 * time/mktime.c (isdst_differ): New static function.
21513 (__mktime_internal): No need to normalize tm_isdst now.
21514 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21515 tm_isdst values.
21516
72a22e59
PE
21517 mktime: merge another wrapv change from gnulib
21518 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21519 from some compilers.
21520
68605433
PE
21521 mktime: remove incorrect attempt at unusual arithmetics
21522 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21523 The code didn't really work on such machines anyway.
21524 (TYPE_MINIMUM): Assume two's complement.
21525 (twos_complement_arithmetic): Verify that long_int and time_t
21526 are two's complement (or unsigned, in the latter case).
21527
03cf7fe3
PE
21528 mktime: check signed shifts on long_int and time_t, too
21529 * time/mktime.c (SHR): Check that shifts work as desired
21530 on the types long_int and time_t too, as SHR is used on
21531 such types.
21532
f04dfbc2
PE
21533 mktime: do not assume 'long' is wide enough
21534 * time/mktime.c (verify): Move decl up.
21535 (long_int): New type.
21536 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21537 to remove assumption in the code that 'long' is wide enough to
21538 store year values. This assumption is not true on x32 and on
21539 some non-glibc platforms.
21540
62bdf9a6
PE
21541 mktime: merge wrapv change from gnulib
21542 * time/mktime.c (WRAPV): New macro.
21543 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21544 (guess_time_tm, __mktime_internal): Do not assume that signed
21545 integer overflow wraps around; modern compilers generate code
21546 where this assumption is no longer valid.
21547
5e292e4f
L
215482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21549
21550 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21551 Replace "jmp L(pseudo_end)" with "ret".
21552 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21553 Likewise.
21554
8caf8c87
AJ
215552012-05-23 Andreas Jaeger <aj@suse.de>
21556
21557 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21558 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21559
1a09dc56
AJ
215602012-05-23 Andreas Jaeger <aj@suse.de>
21561 Maximilian Attems <max@stro.at>
21562
21563 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21564 New macros.
21565
1c87aba0
L
215662012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21567
21568 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21569 code so that pseudo_end is just ret and the stack pointer is
21570 correct also for static library in error case.
21571
40e45bd5
JM
215722012-05-23 Joseph Myers <joseph@codesourcery.com>
21573
c2670533
JM
21574 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21575 move to syscalls.list.
21576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21580
40e45bd5
JM
21581 * manual/install.texi (Running make install): Do not mention Linux
21582 kernel version for which pt_chown is not needed.
21583 (Linux): Do not mention problems with nscd with 2.0 kernels.
21584 * INSTALL: Regenerated.
21585
be08eda5
AJ
215862012-05-23 Andreas Jaeger <aj@suse.de>
21587
21588 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21589 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21590 macro.
21591 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21592 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21593 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21594 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21595 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21596 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21597 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21598 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21599 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21600 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21601 * sysdeps/unix/sysv/linux/bits/in.h
21602 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21603
a6a056bb
RM
216042012-05-22 Roland McGrath <roland@hack.frob.com>
21605
21606 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21607 (PREPARE_VERSION): Just use assert instead, it will be elided
21608 under [NDEBUG] anyway.
21609
c9009328
L
216102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21611
21612 * sysdeps/unix/sysv/linux/Makefile: Include
21613 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 21614 (sysdep_routines): Remove sysctl.
c9009328
L
21615 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21616 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21617 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21618 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21619 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21620
73338355
AJ
216212012-05-22 Andreas Jaeger <aj@suse.de>
21622
21623 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21624 that pseudo_end is just ret and the stack pointer is correct also
21625 for static library in error case.
21626
d44638b0
PP
216272012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21628
21629 [BZ #14122]
21630 * nss/nsswitch.c (defconfig_entries): New variable.
21631 (__nss_database_lookup): Don't leak defconfig entries.
21632 (nss_parse_service_list): Don't leak on error paths.
21633 (free_database_entries): New function.
21634 (free_defconfig): New function.
21635 (free_mem): Move common code to free_database_entries.
21636
31a39bd8
L
216372012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21638
da0331a8
L
21639 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21640 Add arch_prctl.
21641 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21642
31a39bd8
L
21643 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21644 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21645 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21646 New macro.
21647 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21648 (INTERNAL_SYSCALL_TYPES): Likewise.
21649 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21650 (LOAD_REGS_TYPES_[1-6]): Likewise.
21651 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21652 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21653
45470df3
AZ
216542012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21655
21656 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21657 copysignl for GLIBC_2_0.
21658 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21659 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21660 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21661 logbl for GLIBC_2_0.
21662 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21663 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21664
98a61bcb
L
216652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21666
a4f6e481
L
21667 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21668 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21669
f63d5db6
L
21670 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21671 Use "neg %eax".
21672
98a61bcb
L
21673 * time/mktime.c: Update copyright years.
21674
95770f14
PE
216752012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21676
6226efbd
PE
21677 mktime: merge comment-quoting-style change from gnulib
21678 * time/mktime.c: Quote 'like this' in comments.
21679 The GNU coding standards suggest that we no longer quote `like this',
21680 as "`" and "'" are typically rendered asymmetrically nowadays.
21681 The typical gnulib style is to quote 'like this' when quoting
21682 code, and "like this" when quoting English.
21683
b99e4f78
PE
21684 * time/mktime.c (compile-command): Add "-I.".
21685
643e01e6
PE
21686 mktime: merge mktime-internal.h change from gnulib
21687 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21688
2554247d
PE
21689 mktime: merge time_r change from gnulib
21690 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21691
826dd0ab
PE
21692 mktime: merge DEBUG change from gnulib
21693 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21694 case system <time.h> has a #define.
21695
bd83aabe
PE
21696 mktime: merge <sys/types.h> change from gnulib
21697 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21698 since <time.t> is now guaranteed to define time_t.
21699
95770f14
PE
21700 mktime: merge HAVE_CONFIG_H change from gnulib
21701 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21702
5e1a27a9
L
217032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21704
0e44a77e
L
21705 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21706 Use "neg %eax".
21707
5e1a27a9
L
21708 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21709 __rlim_t cast.
21710 (struct rusage): Use anonymous union to pad each field to
21711 __syscall_slong_t.
21712
46259bec
DM
217132012-05-21 David S. Miller <davem@davemloft.net>
21714
21715 * Makefules (o-iterator): Remove .s cases.
21716 (compile-command.s): Delete.
21717 (COMPILE.s): Delete.
21718 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21719
59f0c22e
JM
217202012-05-21 Joseph Myers <joseph@codesourcery.com>
21721
21722 * configure.in (libc_cv_predef_stack_protector): Only consider
21723 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21724 * configure: Regenerated.
21725
20c07380
L
217262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21727
bbb3154b
L
21728 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21729 New macro. Use R*LP on int and pointer.
21730 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
21731 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21732 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
21733 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21734
20c07380
L
21735 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21736 [__WORDSIZE_TIME64_COMPAT32] instead of
21737 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21738 (struct utmp): Likewise.
21739 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21740 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21741 Renamed to ...
21742 (__WORDSIZE_TIME64_COMPAT32): This.
21743 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21744 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21745 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21746 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21747 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21748 (__WORDSIZE_TIME64_COMPAT32): New macro.
21749
d8d1017e
AJ
217502012-05-21 Andreas Jaeger <aj@suse.de>
21751
21752 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21753 only if [SHARED]. Add prototype for __wcschr_ia32.
21754
6c7fb145
RM
217552012-05-21 Roland McGrath <roland@hack.frob.com>
21756
21757 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21758 of %rbp unmolested in the jmp_buf while mangling the low bits.
21759 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21760 unmolested high bits of %rbp while demangling the low bits.
21761 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21762
66274218
AJ
217632012-05-21 Andreas Jaeger <aj@suse.de>
21764
07c58f8f
AJ
21765 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21766 * sunrpc/svc_simple.c: Use it for registerrpc.
21767 * sunrpc/xcrypt.c: Use it for passwd2des.
21768
66274218
AJ
21769 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21770
61f65140
L
217712012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21772
21773 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21774 Don't define if [__SYSCALL_WORDSIZE != 32].
21775 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21776 New macro.
21777
5fefb436
AJ
217782012-05-21 Bruno Haible <bruno@clisp.org>
21779 Andreas Jaeger <aj@suse.de>
21780
21781 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21782 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21783 inptr and inend for must_buffer_ch.
21784 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21785 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21786 * stdio-common/Makefile (tests): Remove bug15.
21787 (bug15-ENV): Remove macro.
21788 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21789 anymore.
21790
d8e272ab
AJ
217912012-05-19 Andreas Jaeger <aj@suse.de>
21792 Roland McGrath <roland@hack.frob.com>
21793
21794 * manual/contrib.texi: Completely rewritten. It contains now an
21795 alphabetical list of contributors and their contributions.
21796
4a56a162
RH
217972012-05-21 Richard Henderson <rth@twiddle.net>
21798
21799 * misc/getauxval.c (__getauxval): Use unsigned long int.
21800 * misc/sys/auxv.h: Include <sys/cdefs.h>.
21801 (getauxval): Use unsigned long int.
21802
d024d23c
L
218032012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21804
21805 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21806
cbc00a03
RM
218072012-05-21 Roland McGrath <roland@hack.frob.com>
21808
21809 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21810 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21811 __alignof__ (long double).
21812
478143fa
AZ
218132012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21814
21815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21816
c7683a6d
RH
218172012-05-20 Richard Henderson <rth@twiddle.net>
21818
21819 * misc/getauxval.c: New file.
21820 * misc/sys/auxv.h: New file.
21821 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21822 (routines): Add getauxval.
21823 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21824 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21825 * elf/dl-sysdep.c (_dl_auxv): Remove.
21826 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21827 * elf/dl-support.c (_dl_auxv): New variable.
21828 (_dl_aux_init): Initialize it.
21829 * manual/startup.texi (Auxiliary Vector): New node.
21830 * sysdeps/generic/bits/hwcap.h: New file.
21831 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21832 * sysdeps/powerpc/sysdep.h: ... here. Include it.
21833 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21834 * sysdeps/sparc/sysdep.h: ... here. Include it.
21835 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21836 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
21837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21838 Update.
c7683a6d
RH
21839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21842 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21847
a6f1845d
AZ
218482012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21849
21850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21851
cbcbe830
DM
218522012-05-19 David S. Miller <davem@davemloft.net>
21853
21854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21855
e0b16cc2
JM
218562012-05-19 Joseph Myers <joseph@codesourcery.com>
21857
21858 [BZ #14123]
21859 * math/s_ccosh.c: Include <float.h>
21860 (__ccosh): Avoid internal overflow calculating sinh and cosh
21861 values before multiplying by sin and cos values.
21862 * math/s_ccoshf.c: Likewise.
21863 * math/s_ccoshl.c: Likewise.
21864 * math/s_csin.c: Likewise.
21865 * math/s_csinf.c: Likewise.
21866 * math/s_csinl.c: Likewise.
21867 * math/s_csinh.c: Likewise.
21868 * math/s_csinhf.c: Likewise.
21869 * math/s_csinhl.c: Likewise.
21870 * math/libm-test.inc (ccos_test): Add more tests.
21871 (ccosh_test): Likewise.
21872 (csin_test): Likewise.
21873 (csinh_test): Likewise.
21874 * sysdeps/i386/fpu/libm-test-ulps: Update.
21875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21876
6ad13e08
L
218772012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21878
f66f0ce8
L
21879 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21880 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21881
6ad13e08
L
21882 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21883
b1d072a7
JM
218842012-05-19 Joseph Myers <joseph@codesourcery.com>
21885
21886 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21887 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21888 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21889 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21890 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21891 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21892 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21893 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21894 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21895 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21896 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21897 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21898 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21899 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21900 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21901 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21902 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21903 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21904 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21905 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21906 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21907 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21908 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21909 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21910 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21911 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21912 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21913 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21914 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21915 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21916 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21917
9eae47cb
AJ
219182012-05-18 Andreas Jaeger <aj@suse.de>
21919
21920 * csu/.gitignore: Delete.
21921
bb07f69f
L
219222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21923
21924 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21925 (timex): Use __syscall_slong_t.
21926
e6bdb741
AJ
219272012-05-18 Andreas Jaeger <aj@suse.de>
21928 Carlos O'Donell <carlos_odonell@mentor.com>
21929
21930 * manual/install.texi (Configuring and compiling): Update
21931 description about files modified in the source directory.
d6c33fda 21932 * INSTALL: Regenerated.
e6bdb741 21933
1b74487e
L
219342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21935
21936 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21937 value. Use "or" to set return value to -1.
21938 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21939 negate return value.
21940
a88b64b9
TMQMF
219412012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21942
21943 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21944 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21945 failure if the compiler has Graphite support disabled.
21946 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21947 Likewise.
21948 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21949 CFLAGS-memmove.c): Likewise.
21950 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21951 Likewise.
21952
3707636e
L
219532012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21954
610b8622
L
21955 * sysdeps/x86_64/x32/_itoa.h: New file.
21956
7cd195df
L
21957 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21958 getdents system call only if kernel and user dirents have the
21959 same d_ino and d_off.
21960
94b07d20
L
21961 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21962 LLONG_MAX != LONG_MAX.
21963 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21964 (_fitoa_word): Likewise.
21965
18298070
L
21966 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21967 years.
21968 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21969 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21970 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21971
553c7ea4
L
21972 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21973 include <bits/wordsize.h>. Check __x86_64__ instead of
21974 __WORDSIZE.
21975 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21976 if __x86_64__ is defined. Use anonymous union on fpstate.
21977
3707636e
L
21978 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21979 anonymous union.
21980
b53ef01a
AS
219812012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21982
37fb1dc0
AS
21983 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21984 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21985 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21986 Refer to _rtld_local_ro instead of _rtld_global_ro.
21987 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21988 Likewise.
21989 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21990 Likewise.
21991 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21992 Likewise.
21993 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21994 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21995 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21996
b53ef01a
AS
21997 * sysdeps/powerpc/powerpc32/dl-machine.c
21998 (__elf_machine_runtime_setup) [PROF]: Don't reference
21999 _dl_prof_resolve.
22000
7a185db2
AJ
220012012-05-18 Andreas Jaeger <aj@suse.de>
22002
22003 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22004 function only available for GCCs before 3.4 since GCC 3.4
22005 introduced a builtin.
22006 (lrint): Likewise.
22007 (llrintf): Likewise.
22008 (llrint): Likewise.
22009 (fmaxf): Likewise.
22010 (fmax): Likewise.
22011 (fminf): Likewise.
22012 (fmin): Likewise.
22013 (rint): Likewise.
22014 (rintf): Likewise.
22015 (nearbyint): Likewise.
22016 (nearbyintf): Likewise.
22017 (ceil): Likewise.
22018 (ceilf): Likewise.
22019 (floor): Likewise.
22020 (floorf): Likewise.
22021
3e5aef87
L
220222012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22023
428bd707
L
22024 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22025 on both fields and cast pointer to __syscall_ulong_t.
22026
3e5aef87
L
22027 * bits/types.h (__fsword_t): New type.
22028 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22029 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22030 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22031 (__FSWORD_T_TYPE): Likewise.
22032 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22033 (__FSWORD_T_TYPE): Likewise.
22034 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22035 (__FSWORD_T_TYPE): Likewise.
22036 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22037 (__FSWORD_T_TYPE): Likewise.
22038 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22039 __SWORD_TYPE with __fsword_t.
22040 (statfs64): Likewise.
22041
1ba7c3dc
DM
220422012-05-17 David S. Miller <davem@davemloft.net>
22043
22044 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22045
59910343
AJ
220462012-05-17 Andreas Jaeger <aj@suse.de>
22047
22048 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22049 warning.
22050
2e4c1e9e
L
220512012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22052
22053 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22054
de7f5ce7
AJ
220552012-05-17 Andreas Jaeger <aj@suse.de>
22056
22057 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22058 when it is used.
22059
286abc3d
CM
220602012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22061
22062 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22063
477cc68e
L
220642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22065
22066 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22067 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22068
1a0994f5
CD
220692012-05-17 Andreas Jaeger <aj@suse.de>
22070 Carlos O'Donell <carlos_odonell@mentor.com>
22071
22072 [BZ #14059]
22073 * sysdeps/x86_64/multiarch/init-arch.h
22074 (bit_YMM_Usable): Rename to...
22075 (bit_AVX_Usable): ... this.
22076 (bit_FMA4_Usable): New macro.
22077 (bit_XMM_state): New macro.
22078 (bit_YMM_state): New macro.
22079 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22080 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22081 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22082 (CPUID_OSXSAVE): New macro.
22083 (CPUID_AVX): New macro.
22084 (CPUID_FMA4): New macro.
22085 (index_YMM_Usable): Rename to...
22086 (index_AVX_Usable): ... this.
22087 (HAS_AVX): Use HAS_ARCH_FEATURE.
22088 (HAS_FMA4): Likewise.
22089 (HAS_YMM_USABLE): Remove.
22090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22091 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22092 are present.
22093 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22094 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22095 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22096 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22097 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22098
0af797de
CM
220992012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22100
22101 * math/libm-test.c: Support platforms without multiple rounding modes.
22102 * math/bug-nextafter.c: Support platforms without FP exceptions.
22103 * math/bug-nexttoward.c: Likewise.
22104 * math/test-fenv.c: Likewise.
22105 * math/test-misc.c: Likewise.
22106 * stdlib/bug-getcontext.c: Likewise.
22107
e39745ff
AJ
221082012-05-17 Andreas Jaeger <aj@suse.de>
22109
22110 * manual/examples/search.c (critter_cmp): Change signature to
22111 avoid warnings.
22112 * manual/string.texi (Collation Functions): Likewise.
22113
48970aba
L
221142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22115
22116 * bits/types.h: Fold copyright years.
22117 * bits/typesizes.h: Likewise.
22118 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22119 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22120 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22121 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22122 * time/time.h: Likewise.
22123
bedee953
PP
221242012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22125
22126 [BZ #208]
22127 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22128 in instead of returning them. Return void.
22129 (__libc_mallinfo): Accumulate over all arenas.
22130 (__malloc_stats): Adjust for change in int_mallinfo interface.
22131
61653dfb
RM
221322012-05-16 Roland McGrath <roland@hack.frob.com>
22133
30b99d79
RM
22134 [BZ #10375]
22135 * configure.in (NM): Add AC_CHECK_TOOL for it.
22136 (libc_extra_cflags): New substituted variable.
22137 Check for -fstack-protector being used implicitly.
22138 * configure: Regenerated.
22139 * config.make.in (config-extra-cflags): New variable,
22140 gets @libc_extra_cflags@.
22141 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22142
61653dfb
RM
22143 [BZ #10375]
22144 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22145 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22146 * configure: Regenerated.
22147 * config.make.in (CPPUNDEFS): New substituted variable.
22148 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22149 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22150 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22151
661768bb
L
221522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22153
22154 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22155 (mq_attr): Use __syscall_slong_t.
22156
d4261567
L
221572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22158
22159 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22160 Check __x86_64__ instead of __WORDSIZE.
22161 (_STAT_VER_LINUX): Likewise.
22162 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22163 __syscall_ulong_t and __syscall_slong_t.
22164 (stat64): Likewise.
22165
cf3ff365
L
221662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22167
22168 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22169
76cf3e4d
L
221702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22171
22172 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22173
a637753a
L
221742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22175
22176 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22177 __syscall_ulong_t.
22178
d5e05119
L
22179 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22180 include <bits/wordsize.h>. Check __x86_64__ instead of
22181 __WORDSIZE.
22182 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22183 defined.
22184 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22185
f62ee380
L
22186 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22187 include <bits/wordsize.h>. Check __x86_64__ instead of
22188 __WORDSIZE.
22189 (user_regs_struct): Use "__extension__ unsigned long long"
22190 instead of "unsigned long" if __x86_64__ is defined.
22191 (user): Likewise. Pad after pointer field if __ILP32__ is
22192 defined.
22193
4e124ced
JM
221942012-05-16 Joseph Myers <joseph@codesourcery.com>
22195
6a3951a0
JM
22196 * configure.in (makeinfo): Require version 4.5 or later. Allow
22197 versions 5 to 9.
22198 * configure: Regenerated.
22199 * manual/install.texi (texinfo): Increase version requirement to
22200 4.5 or later.
22201 * INSTALL: Regenerated.
22202
4e124ced
JM
22203 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22204
953ca31a
L
222052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22206
22207 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22208
617aca05
L
22209 * sysdeps/x86_64/x32/ffs.c: New file.
22210
5762f7ae
L
22211 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22212 __syscall_ulong_t.
22213 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22214 defined. Use __syscall_ulong_t.
22215 (shminfo): Use __syscall_ulong_t.
22216 (shm_info): Likewise.
22217
a26b6856
L
22218 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22219 __syscall_ulong_t.
22220
cb2b9ef7
L
22221 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22222 <bits/wordsize.h>.
22223 (msgqnum_t): Use __syscall_ulong_t.
22224 (msglen_t): Likewise.
22225 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22226 __syscall_ulong_t.
22227
34683bb0
L
22228 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22229 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22230
84a68786
L
22231 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22232
48baa5f1
L
22233 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22234 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22235
180be88b
L
22236 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22237 __syscall_slong_t.
22238
5e90c8ad
L
22239 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22240 include <bits/wordsize.h>. Check __x86_64__ instead of
22241 __WORDSIZE.
22242
23dfb58b
L
22243 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22244 "unsigned long long int" if __x86_64__ is defined.
22245 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22246
ce5d54b0
L
22247 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22248 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22249 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22250
13dc9eac
L
22251 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22252 <stdint.h>.
22253 (GET_PC): Cast to uintptr_t first.
22254 (GET_FRAME): Likewise.
22255 (GET_STACK): Likewise.
22256
a7895d15
L
22257 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22258 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22259 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22260 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22261 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22262 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22263 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22264 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22265 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22266 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22267 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22268 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22269 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22270 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22271 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22272 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22273 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22274 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22275 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22276 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22277 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22278 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22279 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22280 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22281 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22282 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22283 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22284 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22285 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22286
656416c9
AS
222872012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22288
5bd66283
AS
22289 * Makerules (+depfiles): Also collect depfiles from .oS in
22290 $(extra-objs).
22291 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22292 .oS, $(libnldbl-routines)).
22293
656416c9
AS
22294 * Makerules (native-compile-mkdep-flags): Define.
22295 * sunrpc/Makefile (extra-objs): Add $(addprefix
22296 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22297 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22298 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22299 calling $(make-target-directory).
22300
a46f2169
L
223012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22302
22303 * bits/types.h (__snseconds_t): Removed.
22304 * time/time.h (struct timespec): Replace __snseconds_t with
22305 __syscall_slong_t.
22306 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22307 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22308 Likewise.
22309 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22310 (__SNSECONDS_T_TYPE): Likewise.
22311 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22312 (__SNSECONDS_T_TYPE): Likewise.
22313 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22314 (__SNSECONDS_T_TYPE): Likewise.
22315
6af6528b
L
223162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22317
22318 * sysdeps/mach/hurd/bits/typesizes.h
22319 (__SYSCALL_SLONG_TYPE): New macro.
22320 (__SYSCALL_ULONG_TYPE): Likewise.
22321
de986b56
L
223222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22323
22324 * bits/types.h (__syscall_slong_t): New type.
22325 (__syscall_ulong_t): Likewise.
22326
22327 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22328 (__SYSCALL_ULONG_TYPE): Likewise.
22329 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22330 (__SYSCALL_SLONG_TYPE): Likewise.
22331 (__SYSCALL_ULONG_TYPE): Likewise.
22332 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22333 (__SYSCALL_SLONG_TYPE): Likewise.
22334 (__SYSCALL_ULONG_TYPE): Likewise.
22335 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22336 (__SYSCALL_SLONG_TYPE): Likewise.
22337 (__SYSCALL_ULONG_TYPE): Likewise.
22338
85736dc7
L
223392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22340
22341 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22342 Add sigaltstack-offsets.sym.
22343 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22344 <sigaltstack-offsets.h>.
22345 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22346 longjmp_msg pointer.
22347 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22348 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22349 signal stack.
22350 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22351
cc03b296
JM
223522012-05-15 Joseph Myers <joseph@codesourcery.com>
22353
a9538892
JM
22354 * elf/stackguard-macros.h: Remove file.
22355 * sysdeps/generic/stackguard-macros.h: New file.
22356 * sysdeps/i386/stackguard-macros.h: Likewise.
22357 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22358 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22359 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22360 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22361 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22362 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22363 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22364 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22365 <elf/stackguard-macros.h>.
22366
cc03b296
JM
22367 [BZ #14109]
22368 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22369 __aligned__ in attribute.
22370 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22371 (gregset_t): Likewise.
22372
93171016
L
223732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22374
22375 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22376 * sysdeps/x86_64/64/Implies-after: Here. New file.
22377 * sysdeps/x86_64/x32/Implies-after: New file.
22378
d86813a0
L
223792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22380
22381 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22382 and access return value for _dl_profile_fixup. Use R10_LP to
22383 load frame size.
22384
2953ec75
L
223852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22386
22387 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22388
3b550e9e
L
223892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22390
22391 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22392 * sysdeps/x86_64/x32/sysdep.h: New file.
22393
eda41706
L
223942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22395
22396 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22397 * sysdeps/x86_64/setjmp.S: Likewise.
22398
9ea01d93
AZ
223992012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22400
22401 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22402 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22403 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22404 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22405 remove unused global constant.
22406
02a91938
CM
224072012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22408
22409 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22410 include of <not-cancel.h>.
22411
6540185f
RM
224122012-05-15 Roland McGrath <roland@hack.frob.com>
22413
22414 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22415
509072a0
AJ
224162012-05-15 Jeff Law <law@redhat.com>
22417 Andreas Jaeger <aj@suse.de>
22418
22419 [BZ #13594]
22420 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22421 out from...
22422 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22423 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22424 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22425 code changing __hst_map_handle.map.
22426
ba75122d
RM
224272012-05-15 Roland McGrath <roland@hack.frob.com>
22428
22429 * configure.in (sysnames): Look for Implies-before and Implies-after
22430 files.
22431 * configure: Regenerated.
22432
890d8bd8
L
224332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22434
22435 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22436 8-byte data alignment with LP_SIZE alignment.
22437
f6ee6623
L
224382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22439
22440 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22441 into R10_LP.
22442
ea2626f6
L
224432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22444
22445 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22446
085f715e
L
224472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22448
22449 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22450 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22451 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22452 Likewise.
22453 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22454
be8498fc
L
224552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22456
22457 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22458 (stackinfo_sub_sp): Likewise.
22459
70bc83b9
L
224602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22461
22462 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22463 RAX_LP.
22464
9bc0b730
L
224652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22466
22467 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22468 into R*_LP.
22469
6d2850e7
L
224702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22471
22472 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22473 sizes into R*_LP.
22474
3cb84561
L
224752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22476
22477 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22478
54e2ed81
L
224792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22480
22481 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22482 into R11_LP and load __x86_64_shared_cache_size_half into
22483 R8_LP.
22484
8a17f349
L
224852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22486
22487 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22488 R8_LP.
22489
777b1eea
AZ
224902012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22491
22492 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22493 logb for POWER7.
22494 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22495 logbf for POWER7.
22496 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22497 logbl for POWER7.
22498 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22499 powerpc32/power7/fpu/s_logb.c via #include.
22500 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22501 powerpc32/power7/fpu/s_logbf.c via #include.
22502 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22503 powerpc32/power7/fpu/s_logbl.c via #include.
22504
d20d4ac2
JM
225052012-05-15 Joseph Myers <joseph@codesourcery.com>
22506
22507 * README.libm: Remove file.
22508
6cdef1ab
L
225092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22510
22511 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22512 count for x32. Use R*_LP and omit operand-size suffix.
22513
0b254d8f
L
225142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22515
22516 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22517 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22518 * sysdeps/x86_64/x32/shlib-versions: New file.
22519
ceb809dc
RM
225202012-05-14 Roland McGrath <roland@hack.frob.com>
22521
22522 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22523 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22524 Use _dl_fatal_printf instead.
22525
37f1abd4
JM
225262012-05-14 Joseph Myers <joseph@codesourcery.com>
22527
22528 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22529 set if not set by the user. Do not allow for being unset.
22530 * sysdeps/unix/sysv/linux/configure: Regenerated.
22531
11de3a33
L
225322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22533
22534 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22535 the `q' suffix from lea and replace .quad with ASM_ADDR.
22536
e02f153a
L
225372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22538
22539 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22540 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22541 instead of $17.
22542 (PTR_DEMANGLE): Likewise.
22543
520ae0fd
L
225442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22545
22546 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22547 (LP_OP): Likewise.
22548 (ASM_ADDR): Likewise.
22549 (RAX_LP): Likewise.
22550 (RBP_LP): Likewise.
22551 (RBX_LP): Likewise.
22552 (RCX_LP): Likewise.
22553 (RDI_LP): Likewise.
22554 (RSI_LP): Likewise.
22555 (RSP_LP): Likewise.
22556 (R8_LP): Likewise.
22557 (R9_LP): Likewise.
22558 (R10_LP): Likewise.
22559 (R10_LP): Likewise.
22560 (R11_LP): Likewise.
22561 (R12_LP): Likewise.
22562 (R13_LP): Likewise.
22563 (R14_LP): Likewise.
22564 (R15_LP): Likewise.
22565
b985be81
L
225662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22567
22568 * sysdeps/x86_64/x32/dl-machine.h: New file.
22569
6a4888ff
AJ
225702012-05-14 Andreas Jaeger <aj@suse.de>
22571
22572 * manual/Makefile (subdir): Remove export of subdir.
22573 (all): Remove target.
22574 (.PHONY): Remove all from list.
22575 (mkinstalldirs): Remove.
22576 (.PHONY): Remove installdirs from list.
22577 ($(inst_infodir)/libc.info): Use make-target-directory.
22578 (installdirs): Remove.
22579 (subdir_%): Remove.
22580 (glibc-targets): Remove.
22581 (lib): Remove.
22582 (stubs): Remove.
22583 ($(objpfx)stubs ../po/manual.pot): Remove.
22584 ($(objpfx)stamp%): Remove.
22585 (make-target-directory): Remove.
22586 (subdir_install): Remove.
22587 (routines): Remove.
22588 (aux): Remove.
22589 (sources): Remove.
22590 (objects): Remove.
22591 (headers): Remove.
22592
22593 [BZ #13750]
22594 * manual/.gitignore: Remove, it's not needed anymore.
22595 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22596 all files in it.
22597 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22598 directory.
22599 (texis): Renamed to $(objpfx)texis.
22600 (texis-path): New, contains path to generated files.
22601 (chapters.%): Use texis-path for complete path, add extra argument
22602 libc-texinfo.sh.
22603 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22604 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22605 (summary,texi, stamp-summary): Use complete path of
22606 files. Generate files in build dir.
22607 (dir-add.texi): Build in build dir.
22608 (libm-err.texi,stamp-libm-err): Likewise.
22609 (version.texi, stamp-version): Likewise.
22610 (.%c.texi): Likewise.
22611 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22612 (mostlyclean): Remove target.
22613 (realclean): Remove target.
22614 (generated): Add new variable with contents from mostlyclean and
22615 realclean, remove entries duplicated in common-mostlyclean, add
22616 stamp-libm-err and stamp-version.
22617 (generated-dirs): Add libc directory.
22618 ($(inst_infodir)/libc.info): Install files from build dir.
22619
22620 * manual/install.texi (Configuring and compiling): Adjust since
22621 the info files are not part of the tar ball anymore.
22622
7ac77294
AJ
226232012-05-14 Andreas Jaeger <aj@suse.de>
22624
22625 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22626 variable.
22627
ffb7875d
JM
226282012-05-14 Joseph Myers <joseph@codesourcery.com>
22629
22630 [BZ #13717]
22631 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22632 to 2.2.0 where earlier.
22633 * sysdeps/unix/sysv/linux/configure: Regenerated.
22634 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22635 Remove conditional code.
22636 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22637 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22638 Remove conditional code.
22639 [!__NR_lchown]: Likewise.
22640 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22641 [__NR_lchown]: Likewise.
22642 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22643 comment referencing __ASSUME_LCHOWN_SYSCALL.
22644 * sysdeps/unix/sysv/linux/i386/sigaction.c
22645 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22646 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22647 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22648 Remove conditional code.
22649 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22650 (__protocol_available): Remove #if 0 code.
22651 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22652 conditional code.
22653 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22654 * sysdeps/unix/sysv/linux/kernel-features.h
22655 (__ASSUME_GETCWD_SYSCALL): Don't define.
22656 (__ASSUME_REALTIME_SIGNALS): Likewise.
22657 (__ASSUME_PREAD_SYSCALL): Likewise.
22658 (__ASSUME_PWRITE_SYSCALL): Likewise.
22659 (__ASSUME_POLL_SYSCALL): Likewise.
22660 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22661 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22662 non-SPARC.
22663 (__ASSUME_SIOCGIFNAME): Don't define.
22664 (__ASSUME_MSG_NOSIGNAL): Likewise.
22665 (__ASSUME_SENDFILE): Define unconditionally.
22666 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22667 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22668 conditional code.
22669 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22670 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22671 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22672 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22673 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22674 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22675 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22677 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22678 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22680 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22681 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22683 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22684 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22686 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22687 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22689 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22690 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22692 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22693 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22695 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22696 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22698 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22699 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22700 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22701 Remove conditional code.
22702 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22703 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22704 Remove conditional code.
22705 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22706 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22707 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22708 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22709 Remove conditional code.
22710 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22711 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22712 Remove conditional code.
22713 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22714 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22715 Remove conditional code.
22716 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22717 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22718 Remove conditional code.
22719 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22720 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22721 Remove conditional code.
22722 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22723 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22724 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22725 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22726 * sysdeps/unix/sysv/linux/sigaction.c
22727 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22728 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22729 * sysdeps/unix/sysv/linux/sigpending.c
22730 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22731 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22732 * sysdeps/unix/sysv/linux/sigprocmask.c
22733 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22734 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22735 * sysdeps/unix/sysv/linux/sigsuspend.c
22736 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22737 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22738 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22739 (__libc_missing_rt_sigs): Remove.
22740 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22741 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22742 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22743 Remove conditional code.
22744 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22745 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22746 return 1.
22747 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22748 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22749 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22750 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22751
1bfb7291
AJ
227522012-05-14 Andreas Jaeger <aj@suse.de>
22753
caae5a81
AJ
22754 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22755 it's not used in glibc.
22756 (__coshm1): Likewise.
22757 (__acosh1p): Likewise.
22758 (__sgn): Likewise.
22759
1bfb7291
AJ
22760 * manual/string.texi (Copying and Concatenation): Add missing
22761 variable in concat example.
22762 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22763
c044d724
L
227642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22765
144c5467 22766 [BZ #14103]
c044d724
L
22767 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22768 __builtin_clzl with __builtin_clzll.
22769
2523c62b
L
227702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22771
22772 [BZ #14104]
22773 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22774 libc_freeres_ptr.
22775
d7bb4c42
LD
227762012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22777
22778 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22779 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22780 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22781 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22782
9dc4e1fb
MF
227832012-05-14 Mike Frysinger <vapier@gentoo.org>
22784
22785 * NEWS: Update ia64 info.
22786
c7df0112
AS
227872012-05-12 Andreas Schwab <schwab@linux-m68k.org>
22788
22789 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22790 used as bcopy.
22791
dc70356c
TS
227922012-05-12 Thomas Schwinge <thomas@codesourcery.com>
22793
22794 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22795 * sysdeps/unix/syscalls.list (dup3): Likewise.
22796 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22797 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22798
9fb1a21f
L
227992012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22800
22801 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22802 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22803
4822a2a5
L
228042012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22805
22806 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22807 thread pointer.
22808 (TLS_IE): Use mov/add instead of movq/addq to load thread
22809 pointer.
22810 (TLS_GD_PREFIX): New.
22811 (TLS_GD): Use it.
22812
842b81d6
DM
228132012-05-11 David S. Miller <davem@davemloft.net>
22814
22815 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22816 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22817 (_FPU_SETCW): Likewise.
22818
1cf463cd
L
228192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22820
22821 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22822 is 32-byte aligned.
22823
60cc4a18
AS
228242012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22825
22826 [BZ #11837]
22827 * iconvdata/gb18030.c: Update tables.
22828 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
22829 characters specially.
22830 (BODY for TO_LOOP): Add encoding of missing ranges.
22831
febb44a4
TS
228322012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22833
22834 [BZ #13673]
22835 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22836 * sysdeps/mach/hurd/dup3.c: Likewise.
22837 * sysdeps/mach/hurd/readlinkat.c: Likewise.
22838 * sysdeps/powerpc/memmove.c:: Likewise.
22839
0a10fb9e
L
228402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22841
22842 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22843 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22844
df8a552f
L
228452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22846
22847 * elf/elf.h (R_X86_64_RELATIVE64): New.
22848 (R_X86_64_NUM): Updated.
22849 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22850 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22851 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22852 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22853 tst-quad1pie tst-quad2pie
22854 (modules-names): Add tst-quadmod1 tst-quadmod2.
22855 ($(objpfx)tst-quad1): New dependency.
22856 ($(objpfx)tst-quad2): Likewise.
22857 ($(objpfx)tst-quad1pie): Likewise.
22858 ($(objpfx)tst-quad2pie): Likewise.
22859 * sysdeps/x86_64/tst-quad1.c: New file.
22860 * sysdeps/x86_64/tst-quad1pie.c: New file.
22861 * sysdeps/x86_64/tst-quad2.c: Likewise.
22862 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22863 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22864 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22865 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22866 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22867
f34d6f84
ST
228682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22869
f42d41d1
ST
22870 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22871 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22872 * streams/stropts.h (t_scalar_t): Define type.
22873
3c3571fc
ST
22874 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22875 (_PATH_PRESERVE): Set to "/var/lib".
22876 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22877
61f06bd3
ST
22878 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22879 instead of int.
22880
918d4d71
ST
22881 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22882 if __dir_mkfile succeeded.
22883
f34d6f84
ST
22884 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22885 checking for _hurd_dtablesize. Unlock it right after having
22886 finished _hurd_dtable allocation.
22887
10589b4a
TS
228882012-05-10 Thomas Schwinge <thomas@schwinge.name>
22889
674cdbc7
TS
22890 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22891 * sysdeps/mach/hurd/configure: Regenerated.
22892 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22893 special-casing to...
22894 * sysdeps/gnu/configure.in: ... this new file.
22895 * sysdeps/unix/sysv/linux/configure: Regenerated.
22896 * sysdeps/gnu/configure: New generated file.
22897
8e41b99f
TS
22898 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22899 for Linux: use nsec instead of usec, as well as:
22900 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22901 members of type struct timespec.
22902 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22903 New macros.
22904 (struct stat64): Likewise.
22905 (_STATBUF_ST_NSEC): New macro.
22906 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22907
10589b4a
TS
22908 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22909 __strtoul_internal rather than strtoul.
22910
63643c85
PT
229112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22912
22913 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22914 and reject them.
22915
3faebe6a
ST
229162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22917
22918 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22919 which preserves existing values.
22920 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22921
c6474b07
PT
229222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22923
22924 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22925 TIMEOUT values. Return EINVAL for NFDS values either negative or
22926 greater than FD_SETSIZE.
22927
1043890b
ST
229282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22929
22930 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22931 allocated, call __vm_protect to finish enabling the existing space, and
22932 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22933 allocate the remainder.
22934
37ed8b9b
PT
229352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22936
22937 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22938 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22939
db653660
ST
229402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22941
37ed8b9b
PT
22942 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22943 sysdeps/mach/hurd/readlink.c.
b29d4053 22944
db653660
ST
22945 * posix/tst-sysconf.c (posix_options): Only use
22946 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22947 _POSIX_SYNCHRONIZED_IO when they are defined
22948 * sysdeps/mach/hurd/bits/posix_opt.h:
22949 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22950 (_XOPEN_REALTIME): Undefine macro.
22951 (_XOPEN_REALTIME_THREADS): Undefine macro.
22952 (_XOPEN_SHM): Undefine macro.
22953 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22954 macro to -1.
22955 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22956 macro to -1.
22957 (_POSIX_ASYNC_IO): Undefine macro.
22958 (_POSIX_PRIORITIZED_IO): Undefine macro.
22959 (_POSIX_SPIN_LOCKS): Define macro to -1.
22960
ee16e894
ST
22961 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22962 SA_NODEFER, SA_RESETHAND.
22963 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22964 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22965 F_DUPFD_CLOEXEC.
22966
6103ae3b
TS
229672012-05-10 Thomas Schwinge <thomas@schwinge.name>
22968
22969 * elf/Makefile (pldd-modules): Define unconditionally.
22970
80b4e5f3
TS
229712012-05-10 Thomas Schwinge <thomas@schwinge.name>
22972
22973 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22974
edadcbd6
ST
229752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22976
22977 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22978 Return ENOENT when name is empty.
22979 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22980
80694780
TS
229812012-05-10 Thomas Schwinge <thomas@schwinge.name>
22982
1792c087
TS
22983 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22984
80694780
TS
22985 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22986
6b645f0d
ST
229872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22988
80694780
TS
22989 Fix mlock in all cases except non-readable pages.
22990 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22991 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 22992
6b645f0d
ST
22993 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22994 (__mkdir): When path is `/', just fail with EEXIST.
22995 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22996
e468f8a3
TS
229972012-05-10 Thomas Schwinge <thomas@schwinge.name>
22998
22999 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23000 <sys/uio.h> (for writev).
23001 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23002 and <sys/param.h> (for MIN).
23003
a4186cff
PT
230042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23005
23006 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23007 REQUESTED_TIME. Properly set the remaining time and return EINTR
23008 if interrupted.
23009
510bbf14
TS
230102012-05-10 Thomas Schwinge <thomas@schwinge.name>
23011
23012 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23013 Depend on against $(link-rpcuserlibs).
23014
5d5722e8
ST
230152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23016
a4186cff
PT
23017 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23018 (__libc_stack_end): Do not use attribute_relro.
23019 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23020 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 23021 to libthread-provided value.
a4186cff
PT
23022 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23023 attribute_relro.
5d5722e8 23024
37233df9
TS
230252012-05-10 Thomas Schwinge <thomas@schwinge.name>
23026
be971a2b
TS
23027 [BZ #3748]
23028 * bits/libc-lock.h (__libc_once_get): New macro.
23029 * sysdeps/mach/bits/libc-lock.h: Likewise.
23030 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23031 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23032 instead of using implementation details.
23033
37233df9
TS
23034 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23035 * libio/freopen.c: Likewise.
23036 * libio/freopen64.c: Likewise.
23037 * misc/syslog.c: Likewise.
23038 * nscd/connections.c: Likewise.
23039 * nscd/netgroupcache.c: Likewise.
23040 * sysdeps/posix/getcwd.c: Likewise.
23041
38de94a5
RM
230422012-05-10 Roland McGrath <roland@hack.frob.com>
23043
23044 * math/w_ilogbf.c: Add #include <limits.h>.
23045
67530489
ST
230462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23047
a4186cff 23048 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
23049 path instead of returning without unlocking.
23050
67530489
ST
23051 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23052 immediate-write ioctls.
23053 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23054
5aa3a74a
TS
230552012-05-10 Thomas Schwinge <thomas@schwinge.name>
23056
18bad2ae
TS
23057 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23058 __builtin_frame_address instead of making assumptions about the
23059 location of the return address relative to DATA. Force early load of
23060 the return address.
23061 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23062 __builtin_frame_address.
23063
5aa3a74a
TS
23064 dup3 for GNU Hurd.
23065 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23066 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23067 implement dup3 and do some further code clean-ups.
23068 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23069 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23070
ecd0de9a
ST
230712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23072
cd9fa985
ST
23073 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23074
a4186cff
PT
23075 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23076 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23077 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23078 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23079 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23080 d->port.lock.
802ca5a5 23081
a4186cff
PT
23082 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23083 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23084 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 23085
bcf55240
TS
230862012-05-10 Thomas Schwinge <thomas@schwinge.name>
23087
6960eb42
TS
23088 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23089 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23090 definitions.
23091
eb43375f
TS
23092 accept4 for GNU Hurd.
23093 * include/sys/socket.h (__libc_accept4): New prototype.
23094 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23095 to implement __libc_accept4.
23096 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23097 __libc_accept4.
23098 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23099
bcf55240
TS
23100 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23101 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23102 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23103 signal-defines.sym.
23104
6178c55b
ST
231052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23106
a4186cff 23107 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 23108
6f080c2f
TS
231092012-05-10 Thomas Schwinge <thomas@schwinge.name>
23110
23111 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23112 assertion on O_CLOEXEC flag.
23113 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23114 * hurd/intern-fd.c: Likewise.
23115 * hurd/port2fd.c: Likewise.
23116
bcfe3a54
ST
231172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23118
23119 [BZ #3906]
23120 * bits/in.h (IPV6_PKTINFO): Define new macro.
23121 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23122
89c9aa49
AZ
231232012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23124
23125 [BZ #13954]
23126 [BZ #13955]
23127 [BZ #13956]
23128 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23129 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23130 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23131 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23132 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23133 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23134 * math/libm-test.inc (logb_test) : Additional logb tests.
23135
021db4be
AJ
231362012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23137 Andreas Jaeger <aj@suse.de>
23138
23139 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23140 * configure: Regenerated.
23141 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23142 * config.make.in (link-obsolete-rpc): New substituted variable.
23143 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23144 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23145 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23146 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23147 so that libc.a contains the symbols.
23148 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23149 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23150 * sunrpc/auth_none.c: Likewise.
23151 * sunrpc/auth_unix.c: Likewise.
23152 * sunrpc/authdes_prot.c: Likewise.
23153 * sunrpc/authuxprot.c: Likewise.
23154 * sunrpc/clnt_gen.c: Likewise.
23155 * sunrpc/clnt_perr.c: Likewise.
23156 * sunrpc/clnt_raw.c: Likewise.
23157 * sunrpc/clnt_simp.c: Likewise.
23158 * sunrpc/clnt_tcp.c: Likewise.
23159 * sunrpc/clnt_udp.c: Likewise.
23160 * sunrpc/clnt_unix.c: Likewise.
23161 * sunrpc/des_crypt.c: Likewise.
23162 * sunrpc/des_soft.c: Likewise.
23163 * sunrpc/get_myaddr.c: Likewise.
23164 * sunrpc/key_call.c: Likewise.
23165 * sunrpc/key_prot.c: Likewise.
23166 * sunrpc/netname.c: Likewise.
23167 * sunrpc/pm_getmaps.c: Likewise.
23168 * sunrpc/pm_getport.c: Likewise.
23169 * sunrpc/pmap_clnt.c: Likewise.
23170 * sunrpc/pmap_prot.c: Likewise.
23171 * sunrpc/pmap_prot2.c: Likewise.
23172 * sunrpc/pmap_rmt.c: Likewise.
23173 * sunrpc/publickey.c: Likewise.
23174 * sunrpc/rpc_cmsg.c: Likewise.
23175 * sunrpc/rpc_common.c: Likewise.
23176 * sunrpc/rpc_dtable.c: Likewise.
23177 * sunrpc/rpc_prot.c: Likewise.
23178 * sunrpc/rpc_thread.c: Likewise.
23179 * sunrpc/rtime.c: Likewise.
23180 * sunrpc/svc.c: Likewise.
23181 * sunrpc/svc_auth.c: Likewise.
23182 * sunrpc/svc_raw.c: Likewise.
23183 * sunrpc/svc_run.c: Likewise.
23184 * sunrpc/svc_tcp.c: Likewise.
23185 * sunrpc/svc_udp.c: Likewise.
23186 * sunrpc/svc_unix.c: Likewise.
23187 * sunrpc/svcauth_des.c: Likewise.
23188 * sunrpc/xcrypt.c: Likewise.
23189 * sunrpc/xdr.c: Likewise.
23190 * sunrpc/xdr_array.c: Likewise.
23191 * sunrpc/xdr_float.c: Likewise.
23192 * sunrpc/xdr_intXX_t.c: Likewise.
23193 * sunrpc/xdr_mem.c: Likewise.
23194 * sunrpc/xdr_rec.c: Likewise.
23195 * sunrpc/xdr_ref.c: Likewise.
23196 * sunrpc/xdr_sizeof.c: Likewise.
23197 * sunrpc/xdr_stdio.c: Likewise.
23198
b5c086a2
RM
231992012-05-10 Roland McGrath <roland@hack.frob.com>
23200
23201 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23202 change. Update copyright years.
23203
6d74dd09
JM
232042012-05-10 Joseph Myers <joseph@codesourcery.com>
23205
23206 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23207
28e72501
MK
232082012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23209 Joseph Myers <joseph@codesourcery.com>
23210 Paul Pluzhnikov <ppluzhnikov@google.com>
23211
23212 [BZ #14012]
23213 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23214 requiring rpcgen.
23215 [cross-compiling] (extra-libs): Likewise.
23216 [cross-compiling] (extra-libs-others): Likewise.
23217 [cross-compiling] (librpcsvc-routines): Likewise.
23218 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23219 [cross-compiling] (omit-deps): Likewise.
23220 (sunrpc-CPPFLAGS): New variable.
23221 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23222 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23223 (cross-rpcgen-objs): New variable.
23224 (extra-objs): Append $(cross-rpcgen-objs).
23225 ($(cross-rpcgen-objs)): New rule.
23226 ($(objpfx)cross-rpcgen): Likewise.
23227 (rpcgen-cmd): Define to use $(built-program-file). Expand
23228 comment.
23229 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23230 ($(objpfx)x%.stmp): Likewise.
23231 * sunrpc/proto.h [IS_IN_build] (_): Define.
23232 [IS_IN_build] (_libc_intl_domainname): Likewise.
23233
c8c59454
L
232342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23235
23236 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23237 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23238 and R_X86_64_TPOFF64.
23239
6f27cd16
JM
232402012-05-10 Joseph Myers <joseph@codesourcery.com>
23241
23242 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23243 sysdeps/unix/sysv/syscalls.list.
23244 (stime): Likewise.
23245 (utime): Likewise.
23246 * sysdeps/unix/sysv/syscalls.list: Remove file.
23247
02467e1c
PE
232482012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23249
23250 [BZ #3440]
23251 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23252 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23253 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23254 (__LC_IDENTIFICATION): Make these macros useful in #if
23255 expressions, as required by C99.
23256
da392631
AS
232572012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23258
23259 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23260 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23261 after this.
23262
8115f29b
L
232632012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23264
23265 * stdlib/longlong.h: Updated from GCC.
23266
bdd74070
AJ
232672012-05-09 Andreas Jaeger <aj@suse.de>
23268
edfe0dbe
AJ
23269 * nscd/nscd.c (run_modes): Make named enum, reorder so that
23270 default is first entry.
23271 (run_mode): Set type.
23272 (main): Remove informal message about syslog.
23273 (options): Fix typo.
23274
bcfe3a54
ST
23275 [BZ #14053]
23276 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 23277 to asm.
bcfe3a54
ST
23278 (lrint): Likewise.
23279 (llrintf): Likewise.
23280 (llrint): Likewise.
23281 (rint): Likewise.
23282 (rintf): Likewise.
23283 (nearbyint): Likewise.
23284 (nearbyintf): Likewise.
bdd74070 23285
91d8d69e
AJ
232862012-05-09 Andreas Jaeger <aj@suse.de>
23287 Pedro Alves <palves@redhat.com>
23288
23289 * nscd/nscd.c (run_mode): Use enum.
23290 (main): Cleanup coding style issue.
23291
bb90b80b
AJ
232922012-05-09 Alexandre Oliva <aoliva@redhat.com>
23293 Andreas Jaeger <aj@suse.de>
23294
bcfe3a54
ST
23295 * nscd/nscd.c (go_background): Replaced with...
23296 (run_mode): ... this.
bb90b80b 23297 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
23298 (options): Add -F --foreground.
23299 (main): Implement it.
23300 (parse_opt): Parse it.
bb90b80b 23301
1a4b75a1
AJ
233022012-05-09 Andreas Jaeger <aj@suse.de>
23303
23304 [BZ #14083]
23305 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23306 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23307 -Wconversion warning.
23308 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23309 Likewise.
23310
b1cc2472
JM
233112012-05-09 Joseph Myers <joseph@codesourcery.com>
23312
23313 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23314 == 0.
23315 (LC_ALL): Use macro-int-constant.
23316 (LC_COLLATE): Likewise.
23317 (LC_CTYPE): Likewise.
23318 (LC_MESSAGES): Likewise.
23319 (LC_MONETARY): Likewise.
23320 (LC_NUMERIC): Likewise.
23321 (LC_TIME): Likewise.
23322 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23323 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23324 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23325 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23326 Specify type.
23327 [C99-based standards] (float_t): Expect type.
23328 [C99-based standards] (double_t): Expect type.
23329 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23330 type.
23331 [C99-based standards] (HUGE_VALL): Likewise.
23332 [C99-based standards] (INFINITY): Likewise.
23333 [C99-based standards] (NAN): Likewise.
23334 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23335 [C99-based standards] (FP_NAN): Likewise.
23336 [C99-based standards] (FP_NORMAL): Likewise.
23337 [C99-based standards] (FP_SUBNORMAL): Likewise.
23338 [C99-based standards] (FP_ZERO): Likewise.
23339 [C99-based standards] (FP_FAST_FMA): Use
23340 optional-macro-int-constant. Specify type. Require == 1.
23341 [C99-based standards] (FP_FAST_FMAF): Likewise.
23342 [C99-based standards] (FP_FAST_FMAL): Likewise.
23343 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23344 [C99-based standards] (FP_ILOGBNAN): Likewise.
23345 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23346 Specify type.
23347 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23348 [C99-based standards] (math_errhandling): Specify type.
23349 [ISO99 || ISO11] (signgam): Do not allow.
23350 [non-C99-based standards] (copysignf): Do not allow.
23351 [non-C99-based standards] (exp2f): Likewise.
23352 [non-C99-based standards] (log2f): Likewise.
23353 [non-C99-based standards] (modff): Allow.
23354 [non-C99-based standards] (erff): Do not allow.
23355 [non-C99-based standards] (erfcf): Likewise.
23356 [non-C99-based standards] (gammaf): Likewise.
23357 [non-C99-based standards] (hypotf): Likewise.
23358 [non-C99-based standards] (j0f): Likewise.
23359 [non-C99-based standards] (j1f): Likewise.
23360 [non-C99-based standards] (jnf): Likewise.
23361 [non-C99-based standards] (lgammaf): Likewise.
23362 [non-C99-based standards] (tgammaf): Likewise.
23363 [non-C99-based standards] (y0f): Likewise.
23364 [non-C99-based standards] (y1f): Likewise.
23365 [non-C99-based standards] (ynf): Likewise.
23366 [non-C99-based standards] (isnanf): Likewise.
23367 [non-C99-based standards] (acoshf): Likewise.
23368 [non-C99-based standards] (asinhf): Likewise.
23369 [non-C99-based standards] (atanhf): Likewise.
23370 [non-C99-based standards] (cbrtf): Likewise.
23371 [non-C99-based standards] (expm1f): Likewise.
23372 [non-C99-based standards] (ilogbf): Likewise.
23373 [non-C99-based standards] (log1pf): Likewise.
23374 [non-C99-based standards] (logbf): Likewise.
23375 [non-C99-based standards] (nextafterf): Likewise.
23376 [non-C99-based standards] (remainderf): Likewise.
23377 [non-C99-based standards] (rintf): Likewise.
23378 [non-C99-based standards] (scalbf): Likewise.
23379 [non-C99-based standards] (copysignl): Likewise.
23380 [non-C99-based standards] (exp2l): Likewise.
23381 [non-C99-based standards] (log2l): Likewise.
23382 [non-C99-based standards] (modfl): Allow.
23383 [non-C99-based standards] (erfl): Do not allow.
23384 [non-C99-based standards] (erfcl): Likewise.
23385 [non-C99-based standards] (gammal): Likewise.
23386 [non-C99-based standards] (hypotl): Likewise.
23387 [non-C99-based standards] (j0l): Likewise.
23388 [non-C99-based standards] (j1l): Likewise.
23389 [non-C99-based standards] (jnl): Likewise.
23390 [non-C99-based standards] (lgammal): Likewise.
23391 [non-C99-based standards] (tgammal): Likewise.
23392 [non-C99-based standards] (y0l): Likewise.
23393 [non-C99-based standards] (y1l): Likewise.
23394 [non-C99-based standards] (ynl): Likewise.
23395 [non-C99-based standards] (isnanl): Likewise.
23396 [non-C99-based standards] (acoshl): Likewise.
23397 [non-C99-based standards] (asinhl): Likewise.
23398 [non-C99-based standards] (atanhl): Likewise.
23399 [non-C99-based standards] (cbrtl): Likewise.
23400 [non-C99-based standards] (expm1l): Likewise.
23401 [non-C99-based standards] (ilogbl): Likewise.
23402 [non-C99-based standards] (log1pl): Likewise.
23403 [non-C99-based standards] (logbl): Likewise.
23404 [non-C99-based standards] (nextafterl): Likewise.
23405 [non-C99-based standards] (remainderl): Likewise.
23406 [non-C99-based standards] (rintl): Likewise.
23407 [non-C99-based standards] (scalbl): Likewise.
23408 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23409 [non-C99-based standards] (FP_*): Do not allow.
23410 [C99-based standards] (FP_*): Change to
23411 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23412 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23413 allow.
23414 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23415 (SIG_ERR): Likewise.
23416 [X/Open-based standards] (SIG_HOLD): Likewise.
23417 (SIG_IGN): Likewise.
23418 (SIGABRT): Use macro-int-constant. Specify type. Require
23419 positive value.
23420 (SIGFPE): Likewise.
23421 (SIGILL): Likewise.
23422 (SIGINT): Likewise.
23423 (SIGSEGV): Likewise.
23424 (SIGTER): Likewise.
23425 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23426 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23427 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23428 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23429 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23430 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23431 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23432 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23433 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23434 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23435 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23436 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23437 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23438 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23439 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23440 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23441 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23442 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23443 [X/Open-based standards] (SIGTRAP): Likewise.
23444 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23445 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23446 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23447 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23448 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23449 allow.
23450
b9f1922d
IW
234512012-05-08 Ian Wienand <ianw@vmware.com>
23452
23453 [BZ #14080]
23454 * time/tzset.c (__tzset_parse_tz): Update default rules for
23455 daylight time changes in the Energy Policy Act of 2005.
23456
1db86e88
AJ
234572012-05-09 Andreas Jaeger <aj@suse.de>
23458
23459 [BZ #13983]
23460 * elf/ldconfig.c (parse_conf): Change string to make clear that
23461 ldconfig only issued a warning if ld.so.conf does not exist.
23462
dee4a4e3
DM
234632012-05-08 David S. Miller <davem@davemloft.net>
23464
ee0db190
DM
23465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23466 movxtod instead of popping the value on the stack.
23467
dee4a4e3
DM
23468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23469
6a43ec98
CD
234702012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23471
23472 * config.h.in: Add HAVE_ARM_PCS_VFP.
23473
05c2c961
RMG
234742012-05-08 Roland Mc Grath <roland@hack.frob.com>
23475
bcfe3a54
ST
23476 [BZ #13979]
23477 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23478 checking but the checks are disabled for any reason.
05c2c961 23479
4b30f61a
L
234802012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23481
23482 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23483 and ELF64_R_TYPE with ELFW(R_TYPE).
23484
eee2bc67
JM
234852012-05-08 Joseph Myers <joseph@codesourcery.com>
23486
7ea5391a
JM
23487 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23488 (ulimit): Likewise.
23489
eee2bc67
JM
23490 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23491 (settimeofday): Likewise.
23492
abb66a67
MF
234932012-05-08 Mike Frysinger <vapier@gentoo.org>
23494
23495 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
23496 a struct th_u2 inside the union, and move tu_block/tu_code into
23497 a new th_u3 union of tu_block/tu_code inside of that. Move
23498 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
23499 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
23500 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23501 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23502 (th_stuff): Change to th_u1.tu_stuff.
23503 (th_data): Define.
23504 (th_msg): Change to th_u1.th_u2.tu_data.
23505
7f18b530
DM
235062012-05-07 David S. Miller <davem@davemloft.net>
23507
05760585
DM
23508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23509
7f18b530
DM
23510 [BZ #14074]
23511 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23512 (SETUP_PIC_REG): Use it.
23513 (SETUP_PIC_REG_LEAF): Use it.
23514
495fd99f
JM
235152012-05-07 Joseph Myers <joseph@codesourcery.com>
23516
23517 [BZ #13885]
23518 [BZ #13923]
23519 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23520 USE_AS_EXPM1L.
23521 (EXPL_FINITE): Likewise.
23522 (FLDLOG): Likewise.
23523 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23524 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23525 e_expl.S.
23526 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23527 USE_AS_EXPM1L.
23528 (EXPL_FINITE): Likewise.
23529 (FLDLOG): Likewise.
23530 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23531 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23532 e_expl.S.
23533 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23534 test of -max_value argument for long double.
23535 * sysdeps/i386/fpu/libm-test-ulps: Update.
23536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23537
6693d694
DM
235382012-05-06 David S. Miller <davem@davemloft.net>
23539
23540 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23541 quad soft-float symbols whose references which are compiler
23542 generated.
23543 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23544
6c23e11c
JM
235452012-05-06 Joseph Myers <joseph@codesourcery.com>
23546
d8b82cad
JM
23547 [BZ #13884]
23548 [BZ #13914]
23549 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23550 USE_AS_EXP10L.
23551 (EXPL_FINITE): Likewise.
23552 (FLDLOG): Likewise.
23553 (c0): Likewise.
23554 (c1): Likewise.
23555 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23556 Adjust comments for base varying.
23557 (__expl_finite): Change alias to EXPL_FINITE.
23558 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23559 e_expl.S.
23560 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23561 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23562 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23563 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23564 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23565 USE_AS_EXP10L.
23566 (EXPL_FINITE): Likewise.
23567 (FLDLOG): Likewise.
23568 (c0): Likewise.
23569 (c1): Likewise.
23570 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23571 Adjust comments for base varying.
23572 (__expl_finite): Change alias to EXPL_FINITE.
23573 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23574 tests for bugs.
23575 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23576
6c23e11c
JM
23577 [BZ #14064]
23578 * math/libm-test.inc (check_float_internal): Correct ulp
23579 calculation for subnormal expected results.
23580
29ba805c
AJ
235812012-05-06 Andreas Jaeger <aj@suse.de>
23582
23583 * Makeconfig (+math-flags): New, set to -frounding-math.
23584 (+cflags): Add +math-flags so that all of glibc gets compiled with
23585 it.
23586
23587 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23588
7b17aeda
JM
235892012-05-05 Joseph Myers <joseph@codesourcery.com>
23590
5779f134
JM
23591 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23592 Disable one test.
23593
41498f4d
JM
23594 [BZ #13787]
23595 [BZ #13922]
23596 [BZ #14036]
23597 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23598 (__ieee754_expl): Allow for and saturate large arguments.
23599 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23600 (u_threshold): Likewise.
23601 (__exp): Call __ieee754_exp before checking for overflow and
23602 underflow.
23603 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23604 (u_threshold): Likewise.
23605 (__expf): Call __ieee754_expf before checking for overflow and
23606 underflow.
23607 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23608 (u_threshold): Likewise.
23609 (__expl): Call __ieee754_expl before checking for overflow and
23610 underflow.
23611 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23612 (__ieee754_expl): Allow for and saturate large arguments.
23613 * math/libm-test.inc (exp_test): Add another test. Do not allow
23614 missing overflow exception on overflow.
23615 (expm1_test): Do not allow missing overflow exception on overflow.
23616
6698b8bf
JM
23617 * sysdeps/i386/fpu/e_expl.c: Move to ...
23618 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23619 rather than using inline asm.
23620 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23621 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23622 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23623
7b17aeda
JM
23624 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23625 (nice): Likewise.
23626 (poll): Likewise.
23627 (signal): Likewise.
23628 (time): Likewise.
23629 (times): Likewise.
23630
f7c85819
JM
236312012-05-04 Joseph Myers <joseph@codesourcery.com>
23632
23633 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23634 sysdeps/unix/common/syscalls.list.
23635 (fchmod): Likewise.
23636 (fchown): Likewise.
23637 (ftruncate): Likewise.
23638 (getrusage): Likewise.
23639 (gettimeofday): Likewise.
23640 (setpgid): Likewise.
23641 (setregid): Likewise.
23642 (setreuid): Likewise.
23643 (sigaction): Likewise.
23644 (truncate): Likewise.
23645 (vhangup): Likewise.
23646 * sysdeps/unix/common/syscalls.list: Remove file.
23647 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23648 * sysdeps/unix/sysv/linux/Implies: Likewise.
23649
336270d0
L
236502012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23651
23652 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23654 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23655 Moved to ...
23656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23657 Here.
23658 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23659 to ...
23660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23661 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23662 to ...
23663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23664 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23665 to ...
23666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23667 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23668 to ...
23669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23670 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23671 to ...
23672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23673 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23674 to ...
23675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23676 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23677 to ...
23678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23679 Here.
23680 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23681 to ...
23682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23683 Here.
23684 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23685 to ...
23686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23687 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23688 Moved to ...
23689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23690 Here.
23691 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23692 to ...
23693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23694
d128e450
JM
236952012-05-04 Joseph Myers <joseph@codesourcery.com>
23696
fa8ee516
JM
23697 * sysdeps/unix/common/bits/dirent.h: Remove file.
23698 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23699
d128e450
JM
23700 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23701 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23702 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23703 * sysdeps/unix/bsd/isatty.c: Likewise.
23704 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23705 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23706 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23707
ff8faaf0 237082012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 23709
62881be4 23710 [BZ #13563]
31dc8730
AZ
23711 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23712 long double comparison inaccuracies.
23713 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23715
6fef930c
AS
237162012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23717
23718 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23719 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23720
8f203e6c
JM
237212012-05-04 Joseph Myers <joseph@codesourcery.com>
23722
23723 [BZ #14049]
23724 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23725 nonzero digits before rounding a hex value.
23726 * stdlib/tst-strtod.c (tests): Add another test.
23727
5197d9c2
AK
237282012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23729
23730 * sysdeps/s390/fpu/libm-test-ulps: Update.
23731
f0c1dedf
AJ
237322012-05-03 Andreas Jaeger <aj@suse.de>
23733
23734 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23735 does not get optimized out.
23736 (malloc_opt_barrier): New.
23737
a65ef2ae 237382012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 23739 Roland McGrath <roland@hack.frob.com>
a65ef2ae 23740
2b942cb7 23741 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 23742 intermediate file deletion.
2b942cb7 23743 (generated): Add .symlist files.
a65ef2ae 23744
54b71e02
JM
237452012-05-03 Joseph Myers <joseph@codesourcery.com>
23746
23747 [BZ #13775]
23748 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23749 Redirect under this condition.
23750 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23751 [__USE_GNU] (__dprintf_chk): Not under this condition.
23752 [__USE_GNU] (__vdprintf_chk): Likewise.
23753 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23754 under this condition.
23755 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23756 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23757 [__USE_XOPEN2K8] (vdprintf): Likewise.
23758 [__USE_GNU] (__dprintf_chk): Not under this condition.
23759 [__USE_GNU] (__vdprintf_chk): Likewise.
23760 [__USE_GNU] (dprintf): Likewise.
23761 [__USE_GNU] (vdprintf): Likewise.
23762
d3dfcc41
RM
237632012-05-03 Roland McGrath <roland@hack.frob.com>
23764
23765 * elf/Makefile (common-generated): Set this instead of generated for
23766 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23767 $(all-built-dso)-derived lists.
23768
7ac30cc5
AJ
237692012-05-03 Andreas Jaeger <aj@suse.de>
23770
0c51e550
AJ
23771 * sysdeps/i386/fpu/libm-test-ulps: Update.
23772
7ac30cc5
AJ
23773 * FAQ: Removed.
23774 * FAQ.in: Likewise.
23775 * scripts/gen-FAQ.pl: Likewise.
23776 * manual/install.texi (Installation): Point to online location of
23777 FAQ.
23778 * Makefile (files-for-dist): Remove FAQ.
23779 (FAQ): Remove.
23780
d4c2917f
AM
237812012-05-02 Allan McRae <allan@archlinux.org>
23782
23783 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23784 (LDFLAGS-reldepmod5.so): Likewise.
23785 (LDFLAGS-reldep6mod1.so): Likewise.
23786 (LDFLAGS-reldep6mod4.so): Likewise.
23787 (LDFLAGS-reldep8mod3.so): Likewise.
23788 (LDFLAGS-unload4mod1.so): Likewise.
23789 (LDFLAGS-unload4mod2.so): Likewise.
23790 (LDFLAGS-tst-initorder): Likewise.
23791 (LDFLAGS-tst-initordera2.so): Likewise.
23792 (LDFLAGS-tst-initordera3.so): Likewise.
23793 (LDFLAGS-tst-initordera4.so): Likewise.
23794 (LDFLAGS-tst-initorderb2.so): Likewise.
23795 (LDFLAGS-noload): Likewise.
23796 (LDFLAGS-next): Likewise.
23797 (LDFLAGS-order2mod1.so): Likewise.
23798 (LDFLAGS-order2mod2.so): Likewise.
23799 (LDFLAGS-tst-initorder2): Likewise.
23800 (LDFLAGS-tst-initorder2a.so): Likewise.
23801 (LDFLAGS-tst-initorder2b.so): Likewise.
23802 (LDFLAGS-tst-initorder2c.so): Likewise.
23803 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23804
d77f993f
DM
238052012-05-02 David S. Miller <davem@davemloft.net>
23806
23807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23808
171a70b4
PP
238092012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23810
23811 [BZ #14055]
23812 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23813
0be196ad
AJ
238142012-05-02 Andreas Jaeger <aj@suse.de>
23815
23816 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23817 since we manipulate rounding mode.
23818 (CPPFLAGS-test-idouble.c): Likewise.
23819 (CPPFLAGS-test-ifloat.c): Likewise.
23820 (CFLAGS-test-ldouble.c): Likewise.
23821 (CFLAGS-test-double.c): Likewise.
23822 (CFLAGS-test-float.c): Likewise.
23823 (CFLAGS-test-misc.c): Likewise.
23824 (CFLAGS-test-test-fenv.c): Likewise.
23825
4f9d04aa
AZ
238262012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23827
2b942cb7
RM
23828 [BZ #2550]
23829 [BZ #2570]
23830 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23831 comparisons to determine direction to adjust input.
4f9d04aa 23832
82a79e7d
RM
238332012-05-01 Roland McGrath <roland@hack.frob.com>
23834
f5a01ca9
RM
23835 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23836 output to the target.
23837
90fe4186
RM
23838 * scripts/localplt.awk: New file.
23839 * elf/Makefile ($(objpfx)check-localplt): Target removed.
23840 (check-localplt-CFLAGS): Variable removed.
23841 ($(all-built-dso:=.jmprel)): New static pattern rule.
23842 (generated): Add those targets.
23843 (localplt-built-dso): New variable.
23844 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23845
23846 * elf/check-localplt.c: File removed.
23847
82397ed6
RM
23848 * scripts/check-execstack.awk: New file.
23849 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23850 (check-execstack-CFLAGS): Variable removed.
23851 ($(objpfx)check-execstack.h): Target removed.
23852 ($(objpfx)execstack-default): New target.
23853 (generated): Add that instead of check-execstack.h.
23854 ($(all-built-dso:=.phdr)): New static pattern rule.
23855 (generated): Add those targets.
23856 * elf/check-execstack.c: File removed.
23857
82a79e7d
RM
23858 * scripts/check-textrel.awk: New file.
23859 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23860 (check-textrel-CFLAGS): Variable removed.
23861 (all-built-dso): Use := to define.o
23862 ($(all-built-dso:=.dyn)): New static pattern rule.
23863 (generated): Add those targets.
23864 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23865 * config.make.in (READELF): New substituted variable.
23866 * elf/check-textrel.c: File removed.
23867
62fde54f 238682012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 23869
615605c9
JM
23870 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23871 allow.
23872 * conform/data/ctype.h-data [C99-based standards] (isblank):
23873 Expect function.
23874 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23875 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23876 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23877 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23878 Specify type. Require positive value.
23879 (EILSEQ): Likewise.
23880 (ERANGE): Likewise.
23881 [ISO || POSIX] (EILSEQ): Do not expect.
23882 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23883 Specify type. Require positive value.
23884 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23885 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23886 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23887 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23888 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23889 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23890 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23891 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23892 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23893 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23894 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23895 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23896 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23897 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23898 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23899 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23900 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23901 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23902 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23903 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23904 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23905 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23906 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23907 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23908 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23909 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23910 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23911 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23912 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23913 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23914 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23915 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23916 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23917 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23918 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23919 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23920 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23921 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23922 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23923 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23924 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23925 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23926 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23927 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23928 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23929 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23930 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23931 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23932 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23933 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23934 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23935 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23936 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23937 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23938 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23939 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23940 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23941 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23942 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23943 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23944 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23945 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23946 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23947 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23948 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23949 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23950 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23951 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23952 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23953 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23954 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23955 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23956 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23957 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23958 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23959 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23960 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23961 Require >= 2.
23962 (FLT_ROUNDS): Expect as macro, not constant.
23963 (FLT_MANT_DIG): Use macro-int-constant.
23964 (DBL_MANT_DIG): Likewise.
23965 (LDBL_MANT_DIG): Likewise.
23966 (FLT_DIG): Likewise.
23967 (DBL_DIG): Likewise.
23968 (LDBL_DIG): Likewise.
23969 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23970 (DBL_MIN_EXP): Likewise.
23971 (LDBL_MIN_EXP): Likewise.
23972 (FLT_MAX_EXP): Use macro-int-constant.
23973 (DBL_MAX_EXP): Likewise.
23974 (LDBL_MAX_EXP): Likewise.
23975 (FLT_MAX_10_EXP): Likewise.
23976 (DBL_MAX_10_EXP): Likewise.
23977 (LDBL_MAX_10_EXP): Likewise.
23978 (FLT_MAX): Use macro-constant.
23979 (DBL_MAX): Likewise.
23980 (LDBL_MAX): Likewise.
23981 (FLT_EPSILON): Use macro-constant. Give upper bound.
23982 (DBL_EPSILON): Likewise.
23983 (LDBL_EPSILON): Likewise.
23984 (FLT_MIN): Likewise.
23985 (DBL_MIN): Likewise.
23986 (LDBL_MIN): Likewise.
23987 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23988 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23989 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23990 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23991 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23992 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23993 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23994 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23995 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23996 [ISO11] (FLT_TRUE_MIN): Likewise.
23997 [ISO11] (LDBL_TRUE_MIN): Likewise.
23998 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23999 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24000 (SCHAR_MIN): Use macro-int-constant. Specify type.
24001 (SCHAR_MAX): Likewise.
24002 (UCHAR_MAX): Likewise.
24003 (CHAR_MIN): Likewise.
24004 (CHAR_MAX): Likewise.
24005 (MB_LEN_MAX): Use macro-int-constant.
24006 (SHRT_MIN): Use macro-int-constant. Specify type.
24007 (SHRT_MAX): Likewise.
24008 (USHRT_MAX): Likewise.
24009 (INT_MAX): Likewise.
24010 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24011 bound negative.
24012 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24013 bound with "U".
24014 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24015 bound with "L".
24016 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24017 bound negative. Suffix upper bound with "L".
24018 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24019 bound with "UL".
24020 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24021 Specify type.
24022 [C99-based standards] (LLONG_MAX): Likewise.
24023 [C99-based standards] (ULLONG_MAX): Likewise.
24024 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24025 == 0.
24026 [ISO11] (max_align_t): Require type.
24027 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24028
c9140a62
JM
24029 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24030 from $CFLAGS, without defining away __attribute__ calls.
24031 (checknamespace): Use $CFLAGS_namespace.
24032
9af0bf29
JM
24033 * conform/conformtest.pl (@keywords): Only include C99 keywords
24034 for standards based on C99 or C11.
24035
343222a2
JM
24036 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24037 Disable tests.
24038 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24039 UNIX98]: Likewise.
24040
661f8cf0
JM
24041 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24042 usability of symbols in #if.
24043
ee74b9cb
JM
24044 * conform/conformtest.pl: If macro or constant types start
24045 "promoted:", expect the symbol to be of the following type
24046 promoted by the integer promotions.
62fde54f 24047
aafc49b3
JM
24048 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24049 in one place. Also handle "macro-constant".
24050
fefdf574
JM
24051 * conform/conformtest.pl: Only accept expected macro values with
24052 "==". Parse all "macro" lines in one place.
24053 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24054
f2d922fe
JM
24055 * conform/conformtest.pl: Handle braced types on "constant" lines
24056 instead of handling "typed-constant".
24057 * conform/data/signal.h-data: Use "constant" instead of
24058 "typed-constant".
24059
d22956c9
JM
24060 * conform/conformtest.pl: Handle "optional-" at start of lines in
24061 one place rather than duplicating several cases. Handle each
24062 format of "macro" line with initial "optional-".
24063
028e2e38
JM
24064 * conform/conformtest.pl: Only accept expected constant or
24065 optional-constant values with "==". Parse all "constant" lines in
24066 one place. Parse all "optional-constant" lines in one place.
24067 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24068 * conform/data/fmtmsg.h-data: Likewise.
24069 * conform/data/netinet/in.h-data: Likewise.
24070 * conform/data/tar.h-data: Likewise.
24071 * conform/data/limits.h-data: Use "==" form on "constant" and
24072 "optional-constant" lines.
24073
1b8f2850
JM
24074 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24075 Use -std=c99 for XOPEN2K.
24076 (@knownproblems): Remove.
24077 (newtoken): Don't check %isknown.
24078
a05a144b
JM
24079 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24080 Do not expect macro.
24081 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24082 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24083 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24084 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24085 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24086 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24087 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24088 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24089 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24090 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24091 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24092 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24093 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24094 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24095 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24096 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24097 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24098 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24099 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24100 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24101 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24102 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24103 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24104 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24105 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24106 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24107 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24108 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24109 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24110 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24111 [XPG3] (acosh): Likewise.
24112 [XPG3] (asinh): Likewise.
24113 [XPG3] (atanh): Likewise.
24114 [XPG3] (cbrt): Likewise.
24115 [XPG3] (expm1): Likewise.
24116 [XPG3] (ilogb): Likewise.
24117 [XPG3] (log1p): Likewise.
24118 [XPG3] (logb): Likewise.
24119 [XPG3] (nextafter): Likewise.
24120 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24121 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24122 [XPG3] (remainder): Likewise.
24123 [XPG3] (rint): Likewise.
24124 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24125 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24126 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24127 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24128 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24129 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24130 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24131 [UNIX98 || XOPEN2K] (scalb): Expect.
24132 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24133 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24134 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24135 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24136 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24137 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24138 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24139 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24140 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24141 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24142 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24143 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24144 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24145 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24146 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24147 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24148 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24149 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24150 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24151 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24152 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24153 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24154 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24155 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24156 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24157 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24158 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24159 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24160 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24161 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24162 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24163 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24164 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24165 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24166 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24167 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24168 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24169 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24170 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24171 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24172 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24173 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24174 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24175 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24176 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24177 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24178 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24179 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24180 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24181 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24182 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24183 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24184 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24185 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24186 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24187 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24188 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24189 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24190 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24191 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24192 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24193 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24194 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24195 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24196 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24197 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24198 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24199 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24200 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24201 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24202 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24203 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24204 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24205 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24206 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24207 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24208 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24209 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24210 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24211 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24212 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24213 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24214 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24215 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24216 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24217 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24218 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24219 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24220 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24221 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24222 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24223 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24224 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24225 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24226 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24227 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24228 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24229 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24230 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24231 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24232 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24233 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24234 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24235 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24236 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24237 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24238 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24239 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24240 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24241 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24242 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24243 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24244 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24245 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24246 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24247 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24248 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24249 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24250 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24251 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24252 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24253 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24254 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24255 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24256 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24257 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24258 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24259 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24260 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24261 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24262 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24263 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24264 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24265 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24266 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24267 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24268 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24269
73c5ebe3
JM
24270 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24271 _XOPEN_SOURCE_EXTENDED for XPG4.
24272
39c33b6c
JM
24273 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24274
62fde54f
JM
24275 * Makeconfig (localtime): Remove variable.
24276 (inst_localtime-file): Likewise.
24277
0741d64c
AS
242782012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24279
24280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24281 Update.
24282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24283 Update.
24284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24285 Update.
24286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24287 Update.
24288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24289 Update.
24290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24291 Update.
24292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24293 Update.
24294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24295 Update.
24296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24297 Update.
24298
7cb029ee
JM
242992012-05-01 Joseph Myers <joseph@codesourcery.com>
24300
24301 [BZ #2550]
24302 [BZ #2570]
24303 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24304 comparisons to determine direction to adjust input.
24305 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24306 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24307 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24308 Likewise.
24309 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24310 Likewise.
24311 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24312 Likewise.
24313 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24314 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24315 Likewise.
24316 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24317 Likewise.
24318 * math/libm-test.inc (nexttoward_test): Add more tests.
24319
412bd966
AS
243202012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24321
24322 [BZ #14040]
24323 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24324 in version GLIBC_2.1, not GLIBC_2.0.
24325 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24326 Likewise.
24327
9568c0c2
JM
243282012-04-30 Joseph Myers <joseph@codesourcery.com>
24329
adfbc8ac
JM
24330 [BZ #13942]
24331 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24332 (1 - x) * (1 + x).
24333 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24334 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24335 * math/libm-test.inc (acos_test): Add more tests.
24336 (asin_test): Likewise.
24337 * sysdeps/i386/fpu/libm-test-ulps: Update.
24338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24339
5ba3cc69
JM
24340 [BZ #14034]
24341 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24342 of square root.
24343 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24344 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24345 * math/libm-test.inc (acos_test_tonearest): New function.
24346 (acos_test_towardzero): Likewise.
24347 (acos_test_downward): Likewise.
24348 (acos_test_upward): Likewise.
24349 (asin_test_tonearest): Likewise.
24350 (asin_test_towardzero): Likewise.
24351 (asin_test_downward): Likewise.
24352 (asin_test_upward): Likewise.
24353 (main): Call the new functions.
24354 * sysdeps/i386/fpu/libm-test-ulps: Update.
24355 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24356
9568c0c2
JM
24357 [BZ #13884]
24358 [BZ #13924]
24359 * math/e_exp10.c: Include <float.h>.
24360 (__ieee754_exp10): Handle underflow here rather than multiplying
24361 large negative argument by M_LN10.
24362 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24363 of __ieee754_expf.
24364 * math/e_exp10l.c: Include <float.h>.
24365 (__ieee754_exp10l): Handle underflow here rather than multiplying
24366 large negative argument by M_LN10l.
24367 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24368 spurious overflow exception on underflow.
24369
5ac3ea17
MP
243702012-04-29 Marek Polacek <polacek@redhat.com>
24371
24372 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24373 (__fortify_function): New macro.
24374 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24375 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24376 __extern_always_inline.
24377 * libio/bits/stdio2.h: Likewise.
24378 * libio/bits/stdio.h: Likewise.
24379 * string/string.h: Likewise.
24380 * string/bits/string3.h: Likewise.
24381 * include/stdio.h: Likewise.
24382 * stdlib/bits/stdlib.h: Likewise.
24383 * stdlib/stdlib.h: Likewise.
24384 * rt/bits/mqueue2.h: Likewise.
24385 * rt/mqueue.h: Likewise.
24386 * posix/bits/unistd.h: Likewise.
24387 * posix/unistd.h: Likewise.
24388 * io/bits/poll2.h: Likewise.
24389 * io/bits/fcntl2.h: Likewise.
24390 * io/fcntl.h: Likewise.
24391 * io/sys/poll.h: Likewise.
24392 * misc/bits/syslog.h: Likewise.
24393 * misc/bits/syslog-ldbl.h: Likewise.
24394 * misc/sys/syslog.h: Likewise.
24395 * socket/bits/socket2.h: Likewise.
24396 * socket/sys/socket.h: Likewise.
24397 * debug/tst-chk1.c: Likewise.
24398 * wcsmbs/bits/wchar2.h: Likewise.
24399 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24400 * wcsmbs/wchar.h: Likewise.
24401
ecf0ebfb
AJ
244022012-04-29 Andreas Jaeger <aj@suse.de>
24403
24404 * Makerules (tests): Remove enable-check-abi protection.
24405 (check-abi-warn): Remove.
24406 (check-abi-%): Remove check-abi-warn usage.
24407
24408 * configure.in: Remove check-abi configure option.
24409 * configure: Regenerated.
24410 * config.make.in (enable-check-abi): Remove.
24411
6d5c57fa
AS
244122012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24413
24c5d07e 24414 [BZ #14033]
ded5180a
AS
24415 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24416 double functions to double *_finite functions.
24417
7e0d315d
AS
24418 [BZ #13941]
24419 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24420 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24421 LDBL_MIN_EXP.
24422 * stdio-common/Makefile (tests): Add tst-sprintf3.
24423 * stdio-common/tst-sprintf3.c: New file.
24424
6d5c57fa
AS
24425 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24426 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24427
0749ff8b
JM
244282012-04-28 Joseph Myers <joseph@codesourcery.com>
24429
24430 * conform/conformtest.pl: Remove duplicate typed-constant
24431 handling.
24432
8dbd5d7b
DM
244332012-04-28 David S. Miller <davem@davemloft.net>
24434
24435 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24436 (check-abi-%): Remove AWK script prerequisite and explicit
24437 abilist directory.
24438 (check-abi): Rewrite to just diff the symlist with the abilist.
24439 (config-tls, config-abi-config): Delete, no longer used.
24440 (update-abi-%): Remove AWK script and explicit abilist directory.
24441 (update-abi): Rewrite to simply compare and conditionally copy the
24442 symlist and the sysdep abilist file. Remove update-abi-config
24443 checks.
24444 * abilist/ld.abilist: Remove.
24445 * abilist/libBrokenLocale.abilist: Remove.
24446 * abilist/libanl.abilist: Remove.
24447 * abilist/libcrypt.abilist: Remove.
24448 * abilist/libdl.abilist: Remove.
24449 * abilist/librt.abilist: Remove.
24450 * abilist/libthread_db.abilist: Remove.
24451 * abilist/libutil.abilist: Remove.
24452 * scripts/extract-abilist.awk: Remove.
24453 * scripts/merge-abilist.awk: Remove.
24454 * sysdeps/generic/libcidn.abilist: New file.
24455 * sysdeps/generic/libnss_compat.abilist: New file.
24456 * sysdeps/generic/libnss_db.abilist: New file.
24457 * sysdeps/generic/libnss_dns.abilist: New file.
24458 * sysdeps/generic/libnss_files.abilist: New file.
24459 * sysdeps/generic/libnss_hesiod.abilist: New file.
24460 * sysdeps/generic/libnss_nis.abilist: New file.
24461 * sysdeps/generic/libnss_nisplus.abilist: New file.
24462 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24463 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24464 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24465 file.
24466 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24467 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24468 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24469 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24470 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24471 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24472 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24473 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24474 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24475 file.
24476 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24477 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24478 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24479 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24480 file.
24481 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24482 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24483 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24484 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24485 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24486 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24487 file.
24488 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24489 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24490 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24491 file.
24492 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24493 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24494 New file.
24495 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24496 New file.
24497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24498 New file.
24499 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24500 New file.
24501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24502 New file.
24503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24504 New file.
24505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24506 New file.
24507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24508 New file.
24509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24510 New file.
24511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24512 New file.
24513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24514 New file.
24515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24516 New file.
24517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24518 New file.
24519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24520 file.
24521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24522 New file.
24523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24524 New file.
24525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24526 file.
24527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24528 New file.
24529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24530 New file.
24531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24532 file.
24533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24534 New file.
24535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24536 New file.
24537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24538 New file.
24539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24540 New file.
24541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24542 New file.
24543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24544 New file.
24545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24547 file.
24548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24549 New file.
24550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24551 file.
24552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24553 file.
24554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24555 file.
24556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24557 file.
24558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24559 file.
24560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24561 New file.
24562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24563 file.
24564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24565 file.
24566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24567 New file.
24568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24569 file.
24570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24572 file.
24573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24574 New file.
24575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24576 file.
24577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24578 file.
24579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24580 file.
24581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24582 file.
24583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24584 file.
24585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24586 New file.
24587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24588 file.
24589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24590 file.
24591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24592 New file.
24593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24594 file.
24595 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24596 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24597 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24598 file.
24599 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24600 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24601 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24602 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24603 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24604 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24605 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24606 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24607 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24608 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24611 file.
24612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24613 New file.
24614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24615 file.
24616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24617 file.
24618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24619 file.
24620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24621 file.
24622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24623 file.
24624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24625 New file.
24626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24627 New file.
24628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24629 file.
24630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24631 New file.
24632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24633 file.
24634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24636 file.
24637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24638 New file.
24639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24640 file.
24641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24642 file.
24643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24644 file.
24645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24646 file.
24647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24648 file.
24649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24650 New file.
24651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24652 New file.
24653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24654 file.
24655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24656 New file.
24657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24658 file.
24659
41d73a1b
JM
246602012-04-28 Joseph Myers <joseph@codesourcery.com>
24661
24662 * conform/conformtest.pl: Fix typo in handling typed-constant from
24663 allow-header.
24664
28aeeda4
JM
246652012-04-27 Joseph Myers <joseph@codesourcery.com>
24666
adae8f5e
JM
24667 * README: Cut down references to pre-2.6 Linux kernels and
24668 Linuxthreads. Update lists of configurations in libc and ports
24669 and sort alphabetically. Say "or newer" with Linux kernel version
24670 requirements.
24671
28aeeda4
JM
24672 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24673
a462cb63
RA
246742012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24675
24676 [BZ #887]
24677 * math/libm-test.inc (logb_test_downward): New test to expose
24678 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24679 rounding mode.
24680
6ad3493e
JM
246812012-04-27 Joseph Myers <joseph@codesourcery.com>
24682
24683 [BZ #14027]
24684 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24685 to be done.
24686 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24687 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24688
2ce4f015
JM
246892012-04-26 Joseph Myers <joseph@codesourcery.com>
24690
5aeb141a
JM
24691 * sysdeps/unix/i386/brk.S: Remove file.
24692 * sysdeps/unix/i386/dl-brk.S: Likewise.
24693 * sysdeps/unix/i386/pipe.S: Likewise.
24694 * sysdeps/unix/i386/sigreturn.S: Likewise.
24695 * sysdeps/unix/i386/syscall.S: Likewise.
24696 * sysdeps/unix/i386/vfork.S: Likewise.
24697 * sysdeps/unix/i386/wait.S: Likewise.
24698
7143acae
JM
24699 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24700 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24701
2ce4f015
JM
24702 * configure.in (arm*-none*): Do not allow without
24703 --enable-hacker-mode.
24704 (netbsd*): Remove case setting base_os.
24705 (386bsd*): Likewise.
24706 (freebsd*): Likewise.
24707 (bsdi*): Likewise.
24708 (osf*): Likewise.
24709 (sunos*): Likewise.
24710 (ultrix*): Likewise.
24711 (newsos*): Likewise.
24712 (dynix*): Likewise.
24713 (*bsd*): Likewise.
24714 (sysv*): Likewise.
24715 (isc*): Likewise.
24716 (esix*): Likewise.
24717 (sco*): Likewise.
24718 (minix*): Likewise.
24719 (irix4*): Likewise.
24720 (irix6*): Likewise.
24721 (solaris[2-9]*): Likewise.
24722 (none): Likewise.
24723 * configure: Regenerated.
24724
0ac229c8
AZ
247252012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24726
24727 [BZ #11521]
24728 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24729 overflow or cancellation in calculating denominator.
24730 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24731 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24732 down expression to avoid unexpected rounding in newer GCCs.
24733 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24734
33f244f4
DM
247352012-04-26 David S. Miller <davem@davemloft.net>
24736
24737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24738 long-double compat symbols.
24739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24752
cfa1f3e8
DM
247532012-04-25 David S. Miller <davem@davemloft.net>
24754
24755 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24756 HWCAP_* values only after the memory barriers have been defined.
24757 (atomic_full_barrier): Define.
24758 (atomic_read_barrier): Define.
24759 (atomic_write_barrier): Define.
24760
6e236b92
SP
247612012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24762
24763 * shlib-versions: Add libgcc_s version information.
24764 * sysdeps/generic/libgcc_s.h: Remove.
24765 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24766 libgcc_s.h.
24767 * sysdeps/gnu/unwind-resume.c: Likewise.
24768 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24769
aab39a09
DM
247702012-04-25 David S. Miller <davem@davemloft.net>
24771
24772 * sysdeps/unix/sparc/brk.S: Delete.
24773 * sysdeps/unix/sparc/dl-brk.S: Delete.
24774 * sysdeps/unix/sparc/pipe.S: Delete.
24775 * sysdeps/unix/sparc/sysdep.S: Delete.
24776 * sysdeps/unix/sparc/sysdep.h: Delete.
24777 * sysdeps/unix/sparc/vfork.S: Delete.
24778 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24779 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24780 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24781 ret_ERRVAL, r0, r1, MOVE): Define.
24782 (JUMPTARGET): Remove.
24783 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24784 sysdeps/unix/sparc/sysdep.h
24785 (ENTRY, END): Remove.
24786 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24787
a3cc4f48
JM
247882012-04-25 Joseph Myers <joseph@codesourcery.com>
24789
2ed8cda2
JM
24790 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24791 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24792 -DIS_IN_build.
24793
35d76d59
JM
24794 * timezone/README: Update upstream location and email address for
24795 tzcode and tzdata.
24796 * timezone/zdump.c: Update from tzcode 2012b.
24797 * timezone/zic.c: Likewise.
24798
a3cc4f48
JM
24799 * configure.in (libc_cv_as_needed): Remove test.
24800 * configure: Regenerated.
24801 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24802 conditional definition.
24803 [$(have-as-needed) != yes] (no-as-needed): Likewise.
24804 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24805 * config.make.in (have-as-needed): Remove variable.
24806
ceab42c3
SP
248072012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24808 Paul Pluzhnikov <ppluzhnikov@google.com>
24809
24810 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24811 strings correctly.
24812
3ce2865f
CLT
248132012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
24814
24815 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24816 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24817 * sysdeps/sh/strlen.S: Likewise.
24818
f37e0d68
JM
248192012-04-24 Joseph Myers <joseph@codesourcery.com>
24820
ae186e9a
JM
24821 * sysdeps/unix/fork.S: Remove file.
24822 * sysdeps/unix/i386/fork.S: Likewise.
24823 * sysdeps/unix/sparc/fork.S: Likewise.
24824
b96914af
JM
24825 * sysdeps/unix/system.c: Remove file.
24826 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24827
f37e0d68
JM
24828 * sysdeps/unix/getegid.S: Remove file.
24829 * sysdeps/unix/geteuid.S: Likewise.
24830
87ef29ca
RM
248312012-04-24 Roland McGrath <roland@hack.frob.com>
24832
83bcd236
RM
24833 * scripts/check-localplt.awk: New file.
24834 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24835 of diff.
24836 * scripts/data/localplt-generic.data: Add a comment.
24837
87ef29ca
RM
24838 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24839 NODE when __dir_mkfile failed.
24840 * sysdeps/mach/hurd/symlinkat.c: Likewise.
24841 Reported by Ludovic Courtès <ludo@gnu.org>.
24842
e5a6e567
AJ
248432012-04-24 Andreas Jaeger <aj@suse.de>
24844
24845 * Makerules (common-clean): Also remove gen-as-const-headers
24846 files.
24847
c1820385
JM
248482012-04-24 Joseph Myers <joseph@codesourcery.com>
24849
24850 * Makerules (native-compile): Do not change working directory for
24851 build. Use $(OUTPUT_OPTION) in command.
24852 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24853
94e02fc4
AZ
248542012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24855
24856 [BZ #13886]
24857 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24858 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24859 * math/libm-test.inc (floor_test): Add more tests.
24860 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24861
3a533ca3
JM
248622012-04-24 Joseph Myers <joseph@codesourcery.com>
24863
940ab4b3
JM
24864 * sysdeps/unix/getdents.c: Remove file.
24865 * sysdeps/unix/sysv/getdents.c: Likewise.
24866 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24867
90e037bd
JM
24868 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24869 sysdeps/unix/mman/syscalls.list.
24870 (mmap): Likewise.
24871 (mprotect): Likewise.
24872 (msync): Likewise.
24873 (munmap): Likewise.
24874 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24875 * sysdeps/unix/mman/syscalls.list: Remove.
24876 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24877
3a533ca3
JM
24878 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24879 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24880 * configure: Regenerated.
24881 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24882 $(libgcc_s_suffix).
24883 * config.make.in (libgcc_s_suffix): Remove variable.
24884
1ad743de
JM
248852012-04-23 Joseph Myers <joseph@codesourcery.com>
24886
4ad451e2
JM
24887 * sysdeps/unix/sysv/gethostname.c: Move to ...
24888 * sysdeps/posix/gethostname.c: ... here.
24889
5e37ce39
JM
24890 * sysdeps/unix/execve.S: Remove file.
24891
1ad743de
JM
24892 * sysdeps/unix/_exit.S: Remove file.
24893
4e681b5b
AJ
248942012-04-23 Andreas Jaeger <aj@suse.de>
24895
24896 [BZ #13739]
24897 * manual/Makefile: Remove make dist support, there's no
24898 need for a stand-alone documentation tar ball.
24899 (TEXI2DVI): Define always, it's not in Makeconfig.
24900 (dist): Removed.
24901 (tar-it): Removed.
24902 (edition): Removed.
24903 (glibc-doc-$(edition).tar): Removed
24904 (%.Z): Removed.
24905 (%.gz): Removed.
24906 (%.uu): Removed.
24907 (ETAGS): Remove, it's in Makeconfig.
24908 (move-if-change): Remove, it's in Makeconfig.
24909
38686a03 249102012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
24911
24912 [BZ #13970]
24913 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24914 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24915 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24916 (strtod_l, strtof_l, strtold_l): Remove __wur.
24917 It is not necessarily an error to ignore strtol's return value.
24918 One can reliably look at the stored endptr to decide whether
24919 the number had valid syntax.
24920
7c0616fa
AJ
249212012-04-21 Andreas Jaeger <aj@suse.de>
24922
803cb6b7 24923 [BZ #13739]
7c0616fa
AJ
24924 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24925
b0fe253f
JM
249262012-04-21 Joseph Myers <joseph@codesourcery.com>
24927
24928 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24929 * sysdeps/unix/sysv/Versions: Remove file.
24930
8280f22d
MT
249312012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24932
24933 [BZ #13927]
24934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24935
75ce411f 249362012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
24937
24938 [BZ #7064]
24939 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24940 version from __vm86.
24941
097d59fa
JM
249422012-04-20 Joseph Myers <joseph@codesourcery.com>
24943
a90f3bcb
JM
24944 * sysdeps/unix/common/lxstat.c: Remove file.
24945 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24946
edc7ea78
JM
24947 * sysdeps/unix/sysv/Makefile: Remove file.
24948
cb78c221
JM
24949 * sysdeps/unix/sysv/direct.h: Remove file.
24950
efa6a45f
JM
24951 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24952 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24953 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24954 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24955 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24956 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24957 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24958
9c9f2d0c
JM
24959 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24960
4541c83b
JM
24961 * sysdeps/unix/xmknod.c: Remove file.
24962 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24963
f5d153a0
JM
24964 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24965
aa746595
JM
24966 * sysdeps/unix/sysv/i386/time.S: Remove file.
24967
cce5905e
JM
24968 * sysdeps/unix/fxstat.c: Remove file.
24969 * sysdeps/unix/xstat.c: Likewise.
24970 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24971
37fa3841
JM
24972 * sysdeps/unix/sysv/sigaction.c: Remove file.
24973
ff1962a3
JM
24974 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24975 (sysdep_headers): Remove variable.
24976 [termio.h not in sysdep_headers] (generated): Likewise.
24977 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24978 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24979 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24980 * sysdeps/unix/sysv/tcflow.c: Likewise.
24981 * sysdeps/unix/sysv/tcflush.c: Likewise.
24982 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24983 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24984 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24985 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24986 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24987
e7740d31
JM
24988 * sysdeps/unix/siglist.c: Remove file.
24989
ee06f18b
JM
24990 * sysdeps/unix/getppid.S: Remove file.
24991
097d59fa
JM
24992 * sysdeps/unix/mkdir.c: Remove file.
24993 * sysdeps/unix/rmdir.c: Likewise.
24994
ff3d51ec
AS
249952012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24996
24997 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24998 ERR_MAX value.
24999 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25000 errlist-compat value.
25001
50f81fd7
DM
250022012-04-18 David S. Miller <davem@davemloft.net>
25003
25004 * sysdeps/generic/memcopy.h (reg_char): Delete.
25005 * debug/strcat_chk.c: Use char, not reg_char.
25006 * debug/strcpy_chk.c: Likewise.
25007 * debug/strncat_chk.c: Likewise.
25008 * debug/strncpy_chk.c: Likewise.
25009 * string/memchr.c: Likewise.
25010 * string/memrchr.c: Likewise.
25011 * string/rawmemchr.c: Likewise.
25012 * string/strcat.c: Likewise.
25013 * string/strchr.c: Likewise.
25014 * string/strchrnul.c: Likewise.
25015 * string/strcmp.c: Likewise.
25016 * string/strcpy.c: Likewise.
25017 * string/strncat.c: Likewise.
25018 * string/strncmp.c: Likewise.
25019 * string/strncpy.c: Likewise.
25020
8ff41c46
WS
250212012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25022
25023 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25024 __builtin_memcopy is called when src and dest ranges are known to not
25025 overlap.
25026
6b652f46
WS
250272012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25028
25029 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25030 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25031 fwd_align_merge macro call.
25032 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25033 bwd_align_merge macro call.
25034 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25035
b282631e
WS
250362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25037
25038 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25039 bwd_align_merge macros.
25040 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25041 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25042 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25043
95aa737c
DM
250442012-04-18 David S. Miller <davem@davemloft.net>
25045
25046 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25047
7a99a614
AJ
250482012-04-18 Andreas Jaeger <aj@suse.de>
25049
25050 [BZ# 6794]
25051 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25052 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25053 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25054
25055 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25056 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25057 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25058
25059 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25060 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25061 Adjust for changed ldbl-128 files.
25062
25063 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25064 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25065 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25066
e5270c23
DM
250672012-04-17 David S. Miller <davem@davemloft.net>
25068
25069 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25070
fb5e92c9
AS
250712012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25072
25073 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25074 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25075 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25076 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25077 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25078 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25079
76da7265
AZ
250802012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25081
25082 [BZ #6794]
25083 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25084 * math/libm-test.inc: Add ilogb errno and exception tests.
25085 * math/w_ilogb.c: New file: ilogb wrapper.
25086 * math/w_ilogbf.c: New file: ilogbf wrapper.
25087 * math/w_ilogbl.c: New file: ilogbl wrapper.
25088 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25089 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25090 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25091 exception being thrown with 0.0 as argument.
25092 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25093 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25094 exception being thrown with 0.0 as argument.
25095 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25096 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25097 exception being thrown with 0.0 as argument.
25098 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25099 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25100 exception being thrown with 0.0 as argument.
25101 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25102 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 25103 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
25104 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25105 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25106 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25107 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25108 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25109 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25110
0396e69d
PB
251112012-04-17 Petr Baudis <pasky@ucw.cz>
25112
25113 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25114 with altivec.
25115
750b5926
MP
251162012-04-16 Marek Polacek <polacek@redhat.com>
25117
25118 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25119
751728a1
MP
251202012-04-16 Marek Polacek <polacek@redhat.com>
25121
25122 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25123 operands of fdivp instruction.
25124
34a27407
L
251252012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25126
25127 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25128 * elf/tst-auditmod3b.c: Likewise.
25129 * elf/tst-auditmod4b.c: Likewise.
25130 * elf/tst-auditmod5b.c: Likewise.
25131 * elf/tst-auditmod6b.c: Likewise.
25132 * elf/tst-auditmod6c.c: Likewise.
25133 * elf/tst-auditmod7b.c: Likewise.
25134 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25135 * sysdeps/x86_64/preconfigure.in: Likewise.
25136 * sysdeps/x86_64/preconfigure: Regenerated.
25137
7e73e17d
L
251382012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25139
25140 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25141 __ILP32__.
25142
c7a6ab72
AB
251432012-04-13 Antoine Balestrat <merkil33@gmail.com>
25144
25145 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25146 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25147
a9e8e0e0
CL
251482012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25149
25150 [BZ #13973]
25151 * locale/iso-639.def: Fix gl language name. Spotted by
25152 Yaron Shahrabani.
25153
ec98af7d
RM
251542012-04-12 Roland McGrath <roland@hack.frob.com>
25155
25156 [BZ #2074]
25157 * libio/libio.h (__io_write_fn): Update comment.
25158
247c3ede
PB
251592012-04-12 Petr Baudis <pasky@ucw.cz>
25160
25161 [BZ #2074]
25162 * stdio.texi (Hook Functions): The user provided writer function
25163 is not allowed to return -1.
25164
55939d6d
DM
251652012-04-11 David S. Miller <davem@davemloft.net>
25166
25167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25168
90020f5a
MF
251692012-04-11 Mike Frysinger <vapier@gentoo.org>
25170
25171 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25172 Add a leading slash to rtkaio.
25173
288f9098
JM
251742012-04-11 Jim Meyering <meyering@redhat.com>
25175
90020f5a
MF
25176 [BZ #11959]
25177 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25178 It is not necessarily an error to ignore fwrite's return
25179 value. One can reliably use ferror to test for errors after
25180 the fact.
288f9098 25181
4be2b570
L
251822012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25183
25184 * bits/types.h (__snseconds_t): New type.
25185 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25186
25187 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25188 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25189 (__SNSECONDS_T_TYPE): Likewise.
25190 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25191 (__SNSECONDS_T_TYPE): Likewise.
25192 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25193 (__SNSECONDS_T_TYPE): Likewise.
25194
288f9098 251952012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
25196
25197 [BZ #2636]
25198 * manual/time.texi (Processor Time): Return type of times is
25199 elapsed real time since an arbitrary point in the past.
25200 (CPU Time): Move CLK_TCK from here...
25201 (Processor Time): ...to here. Correct description.
25202 * manual/conf.texi (Constants for Sysconf): Correct description of
25203 _SC_CLK_TCK.
25204
d7dd4413
DM
252052012-04-10 David S. Miller <davem@davemloft.net>
25206
25207 [BZ #13967]
25208 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25209 where the is a gap between DT_REL(A) and DT_JMPREL.
25210
b46068fc
L
252112012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25212
25213 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25214 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25215 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25216
73d65cc3
SP
252172012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25218
25219 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25220 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25221 (dl_main): Handle --inhibit-cache.
25222 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25223 _dl_inhibit_cache.
25224 * elf/dl-load.c (_dl_map_object): Use it.
25225 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25226
bcc8d661
JM
252272012-04-09 Joseph Myers <joseph@codesourcery.com>
25228
8f9a2fae
JM
25229 [BZ #13872]
25230 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25231 (__ieee754_powl): Saturate large exponents rather than testing for
25232 overflow of y*log2(x).
25233 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25234 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25235 exceptions.
25236
bcc8d661
JM
25237 [BZ #11521]
25238 * math/s_ctan.c: Include <float.h>.
25239 (__ctan): Avoid internal overflow or cancellation in calculating
25240 denominator.
25241 * math/s_ctanf.c: Likewise.
25242 * math/s_ctanl.c: Likewise.
25243 * math/s_ctanh.c: Likewise.
25244 * math/s_ctanhf.c: Likewise.
25245 * math/s_ctanhl.c: Likewise.
25246 * math/libm-test.inc (ctan_test): Add more tests.
25247 (ctanh_test): Likewise.
25248 * sysdeps/i386/fpu/libm-test-ulps: Update.
25249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25250
823fbbb4
AJ
252512012-04-09 Andreas Jaeger <aj@suse.de>
25252
03879793
AJ
25253 [BZ #6894]
25254 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25255 is an optional BSD extension.
25256
823fbbb4
AJ
25257 [BZ #10254]
25258 * manual/stdio.texi (Opening Streams): Document additional fopen
25259 parameters.
25260
8de131cb
RM
252612012-04-09 Roland McGrath <roland@hack.frob.com>
25262
25263 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25264 %eax without telling the compiler.
25265
c0ed9d7d
CD
252662012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25267
25268 [BZ # 13963]
25269 * manual/install.texi: Use sourceware.org.
25270
c483f6b4
JM
252712012-04-09 Joseph Myers <joseph@codesourcery.com>
25272
d7dd9453
JM
25273 [BZ #13873]
25274 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25275 (__ieee754_pow): Generate overflow and underflow using huge*huge
25276 and tiny*tiny rather than just returning constant infinity or zero
25277 for large exponents.
25278 * math/libm-test.inc (pow_test): Require overflow exceptions for
25279 applicable cases of large exponents.
25280
c483f6b4
JM
25281 [BZ #706]
25282 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25283 (__ieee754_pow): Use iterative multiplication algorithm only for
25284 integer exponents with absolute value below 1024. Check for odd
25285 integer exponents when using algorithm for real exponents.
25286 * math/libm-test.inc (pow_test): Add more tests.
25287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25288
d2de7579
JM
252892012-04-08 Joseph Myers <joseph@codesourcery.com>
25290
25291 [BZ #13705]
25292 * math/libm-test.inc (exp_test): Do not allow overflow exception
25293 on underflow test.
25294
f77f1232
AJ
252952012-04-08 Aurelien Jarno <aurelien@aurel32.net>
25296
25297 [BZ #13705]
25298 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25299 instead of __kernel_standard_f.
25300
3884932b
MF
253012012-04-08 Mike Frysinger <vapier@gentoo.org>
25302
25303 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25304 * sysdeps/x86_64/memset_chk.S: Likewise.
25305
54472e9c
AJ
253062012-04-08 Andreas Jaeger <aj@suse.de>
25307
6ab0fbfc
AJ
25308 [BZ #10153]
25309 * manual/startup.texi (Environment Access): Describe return value
25310 for putenv and setenv.
25311
61efba8c
AJ
25312 [BZ #6895]
25313 * manual/filesys.texi (Directory Entries): Add description for
25314 DT_LNK.
25315
95c3f29a
AJ
25316 [BZ #6890]
25317 * manual/filesys.texi (Directory Entries): Clarify that it's file
25318 system not operating system in the description of DT_UNKNOWN.
25319
54472e9c
AJ
25320 [BZ #6578]
25321 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25322
624254b1
SC
253232012-04-08 Stephen Compall <s11@member.fsf.org>
25324
25325 [BZ #6649]
25326 * manual/llio.texi (Opening and Closing Files): Add cross
25327 reference to explain mode argument.
25328
1e4920e0
MF
253292012-04-07 Mike Frysinger <vapier@gentoo.org>
25330
25331 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25332 * sysdeps/x86_64/memset_chk.S: Likewise.
25333
5ed848f3
DM
253342012-04-07 David S. Miller <davem@davemloft.net>
25335
25336 * elf/elf.h (R_SPARC_WDISP10): Define.
25337 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25338 R_SPARC_SIZE32.
25339 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25340 R_SPARC_SIZE64 and R_SPARC_H34.
25341
96154cd8
CD
253422012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25343
25344 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25345 conditions and remove no longer applicable assertion.
25346
9904dc47
L
253472012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25348
25349 * bits/byteswap.h: Include <features.h>.
25350 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25351 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25352
f8887d0a
L
253532012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25354
25355 * bits/byteswap.h (__bswap_16): Removed.
25356 Include <bits/byteswap-16.h> to get __bswap_16.
25357 * sysdeps/i386/bits/byteswap.h: Likewise.
25358 * sysdeps/s390/bits/byteswap.h: Likewise.
25359 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25360 * bits/byteswap-16.h: New file.
25361 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25362 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25363 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25364 * string/Makefile (headers): Add bits/byteswap-16.h.
25365
62470f60
PP
253662012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25367
25368 [BZ #13895]
25369 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25370 extra indirection.
25371 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25372 * nss/tst-nss-static.c: New.
25373
4dad7bab
RM
253742012-04-06 Robert Millan <rmh@gnu.org>
25375
25376 [BZ #6486]
25377 * manual/llio.texi (File Position Primitive): lseek
25378 refers to WHENCE when it really means OFFSET.
25379
e9142a17
AJ
253802012-04-06 Andreas Jaeger <aj@suse.de>
25381
2c040eff
AJ
25382 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25383 strncmp declarations.
25384
e9142a17
AJ
25385 * abilist/libc.abilist: Add __poll and __ppoll.
25386
ff9f1c5f
DM
253872012-04-05 David S. Miller <davem@davemloft.net>
25388
dcd2ae90
DM
25389 * scripts/check-local-headers.sh: Accept a host triplet in the
25390 path matched by the exclude regexp.
25391
993eb054
DM
25392 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25393 definition.
25394 * sysdeps/powerpc/powerpc32/dl-machine.h
25395 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25396 * sysdeps/s390/s390-32/dl-machine.h
25397 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25398 * sysdeps/sparc/sparc32/dl-machine.h
25399 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25400 * sysdeps/sparc/sparc64/dl-machine.h
25401 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25402
ff9f1c5f
DM
25403 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25404 lazy binding.
48e2e132 25405 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
25406 undefined symbol errors.
25407
48e2e132 25408 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
25409 DT_NEEDED entries.
25410
e80d6f94
MM
254112012-04-05 Michael Matz <matz@suse.de>
25412
25413 [BZ #13592]
25414 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25415
349fa79f
AJ
254162012-04-05 Andreas Jaeger <aj@suse.de>
25417
25418 [BZ #13908]
25419 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25420 comment.
25421
f402708f
KK
254222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25423
25424 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25425 which ROUND is no valid rounding mode.
25426
2ecccfc9
KK
254272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25428
25429 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25430 read again.
25431 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25432
8a53f50f
KK
254332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25434
25435 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25436 an exception using FPU order intentionally.
25437
254382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25439
25440 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25441 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25442 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25443 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25444
d653abb7
SJ
254452012-04-05 Simon Josefsson <simon@josefsson.org>
25446
25447 [BZ #12340]
25448 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25449 EINVAL when BUFLEN is too smal.
25450
c3b1bf7d
TS
254512012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25452
25453 [BZ #13553]
25454 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25455 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25456
b1aa60f3
AJ
254572012-04-03 Andreas Jaeger <aj@suse.de>
25458
c3b1bf7d 25459 [BZ #13938]
67f60a26
AJ
25460 * manual/setjmp.texi (System V contexts): Fix sentence.
25461
b1aa60f3
AJ
25462 [BZ #13926]
25463 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25464 New macro for this case.
25465 [!__GNUC__] (__bswap_64): New inline function for this case.
25466 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25467 * bits/byteswap.h: Likewise.
25468 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25469 ull, guard with __GLIBC_HAVE_LONG_LONG.
25470
25471 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25472 __GLIBC_HAVE_LONG_LONG.
25473
25474 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25475 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25476
39c59c35
TMQMF
254772012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25478
25479 [BZ #13691]
25480 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25481 inptr and inend, rather than using last_ch.
25482
135ffda8
DM
254832012-04-02 David S. Miller <davem@davemloft.net>
25484
25485 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25486 * stdio-common/printf-parse.h (read_int): Change return type to
25487 'int', return -1 on INT_MAX overflow.
25488 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25489 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25490 overflows INT_MAX. Check for overflow of in-format-string precision
25491 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25492 SIZE_MAX not INT_MAX for integer overflow test.
25493 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25494 skip the construct in the format string but do not record anything.
25495 * stdio-common/bug22.c: Adjust to test both width/prevision
25496 INT_MAX overflow as well as total length INT_MAX overflow. Check
25497 explicitly for proper errno values.
25498
228c019e
TS
254992012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25500
302cadd3
TS
25501 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25502 CHAR_MAX.
25503 * string/test-strcmp.c [! WIDE]: Likewise.
25504 * time/tst-mktime2.c: Likewise for INT_MAX.
25505 * string/test-string.h: #include <sys/param.h> for MIN.
25506
228c019e
TS
25507 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25508 * sysdeps/i386/init-first.c (init): Likewise.
25509 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25510 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25511 * sysdeps/sh/init-first.c (init): Likewise.
25512
cfa633f5
UD
255132012-04-01 Ulrich Drepper <drepper@gmail.com>
25514
25515 * po/ru.po: Update from translation team.
d1635ef8 25516 * po/vi.po: Likewise.
cfa633f5 25517
6cd0a5ea
SP
255182012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25519
25520 * resolv/nss_dns/dns-host.c: Merge copyright years.
25521
4b43400f
LD
255222012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25523
25524 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25525 Optimize memcpy with prefetch if
25526 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25527 src, dst pointers have unequal 16 byte alignments.
25528
48c41d04
SP
255292012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25530
25531 [BZ #13928]
25532 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25533 from a CNAME entry and return the minimum ttl for the query.
25534 (gaih_getanswer_slice): Likewise.
25535
b8dc394d
JL
255362012-03-30 Jeff Law <law@redhat.com>
25537
25538 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25539 due to long keys.
25540 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25541 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25542
2f5a5ed0
JL
25543 * resolv/nss_dns/dns-host.c: Update copyright year.
25544
1d39e359
UD
255452012-03-30 Ulrich Drepper <drepper@gmail.com>
25546
c030f70c 25547 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 25548 requests to save a system call. Fix check that all bytes are sent.
c030f70c 25549
1d39e359
UD
25550 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25551 comments for sendmmsg.
25552
255532012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
25554
25555 [BZ #13691]
25556 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25557 with only 1 character between 0x0041 and 0x01b0.
25558 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25559 * wcsmbs/tst-mbsnrtowcs.c: New file.
25560
20fde227
DM
255612012-03-29 David S. Miller <davem@davemloft.net>
25562
25563 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25564 small copies by hand.
25565
984a4237
JL
255662012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25567
25568 [BZ #13761]
25569 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25570 _nss_compat_initgroups_dyn): Fall back to malloc/free
25571 for large group memberships.
25572
18c9d62b
DM
255732012-03-28 David S. Miller <davem@davemloft.net>
25574
88d85d4f
DM
25575 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25576 that branches into memcpy.
25577 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25578 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25579 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25580 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25581 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25582 bits.
25583 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25584 implementation too.
25585 * sysdeps/sparc/mempcpy.S: New file.
25586
e5aa83e1
DM
25587 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25588 the IFUNC routine in the libc case.
25589 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25590
88570753
DM
25591 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25592 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25593 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25594 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25595 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25596 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25597 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25598 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25599
249d7567
DM
25600 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25601 loop to 256 bytes instead of 64 bytes and fix test signedness.
25602
18c9d62b
DM
25603 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25604 * sysdeps/sparc/sparc32/Makefile: rather than here...
25605 * sysdeps/sparc/sparc64/Makefile: and here.
25606
05f3d1f6
UD
256072012-03-28 Ulrich Drepper <drepper@gmail.com>
25608
25609 * malloc/mallocbug.c: Avoid warnings about unused variables.
25610
86ae07a8
JL
256112012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25612
25613 [BZ #13760]
25614 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25615 in the right place. Discard and retry query if response is
25616 larger than input buffer size.
25617
41bf21a1
JM
256182012-03-28 Joseph Myers <joseph@codesourcery.com>
25619
d6270972
JM
25620 [BZ #369]
25621 [BZ #2678]
25622 [BZ #3866]
25623 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25624 x for large integer exponent.
25625 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25626 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25627 sign of result as needed afterwards.
25628 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25629 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25630 result for underflowing pow the same as for overflow.
25631 (__kernel_standard_l): Handle powl overflow and underflow here
25632 rather than calling __kernel_standard.
25633 * math/libm-test.inc (pow_test): Add more tests.
25634
414fca03 25635 [BZ #3868]
41bf21a1
JM
25636 [BZ #13879]
25637 [BZ #13910]
25638 [BZ #13911]
25639 [BZ #13912]
25640 [BZ #13913]
25641 [BZ #13915]
25642 [BZ #13916]
25643 [BZ #13917]
25644 [BZ #13918]
25645 [BZ #13919]
25646 [BZ #13920]
25647 [BZ #13921]
25648 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25649 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25650 (__kernel_standard_l): New function.
25651 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25652 __kernel_standard.
25653 * math/w_acosl.c (__acosl): Likewise.
25654 * math/w_asinl.c (__asinl): Likewise.
25655 * math/w_atan2l.c (__atan2l): Likewise.
25656 * math/w_atanhl.c (__atanhl): Likewise.
25657 * math/w_coshl.c (__coshl): Likewise.
25658 * math/w_exp10l.c (__exp10l): Likewise.
25659 * math/w_exp2l.c (__exp2l): Likewise.
25660 * math/w_fmodl.c (__fmodl): Likewise.
25661 * math/w_hypotl.c (__hypotl): Likewise.
25662 * math/w_j0l.c (__j0l, __y0l): Likewise.
25663 * math/w_j1l.c (__j1l, __y1l): Likewise.
25664 * math/w_jnl.c (__jnl, __ynl): Likewise.
25665 * math/w_lgammal.c (__lgammal): Likewise.
25666 * math/w_log10l.c (__log10l): Likewise.
25667 * math/w_log2l.c (__log2l): Likewise.
25668 * math/w_logl.c (__logl): Likewise.
25669 * math/w_powl.c (__powl): Likewise.
25670 * math/w_remainderl.c (__remainderl): Likewise.
25671 * math/w_scalbl.c (sysv_scalbl): Likewise.
25672 * math/w_sinhl.c (__sinhl): Likewise.
25673 * math/w_sqrtl.c (__sqrtl): Likewise.
25674 * math/w_tgammal.c (__tgammal): Likewise.
25675 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25676 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25677 * math/libm-test.inc (acos_test): Add more tests.
25678 (acosh_test): Likewise.
25679 (asin_test): Likewise.
25680 (atanh_test): Likewise.
25681 (exp_test): Likewise.
25682 (exp10_test): Likewise.
25683 (exp2_test): Likewise.
25684 (expm1_test): Likewise.
25685 (lgamma_test): Likewise.
25686 (log_test): Likewise.
25687 (log10_test): Likewise.
25688 (log1p_test): Likewise.
25689 (log2_test): Likewise.
25690 (pow_test): Do not allow some spurious overflow exceptions.
25691 (sqrt_test): Add more tests.
25692 (tgamma_test): Likewise.
25693 (y0_test): Likewise.
25694 (y1_test): Likewise.
25695 (yn_test): Likewise.
25696
dd62fda6
AB
256972012-03-27 Anton Blanchard <anton@samba.org>
25698
25699 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25700 MAP_HUGETLB.
25701 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25702 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25703 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25704
1e3cdfda
AJ
257052012-03-27 David S. Miller <davem@davemloft.net>
25706
b855ab85
DM
25707 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25708
1e3cdfda
AJ
25709 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25710 have-as-vis3 check.
25711
257122012-03-27 Andreas Jaeger <aj@suse.de>
25713
25714 * sysdeps/x86_64/elf/configure.in: Moved to ...
25715 * sysdeps/x86_64/configure.in: ... here.
25716 * sysdeps/x86_64/elf/start.S: Moved to ...
25717 * sysdeps/x86_64/start.S: ... here.
25718 * sysdeps/x86_64/elf/configure: Delete.
25719
25720 * sysdeps/x86_64/configure.in: Merge contents from
25721 sysdeps/i386/configure.in (without i686 check).
25722
25723 * sysdeps/i386/elf/Versions: Merge into ...
25724 * sysdeps/i386/Versions: ... this.
25725 * sysdeps/i386/elf/Versions: Delete file.
25726 * sysdeps/i386/elf/start.S: Moved to ...
25727 * sysdeps/i386/start.S: ...here.
25728 * sysdeps/i386/elf/configure.in: Merge into...
25729 * sysdeps/i386/configure.in: ...here.
25730 * sysdeps/i386/elf/configure.in: Delete file.
25731 * sysdeps/i386/elf/configure: Delete file.
25732
25733 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25734 * debug/backtracesyms.c: ... here.
25735 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25736 * debug/backtracesymsfd.c: ... here.
25737 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25738 * sysdeps/generic/ifunc-sel.h: ... here.
25739
25740 * sysdeps/unix/i386/start.c: Delete file.
25741 * sysdeps/unix/sparc/start.c: Delete file.
25742 * sysdeps/unix/start.c: Delete file.
25743
25744 * sysdeps/sh/elf/configure.in: Moved to ...
25745 * sysdeps/sh/configure.in: ... here.
25746 * sysdeps/sh/elf/start.S: Moved to ...
25747 * sysdeps/sh/start.S: ... here.
25748 * sysdeps/sh/elf/configure: Delete file.
25749
25750 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25751 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25752 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25753 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25754 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25755 * sysdeps/powerpc/powerpc64/start.S: here.
25756 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25757 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25758 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25759 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25760 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25761
25762 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25763 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25764 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25765 * sysdeps/powerpc/powerpc32/start.S: ... here.
25766 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25767 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25768 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25769
25770 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25771 * sysdeps/powerpc/ifunc-sel.h: ... here.
25772 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25773 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25774
25775 * sysdeps/sparc/elf/configure.in: Moved to ...
25776 * sysdeps/sparc/configure.in: ... here.
25777 * sysdeps/sparc/elf/configure: Delete file.
25778 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25779 * sysdeps/sparc/sparc32/start.S: ... here.
25780 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25781 * sysdeps/sparc/sparc64/start.S: ... here.
25782 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25783 * sysdeps/sparc/sparc32/Makefile: ... this.
25784 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25785 * sysdeps/sparc/sparc64/Makefile: ... this.
25786
25787 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25788 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25789 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25790 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25791 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25792 * sysdeps/s390/s390-32/setjmp.S: ... here.
25793 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25794 * sysdeps/s390/s390-32/configure.in: ... here.
25795 * sysdeps/s390/s390-32/elf/configure: Delete file.
25796 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25797 * sysdeps/s390/s390-32/start.S: ... here.
25798
25799 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25800 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25801 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25802 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25803 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25804 * sysdeps/s390/s390-64/setjmp.S: ... here.
25805 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25806 * sysdeps/s390/s390-64/configure.in: ... here
25807 * sysdeps/s390/s390-64/elf/configure: Delete file.
25808 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25809 * sysdeps/s390/s390-64/start.S: ... here.
25810 * sysdeps/s390/s390-64/elf/configure: Delete.
25811
25812 * configure.in: Remove support for elf directories in sysdeps.
25813
25814 * configure: Regenerated.
25815 * sysdeps/i386/configure: Regenerated.
25816 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25817 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25818 * sysdeps/s390/s390-32/configure: Regenerated.
25819 * sysdeps/s390/s390-64/configure: Regenerated.
25820 * sysdeps/sh/configure: Regenerated.
25821 * sysdeps/sparc/configure: Regenerated.
25822 * sysdeps/x86_64/configure: Regenerated.
25823
a3f61311
AS
258242012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25825
c876e002
AS
25826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25827
a3f61311
AS
25828 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25829 denormal result into account.
25830
ac4c54f0
RM
258312012-03-25 Roland McGrath <roland@hack.frob.com>
25832
25833 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25834 Reported by Allan McRae <allan@archlinux.org>.
25835
6a9b9c02
JL
258362012-03-23 Jeff Law <law@redhat.com>
25837
25838 * nss/getnssent.c (__nss_getent): Fix typo.
25839
4c42a0c1
DM
258402012-03-23 David S. Miller <davem@davemloft.net>
25841
25842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25843
1532c7ac
L
258442012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25845
25846 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25847 to pad to uint64_t for each field.
25848 (dl_tls_index): Replace unsigned long with uint64_t.
25849
3ff42526
PP
258502012-03-23 Daniel Jacobowitz <dmj@google.com>
25851 Paul Pluzhnikov <ppluzhnikov@google.com>
25852
25853 [BZ #6528]
25854 * grp/Makefile (otherlibs): Don't set it.
25855 * inet/Makefile (otherlibs): Likewise.
25856 * login/Makefile (otherlibs): Likewise.
25857 * nscd/Makefile (otherlibs): Likewise.
25858 * posix/Makefile (otherlibs): Likewise.
25859 * pwd/Makefile (otherlibs): Likewise.
25860 * rt/Makefile (otherlibs): Likewise.
25861 * sunrpc/Makefile (otherlibs): Likewise.
25862 * nss/Makefile (otherlibs): Likewise.
25863 Add libnss_files to routines and static-only-routines.
25864 ($(objpfx)getent): Remove rule.
25865 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25866 static-only-routines.
25867
7c69cd14
JM
258682012-03-22 Joseph Myers <joseph@codesourcery.com>
25869
25870 [BZ #13892]
25871 * math/s_cexp.c: Include <float.h>.
25872 (__cexp): Handle exp result overflowing not necessarily
25873 overflowing both real and imaginary parts of result.
25874 * math/s_cexpf.c: Likewise.
25875 * math/s_cexpl.c: Likewise.
25876 * math/libm-test.inc (cexp_test): Add more tests.
25877 * sysdeps/i386/fpu/libm-test-ulps: Update.
25878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25879
81b035fe
L
258802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25881
25882 * include/link.h (ELFW): New macro.
25883 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25884 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25885
1da7940c
L
258862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25887
25888 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25889 with uint64_t.
25890
b749dbb9
L
258912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25892
25893 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25894 declaration.
25895 (struct La_x32_retval): Likewise.
25896
2ff87f3f
L
258972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25898
25899 * sysdeps/x86_64/preconfigure.in: New file.
25900 * sysdeps/x86_64/preconfigure: New generated file.
25901
c0df8e69
JM
259022012-03-22 Joseph Myers <joseph@codesourcery.com>
25903
48e44791
JM
25904 [BZ #13824]
25905 * math/e_exp2l.c: Include <float.h>.
25906 (__ieee754_exp2l): Handle overflow and underflow cases
25907 separately. Only pass fractional part of argument to
25908 __ieee754_expl.
25909 * math/libm-test.inc (exp2_test): Add more tests.
25910
c0df8e69
JM
25911 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25912 negating x to take absolute value.
25913 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25914 Likewise.
25915 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25916 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25917 Likewise.
25918 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25919 computing low part if x was negated.
25920 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25921
c8e43ba7
L
259222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25923
25924 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25925 la_x32_gnu_pltexit.
25926 (pltexit): Cast int_retval to ptrdiff_t.
25927 * elf/tst-auditmod3b.c: Likewise.
25928 * elf/tst-auditmod4b.c: Likewise.
25929 * elf/tst-auditmod5b.c: Likewise.
25930 * elf/tst-auditmod6b.c: Likewise.
25931 * elf/tst-auditmod6c.c: Likewise.
25932 * elf/tst-auditmod7b.c: Likewise.
25933
25934 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25935 and x32_gnu_pltexit.
25936
25937 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25938 __ELF_NATIVE_CLASS.
25939 (La_x32_regs): New macro.
25940 (La_x32_retval): Likewise.
25941 (la_x32_gnu_pltenter): New function prototype.
25942 (la_x32_gnu_pltexit): Likewise.
25943
7998fa78
AS
259442012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25945
dcb33988
AS
25946 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25947 exponent.
25948
233fc563
AS
25949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25950
7998fa78
AS
25951 * configure.in (libc_cv_cc_nofma): Check for option to disable
25952 generation of FMA instructions.
25953 * configure: Regenerate.
25954 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25955 * sysdeps/ieee754/dbl-64/Makefile: New file.
25956 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25957 Remove brandred-fma4.
25958 (CFLAGS-brandred-fma4.c): Remove.
25959 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25960 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25961 define.
25962 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25963 define.
25964
8e95c99a
L
259652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25966
25967 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25968 LLONG_MAX != LONG_MAX.
25969 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25970 (_fitoa_word): Likewise.
25971 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25972 LLONG_MAX != LONG_MAX.
25973 * stdio-common/_itowa.h: Include <_itoa.h>.
25974 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25975 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25976 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25977 only if not defined.
25978 (_ITOA_WORD_TYPE): Likewise.
25979 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25980 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25981
6f4db457
DM
259822012-03-21 David S. Miller <davem@davemloft.net>
25983
25984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25985
7785fe5a
L
259862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25987
25988 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25989 of x86_64 when setting libc_cv_slibdir, libdir and
25990 libc_cv_localedir.
25991 * sysdeps/unix/sysv/linux/configure: Regenerated.
25992
4535cd55
JM
259932012-03-21 Joseph Myers <joseph@codesourcery.com>
25994
25995 * manual/lang.texi (Old Varargs): Remove section.
25996 (How Variadic): Update menu.
25997 (va_start): Do not mention varargs.h.
25998
17228132
TS
259992012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26000 Joseph Myers <joseph@codesourcery.com>
26001
26002 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26003 link test.
26004 * configure: Regenerated.
26005
8149f976
TS
260062012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26007
05f3d1f6
UD
26008 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26009 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26010 conformtest.pl
8149f976 26011
1a4ac776
JM
260122012-03-21 Joseph Myers <joseph@codesourcery.com>
26013
be22ce65
JM
26014 * NOTES: Remove.
26015 * Makefile (files-for-dist): Remove NOTES.
26016 (NOTES): Remove rule.
26017 * README: Don't refer to NOTES.
26018 * manual/creature.texi: Don't include macros.texi.
26019 * manual/intro.texi (creature.texi): Remove comment referring to
26020 NOTES.
26021
40b601fb
JM
26022 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26023 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26024 * configure: Regenerated.
26025 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26026 LIBC_TRY_CC_OPTION.
26027 (libc_cv_as_i686): Likewise.
26028 (libc_cv_cc_avx): Likewise.
26029 (libc_cv_cc_sse2avx): Likewise.
26030 (libc_cv_cc_fma4): Likewise.
26031 (libc_cv_cc_novzeroupper): Likewise.
26032 * sysdeps/i386/configure: Regenerated.
26033
1a4ac776
JM
26034 [BZ #13883]
26035 * sysdeps/i386/fpu/s_cexp.S: Remove.
26036 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26037 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26038 * math/libm-test.inc (cexp_test): Add more tests.
26039 * sysdeps/i386/fpu/libm-test-ulps: Update.
26040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26041
a458e7fe
AM
260422012-03-21 Allan McRae <allan@archlinux.org>
26043
26044 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26045
0cb7efc5
JM
260462012-03-21 Joseph Myers <joseph@codesourcery.com>
26047
26048 [BZ #13871]
26049 * math/w_exp2.c: Do not include <float.h>.
26050 (o_threshold, u_threshold): Remove.
26051 (__exp2): Calculate result before checking finiteness and calling
26052 __kernel_standard.
26053 * math/w_exp2f.c: Likewise.
26054 * math/w_exp2l.c: Likewise.
26055 * math/libm-test.inc (exp2_test): Require overflow exception for
26056 1e6 input.
2460d3aa
JM
26057
26058 [BZ #3866]
26059 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26060 range of signed 64-bit integers before using fistpll. Remove
26061 checks for whether integers fit in mantissa bits.
26062 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26063 the range of signed 32-bit integers before using fistpl. Remove
26064 checks for whether integers fit in mantissa bits.
26065 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26066 (__ieee754_powl): Test for y outside the range of signed 64-bit
26067 integers before using fistpll. Reduce 64-bit values to 63-bit
26068 ones as needed.
26069 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26070 divide-by-zero is raised for zero to large negative powers.
26071 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26072 (__ieee754_powl): Test for y outside the range of signed 64-bit
26073 integers before using fistpll. Reduce 64-bit values to 63-bit
26074 ones as needed.
26075 * math/libm-test.inc (pow_test): Add more tests.
26076
eb96ffb0
L
260772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26078
26079 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26080 <stdio-common/_itoa.h>.
26081 * debug/segfault.c: Likewise.
26082 * elf/dl-cache.c: Likewise.
26083 * elf/dl-minimal.c: Likewise.
26084 * elf/dl-misc.c: Likewise.
26085 * elf/dl-sysdep.c: Likewise.
26086 * elf/dl-version.c: Likewise.
26087 * elf/rtld.c: Likewise.
26088 * hurd/hurdsock.c: Likewise.
26089 * hurd/lookup-retry.c: Likewise.
26090 * malloc/malloc.c: Likewise.
26091 * malloc/mtrace.c: Likewise.
26092 * nscd/nscd_getgr_r.c: Likewise.
26093 * nscd/nscd_getpw_r.c: Likewise.
26094 * nscd/nscd_getserv_r.c: Likewise.
26095 * posix/getopt_init.c: Likewise.
26096 * posix/wordexp.c: Likewise.
26097 * stdio-common/_itoa.c: Likewise.
26098 * stdio-common/printf_fphex.c: Likewise.
26099 * stdio-common/vfprintf.c: Likewise.
26100 * string/_strerror.c: Likewise.
26101 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26102 * sysdeps/i386/i686/hp-timing.h: Likewise.
26103 * sysdeps/mach/_strerror.c: Likewise.
26104 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26105 * sysdeps/mach/hurd/sethostid.c: Likewise.
26106 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26107 * sysdeps/mach/xpg-strerror.c: Likewise.
26108 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26109 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26110 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26111 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26112 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26113 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26114 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26115 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26116 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26117 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26118 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26119 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26120 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26121 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26122 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26123 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26124 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26125 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26126 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26127 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26128 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26129
26130 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26131
26132 * stdio-common/_itoa.h: Moved to ...
26133 * sysdeps/generic/_itoa.h: Here.
26134
26135 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26136
26137 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26138 instead of "_itoa.h" and "_itowa.h".
26139 * stdio-common/vfprintf.: Likewise.
26140
d1af992d
L
261412012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26142
26143 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26144 <bits/wordsize.h>.
26145 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26146 (__signbit): Likwise.
26147 (llrintf): Likwise.
26148 (llrint): Likwise.
26149
114883e0
L
261502012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26151
26152 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26153 __WORDSIZE != 64.
26154
c135cc1b
JM
261552012-03-20 Joseph Myers <joseph@codesourcery.com>
26156
26157 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26158 OVERFLOW_EXCEPTION_OK.
26159 * math/libm-test.inc ("Philosophy"): Update comment about
26160 exception testing.
26161 (OVERFLOW_EXCEPTION): Define.
26162 (OVERFLOW_EXCEPTION_OK): Likewise.
26163 (INVALID_EXCEPTION_OK): Renumber.
26164 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26165 (IGNORE_ZERO_INF_SIGN): Likewise.
26166 (test_exceptions): Handle FE_OVERFLOW.
26167 (exp10_test): Expect overflow exceptions.
26168 (exp2_test): Likewise.
26169 (expm1_test): Likewise.
26170 (nextafter_test): Likewise.
26171 (pow_test): Likewise.
26172 (scalbn_test): Likewise.
26173 (scalbln_test): Likewise.
26174
95443d88
L
261752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26176
26177 * sysdeps/x86_64/bits/atomic.h
26178 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26179 64bit integer.
26180 (atomic_exchange_acq): Likewise.
26181 (__arch_exchange_and_add_body): Likewise.
26182 (__arch_add_body): Likewise.
26183 (atomic_add_negative): Likewise.
26184 (atomic_add_zero): Likewise.
26185
490df6c4
L
261862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26187
c2722551 26188 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
26189 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26190
5e52b189
L
261912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26192
26193 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26194 Check __x86_64__ instead of __WORDSIZE.
26195
a9879d4c
L
261962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26197
26198 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26199
5df98260
DM
262002012-03-19 David S. Miller <davem@davemloft.net>
26201
e1497744
DM
26202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26203
5df98260
DM
26204 * sysdeps/sparc/fpu/fenv_private.h: New file.
26205 * sysdeps/sparc/fpu/math_private.h: Use it.
26206 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26207 Remove.
26208 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26209 (libc_feholdexcept_setroundl): Remove.
26210 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26211 Remove.
26212 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26213 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26214
b4c35121
L
262152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26216
26217 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26218 int64_t instead of long int.
26219 (INSERT_WORDS64): Likwise.
26220
56965fd7
L
262212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26222
26223 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26224 _Unwind_GetCFA return to _Unwind_Ptr first.
26225
83d1aec8
JM
262262012-03-19 Joseph Myers <joseph@codesourcery.com>
26227
1897ad44
JM
26228 [BZ #13629]
26229 * math/s_clog.c: Include <float.h>.
26230 (__clog): Scale large or subnormal inputs.
26231 * math/s_clogf.c: Likewise.
26232 * math/s_clogl.c: Likewise.
26233 * math/s_clog10.c: Include <float.h>.
26234 (M_LOG10_2): Define.
26235 (__clog10): Scale large or subnormal inputs.
26236 * math/s_clog10f.c: Likewise.
26237 * math/s_clog10l.c: Likewise.
26238 * math/libm-test.inc (clog_test): Add more tests.
26239 (clog10_test): Likewise.
26240 * sysdeps/i386/fpu/libm-test-ulps: Update.
26241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26242
7726d6a9
JM
26243 [BZ #11451]
26244 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26245 x and y.
26246 * math/libm-test.inc (atan2_test): Add another test.
26247
83d1aec8
JM
26248 * Makerules (common-objdir-compile): Remove.
26249 * sysdeps/unix/Makefile (config-generated): Do not add
26250 $(unix-generated) to variable.
26251 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26252 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26253 Remove rule.
26254 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26255 Likewise.
26256 [generic bits/local_lim.h] (before-compile): Do not append to
26257 variable.
26258 [generic bits/local_lim.h] (common-generated): Likewise.
26259 [generic sys/param.h] (before-compile): Do not append to variable.
26260 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26261 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26262 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26263 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26264 include.
26265 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26266 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26267 [generic sys/param.h] ($(addprefix
26268 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26269 [generic sys/param.h] (common-generated): Do not append to
26270 variable.
26271 [generic sys/param.h] (sysdep_headers): Likewise.
26272 [generic bits/errno.h] (before-compile): Do not append to
26273 variable.
26274 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26275 rule.
26276 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26277 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26278 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26279 [generic bits/errno.h] (common-generated): Do not append to
26280 variable.
26281 [generic bits/ioctls.h] (before-compile): Do not append to
26282 variable.
26283 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26284 rule.
26285 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26286 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26287 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26288 rule.
26289 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26290 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26291 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26292 [generic bits/ioctls.h] (common-generated): Do not append to
26293 variable.
26294 [generic sys/syscall.h] (syscall.h): Remove variable.
26295 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26296 rule.
26297 [generic sys/syscall.h] (before-compile): Do not append to
26298 variable.
26299 [generic sys/syscall.h] (common-generated): Likewise.
26300 * sysdeps/unix/errnos-tmpl.c: Remove file.
26301 * sysdeps/unix/errnos.awk: Likewise.
26302 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26303 * sysdeps/unix/ioctls.awk: Likewise.
26304 * sysdeps/unix/mk-local_lim.c: Likewise.
26305 * sysdeps/unix/snarf-ioctls: Likewise.
26306
4851a949
RH
263072012-03-19 Richard Henderson <rth@twiddle.net>
26308
bd37f2ee
RH
26309 * sysdeps/i386/fpu/fenv_private.h: New file.
26310 * sysdeps/i386/fpu/math_private.h: Use it.
26311 (math_opt_barrier, math_force_eval): Remove.
26312 (libc_feholdexcept_setround_53bit): Remove.
26313 (libc_feupdateenv_53bit): Remove.
26314 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26315 (math_opt_barrier, math_force_eval): Remove.
26316 (libc_feholdexcept): Remove.
26317 (libc_feholdexcept_setround): Remove.
26318 (libc_fetestexcept, libc_fesetenv): Remove.
26319 (libc_feupdateenv_test): Remove.
26320 (libc_feupdateenv, libc_feholdsetround): Remove.
26321 (libc_feresetround): Remove.
26322
d0adc922
RH
26323 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26324 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26325
0fe0f1f8
RH
26326 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26327 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26328 (libc_feupdateenv_testl): New.
26329 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26330 (libc_feupdateenv_testf): New.
26331 (libc_feupdateenv): Use libc_feupdateenv_test.
26332 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26333 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26334
eb92c487
RH
26335 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26336 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26337 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26338 (libc_feresetround_noex): New.
26339 (libc_feresetround_noexf): New.
26340 (libc_feresetround_noexl): New.
26341 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26342 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26343 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26344 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26345 SET_RESTORE_ROUND.
26346 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26347 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26348 (__cos): Likewise.
26349 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26350 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26351 SET_RESTORE_ROUND_NOEX.
26352 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26353 SET_RESTORE_ROUND_NOEXF.
26354 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26355 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26356 (libc_feholdsetroundf): New.
26357 (libc_feresetround, libc_feresetroundf): New.
26358
7d2e8012
RH
26359 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26360 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26361 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26362
b4dabbb4
RH
26363 * sysdeps/generic/math_private.h: Include <fenv.h>.
26364 (default_libc_feholdexcept): New.
26365 (default_libc_feholdexcept_setround): New.
26366 (default_libc_fesetenv, default_libc_feupdateenv): New.
26367 (libc_feholdexcept): Only define if undefined.
26368 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26369 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26370 (libc_feholdexcept_setroundl): Likewise.
26371 (libc_feholdexcept_setround_53bit): Likewise.
26372 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26373 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26374 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26375 (libc_feupdateenv_53bit): Likewise.
26376 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26377 (libc_feholdexcept): Convert from macro to inline function.
26378 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26379 (libc_fesetenv, libc_feupdateenv): Likewise.
26380
4851a949
RH
26381 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26382 not previously defined.
26383 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26384 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26385 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26386 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26387 * sysdeps/ieee754/flt-32/math_private.h: New file.
26388 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26389 math_private.h below SET_FLOAT_WORD.
26390 (__isnan, __isinf_ns, __finite): Remove.
26391 (__isnanf, __isinf_nsf, __finitef): Remove.
26392
e79d442e
AS
263932012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26394
26395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26396
90b80344
DM
263972012-03-17 David S. Miller <davem@davemloft.net>
26398
26399 [BZ #6471]
26400 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26401 for 2.16.
26402
edc21804
DM
264032012-03-16 David S. Miller <davem@davemloft.net>
26404
77e927af
DM
26405 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26406 warnings.
26407
374976dd
DM
26408 [BZ #6471]
26409 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26410 properly.
26411 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26412 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26413 sysdep_routines when subdir is sysvipc.
26414 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26415 __getshmlba helper.
26416
edc21804
DM
26417 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26418
473c3ef3
L
264192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26420
26421 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26422 [__LP64__].
26423
eb0f39b6
L
264242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26425
26426 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26427 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26428 (__lround): Renamed to ...
26429 (__llround): This. Replace long int with long long int.
26430 Define lround functions as aliases of llround functions.
26431 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26432
6b6cd74b
L
264332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26434
26435 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26436 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26437 adresses to uintptr_t. Replace "long int" and "unsigned long
26438 int" with "greg_t" on va_arg.
26439
f1a77b01
L
264402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26441
26442 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26443 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26444
26445 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26446 Move e_machine check before EI_CLASS check. Handle x32
26447 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26448 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26449 SKIP_EM_IA_64 and include
26450 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26451
26452 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26453 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26454 (add_system_dir): New macro.
26455
26456 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26457 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26458
11b90b9f
JM
264592012-03-16 Joseph Myers <joseph@codesourcery.com>
26460
c36e1d23
JM
26461 [BZ #2551]
26462 [BZ #2552]
26463 [BZ #2553]
26464 [BZ #2554]
26465 [BZ #2562]
26466 [BZ #2563]
26467 [BZ #2565]
26468 [BZ #2566]
26469 [BZ #2576]
26470 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26471 (y0): Likewise.
26472 * math/w_j0f.c (j0f): Likewise.
26473 (y0f): Likewise.
26474 * math/w_j0l.c (__j0l): Likewise.
26475 (__y0l): Likewise.
26476 * math/w_j1.c (j1): Likewise.
26477 (y1): Likewise.
26478 * math/w_j1f.c (j1f): Likewise.
26479 (y1f): Likewise.
26480 * math/w_j1l.c (__j1l): Likewise.
26481 (__y1l): Likewise.
26482 * math/w_jn.c (jn): Likewise.
26483 (yn): Likewise.
26484 * math/w_jnf.c (jnf): Likewise.
26485 (ynf): Likewise.
26486 * math/w_jnl.c (__jnl): Likewise.
26487 (__ynl): Likewise.
26488 * math/libm-test.inc (j0_test): Add more tests.
26489 (j1_test): Likewise.
26490 (jn_test): Likewise. Add trailing semicolon to existing test.
26491 (y0_test): Likewise.
26492 (y1_test): Likewise.
26493 * sysdeps/i386/fpu/libm-test-ulps: Update.
26494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26495
11b90b9f
JM
26496 [BZ #13851]
26497 [BZ #13854]
26498 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26499 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26500 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26501 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26502 (__tanl): Set errno for infinite argument.
26503 * sysdeps/i386/fpu/mptan.c: Remove.
26504 * sysdeps/i386/fpu/s_tan.S: Likewise.
26505 * sysdeps/i386/fpu/s_tanl.S: Likewise.
26506 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26507 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26508 * math/libm-test.inc (tan_test): Add more tests and enable more
26509 tests for double and long double.
26510 * sysdeps/i386/fpu/libm-test-ulps: Update.
26511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26512
6a1bd2a1
JK
265132012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26514
26515 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26516 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26517
10a803e0
RM
265182012-03-16 Roland McGrath <roland@hack.frob.com>
26519
26520 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26521 * configure.in: Use it for both main tree and add-ons.
26522 * configure: Regenerated.
26523
f196c7f7
L
265242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26525
26526 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26527
8848d99d
JM
265282012-03-16 Joseph Myers <joseph@codesourcery.com>
26529
96cbe7f4
JM
26530 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26531 in comment.
26532
8848d99d
JM
26533 [BZ #13851]
26534 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26535 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26536 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26537 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26538 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26539 infinite argument.
26540 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26541 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26542 != 0 for prec == 2.
26543 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26544 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26545 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26546 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26547 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26548 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26549 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26550 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26551 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26552 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26553 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26554 * math/libm-test.inc (cos_test): Add more tests and enable more
26555 tests for long double.
26556 (sin_test): Likewise.
26557 (sincos_test): Likewise.
26558 * sysdeps/i386/fpu/libm-test-ulps: Update.
26559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26560
dd7f4703
DM
265612012-03-16 David S. Miller <davem@davemloft.net>
26562
26563 * sysdeps/sparc/fpu/math_private.h: New file.
26564
006f1daa
DM
265652012-03-15 David S. Miller <davem@davemloft.net>
26566
c0c83bc8
DM
26567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26568 file.
e6a62e18 26569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
26570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26571 file.
e6a62e18
DM
26572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26577 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26578 sysdep routines.
26579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26580
88cb87d9
DM
26581 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26582 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26583
006f1daa 26584 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
26585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26586 sparc-ifunc.h
006f1daa 26587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
26588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26589 Likewise.
26590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26591 Likewise.
006f1daa
DM
26592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
26595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26596 Likewise.
006f1daa
DM
26597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
26601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26602 Likewise.
26603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26604 Likewise.
006f1daa
DM
26605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26609 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26610 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26611 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26612 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26614 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26615 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26616 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26619 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26620 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26623 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26624 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26625 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26626 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26627 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26628 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26629
11e0098e
AS
266302012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26631
26632 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26633 scaling.
26634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26635
e85b09d0
AJ
266362012-03-15 Andreas Jaeger <aj@suse.de>
26637
26638 [BZ #13852]
26639 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26640 ieee754/flt-32 implementation for sin, cos and sincos.
26641 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26642 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26643 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26644 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26645 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26646 ieee754/flt-32 implementation for tan.
26647
26648 * math/libm-test.inc (cos_test): Enable some large input tests for
26649 float as well
26650 (sin_test): Likewise.
26651 (sincos_test): Likewise.
26652 (tan_test): Add tests for large input.
26653
26654 * sysdeps/i386/fpu/libm-test-ulps: Update.
26655
81c64153
AJ
266562012-03-15 Andreas Jaeger <aj@suse.de>
26657
26658 [BZ #13658]
26659 * math/libm-test.inc (cos_test): Add more test cases.
26660 (sin_test): Likewise.
26661 (sincos_test): Likewise.
26662
7bbfa5c6
AJ
266632012-03-15 Andreas Jaeger <aj@suse.de>
26664
26665 [BZ #13837]
26666 * math/libm-test.inc (cos_test): Add a test case for large input
26667 value.
26668 (sin_test): Likewise.
26669 (sincos_test): Likewise.
26670
266712012-03-15 Andreas Jaeger <aj@suse.de>,
26672 Joseph Myers <joseph@codesourcery.com>
26673
26674 [BZ #13658]
0671f479 26675 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
26676 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26677 * sysdeps/i386/fpu/branred.c: Likewise.
26678 * sysdeps/i386/fpu/dosincos.c: Likewise.
26679 * sysdeps/i386/fpu/mpa.c: Likewise.
26680 * sysdeps/i386/fpu/s_cos.S: Likewise.
26681 * sysdeps/i386/fpu/s_sin.S: Likewise.
26682 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26683 * sysdeps/i386/fpu/sincos32.c: Likewise.
26684
26685 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26686 Define.
26687 (libc_feupdateenv_53bit): Define.
26688 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26689 Define.
26690 (libc_feupdateenv_53bit): Define.
26691
26692 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26693 53 bit (without extend i386 double precision).
26694
26695 * math/libm-test.inc (sincos_test): Add tests for large input.
26696 (sin): Likewise.
26697 (cos): Likewise.
26698
26699 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26700
9cad04ea
AS
267012012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26702
26703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26704
f7062b9a
DM
267052012-03-15 David S. Miller <davem@davemloft.net>
26706
26707 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26708 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26709 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26710 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
26722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26723 file.
f7062b9a 26724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
26725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26726 file.
f7062b9a 26727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
26728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26729 file.
f7062b9a 26730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
26731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26732 file.
f7062b9a
DM
26733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26734 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26735 fmin/fmax sysdep routines.
26736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26737
7bd951ff
DM
267382012-03-14 David S. Miller <davem@davemloft.net>
26739
559398ab
DM
26740 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26741 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26742 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26743 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26744 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26745 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26746 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26747 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26748 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26749 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26750 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26751 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26756 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26757 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26760 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26761 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26762 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26763 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26764 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26765 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26766 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26767 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26768 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26769 routines.
26770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26771 file.
559398ab 26772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
26773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26774 file.
559398ab 26775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
26776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26777 file.
559398ab 26778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
26779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26780 file.
559398ab 26781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
26782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26783 file.
559398ab 26784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
26785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26786 file.
26787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26788 file.
26789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26790 file.
26791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26792 file.
26793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26794 New file.
26795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26796 file.
26797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26798 file.
559398ab 26799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
26800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26801 file.
559398ab 26802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26804 file.
559398ab 26805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
26806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26807 file.
559398ab 26808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
26809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26810 VIS3 routines.
559398ab
DM
26811
26812 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26813 New file.
26814
5a1c1e32
DM
26815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26816
eae47a36
DM
26817 * sysdeps/sparc/configure.in: New file.
26818 * sysdeps/sparc/configure: Generate.
26819 * configure.in (libc_cv_sparc_as_vis3): Substitute.
26820 * configure: Regenerate.
26821 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26822 * config.make.in (have-as-vis3): New.
26823 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26824 available use -Av9d instead of -Av9a.
26825 * sysdeps/sparc/sparc64/Makefile: Likewise.
26826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
26827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26828 New file.
26829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26830 file.
26831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26832 New file.
26833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26834 file.
eae47a36
DM
26835 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26836 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26837 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26838 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26839 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26840
c0c83bc8
DM
26841 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26842 fzeros/fnegs to load 0x80000000 into a float register instead of
26843 using the stack.
7bd951ff
DM
26844 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26845
bd951ccb
JM
268462012-03-14 Joseph Myers <joseph@codesourcery.com>
26847
26848 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26849 bits/syscall.h.
26850 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26851 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26852 ($(inst_includedir)/bits/syscall.h): Remove rule.
26853 ($(objpfx)bits/syscall.d): Include instead of
26854 $(objpfx)syscall-list.d.
26855 (generated): Change syscall-list.h and syscall-list.d to
26856 bits/syscall.h and bits/syscall.d.
26857
bb4e6db2
RM
268582012-03-14 Roland McGrath <roland@hack.frob.com>
26859
26860 [BZ #13846]
26861 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26862
aa4a2ae1
JM
268632012-03-14 Joseph Myers <joseph@codesourcery.com>
26864
e456826d
JM
26865 [BZ #13841]
26866 * math/s_csqrt.c: Include <float.h>.
26867 (__csqrt): Scale large or subnormal inputs.
26868 * math/s_csqrtf.c: Likewise.
26869 * math/s_csqrtl.c: Likewise.
26870 * math/libm-test.inc (csqrt_test): Add more tests.
26871 * sysdeps/i386/fpu/libm-test-ulps: Update.
26872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26873
aa4a2ae1
JM
26874 [BZ #13840]
26875 * math/libm-test.inc (hypot_test): Add more tests.
26876
7c10fd35
DM
268772012-03-13 David S. Miller <davem@davemloft.net>
26878
26879 [BZ #13840]
26880 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26881 double-precision for the calculation instead of scaling.
26882
f453b98b
JM
268832012-03-13 Joseph Myers <joseph@codesourcery.com>
26884
26885 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26886 manipulate bits before adding and subtracting TWO52[sx].
26887 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26888 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26889 Likewise.
26890 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26891
09a3453f
DM
268922012-03-13 David S. Miller <davem@davemloft.net>
26893
8e59da90
DM
26894 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26895 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26896 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26897 rtld-global-offsets.h
26898 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26899
2a8ab7f2
DM
26900 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26901 large parameters.
26902
10f62770
DM
26903 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26904
5f0bdb18
DM
26905 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26906 'err' in the ifdef scope in which it is actually used.
26907
09a3453f
DM
26908 * nss/nss_db/db-init.c: Include string.h
26909
b4b2eb5e
DM
269102012-03-12 David S. Miller <davem@davemloft.net>
26911
98bb2f1c
DM
26912 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26913 masking out of the most significant byte of random value used.
26914 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26915 Fix coding style in previous change.
26916
b4b2eb5e
DM
26917 * sysdeps/unix/sysv/linux/kernel-features.h
26918 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26919 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26920 expression.
26921 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26922 later.
26923
6e226b09
DM
269242012-03-11 David S. Miller <davem@davemloft.net>
26925
a1bcbd40
DM
26926 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26927 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26928 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26929 for 'resultvar' otherwise things get truncated on 64-bit.
26930
cb9d6174
DM
26931 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26932 Fix masking out of the most significant byte of random value used.
26933
6e226b09
DM
26934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26935
058c132d
AS
269362012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26937
26938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26939
2d2cd515
DM
269402012-03-09 David S. Miller <davem@davemloft.net>
26941
26942 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26943 variables with appropriate CPP guards.
26944 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26945 frame pointer, not the stack pointer. Correct layout comments. Fix test
26946 on resulting framesize and the management of the outregs buffer for pltexit.
26947 Preserve floating point return values across _dl_call_pltexit call.
26948 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26949 framesize and the management of the outregs buffer for pltexit.
26950 Preserve floating point return values across _dl_call_pltexit
26951 call.
26952 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26953 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26954 (print_exit): Fix format string for return register value.
26955
9a07f9d0
JM
269562012-03-10 Joseph Myers <joseph@codesourcery.com>
26957
26958 * sunrpc/Makefile (others): Add rpcgen.
26959 ($(objpfx)rpcgen): Remove special build rule and dependency on
26960 libc.
26961 * sunrpc/rpcgen.c: New file.
26962
547b5e30
PE
269632012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26964
c524201a
PE
26965 [BZ #13673]
26966 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26967 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26968 * sysdeps/i386/crti.S: Likewise.
26969 * sysdeps/i386/crtn.S: Likewise.
26970 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26971 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26972 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26973 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26974 * sysdeps/sh/crti.S: Likewise.
26975 * sysdeps/sh/crtn.S: Likewise.
26976 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26977
7b6235f2
PE
26978 [BZ #13673]
26979 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26980 with URL.
26981 * locale/programs/locfile-kw.gperf: Likewise.
26982 * locale/programs/charmap-kw.h: Regenerated.
26983 * locale/programs/locfile-kw.h: Likewise.
26984
547b5e30
PE
26985 [BZ #13673]
26986 * intl/plural.y: Replace FSF snail mail address with URL.
26987 * intl/plural.c: Regenerated.
26988
5f0a5dae
RH
269892012-03-09 Richard Henderson <rth@twiddle.net>
26990
26991 * include/math_private.h: Remove file.
26992 * math/math_private.h: Move file ...
26993 * sysdeps/generic/math_private.h: ... here.
26994
b8c03620
RH
26995 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26996 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26997 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26998
4e234f5d 26999 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
27000 and <math_private.h>.
27001 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27002 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27003 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27004 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27005 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27006 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27007 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27008 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27009 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27010 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27011 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27012 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27013 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27014 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27015 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27016 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27017 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27018 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27019 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27020 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27021 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27022 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27023 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27024 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27025 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27026 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27027 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27028 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27029 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27030 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27031 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27032 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27033 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27034 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27035 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27036 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27037 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27038 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27039 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27040 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27041 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27042 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27043 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27044 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27045 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27046 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27047 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27048 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27049 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27050 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27051 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27052 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27053 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27054 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27055 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27056 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27057 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27058 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27059 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27060 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27061 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27062 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27063 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27064 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27065 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27066 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27067 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27068 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27069 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27070 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27071 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27072 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27073 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27074 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27075 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27076 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27077 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27078 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27079 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27080 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27081 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27082 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27083 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27084 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27085 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27086 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27087 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27088 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27089 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27090 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27091 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27092 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27093 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27094 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27095 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27096 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27097 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27098 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27099 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27100 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27101 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27102 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27103 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27104 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27105 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27106 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27107 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27108 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27109 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27110 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27111 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27112 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27113 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27114 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27115 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27116 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27117 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27118 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27119 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27120 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27121 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27122 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27123 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27124 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27125 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27126 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27127 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27128 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27129 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27130 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27131 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27132 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27133 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27134 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27135 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27136 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27137 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27138 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27139 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27140 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27141 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27142 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27143 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27144 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27145 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27146 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27147 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27148 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27149 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27150 * sysdeps/ieee754/k_standard.c: Likewise.
27151 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27152 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27153 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27154 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27155 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27156 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27157 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27158 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27159 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27160 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27161 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27162 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27163 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27164 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27165 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27166 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27167 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27168 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27169 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27170 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27171 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27172 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27173 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27174 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27175 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27176 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27177 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27178 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27179 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27180 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27181 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27182 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27183 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27184 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27185 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27186 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27187 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27188 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27189 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27190 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27191 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27192 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27193 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27194 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27195 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27196 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27197 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27198 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27199 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27200 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27201 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27202 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27203 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27204 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27205 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27206 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27207 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27208 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27209 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27210 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27211 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27212 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27213 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27214 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27215 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27216 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27217 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27218 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27219 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27220 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27221 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27222 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27223 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27224 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27225 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27226 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27227 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27228 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27229 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27230 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27231 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27232 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27233 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27234 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27235 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27236 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27237 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27238 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27239 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27240 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27241 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27242 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27243 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27244 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27245 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27246 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27247 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27248 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27249 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27250 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27251 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27252 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27253 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27254 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27255 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27256 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27257 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27258 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27259 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27260 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27261 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27262 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27263 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27264 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27265 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27266 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27267 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27268 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27269 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27270 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27271 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27272 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27273 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27274 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27275 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27276 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27277 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27278 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27279 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27280 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27281 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27282 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27283 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27284 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27285 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27286 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27287 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27288 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27289 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27290 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27291 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27292 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27293 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27294 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27295 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27296 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27297 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27298 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27299 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27300 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27301 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27302 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27303 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27304 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27305 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27306 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27307 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27308 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27309 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27310 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27311 * sysdeps/ieee754/s_lib_version.c: Likewise.
27312 * sysdeps/ieee754/s_matherr.c: Likewise.
27313 * sysdeps/ieee754/s_signgam.c: Likewise.
27314 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27315 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27316 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27317 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27318 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27319 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27320 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27321 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27322 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27323 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27324 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27325 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27326 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27327 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27328 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27329 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27330 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27331 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27332 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27333 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27334 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 27335
1991fa03
JM
273362012-03-09 Joseph Myers <joseph@codesourcery.com>
27337
27338 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27339 * sunrpc/rpc_main.c: Likewise.
27340 * sunrpc/rpc_svcout.c: Likewise.
27341
60d6f5a6
DM
273422012-03-09 David S. Miller <davem@davemloft.net>
27343
27344 * include/math_private.h: New file.
27345
4962050e
JM
273462012-03-09 Joseph Myers <joseph@codesourcery.com>
27347
02a6f887
JM
27348 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27349 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27350 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27351 from <bits/socket_type.h>.
27352 (enum __socket_type): Don't define here.
27353 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27354 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27355 bits/socket_type.h.
27356
c6e013c1
JM
27357 [BZ #13566]
27358 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27359 checking __USE_GNU.
27360
4962050e
JM
27361 * Makerules ($(inst_includedir)/%.h): New rule.
27362 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27363 (install-others): Remove variable setting.
27364 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27365
38842f45
RH
273662012-03-08 Richard Henderson <rth@twiddle.net>
27367
67bb6da6
RH
27368 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27369 from macro to inline function; merge with the
27370 !__LIBC_INTERNAL_MATH_INLINES version.
27371 (__ieee754_sqrtf): Likewise.
27372
15194b4b
RH
27373 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27374 to inline function.
27375 (__rintf, __floor, __floorf): Likewise.
27376
64e21ede
RH
27377 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27378 macro to inline function.
27379 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27380
38842f45
RH
27381 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27382 not <math/math_private.h>.
27383
c64bf5fe
DM
273842012-03-08 David S. Miller <davem@davemloft.net>
27385
27386 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27387 copyright year.
27388 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27389
82d86f28
TS
273902012-03-08 Thomas Schwinge <thomas@codesourcery.com>
27391
27392 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27393 normalization.
27394 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27395 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27396
aea5d727
UD
273972012-03-08 Ulrich Drepper <drepper@gmail.com>
27398
27399 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27400 be defined individually, they must be defined as a block. Define
27401 S for printing a string instead of hidint the different by using a
27402 macro for adding the 'l'.
27403 * stdio-common/tst-fphex-wide.c: Adjust.
27404
70bca0a3
MP
274052012-03-07 Marek Polacek <polacek@redhat.com>
27406
27407 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27408
65b81130
MP
274092012-03-08 Marek Polacek <polacek@redhat.com>
27410
27411 [BZ #13806]
27412 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27413 * stdio-common/tst-fphex.c: Define a few macros to make the
27414 test reusable. Use them.
27415 * stdio-common/tst-fphex-wide.c: New file.
27416
07037eeb
JM
274172012-03-08 Joseph Myers <joseph@codesourcery.com>
27418
a7a93d50
JM
27419 [BZ #6911]
27420 * manual/macros.texi (gnusystems): New macro.
27421 (nongnusystems): Likewise.
27422 (gnulinuxhurdsystems): Likewise.
27423 (gnuhurdsystems): Likewise..
27424 (gnulinuxsystems): Likewise.
27425 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27426 variants of the GNU system, not "GNU system".
27427 * manual/conf.texi: Likewise.
27428 * manual/errno.texi: Likewise. Update example of errno macro
27429 expansion.
27430 * manual/filesys.texi: Likewise.
27431 (getumask): Document as specific to GNU/Hurd.
27432 * manual/install.texi: Likewise. Reword some references to
27433 GNU/Linux.
27434 * manual/intro.texi: Likewise.
27435 * manual/io.texi: Likewise.
27436 (File Name Portability): Detail which constraints are inapplicable
27437 to all GNU systems and which are only inapplicable to GNU/Hurd.
27438 * manual/job.texi: Likewise.
27439 * manual/llio.texi: Likewise.
27440 (O_NOCTTY): Document as present on GNU/Linux.
27441 * manual/maint.texi: Likewise.
27442 * manual/memory.texi: Likewise.
27443 * manual/pattern.texi: Likewise.
27444 * manual/pipe.texi: Likewise.
27445 * manual/process.texi: Likewise.
27446 * manual/resource.texi: Likewise.
27447 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27448 child on GNU/Hurd.
27449 * manual/setjmp.texi: Likewise.
27450 * manual/signal.texi: Likewise.
27451 * manual/startup.texi: Likewise.
27452 * manual/stdio.texi: Likewise.
27453 * manual/terminal.texi: Likewise.
27454 (ONLCR): Document as POSIX.
27455 (OXTABS): Document availability on GNU/Linux as XTABS.
27456 (ONOEOT): Document availability separately from other bits.
27457 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27458 * manual/time.texi: Likewise.
27459 * manual/users.texi: Likewise.
27460 * INSTALL: Regenerated.
27461 * sysdeps/gnu/errlist.c: Regenerated.
27462
07037eeb
JM
27463 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27464 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27465 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27466 puts.
27467 * configure: Regenerated.
27468
d1d3431a
JM
274692012-03-07 Joseph Myers <joseph@codesourcery.com>
27470
af6a1e37
JM
27471 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27472 default includes instead of AC_HEADER_CHECK.
27473 * sysdeps/i386/configure: Regenerated.
27474
d1d3431a
JM
27475 [BZ #10716]
27476 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27477 * math/s_cacoshf.c (__cacoshf): Likewise.
27478 * math/s_cacoshl.c (__cacoshl): Likewise.
27479 * math/s_casinh.c (__casinh): Set signs of result from argument.
27480 * math/s_casinhf.c (__casinhf): Likewise.
27481 * math/s_casinhl.c (__casinhl): Likewise.
27482 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27483 (casinh_test): Add more tests.
27484 * sysdeps/i386/fpu/libm-test-ulps: Update.
27485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27486
482ff4da
UD
274872012-03-07 Ulrich Drepper <drepper@gmail.com>
27488
872fda05
UD
27489 * po/zh_TW.po: Update from translation team.
27490
a4300c7a
UD
27491 * login/Makefile (distribute): Remove variable.
27492 * catgets/Makefile: Likewise.
27493 * mach/Makefile: Likewise.
27494 * malloc/Makefile: Likewise.
27495 * misc/Makefile: Likewise.
27496 * iconv/Makefile: Likewise.
27497 * nscd/Makefile: Likewise.
27498 * hurd/Makefile: Likewise.
27499 * manual/Makefile: Likewise.
27500 * locale/Makefile: Likewise.
27501 * intl/Makefile: Likewise.
27502 * conform/Makefile: Likewise.
27503 * nss/Makefile: Likewise.
27504 * time/Makefile: Likewise.
27505 * soft-fp/Makefile: Likewise.
27506 * dirent/Makefile: Likewise.
27507 * gmon/Makefile: Likewise.
27508 * po/Makefile: Likewise.
27509 * rt/Makefile: Likewise.
27510 * socket/Makefile: Likewise.
27511 * math/Makefile: Likewise.
27512 * signal/Makefile: Likewise.
27513 * debug/Makefile: Likewise.
27514 * elf/Makefile: Likewise.
27515 * timezone/Makefile: Likewise.
27516 * stdlib/Makefile: Likewise.
27517 * iconvdata/Makefile: Likewise.
27518 * sunrpc/Makefile: Likewise.
27519 * io/Makefile: Likewise.
27520 * argp/Makefile: Likewise.
27521 * inet/Makefile: Likewise.
27522 * hesiod/Makefile: Likewise.
27523 * grp/Makefile: Likewise.
27524 * csu/Makefile: Likewise.
27525 * wctype/Makefile: Likewise.
27526 * crypt/Makefile: Likewise.
27527 * libio/Makefile: Likewise.
27528 * string/Makefile: Likewise.
27529 * nis/Makefile: Likewise.
27530 * resolv/Makefile: Likewise.
27531 * stdio-common/Makefile: Likewise.
27532 * wcsmbs/Makefile: Likewise.
27533 * dlfcn/Makefile: Likewise.
27534 * posix/Makefile: Likewise.
27535
3b7c4e74 27536 [BZ #6959]
482ff4da
UD
27537 * timezone/Makefile: Don't install timezone files, just the programs
27538 and scripts.
27539
f72ed77d
UD
275402012-03-06 Ulrich Drepper <drepper@gmail.com>
27541
a000466f
UD
27542 * nss/databases.def: Add missing gshadow entry.
27543
f72ed77d
UD
27544 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27545
a53b7a4e
MP
275462012-03-06 Marek Polacek <polacek@redhat.com>
27547
27548 [BZ #13726]
27549 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27550 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27551 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27552 * stdio-common/tst-long-dbl-fphex.c: New file.
27553
e9258400
DM
275542012-03-06 David S. Miller <davem@davemloft.net>
27555
27556 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27557 (set_obp_int): New function.
27558 (get_obp_int): New function.
27559 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
27560 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27561 Avoid unused variable warnings on 'val' and use builtin_expect.
27562 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27563 __builtin_expect.
e9258400
DM
27564 (INLINE_CLONE_SYSCALL): Likewise.
27565
3bd2c723
DM
275662012-03-05 David S. Miller <davem@davemloft.net>
27567
27568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27569
bbb78d03
AS
275702012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27571
884c5db4
AS
27572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27573
bbb78d03
AS
27574 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27575 only for |x| >= 40.
27576 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27577
1c9f702a 275782012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
27579
27580 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27581 Replace gettimeofday with __vdso_gettimeofday.
27582
7be16f82
RM
27583 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27584 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27585 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
27586
27587 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27588 time with __vdso_time.
27589
ed58a00f
JM
275902012-03-05 Joseph Myers <joseph@codesourcery.com>
27591
27592 * manual/lang.texi (size_t): Note types to which size_t may be
27593 equivalent with the GNU C Library, but do not describe when
27594 differences between them are significant.
27595
30ee4ced
AJ
275962012-03-05 Andreas Jaeger <aj@suse.de>
27597
27598 * sysdeps/i386/fpu/libm-test-ulps: Update.
27599
b7cd39e8
JM
276002012-03-05 Joseph Myers <joseph@codesourcery.com>
27601
27602 [BZ #3976]
27603 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27604 (__ieee754_pow): Save and restore rounding mode and use
27605 round-to-nearest for main computations.
27606 * math/libm-test.inc (pow_test_tonearest): New function.
27607 (pow_test_towardzero): Likewise.
27608 (pow_test_downward): Likewise.
27609 (pow_test_upward): Likewise.
27610 (main): Call the new functions.
27611 * sysdeps/i386/fpu/libm-test-ulps: Update.
27612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
27613
27614 [BZ #3976]
27615 * math/libm-test.inc (cosh_test_tonearest): New function.
27616 (cosh_test_towardzero): Likewise.
27617 (cosh_test_downward): Likewise.
27618 (cosh_test_upward): Likewise.
27619 (sinh_test_tonearest): Likewise.
27620 (sinh_test_towardzero): Likewise.
27621 (sinh_test_downward): Likewise.
27622 (sinh_test_upward): Likewise.
27623 (main): Call the new functions.
27624 * sysdeps/i386/fpu/libm-test-ulps: Update.
27625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27626
6c6a98c9
TV
276272012-03-05 Tom de Vries <tom@codesourcery.com>
27628
27629 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27630 default stack guard is set in last bytes.
27631 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27632
21bb2d2e 276332012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 27634
21bb2d2e 27635 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 27636
21bb2d2e
AJ
27637 [BZ #13656]
27638 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27639 possibly allocate from heap instead of stack.
27640 * stdio-common/bug-vfprintf-nargs.c: New file.
27641 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 27642
c6922934
AS
276432012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27644
27645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27646
bc957d53
MP
276472012-03-03 Marek Polacek <polacek@redhat.com>
27648
27649 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27650 * math/math_private.h: Likewise.
27651 * stdlib/tst-strtod.c: Likewise.
27652 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27653 * sysdeps/x86_64/bits/atomic.h: Likewise.
27654
6358490d
DM
276552012-03-02 David S. Miller <davem@davemloft.net>
27656
27657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27661 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27662 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27663 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27664 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27665
01ae168d
RM
276662012-03-02 Roland McGrath <roland@hack.frob.com>
27667
d9a17c07
RM
27668 [BZ #13792]
27669 * manual/examples/README: New file, says the example source files
27670 can be used under GPL>=2.
27671 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27672 line containing just "*/".
27673 * manual/examples/add.c: Add copyright header (GPL>=2).
27674 * manual/examples/argp-ex1.c: Likewise.
27675 * manual/examples/argp-ex2.c: Likewise.
27676 * manual/examples/argp-ex3.c: Likewise.
27677 * manual/examples/argp-ex4.c: Likewise.
27678 * manual/examples/atexit.c: Likewise.
27679 * manual/examples/db.c: Likewise.
27680 * manual/examples/dir.c: Likewise.
27681 * manual/examples/dir2.c: Likewise.
27682 * manual/examples/execinfo.c: Likewise.
27683 * manual/examples/filecli.c: Likewise.
27684 * manual/examples/filesrv.c: Likewise.
27685 * manual/examples/fmtmsgexpl.c: Likewise.
27686 * manual/examples/genpass.c: Likewise.
27687 * manual/examples/inetcli.c: Likewise.
27688 * manual/examples/inetsrv.c: Likewise.
27689 * manual/examples/isockad.c: Likewise.
27690 * manual/examples/longopt.c: Likewise.
27691 * manual/examples/memopen.c: Likewise.
27692 * manual/examples/memstrm.c: Likewise.
27693 * manual/examples/mkfsock.c: Likewise.
27694 * manual/examples/mkisock.c: Likewise.
27695 * manual/examples/mygetpass.c: Likewise.
27696 * manual/examples/pipe.c: Likewise.
27697 * manual/examples/popen.c: Likewise.
27698 * manual/examples/rprintf.c: Likewise.
27699 * manual/examples/search.c: Likewise.
27700 * manual/examples/select.c: Likewise.
27701 * manual/examples/setjmp.c: Likewise.
27702 * manual/examples/sigh1.c: Likewise.
27703 * manual/examples/sigusr.c: Likewise.
27704 * manual/examples/stpcpy.c: Likewise.
27705 * manual/examples/strdupa.c: Likewise.
27706 * manual/examples/strftim.c: Likewise.
27707 * manual/examples/strncat.c: Likewise.
27708 * manual/examples/subopt.c: Likewise.
27709 * manual/examples/swapcontext.c: Likewise.
27710 * manual/examples/termios.c: Likewise.
27711 * manual/examples/testopt.c: Likewise.
27712 * manual/examples/testpass.c: Likewise.
27713 * manual/examples/timeval_subtract.c: Likewise.
27714
01ae168d
RM
27715 [BZ #13792]
27716 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27717 function to ...
27718 * manual/timeval_subtract.c.texi: ... here, new file.
27719
49efa33d
DM
277202012-03-02 David S. Miller <davem@davemloft.net>
27721
27722 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27723
28afd92d
JM
277242012-03-02 Joseph Myers <joseph@codesourcery.com>
27725
804360ed
JM
27726 [BZ #3976]
27727 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27728 (__sin): Save and restore rounding mode and use round-to-nearest
27729 for all computations.
27730 (__cos): Save and restore rounding mode and use round-to-nearest
27731 for all computations.
27732 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27733 <fenv.h>.
27734 (tan): Save and restore rounding mode and use round-to-nearest for
27735 all computations.
27736 * math/libm-test.inc (cos_test_tonearest): New function.
27737 (cos_test_towardzero): Likewise.
27738 (cos_test_downward): Likewise.
27739 (cos_test_upward): Likewise.
27740 (sin_test_tonearest): Likewise.
27741 (sin_test_towardzero): Likewise.
27742 (sin_test_downward): Likewise.
27743 (sin_test_upward): Likewise.
27744 (tan_test_tonearest): Likewise.
27745 (tan_test_towardzero): Likewise.
27746 (tan_test_downward): Likewise.
27747 (tan_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
a6d06d7b
JM
27752 [BZ #10135]
27753 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27754 small n, then large n, before computing and testing k+n.
27755 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27756 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27757 Likewise.
27758 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27759 Likewise.
27760 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27761 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27762 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27763 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27764 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27765 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27766 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27767 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27768 * math/libm-test.inc (scalbn_test): Add more tests.
27769 (scalbln_test): Likewise.
27770
07e12bb3
JM
27771 * manual/filesys.texi (mode_t): Describe constraints on size and
27772 signedness, not exact equivalence to a particular type.
27773 (ino_t): Likewise.
27774 (ino64_t): Likewise.
27775 (dev_t): Likewise.
27776 (nlink_t): Likewise.
27777 (blkcnt_t): Likewise.
27778 (blkcnt64_t): Likewise.
27779 * manual/llio.texi (off_t): Likewise.
27780
28afd92d
JM
27781 [BZ #3976]
27782 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27783 (__ieee754_exp): Save and restore rounding mode and use
27784 round-to-nearest for all computations.
27785 * math/libm-test.inc (exp_test_tonearest): New function.
27786 (exp_test_towardzero): Likewise.
27787 (exp_test_downward): Likewise.
27788 (exp_test_upward): Likewise.
27789 (main): Call the new functions.
27790 * sysdeps/i386/fpu/libm-test-ulps: Update.
27791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27792
b1eeb65d
CD
277932012-03-01 Chris Demetriou <cgd@google.com>
27794
27795 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27796 have predictable order.
27797
53362a4b
DM
277982012-03-01 David S. Miller <davem@davemloft.net>
27799
3c969083
DM
27800 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27801
759707de
DM
27802 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27803 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27804 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27805 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27806
dfdb8ff2
DM
27807 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27808 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27809 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27811 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27812 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27813 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27814 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27815 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27816
ead89f96
DM
27817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27818
7f66bd07
DM
27819 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27820 * sysdeps/sparc/fpu/libm-test-ulps: to here.
27821 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27822
53362a4b
DM
27823 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27824 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27825 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27826 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27827 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27828 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27829 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27830 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27831 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27832 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27833 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27834 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27835 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27836 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27837 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27838 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27839 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27840 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27841 * sysdeps/sparc/elf/configure: Regenerated.
27842
7b1902cb
JM
278432012-03-01 Joseph Myers <joseph@codesourcery.com>
27844
bec039bc
JM
27845 * configure.in (AS, LD): Require binutils 2.20 or later.
27846 * configure: Regenerated.
27847 * manual/install.texi (Tools for Compilation): Give binutils 2.20
27848 as required minimum version.
27849 * INSTALL: Regenerated.
27850
7b1902cb
JM
27851 [BZ #2541]
27852 [BZ #4108]
27853 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27854 before squaring exponent.
27855 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27856 bottom long double and 27 bits of top long double before squaring
27857 exponent.
27858 * math/libm-test.inc (erfc_test): Add more tests.
27859 * sysdeps/i386/fpu/libm-test-ulps: Update.
27860 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27862
f775c276
KT
278632012-03-01 Kai Tietz <ktietz@redhat.com>
27864
27865 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27866 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27867 containing bit-fields.
27868 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27869 * soft-fp/single.h (_FP_UNION_S): Likewise.
27870 * soft-fp/double.h (_FP_UNION_D): Likewise.
27871
5b8a4d4a
JM
278722012-02-29 Joseph Myers <joseph@codesourcery.com>
27873
0bab47b6
JM
27874 [BZ #13786]
27875 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27876 not include ../strcmp.S.
27877 [USE_AS_STRNCASECMP_L]: Likewise.
27878 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27879 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27880 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27881 (__strncasecmp_l_ia32): Define as alias to
27882 __strncasecmp_l_nonascii.
27883
0fcad3e2
JM
27884 [BZ #5794]
27885 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27886 * sysdeps/i386/fpu/libm-test-ulps: Update.
27887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27888
5b8a4d4a
JM
27889 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27891
8fdceb2e
JL
278922012-02-29 Jeff Law <law@redhat.com>
27893
27894 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27895 out of bounds read.
27896
1f393a11
MP
278972012-02-29 Marek Polacek <polacek@redhat.com>
27898
27899 [BZ #13706]
27900 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27901 * elf/Makefile: Add rules to run tst-unused-dep.out.
27902
8847f037
DM
279032012-02-28 David S. Miller <davem@davemloft.net>
27904
27905 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27906 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27907 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27908 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27909 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27910 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27911
169d7f11
JM
279122012-02-29 Joseph Myers <joseph@codesourcery.com>
27913
27914 * math/libm-test.inc (llround_test): Move one test from
27915 lround_test. Use TEST_f_L in moved test.
27916 (lround_test): Move misplaced test to llround_test. Add testcase
27917 from bug 2561.
27918
39adf059
UD
279192012-02-28 Ulrich Drepper <drepper@gmail.com>
27920
27921 * sysdeps/x86_64/fpu/e_expf.S: New file.
27922 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27923
71b5d1c5
SB
279242012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27925
27926 [BZ #13637]
27927 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27928 of remain_len that may cause incomplete multi-byte character and
27929 false match.
27930 * posix/bug-regex33.c: New file.
27931 * posix/Makefile (tests): Add bug-regex33.
27932
1f77f049
JM
279332012-02-28 Joseph Myers <joseph@codesourcery.com>
27934
27935 * manual/macros.texi: New file.
27936 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27937 * manual/libc.texinfo: Include macros.texi.
27938 * manual/creatute.texi: Likewise.
27939 * manual/install.texi: Likewise.
27940 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27941 @glibcadj{} in references to the GNU C Library.
27942 * manual/charset.texi: Likewise.
27943 * manual/conf.texi: Likewise.
27944 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27945 when not using those macros.
27946 * manual/creature.texi: Likewise.
27947 * manual/crypt.texi: Likewise.
27948 * manual/errno.texi: Likewise.
27949 * manual/filesys.texi: Likewise.
27950 * manual/header.texi: Likewise.
27951 * manual/install.texi: Likewise.
27952 * manual/intro.texi: Likewise.
27953 * manual/io.texi: Likewise.
27954 * manual/job.texi: Likewise.
27955 * manual/lang.texi: Likewise.
27956 * manual/libc.texiinfo: Likewise.
27957 * manual/llio.texi: Likewise.
27958 * manual/locale.texi: Likewise.
27959 * manual/maint.texi: Likewise.
27960 * manual/math.texi: Likewise.
27961 * manual/memory.texi: Likewise.
27962 * manual/message.texi: Likewise.
27963 * manual/nss.texi: Likewise.
27964 * manual/pattern.texi: Likewise.
27965 * manual/process.texi: Likewise.
27966 * manual/resource.texi: Likewise.
27967 * manual/search.texi: Likewise.
27968 * manual/setjmp.texi: Likewise.
27969 * manual/signal.texi: Likewise.
27970 * manual/socket.texi: Likewise.
27971 * manual/startup.texi: Likewise.
27972 * manual/stdio.texi: Likewise.
27973 * manual/string.texi: Likewise.
27974 * manual/sysinfo.texi: Likewise.
27975 * manual/syslog.texi: Likewise.
27976 * manual/terminal.texi: Likewise.
27977 * manual/time.texi: Likewise.
27978 * manual/users.texi: Likewise.
27979 * INSTALL: Regenerated.
27980 * NOTES: Regenerated.
d40c5d54 27981 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 27982
450bf206
AS
279832012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27984
27985 * include/dirent.h: Include <dirstream.h> before
27986 <dirent/dirent.h>.
27987
741a235b
DM
279882012-02-28 David S. Miller <davem@davemloft.net>
27989
27990 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27991 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27992 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27993 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27994
d6b5aa58
DM
279952012-02-27 David S. Miller <davem@davemloft.net>
27996
1aff59a3
DM
27997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27999 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28000 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28001
d6b5aa58
DM
28002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28003 frame pointer instead of stack pointer relative arg slot.
28004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28005 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28006 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28007
433f48bf
CD
280082012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28009
28010 [BZ #3992]
28011 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28012
d674b76d
DM
280132012-02-27 David S. Miller <davem@davemloft.net>
28014
28015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28019 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28020 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28021 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28022 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28023
0e7727f7
JM
280242012-02-27 Joseph Myers <joseph@codesourcery.com>
28025
28026 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28027 later. Allow versions 5-9.
43be4ca2 28028 * configure: Regenerated.
0e7727f7
JM
28029 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28030 required minimum version and 4.6 as recommended version. Do not
28031 mention bugs in GCC 2.7 and 2.8.
43be4ca2 28032 * INSTALL: Regenerated.
0e7727f7 28033
a78bc654
DM
280342012-02-27 David S. Miller <davem@davemloft.net>
28035
428d5830
DM
28036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28040 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28041 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28042 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28043 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28044
a78bc654
DM
28045 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28046 manipulate bits before adding and subtracting TWO112[sx].
28047 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28048
4579f81c
RM
280492012-02-27 Roland McGrath <roland@hack.frob.com>
28050
36c8acb4
RM
28051 [BZ #13775]
28052 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28053 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28054 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28055 being in POSIX, because they are in 1003.1-2008.
28056
84ad622b
RM
28057 * rt/tst-aio.c: Include <fcntl.h>.
28058 * rt/tst-aio7.c: Likewise.
28059 * rt/tst-aio64.c: Likewise.
28060
4579f81c
RM
28061 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28062
abd923db
JM
280632012-02-27 Joseph Myers <joseph@codesourcery.com>
28064
28065 * manual/install.texi (--with-headers): Describe headers as
28066 interface headers, not private headers.
28067 (Specific advice for GNU/Linux systems): Describe use of headers
28068 from "make headers_install", not private headers from older
28069 kernels.
43be4ca2 28070 * INSTALL: Regenerated.
abd923db
JM
28071 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28072 Change to 2.6.19.
28073 * sysdeps/unix/sysv/linux/configure: Regenerated.
28074
6664049b
JM
28075 * manual/llio.texi (fclean): Remove documentation.
28076
bb8b6697
JM
28077 * manual/Makefile (libc-texi-generated): New variable. Include
28078 version.texi.
28079 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28080 $(libc-texi-generated), not duplicated list of files.
28081 (version.texi, stamp-version): New rules.
28082 (realclean): Remove $(libc-texi-generated), not individual files
28083 from that list. Do not remove dir-add.texinfo.
28084 * manual/libc.texinfo: Comment out uses of edition numbers and
28085 references to printed manual. Remove last-updated dates.
28086 (EDITION): Comment out.
28087 (ISBN): Likewise.
28088 (VERSION, UPDATED): Remove.
28089 (version.texi): Include.
28090
12e5c3b9
AS
280912012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28092
28093 * sysdeps/posix/spawni.c: Include <signal.h>.
28094 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28095 * sysdeps/pthread/aio_fsync.c: Likewise.
28096
4efeffc1 280972012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 28098
ba63ba08
UD
28099 * conform/Makefile (tests): Run only when not cross-compiling and
28100 when fast-check is not defined.
28101
d94a4670
UD
28102 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28103 * conform/data/limits.h-data: Fixes for POSIX2008.
28104 * conform/run-conformtest.sh: Run all tests.
28105 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28106 headers.
28107 * include/bits/dlfcn.h: Likewise.
28108 * include/langinfo.h: Likewise.
28109 * include/monetary.h: Likewise.
28110 * include/sys/poll.h: Likewise.
28111
28112 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28113 for __USE_GNU.
28114 * posix/spawn.h: Define __need_sigset_t.
28115 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28116 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28117 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28118 to get sigevent_t only.
28119 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28120 only for __USE_GNU.
28121 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28122 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28123 process_vm_writev only for __USE_GNU.
28124 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
28125
28126 * conform/Makefile: For now ignore errors from run-conformtest.
28127 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28128 POSIX to avoid namespace pollution. Don't prepend headers.
28129 * conform/data/aio.h-data: Fixes for POSIX testing.
28130 * conform/data/fcntl.h-data: Likewise.
28131 * conform/data/glob.h-data: Likewise.
28132 * conform/data/grp.h-data: Likewise.
28133 * conform/data/pthread.h-data: Likewise.
28134 * conform/data/pwd.h-data: Likewise.
28135 * conform/data/signal.h-data: Likewise.
28136 * conform/data/spawn.h-data: Likewise.
28137 * conform/data/stdio.h-data: Likewise.
28138 * conform/data/stdlib.h-data: Likewise.
28139 * conform/data/stropts.h-data: Likewise.
28140 * conform/data/sys/mman.h-data: Likewise.
28141 * conform/data/sys/stat.h-data: Likewise.
28142 * conform/data/sys/types.h-data: Likewise.
28143 * conform/data/sys/wait.h-data: Likewise.
28144 * conform/data/time.h-data: Likewise.
28145 * conform/data/unistd.h-data: Likewise.
28146 * conform/data/utime.h-data: Likewise.
28147
28148 * io/sys/stat.h: fchmod was always in POSIX.
28149 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28150 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28151 * rt/aio.h: Define __need_timespec before including <time.h>.
28152 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28153 struct. Add forward declaration of pthread_attr_t and use it in
28154 sigevent.
28155 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28156 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28157 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28158 always remove CLK_TCK definition.
28159
c20105c3
AS
281602012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28161
28162 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28163
7a270350
UD
281642012-02-25 Ulrich Drepper <drepper@gmail.com>
28165
31341567
UD
28166 * conform/run-conformtest.sh: New file.
28167 * conform/Makefile: Run run-conformtest for tests.
28168 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28169 support.
28170
28171 * conform/data/uchar.h-data: New file.
28172 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28173 * conform/data/arpa/inet.h-data: Likewise.
28174 * conform/data/assert.h-data: Likewise.
28175 * conform/data/complex.h-data: Likewise.
28176 * conform/data/cpio.h-data: Likewise.
28177 * conform/data/ctype.h-data: Likewise.
28178 * conform/data/dirent.h-data: Likewise.
28179 * conform/data/dlfcn.h-data: Likewise.
28180 * conform/data/errno.h-data: Likewise.
28181 * conform/data/fcntl.h-data: Likewise.
28182 * conform/data/float.h-data: Likewise.
28183 * conform/data/fmtmsg.h-data: Likewise.
28184 * conform/data/fnmatch.h-data: Likewise.
28185 * conform/data/ftw.h-data: Likewise.
28186 * conform/data/glob.h-data: Likewise.
28187 * conform/data/grp.h-data: Likewise.
28188 * conform/data/iconv.h-data: Likewise.
28189 * conform/data/inttypes.h-data: Likewise.
28190 * conform/data/langinfo.h-data: Likewise.
28191 * conform/data/libgen.h-data: Likewise.
28192 * conform/data/limits.h-data: Likewise.
28193 * conform/data/locale.h-data: Likewise.
28194 * conform/data/math.h-data: Likewise.
28195 * conform/data/monetary.h-data: Likewise.
28196 * conform/data/mqueue.h-data: Likewise.
28197 * conform/data/ndbm.h-data: Likewise.
28198 * conform/data/net/if.h-data: Likewise.
28199 * conform/data/netdb.h-data: Likewise.
28200 * conform/data/netinet/in.h-data: Likewise.
28201 * conform/data/nl_types.h-data: Likewise.
28202 * conform/data/poll.h-data: Likewise.
28203 * conform/data/pthread.h-data: Likewise.
28204 * conform/data/pwd.h-data: Likewise.
28205 * conform/data/regex.h-data: Likewise.
28206 * conform/data/sched.h-data: Likewise.
28207 * conform/data/search.h-data: Likewise.
28208 * conform/data/semaphore.h-data: Likewise.
28209 * conform/data/setjmp.h-data: Likewise.
28210 * conform/data/signal.h-data: Likewise.
28211 * conform/data/spawn.h-data: Likewise.
28212 * conform/data/stdarg.h-data: Likewise.
28213 * conform/data/stdio.h-data: Likewise.
28214 * conform/data/stdlib.h-data: Likewise.
28215 * conform/data/string.h-data: Likewise.
28216 * conform/data/strings.h-data: Likewise.
28217 * conform/data/stropts.h-data: Likewise.
28218 * conform/data/sys/ipc.h-data: Likewise.
28219 * conform/data/sys/mman.h-data: Likewise.
28220 * conform/data/sys/msg.h-data: Likewise.
28221 * conform/data/sys/resource.h-data: Likewise.
28222 * conform/data/sys/select.h-data: Likewise.
28223 * conform/data/sys/sem.h-data: Likewise.
28224 * conform/data/sys/shm.h-data: Likewise.
28225 * conform/data/sys/socket.h-data: Likewise.
28226 * conform/data/sys/stat.h-data: Likewise.
28227 * conform/data/sys/statvfs.h-data: Likewise.
28228 * conform/data/sys/time.h-data: Likewise.
28229 * conform/data/sys/timeb.h-data: Likewise.
28230 * conform/data/sys/times.h-data: Likewise.
28231 * conform/data/sys/types.h-data: Likewise.
28232 * conform/data/sys/uio.h-data: Likewise.
28233 * conform/data/sys/un.h-data: Likewise.
28234 * conform/data/sys/utsname.h-data: Likewise.
28235 * conform/data/sys/wait.h-data: Likewise.
28236 * conform/data/syslog.h-data: Likewise.
28237 * conform/data/tar.h-data: Likewise.
28238 * conform/data/termios.h-data: Likewise.
28239 * conform/data/utime.h-data: Likewise.
28240 * conform/data/utmpx.h-data: Likewise.
28241 * conform/data/varargs.h-data: Likewise.
28242 * conform/data/wchar.h-data: Likewise.
28243 * conform/data/wctype.h-data: Likewise.
28244 * conform/data/wordexp.h-data: Likewise.
28245
28246 * include/stropts.h: New file.
28247 * include/uchar.h: New file.
28248 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28249 * include/assert.h: Likewise.
28250 * include/ctype.h: Likewise.
28251 * include/dirent.h: Likewise.
28252 * include/dlfcn.h: Likewise.
28253 * include/fcntl.h: Likewise.
28254 * include/fnmatch.h: Likewise.
28255 * include/glob.h: Likewise.
28256 * include/grp.h: Likewise.
28257 * include/libio.h: Likewise.
28258 * include/locale.h: Likewise.
28259 * include/math.h: Likewise.
28260 * include/net/if.h: Likewise.
28261 * include/netdb.h: Likewise.
28262 * include/netinet/in.h: Likewise.
28263 * include/pthread.h: Likewise.
28264 * include/pwd.h: Likewise.
28265 * include/regex.h: Likewise.
28266 * include/sched.h: Likewise.
28267 * include/search.h: Likewise.
28268 * include/setjmp.h: Likewise.
28269 * include/signal.h: Likewise.
28270 * include/stdio.h: Likewise.
28271 * include/stdlib.h: Likewise.
28272 * include/string.h: Likewise.
28273 * include/sys/cdefs.h: Likewise.
28274 * include/sys/mman.h: Likewise.
28275 * include/sys/msg.h: Likewise.
28276 * include/sys/resource.h: Likewise.
28277 * include/sys/select.h: Likewise.
28278 * include/sys/socket.h: Likewise.
28279 * include/sys/stat.h: Likewise.
28280 * include/sys/statvfs.h: Likewise.
28281 * include/sys/time.h: Likewise.
28282 * include/sys/times.h: Likewise.
28283 * include/sys/uio.h: Likewise.
28284 * include/sys/utsname.h: Likewise.
28285 * include/sys/wait.h: Likewise.
28286 * include/termios.h: Likewise.
28287 * include/time.h: Likewise.
28288 * include/ulimit.h: Likewise.
28289 * include/unistd.h: Likewise.
28290 * include/utime.h: Likewise.
28291 * include/wchar.h: Likewise.
28292 * include/wctype.h: Likewise.
28293 * include/wordexp.h: Likewise.
28294
28295 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28296
7a270350
UD
28297 * time/time.h: TIME_UTC must be a macro.
28298 Make timespec_get available for ISO C11 only as well.
28299
7724defc
UD
283002012-02-24 Ulrich Drepper <drepper@gmail.com>
28301
28302 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28303 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28304
6b1d1d46
JM
283052012-02-24 Joseph Myers <joseph@codesourcery.com>
28306
28307 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 28308
0f8bbd69
JM
283092012-02-24 Joseph Myers <joseph@codesourcery.com>
28310
28311 * manual/texinfo.tex: Update to version 2012-01-19.16.
28312
66ab80bc
JM
283132012-02-24 Joseph Myers <joseph@codesourcery.com>
28314
28315 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28316
74981cc5
RM
283172012-02-24 Roland McGrath <roland@hack.frob.com>
28318
ee968201
RM
28319 [BZ #13738]
28320 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28321 * manual/fdl-1.3.texi: New file.
28322 * manual/fdl-1.1.texi: File removed.
28323
74981cc5
RM
28324 [BZ #13738]
28325 * manual/libc.texinfo (FDL_VERSION): New @set.
28326 Use it for mention of FDL in cover text.
28327 (Documentation License): Use it in @include file name.
28328
7bb764bc
JM
283292012-02-22 Joseph Myers <joseph@codesourcery.com>
28330 Roland McGrath <roland@hack.frob.com>
28331
28332 [BZ #5461]
28333 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28334 not LONG_LONG_MAX and LONG_LONG_MIN.
28335 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28336 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28337 name.
28338 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28339
6cbeae47
JM
283402012-02-22 Joseph Myers <joseph@codesourcery.com>
28341
28342 [BZ #2547]
28343 [BZ #11365]
28344 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28345 manipulate bits before adding and subtracting TWO23[sx].
28346 * math/libm-test.inc (nearbyint_test): Add more tests.
28347
fe45ce09
JM
283482012-02-22 Joseph Myers <joseph@codesourcery.com>
28349
28350 [BZ #2548]
28351 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28352 bits before adding and subtracting TWO23[sx].
28353 * math/libm-test.inc (rint_test): Add more tests.
28354 (rint_test_tonearest): Likewise.
28355 (rint_test_towardzero): Likewise.
28356 (rint_test_downward): Likewise.
28357 (rint_test_upward: Likewise.
28358
ff3b3d82
JM
283592012-02-22 Joseph Myers <joseph@codesourcery.com>
28360
28361 [BZ #10110]
28362 * include/stdc-predef.h: New file. Extracted from features.h.
28363 * include/features.h: Include stdc-predef.h.
28364 * Makefile (headers): Add stdc-predef.h.
28365 * CONFORMANCE (Compiler limitations): Update.
28366
ef0aab35
JM
283672012-02-22 Joseph Myers <joseph@codesourcery.com>
28368
28369 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28370
58639409
DM
283712012-02-21 David S. Miller <davem@davemloft.net>
28372
28373 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28374 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28375
c0e70b25
DM
283762012-02-20 David S. Miller <davem@davemloft.net>
28377
28378 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28379 using a normal save/restore sequence, rather than allocating a
28380 dummy stack frame just to store a frame pointer and restore.
28381 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28382
fb06851d
JM
283832012-02-21 Joseph Myers <joseph@codesourcery.com>
28384
28385 * manual/install.texi: Fix stray word in line-wrapped comment.
28386
7a8b71c3
DM
283872012-02-20 David S. Miller <davem@davemloft.net>
28388
d510c123
DM
28389 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28390 both binutils and gcc support GOTDATA.
28391
0722d7c2
DM
28392 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28393 "rd %pc" in the PIC register setup sequences.
28394
3d2b3019
DM
28395 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28396 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28397 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28398 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28399 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28400 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28401 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28402 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28403 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28404 (SYSCALL_ERROR_HANDLER): Likewise.
28405 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28406 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28407 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28408 (SYSCALL_ERROR_HANDLER): Likewise.
28409
c80098a9
DM
28410 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28411 (HAVE_GCC_GOTDATA): New.
28412 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28413 relocation support in both binutils and gcc.
28414 * sysdeps/sparc/elf/configure: Regenerate.
28415
3a2545a0
DM
28416 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28417 * sysdeps/sparc/sparc32/elf/configure: Delete.
28418 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28419 * sysdeps/sparc/sparc64/elf/configure: Delete.
28420 * sysdeps/sparc/elf/configure.in: New file.
28421 * sysdeps/sparc/elf/configure: Generate.
28422
7a8b71c3
DM
28423 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28424 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28425 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28426 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28427 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28428
f1e86fca
JM
284292012-02-21 Joseph Myers <joseph@codesourcery.com>
28430
28431 * manual/install.texi: Do not mention specific glibc version
28432 numbers.
28433 * manual/libc.texinfo (VERSION, UPDATED): Update.
28434 (@copying): Use @copyright{} and range of years.
28435
0e7dfaef
JM
284362012-02-21 Joseph Myers <joseph@codesourcery.com>
28437
28438 [BZ #13695]
28439 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28440 [crti.S not in sysdirs] (generated): Do not append.
28441 [crti.S not in sysdirs] (omit-deps): Likewise.
28442 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28443 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28444 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28445 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28446 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28447 Likewise.
28448 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28449 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28450 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28451 * csu/defs.awk: Remove file.
28452 * sysdeps/generic/initfini.c: Likewise.
28453 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28454 variable.
28455 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28456 Likewise.
28457
599af3ca
JM
284582012-02-20 Joseph Myers <joseph@codesourcery.com>
28459
28460 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28461 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28462 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28463 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28464 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28465 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28466 <bits/epoll.h>.
28467 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28468 (__EPOLL_PACKED): Define to empty if not defined by
28469 <bits/epoll.h>.
28470 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28472 bits/epoll.h.
28473
0e499750
JM
284742012-02-20 Joseph Myers <joseph@codesourcery.com>
28475
28476 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28477 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28478 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28479 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28480 <bits/timerfd.h>.
28481 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28482 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28483 bits/timerfd.h.
28484
5ad91f6e
JM
284852012-02-20 Joseph Myers <joseph@codesourcery.com>
28486
28487 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28488 in C locale.
28489 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28490 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28491 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28493
06b99b02
AJ
284942012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28495
28496 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28497 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28498
7638c0fd
AS
284992012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28500
28501 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28502 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28503 defined.
28504 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28505 Likewise.
28506 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28507 entry for 2.16.
28508
92221550
AJ
285092012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28510
28511 * math/w_acos.c: Use non-signaling floating-point comparisons.
28512 * math/w_acosf.c: Likewise.
28513 * math/w_acosh.c: Likewise.
28514 * math/w_acoshf.c: Likewise.
28515 * math/w_acoshl.c: Likewise.
28516 * math/w_acosl.c: Likewise.
28517 * math/w_asin.c: Likewise.
28518 * math/w_asinf.c: Likewise.
28519 * math/w_asinl.c: Likewise.
28520 * math/w_atanh.c: Likewise.
28521 * math/w_atanhf.c: Likewise.
28522 * math/w_atanhl.c: Likewise.
28523 * math/w_exp2.c: Likewise.
28524 * math/w_exp2f.c: Likewise.
28525 * math/w_exp2l.c: Likewise.
28526 * math/w_j0.c: Likewise.
28527 * math/w_j0f.c: Likewise.
28528 * math/w_j0l.c: Likewise.
28529 * math/w_j1.c: Likewise.
28530 * math/w_j1f.c: Likewise.
28531 * math/w_j1l.c: Likewise.
28532 * math/w_jn.c: Likewise.
28533 * math/w_jnf.c: Likewise.
28534 * math/w_log.c: Likewise.
28535 * math/w_log10.c: Likewise.
28536 * math/w_log10f.c: Likewise.
28537 * math/w_log10l.c: Likewise.
28538 * math/w_log2.c: Likewise.
28539 * math/w_log2f.c: Likewise.
28540 * math/w_log2l.c: Likewise.
28541 * math/w_logf.c: Likewise.
28542 * math/w_logl.c: Likewise.
28543 * math/w_sqrt.c: Likewise.
28544 * math/w_sqrtf.c: Likewise.
28545 * math/w_sqrtl.c: Likewise.
28546 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28547 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28548 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28549 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28550 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28551
ebaf36eb
JM
285522012-02-19 Joseph Myers <joseph@codesourcery.com>
28553
28554 [BZ #9739]
28555 * manual/string.texi (strnlen): Use correct parameter name in
28556 equivalent expression.
28557
71c254a6
JM
285582012-02-19 Joseph Myers <joseph@codesourcery.com>
28559
28560 [BZ #11174]
28561 * manual/users.texi (seteuid): Consistently use neweuid for
28562 argument name.
28563
16d2c631
JM
285642012-02-19 Joseph Myers <joseph@codesourcery.com>
28565
28566 [BZ #13704]
28567 * manual/nss.texi (Services in the NSS configuration): Correct
28568 list of services in example configuration file.
28569
cd837b09
NB
285702012-02-19 Nick Bowler <nbowler@draconx.ca>
28571
28572 [BZ #11322]
28573 * manual/arith.texi: Remove statements about negative zero
28574 behaving identically to zero.
28575
02c4bbad
JM
285762012-02-18 Joseph Myers <joseph@codesourcery.com>
28577
28578 [BZ #5993]
28579 * manual/install.texi: Do not document upgrading from libc5.
28580
366842e7
JM
285812012-02-18 Joseph Myers <joseph@codesourcery.com>
28582
28583 [BZ #4596]
28584 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28585
dd54084d
DM
285862012-02-18 David S. Miller <davem@davemloft.net>
28587
28588 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28589 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28590 %o7 across the call.
28591 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28592 instead.
28593 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28594 SETUP_PIC_REG_LEAF.
28595 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28596 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28597 * sysdeps/sparc/crtn.S: Likewise.
28598
2bcc53a3
UD
285992012-02-17 Ulrich Drepper <drepper@gmail.com>
28600
28601 * aout/Makefile: Remove.
28602
09c093b5
RK
286032012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28604
28605 [BZ #13058]
28606 * manual/examples/argp-ex1.c (main): Format definition in GNU
28607 style.
28608 * manual/examples/argp-ex2.c (main): Likewise.
28609 * manual/examples/argp-ex3.c (main): Likewise.
28610 * manual/examples/argp-ex4.c (main): Likewise.
28611 * manual/examples/longopt.c (main): Use new-style prototype
28612 definition.
28613 * manual/examples/strncat.c (main): Specify return type and use
28614 (void) for arguments.
28615 * manual/examples/subopt.c (main): Use char **argv argument.
28616
2ee633a2
JM
286172012-02-17 Joseph Myers <joseph@codesourcery.com>
28618
28619 [BZ #5077]
28620 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28621 rounding modes.
28622
0520adde
FB
286232012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28624
28625 [BZ #6907]
28626 * manual/string.texi (strchr): Change when strchrnul is
28627 recommended.
28628
3f4081cd
DGM
286292012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28630
28631 [BZ #174]
28632 * manual/locale.texi (setlocale): Document LOCPATH.
28633
d1b10e78
JM
286342012-02-17 Joseph Myers <joseph@codesourcery.com>
28635
28636 [BZ #10210]
28637 * manual/process.texi (execle): Move @dots{} before last argument.
28638
79c6869c
PB
286392012-02-17 Paul Bolle <pebolle@tiscali.nl>
28640
28641 [BZ #12047]
28642 * manual/charset.texi (Generic Charset Conversion): Fix typo
28643 (LC_TYPE -> LC_CTYPE).
28644
cc6e48bc
NB
286452012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28646
28647 [BZ #5805]
28648 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28649 (scalbnf): Likewise.
28650 (scalbnl): Likewise.
28651 (scalbln): Likewise.
28652 (scalblnf): Likewise.
28653 (scalblnl): Likewise.
28654 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28655 (vwarnx): Likewise.
28656 (verr): Likewise.
28657 (verrx): Likewise.
28658 * manual/filesys.texi (telldir): Use braces around return type.
28659 * manual/llio.texi (mmap): Add space after comma.
28660 (mmap64): Likewise.
28661 * manual/math.texi (jn): Use @var{} on parameter names.
28662 (jnf): Likewise.
28663 (jnl): Likewise.
28664 (yn): Likewise.
28665 (ynf): Likewise.
28666 (ynl): Likewise.
28667 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28668 line.
28669 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28670 "...".
28671 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28672 (sched_get_priority_max): Likewise.
28673 * manual/signal.texi (sigvec): Add space after comma.
28674 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28675 names.
28676 (if_indextoname): Likewise.
28677 (if_freenameindex): Likewise.
28678 (sendto): Use ',' instead of '.' in prototype.
28679 * manual/startup.texi (syscall): Use @dots{} instead of literal
28680 "...".
28681 * manual/stdio.texi (__fpending): Separate initial words of
28682 paragraph from @deftypefun line.
28683 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28684 "...".
28685 (vsyslog): Use @var{} on parameter names.
28686 * manual/terminal.texi (stty): Use @var{} on parameter names.
28687 * manual/users.texi (getutmp): Use @var{} on parameter names.
28688 (getutmpx): Likewise.
28689
5b23062f
JM
286902012-02-17 Joseph Myers <joseph@codesourcery.com>
28691
28692 [BZ #6884]
28693 * manual/stdio.texi (fopen): Fix typos in description of
28694 ",ccs=STRING".
28695
8dee4833
AJ
286962012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28697
28698 [BZ #4026]
28699 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28700 get clock_id definition.
28701
9078ce93
TS
287022012-02-17 Thomas Schwinge <thomas@schwinge.name>
28703
28704 [BZ #4822]
28705 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28706 (madvise): Cast every argument to void on its own.
28707
3835c55f
JM
287082012-02-17 Joseph Myers <joseph@codesourcery.com>
28709
28710 [BZ #9902]
28711 * manual/startup.texi (Exit Status): Fix typo.
28712
35c47e37
JM
287132012-02-17 Joseph Myers <joseph@codesourcery.com>
28714
28715 [BZ #10140]
28716 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28717 * manual/examples/argp-ex2.c: Likewise.
28718 * manual/examples/argp-ex3.c: Likewise.
28719
e3b69ca7
RH
287202012-02-16 Richard Henderson <rth@redhat.com>
28721
28722 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28723 * sysdeps/s390/s390-32/initfini.c: Remove.
28724 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28725 * sysdeps/s390/s390-64/initfini.c: Remove.
28726
df83af67
KK
287272012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28728
28729 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28730 compiler output for sysdeps/generic/initfini.c.
28731 * sysdeps/sh/elf/initfini.c: Remove file.
28732
f63f3380
DM
287332012-02-16 David S. Miller <davem@davemloft.net>
28734
fb59b3a4
DM
28735 [BZ #11494]
28736 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28737
f63f3380
DM
28738 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28739 * sysdeps/sparc/crti.S: New file.
28740 * sysdeps/sparc/crtn.S: New file.
28741 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28742 * sysdeps/sparc/sparc64/Makefile: Likewise.
28743
df6a4a4a
MF
287442012-02-15 Mike Frysinger <vapier@gentoo.org>
28745
6dd8f3dc 28746 [BZ #3335]
df6a4a4a
MF
28747 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28748
1cac7236
RM
287492012-02-15 Roland McGrath <roland@hack.frob.com>
28750
d2c736f8
RM
28751 [BZ #4822]
28752 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28753
1cac7236
RM
28754 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28755 (write, read, close): Likewise.
28756 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28757
8e475601
JM
287582012-02-15 Joseph Myers <joseph@codesourcery.com>
28759
28760 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28761 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28762 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28763 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28764 <bits/signalfd.h>.
28765 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28766 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28767 bits/signalfd.h.
28768
ed656b40
MP
287692012-02-14 Marek Polacek <polacek@redhat.com>
28770
28771 * sysdeps/x86_64/crti.S: New file.
28772 * sysdeps/x86_64/crtn.S: New file.
28773 * sysdeps/x86_64/elf/initfini.c: Remove file.
28774
2a979d3a
JM
287752012-02-13 Joseph Myers <joseph@codesourcery.com>
28776
28777 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28778 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28779 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28780 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28781 <bits/inotify.h>.
28782 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28783 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28784 bits/inotify.h.
28785
2a418ac3
JM
287862012-02-13 Joseph Myers <joseph@codesourcery.com>
28787
28788 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28789 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28790 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28791 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28792 <bits/eventfd.h>.
28793 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28795 bits/eventfd.h.
28796
fb779be7
TS
287972012-02-10 Thomas Schwinge <thomas@codesourcery.com>
28798
e19e83c5
RM
28799 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28800 __feraiseexcept instead of feraiseexcept.
7c35ffed 28801
fb779be7
TS
28802 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28803 nanosleep invocations.
28804 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28805 strings, and add error checking for a nanosleep invocations.
28806
59ba27a6
PE
288072012-02-09 Paul Eggert <eggert@cs.ucla.edu>
28808
28809 Replace FSF snail mail address with URLs, as per GNU coding standards.
28810 Most of the snail mail addresses were wrong anyway, and omitting
28811 them makes the source code easier to maintain. Almost all of the
28812 changes are to license notices and to locale LC_IDENTIFICATION
28813 addresses, except for this one:
28814 * manual/libc.texinfo: In "Published by", give the FSF's URL,
28815 not its snail mail address.
28816
57b957eb
RH
288172012-02-09 Richard Henderson <rth@twiddle.net>
28818
af850b1c
RH
28819 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28820 of kernel-features.h.
28821
57b957eb
RH
28822 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28823
6b73181a
MP
288242012-02-08 Marek Polacek <polacek@redhat.com>
28825
28826 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28827 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28828 * sysdeps/gnu/_G_config.h: Likewise.
28829 * sysdeps/generic/_G_config.h: Likewise.
28830
26ecc33a
AS
288312012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28832
6c6dbc63
AS
28833 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28834 tests.
28835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28836
e216c012
AS
28837 * sysdeps/powerpc/powerpc32/crti.S: New file.
28838 * sysdeps/powerpc/powerpc32/crtn.S: New file.
28839 * sysdeps/powerpc/powerpc64/crti.S: New file.
28840 * sysdeps/powerpc/powerpc64/crtn.S: New file.
28841
26ecc33a
AS
28842 * Makeconfig (have-initfini): Don't set.
28843 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28844 * configure.in (nopic_initfini): Don't substitute.
28845 * config.h.in (HAVE_INITFINI): Don't #undef.
28846 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28847 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28848
3add8e13
JM
288492012-02-08 Joseph Myers <joseph@codesourcery.com>
28850
28851 Support crti.S and crtn.S provided directly by architectures.
28852 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28853 [crti.S in sysdirs] (omit-deps): Likewise.
28854 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28855 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28856 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28857 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28858 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28859 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28860 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28861 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28862 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28863 compiler output for sysdeps/generic/initfini.c.
28864 * sysdeps/i386/elf/Makefile: Remove file.
28865 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28866
a22f12b4
MP
288672012-02-07 Marek Polacek <polacek@redhat.com>
28868
28869 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28870 * sysdeps/gnu/_G_config.h: Likewise.
28871 * sysdeps/mach/hurd/_G_config.h: Likewise.
28872
148cf100
MP
288732012-02-07 Marek Polacek <polacek@redhat.com>
28874
28875 * math/Makefile (tests): Add tst-CMPLX2.
28876 * math/tst-CMPLX2.c: New file.
28877
cfdc0dd7
AS
288782012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28879
84ba42c4
AS
28880 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28881
cfdc0dd7
AS
28882 * math/libm-test.inc (jn_test): Add missing L suffix.
28883
622c86f4
MP
288842012-02-06 Marek Polacek <polacek@redhat.com>
28885
28886 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28887 * sysdeps/i386/fpu/e_powf.S: Likewise.
28888 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28889 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28890 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28891 * sysdeps/i386/fpu/e_pow.S: Likewise.
28892 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28893 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28894 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28895 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28896 * sysdeps/i386/fpu/e_log2.S: Likewise.
28897 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28898 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28899 * sysdeps/i386/fpu/e_powl.S: Likewise.
28900 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28901 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28902 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28903 * sysdeps/i386/fpu/e_logl.S: Likewise.
28904 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28905 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28906 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28907 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28908 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28909 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28910 * sysdeps/i386/fpu/e_log.S: Likewise.
28911 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28912 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28913 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28914 * sysdeps/i386/fpu/e_logf.S: Likewise.
28915 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28916 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28917 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28918 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28919 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28920 * sysdeps/i386/fpu/e_log10.S: Likewise.
28921 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28922 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28923 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28924 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28925 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28926 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28927 * sysdeps/i386/asm-syntax.h: Likewise.
28928 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28929 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28930 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28931 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28932 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28933 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28934 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28935 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28936 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28937 * sysdeps/powerpc/sysdep.h: Likewise.
28938 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28939 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28940
d4a54ac6
JM
289412012-02-06 Joseph Myers <joseph@codesourcery.com>
28942
28943 [BZ #411]
28944 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28945
314054ea
JM
289462012-02-06 Joseph Myers <joseph@codesourcery.com>
28947
28948 * sysdeps/i386/sysdep.h: Include <features.h>.
28949 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28950 version.
28951
d8e0ca50
JM
289522012-02-05 Joseph Myers <joseph@codesourcery.com>
28953
28954 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28955 Define.
28956 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28957 LOAD_PIC_REG_STR.
28958
b1da7dd9
JM
289592012-02-03 Joseph Myers <joseph@codesourcery.com>
28960
28961 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28962 (SETUP_PIC_REG): Use GET_PC_THUNK.
28963 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28964 macro.
28965
9a1d9254
JM
289662012-02-03 Joseph Myers <joseph@codesourcery.com>
28967
28968 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28969 for non-PIC compilation.
28970 (SETUP_PIC_REG): Add .p2align directive.
28971 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28972 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28973 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28974 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28975 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28976 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28977 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28978 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28979 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28980 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28981 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28982 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28983 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28984 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28985 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28986 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28987 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28988 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28989 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28990 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28991 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28992 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28993 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28994 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28995 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28996 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28997 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28998 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28999 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29000 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29001 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29002 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29003 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29004 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29005 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29006 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29007 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29008 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29009 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29010 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29011 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29012
65dc3b75
JM
290132012-02-03 Joseph Myers <joseph@codesourcery.com>
29014
29015 * math/tst-CMPLX.c: Include <stdio.h>.
29016
d55bf177
JM
290172012-01-31 Joseph Myers <joseph@codesourcery.com>
29018
29019 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29020 float.
29021 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29022 * sysdeps/sparc/bits/mathdef.h: Likewise.
29023
69db4f8f
MP
290242012-01-31 Marek Polacek <polacek@redhat.com>
29025
29026 * libio/libio.h: Don't define _PARAMS.
29027 * locale/programs/config.h: Don't define PARAMS.
29028 * stdlib/strtol_l.c: Likewise.
29029 (__strtol_l): Remove PARAMS from the prototype.
29030
41b81892
UD
290312012-01-31 Ulrich Drepper <drepper@gmail.com>
29032
3b49edc0
UD
29033 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29034 names. Just use the correct names. Remove unnecessary wrapper
29035 functions.
29036 * malloc/arena.c: Likewise.
29037 * malloc/hooks.c: Likewise.
29038
41b81892
UD
29039 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29040 ARENA_TEST says not to. Simplify test for creation of a new arena.
29041 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29042
27a25b6e
UD
290432012-01-30 Ulrich Drepper <drepper@gmail.com>
29044
29045 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29046 into tail calls.
29047 (update_get_addr): New function.
29048 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29049 GET_ADDR_MODULE parameter.
29050
c8a89e7d
JM
290512012-01-30 Joseph Myers <joseph@codesourcery.com>
29052
29053 * crypt/cert.c: Remove __STDC__ conditionals.
29054 * crypt/crypt-entry.c: Likewise.
29055 * crypt/crypt_util.c: Likewise.
29056 * libio/filedoalloc.c: Likewise.
29057 * libio/fileops.c: Likewise.
29058 * libio/genops.c: Likewise.
29059 * libio/iofclose.c: Likewise.
29060 * libio/iofdopen.c: Likewise.
29061 * libio/iofopen.c: Likewise.
29062 * libio/iofopen64.c: Likewise.
29063 * libio/iogetdelim.c: Likewise.
29064 * libio/iopopen.c: Likewise.
29065 * libio/obprintf.c: Likewise.
29066 * libio/oldfileops.c: Likewise.
29067 * libio/oldiofclose.c: Likewise.
29068 * libio/oldiofdopen.c: Likewise.
29069 * libio/oldiofopen.c: Likewise.
29070 * libio/oldiopopen.c: Likewise.
29071 * libio/wfiledoalloc.c: Likewise.
29072 * libio/wgenops.c: Likewise.
29073 * locale/programs/xmalloc.c: Likewise.
29074 * misc/syslog.c: Likewise.
29075 * stdio-common/xbug.c: Likewise.
29076 * string/memchr.c: Likewise.
29077 * string/memcmp.c: Likewise.
29078 * string/memrchr.c: Likewise.
29079 * string/rawmemchr.c: Likewise.
29080 * sysdeps/posix/getcwd.c: Likewise.
29081 * time/strftime_l.c: Likewise.
29082
3b100462
JM
290832012-01-30 Joseph Myers <joseph@codesourcery.com>
29084
29085 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
29086 * config.make.in (config-cflags-sse2avx): Define.
29087 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29088 Fix typo.
29089
607998af
CM
290902012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29091
29092 * scripts/config.guess: Update from upstream config git repository.
29093 * scripts/config.sub: Likewise.
29094
3601428f
CM
290952012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29096
3ac8b282
CM
29097 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29098 (EM_NUM): Update.
29099 (R_TILEPRO_*, R_TILEGX_*): New macros.
29100
e034841e
CM
29101 * scripts/firstversions.awk: Fix bug in version range handling.
29102
540d7568
CM
29103 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29104
3601428f
CM
29105 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29106
463de862
CM
29107 * include/sys/epoll.h: New file.
29108 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29109 libc_hidden_def.
29110
73139a76
UD
291112012-01-28 Ulrich Drepper <drepper@gmail.com>
29112
96bc5b45
UD
29113 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29114 Avoid unnecessary __WORDSIZE == 64 test.
29115 (fmaxf): Use VEX format if possible.
29116 (fmax): Likewise.
29117 (fminf): Likewise.
29118 (fmin): Likewise.
29119
56f6f6a2
UD
29120 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29121 * math/math_private.h: Remove libc_fegetround* and
29122 libc_fesetround*.
29123 * sysdeps/i386/configure.in: Check for -msse2avx.
29124 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29125 also if SSE2AVX is defined.
29126 Remove libc_fegetround* and libc_fesetround*.
29127 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29128 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29129 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29130 of HAS_YMM_USABLE.
29131 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29132 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29133 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29134 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29135 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29136
73139a76
UD
29137 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29138
d73f93a4
AZ
291392012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29140
29141 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29142 size is not set.
29143 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29144
6ee65ed6
UD
291452012-01-27 Ulrich Drepper <drepper@gmail.com>
29146
29147 [BZ #13618]
29148 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29149 relocation.
29150 * Makeconfig (libm): Define.
29151 * elf/Makefile: Add rules to build and run tst-relsort1.
29152 * elf/tst-relsort1.c: New file.
29153 * elf/tst-relsort1mod1.c: New file.
29154 * elf/tst-relsort1mod2.c: New file.
29155
8db21882
JM
291562012-01-27 Joseph Myers <joseph@codesourcery.com>
29157
29158 * math/s_ldexp.c: Remove __STDC__ conditionals.
29159 * math/s_ldexpf.c: Likewise.
29160 * math/s_ldexpl.c: Likewise.
29161 * math/s_nextafter.c: Likewise.
29162 * math/s_nexttowardf.c: Likewise.
29163 * math/s_significand.c: Likewise.
29164 * math/s_significandf.c: Likewise.
29165 * math/s_significandl.c: Likewise.
29166 * math/w_jnl.c: Likewise.
29167 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29168 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29169 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29170 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29171 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29172 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29173 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29174 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29175 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29176 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29177 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29178 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29179 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29180 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29181 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29182 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29183 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29184 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29185 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29186 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29187 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29188 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29189 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29190 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29191 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29192 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29193 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29194 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29195 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29196 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29197 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29198 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29199 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29200 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29201 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29202 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29203 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29204 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29205 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29206 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29207 * sysdeps/ieee754/k_standard.c: Likewise.
29208 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29209 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29210 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29211 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29212 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29213 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29214 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29215 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29216 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29217 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29218 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29219 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29220 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29221 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29222 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29223 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29224 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29225 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29226 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29227 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29228 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29229 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29230 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29231 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29232 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29233 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29234 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29235 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29236 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29237 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29238 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29239 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29240 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29241 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29242 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29243 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29244 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29245 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29246 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29247 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29248 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29249 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29250 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29251 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29252 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29253 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29254 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29255 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29256 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29257 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29258 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29259 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29260 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29261 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29262 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29263 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29264 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29265 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29266 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29267 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29268 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29269 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29270 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29271 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29272 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29273 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29274 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29275 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29276 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29277 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29278 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29279 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29280 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29281 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29282 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29283 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29284 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29285 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29286 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29287 * sysdeps/ieee754/s_matherr.c: Likewise.
29288 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29289 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29290 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29291 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29292
965a54a4
JM
292932012-01-26 Joseph Myers <joseph@codesourcery.com>
29294
29295 * crypt/md5.h: Remove __STDC__ conditionals.
29296 * libio/libioP.h: Likewise.
29297 * locale/programs/config.h: Likewise.
29298 * sysdeps/generic/sysdep.h: Likewise.
29299 * sysdeps/i386/asm-syntax.h: Likewise.
29300 * sysdeps/s390/asm-syntax.h: Likewise.
29301 * sysdeps/unix/sysdep.h: Likewise.
29302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29304
7071ad79
JM
293052012-01-26 Joseph Myers <joseph@codesourcery.com>
29306
29307 * libio/libio.h: Remove __STDC__ conditionals.
29308 * malloc/obstack.h: Likewise.
29309 * math/complex.h: Likewise.
29310 * math/math.h: Likewise.
29311 * sysdeps/generic/_G_config.h: Likewise.
29312 * sysdeps/gnu/_G_config.h: Likewise.
29313 * sysdeps/mach/hurd/_G_config.h: Likewise.
29314 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29315 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29316 * sysdeps/sparc/bits/mathdef.h: Likewise.
29317
afc5ed09
UD
293182012-01-26 Ulrich Drepper <drepper@gmail.com>
29319
29320 [BZ #13583]
29321 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 29322 Clean up HAS_* macros.
afc5ed09 29323 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
29324 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29325 possible.
29326 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29327 HAS_AVX.
29328 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29329 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29330 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29331 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29332 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 29333
bdb6de1d
JM
293342012-01-25 Joseph Myers <joseph@codesourcery.com>
29335
29336 * elf/tst-unique3.cc (gets): Remove declaration.
29337 * elf/tst-unique3lib.cc (gets): Likewise.
29338 * elf/tst-unique3lib2.cc (gets): Likewise.
29339 * elf/tst-unique4.cc (gets): Likewise.
29340
b15549e6
UD
293412012-01-24 Ulrich Drepper <drepper@gmail.com>
29342
29343 * include/stdio.h: Add C++ protection. Add gets declarations and
29344 definitions.
29345 * debug/tst-chk1.c: Don't declare gets here.
29346 * stdio-common/tst-gets.c: Likewise.
29347
a037381f
JM
293482012-01-24 Joseph Myers <joseph@codesourcery.com>
29349
29350 * posix/glob: Remove directory.
29351
f1d4aa75
JM
293522012-01-24 Joseph Myers <joseph@codesourcery.com>
29353
29354 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29355
81c0c964
PT
293562012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29357
29358 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29359 of the non-standard EPFNOSUPPORT.
29360
0ea698ae
ST
293612011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29362
29363 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29364 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29365 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29366
d220b117
UD
293672012-01-21 Ulrich Drepper <drepper@gmail.com>
29368
29369 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29370
3e1aa84e
UD
293712012-01-20 Ulrich Drepper <drepper@gmail.com>
29372
29373 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29374 transient errors.
29375 * nscd/grpcache.c (cache_addgr): Likewise.
29376 * nscd/hstcache.c (cache_addhst): Likewise.
29377 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29378 * nscd/pwdcache.c (cache_addpw): Likewise.
29379 * nscd/servicescache.c (cache_addserv): Likewise.
29380
400aa020
UD
293812012-01-16 Ulrich Drepper <drepper@gmail.com>
29382
d77e7869
UD
29383 * malloc/malloc.c: Various cleanups.
29384 * malloc/hooks.c: Likewise.
29385
400aa020
UD
29386 * stdlib/Makefile (tests): Add bug-fmtmsg1.
29387 * stdlib/bug-fmtmsg1.c: New file.
29388
29389 * stdlib/fmtmsg.c (init): Add missing unlock.
29390 Patch by Peng Haitao <penght@cn.fujitsu.com>.
29391
e0a309cf
MP
293922012-01-12 Marek Polacek <polacek@redhat.com>
29393
29394 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29395 and _GNU_SOURCE.
29396
929d11c7
WS
293972012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29398
29399 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29400 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29401 macro to ensure uniqueness of label name.
29402 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29403 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29404
41d0e869
UD
294052012-01-11 Ulrich Drepper <drepper@gmail.com>
29406
0cc5ed3b
UD
29407 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29408
41d0e869
UD
29409 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29410 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29411 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29412 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29413
a47a831a
UD
294142012-01-10 Ulrich Drepper <drepper@gmail.com>
29415
daa891c0
UD
29416 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29417
29418 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29419 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29420 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29421
e58ef0f2
UD
29422 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29423
a47a831a 29424 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
29425 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29426 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 29427 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
29428
29429 * math/bits/math-finite.h: Add ldexp support.
29430
a0bfc9c7
MP
294312012-01-10 Marek Polacek <polacek@redhat.com>
29432
29433 * locale/programs/localedef.h (show_archive_content): Add noreturn
29434 attribute.
29435
d6e97a1d
UD
294362012-01-09 Ulrich Drepper <drepper@gmail.com>
29437
29438 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29439
d5835c26
UD
294402012-01-08 Ulrich Drepper <drepper@gmail.com>
29441
e5f484c6
UD
29442 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29443
d5835c26
UD
29444 * io/Makefile (headers): Add bits/poll2.h.
29445
d1f741e9
WS
294462011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29447
29448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29449 typo #include statement.
29450
ec09c1c4
UD
294512012-01-08 Ulrich Drepper <drepper@gmail.com>
29452
29453 * include/sys/cdefs.h: Define __attribute_alloc_size.
29454 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29455 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29456 * elf/pldd.c: Likewise.
29457 * iconv/iconv_charmap.c: Likewise.
29458 * iconv/iconvconfig.c: Likewise.
29459 * iconv/strtab.c: Likewise.
29460 * locale/programs/locale.c: Likewise.
29461 * locale/programs/localedef.h: Likewise.
29462 * locale/programs/simple-hash.c: Likewise.
29463 * nscd/nscd.h: Likewise.
29464 * nss/makedb.c: Likewise.
29465 * sysdeps/generic/ldconfig.h: Likewise.
29466 * locale/programs/localedef.c: Remove xmalloc prototype.
29467 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29468
20b38e03
PP
294692012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29470
29471 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29472 appropriate.
29473
a0da5fe1
UD
294742012-01-08 Ulrich Drepper <drepper@gmail.com>
29475
1d5a644a 29476 * math/Makefile (tests): Add tst-CMPLX.
669704fd 29477 * math/tst-CMPLX.c: New file.
1d5a644a 29478
8784a6db
UD
29479 * math/complex.h (CMPLXL): Fix typo.
29480
d9a216c0
UD
29481 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29482 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29483 GLIBC_2.16.
29484 * debug/tst-chk1.c: Add poll and ppoll tests.
29485 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29486 * include/sys/poll.h: Add hidden proto for ppoll.
29487 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29488 * sysdeps/mach/hurd/ppoll.c: Likewise.
29489 * io/ppoll.c: Likewise.
29490 * debug/poll_chk.c: New file.
29491 * debug/ppoll_chk.c: New file.
29492 * include/bits/poll2.h: New file.
29493 * io/bits/poll2.h: New file.
29494
ac097f5c
UD
29495 [BZ #1350]
29496 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29497
2119dcfa
UD
29498 * configure.in: static is always set to yes. Remove.
29499 * config.make.in: Don't set build-static.
29500 * Makeconfig: Remove use of build-static.
29501 * dlfcn/Makefile: Likewise.
29502 * elf/Makefile: Likewise.
29503 * math/Makefile: Likewise.
29504 * misc/Makefile: Likewise.
29505 * nptl/Makefile: Likewise.
29506 * sysdeps/mach/hurd/Makefile: Likewise.
29507
121766a9
UD
29508 * configure.in: PWD_P is not used anymore.
29509 * config.make.in: Remove PWD_P entry.
29510
51a1d39c 29511 * configure.in: Remove last remnants of RANLIB.
8720d066 29512 No need to check for signed size_t anymore.
215f4bdc
UD
29513 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29514 and IA-64.
3857022a 29515 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
29516 * aclocal.m4: Likewise.
29517
d3ed7225
UD
29518 * wcsmbs/mbrtoc16.c: Implement using towc function.
29519 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29520 * wcsmbs/wcsmbsload.c: Likewise.
29521 * iconv/gconv_simple.c: Likewise.
29522 * iconv/gconv_int.h: Likewise.
29523 * iconv/gconv_builtin.h: Likewise.
29524 * iconv/iconv_prog.c: Remove CHAR16 handling.
29525
29526 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29527
29528 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29529
a0da5fe1
UD
29530 * configure.in: Remove --with-elf and --enable-bounded options.
29531 Dont set base_machine for ia64. More non-ELF conditions removed.
29532 Remove testing and setting of leading underscore information.
29533 * config.make.in (build-bounded): Set to no.
29534 * config.h.in: Remove NO_UNDERSCORES entry.
29535 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29536 them.
29537 * csu/start.c: Remove !NO_UNDERSCORE code.
29538 * locale/localeinfo.h: Likewise.
29539 * sysdeps/generic/machine-gmon.h: Likewise.
29540 * sysdeps/generic/sysdep.h: Likewise.
29541 * sysdeps/i386/sysdep.h: Likewise.
29542 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29543 * sysdeps/mach/sysdep.h: Likewise.
29544 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29545 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29546 * sysdeps/sh/sysdep.h: Likewise.
29547 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29548 * sysdeps/unix/i386/sysdep.S: Likewise.
29549 * sysdeps/unix/sparc/start.c: Likewise.
29550 * sysdeps/unix/sparc/sysdep.S: Likewise.
29551 * sysdeps/unix/sparc/sysdep.h: Likewise.
29552 * sysdeps/unix/start.c: Likewise.
29553 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29554 * sysdeps/x86_64/sysdep.h: Likewise.
29555
df78418a
UD
295562012-01-07 Ulrich Drepper <drepper@gmail.com>
29557
a784e502
UD
29558 [BZ #13553]
29559 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29560 for non-gcc.
29561 * argp/argp-fmtstream.h: Use const instead __const.
29562 * argp/argp.h: Likewise.
29563 * assert/assert.h: Likewise.
29564 * bits/fenv.h: Likewise.
29565 * bits/sched.h: Likewise.
29566 * bits/sigset.h: Likewise.
29567 * bits/sigthread.h: Likewise.
29568 * catgets/nl_types.h: Likewise.
29569 * conform/data/pthread.h-data: Likewise.
29570 * crypt/crypt-private.h: Likewise.
29571 * crypt/crypt.h: Likewise.
29572 * crypt/crypt_util.c: Likewise.
29573 * ctype/ctype.h: Likewise.
29574 * debug/execinfo.h: Likewise.
29575 * debug/mbsnrtowcs_chk.c: Likewise.
29576 * debug/mbsrtowcs_chk.c: Likewise.
29577 * debug/wcsnrtombs_chk.c: Likewise.
29578 * debug/wcsrtombs_chk.c: Likewise.
29579 * debug/wcstombs_chk.c: Likewise.
29580 * dirent/dirent.h: Likewise.
29581 * dlfcn/dlfcn.h: Likewise.
29582 * elf/neededtest4.c: Likewise.
29583 * grp/grp.h: Likewise.
29584 * gshadow/gshadow.h: Likewise.
29585 * iconv/gconv.h: Likewise.
29586 * iconv/gconv_int.h: Likewise.
29587 * iconv/gconv_simple.c: Likewise.
29588 * iconv/iconv.h: Likewise.
29589 * iconv/loop.c: Likewise.
29590 * iconv/skeleton.c: Likewise.
29591 * include/aio.h: Likewise.
29592 * include/aliases.h: Likewise.
29593 * include/argz.h: Likewise.
29594 * include/arpa/inet.h: Likewise.
29595 * include/assert.h: Likewise.
29596 * include/dirent.h: Likewise.
29597 * include/dlfcn.h: Likewise.
29598 * include/execinfo.h: Likewise.
29599 * include/fcntl.h: Likewise.
29600 * include/fenv.h: Likewise.
29601 * include/glob.h: Likewise.
29602 * include/grp.h: Likewise.
29603 * include/libintl.h: Likewise.
29604 * include/mntent.h: Likewise.
29605 * include/netdb.h: Likewise.
29606 * include/pwd.h: Likewise.
29607 * include/rpc/netdb.h: Likewise.
29608 * include/sched.h: Likewise.
29609 * include/search.h: Likewise.
29610 * include/shadow.h: Likewise.
29611 * include/signal.h: Likewise.
29612 * include/stdio.h: Likewise.
29613 * include/stdlib.h: Likewise.
29614 * include/string.h: Likewise.
29615 * include/sys/socket.h: Likewise.
29616 * include/sys/stat.h: Likewise.
29617 * include/sys/statfs.h: Likewise.
29618 * include/sys/statvfs.h: Likewise.
29619 * include/sys/syslog.h: Likewise.
29620 * include/sys/time.h: Likewise.
29621 * include/sys/uio.h: Likewise.
29622 * include/time.h: Likewise.
29623 * include/unistd.h: Likewise.
29624 * include/utmp.h: Likewise.
29625 * include/wchar.h: Likewise.
29626 * include/wctype.h: Likewise.
29627 * inet/aliases.h: Likewise.
29628 * inet/arpa/inet.h: Likewise.
29629 * inet/netinet/ether.h: Likewise.
29630 * inet/netinet/in.h: Likewise.
29631 * intl/libintl.h: Likewise.
29632 * io/bits/fcntl2.h: Likewise.
29633 * io/fcntl.h: Likewise.
29634 * io/ftw.h: Likewise.
29635 * io/sys/poll.h: Likewise.
29636 * io/sys/stat.h: Likewise.
29637 * io/sys/statfs.h: Likewise.
29638 * io/sys/statvfs.h: Likewise.
29639 * io/utime.h: Likewise.
29640 * libio/bits/stdio.h: Likewise.
29641 * libio/bits/stdio2.h: Likewise.
29642 * libio/libio.h: Likewise.
29643 * libio/libioP.h: Likewise.
29644 * libio/stdio.h: Likewise.
29645 * locale/lc-ctype.c: Likewise.
29646 * locale/locale.h: Likewise.
29647 * login/utmp.h: Likewise.
29648 * malloc/arena.c: Likewise.
29649 * malloc/malloc.c: Likewise.
29650 * malloc/malloc.h: Likewise.
29651 * malloc/mcheck.c: Likewise.
29652 * malloc/mtrace.c: Likewise.
29653 * math/bits/mathcalls.h: Likewise.
29654 * math/fenv.h: Likewise.
29655 * math/math_private.h: Likewise.
29656 * misc/bits/error.h: Likewise.
29657 * misc/bits/syslog.h: Likewise.
29658 * misc/err.h: Likewise.
29659 * misc/error.h: Likewise.
29660 * misc/fstab.h: Likewise.
29661 * misc/mntent.h: Likewise.
29662 * misc/regexp.h: Likewise.
29663 * misc/search.h: Likewise.
29664 * misc/sgtty.h: Likewise.
29665 * misc/sys/mman.h: Likewise.
29666 * misc/sys/syslog.h: Likewise.
29667 * misc/sys/uio.h: Likewise.
29668 * misc/sys/xattr.h: Likewise.
29669 * misc/ttyent.h: Likewise.
29670 * nis/rpcsvc/ypclnt.h: Likewise.
29671 * nss/nss.h: Likewise.
29672 * posix/bits/unistd.h: Likewise.
29673 * posix/fnmatch.h: Likewise.
29674 * posix/glob.h: Likewise.
29675 * posix/sched.h: Likewise.
29676 * posix/spawn.h: Likewise.
29677 * posix/sys/wait.h: Likewise.
29678 * posix/unistd.h: Likewise.
29679 * posix/wordexp.h: Likewise.
29680 * pwd/pwd.h: Likewise.
29681 * resolv/netdb.h: Likewise.
29682 * resource/sys/resource.h: Likewise.
29683 * rt/aio.h: Likewise.
29684 * rt/bits/mqueue2.h: Likewise.
29685 * rt/mqueue.h: Likewise.
29686 * shadow/shadow.h: Likewise.
29687 * signal/signal.h: Likewise.
29688 * socket/send.c: Likewise.
29689 * socket/sendto.c: Likewise.
29690 * socket/sys/socket.h: Likewise.
29691 * stdio-common/printf.h: Likewise.
29692 * stdlib/bits/stdlib.h: Likewise.
29693 * stdlib/fmtmsg.h: Likewise.
29694 * stdlib/monetary.h: Likewise.
29695 * stdlib/stdlib.h: Likewise.
29696 * stdlib/ucontext.h: Likewise.
29697 * streams/stropts.h: Likewise.
29698 * string/argz.h: Likewise.
29699 * string/bits/string2.h: Likewise.
29700 * string/string.h: Likewise.
29701 * string/strings.h: Likewise.
29702 * sunrpc/rpc/auth.h: Likewise.
29703 * sunrpc/rpc/auth_des.h: Likewise.
29704 * sunrpc/rpc/clnt.h: Likewise.
29705 * sunrpc/rpc/netdb.h: Likewise.
29706 * sunrpc/rpc/pmap_clnt.h: Likewise.
29707 * sunrpc/rpc/xdr.h: Likewise.
29708 * sysdeps/generic/inttypes.h: Likewise.
29709 * sysdeps/generic/net/if.h: Likewise.
29710 * sysdeps/generic/sys/swap.h: Likewise.
29711 * sysdeps/gnu/net/if.h: Likewise.
29712 * sysdeps/gnu/utmpx.h: Likewise.
29713 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29714 * sysdeps/i386/i486/bits/string.h: Likewise.
29715 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29716 * sysdeps/s390/bits/string.h: Likewise.
29717 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29718 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29719 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29720 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29721 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29722 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29723 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29724 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29725 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29726 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29727 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29728 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29729 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29730 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29731 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29732 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29733 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29734 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29735 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29736 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29737 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29738 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29739 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29740 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29741 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29742 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29743 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29744 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29745 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29746 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29747 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29748 * sysvipc/sys/ipc.h: Likewise.
29749 * sysvipc/sys/msg.h: Likewise.
29750 * sysvipc/sys/sem.h: Likewise.
29751 * sysvipc/sys/shm.h: Likewise.
29752 * termios/termios.h: Likewise.
29753 * time/sys/time.h: Likewise.
29754 * time/time.h: Likewise.
29755 * wcsmbs/bits/wchar2.h: Likewise.
29756 * wcsmbs/uchar.h: Likewise.
29757 * wcsmbs/wchar.h: Likewise.
29758 * wctype/wctype.h: Likewise.
29759
0269750c
UD
29760 [BZ #13551]
29761 * Makeconfig: Remove all but ELF support including AIX support.
29762 * Makerules: Likewise.
29763 * config.h.in: Likewise.
29764 * config.make.in: Likewise.
29765 * configure: Likewise.
29766 * configure.in: Likewise.
29767 * csu/Makefile: Likewise.
29768 * csu/version.c: Likewise.
29769 * debug/Makefile: Likewise.
29770 * dlfcn/Makefile: Likewise.
29771 * elf/Makefile: Likewise.
29772 * extra-lib.mk: Likewise.
29773 * iconv/Makefile: Likewise.
29774 * include/libc-symbols.h: Likewise.
29775 * include/shlib-compat.h: Likewise.
29776 * resolv/Makefile: Likewise.
29777 * resolv/res_libc.c: Likewise.
29778 * rt/Makefile: Likewise.
29779 * sysdeps/i386/asm-syntax.h: Likewise.
29780 * sysdeps/i386/sysdep.h: Likewise.
29781 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29782 * sysdeps/mach/sysdep.h: Likewise.
29783 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29784 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29785 * sysdeps/s390/asm-syntax.h: Likewise.
29786 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29787 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29788 * sysdeps/sh/sysdep.h: Likewise.
29789 * sysdeps/unix/sparc/sysdep.h: Likewise.
29790 * sysdeps/wordsize-32/divdi3.c: Likewise.
29791 * sysdeps/x86_64/sysdep.h: Likewise.
29792
00bbd29b
UD
29793 * argp/Versions: Remove _argp_unlock_xxx.
29794
29795 [BZ #13559]
29796 * abilist/ld.abilist: Update. Adjust for removal of tls option.
29797 * abilist/libBrokenLocale.abilist: Likewise.
29798 * abilist/libanl.abilist: Likewise.
29799 * abilist/libc.abilist: Likewise.
29800 * abilist/libcrypt.abilist: Likewise.
29801 * abilist/libdl.abilist: Likewise.
29802 * abilist/libm.abilist: Likewise.
29803 * abilist/libnsl.abilist: Likewise.
29804 * abilist/libpthread.abilist: Likewise.
29805 * abilist/libresolv.abilist: Likewise.
29806 * abilist/librt.abilist: Likewise.
29807 * abilist/libthread_db.abilist: Likewise.
29808 * abilist/libutil.abilist: Likewise.
29809 * abilist/libnss_db.abilist: New file.
29810
29811 * scripts/abilist.awk: Add support for indirect functions.
29812
a2693a0e
UD
29813 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29814
3f05895f
UD
29815 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29816
ecb6fb48
UD
29817 * shlib-versions: Remove entries for ports architectures.
29818
664f8cb9
UD
29819 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29820 files in ports.
29821 * elf/stackguard-macros.h: Remove support for IA-64.
29822 * elf/tst-auditmod1.c: Likewise.
29823 * sysdeps/generic/ldsodefs.h: Likewise.
29824
7ae81d88
UD
29825 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29826 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29827 configure files.
29828
bdeba135
UD
29829 [BZ #13552]
29830 * configure.in: Remove --enable-omitfp support.
29831 * FAQ.in: Adjust.
29832 * config.make.in: Likewise.
29833 * Makeconfig: Likewise.
29834 * manual/install.texi: Likewise.
29835
d75a0a62
UD
29836 In case anyone cares, the IA-64 architecture could move to ports.
29837 * sysdeps/ia64/*: Removed.
29838 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 29839 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 29840
dcc9756b
UD
29841 [BZ #13555]
29842 * configure.in: Remove entries for unsupported architectures.
29843
d3761ebc 29844 [BZ #13533]
9954432e
UD
29845 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29846 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
29847 routines.
29848 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29849 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29850 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29851 fall back to using wcrtomb.
29852 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29853 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29854 renaming.
29855 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29856 * wcsmbs/tst-c16c32-1.c: New file.
29857
29858 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29859 local variable.
29860
c3a87236
UD
29861 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29862
28926a1b
UD
29863 * elf/tst-unique3.cc: Add explicit declaration of gets.
29864 * elf/tst-unique3lib.cc: Likewise.
29865 * elf/tst-unique3lib2.cc: Likewise.
29866 * elf/tst-unique4.cc: Likewise.
29867
df78418a
UD
29868 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29869
8ecd6b2a
JM
298702012-01-06 Joseph Myers <joseph@codesourcery.com>
29871
29872 [BZ #13566]
29873 * assert/assert.h (static_assert): Don't define for C++.
29874 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29875 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29876
9f115170
UD
298772012-01-03 Ulrich Drepper <drepper@gmail.com>
29878
5e0d0300
UD
29879 * iconv/loop.c (single loop): Fix assertion in storing of
29880 remaining bytes.
29881
9f115170
UD
29882 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29883
81fb02b0
UD
298842012-01-01 Ulrich Drepper <drepper@gmail.com>
29885
29886 * posix/getconf.c: Update copyright year.
29887 * nss/getent.c: Likewise.
a316c1f6 29888 * nss/makedb.c: Likewise.
81fb02b0
UD
29889 * iconv/iconvconfig.c: Likewise.
29890 * iconv/iconv_prog.c: Likewise.
29891 * elf/ldconfig.c: Likewise.
a316c1f6
UD
29892 * elf/pldd.c: Likewise.
29893 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
29894 * catgets/gencat.c: Likewise.
29895 * csu/version.c: Likewise.
29896 * elf/ldd.bash.in: Likewise.
29897 * elf/sprof.c (print_version): Likewise.
29898 * locale/programs/locale.c: Likewise.
29899 * locale/programs/localedef.c: Likewise.
a316c1f6 29900 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
29901 * nscd/nscd.c (print_version): Likewise.
29902 * debug/xtrace.sh: Likewise.
29903 * malloc/memusage.sh: Likewise.
29904 * malloc/mtrace.pl: Likewise.
29905 * debug/catchsegv.sh: Likewise.
29906
2ba92745
JJ
299072011-12-30 Jakub Jelinek <jakub@redhat.com>
29908
29909 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29910 pure attribute.
29911
dadebdae
UD
299122011-12-24 Ulrich Drepper <drepper@gmail.com>
29913
d3761ebc 29914 [BZ #13533]
db6af3eb
UD
29915 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29916 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29917 transformations.
29918 * iconv/gconv_int.h: Likewise.
29919 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29920 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29921 from libc for GLIBC_2.16.
29922 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29923 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29924 * wcsmbs/uchar.h: Really define mbstate_t.
29925 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29926 * wcsmbs/c16rtomb.c: New file.
29927 * wcsmbs/mbrtoc16.c: New file.
29928 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29929 for C/POSIX locale.
29930 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29931 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29932
dadebdae
UD
29933 * wcsmbs/wchar.h: Add missing __restrict.
29934
67371b56
UD
299352011-12-23 Ulrich Drepper <drepper@gmail.com>
29936
74033a25
UD
29937 [BZ #13532]
29938 * time/Makefile (routines): Add timespec_get.
29939 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29940 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29941 timespec for ISO C11.
29942 * time/timespec_get.c: New file.
29943 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29944 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29945
380d7e87
UD
29946 [BZ #13531]
29947 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29948 * stdlib/stdlib.h: Declare aligned_alloc.
29949 * Versions.def: Add GLIBC_2.16 for libc.
29950 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29951
4e9e7a35
UD
29952 [BZ 13527]
29953 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29954 ISO C11.
29955
380d7e87 29956 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
29957 code.
29958
03a71829
UD
29959 [BZ #13528]
29960 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29961
839e283e
UD
29962 [BZ #13529]
29963 * assert/assert.h (static_assert): Define.
29964
ce5294e2 29965 * version.h: Update for 2.16 development version.
90fa7312 29966
8d44e150 29967 [BZ #13526]
d7809905
UD
29968 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29969 _ISOC11_SOURCE.
29970
c0da14cd
UD
29971 * version.h (RELEASE): Bump for 2.15 release.
29972 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29973
530a3249
MP
29974 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29975 Patch by Marek Polacek <mpolacek@redhat.com>.
29976
67371b56
UD
29977 * bits/byteswap.h: Protect long long constants with __extension__.
29978 * sysdeps/i386/bits/byteswap.h: Likewise.
29979 * sysdeps/ia64/bits/byteswap.h: Likewise.
29980 * sysdeps/s390/bits/byteswap.h: Likewise.
29981 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29982
15db4de1
LD
299832011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29984
29985 [BZ #13540]
bbe315ea
LD
29986 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29987 destination buffer.
15db4de1
LD
29988 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29989
2b2596b1
MP
299902011-12-23 Marek Polacek <polacek@redhat.com>
29991
29992 * elf/dl-addr.c (determine_info): Add inline keyword.
29993 * elf/tst-auditmod4b.c (check_avx): Likewise.
29994 * elf/tst-auditmod6b.c (check_avx): Likewise.
29995 * elf/tst-auditmod6c.c (check_avx): Likewise.
29996 * elf/tst-auditmod7b.c (check_avx): Likewise.
29997
70c6c246
UD
299982011-12-23 Ulrich Drepper <drepper@gmail.com>
29999
30000 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30001 !__SSE_MATH__.
30002
c044cf14
LD
300032011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30004
15db4de1 30005 [BZ #13540]
c044cf14
LD
30006 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30007 processing for last bytes.
30008
6b13d9d9
BH
300092011-08-06 Bruno Haible <bruno@clisp.org>
30010
d455f537
BH
30011 [BZ #13061]
30012 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30013 U+0385, not to U+1FEE.
30014
6b13d9d9
BH
30015 [BZ #13062]
30016 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30017 entry for U+00A5 U+0301.
30018
db910efd
UD
300192011-12-22 Ulrich Drepper <drepper@gmail.com>
30020
27deeafc
UD
30021 [BZ #13166]
30022 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30023 buffer for the output is too small.
30024
aed9d171
UD
30025 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30026 optimization.
30027
db910efd
UD
30028 [BZ #13185]
30029 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30030 SSE flags if possible.
30031
2bd779ae
LD
300322011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30033
e7f9dac3 30034 [BZ #13540]
2bd779ae
LD
30035 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30036 processing for last bytes.
30037
154bfc16
JM
300382011-12-22 Joseph Myers <joseph@codesourcery.com>
30039
30040 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30041 (syscall-list-default-options, syscall-list-default-condition)
30042 (syscall-list-includes): Define.
30043 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30044 list of ABIs and options and #if conditions for each ABI. Do not
30045 handle common syscalls between ABIs specially.
30046 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30047 Remove.
30048 (syscall-list-variants, syscall-list-32bit-options)
30049 (syscall-list-32bit-condition, syscall-list-64bit-options)
30050 (syscall-list-64bit-condition): Define.
30051 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30052 (syscall-list-variants, syscall-list-32bit-options)
30053 (syscall-list-32bit-condition, syscall-list-64bit-options)
30054 (syscall-list-64bit-condition): Define.
30055 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30056 Remove.
30057 (syscall-list-variants, syscall-list-32bit-options)
30058 (syscall-list-32bit-condition, syscall-list-64bit-options)
30059 (syscall-list-64bit-condition): Define.
30060 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30061 Remove.
30062 (syscall-list-variants, syscall-list-32bit-options)
30063 (syscall-list-32bit-condition, syscall-list-64bit-options)
30064 (syscall-list-64bit-condition): Define.
30065
21eaf3a5
UD
300662011-12-22 Ulrich Drepper <drepper@gmail.com>
30067
16c6f992
UD
30068 * locale/iso-639.def: Add brx entry.
30069
41043168
UD
30070 [BZ #13328]
30071 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30072 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30073
21eaf3a5
UD
30074 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30075 __feraiseexcept_renamed.
30076
e3a851a2
UD
300772011-12-21 Ulrich Drepper <drepper@gmail.com>
30078
4920765e
UD
30079 [BZ #13538]
30080 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30081 EPOLLET with unsigned values.
30082 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30083 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30084
e3a851a2
UD
30085 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30086 to large cancellation.
30087 * math/s_cacoshf.c: Likewise.
30088 * math/s_cacoshl.c: Likewise.
30089
b27e24b8
RK
300902011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30091
30092 [BZ #13305]
aebefeee 30093 [BZ #12786]
b27e24b8
RK
30094 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30095 * math/s_cacoshf.c: Likewise.
30096 * math/s_cacoshl.c: Likewise.
30097
ee190f67
UD
300982011-12-21 Ulrich Drepper <drepper@gmail.com>
30099
30100 [BZ #13439]
30101 * iconv/gconv.h: Define __GCONV_SWAP.
30102 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30103 * iconvdata/utf-16.c: Likewise.
30104 * iconvdata/utf-32.c: Likewise.
30105
707f25df
AS
301062011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30107
30108 [BZ #13524]
30109 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30110 numerator after shifting it by one limb.
30111
d2daaa1e
RÁE
301122011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30113
30114 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30115 under [__USE_EXTERN_INLINES].
30116
a4647e72
UD
301172011-12-17 Ulrich Drepper <drepper@gmail.com>
30118
30119 [BZ #13446]
30120 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30121
f0b264f1
AZ
301222011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30123
30124 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30125 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30126 optimized code.
30127 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30128 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30129 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30130 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30131 for strncasecmp/strncasecmp_l compilation.
30132 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30133 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30134
8ef4f244
MP
301352011-12-08 Marek Polacek <mpolacek@redhat.com>
30136
30137 [BZ #13484]
30138 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30139 of __asm__.
30140
97ac2654
UD
301412011-12-17 Ulrich Drepper <drepper@gmail.com>
30142
30143 [BZ #13506]
30144 * time/tzfile.c (__tzfile_read): Check values from file header.
30145
91d2a845
WS
301462011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30147
30148 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30149 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30150 * powerpc/powerpc32/dl-start.S: Likewise.
30151 * powerpc/powerpc32/elf/start.S: Likewise.
30152 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30153 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30154 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30155 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30156 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30157 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30158 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30159 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30160 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30161 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30162 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30163 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30164 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30165 * powerpc/powerpc32/memset.S: Likewise.
30166 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30167 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30168 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30169 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30170 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30171 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30172 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30173 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30174 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30175 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30176 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30177 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30178 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30179
a1267ba1
AZ
301802011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30181
30182 * math/libm-test.inc: Added more nearbyint tests.
30183 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30184 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30185 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30186 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30187
ad8ac1bd
RL
301882011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30189
30190 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30191 FD_CLOEXEC.
30192
1d3e4b61
UD
301932011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30194
30195 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30196 Add wcscpy-ssse3 wcscpy-c.
30197 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30198 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30199 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30200 * sysdeps/x86_64/wcschr.S: New file.
30201 * sysdeps/x86_64/wcsrchr.S: New file.
30202 * string/test-strcmp.c: Remove checking of wcscmp function for
30203 wrong alignments.
30204 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30205 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30206 wcsrchr-sse2 wcsrchr-c.
30207 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30208 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30209 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30210 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30211 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30212 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30213 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30214 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30215 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30216 * wcsmbc/wcschr.c (WCSCHR): New macro.
30217
5b330a2d
UD
302182011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30219
30220 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30221 * wcsmbs/test-wcsrchr.c: New file.
30222 * string/test-strrchr.c: Add wcsrchr support.
30223 (WIDE): New macro.
30224 * wcsmbs/test-wcscpy.c: New file.
30225 * string/test-strcpy.c: Add wcscpy support.
30226 (WIDE): New macro.
26428b7c 30227
f039c043
UD
302282011-12-10 Ulrich Drepper <drepper@gmail.com>
30229
30230 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30231 the inner loop.
30232
850fb039
AS
302332011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30234
30235 [BZ #13472]
30236 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30237
4efbd5cb
UD
302382011-12-04 Ulrich Drepper <drepper@gmail.com>
30239
52ff5dd0 30240 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 30241 Minor optimizations.
52ff5dd0 30242
4efbd5cb
UD
30243 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30244 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30245 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30246
8a426e12
UD
302472011-12-03 Ulrich Drepper <drepper@gmail.com>
30248
aff2453d
UD
30249 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30250 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30251 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30252 for gcc to avoid warnings.
30253 * inet/Makefile (tests): Add tst-checks.
30254 * inet/tst-checks.c: New file.
30255
30256 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30257 warning.
30258
30259 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30260 __wmemcmp_sse2.
30261
30262 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30263 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30264
8a426e12
UD
30265 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30266
9bea3473
UD
302672011-12-02 Ulrich Drepper <drepper@gmail.com>
30268
3a965496
UD
30269 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30270 problem.
30271
9bea3473
UD
30272 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30273
f101631b
UD
302742011-11-29 Joseph Myers <joseph@codesourcery.com>
30275
30276 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30277 conditional on GCC version.
30278 (__arch_compare_and_exchange_val_8_acq)
30279 (__arch_compare_and_exchange_val_16_acq)
30280 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30281 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30282 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30283
a98275aa
UD
302842011-12-02 Joseph Myers <joseph@codesourcery.com>
30285
30286 * sysdeps/sh/backtrace.c: New file.
30287
d4cc29a2
AS
302882011-12-02 Andreas Schwab <schwab@redhat.com>
30289
30290 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30291 parenthesis.
30292
6257af2d
AS
302932011-12-01 Andreas Schwab <schwab@redhat.com>
30294
30295 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30296 falling back to utime.
30297
b5f44c1a
AS
302982011-11-30 Andreas Schwab <schwab@redhat.com>
30299
30300 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30301 expectations for float.
30302
f3a6cc0a
AS
303032011-11-29 Andreas Schwab <schwab@redhat.com>
30304
30305 * locale/weight.h (findidx): Add parameter len.
30306 * locale/weightwc.h (findidx): Likewise.
30307 * posix/fnmatch_loop.c (FCT): Adjust caller.
30308 * posix/regcomp.c (build_equiv_class): Likewise.
30309 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30310 * posix/regexec.c (check_node_accept_bytes): Likewise.
30311 * string/strcoll_l.c (STRCOLL): Likewise.
30312 * string/strxfrm_l.c (STRXFRM): Likewise.
30313
9d65ea3a
UD
303142011-11-17 Ulrich Drepper <drepper@gmail.com>
30315
30316 * Makefile.in: Remove CVSOPT handling.
30317 * configure.in: Remove use of AC_REVISION.
30318 * iconvdata/Makefile (distribute): No need to filter out CVS.
30319 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30320 handling.
30321
5583a086
AS
303222011-11-16 Andreas Schwab <schwab@redhat.com>
30323
30324 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30325 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30326 [USE_AS_STRNCASECMP_L]: Likewise.
30327 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30328 NO_TLS_DIRECT_SEG_REFS.
30329 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30330 Fix argument offsets for non-PIC.
30331 [USE_AS_STRNCASECMP_L]: Likewise.
30332 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30333 NO_TLS_DIRECT_SEG_REFS.
30334
d62a8200
UD
303352011-11-15 Ulrich Drepper <drepper@gmail.com>
30336
9d65ea3a 30337 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
30338 O_CLOEXEC.
30339 * locale/loadlocale.c (_nl_load_locale): Likewise.
30340
09f93bd3
AS
303412011-11-15 Andreas Schwab <schwab@redhat.com>
30342
446514f9
AS
30343 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30344 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30345 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30346 (SYSCALL_GETTIME): Set errno on error.
30347
09f93bd3
AS
30348 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30349 count references to noai6ai_cached.
30350
312be3f9
UD
303512011-11-15 Ulrich Drepper <drepper@gmail.com>
30352
30353 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30354
30355 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30356 FD_CLOEXEC for /proc/self/maps.
30357
30358 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30359 FD_CLOEXEC for /proc/meminfo.
30360
30361 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30362 gai.conf.
30363
30364 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30365 FD_CLOEXEC for given file.
30366
30367 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30368
30369 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30370 FD_CLOEXEC for /etc/hosts.
30371 (_gethtent): Likewise.
30372
30373 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30374
30375 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30376 cancellation and set FD_CLOEXEC for /etc/netgroup.
30377
30378 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30379 reading /etc/publickey.
30380
30381 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30382 allow cancellation when reading /etc/group.
30383
30384 * nss/nss_files/files-alias.c (internal_setent): Don't allow
30385 cancellation.
30386 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
30387
30388 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30389 when using data file.
30390
30391 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30392
30393 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30394 (write_nis_obj): Use "c" and "e" in fopen.
30395
30396 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30397
30398 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30399
30400 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30401
30402 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30403
30404 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30405 locale.alias.
30406
30407 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30408
30409 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30410
30411 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30412
30413 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30414 file parsing and set FD_CLOEXEC.
30415
82af0fa8
UD
304162011-11-14 Ulrich Drepper <drepper@gmail.com>
30417
30418 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30419
a5fb313c
AS
304202011-11-14 Andreas Schwab <schwab@redhat.com>
30421
30422 * malloc/arena.c (arena_get2): Don't call reused_arena when
30423 _int_new_arena failed.
30424
6abf3465
UD
304252011-11-14 Ulrich Drepper <drepper@gmail.com>
30426
30427 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30428 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30429 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30430 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30431 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30432 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30433 to compile strcasecmp and strncasecmp.
30434 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30435 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30436
30437 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30438
76e3966e
UD
304392011-11-13 Ulrich Drepper <drepper@gmail.com>
30440
30441 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30442 locale-defines.sym to gen-as-const-headers.
30443 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30444 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30445 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30446 to compile strcasecmp and strncasecmp.
30447 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30448 strcasecmp_l and strncasecmp_l.
30449 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30450 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30451 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30452 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30453 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30454 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30455 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30456 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30457 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30458 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30459 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30460
ab26144e
UD
304612011-11-12 Ulrich Drepper <drepper@gmail.com>
30462
7edb22ef
UD
30463 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30464 result of SYSDEP_GETTIME_CPU to retval.
30465 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30466 parameter list to macro. Remove trailing semicolon. Adjust users.
30467
9694fc44
UD
30468 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30469 variable.
30470
8ad89ef8
UD
30471 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30472 mantissa words.
30473 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30474
0c822ef9
UD
30475 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30476 from unused variable.
30477
874e0564
UD
30478 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30479 DWARF definitions.
30480 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30481 for assembling.
30482
3a2edc79
UD
30483 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30484 over namespaces.
30485
f3c2577f
UD
30486 * sunrpc/rpc_prot.c (rejected): Fix case value.
30487
294ce126
UD
30488 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30489 unsigned long long int to avoid warnings in shift.
30490
5e2b63c6
UD
30491 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30492 of use of trans.
30493 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30494 variable tmp.
30495
e7f4b08e
UD
30496 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30497 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30498 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30499
ab26144e
UD
30500 * nis/nis_table.c (nis_list): Use variable of correct type for
30501 result of __follow_path call.
30502
8a6d5255
AZ
305032011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30504
30505 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30506 of math functions ceil, trunc, floor, round, and sqrt, when
30507 avaliable on the platform.
30508 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30509 name clash.
30510 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30511 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30512 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30513
aaddc98c
MP
305142011-10-30 Marek Polacek <mpolacek@redhat.com>
30515
30516 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30517 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30518
95b7042b
RM
305192011-11-11 Roland McGrath <roland@hack.frob.com>
30520
30521 * include/unistd.h: Fix __readlink return type.
30522 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30523
57769839
UD
305242011-11-11 Ulrich Drepper <drepper@gmail.com>
30525
30526 * stdlib/ucontext.h: Undo last change for makecontext.
30527
edc5984d
AS
305282011-11-11 Andreas Schwab <schwab@redhat.com>
30529
98591e58
AS
30530 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30531
edc5984d
AS
30532 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30533 * setjmp/setjmp.h: Mark functions as non-leaf.
30534 * setjmp/bits/setjmp2.h: Likewise.
30535 * stdlib/ucontext.h: Likewise.
30536
77cdc054
AS
305372011-11-10 Andreas Schwab <schwab@redhat.com>
30538
30539 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30540 (reused_arena): Don't check arena limit.
30541 (arena_get2): Atomically check arena limit.
30542
fe72eebd
UD
305432011-11-08 Ulrich Drepper <drepper@gmail.com>
30544
5f078c32
UD
30545 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30546 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30547
fe72eebd
UD
30548 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30549 instructions.
30550
ae1bc2fa
AS
305512011-11-07 Andreas Schwab <schwab@redhat.com>
30552
7583a88d
AS
30553 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30554 handler when locking.
30555
ae1bc2fa
AS
30556 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30557 Fix size of allocated buffer.
30558
10fb0bfa
AS
305592011-11-04 Andreas Schwab <schwab@redhat.com>
30560
998832a4
AS
30561 [BZ #10103]
30562 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30563 declarations for long double functions.
30564 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30565
10fb0bfa
AS
30566 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30567
3d7ba52b
AS
305682011-11-03 Andreas Schwab <schwab@redhat.com>
30569
a9ae54a1
AS
30570 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30571 installed.
30572
3d7ba52b
AS
30573 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30574 is disabled.
30575
bc8db248
ST
305762011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30577
30578 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30579
45b96dd6
AS
305802011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30581
647776f6
AS
30582 * include/alloca.h (stackinfo_alloca_round): Define.
30583 (extend_alloca): Use it.
30584 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30585 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30586 here.
30587
d91a8b93
AS
30588 * scripts/check-local-headers.sh: Ignore libaudit.h.
30589
45b96dd6
AS
30590 * nscd/Makefile (extra-objs): Make recursively expanded.
30591
432d41ce
UD
305922011-11-01 Ulrich Drepper <drepper@gmail.com>
30593
34372fc6
UD
30594 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30595 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30596
fadb59f8
UD
30597 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30598 * posix/tst-rfc3484-2.c: Likewise.
30599 * posix/tst-rfc3484-3.c: Likewise.
30600
78239589
UD
30601 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30602 process_vm_writev.
30603 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30604 process_vm_writev.
30605 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30606 process_vm_writev from libc using GLIBC_2.15 version.
30607
432d41ce
UD
30608 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30609
02f9c6cf
PP
306102011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30611
30612 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30613 stack usage.
30614
3a2c0242
UD
306152011-10-31 Ulrich Drepper <drepper@gmail.com>
30616
f4ec4833
UD
30617 [BZ #13367]
30618 * nss/getent.c (initgroups_keys): Show error message in case no group
30619 names are given.
30620
3a2c0242
UD
30621 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30622 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30623 __bump_nl_timestamp.
30624 * nscd/connections (nscd_init): When host database is served open
30625 netlink socket and request notification about configuration changes.
30626 (main_loop_poll): Track netlink file descriptor and bump timestamp
30627 in case data becomes available.
30628 (main_loop_epoll): Likewise.
30629 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30630 (database_pers_head): Add extra_data fileds.
30631 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30632 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30633 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30634 Adjust caller.
30635 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30636 in6ai data, call __free_in6ai.
30637 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30638 Add -DHAVE_NETLINK.
30639 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30640 interface information. Reuse previous data if netlink timestamp
30641 is not changed.
30642 (__bump_nl_timestamp): New function.
30643 (__free_in6ai): New function.
30644
636064eb
UD
306452011-10-30 Ulrich Drepper <drepper@gmail.com>
30646
30647 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30648 close_not_cancel_no_status here.
30649 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30650
9beb2334
UD
306512011-10-29 Ulrich Drepper <drepper@gmail.com>
30652
6ef76f3b
UD
30653 [BZ #13276]
30654 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30655 return value.
30656
0ffc4f3e 30657 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
30658 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30659 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30660
cb95113e
UD
306612011-07-03 Andreas Jaeger <aj@suse.de>
30662
30663 [BZ #10709]
30664 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30665 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30666 * math/libm-test.inc (sin_test): Add test case.
30667
a1b560ff
UD
306682011-10-29 Ulrich Drepper <drepper@gmail.com>
30669
c9aaface
UD
30670 [BZ #13337]
30671 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30672 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30673
d272e7f1
UD
30674 * elf/chroot_canon.c (chroot_canon): Cleanups.
30675
1bc33071
UD
30676 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30677
1760874d
TJ
30678 [BZ #13335]
30679 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30680 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30681
51d91b18
UD
30682 * string/test-strchr.c: Make usable for strchrnul testing.
30683 * string/test-strchrnul.c: New file.
30684 * string/Makefile (strop-tests): Add strchrnul.
30685
a1b560ff 30686 * po/it.po: Update from translation team.
b611fb81 30687 * po/es.po: Likewise.
a1b560ff 30688
a5b81e1f
UD
306892011-10-28 Ulrich Drepper <drepper@gmail.com>
30690
fd52bc6d
UD
30691 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30692 the three constants needed as parameters. Drop the others.
30693 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30694 __m128i_strloadu_tolower.
52e4b9eb
UD
30695 Create and initialize variable zero and use it in all the places
30696 where _mm_setzero_si128 was used.
fd52bc6d 30697
a5b81e1f
UD
30698 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30699 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30700 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30701 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30702 anymore.
30703 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30704 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30705 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30706 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30707 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30708 __mpranred, __mptan.
30709 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30710 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30711 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30712 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30713 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30714 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30715 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30716 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30717 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30718
b4343346
AS
307192011-10-28 Andreas Schwab <schwab@redhat.com>
30720
0c92d8a8
AS
30721 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30722 redefine if SHARED.
30723 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30724
b4343346
AS
30725 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30726 wide char related routines to wcsmbs subdir.
30727
3871f58f
AS
307282011-10-27 Andreas Schwab <schwab@redhat.com>
30729
30730 [BZ #13344]
30731 * misc/sys/cdefs.h (__THROWNL): Define.
30732 * posix/unistd.h: Use __THREADNL instead of __THREAD
30733 for memory synchronization functions.
30734
94d44d9f
RM
307352011-10-26 Roland McGrath <roland@hack.frob.com>
30736
21b64b15 30737 [BZ #13349]
94d44d9f
RM
30738 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30739 doesn't exist.
30740 * manual/stdio.texi (Obstack Streams): Node removed.
30741
f6ce9294
AS
307422011-10-26 Andreas Schwab <schwab@redhat.com>
30743
80479147
AS
30744 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30745 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30746 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30747
f6ce9294
AS
30748 * math/math_private.h (math_force_eval): Allow non-addressable
30749 arguments.
30750 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30751
618280a1
UD
307522011-10-25 Ulrich Drepper <drepper@gmail.com>
30753
e0016b11
UD
30754 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30755 file is not needed.
30756
30757 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30758 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30759 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30760 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30761 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30762 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30763 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30764 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30765 Add AVX variants.
30766 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30767 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30768 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30769 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30770 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30771 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30772 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30773 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30774 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30775 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30776 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30777 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30778 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30779 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30780 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30781 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30782 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30783 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30784 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30785
30786 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30787 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
30788
618280a1
UD
30789 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30790 place. Use VEX encoding when compiling for AVX.
30791
37822576
AS
307922011-10-25 Andreas Schwab <schwab@redhat.com>
30793
1f1e1947
AS
30794 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30795 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30796
37822576
AS
30797 * string/test-strchr.c (do_test): Don't generate NUL bytes.
30798
31ea014d
UD
307992011-10-25 Ulrich Drepper <drepper@gmail.com>
30800
d7826aa1 30801 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 30802 useless if() expression.
d7826aa1
UD
30803 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30804 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30805 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30806 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30807 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30808 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30809 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30810 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30811 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30812 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30813 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30814 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30815 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30816 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30817 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30818 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30819 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30820 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30821 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30822
31ea014d
UD
30823 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30824
16437fec
AS
308252011-10-25 Andreas Schwab <schwab@redhat.com>
30826
30827 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30828 condition.
30829 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30830
31d3cc00
UD
308312011-10-25 Ulrich Drepper <drepper@gmail.com>
30832
30833 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30834 .text section. Avoid duplicate constants.
30835 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30836 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30837 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30838 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30839 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30840 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30841 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30842 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30843 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30844 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30845 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30846 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30847 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30848 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30849 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30850 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30851 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30852 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30853 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30854 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30855 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30856 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30857 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30858 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30859 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30860 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30861 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30862 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30863 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30864 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30865 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30866 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30867 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30868 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30869 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30870 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30871 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30872 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30873 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30874 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30875 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30876 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30877 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30878 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30879 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30880
58985aa9
UD
308812011-10-24 Ulrich Drepper <drepper@gmail.com>
30882
202c9deb
UD
30883 * sysdeps/x86_64/dla.h: Move to ...
30884 * sysdeps/x86_64/fpu/dla.h: ...here.
30885 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30886 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 30887
af968f62
UD
30888 * config.make.in: Add have-mfma4 entry.
30889 * configure.in: Substitute libc_cv_cc_fma4.
30890 * math/Makefile (dbl-only-routines): Add sincostab.
30891 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30892 Use __sincostab not sincos.
30893 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30894 name is a macro.
30895 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30896 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30897 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30898 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30899 using __copysign.
30900 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30901 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30902 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30903 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30904 and __inv.
30905 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30906 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30907 __copysign.
30908 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30909 define aliases when function name is a macro.
30910 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30911 sysdeps/ieee754/dbl-64/sincos.tbl.
30912 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30913 fma4-enabled routines.
30914 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30915 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30916 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30917 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30918 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30919 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30920 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30921 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30922 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30923 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30924 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30925 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30926 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30927 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30928 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30929 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30930 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30931 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30932 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30933 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30934 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30935 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30936 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30937 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30938 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30939 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30940 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30941 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30942 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30943 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30944
58985aa9
UD
30945 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30946 rename.
30947 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30948 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30949 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30950 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30951 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30952 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30953 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30954 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30955
a201fbcf
AS
309562011-10-24 Andreas Schwab <schwab@redhat.com>
30957
30958 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30959
fc2ee42a
LD
309602011-10-23 Ulrich Drepper <drepper@gmail.com>
30961
bb3129bd
UD
30962 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30963
0275fff8
UD
30964 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30965 prediction.
30966 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30967
2fa2ae85
UD
30968 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30969 Remove unused variable magic_bits.
30970 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30971
fc2ee42a
LD
30972 * string/strnlen.c: Define and use STRNLEN macro.
30973 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30974 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30975 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30976 * wcsmbs/wcslen.c: Define and use WCSLEN.
30977 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30978 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30979 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30980 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30981 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30982 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30983 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30984
ce7dd29f
LD
309852011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30986
30987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30988 strnlen-sse2-no-bsf.
30989 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30990 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30991 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30992 Add strnlen support.
30993 (USE_AS_STRNLEN): New macro.
30994 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30995 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30996 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30997 * sysdeps/x86_64/wcslen.S: New file.
30998
979c70a3
MZ
309992011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31000
31001 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31002 XMM-moves are used for copying on small sizes.
31003
2d09f82f
LD
310042011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31005
31006 * wcsmbs/Makefile (strop-tests): Add wcschr.
31007 * wcsmbs/test-wcschr.c: New file.
31008 * string/test-strchr.c: Update.
31009 Add wcschr support.
31010 (WIDE): New macro.
31011
619fccca
LD
310122011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31013
2d09f82f 31014 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
31015 * wcsmbs/test-wcslen.c: New file.
31016 * string/test-strlen.c: Update.
31017 Add wcslen support.
31018 (WIDE): New macro.
31019
09f699ea
UD
310202011-10-23 Ulrich Drepper <drepper@gmail.com>
31021
31022 * po/it.po: Update from translation team.
31023
95584d3b
LD
310242011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31025
31026 * sysdeps/x86_64/wcscmp.S: Update.
31027 Fix wrong comparison semantics.
31028 wcscmp shall use signed comparison not unsigned.
31029 Don't use substraction to avoid overflow bug.
31030 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31031 * wcsmbc/wcscmp.c: Likewise.
31032 * string/test-strcmp.c: Likewise.
31033 Add new tests to check cases with negative values.
31034
c8b3296b
UD
310352011-10-23 Ulrich Drepper <drepper@gmail.com>
31036
31037 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31038 * sysdeps/x86_64/dla.h: ...here. New file.
31039 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31040 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31041 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31042 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31043 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31044 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31045 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31046 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31047 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31048
246ad57a
AS
310492011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31050
31051 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31052 __ynl_finite aliases.
31053
a1a87169
UD
310542011-10-22 Ulrich Drepper <drepper@gmail.com>
31055
0d355eb7
UD
31056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31057
a1a87169
UD
31058 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31059 define DLA_FMA.
31060 [DLA_FMA] (EMULV): Use DLA_FMA.
31061 [DLA_FMA] (MUL12): Use EMULV.
31062 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31063 that are not needed.
31064 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31065 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31066 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31067 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31068 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31069 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31070 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31071
ee2aafe0
AS
310722011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31073
31074 * math/s_nan.c: Undef __nan.
31075 * math/s_nanf.c: Undef __nanf.
31076 * math/s_nanl.c: Undef __nanl.
31077 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31078 "math_private.h".
31079
bc62c2fb
UD
310802011-10-22 Ulrich Drepper <drepper@gmail.com>
31081
77425c63
UD
31082 * math/s_catan.c: Add branch predictions.
31083 * math/s_catanf.c: Likewise.
31084 * math/s_catanh.c: Likewise.
31085 * math/s_catanhf.c: Likewise.
31086 * math/s_catanhl.c: Likewise.
31087 * math/s_catanl.c: Likewise.
31088 * math/s_cexp.c: Likewise.
31089 * math/s_cexpf.c: Likewise.
31090 * math/s_cexpl.c: Likewise.
31091 * math/s_clog.c: Likewise.
31092 * math/s_clog10.c: Likewise.
31093 * math/s_clog10f.c: Likewise.
31094 * math/s_clog10l.c: Likewise.
31095 * math/s_clogf.c: Likewise.
31096 * math/s_clogl.c: Likewise.
31097 * math/s_csqrt.c: Likewise.
31098 * math/s_csqrtf.c: Likewise.
31099 * math/s_csqrtl.c: Likewise.
31100 * math/s_ctanf.c: Likewise.
31101 * math/s_ctanh.c: Likewise.
31102 * math/s_ctanhf.c: Likewise.
31103 * math/s_ctanhl.c: Likewise.
31104 * math/s_ctanl.c: Likewise.
31105
bc62c2fb
UD
31106 * math/math_private.h: Define __nan, __nanf, __nanl.
31107 * math/s_cacosh.c: Include <math_private.h>.
31108 * math/s_cacoshl.c: Likewise.
31109 * math/s_casinh.c: Likewise.
31110 * math/s_casinhf.c: Likewise.
31111 * math/s_casinhl.c: Likewise.
31112 * math/s_ccos.c: Rely entire on ccosh.
31113 * math/s_ccosf.c: Rely entire on ccoshf.
31114 * math/s_ccosl.c: Rely entirely on ccoshl.
31115 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31116 Remove tests for FE_INVALID.
31117 * math/s_ccoshf.c: Likewise.
31118 * math/s_ccoshl.c: Likewise.
31119 * math/s_csin.c: Likewise.
31120 * math/s_csinf.c: Likewise.
31121 * math/s_csinh.c Likewise.
31122 * math/s_csinhf.c: Likewise.
31123 * math/s_csinhl.c: Likewise.
31124 * math/s_csinl.c: Likewise.
31125 * math/s_ctan.c: Likewise.
31126 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31127 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31128 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31129
8ec250a4
UD
311302011-10-21 Ulrich Drepper <drepper@gmail.com>
31131
c196fed8
UD
31132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31133 compilation problems.
31134
8ec250a4
UD
31135 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31136 __builtin_expect.
31137
8d4f46c6
UD
311382011-10-20 Ulrich Drepper <drepper@gmail.com>
31139
ed72b654
UD
31140 * sysdeps/i386/configure.in: Test for -mfma4 option.
31141 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31142 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31143 COMMON_CPUID_INDEX_80000001.
31144 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31145 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31146 use it if FMA3 is not supported.
31147 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31148
8d4f46c6
UD
31149 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31150 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31151
d45c60c2
AS
311522011-10-20 Andreas Schwab <schwab@redhat.com>
31153
31154 [BZ #12892]
31155 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31156 it would create a cycle with a link time dependency.
31157
d9a4d2ab
UD
311582011-10-19 Ulrich Drepper <drepper@gmail.com>
31159
855d1560
UD
31160 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31161 instruction.
31162 * string/Makefile (strop-tests): Add rawmemchr.
31163 * string/test-rawmemchr.c: New file.
31164
d9a4d2ab
UD
31165 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31166 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31167 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31168 when compiling str{,n}casecmp and when AVX is available. Hook up
31169 new optimized code in initializers.
31170
8f3b1ffe
AS
311712011-10-19 Andreas Schwab <schwab@redhat.com>
31172
31173 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31174 __feraiseexcept instead of feraiseexcept.
31175
d38f1dba
UD
311762011-10-18 Ulrich Drepper <drepper@gmail.com>
31177
d9a8d0ab
UD
31178 * math/math_private.h: Define defaults for libc_fetestexcept and
31179 libc_feupdateenv.
31180 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31181 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31182 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31183 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31184 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31185 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31186 libc_fetestexcept and libc_feupdateenv.
31187
4855e3dd
UD
31188 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31189 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31190 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31191 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31192 libc_feholdexcept_setround.
31193
581d30e3
UD
31194 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31195 Add s_nearbyint-c and s_nearbyintf-c.
31196 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31197 nearbyintf inlines.
31198 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31199 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31200 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31201 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31202
d38f1dba
UD
31203 * math/math_private.h: Define defaults for libc_fegetround,
31204 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31205 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31206 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31207 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31208 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31209 standard functions.
31210 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31211 Remove comments and hacks for old compiler versions.
31212 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31213 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31214 libc_feholdexceptl.
31215
caa6c9d8
AS
312162011-10-18 Andreas Schwab <schwab@redhat.com>
31217
31218 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
31219 (__feraiseexcept_renamed): Add __NTH.
31220 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
31221 namespace violations.
31222
97c066e6
UD
312232011-10-17 Ulrich Drepper <drepper@gmail.com>
31224
99ce7b04
UD
31225 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31226
1004d182
UD
31227 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31228
228a984d
UD
31229 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31230 recently added interfaces.
31231 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31232
c8553a6a
UD
31233 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31234 about macro parameter expansion.
31235
ed22dcf6
UD
31236 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31237 __NO_MATH_INLINES is defined. Cleanups.
31238
31239 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31240 and __floorf is target has SSE4.1.
31241 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31242 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31243 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31244 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31245
b171c137
UD
31246 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31247 name.
31248 (floorf): Likewise.
31249
97c066e6
UD
31250 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31251
629f62ef
AS
312522011-10-17 Andreas Schwab <schwab@redhat.com>
31253
49a43d80
AS
31254 * misc/sys/cdefs.h: Fix last change.
31255
629f62ef
AS
31256 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31257 database lookup.
31258
e453f6cd
UD
312592011-10-16 Ulrich Drepper <drepper@gmail.com>
31260
aa78043a
UD
31261 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31262
ad0f5cad
UD
31263 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31264 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31265 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31266 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31267 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31268 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31269 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31270 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31271 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31272 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31273 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31274 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31275 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31276 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31277 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31278 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31279 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31280 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31281 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31282 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31283 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31284 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31285
31286 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31287 ceil, ceilf, floor, floorf.
31288
31289 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31290 Perform IRELATIVE relocations last.
31291
e453f6cd
UD
31292 * elf/do-rel.h: Add another parameter nrelative, replacing the
31293 local variable with the same name. Change name of the function
31294 to end in Rel or Rela (uppercase).
31295 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31296 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
31297 elf_dynamic_do_##reloc function.
31298
fd5bdc09
UD
312992011-10-15 Ulrich Drepper <drepper@gmail.com>
31300
79b195b5
UD
31301 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31302 is sufficient, at least on modern CPUs.
31303
d4a28569
UD
31304 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31305
b61099b5
UD
31306 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31307 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31308
bcf01e6d
UD
31309 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31310 __expl_finite.
31311 * math/bits/math-finite.h: Add entries for exp.
31312 * math/e_expl.c: Add __*_finite alias.
31313 * sysdeps/i386/fpu/e_exp.S: Likewise.
31314 * sysdeps/i386/fpu/e_expf.S: Likewise.
31315 * sysdeps/i386/fpu/e_expl.c: Likewise.
31316 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31317 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31318 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31319 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31320 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31321 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31322 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31323
ba1a0d59
UD
31324 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31325 is sufficient, at least on modern CPUs.
31326
fd5bdc09
UD
31327 * ctype/ctype-info.c (__ctype_init): Define.
31328 * include/ctype.h (__ctype_init): Declare.
31329 (__ctype_b_loc): The variable is always initialized.
31330 (__ctype_toupper_loc): Likewise.
31331 (__ctype_tolower_loc): Likewise.
31332 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31333 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31334
7872cfb0
AS
313352011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31336
b468825a
AS
31337 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31338
7872cfb0
AS
31339 * configure.in: Also look in $cxxmachine/include for C++ system
31340 headers.
31341
be13f7bf
LD
313422011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31343
31344 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31345 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31346 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31347 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31348 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31349 (USE_AS_WMEMCMP): New macro.
31350 Fixing indents.
31351 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31352 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31353 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31354 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31355 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31356 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31357 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31358 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31359 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31360 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31361 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31362 (USE_AS_WMEMCMP): New macro.
31363 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31364 * sysdeps/string/test-memcmp.c: Update.
31365 Fix simple_wmemcmp.
31366 Add new tests.
31367 * wcsmbs/wmemcmp.c: Update.
31368 (WMEMCMP): New macro.
31369 Fix overflow bug.
31370
556a2007
AJ
313712011-10-12 Andreas Jaeger <aj@suse.de>
31372
31373 [BZ #13268]
31374 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31375
538faaa7
UD
313762011-10-15 Ulrich Drepper <drepper@gmail.com>
31377
ab6737ff
UD
31378 * libio/iofwide.c (do_length): Avoid warning.
31379
538faaa7
UD
31380 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31381
396a21b1
UD
313822011-10-14 Ulrich Drepper <drepper@gmail.com>
31383
cdf2901f
UD
31384 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31385
38ad40ce
UD
31386 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31387 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31388 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31389 * sysdeps/i386/i686/fpu/e_log.S: New file.
31390 * sysdeps/i386/i686/fpu/e_logf.S: New file.
31391 * sysdeps/i386/i686/fpu/e_logl.S: New file.
31392
396a21b1
UD
31393 * ctype/ctype.h: Add support for inlined isXXX functions when
31394 compiling C++ code.
31395
6b1f68c9
AS
313962011-10-14 Andreas Schwab <schwab@redhat.com>
31397
349290c0
AS
31398 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31399
6b1f68c9
AS
31400 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31401
f2282d42
RM
314022011-10-13 Roland McGrath <roland@hack.frob.com>
31403
31404 [BZ #13291]
31405 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31406
5298ffa8
AS
314072011-10-13 Andreas Schwab <schwab@redhat.com>
31408
714fad23
AS
31409 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31410 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31411 feraiseexcept.
31412
81dcc7fb
AS
31413 * sysdeps/x86_64/memrchr.S: Check for zero size.
31414
5298ffa8
AS
31415 * string/stratcliff.c: Add memrchr tests.
31416
951fbcec
LD
314172011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31418
31419 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31420 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31421 rawmemchr-sse2 rawmemchr-sse2-bsf.
31422 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31423 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31424 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31425 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31426 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31427 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31428 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31429 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31430 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31431 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31432 * string/memrchr.c (MEMRCHR): New macro.
31433
0ac5ae23
UD
314342011-10-12 Ulrich Drepper <drepper@gmail.com>
31435
31436 Add integration with gcc's -ffinite-math-only and optimize wrapper
31437 functions in libm.
31438 * Versions.def: Define GLIBC_2.15 version for libm.
31439 * math/Makefile (headers): Add bits/math-finite.h.
31440 * math/bits/math-finite.h: New file.
31441 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31442 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31443 * math/e_acoshl.c: Add __*_finite alias.
31444 * math/e_acosl.c: Likewise.
31445 * math/e_asinl.c: Likewise.
31446 * math/e_atan2l.c: Likewise.
31447 * math/e_atanhl.c: Likewise.
31448 * math/e_coshl.c: Likewise.
31449 * math/e_exp10.c: Likewise.
31450 * math/e_exp10f.c: Likewise.
31451 * math/e_exp10l.c: Likewise.
31452 * math/e_exp2l.c: Likewise.
31453 * math/e_fmodl.c: Likewise.
31454 * math/e_gammal_r.c: Likewise.
31455 * math/e_hypotl.c: Likewise.
31456 * math/e_j0l.c: Likewise.
31457 * math/e_j1l.c: Likewise.
31458 * math/e_jnl.c: Likewise.
31459 * math/e_lgammal_r.c: Likewise.
31460 * math/e_log10l.c: Likewise.
31461 * math/e_log2l.c: Likewise.
31462 * math/e_logl.c: Likewise.
31463 * math/e_powl.c: Likewise.
31464 * math/e_sinhl.c: Likewise.
31465 * math/e_sqrtl.c: Likewise.
31466 * math/e_scalb.c: Completely rewritten and optimized.
31467 * math/e_scalbf.c: Likewise.
31468 * math/e_scalbl.c: Likewise.
31469 * math/w_acos.c: Likewise.
31470 * math/w_acosf.c: Likewise.
31471 * math/w_acosl.c: Likewise.
31472 * math/w_acosh.c: Likewise.
31473 * math/w_acoshf.c: Likewise.
31474 * math/w_acoshl.c: Likewise.
31475 * math/w_asin.c: Likewise.
31476 * math/w_asinf.c: Likewise.
31477 * math/w_asinl.c: Likewise.
31478 * math/w_atan2.c: Likewise.
31479 * math/w_atan2f.c: Likewise.
31480 * math/w_atan2l.c: Likewise.
31481 * math/w_atanh.c: Likewise.
31482 * math/w_atanhf.c: Likewise.
31483 * math/w_atanhl.c: Likewise.
31484 * math/w_exp10.c: Likewise.
31485 * math/w_exp10f.c: Likewise.
31486 * math/w_exp10l.c: Likewise.
31487 * math/w_fmod.c: Likewise.
31488 * math/w_fmodf.c: Likewise.
31489 * math/w_fmodl.c: Likewise.
31490 * math/w_j0.c: Likewise.
31491 * math/w_j0f.c: Likewise.
31492 * math/w_j0l.c: Likewise.
31493 * math/w_j1.c: Likewise.
31494 * math/w_j1f.c: Likewise.
31495 * math/w_j1l.c: Likewise.
31496 * math/w_jn.c: Likewise.
31497 * math/w_jnf.c: Likewise.
31498 * math/w_log.c: Likewise.
31499 * math/w_logf.c: Likewise.
31500 * math/w_logl.c: Likewise.
31501 * math/w_log10.c: Likewise.
31502 * math/w_log10f.c: Likewise.
31503 * math/w_log10l.c: Likewise.
31504 * math/w_log2.c: Likewise.
31505 * math/w_log2f.c: Likewise.
31506 * math/w_log2l.c: Likewise.
31507 * math/w_pow.c: Likewise.
31508 * math/w_powf.c: Likewise.
31509 * math/w_powl.c: Likewise.
31510 * math/w_remainder.c: Likewise.
31511 * math/w_remainderf.c: Likewise.
31512 * math/w_remainderl.c: Likewise.
31513 * math/w_scalb.c: Likewise.
31514 * math/w_scalbf.c: Likewise.
31515 * math/w_scalbl.c: Likewise.
31516 * math/w_sqrt.c: Likewise.
31517 * math/w_sqrtf.c: Likewise.
31518 * math/w_sqrtl.c: Likewise.
31519 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31520 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31521 used.
31522 * math/math_private.h: Declare __kernel_standard_f.
31523 * math/w_cosh.c: Remove cruft and optimize a bit.
31524 * math/w_coshf.c: Likewise.
31525 * math/w_coshl.c: Likewise.
31526 * math/w_exp2.c: Likewise.
31527 * math/w_exp2f.c: Likewise.
31528 * math/w_exp2l.c: Likewise.
31529 * math/w_hypot.c: Likewise.
31530 * math/w_hypotf.c: Likewise.
31531 * math/w_hypotl.c: Likewise.
31532 * math/w_lgamma.c: Likewise.
31533 * math/w_lgamma_r.c: Likewise.
31534 * math/w_lgammaf.c: Likewise.
31535 * math/w_lgammaf_r.c: Likewise.
31536 * math/w_lgammal.c: Likewise.
31537 * math/w_lgammal_r.c: Likewise.
31538 * math/w_sinh.c: Likewise.
31539 * math/w_sinhf.c: Likewise.
31540 * math/w_sinhl.c: Likewise.
31541 * math/w_tgamma.c: Likewise.
31542 * math/w_tgammaf.c: Likewise.
31543 * math/w_tgammal.c: Likewise.
31544 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31545 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31546 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31547 Minor optimizations. Pretty printing. Remove cruft.
31548 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31549 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31550 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31551 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31552 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31553 * sysdeps/i386/fpu/e_asin.S: Likewise.
31554 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31555 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31556 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31557 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31558 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31559 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31560 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31561 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31562 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31563 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31564 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31565 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31566 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31567 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31568 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31569 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31570 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31571 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31572 * sysdeps/i386/fpu/e_log.S: Likewise.
31573 * sysdeps/i386/fpu/e_log10.S: Likewise.
31574 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31575 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31576 * sysdeps/i386/fpu/e_log2.S: Likewise.
31577 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31578 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31579 * sysdeps/i386/fpu/e_logf.S: Likewise.
31580 * sysdeps/i386/fpu/e_logl.S: Likewise.
31581 * sysdeps/i386/fpu/e_pow.S: Likewise.
31582 * sysdeps/i386/fpu/e_powf.S: Likewise.
31583 * sysdeps/i386/fpu/e_powl.S: Likewise.
31584 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31585 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31586 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31587 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31588 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31589 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31590 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31591 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31592 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31593 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31594 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31595 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31596 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31597 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31598 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31599 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31600 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31601 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31602 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31603 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31604 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31605 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31606 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31607 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31608 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31609 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31610 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31611 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31612 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31613 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31614 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31615 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31616 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31617 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31618 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31619 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31620 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31621 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31622 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31623 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31624 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31625 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31626 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31627 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31628 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31629 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31630 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31631 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31632 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31633 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31634 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31635 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31636 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31637 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31638 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31639 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31640 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31641 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31642 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31643 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31644 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31645 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31646 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31647 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31648 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31649 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31650 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31651 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31652 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31653 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31654 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31655 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31656 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31657 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31658 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31659 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31660 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31661 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31662 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31663 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31664 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31665 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31666 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31667 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31668 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31669 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31670 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31671 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31672 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31673 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31674 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31675 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31676 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31677 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31678 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31679 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31680 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31681 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31682 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31683 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31684 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31685 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31686 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31687 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31688 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31689 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31690 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31691 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31692 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31693 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31694 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31695 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31696 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31697 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31698 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31699 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31700 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31701 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31702 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31703 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31704 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31705 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31706 (__isnanf): Likewise.
31707 (__isinf_ns): Likewise.
31708 (__isinf_nsf): Likewise.
31709 (__finite): Likewise.
31710 (__finitef): Likewise.
31711 (__ieee754_sqrt): Define as macro.
31712 (__ieee754_sqrtf): Define as macro.
31713 (__ieee754_sqrtl): Define as macro.
31714 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31715 inlined copy.
31716 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31717 __FINITE_MATH_ONLY__ consistent.
31718 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31719
12cc2fcd
AS
317202011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31721
a843a204
AS
31722 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31723 of rawmemchr.
31724
12cc2fcd
AS
31725 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31726
c853acd5
UD
317272011-10-09 Ulrich Drepper <drepper@gmail.com>
31728
31729 * po/ja.po: Update from translation team.
31730
c658d255
RM
317312011-10-08 Roland McGrath <roland@hack.frob.com>
31732
110946e4
RM
31733 * locale/programs/locarchive.c (prepare_address_space): New function.
31734 (create_archive, enlarge_archive, open_archive): Use it.
31735
50604220
RM
31736 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31737 inside [SHARED], where it is used.
31738
c658d255
RM
31739 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31740
31741 * nss/getent.c (netgroup_keys): Remove unused variable.
31742 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31743
6a621eb7
UD
317442011-10-08 Ulrich Drepper <drepper@gmail.com>
31745
7edb55ce
UD
31746 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31747 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31748 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31749 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31750 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31751 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31752 * math/Makefile (libm-calls): Add s_isinf_ns.
31753 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31754 * math/multc3.c: Likewise.
31755 * math/s_casin.c: Likewise.
31756 * math/s_casinf.c: Likewise.
31757 * math/s_casinl.c: Likewise.
31758 * math/s_ccos.c: Likewise.
31759 * math/s_ccosf.c: Likewise.
31760 * math/s_ccosl.c: Likewise.
31761 * math/s_ctan.c: Likewise.
31762 * math/s_ctanf.c: Likewise.
31763 * math/s_ctanh.c: Likewise.
31764 * math/s_ctanhf.c: Likewise.
31765 * math/s_ctanhl.c: Likewise.
31766 * math/s_ctanl.c: Likewise.
31767 * math/w_fmod.c: Likewise.
31768 * math/w_fmodf.c: Likewise.
31769 * math/w_fmodl.c: Likewise.
31770 * math/w_remainder.c: Likewise.
31771 * math/w_remainderf.c: Likewise.
31772 * math/w_remainderl.c: Likewise.
31773 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31774 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31775 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31776 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31777 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31778 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31779 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31780 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31781
187da0ae
UD
31782 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31783 of the number.
31784 * stdio-common/printf_fphex.c: Likewise.
31785 * stdio-common/printf_size.c: Likewise.
31786
9277c064
UD
31787 * math/e_exp10.c: Include math_private.h using <...> not "...".
31788 * math/e_exp10f.c: Likewise.
31789 * math/e_exp10l.c: Likewise.
31790 * math/e_exp2l.c: Likewise.
31791 * math/e_j0l.c: Likewise.
31792 * math/e_j1l.c: Likewise.
31793 * math/e_jnl.c: Likewise.
31794 * math/e_lgammal_r.c: Likewise.
31795 * math/e_rem_pio2l.c: Likewise.
31796 * math/e_scalb.c: Likewise.
31797 * math/e_scalbf.c: Likewise.
31798 * math/e_scalbl.c: Likewise.
31799 * math/k_cosl.c: Likewise.
31800 * math/k_sinl.c: Likewise.
31801 * math/k_tanl.c: Likewise.
31802 * math/s_cacoshf.c: Likewise.
31803 * math/s_catan.c: Likewise.
31804 * math/s_catanf.c: Likewise.
31805 * math/s_catanh.c: Likewise.
31806 * math/s_catanhf.c: Likewise.
31807 * math/s_catanhl.c: Likewise.
31808 * math/s_catanl.c: Likewise.
31809 * math/s_ccosh.c: Likewise.
31810 * math/s_ccoshf.c: Likewise.
31811 * math/s_ccoshl.c: Likewise.
31812 * math/s_cexp.c: Likewise.
31813 * math/s_cexpf.c: Likewise.
31814 * math/s_cexpl.c: Likewise.
31815 * math/s_clog.c: Likewise.
31816 * math/s_clog10.c: Likewise.
31817 * math/s_clog10f.c: Likewise.
31818 * math/s_clog10l.c: Likewise.
31819 * math/s_clogf.c: Likewise.
31820 * math/s_clogl.c: Likewise.
31821 * math/s_csin.c: Likewise.
31822 * math/s_csinf.c: Likewise.
31823 * math/s_csinh.c: Likewise.
31824 * math/s_csinhf.c: Likewise.
31825 * math/s_csinhl.c: Likewise.
31826 * math/s_csinl.c: Likewise.
31827 * math/s_csqrt.c: Likewise.
31828 * math/s_csqrtf.c: Likewise.
31829 * math/s_csqrtl.c: Likewise.
31830 * math/s_ctan.c: Likewise.
31831 * math/s_ctanf.c: Likewise.
31832 * math/s_ctanh.c: Likewise.
31833 * math/s_ctanhf.c: Likewise.
31834 * math/s_ctanhl.c: Likewise.
31835 * math/s_ctanl.c: Likewise.
31836 * math/s_ldexp.c: Likewise.
31837 * math/s_ldexpf.c: Likewise.
31838 * math/s_ldexpl.c: Likewise.
31839 * math/s_significand.c: Likewise.
31840 * math/s_significandf.c: Likewise.
31841 * math/s_significandl.c: Likewise.
31842 * math/w_acos.c: Likewise.
31843 * math/w_acosf.c: Likewise.
31844 * math/w_acosh.c: Likewise.
31845 * math/w_acoshf.c: Likewise.
31846 * math/w_acoshl.c: Likewise.
31847 * math/w_acosl.c: Likewise.
31848 * math/w_asin.c: Likewise.
31849 * math/w_asinf.c: Likewise.
31850 * math/w_asinl.c: Likewise.
31851 * math/w_atan2.c: Likewise.
31852 * math/w_atan2f.c: Likewise.
31853 * math/w_atan2l.c: Likewise.
31854 * math/w_atanh.c: Likewise.
31855 * math/w_atanhf.c: Likewise.
31856 * math/w_atanhl.c: Likewise.
31857 * math/w_cosh.c: Likewise.
31858 * math/w_coshf.c: Likewise.
31859 * math/w_coshl.c: Likewise.
31860 * math/w_dremf.c: Likewise.
31861 * math/w_exp10.c: Likewise.
31862 * math/w_exp10f.c: Likewise.
31863 * math/w_exp10l.c: Likewise.
31864 * math/w_exp2.c: Likewise.
31865 * math/w_exp2f.c: Likewise.
31866 * math/w_fmod.c: Likewise.
31867 * math/w_fmodf.c: Likewise.
31868 * math/w_fmodl.c: Likewise.
31869 * math/w_hypot.c: Likewise.
31870 * math/w_hypotf.c: Likewise.
31871 * math/w_hypotl.c: Likewise.
31872 * math/w_j0.c: Likewise.
31873 * math/w_j0f.c: Likewise.
31874 * math/w_j0l.c: Likewise.
31875 * math/w_j1.c: Likewise.
31876 * math/w_j1f.c: Likewise.
31877 * math/w_j1l.c: Likewise.
31878 * math/w_jn.c: Likewise.
31879 * math/w_jnf.c: Likewise.
31880 * math/w_jnl.c: Likewise.
31881 * math/w_lgamma.c: Likewise.
31882 * math/w_lgamma_r.c: Likewise.
31883 * math/w_lgammaf.c: Likewise.
31884 * math/w_lgammaf_r.c: Likewise.
31885 * math/w_lgammal.c: Likewise.
31886 * math/w_lgammal_r.c: Likewise.
31887 * math/w_log.c: Likewise.
31888 * math/w_log10.c: Likewise.
31889 * math/w_log10f.c: Likewise.
31890 * math/w_log10l.c: Likewise.
31891 * math/w_log2.c: Likewise.
31892 * math/w_log2f.c: Likewise.
31893 * math/w_log2l.c: Likewise.
31894 * math/w_logf.c: Likewise.
31895 * math/w_logl.c: Likewise.
31896 * math/w_pow.c: Likewise.
31897 * math/w_powf.c: Likewise.
31898 * math/w_powl.c: Likewise.
31899 * math/w_remainder.c: Likewise.
31900 * math/w_remainderf.c: Likewise.
31901 * math/w_remainderl.c: Likewise.
31902 * math/w_scalb.c: Likewise.
31903 * math/w_scalbf.c: Likewise.
31904 * math/w_scalbl.c: Likewise.
31905 * math/w_sinh.c: Likewise.
31906 * math/w_sinhf.c: Likewise.
31907 * math/w_sinhl.c: Likewise.
31908 * math/w_sqrt.c: Likewise.
31909 * math/w_sqrtf.c: Likewise.
31910 * math/w_sqrtl.c: Likewise.
31911 * math/w_tgamma.c: Likewise.
31912 * math/w_tgammaf.c: Likewise.
31913 * math/w_tgammal.c: Likewise.
31914
6a621eb7
UD
31915 * po/ja.po: Update from translation team.
31916
bf582445
AJ
319172011-09-29 Andreas Jaeger <aj@suse.de>
31918
f9efbf3a
AJ
31919 [BZ #13179]
31920 * sunrpc/netname.c (netname2host): Fix logic.
31921
bf582445
AJ
31922 [BZ #6779]
31923 [BZ #6783]
31924 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31925 correctly.
31926 * math/w_remainder.c (__remainder): Likewise.
31927 * math/w_remainderf.c (__remainderf): Likewise.
31928 * math/libm-test.inc (remainder_test): Add test cases.
31929
48693bea
AK
319302011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31931
31932 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31933 sdiv_qrnnd.
31934
42622229
LD
319352011-10-07 Ulrich Drepper <drepper@gmail.com>
31936
31937 * string/test-memcmp.c: Avoid unncessary #defines.
31938 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31939
093ecf92
LD
319402011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31941
31942 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31943 Use new sse2 version for core i3 - i7 as it's faster
31944 than sse42 version.
31945 (bit_Prefer_PMINUB_for_stringop): New.
31946 * sysdeps/x86_64/rawmemchr.S: Update.
31947 Replace with faster SSE2 version.
31948 * sysdeps/x86_64/memrchr.S: New file.
31949 * sysdeps/x86_64/memchr.S: Update.
31950 Replace with faster SSE2 version.
31951
fde56e5c
MP
319522011-09-12 Marek Polacek <mpolacek@redhat.com>
31953
31954 * elf/dl-load.c (lose): Add cast to avoid warning.
31955
21fd49a9
UD
319562011-10-07 Ulrich Drepper <drepper@gmail.com>
31957
5a06e643
UD
31958 * po/ca.po: Update from translation team.
31959
684ae515
UD
31960 * inet/getnetgrent_r.c: Hook up nscd.
31961 * nscd/Makefile (routines): Add nscd_netgroup.
31962 (nscd-modules): Add netgroupcache.
31963 (CFLAGS-netgroupcache.c): Define.
31964 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31965 (cache_search): Add const to second parameter.
31966 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31967 INNETGR.
31968 (dbs): Add netgrdb entry.
31969 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31970 (verify_persistent_db): Handle netgrdb.
31971 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31972 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31973 GETFDNETGR.
31974 (netgroup_response_header): Define.
31975 (innetgroup_response_header): Define.
31976 (datahead): Add netgroup_response_header and innetgroup_response_header
31977 elements.
31978 * nscd/nscd.conf: Add entries for netgroup cache.
31979 * nscd/nscd.h (dbtype): Add netgrdb.
31980 (_PATH_NSCD_NETGROUP_DB): Define.
31981 (netgroup_iov_disabled): Declare.
31982 (xmalloc, xcalloc, xrealloc): Move declarations here.
31983 (cache_search): Adjust prototype.
31984 Add netgroup-related prototypes.
31985 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31986 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31987 (__nscd_innetgr): Declare.
31988 * nscd/selinux.c (perms): Use access_vector_t as element type and
31989 add netgroup-related initializers.
31990 * nscd/netgroupcache.c: New file.
31991 * nscd/nscd_netgroup.c: New file.
31992 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31993 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31994 For four parameters use innetgr.
31995 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31996 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31997 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31998 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31999
21fd49a9
UD
32000 * nscd/connections.c (register_traced_file): Don't register file
32001 for disabled databases.
32002
054c0457
UD
320032011-10-06 Ulrich Drepper <drepper@gmail.com>
32004
32b63198
UD
32005 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32006
054c0457
UD
32007 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32008 from tree and freeing node.
32009
64031225
JO
320102011-09-25 Jiri Olsa <jolsa@redhat.com>
32011
32012 * nss/nsswitch.c (__nss_database_lookup): Handle
32013 nss_parse_service_list out of memory case.
32014
0490345c
JO
320152011-09-15 Jiri Olsa <jolsa@redhat.com>
32016
32017 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32018 out of memory case.
32019
3a62d00d
AS
320202011-10-04 Andreas Schwab <schwab@redhat.com>
32021
32022 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32023 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32024 pass it down.
32025 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32026 elf_machine_rela, elf_machine_lazy_rel.
32027 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32028 (ELF_DYNAMIC_DO_REL): Likewise.
32029 (ELF_DYNAMIC_DO_RELA): Likewise.
32030 (ELF_DYNAMIC_RELOCATE): Likewise.
32031 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32032 to ELF_DYNAMIC_DO_REL.
32033 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32034 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32035 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32036 elf_machine_rela.
32037 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32038 skip_ifunc, don't call ifunc function if non-zero.
32039 (elf_machine_rela): Likewise.
32040 (elf_machine_lazy_rel): Likewise.
32041 (elf_machine_lazy_rela): Likewise.
32042 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32043 (elf_machine_lazy_rel): Likewise.
32044 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32045 Likewise.
32046 (elf_machine_lazy_rel): Likewise.
32047 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32048 Likewise.
32049 (elf_machine_lazy_rel): Likewise.
32050 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32051 (elf_machine_lazy_rel): Likewise.
32052 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32053 (elf_machine_lazy_rel): Likewise.
32054 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32055 (elf_machine_lazy_rel): Likewise.
32056 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32057 (elf_machine_lazy_rel): Likewise.
32058 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32059 (elf_machine_lazy_rel): Likewise.
32060 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32061 (elf_machine_lazy_rel): Likewise.
32062
68577918
UD
320632011-09-28 Ulrich Drepper <drepper@gmail.com>
32064
32065 * nss/nss_files/files-init.c (_nss_files_init): Use static
32066 initialization for all the *_traced_file variables.
32067
68822d74
AS
320682011-09-28 Andreas Schwab <schwab@redhat.com>
32069
32070 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32071
2056100b
RM
320722011-09-27 Roland McGrath <roland@hack.frob.com>
32073
32074 [BZ #13226]
32075 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32076
32c76b63
AS
320772011-09-27 Andreas Schwab <schwab@redhat.com>
32078
32079 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32080 Reread the line before reparsing it.
32081
bf972c9d
AS
320822011-09-26 Andreas Schwab <schwab@redhat.com>
32083
32084 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32085
e057a1b5
JM
320862011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32087 Maxim Kuvyrkov <maxim@codesourcery.com>
32088 Joseph Myers <joseph@codesourcery.com>
32089
32090 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32091 if needed for __stack_chk_guard.
32092
bc7e1c36
RM
320932011-09-19 Roland McGrath <roland@hack.frob.com>
32094
ecb1482f
RM
32095 * sysdeps/posix/spawni.c (script_execute): Always define it.
32096 It will be optimized away if unused.
32097 (maybe_script_execute): New function.
32098 (__spawni): Call it.
32099
bc7e1c36
RM
32100 * Makerules: Don't include tls.make.
32101 (config-tls): Always set to thread.
32102 * tls.make.c: File removed.
32103
1c3b002b
MF
321042011-09-19 Mike Frysinger <vapier@gentoo.org>
32105
32106 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32107 * config.make.in (CPPFLAGS-config): New substituted variable.
32108
2840865d
UD
321092011-09-15 Ulrich Drepper <drepper@gmail.com>
32110
88738eb6
UD
32111 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32112
cbf645a6 32113 [BZ #13192]
2840865d
UD
32114 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32115 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32116
b402e91a
RM
321172011-09-15 Roland McGrath <roland@hack.frob.com>
32118
32119 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32120 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32121 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32122 (CALL_FAIL): Likewise.
32123 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32124 (CALL_FAIL): Macro removed.
32125 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32126
4c1a1f71
UD
321272011-09-15 Ulrich Drepper <drepper@gmail.com>
32128
32129 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32130 for __FINITE_MATH_ONLY__ == 1.
32131
edc121be
AS
321322011-09-15 Andreas Schwab <schwab@redhat.com>
32133
32134 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32135 __ieee754_sqrt instead of sqrt.
32136 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32137 __ieee754_sqrtf instead of sqrtf.
32138 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32139 __floorf instead of floorf.
32140 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32141 __floorf, __truncf instead of floorf, truncf.
32142
cd205654
UD
321432011-09-14 Ulrich Drepper <drepper@gmail.com>
32144
ee4d0315
UD
32145 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32146
cd205654
UD
32147 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32148 __extern_always_inline.
32149 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32150 32-bit.
32151
48b67d71
AS
321522011-09-14 Andreas Schwab <schwab@redhat.com>
32153
32154 * elf/rtld.c (dl_main): Also relocate in dependency order when
32155 doing symbol dependency testing.
32156
1ae12c75
AS
321572011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32158
32159 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32160 Always define `refsym'.
32161
995a80df
AS
321622011-09-13 Andreas Schwab <schwab@redhat.com>
32163
e529793b
AS
32164 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32165 (__FD_ELT): Renamed from __FDELT.
32166 * misc/bits/select2.h (__FD_ELT): Likewise.
32167 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32168 __FD_MASK instead of __FDELT, __FDMASK.
32169 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32170 Likewise.
32171 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32172 Likewise.
32173
52d4fef8
AS
32174 * elf/Makefile (gen-ldd): Fix pattern.
32175
995a80df
AS
32176 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32177 (init_tls): Likewise.
32178
8682f8b0
UD
321792011-09-12 Ulrich Drepper <drepper@gmail.com>
32180
32181 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32182
de82006d
AS
321832011-09-12 Andreas Schwab <schwab@redhat.com>
32184
a7c8e6a1
AS
32185 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32186 `struct cmsghdr *' instead of `void *'.
32187 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32188 Likewise.
32189
0f31fe77
AS
321902011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32191
32192 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32193 if non-absolute.
32194 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32195 ldd_rewrite_script.
0f31fe77 32196
32b4c839
UD
321972011-09-11 Ulrich Drepper <drepper@gmail.com>
32198
83cd1420
UD
32199 * configure.in: Remove --with-tls option.
32200 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32201 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32202 out in case it is missing.
32203 * sysdeps/ia64/elf/configure.in: Likewise.
32204 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32205 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32206 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32207 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32208 * sysdeps/sh/elf/configure.in: Likewise.
32209 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32210 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32211 * sysdeps/x86_64/elf/configure.in: Likewise.
32212 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32213 * sysdeps/mach/hurd/tls.h: Likewise.
32214
633f745d
UD
32215 [BZ #13067]
32216 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32217
f318beb8
UD
32218 [BZ #13090]
32219 * configure.in: Fix use of AC_INIT.
32220
32b4c839
UD
32221 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32222
3ce1f295
UD
322232011-09-10 Ulrich Drepper <drepper@gmail.com>
32224
bb016596
UD
32225 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32226 __set_errno.
8e58439c
UD
32227 * malloc/hooks.c: Likewise.
32228
aebae053 32229 [BZ #11929]
02d46fc4
UD
32230 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32231 variables statically.
32232 (narenas): Initialize.
32233 (list_lock): Initialize.
bb016596
UD
32234 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32235 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
32236 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32237 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32238 Add initializers to main_arena and mp_.
32239 (malloc_state): Remove pagesize member. Change all users to use
32240 GLRO(dl_pagesize).
32241
32242 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32243 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32244 is always initialized.
32245
22a89187
UD
32246 * malloc/malloc.c: Removed unused configurations and dead code.
32247 * malloc/arena.c: Likewise.
32248 * malloc/hooks.c: Likewise.
02d46fc4 32249 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 32250
d063d164
UD
32251 * include/tls.h: Removed. USE___THREAD must always be defined.
32252 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32253 * elf/dl-libc.c: Likewise.
32254 * elf/dl-tsd.c: Likewise.
32255 * include/errno.h: Likewise.
32256 * include/netdb.h: Likewise.
32257 * include/resolv.h: Likewise.
32258 * inet/herrno-loc.c: Likewise.
32259 * inet/herrno.c: Likewise.
32260 * malloc/arena.c: Likewise.
32261 * malloc/hooks.c: Likewise.
32262 * malloc/malloc.c: Likewise.
32263 * resolv/res-state.c: Likewise.
32264 * resolv/res_libc.c: Likewise.
32265 * sysdeps/i386/dl-machine.h: Likewise.
32266 * sysdeps/ia64/dl-machine.h: Likewise.
32267 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32268 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32269 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32270 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32271 * sysdeps/sh/dl-machine.h: Likewise.
32272 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32273 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32274 * sysdeps/unix/i386/sysdep.S: Likewise.
32275 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32276 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32277 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32278 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32279 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32280 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32281 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32282 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32283 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32284 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32285 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32286 * sysdeps/x86_64/dl-machine.h: Likewise.
32287 * tls.make.c: Likewise.
32288
3ce1f295
UD
32289 * configure.in: Remove --with-__thread option. Make tests for
32290 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32291 tls_model attribute fail if no support is available. Remove
32292 USE_IN_LIBIO.
32293 * Makeconfig: Adjust for dropped configure option. All features are
32294 now mandatory.
32295 * Makerules: Likewise.
32296 * Versions.def: Likewise.
32297 * argp/argp-fmtstream.c: Likewise.
32298 * argp/argp-fmtstream.h: Likewise.
32299 * argp/argp-help.c: Likewise.
32300 * assert/assert.c: Likewise.
32301 * config.h.in: Likewise.
32302 * config.make.in: Likewise.
32303 * configure: Likewise.
32304 * configure.in: Likewise.
32305 * csu/Versions: Likewise.
32306 * csu/init.c: Likewise.
32307 * elf/tst-audit2.c: Likewise.
32308 * elf/tst-tls10.c: Likewise.
32309 * elf/tst-tls10.h: Likewise.
32310 * elf/tst-tls11.c: Likewise.
32311 * elf/tst-tls12.c: Likewise.
32312 * elf/tst-tls14.c: Likewise.
32313 * elf/tst-tlsmod11.c: Likewise.
32314 * elf/tst-tlsmod12.c: Likewise.
32315 * elf/tst-tlsmod13.c: Likewise.
32316 * elf/tst-tlsmod13a.c: Likewise.
32317 * elf/tst-tlsmod14a.c: Likewise.
32318 * elf/tst-tlsmod15b.c: Likewise.
32319 * elf/tst-tlsmod16a.c: Likewise.
32320 * elf/tst-tlsmod16b.c: Likewise.
32321 * elf/tst-tlsmod7.c: Likewise.
32322 * elf/tst-tlsmod8.c: Likewise.
32323 * elf/tst-tlsmod9.c: Likewise.
32324 * gmon/gmon.c: Likewise.
32325 * grp/fgetgrent_r.c: Likewise.
32326 * grp/putgrent.c: Likewise.
32327 * hurd/fopenport.c: Likewise.
32328 * include/libc-symbols.h: Likewise.
32329 * include/tls.h: Likewise.
32330 * intl/gettextP.h: Likewise.
32331 * intl/loadinfo.h: Likewise.
32332 * locale/global-locale.c: Likewise.
32333 * locale/localeinfo.h: Likewise.
32334 * mach/devstream.c: Likewise.
32335 * malloc/arena.c: Likewise.
32336 * malloc/set-freeres.c: Likewise.
32337 * misc/err.c: Likewise.
32338 * misc/getttyent.c: Likewise.
32339 * misc/mntent_r.c: Likewise.
32340 * posix/getopt.c: Likewise.
32341 * posix/wordexp.c: Likewise.
32342 * pwd/fgetpwent_r.c: Likewise.
32343 * resolv/Versions: Likewise.
32344 * resolv/res_hconf.c: Likewise.
32345 * shadow/fgetspent_r.c: Likewise.
32346 * shadow/putspent.c: Likewise.
32347 * stdio-common/printf_fphex.c: Likewise.
32348 * stdio-common/tmpfile.c: Likewise.
32349 * stdlib/abort.c: Likewise.
32350 * stdlib/fmtmsg.c: Likewise.
32351 * sunrpc/auth_unix.c: Likewise.
32352 * sunrpc/clnt_perr.c: Likewise.
32353 * sunrpc/clnt_tcp.c: Likewise.
32354 * sunrpc/clnt_udp.c: Likewise.
32355 * sunrpc/clnt_unix.c: Likewise.
32356 * sunrpc/openchild.c: Likewise.
32357 * sunrpc/svc_simple.c: Likewise.
32358 * sunrpc/svc_tcp.c: Likewise.
32359 * sunrpc/svc_udp.c: Likewise.
32360 * sunrpc/svc_unix.c: Likewise.
32361 * sunrpc/xdr.c: Likewise.
32362 * sunrpc/xdr_array.c: Likewise.
32363 * sunrpc/xdr_rec.c: Likewise.
32364 * sunrpc/xdr_ref.c: Likewise.
32365 * sunrpc/xdr_stdio.c: Likewise.
32366
1248c1c4
PB
323672011-09-09 Ulrich Drepper <drepper@gmail.com>
32368
32369 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32370
323712011-07-03 Andreas Jaeger <aj@suse.de>
32372
32373 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32374 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32375 regenerate with gen-libm-tests.pl.
32376
323772010-05-12 Petr Baudis <pasky@suse.cz>
32378
32379 [BZ #11589]
32380 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32381 around j0() zero points by switching to j1().
32382 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32383 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32384 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32385 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32386
f22e1074
UD
323872011-09-09 Ulrich Drepper <drepper@gmail.com>
32388
f19009c1
UD
32389 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32390 instead of 0.
32391 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 32392 instead of 0.
f19009c1
UD
32393 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32394 Patch in part by Pavel Roskin <proski@gnu.org>.
32395
3f8cc204
UD
32396 [BZ #13138]
32397 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32398 realloc.
32399 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32400 Free memory block if necessary.
32401
f22e1074
UD
32402 [BZ #12847]
32403 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32404 be NULL. Don't lock in this case.
32405
0a2349f9
RM
324062011-09-09 Roland McGrath <roland@hack.frob.com>
32407
32408 * elf/elf.h (ELFOSABI_GNU): New macro.
32409 (ELFOSABI_LINUX): Define to that.
32410
f3cdd467
DZ
324112011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32412
32413 * string/strncat.c (strncat): Undef the symbol in case it has been
32414 defined in bits/string.h.
32415
74718d13
UD
324162011-09-09 Ulrich Drepper <drepper@gmail.com>
32417
633e9e0f
UD
32418 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32419
0a2349f9 32420 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
32421 link map.
32422
f9924780
AJ
324232011-08-17 Andreas Jaeger <aj@suse.de>
32424
32425 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32426
7f5517aa
PP
324272011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32428 Ian Lance Taylor <iant@google.com>
32429
32430 * math/libm-test.inc (lround_test): New testcase.
32431 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32432
762011fe
UD
324332011-09-08 Ulrich Drepper <drepper@gmail.com>
32434
92963737
UD
32435 * Makefile: Remove support for automatic cvs check-ins.
32436 * Makerules: Likewise.
32437 * config.make.in: Likewise.
32438 * configure.in: Likewise.
32439 * intl/Makefile: Likewise.
32440 * locale/Makefile: Likewise.
32441 * po/Makefile: Likewise.
32442 * posix/Makefile: Likewise.
32443 * sysdeps/gnu/Makefile: Likewise.
32444 * sysdeps/mach/hurd/Makefile: Likewise.
32445 * sysdeps/sparc/sparc32/Makefile: Likewise.
32446
b0727fd8
JS
32447 [BZ #13118]
32448 * posix/Makefile (bug-regex32-ENV): Define.
32449 Patch by John Stanley <jpsinthemix@verizon.net>.
32450
a0f33f99
UD
32451 * misc/Makefile (headers): Add bits/select2.h.
32452 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32453 * misc/bits/select2.h: New file.
32454 * include/bits/select2.h: New file.
32455 * debug/Makefile (routines): Add fdelt_chk.
32456 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32457 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32458 FD_ISSET.
32459 * debug/fdelt_chk.c: New file.
32460
762011fe
UD
32461 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32462 * wcsmbs/test-wmemcmp.c: Likewise.
32463 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 32464 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
32465
324662011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32467
32468 * string/Makefile (strop-tests): Add memcmp.
32469 * string/test-wmemcmp.c: New file.
32470 * string/test-memcmp.c: Add wmemcmp support.
32471
7f513ec8
RM
324722011-09-08 Roland McGrath <roland@hack.frob.com>
32473
0442afb4
RM
32474 [BZ #13153]
32475 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32476 2011-07-19 change.
32477
7f513ec8
RM
32478 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32479 garbage value in a __mach_port_mod_refs call in the cases of the
32480 task-self and thread-self ports.
32481
a12b2239
ST
324822011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32483
32484 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32485
610f9ab4
AS
324862011-09-08 Andreas Schwab <schwab@redhat.com>
32487
7f513ec8 32488 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 32489
48882a1a
LD
324902011-09-07 Ulrich Drepper <drepper@gmail.com>
32491
b49865be
UD
32492 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32493
fdc86bc9
UD
32494 * elf/dl-libc.c (dlerror_run): Pass back error code from
32495 dl_catch_error.
32496
c966526a
UD
32497 [BZ #13123]
32498 * elf/dl-load.c (lose): Free l_origin if it is valid.
32499
48882a1a
LD
32500 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32501 names.
32502 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32503 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32504 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32505 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32506 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32507 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32508
77a2a8b4
AZ
325092011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32510
32511 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32512 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32513 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32514 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32515 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32516 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32517 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32518 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32519 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32520 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32521
24f579d8
AM
325222011-08-15 Alan Modra <amodra@gmail.com>
32523
32524 [BZ #13092]
32525 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32526 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32527 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32528 ppc_mcount to static-only-routines.
32529 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32530 __mcount_internal.
32531 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32532 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32533
3d4837df
UD
325342011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32535
32536 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32537 for finite and infinity parameters.
32538
22700377
WS
325392011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32540
32541 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32542 and add nop instructions for throughput optimization.
32543 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32544
5025581e
WS
325452011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32546
32547 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32548 aligned copy for power7 with vector-scalar instructions.
32549 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32550
08a300c9
L
325512011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32552
32553 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32554 AVX check.
32555
59178ef9
AS
325562011-09-07 Andreas Schwab <schwab@redhat.com>
32557
32558 [BZ #13144]
32559 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32560 last change.
32561
e38ba7ab
UD
325622011-09-07 Ulrich Drepper <drepper@gmail.com>
32563
32564 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32565 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32566 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32567 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32568 clock_gettime.
32569
d53a73ac
UD
325702011-09-06 Ulrich Drepper <drepper@gmail.com>
32571
fc8bffcc
UD
32572 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32573 Forgot to demangle the pointer.
32574
ceaa0c5d
UD
32575 * sysdeps/i386/sysdep.h: Define atom_text_section.
32576 * sysdeps/x86_64/sysdep.h: Likewise.
32577 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32578 section with atom_text_section.
32579 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32580 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32581 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32582 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32583 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32584
a77d3c17
UD
32585 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32586 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32587 already be defined. Change to take two parameters and don't assign
32588 result to variable. Adjust all users.
32589 Define INTERNAL_GETTIME if not already defined.
32590 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32591 call.
32592 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32593 HAVE_CLOCK_GETTIME_VSYSCALL.
32594 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32595
d53a73ac
UD
32596 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32597 gettimeofday vsyscall, just use time.
32598
a8f84144
AS
325992011-09-06 Andreas Schwab <schwab@redhat.com>
32600
32601 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32602 <errno.h>.
32603
ef606249
UD
326042011-09-06 Ulrich Drepper <drepper@gmail.com>
32605
32606 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32607 syscall on x86-64.
32608 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32609 syscall.
32610 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32611 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32612 syscall if possible.
32613
6585cb60
UD
326142011-09-05 Ulrich Drepper <drepper@gmail.com>
32615
32616 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32617 e_ident. Don't pass to find_mapsXX.
32618 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32619
a5f524e4
LD
326202011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32621
32622 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32623 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32624 * sysdeps/x86_64/multiarch/strchr.S: Update.
32625 Check bit_slow_BSF bit.
32626 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32627 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32628 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32629
554881ef
UD
326302011-09-05 Ulrich Drepper <drepper@gmail.com>
32631
d96de963
UD
32632 [BZ #13134]
32633 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32634 before glibc 2.15.
32635 (tryshell): Define.
32636 (__spawni): Change last parameter to be flag. Test
32637 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32638 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32639 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32640 * posix/spawni.c: Likewise.
32641 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32642 * posix/spawnp.c: Likewise. Change normal version to use
32643 SPAWN_XFLAGS_USE_PATH.
32644 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32645 SPAWN_XFLAGS_TRY_SHELL.
32646
d48e5868
UD
32647 [BZ #13150]
32648 * posix/glob.h: Remove gcc 1.x support.
32649
554881ef
UD
32650 [BZ #13068]
32651 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32652
693fb948
LD
326532011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32654
32655 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32656 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32657 strrchr-sse2-bsf
32658 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32659 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32660 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32661 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32662 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32663 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32664
1b48c537
UD
326652011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32666
49d42c37
UD
32667 * sysdeps/x86_64/wcscmp.S: New file.
32668
1b48c537
UD
32669 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32670 wcscmp-c wcscmp-sse2
32671 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32672 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32673 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32674 * wcsmbs/wcscmp.c: Allow renaming.
32675
15c95c5d
DM
326762011-09-05 David S. Miller <davem@davemloft.net>
32677
32678 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32679 stack slot, rather than the struct return pointer slot.
32680 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32681 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32683 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32684
2f0ad8f3
UD
326852011-09-05 Ulrich Drepper <drepper@gmail.com>
32686
d88ae418
UD
32687 * po/ja.po: Update from translation team.
32688
2f0ad8f3
UD
32689 [BZ #13144]
32690 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32691 kernel in 64-bit binaries.
32692
5f4318d1
DM
326932011-09-01 David S. Miller <davem@davemloft.net>
32694
32695 * elf/elf.h (HWCAP_SPARC_*): Move to..
32696 * sysdeps/sparc/sysdep.h: this new file and add new values.
32697 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32698 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32699 _DL_HWCAP_COUNT to 24.
32700 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32701 entries.
32702 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32703 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32704 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32705 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32706 instead of magic constants.
32707 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32708
3ba57516
DM
327092011-08-31 David S. Miller <davem@davemloft.net>
32710
32711 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32712 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32713 Reimplement to do errno handling inline.
32714 (SYSCALL_ERROR_HANDLER): New macro.
32715 (__SYSCALL_STRING): Do not do errno handling in asm.
32716 (__CLONE_SYSCALL_STRING): Delete.
32717 (__INTERNAL_SYSCALL_STRING): Delete.
32718 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32719 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32720 (PSEUDO): Reimplement to do errno handling inline.
32721 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32722 (SYSCALL_ERROR_HANDLER): New macro.
32723 (__SYSCALL_STRING): Do not do errno handling in asm.
32724 (__CLONE_SYSCALL_STRING): Delete.
32725 (__INTERNAL_SYSCALL_STRING): Delete.
32726 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32727 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32728 i386.
32729 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32730 (inline_syscall*): Add 'err' argument.
32731 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32732 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32733 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32734 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32735
32736 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32737 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32738
2bc17433
AS
327392011-08-30 Andreas Schwab <schwab@redhat.com>
32740
32741 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32742
fbeb5f4d
JO
327432011-08-29 Jiri Olsa <jolsa@redhat.com>
32744
32745 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32746 directive.
32747
ad69cc26
DM
327482011-08-24 David S. Miller <davem@davemloft.net>
32749
32750 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32751
39dd69df
AS
327522011-08-24 Andreas Schwab <schwab@redhat.com>
32753
32754 * elf/Makefile: Add rules to build and run unload8 test.
32755 * elf/unload8.c: New file.
32756 * elf/unload8mod1.c: New file.
32757 * elf/unload8mod1x.c: New file.
32758 * elf/unload8mod2.c: New file.
32759 * elf/unload8mod3.c: New file.
32760
32761 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32762 it wasn't used.
32763
2c0b250a
DM
327642011-08-23 David S. Miller <davem@davemloft.net>
32765
32766 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32767 subtract stack bias.
32768 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32769 %sp not %fp in calculations.
32770 (_JMPBUF_UNWINDS_ADJ): Likewise.
32771
22044b48
DM
32772 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32773 (aio_suspend): Call it to force an exception region around the
32774 AIO_MISC_WAIT() invocation.
32775
2cae4995
AS
327762011-08-23 Andreas Schwab <schwab@redhat.com>
32777
32778 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32779 backslash.
32780
873a772e
AJ
327812011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32782
32783 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32784 protection macro.
32785 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32786 and <dl-machine.h>.
32787 (Elf64_FuncDesc): Remove.
32788
25ad0df1
DM
327892011-08-22 David S. Miller <davem@davemloft.net>
32790
32791 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32792 sigaltstack check, add missing cfi directives.
32793 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32794 missing cfi directives, and sigaltstack handling.
32795
e888bcbe
AS
327962011-08-16 Andreas Schwab <schwab@redhat.com>
32797
32798 [BZ #11724]
32799 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32800 object is seen twice.
32801 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32802
32803 * elf/Makefile (distribute): Add tst-initorder2.c.
32804 (tests): Add tst-initorder2.
32805 (modules-names): Add tst-initorder2a tst-initorder2b
32806 tst-initorder2c tst-initorder2d. Add rules to build them.
32807 ($(objpfx)tst-initorder2.out): New rule.
32808 * elf/tst-initorder2.c: New file.
32809 * elf/tst-initorder2.exp: New file.
32810
87162f46
AS
328112011-08-22 Andreas Schwab <schwab@redhat.com>
32812
70538b7f
AS
32813 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32814
f55ffe58
AS
32815 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32816 dependencies back to end of function.
32817
87162f46
AS
32818 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32819 $(elfobjdir)/ld.so.
32820
91b392a4
UD
328212011-08-21 Ulrich Drepper <drepper@gmail.com>
32822
32823 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32824 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32825 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32826 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32827 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32828 of __vdso_gettimeofday.
32829 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32830 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
32831 attribute_hidden.
32832 (_libc_vdso_platform_setup): Remove initialization of
32833 __vdso_gettimeofday and __vdso_time.
32834
5c43483f
UD
328352011-08-20 Ulrich Drepper <drepper@gmail.com>
32836
775a77e7
UD
32837 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32838 and fgetc_unlocked.
32839 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32840 getc_unlocked.
89f447ed 32841
49c74ba9
UD
32842 * elf/dl-open.c (add_to_global): Report additions to the global scope
32843 for LD_DEBUG=scopes.
32844 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 32845 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 32846
5c43483f
UD
32847 [BZ #13114]
32848 * stdio-common/Makefile (tests): Add bug24.
32849 * stdio-common/bug24.c: New file.
32850
a101b025
AJ
328512011-08-19 Andreas Jaeger <aj@suse.de>
32852
32853 [BZ #13114]
32854 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32855 non-existant file when using close-on-exec mode.
32856
c88f1766
UD
328572011-08-20 Ulrich Drepper <drepper@gmail.com>
32858
0276a718
UD
32859 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32860 the very first instruction.
32861
c88f1766
UD
32862 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32863 the CFI state in the end.
32864 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32865 inclusion of dl-trampoline.h.
32866 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32867
51ccffa0
AS
328682011-08-19 Andreas Schwab <schwab@redhat.com>
32869
94d7165f
AS
32870 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32871 expectations for long double.
32872
51ccffa0
AS
32873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32874 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32875
fd708658 328762011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
32877
32878 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32879 artificual limit depends upon the system page size.
32880
44f0a71e
UD
328812011-08-17 Ulrich Drepper <drepper@gmail.com>
32882
32883 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32884 * resolv/Makefile: Define CFLAGS-libresolv.
32885
8de79a24
AS
328862011-08-17 Andreas Schwab <schwab@redhat.com>
32887
32888 * nss/makedb.c (compute_tables): Make variables used in nested
32889 function static.
32890
27724598
UD
328912011-08-17 Ulrich Drepper <drepper@gmail.com>
32892
c5305d88
UD
32893 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32894 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32895 if buffer was too small.
32896
27724598
UD
32897 * elf/pldd.c (main): Attach to all threads in the process.
32898 Rewrite /proc handling to use *at functions.
32899
076fe015
UD
329002011-08-16 Ulrich Drepper <drepper@gmail.com>
32901
174baab3
UD
32902 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32903 specifies first scope to show.
32904 (dl_open_worker): Update callers. Move printing scope of new
32905 object to before the relocation.
44f0a71e 32906 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
32907 * sysdeps/generic/ldsodefs.h: Update declaration.
32908
076fe015
UD
32909 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32910 string for the scope number.
32911
a60df2c3
UD
329122011-08-14 Ulrich Drepper <drepper@gmail.com>
32913
32914 * nscd/servicescache.c (cache_addserv): Make sure written is always
32915 initialized.
32916
5e4287d1
RM
329172011-08-14 Roland McGrath <roland@hack.frob.com>
32918
85ae0589
RM
32919 * sysdeps/i386/i486/bits/atomic.h
32920 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32921 statement expression, so as to suppress "set but not used" warning.
32922 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32923
69f63097
RM
32924 * string/strncat.c (STRNCAT): Use prototype definition.
32925
675456ef
RM
32926 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32927 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32928 -Iprograms here.
32929 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32930 (localedef-modules): Add localedef.
32931 (locale-modules): Add locale.
32932
5e4287d1
RM
32933 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32934 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32935 to avoid a warning.
32936
9c96ff23
DM
329372011-08-14 David S. Miller <davem@davemloft.net>
32938
32939 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32940 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32941
f9ddf089
UD
329422011-08-13 Ulrich Drepper <drepper@gmail.com>
32943
44f0a71e 32944 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
32945 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32946 * elf/rtld.c (dl_main): Set l_name of vDSO.
32947 Call _dl_show_scope when DL_DEBUG_SCOPES.
32948 (process_dl_debug): Recognize scopes flag and also set it for all.
32949 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32950 Declare _dl_show_scope.
32951
1dc27704
UD
32952 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32953 (do_dlopen): Pass caller_dlopen to dl_open.
32954 (__libc_dlopen_mode): Initialize caller_dlopen.
32955
f9ddf089
UD
32956 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32957 of libc. Make tolower call locale-independent. Optimize a bit by
32958 using isdigit instead of isalnum.
32959 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32960
9ac533d3
UD
329612011-08-12 Ulrich Drepper <drepper@gmail.com>
32962
32963 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32964 was a dependency or dynamically loaded.
32965
89edf2e9
UD
329662011-08-11 Ulrich Drepper <drepper@gmail.com>
32967
8e999d29
UD
32968 * intl/l10nflist.c: Allow architecture-specific pop function.
32969 * sysdeps/x86_64/l10nflist.c: New file.
32970
89edf2e9
UD
32971 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32972 classification.
32973
14d96785
AS
329742011-08-10 Andreas Schwab <schwab@redhat.com>
32975
32976 * include/dirent.h: Add libc_hidden_proto for scandirat and
32977 scandirat64. Don't declare __scandirat64.
32978 * dirent/scandirat.c: Add libc_hidden_def.
32979 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32980 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32981
6761ac04
DM
329822011-08-10 David S. Miller <davem@davemloft.net>
32983
32984 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32985 enum.
32986 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32987 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32988 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32989
c55fbd1e
UD
329902011-08-09 Ulrich Drepper <drepper@gmail.com>
32991
32992 * Versions.def [libc]: Add GLIBC_2.15.
32993 * dirent/Makefile (routines): Add scandirat and scandirat64.
32994 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32995 GLIBC_2.15.
32996 * dirent/dirent.h: Declare scandirat and scandirat64.
32997 * dirent/scandirat.c: New file.
32998 * dirent/scandirat64.c: New file.
32999 * sysdeps/wordsize-64/scandirat.c: New file.
33000 * sysdeps/wordsize-64/scandirat64.c: New file.
33001 * dirent/opendir.c: Define opendirat.
33002 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33003 using scandirat.
33004 * dirent/scandir64.c: Adjust for scandir.c change.
33005 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33006 __scandirat64, and __scandir_cancel_handler.
33007 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33008 additional parameter and use openat instead of open (outside of ld.so).
33009 Add new __opendir as wrapper around __opendirat.
33010 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33011 here without requiring old scandirat implementation.
33012
879165f2
UD
330132011-08-08 Ulrich Drepper <drepper@gmail.com>
33014
33015 * dirent/scandir.c (cancel_handler): Renamed to
33016 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33017 defined. Adjust users.
33018 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33019 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33020
cb7e923b
UD
330212011-08-04 Ulrich Drepper <drepper@gmail.com>
33022
16292edd
UD
33023 * string/test-string.h (IMPL): Use __STRING to expand name and then
33024 stringify it.
33025
cb7e923b
UD
33026 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33027 of cleanups.
33028
cff82933
LD
330292011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33030
33031 * string/Makefile: Update.
33032 (strop-tests): Append strncat.
33033 * string/test-wcscmp.c: New file.
33034 New comprehensive test for wcscmp.
33035 * string/test-strcmp.c: Update.
33036 (WIDE): New define.
33037
9be9bfcc
AS
330382011-07-22 Andreas Schwab <schwab@redhat.com>
33039
33040 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33041 line.
33042
2e96f1c7
AS
330432011-07-26 Andreas Schwab <schwab@redhat.com>
33044
33045 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33046 encoding to ACE if AI_IDN.
33047
85188888
JJ
330482011-08-01 Jakub Jelinek <jakub@redhat.com>
33049
33050 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33051 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33052
5fa16e9b
LD
330532011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33054
33055 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33056 Fix overflow bug in strncat.
33057 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33058
33059 * string/test-strncat.c: Update.
33060 Add new tests for checking overflow bugs.
33061
330622011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33063
33064 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33065 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33066 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33067 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33068 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33069 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33070 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33071 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33072 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33073
33074 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33075 (USE_AS_STRCAT): Define.
33076 Add strcat and strncat support.
33077 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33078
8c1a459f
AS
330792011-07-25 Andreas Schwab <schwab@redhat.com>
33080
33081 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33082 __n bigger than INT_MAX+1.
33083 (__strncmp_g): Likewise.
33084
bba33c28
UD
330852011-07-23 Ulrich Drepper <drepper@gmail.com>
33086
798be72d
UD
33087 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33088 * libio/stido.h: Likewise.
33089
8accd4dc
UD
33090 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33091 (AF_NFC): Define.
33092 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33093 (AF_NFC): Define.
33094
cbff0d96
UD
33095 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33096 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33097 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33098 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33099 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33100
9191c04a
UD
33101 [BZ #13021]
33102 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33103 installed.
33104
bba33c28
UD
33105 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33106 typo.
33107 (_dl_x86_64_save_sse): Likewise.
33108
90f139dd
UD
331092011-07-22 Ulrich Drepper <drepper@gmail.com>
33110
1aae088a
UD
33111 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33112 OSXSAVE.
33113 (_dl_x86_64_save_sse): Likewise.
33114
8e2045f5
UD
33115 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33116
90f139dd
UD
33117 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33118
1d002f25
AS
331192011-07-21 Andreas Schwab <schwab@redhat.com>
33120
33121 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33122 change.
33123 (_dl_x86_64_save_sse): Use correct AVX check.
33124
21137f89
UD
331252011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33126
33127 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33128 bug in strncpy/strncat.
33129 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33130
a65c0b7a
UD
331312011-07-21 Ulrich Drepper <drepper@gmail.com>
33132
33133 * string/tester.c (test_strcat): Add tests for different alignments
33134 of source and destination.
33135 (test_strncat): Likewise.
33136
6986b98a
UD
331372011-07-20 Ulrich Drepper <drepper@gmail.com>
33138
90bb2039
UD
33139 [BZ #12852]
33140 * posix/glob.c (glob): Check passed in values before using them in
33141 expressions to avoid some overflows.
33142 (glob_in_dir): Likewise.
33143
5644ef54
UD
33144 [BZ #13007]
33145 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33146 check for AVX enablement so that we don't crash with old kernels and
33147 new hardware.
33148 * elf/tst-audit4.c: Add same checks here.
33149 * elf/tst-audit6.c: Likewise.
33150
33151 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 33152
bfc9dc9b
AS
331532011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33154
33155 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33156
702e64bb
UD
331572011-07-20 Ulrich Drepper <drepper@gmail.com>
33158
33159 * po/cs.po: Update from translation team.
33160 * po/bg.po: Likewise.
33161
295e904f
MP
331622011-07-12 Marek Polacek <mpolacek@redhat.com>
33163
33164 * misc/sys/cdefs.h: Add support for const attribute.
33165 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33166 to gnu_dev_{major,minor,makedev} functions.
33167
3ff94596
MP
331682011-07-20 Marek Polacek <mpolacek@redhat.com>
33169
33170 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33171
28b59fca
AS
331722011-07-20 Andreas Schwab <schwab@redhat.com>
33173
33174 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33175 strlen results.
33176
19df733e
AK
331772011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33178
33179 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33180 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33181 register in order to avoid conflicts with the soft frame pointer
33182 being held in r11 when necessary.
33183 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33184 (INTERNAL_VSYSCALL_NCS): Likewise.
33185
c8835729
MP
331862011-07-14 Marek Polacek <mpolacek@redhat.com>
33187
33188 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33189 * elf/dl-fini.c (_dl_fini): Adjust caller.
33190 * elf/dl-close.c (_dl_close_worker): Likewise.
33191 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33192
b902330c
MP
331932011-07-15 Marek Polacek <mpolacek@redhat.com>
33194
8991e135
MP
33195 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33196 "aux_cache->nlibs < 0".
33197
b902330c
MP
33198 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33199 in the reload-count case.
33200
99710781
LD
332012011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33202
33203 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33204 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33205 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33206 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33207 * sysdeps/x86_64/multiarch/strcat.S: New file.
33208 * sysdeps/x86_64/multiarch/strncat.S: New file.
33209 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33210 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33211 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33212 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33213 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33214 (USE_AS_STRCAT): Define.
33215 Add strcat and strncat support.
33216 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33217 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33218 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33219 * string/strncat.c: Update.
33220 (USE_AS_STRNCAT): Define.
33221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33222 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33223 and i7.
33224 * sysdeps/x86_64/multiarch/init-arch.h
33225 (bit_Prefer_PMINUB_for_stringop): New.
33226 (index_Prefer_PMINUB_for_stringop): Likewise.
33227 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33228 bit_Prefer_PMINUB_for_stringop.
33229
7dc6bd90
UD
332302011-07-19 Ulrich Drepper <drepper@gmail.com>
33231
33232 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33233 buffer64.
33234 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33235 of casting of buffer.
33236 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33237 buffer32 and buffer64.
33238 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33239 writes instead of casting of buffer.
33240 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33241 buffer32.
33242 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33243 casting of buffer.
33244
e0e72284
AS
332452011-07-19 Andreas Schwab <schwab@redhat.com>
33246
33247 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33248
feb1eb0b
UD
332492011-07-19 Ulrich Drepper <drepper@gmail.com>
33250
33251 * nscd/nscd.c (termination_handler): Don't do anything for a database
33252 if it has not yet been initialized.
33253
298711ff
UD
332542011-07-18 Ulrich Drepper <drepper@gmail.com>
33255
33256 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33257
332582011-07-15 Marek Polacek <mpolacek@redhat.com>
33259
33260 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33261
f9d68389
UD
332622011-07-18 Ulrich Drepper <drepper@gmail.com>
33263
33264 * po/nl.po: Update from translation team.
33265 * po/sv.po: Likewise.
33266
db290cf5
RM
332672011-07-16 Roland McGrath <roland@hack.frob.com>
33268
33269 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33270 now disallowed by GCC.
5c550700 33271
fd5e21c7
RM
33272 * configure.in (use-default-link): Default to yes if a test -shared
33273 link meets our qualifications.
33274 * configure: Regenerated.
33275
5c550700
RM
33276 * config.make.in (output-format): New variable.
33277 * configure.in: Check for ld --print-output-format support.
33278 * configure: Regenerated.
33279 * Makerules ($(common-objpfx)format.lds)
33280 [$(output-format) != unknown]: Just use $(output-format),
33281 instead of the linker-script munging.
33282
9fa2c032
RM
332832011-07-14 Roland McGrath <roland@hack.frob.com>
33284
a6928d51
RM
33285 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33286 of $(common-objpfx)shlib.lds.
33287 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33288
661607b3
RM
33289 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33290 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33291
9fa2c032
RM
33292 * configure.in (-z relro check): Adjust test code to add a large
33293 writable data section after it.
33294 * configure: Regenerated.
33295
defe9061
RM
332962011-07-11 Roland McGrath <roland@hack.frob.com>
33297
33298 * configure.in (-z relro check): Fix test code to make the variable
33299 truly const.
33300 * configure: Regenerated.
33301
319b9ad4
UD
333022011-07-11 Ulrich Drepper <drepper@gmail.com>
33303
33304 * nscd/nscd.h (struct traced_file): Define.
33305 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33306 elements. Add traced_files.
33307 (inotify_fd): Declare.
33308 (register_traced_file): Declare.
33309 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33310 (inotify_fd): Export.
33311 (resolv_conf_descr): Remove.
33312 (nscd_init): Move inotify descriptor creation to main.
33313 Don't register files for notification here.
33314 (register_traced_file): New function.
33315 (invalidate_cache): Don't use reset_res to determine whether to call
33316 res_init, go through the list of registered files.
33317 (main_loop_poll): The inotify descriptors are now stored in the
33318 structures for the traced files.
33319 (main_loop_epoll): Likewise
33320 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33321 to __nss_disable_nscd.
33322 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33323 for a database anymore. Check the records for all the registered
33324 files instead.
33325 * nss/Makefile (libnss_files-routines): Add files-init.
33326 (libnss_db-routines): Add db-init.
33327 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33328 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33329 * nss/nss_db/db-init.c: New file.
33330 * nss/nss_files/files-init.c: New file.
33331 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33332 __nss_lookup_function.
33333 (__nss_lookup_function): Call nss_load_library.
33334 (nss_load_all_libraries): New function.
33335 (__nss_disable_nscd): Take parameter with callback function for files
33336 to register. Set is_nscd. Load all the DSOs for the NSS modules
33337 used for the cached services.
33338 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33339 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33340 options for features to all the files in nscd.
33341
33342 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33343
23bee3e8
RM
333442011-07-10 Roland McGrath <roland@hack.frob.com>
33345
33346 * csu/elf-init.c (__libc_csu_init): Comment typo.
33347
46a5b7f0
UD
333482011-07-09 Ulrich Drepper <drepper@gmail.com>
33349
33350 * po/pl.po: Update from translation team.
33351 * po/ja.po: Likewise.
33352 * po/ru.po: Likewise.
33353 * po/ko.po: Likewise.
33354 * po/fr.po: Likewise.
33355
d30cf5bb
RM
333562011-07-09 Roland McGrath <roland@hack.frob.com>
33357
113ddea4
RM
33358 * configure.in (.ctors/.dtors header and trailer check):
33359 Use an empirical test on a built program.
33360 * configure: Regenerated.
33361
574920b4
RM
33362 * configure.in (-z relro check): Use an empirical test on a built DSO.
33363 Detect, but do not require, on ia64.
33364 * configure: Regenerated.
33365
d30cf5bb
RM
33366 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33367 Update tests that use readelf to use $READELF instead.
33368 * configure: Regenerated.
33369
8538fdb3
UD
333702011-07-08 Ulrich Drepper <drepper@gmail.com>
33371
33372 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33373 if the result is not used.
33374
04d08991
AJ
333752011-07-05 Andreas Jaeger <aj@suse.de>
33376
33377 [BZ#9696]
33378 * stdlib/tst-strtod.c: Add testcase.
33379
de283087
AD
333802011-07-07 Ulrich Drepper <drepper@gmail.com>
33381
4e5f31c8 33382 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 33383 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
33384 The latter has a higher limit. Take additional parameter to pass to
33385 the new function.
33386 (__pathconf): Pass file to __statfs_link_max.
33387 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33388 __statfs_link_max.
33389 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33390 __statfs_link_max.
33391
de283087
AD
33392 [BZ #12868]
33393 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33394 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33395 Handle Lustre.
33396 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33397 (__statfs_filesize_max): Likewise.
33398 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33399
c75fa153
AJ
334002011-07-05 Andreas Jaeger <aj@suse.de>
33401
33402 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33403
1a544854
UD
334042011-07-06 Marek Polacek <mpolacek@redhat.com>
33405
33406 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33407 `status' variable.
33408 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33409 Likewise.
33410
6f0eec67
UD
334112011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33412
33413 * Makefile (strop-tests): Add strncat.
33414 * string/test-strncat.c: New file.
33415
aae30307
UD
334162011-06-30 Marek Polacek <mpolacek@redhat.com>
33417
33418 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33419
c0cfb5eb
UD
334202011-06-21 Andreas Jaeger <aj@suse.de>
33421
33422 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33423 Copy rule from iconvdata/Makefile.
33424
01636b21
UD
334252011-07-06 Ulrich Drepper <drepper@gmail.com>
33426
33427 [BZ #12922]
33428 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33429 but no long options are defined, just return 'W'.
33430
9895c8bc
UD
334312011-06-22 Marek Polacek <mpolacek@redhat.com>
33432
33433 [BZ #9696]
33434 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33435
5d4cf042
UD
334362011-07-06 Ulrich Drepper <drepper@gmail.com>
33437
33438 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33439 netgroups to read.
960e5535 33440 (innetgr): Likewise.
5d4cf042 33441
751eb97e
RM
334422011-07-05 Roland McGrath <roland@hack.frob.com>
33443
33444 * config.make.in (install_root): Default to $(DESTDIR).
33445
f15f1e45
UD
334462011-07-05 Ulrich Drepper <drepper@gmail.com>
33447
33448 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33449
4e34ac6a
RM
334502011-07-02 Roland McGrath <roland@hack.frob.com>
33451
5e9b6af4
RM
33452 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33453
84f9ea0f
RM
33454 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33455 containing directory rather than embedding absolute directory names.
33456
ea5ee9f7
RM
33457 * scripts/check-local-headers.sh: Rewritten using awk.
33458 Match by word, not by line. Print error messages for matches.
33459 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33460
1b74661a
RM
33461 * Makerules [shlib-lds-flags empty]:
33462 ($(common-objpfx)libc_pic.opts): New target.
33463 ($(common-objpfx)libc_pic.os.clean): New target.
33464 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33465
33466 * config.make.in (OBJCOPY): New variable.
33467 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33468 * configure: Regenerated.
33469
f781ef40
RM
33470 * config.make.in (use-default-link): New variable.
33471 * configure.in (use_default_link): Grok --with-default-link to set it.
33472 * configure: Regenerated.
33473 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33474 (shlib-lds, shlib-lds-flags): Define to empty.
33475
2d4fa81e
RM
33476 * Makerules (shlib-lds): New variable.
33477 (shlib-lds-flags): New variable.
33478 (build-shlib, build-moduile, build-module-asneeded): Use it.
33479 ($(common-objpfx)libc.so): Use $(shlib-lds).
33480 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33481 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33482
31fffa6b
RM
33483 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33484 DT_FLAGS/DT_FLAGS_1 with zero flags.
33485
4e34ac6a
RM
33486 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33487 linker script munging.
33488
fcfc776b
UD
334892011-07-02 Ulrich Drepper <drepper@gmail.com>
33490
33491 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33492 as 128-bit value.
33493 * crypt/sha512.c (sha512_process_block): Perform total addition using
33494 128-bit if possible.
33495 (__sha512_finish_ctx): Likewise.
33496 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33497 as 64-bit value.
33498 * crypt/sha256.c (SWAP64): Define.
33499 (sha256_process_block): Perform total addition using 64-bit if
33500 possible.
33501 (__sha256_finish_ctx): Likewise.
33502
99231d9a
UD
335032011-07-01 Ulrich Drepper <drepper@gmail.com>
33504
33505 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
33506 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33507 * nscd/hstcache.c (cache_addhst): Likewise.
33508 * nscd/grpcache.c (cache_addgr): Likewise.
33509 * nscd/aicache.c (addhstaiX): Likewise
33510 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33511
445b4a53
TK
335122011-07-01 Thorsten Kukuk <kukuk@suse.de>
33513
33514 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33515 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33516 * nscd/hstcache.c (cache_addhst): Likewise.
33517 * nscd/grpcache.c (cache_addgr): Likewise.
33518 * nscd/aicache.c (addhstaiX): Likewise
33519
6d4d8e8e
AS
335202011-07-01 Andreas Schwab <schwab@redhat.com>
33521
33522 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33523 domain only when needed.
33524
89f654c5
AS
335252011-06-30 Andreas Schwab <schwab@redhat.com>
33526
33527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33528 is always restored.
33529
cf3b23ff
UD
335302011-06-29 Ulrich Drepper <drepper@gmail.com>
33531
33532 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33533 are re-adding the entry.
33534 * nscd/servicescache.c (cache_addserv): Likewise.
33535
751626f9
AJ
335362011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33537
33538 * sysdeps/generic/dl-irel.h: fix protection against multiple
33539 inclusions.
33540 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33541
9113ea1f
UD
335422011-06-28 Ulrich Drepper <drepper@gmail.com>
33543
5c0b8d90
UD
33544 [BZ #12935]
33545 * malloc/memusage.sh: Fix quoting in message.
33546 * debug/xtrace.sh: Likewise.
33547
9113ea1f
UD
33548 * configure.in: Remove support for --experimental-malloc option, make
33549 it the default.
33550 * config.make.in: Likewise.
33551 * malloc/Makefile: Likewise.
33552
a4172181
AS
335532011-06-27 Andreas Schwab <schwab@redhat.com>
33554
33555 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33556 two-byte characters.
33557
78a7eee7
RM
335582011-06-27 Roland McGrath <roland@hack.frob.com>
33559
62bede13
RM
33560 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33561 AC_CACHE_CHECK invocation.
33562 * configure: Regenerated.
33563
78a7eee7
RM
33564 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33565
5ce33a62
UD
335662011-06-27 Ulrich Drepper <drepper@gmail.com>
33567
034807a9
UD
33568 [BZ #12350]
33569 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33570 bit from old_res_options.
33571
4902da17
UD
33572 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33573
5ce33a62
UD
33574 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33575 value type for setfct.
33576
c2344f56
L
335772011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33578
33579 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33580 __gettimeofday instead of gettimeofday.
33581
68468076
UD
335822011-06-26 Ulrich Drepper <drepper@gmail.com>
33583
33584 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33585
acb0d739
L
335862011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33587
33588 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33589
33590 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33591 info.
33592
8912479f
L
335932011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33594
33595 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33596 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33597 strcpy-sse2-unaligned strncpy-sse2-unaligned
33598 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33599 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33600 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33601 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33602 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33603 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33604 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33605 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33606 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33607 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33608 (STRCPY): Support SSE2 and SSSE3 versions.
33609
d5495a11
UD
336102011-06-24 Ulrich Drepper <drepper@gmail.com>
33611
33612 [BZ #12874]
33613 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33614 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33615 kernels which artificially limit size of requests.
33616
0b1cbaae
L
336172011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33618
33619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33620 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33621 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33622 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33623 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33624 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33625 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33626 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33627 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33628 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33629 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33630 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33631 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33632 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33633 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33635 Enable unaligned load optimization for Intel Core i3, i5 and i7
33636 processors.
33637 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33638 Define.
33639 (index_Fast_Unaligned_Load): Define.
33640 (HAS_FAST_UNALIGNED_LOAD): Define.
33641
07f494a0
MP
336422011-06-23 Marek Polacek <mpolacek@redhat.com>
33643
33644 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33645
fa3fc0fe
UD
336462011-06-22 Ulrich Drepper <drepper@gmail.com>
33647
33648 [BZ #12907]
33649 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33650 until it is clear that the information is realy needed.
33651 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33652
e12df166
AS
336532011-06-22 Andreas Schwab <schwab@redhat.com>
33654
33655 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33656
852eb34d
UD
336572011-06-22 Ulrich Drepper <drepper@gmail.com>
33658
84e2a551
UD
33659 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33660 /sys/devices/system/cpu/online if it is usable.
33661
852eb34d
UD
33662 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33663 reading the information from the /proc filesystem to once a second.
33664
6e502e19
UD
336652011-06-21 Andreas Jaeger <aj@suse.de>
33666
33667 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33668 NULL after inclusion of kernel headers.
33669
75d39ff2
UD
336702011-06-21 Ulrich Drepper <drepper@gmail.com>
33671
51f9aa6a
UD
33672 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33673 calls to internal_setent.
33674
c0244a9d
UD
33675 [BZ #12885]
33676 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33677 addresses using gethostbyname4_r ignore IPv4 addresses.
33678
c5e3c2ae
UD
33679 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33680 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33681
75d39ff2
UD
33682 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33683
42675c6f
DM
336842011-06-20 David S. Miller <davem@davemloft.net>
33685
33686 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33687 inclusions.
33688 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33689
33690 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33691 (elf_irel): Use it.
33692 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33693 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33694 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33695 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33696 * sysdeps/x86_64/dl-irel.h: Likewise.
33697
33698 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33699 * elf/dl-sym.c: Likewise.
33700
57912a71
UD
337012011-06-15 Ulrich Drepper <drepper@gmail.com>
33702
33703 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33704 need to dereference resplen2.
33705
ee22793d
AS
337062011-06-14 Andreas Schwab <schwab@redhat.com>
33707
33708 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33709
a9e836b0
UD
337102011-06-15 Ulrich Drepper <drepper@gmail.com>
33711
77fb9117
UD
33712 * Makeconfig: Define vardbdir and inst_vardbdir.
33713 * nss/Makefile: Add rules to install db-Makefile.
33714
40c1b22c
UD
33715 * nss/nss_db/db-XXX.c: Cleanup.
33716
9f2da732
UD
33717 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33718 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33719 GLIBC_PRIVATE.
33720 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33721 * nss/makedb.c: Implement -g option to specify that value strings
33722 are generated and should not be added to table iterated over for
33723 get*ent calls.
33724 * nss/nss_db/db-initgroups.c: New file.
33725
82e9a1f7
UD
33726 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33727 interface.
33728
c41af17e
UD
33729 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33730 (internal_getgrouplist): Adjust to name change.
33731 Update use_initgroups_entry if this is not the first call.
33732 * nss/databases.def: Add initgroups entry.
33733
a9e836b0
UD
33734 * nss/makedb.c (compute_tables): Check result of multiple hash table
33735 sizes to minimize maximum chain length.
33736
2666d441
UD
337372011-06-14 Ulrich Drepper <drepper@gmail.com>
33738
33739 * Versions.def: Add entry for libnss_db.
33740 * shlib-versions: Likewise.
33741 * nss/Makefile: Add rules to build libnss_db.
33742 * nss/Versions: Add libnss_db information. Organize libnss_files
33743 entries better.
33744 * nss/db-Makefile: Add gshadow support. Change rules for the new
33745 makedb progra. Some minor improvements to generate smaller files.
33746 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33747 here from...
33748 * nss/makedb.c: ...here.
33749 Improve database format to be smaller and require less memory at
33750 runtime.
33751 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33752 db anymore.
33753 * nss/nss_db/db-netgrp.c: Likewise.
33754 * nss/nss_db/db-open.c: Likewise.
33755 * nss/nss_files/flies-XXX.x: Adjust comments.
33756 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33757 * nss/nss_files/files-grp.c: Likewise.
33758 * nss/nss_files/files-hosts.c: Likewise.
33759 * nss/nss_files/files-network.c: Likewise.
33760 * nss/nss_files/files-proto.c: Likewise.
33761 * nss/nss_files/files-pwd.c: Likewise.
33762 * nss/nss_files/files-rpc.c: Likewise.
33763 * nss/nss_files/files-service.c: Likewise.
33764 * nss/nss_files/files-sgrp.c: Likewise.
33765 * nss/nss_files/files-spwd.c: Likewise.
33766 * nss/nss_db/db-alias.c: Removed.
33767 * nss/nss_db/dummy-db.h: Removed.
33768
9ee76b5a
UD
337692011-06-02 Ulrich Drepper <drepper@gmail.com>
33770
33771 * nss/makedb.c: Rewritten to not use database library.
33772 * nss/Makefile: Update to build new makedb program.
33773
c71ca1f8
AJ
337742011-06-14 Andreas Jaeger <aj@suse.de>
33775
33776 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33777 memset declaration.
33778
3154bfb8
UD
337792011-06-10 Andreas Schwab <schwab@redhat.com>
33780
33781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33782 tmpbuf.
33783
b350afab
RM
337842011-06-10 Roland McGrath <roland@hack.frob.com>
33785
decd4e50
RM
33786 * Makerules (shlib.lds): Fail if the linker script comes out empty.
33787 * elf/Makefile ($(objpfx)ld.so): Likewise.
33788
5615eaf2
RM
33789 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33790 Don't list ld.so twice in dependencies.
33791
33792 * posix/bug-regex31.c: Include <stdlib.h>.
33793
33794 * nscd/hstcache.c (cache_addhst): Remove unused variable.
33795
33796 * nis/nss_compat/compat-spwd.c
33797 (getspent_next_nss_netgr): Remove unused variable.
33798 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33799
33800 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33801 nonmembers" output to use the right array.
33802
33803 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33804
33805 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33806
33807 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33808 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33809 * catgets/gencat.c (read_input_file): Likewise.
33810 * locale/programs/locarchive.c (enlarge_archive): Likewise.
33811
33812 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33813 variable definition inside #if's controlling its use.
33814
33815 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33816
33817 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33818
33819 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33820
33821 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33822 unreachable code.
33823
33824 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33825
b68e08db
RM
33826 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33827 * configure: Regenerated.
33828
b350afab
RM
33829 * Makerules: Revert last change.
33830 * elf/Makefile: Likewise.
33831
28368601
RM
338322011-06-09 Roland McGrath <roland@hack.frob.com>
33833
33834 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33835 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33836 (reloc-link): Likewise.
33837
11988f8f
UD
338382011-06-09 Ulrich Drepper <drepper@gmail.com>
33839
33840 * elf/Makefile: Add rules to build pldd.
33841 * elf/pldd.c: New file.
33842 * elf/pldd-xx.c: New file.
33843
e80fab37
UD
338442011-06-07 Ulrich Drepper <drepper@gmail.com>
33845
33846 * version.h: Update for 2.15 development version.
33847
9b849836
DM
338482011-06-07 David S. Miller <davem@davemloft.net>
33849
33850 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33851 ifuncs.
33852 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33853 elf_machine_lazy_rel): Likewise.
33854 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33855 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33856 elf_machine_lazy_rel): Likewise.
33857 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33858 dl_hwcap via passed in argument.
33859 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33860 Likewise.
33861
5a31b283
AK
338622011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33863
33864 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33865
069e52f8
RM
338662011-06-06 Roland McGrath <roland@hack.frob.com>
33867
33868 [BZ #12849]
33869 * manual/fdl-1.1.texi: New file, verbatim from:
33870 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33871 * manual/lgpl-2.1.texi: New file, verbatim from:
33872 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33873 * manual/Makefile (licenses): New variable, list those new file names.
33874 (texis): Use it.
33875 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33876
33877 * manual/fdl.texi: File removed.
33878 * manual/lesser.texi: File removed.
33879 * manual/libc.texinfo (Copying, Documentation License):
33880 Use new @include file names, put @appendix directive before @include.
33881
f16846a5
JJ
338822011-06-04 Jakub Jelinek <jakub@redhat.com>
33883
33884 [BZ #12841]
33885 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33886 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33887 (mq_open): Add __NTH.
33888
3d29045b
L
338892011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33890
33891 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33892 Assume Intel Core i3/i5/i7 processor if AVX is available.
33893
8c297311
UD
338942011-05-31 Ulrich Drepper <drepper@gmail.com>
33895
33896 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33897 typo.
33898
c8fc0c91
UD
338992011-05-31 Andreas Schwab <schwab@redhat.com>
33900
33901 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33902 memory. Use alloca_account. Fix memory leak when retrying.
33903
5b27a807
UD
339042011-05-31 Ulrich Drepper <drepper@gmail.com>
33905
356f8bc6
UD
33906 * version.h (RELEASE): Bump for 2.14 release.
33907 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33908
5b27a807
UD
33909 * config.make.in (RANLIB): Remove entry.
33910
01f16ab0
UD
339112011-05-30 Ulrich Drepper <drepper@gmail.com>
33912
41fce8bd
UD
33913 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33914 (libc.pot): Work around missing support for .ksh extension in xgettext.
33915
4769ae77
UD
33916 [BZ #12684]
33917 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33918 if both request failed.
33919 (send_dg): In case of server errors clear resplen or *resplen2.
33920
6b1e7d19
UD
33921 [BZ #12454]
33922 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33923 when there are multiple maps.
33924 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33925 (_dl_fini): Remove test here.
33926
01f16ab0
UD
33927 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33928
b1ebd700
UD
339292011-05-29 Ulrich Drepper <drepper@gmail.com>
33930
7ae22829
UD
33931 [BZ #12350]
33932 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33933 bit from old_res_options.
33934 (gaih_inet): Likewise.
33935
553149f6 33936 [BZ #11099]
18a84741 33937 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
33938 as signed.
33939
652ffab1
UD
33940 * resolv/res_init.c (res_setoptions): Make the code more compact.
33941
16985fd0
UD
33942 [BZ #11558]
33943 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33944 set RES_USEVC.
33945
0464f746
UD
33946 [BZ #11634]
33947 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33948
7d17596c
UD
33949 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33950
cf6bbbd7
UD
33951 [BZ #11781]
33952 * malloc/malloc.h: Declare malloc hook variables as volatile.
33953
13f1ab36
UD
33954 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33955 in last patch.
33956
b1ebd700
UD
33957 [BZ #11799]
33958 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 33959 raise in the comment.
80e2212d
UD
33960 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33961 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33962 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 33963
ce67228d
UD
339642011-05-28 Ulrich Drepper <drepper@gmail.com>
33965
8887a920
UD
33966 [BZ #12811]
33967 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33968 grow the buffers more if it already has to be sufficient.
33969 (build_wcs_upper_buffer): Likewise.
33970 * posix/regexec.c (check_matching): Likewise.
33971 (clean_state_log_if_needed): Likewise.
33972 (extend_buffers): Don't enlarge buffers beyond size of the input
33973 buffer.
33974 Patches mostly by Emil Wojak <emil@wojak.eu>.
33975 * posix/bug-regex32.c: New file.
33976 * posix/Makefile (tests): Add bug-regex32.
33977
4f031072
UD
33978 * locale/findlocale.c (_nl_find_locale): Return right away if
33979 _nl_explode_name failed.
33980 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33981
d0478f0c
UD
33982 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33983
de81b246
UD
33984 * debug/xtrace.sh: Unify messages.
33985 * malloc/memusage.sh: Likewise.
33986
c738465a
UD
33987 [BZ #12813]
33988 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33989 time symbol from vDSO. Substitute with vsyscall if not available.
33990 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33991 __vdso_time.
33992
f1f929d7
UD
33993 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33994 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33995 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33996 Add sendmmsg and internal_sendmmsg.
33997 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33998 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33999 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34000
ce67228d
UD
34001 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34002 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34003 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34004
e57420c6
UD
340052011-05-27 Ulrich Drepper <drepper@gmail.com>
34006
a8509ca5
UD
34007 [BZ #12813]
34008 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34009 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34010 available.
34011 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34012 __vdso_getcpu.
34013
e57420c6
UD
34014 [BZ #12814]
34015 * iconvdata/Makefile (tests): Add bug-iconv9.
34016 * iconvdata/bug-iconv9.c: New file.
34017
4d07db15
AS
340182011-05-27 Andreas Schwab <schwab@redhat.com>
34019
34020 [BZ #12814]
34021 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34022
ea486f69
JJ
340232011-05-25 Jakub Jelinek <jakub@redhat.com>
34024
34025 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34026 (struct user_regs_struct): Change intcs field back to cs.
34027
6f038433
UD
340282011-05-25 Ulrich Drepper <drepper@gmail.com>
34029
34030 * po/ja.po: Update from translation team.
34031
67f86a25
UD
340322011-05-23 Ulrich Drepper <drepper@gmail.com>
34033
34034 [BZ #12795]
34035 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34036 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34037
def7fbd6
AS
340382011-05-20 Andreas Schwab <schwab@redhat.com>
34039
34040 * stdlib/longlong.h: Update from GCC.
34041
f50ef8f1
AS
340422011-05-23 Andreas Schwab <schwab@redhat.com>
34043
34044 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34045 parameter name.
34046 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34047 Add parameter name.
34048 (__sysconf): Pass it down.
34049
de7ce8f1
UD
340502011-05-22 Ulrich Drepper <drepper@gmail.com>
34051
f2962a71
UD
34052 [BZ #12671]
34053 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34054 some situations.
34055 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34056 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34057 add in in __libc_use_alloca calls. Adjust callers.
34058 (glob): Use malloc in some situations.
34059
de7ce8f1
UD
34060 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34061 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34062 pltexit.
34063
aec84f53
UD
340642011-05-21 Ulrich Drepper <drepper@gmail.com>
34065
05bb4a68
UD
34066 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34067 and CLOCK_BOOTTIME_ALARM.
34068
7ea72f99
UD
34069 [BZ #12782]
34070 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34071 is returned.
34072
7e4afad5
UD
34073 * string/_strerror.c (__strerror_r): Print negative errors as signed
34074 numbers.
34075
8e211fec
UD
34076 [BZ #12777]
34077 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34078 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34079 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34080
f7d82dc9
UD
34081 * configure.in: Fix typo in redirection and correct removal of test
34082 files in two cases.
34083
cc9e536d
UD
34084 [BZ #12788]
34085 * locale/setlocale.c (new_composite_name): Fix test to check for
34086 identical name of all categories.
34087
aec84f53
UD
34088 [BZ #12792]
34089 * libio/filedoalloc.c (local_isatty): New function.
34090 (_IO_file_doallocate): Use local_isatty.
34091 * stdio-common/perror.c (perror): In case a new stream is used
34092 forward the stream error.
34093 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34094 error flag.
34095
78e64fdc
RT
340962011-05-20 Ulrich Drepper <drepper@gmail.com>
34097
34a9094f
UD
34098 [BZ #11869]
34099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34100 alloca.
34101 * include/alloca.h (extend_alloca_account): Define.
34102
78e64fdc
RT
34103 [BZ #11857]
34104 * posix/regex.h: Fix comments with documentation of user-accessible
34105 fields after compilation and describe correct free'ing of pattern
34106 after re_compile_pattern.
34107 Patch by Reuben Thomas <rrt@sc3d.org>.
34108
457bddfc
RA
341092011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34110
34111 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34112 and -mno-altivec to prevent the compiler from using Altivec and/or
34113 VSX instructions when the corresponding registers are not available.
34114
a4527b51
AS
341152011-05-19 Andreas Schwab <schwab@redhat.com>
34116
34117 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34118
ed690b2f
UD
341192011-05-19 Ulrich Drepper <drepper@gmail.com>
34120
34121 * libio/freopen.c (freopen): Use __dup2, not dup2.
34122 * libio/freopen64.c (freopen64): Likewise.
34123
8db73634
L
341242011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34125
34126 [BZ #12775]
34127 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34128 * math/Makefile (tests): Add test-powl.
34129 (CFLAGS-test-powl.c): Define.
34130 * math/test-powl.c: New file.
34131
0a197a9d
L
341322011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34133
34134 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34135
ee30c380
UD
341362011-05-17 Ulrich Drepper <drepper@gmail.com>
34137
34138 [BZ #11837]
34139 * iconvdata/gb18030.c: Update to GB18020-2005.
34140
6ce75379
UD
341412011-05-16 Ulrich Drepper <drepper@gmail.com>
34142
a4b89fd8
AR
34143 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34144 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34145 Patch by Aharon Robbins <arnold@skeeve.com>.
34146
ea389b12
UD
34147 [BZ #11892]
34148 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34149 on the stack.
34150
68a3f91f
UD
34151 [BZ #11895]
34152 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34153 through underflows.
34154
15cc7dd1
UD
34155 [BZ #12766]
34156 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34157 point to strings before performing equality test for error_one_per_line
34158 mode.
34159
f3799213
UD
34160 [BZ #11697]
34161 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34162
d79a9c94
UD
34163 [BZ #11820]
34164 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34165 (struct user_fpregs_struct): Avoid __uint*_t types.
34166
56e5eb46
UD
34167 [BZ #6420]
34168 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34169 symbol info. Use it instead of calling _dl_addr locally.
34170 (lock_and_info): New function.
34171 (tr_freehook): Call lock_and_info and pass symbol info as additional
34172 parameter to tr_where.
34173 (tr_mallochook): Likewise.
34174 (tr_reallochook): Likewise.
34175 (tr_memalignhook): Likewise.
34176
6ce75379
UD
34177 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34178 used and couldn't be at all thread-safe.
34179
f8a3b5bf
UD
341802011-05-15 Ulrich Drepper <drepper@gmail.com>
34181
94b7cc37
UD
34182 * libio/freopen.c (freopen): Don't close old file descriptor
34183 before the new one is opened. Instead dup the new file descriptor
34184 to the old one after the new stream is created.
34185 * libio/freopen64.c (freopen64): Likewise.
34186 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34187 * libio/fileops.c (_IO_new_file_close_it): Handle new
34188 _IO_FLAGS2_NOCLOSE flag.
34189 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34190 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34191 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34192 _IO_FLAGS2_NOCLOSE flag.
34193 * include/unistd.h: Add hidden_proto for dup3.
34194 Define __have_dup3.
34195 * io/dup3.c: Define hidden symbol.
34196 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34197
bd25564e
UD
34198 [BZ #7101]
34199 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34200 when an incomplete long option is used.
34201 * posix/tst-getopt_long1.c: New file.
34202 * posix/Makefile (tests): Add tst-getopt_long1.
34203
c84cfef4
UD
34204 [BZ #10138]
34205 * scripts/config.guess: Update from autoconf-2.68.
34206 * scripts/config.sub: Likewise.
34207
3b85df27
UD
34208 [BZ #10157]
34209 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34210 tests into ...
34211 (has_cpuclock): ...this. New function.
34212 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34213 macro here based on has_cpuclock code.
34214
15a856b1
UD
34215 [BZ #10149]
34216 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34217 First byte (not low byte) is now always NUL.
34218 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34219
05f399e6
UD
34220 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34221 Use non-cancelable interfaces.
34222
10a52685 34223 [BZ #9809]
94ecc67d
UD
34224 * locale/iso-639.def: Add entry for Sorani.
34225
f8a3b5bf
UD
34226 [BZ #11901]
34227 * include/stdlib.h: Move include protection to the right place.
34228 Define abort_msg_s. Declare __abort_msg with it.
34229 * stdlib/abort.c (__abort_msg): Adjust type.
34230 * assert/assert.c (__assert_fail_base): New function. Majority
34231 of code from __assert_fail. Allocate memory for __abort_msg with
34232 mmap.
34233 (__assert_fail): Now call __assert_fail_base.
34234 * assert/assert-perr.c: Remove bulk of implementation. Use
34235 __assert_fail_base.
34236 * include/assert.hL Declare __assert_fail_base.
34237 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34238 mmap.
34239 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34240
1af4e298
UD
342412011-05-14 Ulrich Drepper <drepper@gmail.com>
34242
f8a3b5bf 34243 [BZ #11952]
d26dfc60
MG
34244 [BZ #12453]
34245 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34246 until all modules are registered in the DTV.
34247 * elf/Makefile: Add rules to build and run tst-tls19.
34248 * elf/tst-tls19.c: New file.
34249 * elf/tst-tls19mod1.c: New file.
34250 * elf/tst-tls19mod2.c: New file.
34251 * elf/tst-tls19mod3.c: New file.
34252 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34253
2fc54d6f
UD
34254 [BZ #12083]
34255 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34256 correctly.
34257
98d76b46
UD
34258 [BZ #12601]
34259 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34260 two-byte sequence errors.
34261 * iconvdata/Makefile (tests): Add bug-iconv8.
34262 * iconvdata/bug-iconv8.c: New file.
34263
da3c19ef
UD
34264 [BZ #12626]
34265 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34266 buf2 definition.
34267
ca408c15
UD
34268 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34269
d6f67f7d
UD
34270 [BZ #12432]
34271 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34272 (dummy_getcfa): New function.
34273 (init): Get _Unwind_GetCFA address, use dummy if not found.
34274 (backtrace_helper): In recursion check, also check whether CFA changes.
34275 (__backtrace): Completely initialize arg.
34276
1af4e298 34277 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
34278 storing incomplete byte sequence in state object. Avoid testing for
34279 guaranteed too small input if we know there is enough data available.
1af4e298 34280
da62f81b
AS
342812011-05-11 Andreas Schwab <schwab@redhat.com>
34282
34283 * Makeconfig (+link-pie): Indent.
34284 * Rules (binaries-pie): Define if $(have-fpie) and
34285 $(build-shared).
34286 (binaries-shared): Also filter out $(binaries-pie).
34287 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34288 * nscd/Makefile (others-pie): Add nscd.
34289 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34290 ($(objpfx)nscd): Remove command override.
34291 * login/Makefile (others-pie): Add pt_chown.
34292 ($(objpfx)pt_chown): Remove command override.
34293 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34294 remove command overrides.
34295
fcabc0f8
UD
342962011-05-13 Ulrich Drepper <drepper@gmail.com>
34297
20030ae6
UD
34298 * libio/tst_putwc.c: Fix error messages.
34299
fcabc0f8
UD
34300 [BZ #12724]
34301 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34302 currently writing and seek to current position when not.
34303 * libio/Makefile (tests): Add bug-fclose1.
34304 * libio/bug-fclose1.c: New file.
34305
320a5dc0
PB
343062011-05-12 Ulrich Drepper <drepper@gmail.com>
34307
34308 [BZ #12511]
34309 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34310 don't set DF_1_NODELETE here.
34311 (do_lookup_x): When entering new entry test for copy relocation
34312 and if necessary set DF_1_NODELETE flag.
34313 * elf/tst-unique4.cc: New file.
34314 * elf/tst-unique4.h: New file.
34315 * elf/tst-unique4lib.cc: New file.
34316 * elf/Makefile: Add rules to build and run tst-unique4.
34317 Patch by Piotr Bury <pbury@goahead.com>.
34318
22836f52
UD
343192011-05-11 Ulrich Drepper <drepper@gmail.com>
34320
f574184a
UD
34321 [BZ #12052]
34322 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34323
e1fb097f
UD
34324 [BZ #12625]
34325 * misc/mntent_r.c (addmntent): Flush the stream after the output
34326
22836f52
UD
34327 [BZ #12393]
34328 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34329 (is_trusted_path_normalize): Skip initial colon. Append slash
34330 to empty buffer. Duplicate is_trusted_path code but allow
34331 constructed patch to be prefix.
34332 (is_dst): Allow $ORIGIN followed by /.
34333 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34334 Correct testing of result of is_trusted_path_normalize
34335 (decompose_rpath): Fix warning.
34336
7b3b0b2a
UD
343372011-05-10 Ulrich Drepper <drepper@gmail.com>
34338
34339 [BZ #11257]
34340 * grp/initgroups.c (internal_getgrouplist): When we found the service
34341 list through the initgroups entry in nsswitch.conf do not always
34342 continue on a successful lookup. Don't always use the
eac80ce2 34343 __nss_group_database value if it is set.
7b3b0b2a
UD
34344 * nss/nsswitch.conf (initgroups): Change action for successful db
34345 lookup to continue for compatibility.
34346
2a81eaa5
UD
343472011-05-09 Ulrich Drepper <drepper@gmail.com>
34348
be97a69e
UD
34349 [BZ #11532]
34350 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34351 and CP774 modules.
34352 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34353 and CP774 modules.
34354 * iconvdata/tst-tables.sh: Likewise.
34355 * iconvdata/cp770.c: New file.
34356 * iconvdata/cp771.c: New file.
34357 * iconvdata/cp772.c: New file.
34358 * iconvdata/cp773.c: New file.
34359 * iconvdata/cp774.c: New file.
34360 * iconvdata/testdata/CP770: New file.
34361 * iconvdata/testdata/CP770..UTF8: New file.
34362 * iconvdata/testdata/CP771: New file.
34363 * iconvdata/testdata/CP771..UTF8: New file.
34364 * iconvdata/testdata/CP772: New file.
34365 * iconvdata/testdata/CP772..UTF8: New file.
34366 * iconvdata/testdata/CP773: New file.
34367 * iconvdata/testdata/CP773..UTF8: New file.
34368 * iconvdata/testdata/CP774: New file.
34369 * iconvdata/testdata/CP774..UTF8: New file.
34370
34371 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34372 END CHARMAP line.
34373 * iconvdata/gen-8bit-gap.sh: Likewise.
34374 * iconvdata/gen-8bit.sh: Likewise.
34375
c1e9e399
UD
34376 * locale/iso-639.def: Add ary entry.
34377
24c55fb3 34378 [BZ #11258]
96b4b1b0
UD
34379 * locale/C-translit.h.in: Add U20A1 transliteration.
34380
bdc2f971
KB
34381 [BZ #12178]
34382 * locale/iso-639.def: Add wae entry.
34383 Patch by Kevin Bortis <bortis@translate-wae.ch>.
34384
2952b117
UD
34385 [BZ #12545]
34386 * locale/programs/localedef.c (construct_output_path): Use ssize_t
34387 for n.
34388
2a81eaa5
UD
34389 [BZ #12711]
34390 * locale/C-translit.h.in: Add entry for U20B9.
34391 Patch by pravin.d.s@gmail.com.
34392
28377d1b
UD
343932011-05-08 Ulrich Drepper <drepper@gmail.com>
34394
7fb90fb8
UD
34395 [BZ #12713]
34396 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34397 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
34398 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34399 in rtld. Use *stat64.
7fb90fb8 34400 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 34401 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 34402 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
34403 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34404 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34405 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34406 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34407 __fstatat64 macros.
7fb90fb8
UD
34408 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34409 * dirent/rewinddir.c: Add libc_hidden_def.
34410 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 34411 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 34412
28377d1b
UD
34413 * include/dirent.h (__alloc_dir): Add flags parameter.
34414 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34415 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34416 __alloc_dir.
34417 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34418 from fdopendir if O_CLOEXEC is already set.
34419
66bdbaa4
AM
344202011-03-15 Alan Modra <amodra@gmail.com>
34421
34422 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34423 l_tls_firstbyte_offset non-zero. Save padding offset in
34424 l_tls_firstbyte_offset for later use.
34425 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34426 freeing static tls block.
34427
95721191
JN
344282011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34429
34430 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34431 where #ifdef was intended. The intent is to prevent ARG_MAX from
34432 being defined by the kernel headers.
34433
f87dfb1f
UD
344342011-05-07 Ulrich Drepper <drepper@gmail.com>
34435
34436 [BZ #12734]
34437 * resolv/resolv.h: Define RES_NOTLDQUERY.
34438 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34439 no-tld-query and set RES_NOTLDQUERY.
34440 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34441 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34442 modern BIND to search name as TLD unless forbidden.
34443
47c3cd7a
UD
344442011-05-07 Petr Baudis <pasky@suse.cz>
34445 Ulrich Drepper <drepper@gmail.com>
34446
34447 [BZ #12393]
34448 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34449 (is_trusted_path): ...to here.
c1e9ea35 34450 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 34451 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 34452 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 34453
8a35c912
PP
344542011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34455
34456 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34457 __BEGIN/__END_DECLS.
34458
acd41f47
UD
344592011-05-06 Ulrich Drepper <drepper@gmail.com>
34460
34461 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34462 NSS_STATUS_NOTFOUND if no record was found.
34463
597df647
AS
344642011-05-05 Andreas Schwab <schwab@redhat.com>
34465
34466 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34467 (headers-not-in-tirpc): Remove rpc/netdb.h
34468 * resolv/netdb.h: Revert last change.
34469
b9af1301
PP
344702011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34471
34472 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34473 circular dependency between libgcc.a and libc.a.
34474
4e34d5f5
AS
344752011-05-05 Andreas Schwab <schwab@redhat.com>
34476
34477 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34478 * nis/Makefile: Don't install rpcsvc/*.
34479 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34480 instead of <rpc/types.h>.
34481 (MAXHOSTNAMELEN): Define.
34482
00ee369c
AS
344832011-05-03 Andreas Schwab <schwab@redhat.com>
34484
34485 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34486
0b592a30
MB
344872011-04-28 Maciej Babinski <mbabinski@google.com>
34488
34489 [BZ #12714]
34490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34491 gethostbyname4_r when IPv6 results are possible.
34492
6e04cbbe
UD
344932011-05-02 Ulrich Drepper <drepper@gmail.com>
34494
34495 [BZ #12723]
34496 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34497 _PC_PIPE_BUF handling.
34498
e4ecafe0
BH
344992011-04-30 Bruno Haible <bruno@clisp.org>
34500
34501 [BZ #12717]
34502 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34503 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34504 to 'int'.
34505 * inet/getnameinfo.c (getnameinfo): Likewise.
34506
125ee683
UD
345072011-04-29 Ulrich Drepper <drepper@gmail.com>
34508
34509 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34510 to groups setting in database lookup.
34511 * nss/nsswitch.conf: Add initgroups entry.
34512
b722481a
EB
345132011-04-22 Ulrich Drepper <drepper@gmail.com>
34514
34515 [BZ #12685]
34516 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34517 mode string.
34518 Patch by Eric Blake <eblake@redhat.com>.
34519
4df46dbd
L
345202011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34521
34522 * sunrpc/Makefile (need-export-routines): Add svc_run.
34523 (routines): Remove svc_run.
34524 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34525 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34526 * sunrpc/svc_run.c (svc_run): Likewise.
34527 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34528
e84142d2
UD
345292011-04-21 Ulrich Drepper <drepper@gmail.com>
34530
34531 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34532 problem in reallocation in last patch.
34533
877175d8
UD
345342011-04-20 Ulrich Drepper <drepper@gmail.com>
34535
34536 * sunrpc/Makefile: Move inclusion of Rules.
34537
ab8eed78
UD
345382011-04-19 Ulrich Drepper <drepper@gmail.com>
34539
34540 * nss/nss_files/files-initgroups.c: New file.
34541 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34542 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34543 _nss_files_initgroups_dyn.
34544
e3d8f584
RS
345452011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34546
34547 * elf/elf.h (R_ARM_IRELATIVE): Define.
34548
af190f45
UD
345492011-04-19 Ulrich Drepper <drepper@gmail.com>
34550
34551 * po/ru.po: Update from translation team.
34552
53cf59ef
UD
345532011-04-17 Ulrich Drepper <drepper@gmail.com>
34554
34555 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34556 dependencies.
34557
4c559bcd
MF
345582011-02-06 Mike Frysinger <vapier@gentoo.org>
34559
34560 [BZ #12653]
34561 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34562 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34563 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34564 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34565 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34566
4420675c
AS
345672011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34568
34569 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34570 differing bytes.
34571 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34572 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34573 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34574
75ea32ab
UD
345752011-04-17 Ulrich Drepper <drepper@gmail.com>
34576
34577 [BZ #12420]
34578 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34579 storing it.
34580 * stdlib/bug-getcontext.c: New file.
34581 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34582
27390476
AK
345832011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34584
34585 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34586 instructions into .machine "z9-109".
34587 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34588 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34589
10442705
AK
345902011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34591
34592 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34593 between environment variables and auxiliary vector.
34594
7b57bfe5
UD
345952011-04-16 Ulrich Drepper <drepper@gmail.com>
34596
34597 * Makefile: Add rules to build linkobj/libc.so.
34598 * include/libc-symbols.h: Define libc_hidden_nolink.
34599 * include/rpc/auth.h: Mark functions which are to be hidden.
34600 * include/rpc/auth_des.h: Likewise.
34601 * include/rpc/auth_unix.h: Likewise.
34602 * include/rpc/clnt.h: Likewise.
34603 * include/rpc/des_crypt.h: Likewise.
34604 * include/rpc/key_prot.h: Likewise.
34605 * include/rpc/pmap_clnt.h: Likewise.
34606 * include/rpc/pmap_prot.h: Likewise.
34607 * include/rpc/pmap_rmt.h: Likewise.
34608 * include/rpc/rpc_msg.h: Likewise.
34609 * include/rpc/svc.h: Likewise.
34610 * include/rpc/svc_auth.h: Likewise.
34611 * include/rpc/xdr.h: Likewise.
34612 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34613 * nss/Makefile: Likewise.
34614 * sunrpc/Makefile: Don't install headers. Build library with normal
34615 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34616 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34617 for the compat linking library. Remove use of INTDEF/INTUSE.
34618 * sunrpc/auth_none.c: Likewise.
34619 * sunrpc/auth_unix.c: Likewise.
34620 * sunrpc/authdes_prot.c: Likewise.
34621 * sunrpc/authuxprot.c: Likewise.
34622 * sunrpc/clnt_gen.c: Likewise.
34623 * sunrpc/clnt_perr.c: Likewise.
34624 * sunrpc/clnt_raw.c: Likewise.
34625 * sunrpc/clnt_simp.c: Likewise.
34626 * sunrpc/clnt_tcp.c: Likewise.
34627 * sunrpc/clnt_udp.c: Likewise.
34628 * sunrpc/clnt_unix.c: Likewise.
34629 * sunrpc/des_crypt.c: Likewise.
34630 * sunrpc/des_soft.c: Likewise.
34631 * sunrpc/get_myaddr.c: Likewise.
34632 * sunrpc/key_call.c: Likewise.
34633 * sunrpc/key_prot.c: Likewise.
34634 * sunrpc/netname.c: Likewise.
34635 * sunrpc/pm_getmaps.c: Likewise.
34636 * sunrpc/pm_getport.c: Likewise.
34637 * sunrpc/pmap_clnt.c: Likewise.
34638 * sunrpc/pmap_prot.c: Likewise.
34639 * sunrpc/pmap_prot2.c: Likewise.
34640 * sunrpc/pmap_rmt.c: Likewise.
34641 * sunrpc/publickey.c: Likewise.
34642 * sunrpc/rpc_cmsg.c: Likewise.
34643 * sunrpc/rpc_common.c: Likewise.
34644 * sunrpc/rpc_dtable.c: Likewise.
34645 * sunrpc/rpc_prot.c: Likewise.
34646 * sunrpc/rpc_thread.c: Likewise.
34647 * sunrpc/rtime.c: Likewise.
34648 * sunrpc/svc.c: Likewise.
34649 * sunrpc/svc_auth.c: Likewise.
34650 * sunrpc/svc_authux.c: Likewise.
34651 * sunrpc/svc_raw.c: Likewise.
34652 * sunrpc/svc_run.c: Likewise.
34653 * sunrpc/svc_simple.c: Likewise.
34654 * sunrpc/svc_tcp.c: Likewise.
34655 * sunrpc/svc_udp.c: Likewise.
34656 * sunrpc/svc_unix.c: Likewise.
34657 * sunrpc/svcauth_des.c: Likewise.
34658 * sunrpc/xcrypt.c: Likewise.
34659 * sunrpc/xdr.c: Likewise.
34660 * sunrpc/xdr_array.c: Likewise.
34661 * sunrpc/xdr_float.c: Likewise.
34662 * sunrpc/xdr_intXX_t.c: Likewise.
34663 * sunrpc/xdr_mem.c: Likewise.
34664 * sunrpc/xdr_rec.c: Likewise.
34665 * sunrpc/xdr_ref.c: Likewise.
34666 * sunrpc/xdr_sizeof.c: Likewise.
34667 * sunrpc/xdr_stdio.c: Likewise.
34668
e6c61494
UD
346692011-04-10 Ulrich Drepper <drepper@gmail.com>
34670
34671 [BZ #12650]
34672 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34673 * sysdeps/ia64/dl-tls.h: Likewise.
34674 * sysdeps/powerpc/dl-tls.h: Likewise.
34675 * sysdeps/s390/dl-tls.h: Likewise.
34676 * sysdeps/sh/dl-tls.h: Likewise.
34677 * sysdeps/sparc/dl-tls.h: Likewise.
34678 * sysdeps/x86_64/dl-tls.h: Likewise.
34679 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34680
34fe483e
AS
346812011-03-14 Andreas Schwab <schwab@redhat.com>
34682
34683 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34684 rpath element also skip the following colon.
34685 (expand_dynamic_string_token): Add is_path parameter and pass
34686 down to DL_DST_REQUIRED and _dl_dst_substitute.
34687 (decompose_rpath): Call expand_dynamic_string_token with
34688 non-zero is_path. Ignore empty rpaths.
34689 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34690 with zero is_path.
34691
f12a32e6
AS
346922011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34693
34694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34695 Make cancelable.
34696
38a7d692
UD
346972011-04-09 Ulrich Drepper <drepper@gmail.com>
34698
34699 [BZ #12655]
34700 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34701 Patch by Filipe David Manana <fdmanana@apache.org>.
34702
e451d22b
AS
347032011-04-07 Andreas Schwab <schwab@redhat.com>
34704
34705 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34706 Maintain aligned stack.
34707 (CHECK_RSP): Remove unused macro.
34708
dedc7c7b
UD
347092011-04-03 Ulrich Drepper <drepper@gmail.com>
34710
34711 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34712 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34713
94521213
UD
347142011-04-02 Ulrich Drepper <drepper@gmail.com>
34715
34716 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34717
8cb700c0 34718 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 34719
0354e355
L
347202011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34721
34722 [BZ #12518]
34723 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34724 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34725 * sysdeps/x86_64/memmove.c: New file.
34726 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34727 (memcpy): Renamed to ...
34728 (__new_memcpy): This.
34729 (memcpy): Provide GLIBC_2_14 memcpy.
34730 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34731 (memcpy): Provide GLIBC_2_2_5 memcpy.
34732
8593482f
UD
347332011-04-01 Ulrich Drepper <drepper@gmail.com>
34734
34735 [BZ #12631]
34736 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34737
81a5726b
AS
347382011-03-30 Andreas Schwab <schwab@redhat.com>
34739
34740 * misc/syncfs.c: New file.
34741 * misc/Makefile (routines): Add syncfs.
34742 * posix/unistd.h: Declare syncfs.
34743 * sysdeps/unix/syscalls.list: Add syncfs.
34744
00e5419f
AS
347452011-04-01 Andreas Schwab <schwab@redhat.com>
34746
34747 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34748 open_by_handle_at.
34749 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34750 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34751 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34752 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34753 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34754 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34755 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34756
748876bf
UD
347572011-04-01 Ulrich Drepper <drepper@gmail.com>
34758
658e451d
UD
34759 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34760 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34761 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34762 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34763 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34764 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34765 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34766
748876bf
UD
34767 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34768 sync_file_range.c with -fexceptions.
34769 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34770 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34771 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34772 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34773 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34774 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34775 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
34776 sync_file_range as cancellation point
34777 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
34778 now a wrapper around __call_sync_file_range with cancellation handling.
34779 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34780 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
34781 function name to __call_sync_file_range.
34782 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34783 Add call_sync_file_range.
748876bf 34784
6e63d5e1
AS
347852011-04-01 Andreas Schwab <schwab@redhat.com>
34786
34787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 34788 bits/timex.h.
6e63d5e1 34789
46998f74
UD
347902011-04-01 Ulrich Drepper <drepper@gmail.com>
34791
4c1423ed
UD
34792 * iconv/iconv.h: Fix typo in comment.
34793 * io/fcntl.h: Likewise.
34794 * libio/stdio.h: Likewise.
34795 * posix/spawn.h: Likewise.
34796 * posix/unistd.h: Likewise.
34797 * stdlib/stdlib.h: Likewise.
34798 * time/time.h: Likewise.
34799 * wcsmbs/wchar.h: Likewise.
34800
158648c0
UD
34801 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34802 open_by_handle): Add.
34803 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34804 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
34805 Augment a few comments.
34806 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34807 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34808 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34809 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34810 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34811 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34812 open_by_handle.
34813
46998f74
UD
34814 * io/fcntl.h (AT_EMPTY_PATH): Define.
34815
83fe108b
UD
348162011-03-30 Ulrich Drepper <drepper@gmail.com>
34817
34818 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34819 * sysdeps/unix/sysv/linux/bits/time.h: New file.
34820 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34821 to...
34822 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
34823 * Versions.def: Add GLIBC_2.14.
34824 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34825 Export.
83fe108b 34826
bb242059
UD
348272011-03-22 Ulrich Drepper <drepper@gmail.com>
34828
34829 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34830 round counter.
34831 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34832
c97a1282
L
348332011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34834
34835 [BZ #12597]
34836 * string/test-strncmp.c (do_page_test): New function.
34837 (check2): Likewise.
34838 (test_main): Call check2.
34839 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34840
2a115601
UD
348412011-03-20 Ulrich Drepper <drepper@gmail.com>
34842
34843 [BZ #12587]
34844 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34845 Handle cache information in CPU leaf 4.
34846 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34847
8126d904
UD
348482011-03-18 Ulrich Drepper <drepper@gmail.com>
34849
042c49c6 34850 [BZ #12583]
8126d904
UD
34851 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34852 character representation.
34853 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34854
ccfe366e
RA
348552011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34856
34857 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34858 END(__isnan) to END(__isnanf) to match function entry point/label
34859 EALIGN(__isnanf,...).
34860
c6e13027
JJ
348612011-03-10 Jakub Jelinek <jakub@redhat.com>
34862
34863 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34864
33f85a3f
UD
348652011-03-10 Ulrich Drepper <drepper@gmail.com>
34866
028478fa
UD
34867 [BZ #12510]
34868 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34869 copy from the symbol referenced in the relocation to initialize the
34870 used variable.
34871 Patch by Piotr Bury <pbury@goahead.com>.
34872 * elf/Makefile: Add rules to build and tst-unique3.
34873 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34874 * elf/tst-unique3.cc: New file.
34875 * elf/tst-unique3.h: New file.
34876 * elf/tst-unique3lib.cc: New file.
34877 * elf/tst-unique3lib2.cc: New file.
34878
33f85a3f
UD
34879 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34880
03592fc7
MF
348812011-03-10 Mike Frysinger <vapier@gentoo.org>
34882
34883 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34884 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34885 to _start.
03592fc7 34886
6a5ee102
UD
348872011-03-06 Ulrich Drepper <drepper@gmail.com>
34888
34889 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34890 to-be-loaded object along a path to loader is ld.so.
34891
7e4ba49c
HJ
348922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34893 Ulrich Drepper <drepper@gmail.com>
34894
34895 * sysdeps/x86_64/memset.S: After aligning destination, code
34896 branches to different locations depending on the value of
34897 misalignment, when multiarch is enabled. Fix this.
34898
348992011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34900
34901 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34902 Set _x86_64_preferred_memory_instruction for AMD processsors.
34903 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34904 Set bit_Prefer_SSE_for_memop for AMD processors.
34905
13a804de
UD
349062011-03-04 Ulrich Drepper <drepper@gmail.com>
34907
34908 * libio/fmemopen.c (fmemopen): Optimize a bit.
34909
9d25c392
AS
349102011-03-03 Andreas Schwab <schwab@redhat.com>
34911
34912 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34913
a5543c6a
RM
349142011-03-03 Roland McGrath <roland@redhat.com>
34915
34916 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34917
012d35f7
DM
349182011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34919
7e4ba49c 34920 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
34921 __bzero_ultra1 instead of __memset_ultra1.
34922
4bff6e01
AS
349232011-02-23 Andreas Schwab <schwab@redhat.com>
34924 Ulrich Drepper <drepper@gmail.com>
34925
34926 [BZ #12509]
34927 * include/link.h (struct link_map): Add l_orig_initfini.
34928 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34929 returning unsuccessfully.
34930 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34931 close of a file loaded at startup, restore the original l_initfini
34932 list.
34933 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34934 list, store the pointer.
34935 * elf/Makefile ($(objpfx)noload-mem): New rule.
34936 (noload-ENV): Define.
34937 (tests): Add $(objpfx)noload-mem.
34938 * elf/noload.c: Include <memcheck.h>.
34939 (main): Call mtrace. Close all opened handles.
34940
f2092faf
AS
349412011-02-17 Andreas Schwab <schwab@redhat.com>
34942
34943 [BZ #12454]
34944 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34945 dependencies are missing.
34946
6c8a2e88
ST
349472011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34948
f2092faf 34949 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
34950 Hurd needs munmap.
34951 * sysdeps/mach/hurd/ifreq.h: New file.
34952
84a42118
PB
349532011-01-27 Petr Baudis <pasky@suse.cz>
34954 Ulrich Drepper <drepper@gmail.com>
34955
071f805e 34956 [BZ 12445]#
84a42118
PB
34957 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34958 to extend_alloca().
34959 * stdio-common/bug23.c: New file.
34960 * stdio-common/Makefile (tests): Add bug23.
34961
e23fe25b
AS
349622010-09-28 Andreas Schwab <schwab@redhat.com>
34963 Ulrich Drepper <drepper@gmail.com>
34964
34965 [BZ #12489]
34966 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34967 before performing relro protection. At old place add assertion
34968 to make sure nothing changed.
34969
d3f02e10
NS
349702011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34971 Glauber de Oliveira Costa <glommer@gmail.com>
34972
34973 * elf/elf.h: Add new ARM TLS relocs.
34974
d55fd7a5
RA
349752011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34976
34977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34978 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34979 cast from r3.
34980 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34981 'tests' variable.
34982 * sysdeps/wordsize-64/tst-writev.c: New file.
34983
2206397e
RA
349842011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34985
34986 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34987 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34988 insns in _dl_start to prevent a TOC reference before relocs are
34989 resolved.
34990
e9433893
UD
349912011-02-15 Ulrich Drepper <drepper@gmail.com>
34992
34993 [BZ #12469]
34994 * Makeconfig: Remove RANLIB definition.
34995 * Makerules: Don't use RANLIB.
34996 * aclocal.m4: Remove ranlib test.
34997 * configure.in: No need to check for ranlib.
34998 * elf/rtld-Rules: Don't use RANLIB.
34999
f75286c6
ST
350002011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35001
8e31c82d
ST
35002 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35003 protection macro.
35004 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35005 inclusion protection macro.
35006
f75286c6
ST
35007 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35008 SIGRTMIN and SIGRTMAX and print information in that case only when
35009 SIGRTMIN is defined.
35010
c1d0e639
JJ
350112011-02-11 Jakub Jelinek <jakub@redhat.com>
35012
35013 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35014 arginfo fn returning -1.
35015
35016 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35017 and thousands string is zero terminated.
35018
edf9294e
AS
350192011-02-03 Andreas Schwab <schwab@redhat.com>
35020
35021 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35022 sysdeps/unix/sysv/linux/bits/socket.h.
35023
2b7e92df
ST
350242011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35025
edf9294e
AS
35026 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35027 (__CPU_COUNT): Remove old macros.
35028 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35029 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35030 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
35031 (__sched_cpualloc, __sched_cpufree): Add declarations.
35032
a4c7ea7b
UD
350332011-02-05 Ulrich Drepper <drepper@gmail.com>
35034
35035 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35036 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35037 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35038 (readdhstai): Return value of addhstaiX call.
35039 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35040 (addgrbyX): Return value returned by cache_addgr.
35041 (readdgrbyname): Return value returned by addgrbyX.
35042 (readdgrbygid): Likewise.
35043 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35044 (addpwbyX): Return value returned by cache_addpw.
35045 (readdpwbyname): Return value returned by addhstbyX.
35046 (readdpwbyuid): Likewise.
35047 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35048 (addservbyX): Return value returned by cache_addserv.
35049 (readdservbyname): Return value returned by addservbyX:
35050 (readdservbyport): Likewise.
35051 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35052 (addhstbyX): Return value returned by cache_addhst.
35053 (readdhstbyname): Return value returned by addhstbyX.
35054 (readdhstbyaddr): Likewise.
35055 (readdhstbynamev6): Likewise.
35056 (readdhstbyaddrv6): Likewise.
35057 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35058 (readdinitgroups): Return value returned by addinitgroupsX.
35059 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35060 (prune_cache): Keep track of timeout value of re-added entries.
35061 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35062 * nscd/nscd.h: Adjust prototypes of readd* functions.
35063
a0bf67cc
RM
350642011-02-04 Roland McGrath <roland@redhat.com>
35065
35066 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35067 (nis_stats): Likewise.
35068 * nis/nis_modify.c (nis_modify): Likewise.
35069 * nis/nis_remove.c (nis_remove): Likewise.
35070 * nis/nis_add.c (nis_add): Likewise.
35071
35072 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35073
35074 * posix/fnmatch_loop.c: Add some consts.
35075
35076 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35077
435b95eb
L
350782011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35079
35080 [BZ #12460]
35081 * config.make.in (config-cflags-novzeroupper): Define.
35082 * configure.in: Substitute libc_cv_cc_novzeroupper.
35083 * elf/Makefile (AVX-CFLAGS): Define.
35084 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35085 (CFLAGS-tst-auditmod4a.c): Likewise.
35086 (CFLAGS-tst-auditmod4b.c): Likewise.
35087 (CFLAGS-tst-auditmod6b.c): Likewise.
35088 (CFLAGS-tst-auditmod6c.c): Likewise.
35089 (CFLAGS-tst-auditmod7b.c): Likewise.
35090 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35091
8517b15e
UD
350922011-02-02 Ulrich Drepper <drepper@gmail.com>
35093
35094 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35095 function to the callback.
35096 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35097
10a656fe
AS
350982011-02-02 Andreas Schwab <schwab@redhat.com>
35099
35100 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35101 of errno.
35102
968dad0a
UD
351032011-01-19 Ulrich Drepper <drepper@gmail.com>
35104
9f94d2ea 35105 [BZ #11724]
968dad0a
UD
35106 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35107 of constructors.
35108 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35109 of destructors.
35110 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35111
35112 [BZ #11724]
35113 * elf/Makefile: Add rules to build and run new test.
35114 * elf/tst-initorder.c: New file.
35115 * elf/tst-initorder.exp: New file.
35116 * elf/tst-initordera1.c: New file.
35117 * elf/tst-initordera2.c: New file.
35118 * elf/tst-initordera3.c: New file.
35119 * elf/tst-initordera4.c: New file.
35120 * elf/tst-initorderb1.c: New file.
35121 * elf/tst-initorderb2.c: New file.
35122 * elf/tst-order-a1.c: New file.
35123 * elf/tst-order-a2.c: New file.
35124 * elf/tst-order-a3.c: New file.
35125 * elf/tst-order-a4.c: New file.
35126 * elf/tst-order-b1.c: New file.
35127 * elf/tst-order-b2.c: New file.
35128 * elf/tst-order-main.c: New file.
35129 New test case by George Gensure <werkt0@gmail.com>.
35130
86e92359
UD
351312010-10-01 Andreas Schwab <schwab@redhat.com>
35132
35133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35134 decoding ACE if AI_CANONIDN.
35135
5d5732b0
UD
351362011-01-18 Ulrich Drepper <drepper@gmail.com>
35137
35138 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35139
a77e8cbc
UD
351402011-01-17 Ulrich Drepper <drepper@gmail.com>
35141
6392473f
UD
35142 * version.h (RELEASE): Bump for 2.13 release.
35143 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35144
620a0529
UD
35145 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35146
18ba70a5
UD
35147 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35148 MADV_NOHUGEPAGE.
32465c3e
UD
35149 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35150 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35151 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35152 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35153 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35154 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35155
c0dafcf1
UD
35156 * posix/getconf.c: Update copyright year.
35157 * catgets/gencat.c: Likewise.
35158 * csu/version.c: Likewise.
35159 * debug/catchsegv.sh: Likewise.
35160 * debug/xtrace.sh: Likewise.
35161 * elf/ldconfig.c: Likewise.
35162 * elf/ldd.bash.in: Likewise.
35163 * elf/sprof.c (print_version): Likewise.
35164 * iconv/iconv_prog.c: Likewise.
35165 * iconv/iconvconfig.c: Likewise.
35166 * locale/programs/locale.c: Likewise.
35167 * locale/programs/localedef.c: Likewise.
35168 * malloc/memusage.sh: Likewise.
35169 * malloc/mtrace.pl: Likewise.
35170 * nscd/nscd.c (print_version): Likewise.
35171 * nss/getent.c: Likewise.
35172
a77e8cbc
UD
35173 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35174 PF_CAIF, and PF_ALG.
35175 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35176
77e8bddf
AS
351772011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35178
1f20b93a
AS
35179 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35180 (modules-names): Use them.
35181 (ifunc-test-modules, ifunc-pie-tests): Define.
35182 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35183 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35184 (test-extras): Likewise.
35185 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35186 $(compile-command.c).
35187 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35188 (all-built-dso): Define.
35189 (check-textrel.out, check-execstack.out): Depend on it.
35190
77e8bddf
AS
35191 * configure.in: Don't override --enable-multi-arch.
35192
bc425b33
UD
351932011-01-15 Ulrich Drepper <drepper@gmail.com>
35194
35195 [BZ #6812]
35196 * nscd/hstcache.c (tryagain): Define.
35197 (cache_addhst): Return tryagain not notfound for temporary errors.
35198 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35199 failed.
35200
794c3ad3
UD
352012011-01-14 Ulrich Drepper <drepper@gmail.com>
35202
70181fdd
UD
35203 [BZ #10563]
35204 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35205 to make the syscall.
35206 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35207
794c3ad3
UD
35208 [BZ #12378]
35209 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35210 and fall back to matching as normal character if the string ends before
35211 the matching ']' is found. This is what POSIX requires.
35212 * posix/testfnm.c: Adjust test result.
35213 * posix/globtest.sh: Adjust test result. Add new test.
35214 * posix/tst-fnmatch.input: Likewise.
35215 * posix/tst-fnmatch2.c: Add new test.
35216
68dc9497
AS
352172010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35218
35219 * elf/Makefile (check-execstack): Revert last change. Depend on
35220 check-execstack.h.
35221 (check-execstack.h): New target.
35222 (generated): Add check-execstack.h.
35223 * elf/check-execstack.c: Include "check-execstack.h".
35224 (main): Revert last change.
35225 (handle_file): Return zero if GNU_STACK is absent and
35226 DEFAULT_STACK_PERMS doesn't include PF_X.
35227
451f001b
UD
352282011-01-13 Ulrich Drepper <drepper@gmail.com>
35229
cfa28e56
UD
35230 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35231 in child fails because the descriptor is already closed.
8cf8ce17
UD
35232 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35233 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35234 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 35235
1086d70d
UD
35236 [BZ #12397]
35237 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35238 syscall.
35239
451f001b
UD
35240 [BZ #10484]
35241 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35242 temporary buffer used to handle multi lookups locally.
a85b5cb4 35243 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 35244
08769175
UD
352452011-01-12 Ulrich Drepper <drepper@gmail.com>
35246
35247 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35248 loader is ld.so.
35249
5e49c52e
UD
352502011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35251
35252 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35253 alignment for SSE2.
35254
60522a5f
UD
352552011-01-12 Ulrich Drepper <drepper@gmail.com>
35256
35257 [BZ #12394]
35258 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35259 characters. When rounding increased number of integer digits recompute
35260 number of groups.
35261 * stdio-common/tst-grouping.c: New file.
35262 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35263
f257bbd7
UD
352642011-01-09 Ulrich Drepper <drepper@gmail.com>
35265
35266 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35267 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35268
35269 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35270 void.
35271 * bits/select.h: Likewise.
35272
fa9c15cb
UD
352732011-01-08 Ulrich Drepper <drepper@gmail.com>
35274
35275 * po/ja.po: Update from translation team.
35276
16c2895f
DM
352772011-01-04 David S. Miller <davem@sunset.davemloft.net>
35278
35279 [BZ #11155]
35280 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35281 implementation just like for lxstat, fxstatat, et al.
35282
2543fef2
JM
352832010-12-27 Jim Meyering <meyering@redhat.com>
35284
35285 [BZ #12348]
35286 * posix/regexec.c (build_trtable): Return failure indication upon
35287 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35288
98727dbe
UD
352892010-12-25 Ulrich Drepper <drepper@gmail.com>
35290
5bd6dc5c
UD
35291 [BZ #12201]
35292 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35293 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35294 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35295 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35296
97983464
UD
35297 [BZ #12207]
35298 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35299
98727dbe
UD
35300 [BZ #12204]
35301 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35302 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35303
4a531bb0
L
353042010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35305
35306 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35307 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35308 script has SORT_BY_INIT_PRIORITY.
35309 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35310 NO_CTORS_DTORS_SECTIONS is defined.
35311 * elf/soinit.c: Likewise.
35312 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35313 NO_CTORS_DTORS_SECTIONS is defined.
35314 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35315 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35316 * sysdeps/sh/init-first.c: Likewise.
35317 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35318
07eb4b71
UD
353192010-12-24 Ulrich Drepper <drepper@gmail.com>
35320
35321 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35322 always use the slow path.
35323
30950a5f
RA
353242010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35325
35326 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35327 similar rule which adds the sysdep directories to the header search in
35328 order to pick up the correct platform stackinfo.h.
35329 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35330 perform test if it is, otherwise return successfully without testing.
35331 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35332 DEFAULT_STACK_PERMS define in stackinfo.h.
35333 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35334 defined in stackinfo.h.
35335 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35336 DEFAULT_STACK_PERMS defined in stackinfo.h.
35337 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35338 * sysdeps/ia64/stackinfo.h: Likewise.
35339 * sysdeps/s390/stackinfo.h: Likewise.
35340 * sysdeps/sh/stackinfo.h: Likewise.
35341 * sysdeps/sparc/stackinfo.h: Likewise.
35342 * sysdeps/x86_64/stackinfo.h: Likewise.
35343 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35344 PF_X for powerpc64. Retain PF_X for powerpc32.
35345
db753e2c
UD
353462010-12-19 Ulrich Drepper <drepper@gmail.com>
35347
14b697f7
UD
35348 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35349 accurately.
db753e2c
UD
35350 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35351 GETDENTS_64BIT_ALIGNED.
35352
28300719
UD
353532010-12-14 Ulrich Drepper <dreper@gmail.com>
35354
14b697f7 35355 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 35356
4f197237
AS
353572010-12-10 Andreas Schwab <schwab@redhat.com>
35358
dbb0472f
AS
35359 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35360 _GNU_SOURCE.
35361
4f197237
AS
35362 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35363 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35364 Remove __restrict.
35365 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35366 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35367
fb88ac72
UD
353682010-12-09 Ulrich Drepper <drepper@gmail.com>
35369
35370 [BZ #11655]
35371 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35372 are initialized.
35373
42acbb92
JJ
353742010-12-09 Jakub Jelinek <jakub@redhat.com>
35375
35376 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35377
c038d98d
UD
353782010-12-03 Ulrich Drepper <drepper@gmail.com>
35379
35380 * po/it.po: Update from translation team.
35381
3a4a2499
L
353822010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35383
35384 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35385 unused codes.
35386
1e24cf6e
UD
353872010-11-30 Ulrich Drepper <drepper@gmail.com>
35388
35389 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35390
a7690819
AS
353912010-11-24 Andreas Schwab <schwab@redhat.com>
35392
35393 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35394 specially.
35395 (gaih_getanswer_slice): Likewise.
35396
3bf8d1b1
JJ
353972010-10-20 Jakub Jelinek <jakub@redhat.com>
35398
35399 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35400
6db52fbb
PB
354012010-05-31 Petr Baudis <pasky@suse.cz>
35402
35403 [BZ #11149]
35404 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35405 silently even in the chroot mode.
35406
eaca7569
UD
354072010-11-22 Ulrich Drepper <drepper@gmail.com>
35408
35409 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35410 last patch a bit. Pretty printing
35411
3056dcdb
UD
354122010-05-31 Petr Baudis <pasky@suse.cz>
35413
35414 [BZ #10085]
35415 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35416 initialization of skip_initgroups_dyn.
35417
cf7c9078
UD
354182010-11-19 Ulrich Drepper <drepper@gmail.com>
35419
35420 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35421 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35422
a1fb5e3e
UD
354232010-11-16 Ulrich Drepper <drepper@gmail.com>
35424
35425 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35426
3540d66b
AS
354272010-11-11 Andreas Schwab <schwab@redhat.com>
35428
35429 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35430 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35431 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35432 ($(objpfx)tst-fnmatch-mem): New rule.
35433 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35434 * posix/tst-fnmatch.c (main): Call mtrace.
35435
13b69574
L
354362010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35437
35438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35439 Support Intel processor model 6 and model 0x2c.
35440
da93d214
LM
354412010-11-10 Luis Machado <luisgpm@br.ibm.com>
35442
35443 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35444 signed comparison.
35445
8ca52c6e
L
354462010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35447
35448 [BZ #12205]
35449 * string/test-strncasecmp.c (check_result): New function.
35450 (do_one_test): Use it.
35451 (check1): New function.
35452 (test_main): Use it.
35453 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35454 Support strcasecmp and strncasecmp.
35455
69da074d
UD
354562010-11-08 Ulrich Drepper <drepper@gmail.com>
35457
35458 [BZ #12194]
35459 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35460 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35461
ff02d528
L
354622010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35463
35464 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35465 IFUNC support.
35466 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35467 memset-x86-64.
35468 * sysdeps/x86_64/multiarch/bzero.S: New file.
35469 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35470 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35471 * sysdeps/x86_64/multiarch/memset.S: New file.
35472 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35473 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35474 Set bit_Prefer_SSE_for_memop for Intel processors.
35475 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35476 Define.
35477 (index_Prefer_SSE_for_memop): Define.
35478 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35479
344d0b54
LM
354802010-11-04 Luis Machado <luisgpm@br.ibm.com>
35481
35482 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35483 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35484
c0dde15b
UD
354852010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35486
35487 [BZ #12191]
35488 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35489 (__x86_64_raw_data_cache_size_half): Likewise.
35490 (__x86_64_raw_shared_cache_size): Likewise.
35491 (__x86_64_raw_shared_cache_size_half): Likewise.
35492
35493 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35494 (__x86_64_raw_data_cache_size_half): Likewise.
35495 (__x86_64_raw_shared_cache_size): Likewise.
35496 (__x86_64_raw_shared_cache_size_half): Likewise.
35497 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35498 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35499 and __x86_64_raw_shared_cache_size_half. Round
35500 __x86_64_data_cache_size_half, __x86_64_data_cache_size
35501 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35502 to multiple of 256 bytes.
35503
0e516e0e
MS
355042010-11-03 Ulrich Drepper <drepper@gmail.com>
35505
35506 [BZ #12167]
35507 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35508 of inacessible symlinks. Verify result of symlink before returning it.
35509 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35510 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35511
0e012e87
ER
355122010-10-28 Erich Ritz <erichritz@gmail.com>
35513
35514 * math/math.h (isinf): Fix typo in comment.
35515
de0ff7bc
UD
355162010-11-01 Ulrich Drepper <drepper@gmail.com>
35517
35518 * po/da.po: Update from translation team.
35519
fa41c84d
UD
355202010-10-26 Ulrich Drepper <drepper@gmail.com>
35521
35522 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35523 is added to the list.
35524
f0967738
AK
355252010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35526 Ulrich Drepper <drepper@gmail.com>
35527
35528 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35529 the global list here. Move code to...
35530 (_dl_add_to_namespace_list): ...here. New function.
35531 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35532 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35533 * elf/dl-load.c (lose): Don't remove the element from the list.
35534 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35535 (_dl_map_object): Likewise.
35536
355372010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
35538
35539 [BZ #12159]
35540 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35541 into all bytes of SSE register.
35542 Patch by Richard Li <richardpku@gmail.com>.
35543
f0967738 355442010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
35545
35546 [BZ #12140]
35547 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35548 perturbing.
35549
d0b9e94f
MB
355502010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35551
35552 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35553 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35554 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35555 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35557 submachine.
35558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35559
8e9f92e9
AS
355602010-10-22 Andreas Schwab <schwab@redhat.com>
35561
35562 * include/dlfcn.h (__RTLD_SECURE): Define.
35563 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35564 mode & __RTLD_SECURE instead.
35565 (open_path): Rename preloaded parameter to secure.
35566 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35567 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35568 * elf/dl-deps.c (openaux): Likewise.
35569 * elf/rtld.c (struct map_args): Remove is_preloaded.
35570 (map_doit): Don't use it.
35571 (dl_main): Likewise.
35572 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35573 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35574
bc96fbda
AS
355752010-09-09 Andreas Schwab <schwab@redhat.com>
35576
35577 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35578 (sysd-rules-targets): Remove duplicates.
35579 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35580 rtld-%.$o dependency.
35581
22cd1c9b
AS
355822010-10-18 Andreas Schwab <schwab@redhat.com>
35583
35584 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35585 _dl_map_object do it.
35586
18edac48
UD
355872010-10-19 Ulrich Drepper <drepper@gmail.com>
35588
35589 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35590 fast fma builtins, define the macros in the C99 standard.
35591 (FP_FAST_FMAF): Likewise.
35592 (FP_FAST_FMAL): Likewise.
35593 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35594
35595 * bits/mathdef.h: Update copyright year.
35596 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35597
d2050124
MM
355982010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35599
35600 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35601 builtins, define the macros in the C99 standard.
35602 (FP_FAST_FMAF): Likewise.
35603 (FP_FAST_FMAL): Likewise.
35604 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35605 multiply/add.
35606 (FP_FAST_FMAF): Likewise.
35607
475facd1
JJ
356082010-10-15 Jakub Jelinek <jakub@redhat.com>
35609
35610 [BZ #3268]
35611 * math/libm-test.inc (fma_test): Some new testcases.
35612 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35613 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35614 y and infinite z. Do multiplication by C already in long double.
35615 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35616 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35617 y and infinite z. Do bitwise or of inexact bit into u.d.
35618 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35619 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35620 * sysdeps/i386/fpu/s_fma.S: Removed.
35621 * sysdeps/i386/fpu/s_fmal.S: Removed.
35622
7c08a05c
JJ
356232010-10-16 Jakub Jelinek <jakub@redhat.com>
35624
35625 [BZ #3268]
35626 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35627 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35628 computation is not scheduled after fetestexcept. Fix value
35629 of minimum denormal long double.
35630
f3f7372d
JJ
356312010-10-14 Jakub Jelinek <jakub@redhat.com>
35632
35633 [BZ #3268]
35634 * math/libm-test.inc (fma_test): Add some more tests.
35635 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35636 correctly.
35637
14d43591
AS
356382010-10-15 Andreas Schwab <schwab@redhat.com>
35639
35640 * scripts/data/localplt-s390-linux-gnu.data: New file.
35641 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35642
5e908464
JJ
356432010-10-13 Jakub Jelinek <jakub@redhat.com>
35644
35645 [BZ #3268]
35646 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35647 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35648 instead of dbl-64.
35649 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35650 inlines.
35651 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35652 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35653 if one of x and y is very large and the other is subnormal.
35654 * sysdeps/s390/fpu/s_fmaf.c: New file.
35655 * sysdeps/s390/fpu/s_fma.c: New file.
35656 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35657 * sysdeps/powerpc/fpu/s_fma.S: New file.
35658 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35659 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35660 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35661
356622010-10-12 Jakub Jelinek <jakub@redhat.com>
35663
35664 [BZ #3268]
35665 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35666 fma tests.
35667 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35668 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35669 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35670 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35671 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35672 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35673 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35674
b833d51f
UD
356752010-10-12 Ulrich Drepper <drepper@redhat.com>
35676
35677 [BZ #12078]
35678 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35679 * posix/bug-regex31.input: Add test case.
35680
1751705d
UD
356812010-10-11 Ulrich Drepper <drepper@gmail.com>
35682
e9b9cbf5
UD
35683 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35684 * posix/bug-regex31.input: New file.
35685
35686 [BZ #12078]
35687 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35688 (parse_sub_exp): Fix last change, use postorder.
35689
ef06edbe
UD
35690 * posix/bug-regex31.c: New file.
35691 * posix/Makefile: Add rules to build and run bug-regex31.
35692
a129c80d
UD
35693 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35694
35695 [BZ #12078]
35696 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35697
b76b818e
UD
35698 [BZ #12108]
35699 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35700 to have entries in sys_siglist.
35701
1751705d
UD
35702 [BZ #12093]
35703 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35704 be NULL.
35705
9ff8d36f
JJ
357062010-10-07 Jakub Jelinek <jakub@redhat.com>
35707
35708 [BZ #3268]
35709 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35710 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35711 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35712 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35713 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35714 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35715 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35716 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35717 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35718 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35719 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35720 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35721 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35722 * math/ftestexcept.c (fetestexcept): Likewise.
35723 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35724 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35725 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35726 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35727 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35728 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35729 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35730
af325969
UD
357312010-10-11 Ulrich Drepper <drepper@gmail.com>
35732
c579b202 35733 [BZ #12107]
af325969
UD
35734 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35735 newline.
35736
67a67b95
UD
357372010-10-06 Ulrich Drepper <drepper@gmail.com>
35738
35739 * string/bug-strstr1.c: New file.
35740 * string/Makefile: Add rules to build and run bug-strstr1.
35741
5fb308bc
EB
357422010-10-05 Eric Blake <eblake@redhat.com>
35743
35744 [BZ #12092]
35745 * string/str-two-way.h (two_way_long_needle): Always clear memory
35746 when skipping input due to the shift table.
35747
45db99c7
UD
357482010-10-03 Ulrich Drepper <drepper@gmail.com>
35749
3b111893
UD
35750 [BZ #12005]
35751 * malloc/mcheck.c: Handle large requests.
35752
45db99c7
UD
35753 [BZ #12077]
35754 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35755 for strncmp and strncasecmp.
35756 * string/stratcliff.c: Add tests for strcmp and strncmp.
35757 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35758
cf7a1eb8
NI
357592010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35760
35761 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35762 __set_fpscr.
35763
6484ba5e
AJ
357642010-09-30 Andreas Jaeger <aj@suse.de>
35765
35766 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35767 (CGROUP_SUPER_MAGIC): Define.
35768 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35769 Handle btrfs and cgroup file systems.
35770 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35771 Likewise.
35772
91c42559
LM
357732010-09-27 Luis Machado <luisgpm@br.ibm.com>
35774
35775 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35776 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35777
87a97932
AK
357782010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35779
35780 [BZ #12067]
35781 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35782 trying to locate the ELF header.
35783
c21cc9bc
AS
357842010-09-27 Andreas Schwab <schwab@redhat.com>
35785
35786 [BZ #11611]
35787 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35788 Mask out sign-bit copies when constructing f_fsid.
35789
315970f6
PB
357902010-09-24 Petr Baudis <pasky@suse.cz>
35791
35792 * debug/stack_chk_fail_local.c: Add missing licence exception.
35793 * debug/warning-nop.c: Likewise.
35794
1ac7a2c7
JM
357952010-09-15 Joseph Myers <joseph@codesourcery.com>
35796
35797 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35798 implementing getdents64 using getdents syscall, set d_type if
35799 __ASSUME_GETDENTS32_D_TYPE.
35800
56801c50
AS
358012010-09-16 Andreas Schwab <schwab@redhat.com>
35802
35803 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35804 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35805
dda51327
UD
358062010-09-21 Ulrich Drepper <drepper@redhat.com>
35807
35808 [BZ #12037]
35809 * posix/unistd.h: Undo change of feature selection for ftruncate from
35810 2010-01-11.
35811
8ffcee4a
UD
358122010-09-20 Ulrich Drepper <drepper@redhat.com>
35813
a545ecd9 35814 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
35815 detection.
35816
e24f0a8b
AS
358172010-09-20 Andreas Schwab <schwab@redhat.com>
35818
35819 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35820 fanotify_mark.
35821 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35822
7291c56f
AS
358232010-09-14 Andreas Schwab <schwab@redhat.com>
35824
35825 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35826 variables after CHECK_SP call.
35827 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35828
bc5fb037
AS
358292010-09-13 Andreas Schwab <schwab@redhat.com>
35830 Ulrich Drepper <drepper@redhat.com>
35831
35832 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35833 re-relocationg ld.so.
35834 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35835 _dl_init_paths call.
35836 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
35837 here anymore.
35838
e66e7419
UD
358392010-09-14 Ulrich Drepper <drepper@redhat.com>
35840
35841 * resolv/res_init.c (__res_vinit): Count the default server we added.
35842
c044aa75
CLT
358432010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35844 Ulrich Drepper <drepper@redhat.com>
35845
35846 [BZ #11968]
35847 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35848 (____longjmp_chk): Use %ebx for saving value across system call.
35849 Add unwind info.
35850
32cf4069
AS
358512010-09-06 Andreas Schwab <schwab@redhat.com>
35852
35853 * manual/Makefile: Don't mix pattern rules with normal rules.
35854
817328ee
AS
358552010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35856
35857 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35858 operation.
35859 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35860 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35861 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35862 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35863 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35864 Likewise.
35865
29fddf61
UD
358662010-09-04 Ulrich Drepper <drepper@redhat.com>
35867
35868 [BZ #11979]
35869 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35870 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35871
0959ffc9
UD
358722010-09-02 Ulrich Drepper <drepper@redhat.com>
35873
35874 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35875 * sysdeps/x86_64/addmul_1.S: Likewise.
35876 * sysdeps/x86_64/lshift.S: Likewise.
35877 * sysdeps/x86_64/mul_1.S: Likewise.
35878 * sysdeps/x86_64/rshift.S: Likewise.
35879 * sysdeps/x86_64/sub_n.S: Likewise.
35880 * sysdeps/x86_64/submul_1.S: Likewise.
35881
ece29840
ST
358822010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35883
0959ffc9
UD
35884 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35885 Define __sched_param instead of SCHED_* and sched_param when
ece29840 35886 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 35887 * bits/sched.h [__need_schedparam]
ece29840 35888 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
35889 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35890 (__defined_schedparam): Define to 1.
ece29840
ST
35891 (__sched_param): New structure, identical to sched_param.
35892 (__need_schedparam): Undefine.
35893
e53a31fe
MF
358942010-08-31 Mike Frysinger <vapier@gentoo.org>
35895
fdc0c10d
MF
35896 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35897 (epoll_create1): Declare.
35898
e53a31fe
MF
35899 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35900
a726d796
AS
359012010-08-31 Andreas Schwab <schwab@redhat.com>
35902
35903 [BZ #7066]
35904 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35905 shifting retval into place.
35906
2f3e3dc7
UD
359072010-09-01 Ulrich Drepper <drepper@redhat.com>
35908
f2933da9
UD
35909 * nis/rpcsvc/nis.h: Update copyright notice.
35910 * nis/rpcsvc/nis.x: Likewise.
35911 * nis/rpcsvc/nis_callback.h: Likewise.
35912 * nis/rpcsvc/nis_callback.x: Likewise.
35913 * nis/rpcsvc/nis_object.x: Likewise.
35914 * nis/rpcsvc/nis_tags.h: Likewise.
35915 * nis/rpcsvc/yp.h: Likewise.
35916 * nis/rpcsvc/yp.x: Likewise.
35917 * nis/rpcsvc/ypupd.h: Likewise.
35918 * nis/yp_xdr.c: Likewise.
35919 * nis/ypupdate_xdr.c: Likewise.
35920
2f3e3dc7
UD
35921 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35922 mainly the body of pmap_getport. Add parameters to specify timeouts.
35923 (pmap_getport): Use __libc_rpc_getport.
35924 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35925 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35926 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35927
f3dcc2f9
AS
359282010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35929
35930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35931 fanotify_mark.
35932
6d34eb5b
RM
359332010-08-27 Roland McGrath <roland@redhat.com>
35934
35935 * sysdeps/i386/i686/multiarch/Makefile
35936 (CFLAGS-varshift.c): New variable.
35937
9ea3de11
UD
359382010-08-27 Ulrich Drepper <drepper@redhat.com>
35939
c96d23fc
UD
35940 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35941 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35942
9ea3de11
UD
35943 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35944
35945 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35946
623aac7f
L
359472010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35948
35949 * sysdeps/x86_64/strlen.S: Unroll the loop.
35950 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35951 strlen-sse2 strlen-sse2-bsf.
35952 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35953 __strlen_no_bsf if bit_Slow_BSF is set.
35954 (__strlen_sse42): Removed.
35955 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35956 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35957
8b2b7715
RM
359582010-08-25 Roland McGrath <roland@redhat.com>
35959
35960 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35961 * sysdeps/x86_64/multiarch/varshift.c: New file.
35962 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35963 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35964 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35965 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35966
e73015f2
L
359672010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35968
35969 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35970 strlen-sse2 strlen-sse2-bsf.
35971 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35972 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35973 (__strlen_sse2): Removed.
35974 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35975 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35977 bit_Slow_BSF for Atom.
35978 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35979 (index_Slow_BSF): Define.
35980 (HAS_SLOW_BSF): Define.
35981
df24a73e
UD
359822010-08-25 Ulrich Drepper <drepper@redhat.com>
35983
35984 [BZ #10851]
35985 * resolv/res_init.c (__res_vinit): When no server address at all
35986 is given default to loopback.
35987
f2ac4868
RM
359882010-08-24 Roland McGrath <roland@redhat.com>
35989
09055553
RM
35990 * configure.in: Remove config-name.h generation.
35991 * configure: Regenerated.
35992 * config-name.in: File removed.
35993 * scripts/config-uname.sh: New file.
35994 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35995 ($(objdir)config-name.h): New target.
35996
f2ac4868
RM
35997 * sunrpc/rpc_parse.h: Avoid nested comment.
35998
73f27d5e
RH
359992010-08-24 Richard Henderson <rth@redhat.com>
36000 Ulrich Drepper <drepper@redhat.com>
36001 H.J. Lu <hongjiu.lu@intel.com>
36002
36003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36004 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36005 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36006 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36007 _mm_alignr_epi8 with _mm_loadu_si128.
36008 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36009 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36010 (__m128i_shift_right): Removed.
36011 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36012 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36013 * sysdeps/x86_64/multiarch/varshift.h: New file.
36014 * sysdeps/x86_64/multiarch/varshift.S: New file.
36015
84b9230c
MF
360162010-08-21 Mike Frysinger <vapier@gentoo.org>
36017
36018 * configure.in: Move assembler checks to before sysdep dir checking.
36019
9bbd0ddc
PB
360202010-08-20 Petr Baudis <pasky@suse.cz>
36021
36022 * LICENSES: Sync the sunrpc license.
36023
9da4bb31
UD
360242010-08-19 Ulrich Drepper <drepper@redhat.com>
36025
a7ab6ec8
UD
36026 * sunrpc/auth_des.c: Update copyright notice once again.
36027 * sunrpc/auth_none.c: Likewise.
36028 * sunrpc/auth_unix.c: Likewise.
36029 * sunrpc/authdes_prot.c: Likewise.
36030 * sunrpc/authuxprot.c: Likewise.
36031 * sunrpc/bindrsvprt.c: Likewise.
36032 * sunrpc/clnt_gen.c: Likewise.
36033 * sunrpc/clnt_perr.c: Likewise.
36034 * sunrpc/clnt_raw.c: Likewise.
36035 * sunrpc/clnt_simp.c: Likewise.
36036 * sunrpc/clnt_tcp.c: Likewise.
36037 * sunrpc/clnt_udp.c: Likewise.
36038 * sunrpc/clnt_unix.c: Likewise.
36039 * sunrpc/des_crypt.c: Likewise.
36040 * sunrpc/des_soft.c: Likewise.
36041 * sunrpc/get_myaddr.c: Likewise.
36042 * sunrpc/getrpcport.c: Likewise.
36043 * sunrpc/key_call.c: Likewise.
36044 * sunrpc/key_prot.c: Likewise.
36045 * sunrpc/openchild.c: Likewise.
36046 * sunrpc/pm_getmaps.c: Likewise.
36047 * sunrpc/pm_getport.c: Likewise.
36048 * sunrpc/pmap_clnt.c: Likewise.
36049 * sunrpc/pmap_prot.c: Likewise.
36050 * sunrpc/pmap_prot2.c: Likewise.
36051 * sunrpc/pmap_rmt.c: Likewise.
36052 * sunrpc/rpc/auth.h: Likewise.
36053 * sunrpc/rpc/auth_unix.h: Likewise.
36054 * sunrpc/rpc/clnt.h: Likewise.
36055 * sunrpc/rpc/des_crypt.h: Likewise.
36056 * sunrpc/rpc/key_prot.h: Likewise.
36057 * sunrpc/rpc/netdb.h: Likewise.
36058 * sunrpc/rpc/pmap_clnt.h: Likewise.
36059 * sunrpc/rpc/pmap_prot.h: Likewise.
36060 * sunrpc/rpc/pmap_rmt.h: Likewise.
36061 * sunrpc/rpc/rpc.h: Likewise.
36062 * sunrpc/rpc/rpc_des.h: Likewise.
36063 * sunrpc/rpc/rpc_msg.h: Likewise.
36064 * sunrpc/rpc/svc.h: Likewise.
36065 * sunrpc/rpc/svc_auth.h: Likewise.
36066 * sunrpc/rpc/types.h: Likewise.
36067 * sunrpc/rpc/xdr.h: Likewise.
36068 * sunrpc/rpc_clntout.c: Likewise.
36069 * sunrpc/rpc_cmsg.c: Likewise.
36070 * sunrpc/rpc_common.c: Likewise.
36071 * sunrpc/rpc_cout.c: Likewise.
36072 * sunrpc/rpc_dtable.c: Likewise.
36073 * sunrpc/rpc_hout.c: Likewise.
36074 * sunrpc/rpc_main.c: Likewise.
36075 * sunrpc/rpc_parse.c: Likewise.
36076 * sunrpc/rpc_parse.h: Likewise.
36077 * sunrpc/rpc_prot.c: Likewise.
36078 * sunrpc/rpc_sample.c: Likewise.
36079 * sunrpc/rpc_scan.c: Likewise.
36080 * sunrpc/rpc_scan.h: Likewise.
36081 * sunrpc/rpc_svcout.c: Likewise.
36082 * sunrpc/rpc_tblout.c: Likewise.
36083 * sunrpc/rpc_util.c: Likewise.
36084 * sunrpc/rpc_util.h: Likewise.
36085 * sunrpc/rpcinfo.c: Likewise.
36086 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36087 * sunrpc/rpcsvc/key_prot.x: Likewise.
36088 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36089 * sunrpc/rpcsvc/mount.x: Likewise.
36090 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36091 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36092 * sunrpc/rpcsvc/rex.x: Likewise.
36093 * sunrpc/rpcsvc/rstat.x: Likewise.
36094 * sunrpc/rpcsvc/rusers.x: Likewise.
36095 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36096 * sunrpc/rpcsvc/spray.x: Likewise.
36097 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36098 * sunrpc/rtime.c: Likewise.
36099 * sunrpc/svc.c: Likewise.
36100 * sunrpc/svc_auth.c: Likewise.
36101 * sunrpc/svc_authux.c: Likewise.
36102 * sunrpc/svc_raw.c: Likewise.
36103 * sunrpc/svc_run.c: Likewise.
36104 * sunrpc/svc_simple.c: Likewise.
36105 * sunrpc/svc_tcp.c: Likewise.
36106 * sunrpc/svc_udp.c: Likewise.
36107 * sunrpc/svc_unix.c: Likewise.
36108 * sunrpc/svcauth_des.c: Likewise.
36109 * sunrpc/xcrypt.c: Likewise.
36110 * sunrpc/xdr.c: Likewise.
36111 * sunrpc/xdr_array.c: Likewise.
36112 * sunrpc/xdr_float.c: Likewise.
36113 * sunrpc/xdr_mem.c: Likewise.
36114 * sunrpc/xdr_rec.c: Likewise.
36115 * sunrpc/xdr_ref.c: Likewise.
36116 * sunrpc/xdr_sizeof.c: Likewise.
36117 * sunrpc/xdr_stdio.c: Likewise.
36118
9da4bb31
UD
36119 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36120 handling.
36121
bdaa77bc
AS
361222010-08-19 Andreas Schwab <schwab@redhat.com>
36123
36124 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36125
fe2f79db
LM
361262010-08-19 Luis Machado <luisgpm@br.ibm.com>
36127
36128 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36129 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36130 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36131 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36132 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36133 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36134 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36135 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36136 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36137 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36138 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36139 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36140 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36141 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36142
b9b42ee0
AB
361432010-07-26 Anton Blanchard <anton@samba.org>
36144
36145 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36146 * malloc/arena.c (heap_trim): Likewise.
36147
1c06ba31
UD
361482010-08-16 Ulrich Drepper <drepper@redhat.com>
36149
36150 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36151 here. Not...
36152 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36153 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36154
f8392f40
L
361552010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36156
36157 * sysdeps/i386/elf/Makefile: New file.
36158
3162f12e
AS
361592010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36160
36161 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36162 from fanotify_init.
36163 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36164 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36165
28c90b2c
UD
361662010-08-15 Ulrich Drepper <drepper@redhat.com>
36167
36168 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36169 of strncasecmp_l.
1feccb6c 36170 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 36171
ca6bb004
UD
361722010-08-14 Ulrich Drepper <drepper@redhat.com>
36173
e9f82e0d
UD
36174 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36175 strncase_l-nonascii.
36176 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36177 Add strncase_l-ssse3.
36178 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36179 * sysdeps/x86_64/strcmp.S: Likewise.
36180 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36181 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36182 * sysdeps/x86_64/strncase.S: New file.
36183 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36184 * sysdeps/x86_64/strncase_l.S: New file.
36185 * string/Makefile (strop-tests): Add strncasecmp.
36186 * string/test-strncasecmp.c: New file.
36187
36188 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36189 warning.
36190
ca6bb004
UD
36191 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36192 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36193
052fa7b3
AS
361942010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36195
36196 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36197
962dba78
UD
361982010-08-12 Ulrich Drepper <drepper@redhat.com>
36199
36200 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36201 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36202 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36203
bebff237
AM
362042010-05-01 Alan Modra <amodra@gmail.com>
36205
36206 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36207 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36208 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36209 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36210 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36211 tidying. Don't tail-call __sigjmp_save for static lib.
36212 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36213 save location.
36214 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36215 (CALL_MCOUNT): Add eh info, and nop after bl.
36216 (TAIL_CALL_SYSCALL_ERROR): New macro.
36217 (PSEUDO_RET): Use it.
36218 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36219 Correct save location of integer regs and cr.
36220 (_dl_profile_resolve): Correct cr save location. Delete nops
36221 after bl when SHARED. Reduce cfi size a little by better
36222 placement of cfi directives.
36223 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36224 make a stack frame. Instead use parm save area as a temp.
36225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36226 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36228 Don't make a stack frame for parent, use parm save area.
36229 Increase child stack frame to 112 bytes. Don't save unused reg,
36230 and adjust reg usage. Set up cfi on error recovery and
36231 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36233 (__makecontext): Add dummy nop after jump to exit.
36234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36235 Use correct parm save area and cr save, reduce stack frame.
36236 Correct cfi for possible PSEUDO_RET frame setup.
36237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36238 Branch to local label emitted by PSEUDO_RET rather than
36239 __syscall_error.
36240
02637374
AS
362412010-08-12 Andreas Schwab <schwab@redhat.com>
36242
36243 [BZ #11904]
36244 * locale/programs/locale.c (print_assignment): New function.
36245 (show_locale_vars): Use it.
36246
c3e2f19b
UD
362472010-08-11 Ulrich Drepper <drepper@redhat.com>
36248
3cdaa6ad
UD
36249 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36250 field.
36251 (struct statfs64): Likewise.
36252 (_STATFS_F_FLAGS): Define.
36253 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36254 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36255 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36256 (ST_VALID): Define locally.
36257 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36258 __statvfs_getflags, use the provided value.
36259 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36260 __ASSUME_STATFS_F_FLAGS.
36261
754f7da3
UD
36262 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36263
10b3bedc
UD
36264 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36265 Add sys/fanotify.h.
36266 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36267 fanotify_mask for GLIBC_2.13.
36268 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36269 fanotify_init and fanotify_mark.
36270 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36271 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36272
c08fb0d7
UD
36273 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36274 Add prlimit.
36275 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36276 prlimit64 for GLIBC_2.13.
36277 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36278 prlimit64.
36279 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36280 syscall.
36281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36282 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36283 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36284 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36285 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36286 add prlimit alias.
36287 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36288
15bac72b
UD
36289 [BZ #11903]
36290 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36291 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36292
c3e2f19b
UD
36293 * nss/Makefile: Add rules to build and run tst-nss-test1.
36294 * shlib-versions: Add entry for libnss_test1.
36295 * nss/nss_test1.c: New file.
36296 * nss/tst-nss-test1.c: New file.
36297
36298 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36299 (__nss_configure_lookup): Set appropriate entry in
36300 __nss_configure_lookup to true.
36301 * nss/nsswitch.h: Define enum with indeces of databases in
36302 databases and __nss_database_custom arrays. Declare
36303 __nss_database_custom.
36304 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36305 to avoid using nscd when custom rules are installed.
36306 * nss/getXXbyYY_r.c: Likewise.
36307 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36308
36309 * nss/nss_files/files-parse.c: Whitespace fixes.
36310
f15ce4d8
UD
363112010-08-09 Ulrich Drepper <drepper@redhat.com>
36312
36313 [BZ #11883]
36314 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36315 * posix/fnmatch_loop.c: Likewise.
36316
d22e4cc9
AK
363172010-07-17 Andi Kleen <ak@linux.intel.com>
36318
36319 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36320 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36321 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36322 * Versions.def [GLIBC_2.13]: Add.
36323
805bc17d
UD
363242010-08-06 Ulrich Drepper <drepper@redhat.com>
36325
36326 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36327 Also fail if tpwd after pwuid call is NULL.
36328
5a42321d
ST
363292010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36330
36331 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36332 when converting to ms.
36333
fd3ebeda
ST
363342010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36335
36336 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36337 EOPNOTSUPP errors with ENOTTY.
36338 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36339 EOPNOTSUPP errors with ENOTTY.
36340
73507d3a
UD
363412010-07-31 Ulrich Drepper <drepper@redhat.com>
36342
36343 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36344 Add strcasecmp_l-ssse3.
36345 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36346 strcasecmp.
36347 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36348 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36349 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36350
fe36dd02
UD
363512010-07-30 Ulrich Drepper <drepper@redhat.com>
36352
66f6765a
UD
36353 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36354
42e08a54
UD
36355 * string/Makefile (strop-tests): Add strcasecmp.
36356 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36357 strcasecmp_l-nonascii.
36358 (gen-as-const-headers): Add locale-defines.sym.
36359 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36360 * sysdeps/x86_64/strcasecmp.S: New file.
36361 * sysdeps/x86_64/strcasecmp_l.S: New file.
36362 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36363 * sysdeps/x86_64/locale-defines.sym: New file.
36364 * string/test-strcasecmp.c: New file.
36365
fe36dd02
UD
36366 * string/test-strcasestr.c: Test both ends of the range of characters.
36367 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36368
48cbc0d6
RM
363692010-07-29 Roland McGrath <roland@redhat.com>
36370
76e6d6bc 36371 [BZ #11856]
48cbc0d6
RM
36372 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36373
880113d9
UD
363742010-07-27 Ulrich Drepper <drepper@redhat.com>
36375
36376 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36377 for ld.so.
36378
deb9cabb
AS
363792010-07-27 Andreas Schwab <schwab@redhat.com>
36380
36381 * manual/memory.texi (Malloc Tunable Parameters): Document
36382 M_PERTURB.
36383
1c7570ff
RM
363842010-07-26 Roland McGrath <roland@redhat.com>
36385
36386 [BZ #11840]
36387 * configure.in (-fgnu89-inline check): Set and substitute
36388 gnu89_inline, not libc_cv_gnu89_inline.
36389 * configure: Regenerated.
36390 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36391
24fb0f88
UD
363922010-07-26 Ulrich Drepper <drepper@redhat.com>
36393
36394 * string/test-strnlen.c: New file.
36395 * string/Makefile (strop-tests): Add strnlen.
36396 * string/tester.c (test_strnlen): Add a few more test cases.
36397 * string/tst-strlen.c: Better error reporting.
36398
36399 * sysdeps/x86_64/strnlen.S: New file.
36400
8e96b93a
UD
364012010-07-24 Ulrich Drepper <drepper@redhat.com>
36402
36403 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36404 lower-latency instructions.
36405
dbc676d4
UD
364062010-07-23 Ulrich Drepper <drepper@redhat.com>
36407
36408 * string/test-strcasestr.c: New file.
36409 * string/test-strstr.c: New file.
36410 * string/Makefile (strop-tests): Add strstr and strcasestr.
36411 * string/str-two-way.h: Don't undefine MAX.
36412 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36413
f6a31e0e
AS
364142010-07-21 Andreas Schwab <schwab@redhat.com>
36415
36416 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36417 strcasestr-nonascii.
36418 (CFLAGS-strcasestr-nonascii.c): Define.
36419 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36420 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36421 Remove unused attribute.
36422
5dbc3b6c
RM
364232010-07-20 Roland McGrath <roland@redhat.com>
36424
36425 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36426 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36427 ld.so.cache was broken. With it, there is no way to disable dsocaps
36428 like LD_HWCAP_MASK can disable hwcaps.
36429
23d101d8
EPM
364302010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36431
36432 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36433
cc9f2e47
UD
364342010-07-16 Ulrich Drepper <drepper@redhat.com>
36435
36436 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36437 call in strcasestr.
36438 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36439 __strcasestr_sse42_nonascii.
36440 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36441 strcasestr-nonascii.c.
36442 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36443
77c1b069
LM
364442010-06-15 Luis Machado <luisgpm@br.ibm.com>
36445
36446 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36447 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36448 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36449 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36450
440566c3
UD
364512010-07-09 Ulrich Drepper <drepper@redhat.com>
36452
36453 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36454 fcntl.
36455
5be9d05d
AS
364562010-07-06 Andreas Schwab <schwab@redhat.com>
36457
c30b7ee2 36458 [BZ #11577]
5be9d05d
AS
36459 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36460 dl_signal_cerror.
36461
8a492a67
UD
364622010-07-06 Ulrich Drepper <drepper@redhat.com>
36463
36464 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36465 _PC_PIPE_BUF using F_GETPIPE_SZ.
36466
713df3d5
RM
364672010-07-05 Roland McGrath <roland@redhat.com>
36468
36469 * manual/arith.texi (Rounding Functions): Fix rint description
36470 implicit in round description.
36471
702e8f14
UD
364722010-07-02 Ulrich Drepper <drepper@redhat.com>
36473
36474 * elf/Makefile: Fix linking for a few tests to make recent linker
36475 happy.
36476
52ed8be9
AS
364772010-06-30 Andreas Schwab <schwab@redhat.com>
36478
36479 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36480 $(common-objpfx)libc_nonshared.a.
36481
f47c9a11
LM
364822010-06-21 Luis Machado <luisgpm@br.ibm.com>
36483
36484 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36485 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36486 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36487 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36488 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36489 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36490 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36491 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36506 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36507 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36508 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36509 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36510 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36511 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36512 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36513 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36514 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36515 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36516 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36517 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36532
6fb8cbcb
L
365332010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36534
36535 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36536 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36537 * string/memmove.c (memmove): Renamed to ...
36538 (MEMMOVE): ...this. Default to memmove.
36539 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36540 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36541 (END_CHK): Define.
36542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36543 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36544 mempcpy-ssse3-back memmove-ssse3-back.
36545 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36546 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36547 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36548 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36549 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36550 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36551 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36552 * sysdeps/x86_64/multiarch/memmove.c: New file.
36553 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36554 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36555 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36556 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36557 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36558 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36559 Define.
36560 (index_Fast_Copy_Backward): Define.
36561 (HAS_ARCH_FEATURE): Define.
36562 (HAS_FAST_REP_STRING): Define.
36563 (HAS_FAST_COPY_BACKWARD): Define.
36564
4e733bac 365652010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
36566
36567 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36568 Restore proper fallback handling.
36569
63c4ed22
UD
365702010-06-19 Ulrich Drepper <drepper@redhat.com>
36571
ac2b484c
UD
36572 [BZ #11701]
36573 * posix/group_member.c (__group_member): Correct checking loop.
36574
63c4ed22
UD
36575 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36576 OOM in getpwuid_r correctly. Return error number when the caller
36577 should return, otherwise -1.
36578 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36579 call returning > 0 value.
36580 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36581
765ade4b
AS
365822010-06-07 Andreas Schwab <schwab@redhat.com>
36583
36584 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36585 libc_nonshared.a from targets in modules-names.
36586
80da2e09
KS
365872010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36588
36589 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36590 requires it.
36591
158db122
LM
365922010-06-10 Luis Machado <luisgpm@br.ibm.com>
36593
36594 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36595 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36596 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36597 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36598
caa78cf8
AS
365992010-06-02 Andreas Schwab <schwab@redhat.com>
36600
36601 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36602
b2ef2c01
UD
366032010-06-14 Ulrich Drepper <drepper@redhat.com>
36604
36605 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36606 and F_GETPIPE_SZ.
36607 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36608 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36609 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36610 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36611 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36612 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36613
fbd643b6
RM
366142010-06-14 Roland McGrath <roland@redhat.com>
36615
36616 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36617
f32f2869
JJ
366182010-06-07 Jakub Jelinek <jakub@redhat.com>
36619
36620 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36621 __REDIRECT followed by __THROW.
36622 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36623 * posix/getopt.h (getopt): Likewise.
36624
2a50c078
EPM
366252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36626
36627 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36628 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36629 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36630 in AT_FLAGS.
36631 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36632 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36633
eb5ad2eb
LM
366342010-05-28 Luis Machado <luisgpm@br.ibm.com>
36635
36636 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36637
3c88fe1e
L
366382010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36639
36640 [BZ #11640]
36641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36642 Properly check family and model.
36643
d2f73151
TY
366442010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36645
36646 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36647
ebd2e13d
LM
366482010-05-24 Luis Machado <luisgpm@br.ibm.com>
36649
36650 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36651
b32b8b45
UD
366522010-05-21 Ulrich Drepper <drepper@redhat.com>
36653
36654 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36655 symbol reference.
36656
9acbe24d
AS
366572010-05-19 Andreas Schwab <schwab@redhat.com>
36658
36659 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36660 symbol reference.
36661
f0ccf6ea
AS
366622010-05-21 Andreas Schwab <schwab@redhat.com>
36663
3d04ff3a
AS
36664 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36665 and internal_recvmmsg.
36666 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36667 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36668 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36669 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36670
f0ccf6ea
AS
36671 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36672 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36673 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36674
5b08ac57
AS
366752010-05-20 Andreas Schwab <schwab@redhat.com>
36676
36677 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36678
4828935d
LM
366792010-05-17 Luis Machado <luisgpm@br.ibm.com>
36680
36681 POWER7 optimizations.
36682 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36683 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36684
373d545e
UD
366852010-05-19 Ulrich Drepper <drepper@redhat.com>
36686
36687 * version.h: Update for 2.13 development version.
36688
21a2b1ae
AS
366892010-05-12 Andrew Stubbs <ams@codesourcery.com>
36690
36691 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36692 exceptions. Return 0.
36693
3f7dcb2b
RM
366942010-05-07 Roland McGrath <roland@redhat.com>
36695
36696 * elf/ldconfig.c (main): Add a const.
36697
5f24d53a 366982010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 36699
a160f8d8
UD
36700 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36701 (args_options): Add no-idn option.
36702 (ahosts_keys_int): Add idn_flags to ai_flags.
36703 (parse_option): Handle 'i' option to clear idn_flags.
36704
5f24d53a
UD
36705 * malloc/malloc.c (_int_free): Possible race in the most recently
36706 added check. Only act on the data if no current modification
36707 happened.
265bb1ce
UD
36708
36709See ChangeLog.17 for earlier changes.