]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
PowerPC: multiarch hypot/hypotf for PowerPC64
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
4 hypotf multiarch implementations.
5 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8 multiarch hypot for PPC64.
9 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12 multiarch hypotf for PPC64.
13
142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15
16 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17 modff multiarch implementations.
18 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
21 multiarch modf for PPC64.
22 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
23 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25 multiarch modff for PPC64.
26
272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28
29 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
30 and logl multiarch implementations.
31 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
32 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
33 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
34 multiarch logb for PPC64.
35 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
36 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
37 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
38 multiarch logb for PPC64.
39 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
40 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
41 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
42 multiarch logb for PPC64.
43
442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45
46 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
47 isinff multiarch implementation.
48 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
49 file.
50 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
51 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
52 multiarch isinf for PPC64.
53 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
54 file.
55 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
56 multiarch isinff for PPC64.
57
582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59
60 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
61 finitef multiarch implementation.
62 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
63 file.
64 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
65 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
66 multiarch finite for PPC64.
67 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
68 file.
69 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
70 multiarch finitef for PPC64.
71
722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73
74 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
75 lrint multiarch implementation.
76 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
77 file.
78 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
79 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
80 multiarch llrint for PPC64.
81 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
82 multiarch lrint for PPC64.
83
842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
85
86 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
87 copysignf multiarch implementation.
88 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
89 file.
90 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
91 file.
92 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
93 multiarch copysign for PPC64.
94 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
95 multiarch copysignf for PPC64.
96
972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
98
99 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
100 multiarch implementation.
101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
102 file.
103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
104 file.
105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
106 file.
107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
108 file.
109 multiarch llround for PPC64.
110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
111 multiarch trunc for PPC64.
112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
113 multiarch truncf for PPC64.
114
1152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
116
117 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
118 multiarch implementation.
119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
120 file.
121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
122 file.
123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
124 file.
125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
126 file.
127 multiarch llround for PPC64.
128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
129 multiarch round for PPC64.
130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
131 multiarch roundf for PPC64.
132
1332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
134
135 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
136 multiarch implementation.
137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
138 file.
139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
140 file.
141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
142 file.
143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
144 file.
145 multiarch llround for PPC64.
146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
147 multiarch floor for PPC64.
148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
149 multiarch floorf for PPC64.
150
1512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
152
153 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
154 multiarch implementation.
155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
156 file.
157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
158 file.
159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
160 file.
161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
162 file.
163 multiarch llround for PPC64.
164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
165 multiarch ceil for PPC64.
166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
167 multiarch ceilf for PPC64.
168
1692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
170
171 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
172 multiarch implementation.
173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
174 file.
175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
176 file.
177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
178 file.
179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
180 multiarch llround for PPC64.
181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
182 multiarch lround for PPC64.
183
1842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
185
186 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
187 multiarch implementation.
188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
191 file.
192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
195 multiarch isnan for PPC64.
196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
197 multiarch isnanf for PPC64.
198
1992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
200
201 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
202 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
203 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
204 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
205 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
207
2082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
209
210 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
211 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
212 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
213 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
214
2152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
216
217 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
218 multiarch implementations.
219 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
220 (__libc_ifunc_impl_list): Likewise.
221 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
222 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
223 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
224 multiarch stpcpy for PPC64.
225
2262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
227
228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
229 multiarch implementations.
230 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
231 (__libc_ifunc_impl_list): Likewise.
232 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
233 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
234 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
235 multiarch strcpy for PPC64.
236
2372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
238
239 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
240 redefine function name.
241 (_wordcopy_fwd_dest_aligned): Likewise.
242 (_wordcopy_bwd_aligned): Likewise.
243 (_wordcopy_bwd_dest_aligned): Likewise.
244 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
245 multiarch implementations.
246 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
247 (__libc_ifunc_impl_list): Likewise.
248 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
249 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
250 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
251 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
252 multiarch wcscpy for PPC64.
253
2542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
255
256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
257 multiarch implementations.
258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
259 (__libc_ifunc_impl_list): Likewise.
260 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
261 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
262 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
263 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
264 multiarch wcscpy for PPC64.
265
2662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
267
268 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
269 multiarch implementations.
270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
271 (__libc_ifunc_impl_list): Likewise.
272 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
273 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
274 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
275 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
276 multiarch wcsrchr for PPC64.
277
2782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
279
280 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
281 multiarch implementations.
282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
283 (__libc_ifunc_impl_list): Likewise.
284 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
285 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
286 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
287 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
288 multiarch wcschr for PPC64.
289
2902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
291
292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
293 multiarch implementations.
294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
295 (__libc_ifunc_impl_list): Likewise.
296 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
297 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
298 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
299 multiarch strchrnul for PPC64.
300
3012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
302
303 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
304 implementations.
305 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
306 (__libc_ifunc_impl_list): Likewise.
307 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
308 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
309 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
310 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
311 strchr for PPC64.
312
3132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
314
315 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
316 implementations.
317 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
318 (__libc_ifunc_impl_list): Likewise.
319 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
320 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
321 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
322 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
323 strncmp for PPC64.
324
3252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
326
327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
328 multiarch implementations.
329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
330 (__libc_ifunc_impl_list): Likewise.
331 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
332 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
333 strncasecmp for PPC64.
334 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
335 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
336 multiarch strncasecmp_l for PPC64.
337
3382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
339
340 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
341 multiarch implementations.
342 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
343 (__libc_ifunc_impl_list): Likewise.
344 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
345 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
346 multiarch strcasecmp for PPC64.
347 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
348 file.
349 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
350 multiarch strcasecmp_l for PPC64.
351
3522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
353
354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
355 implementations.
356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
357 (__libc_ifunc_impl_list): Likewise.
358 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
359 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
360 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
361 strnlen for PPC64.
362
3632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
364
365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
366 implementations.
367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
368 (__libc_ifunc_impl_list): Likewise.
369 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
370 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
371 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
372 strlen for PPC64.
373
3742013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
375
376 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
377 implementations.
378 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
379 (__libc_ifunc_impl_list): Likewise.
380 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
381 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
382 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
383 rawmemrchr for PPC64.
384
3852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
386
387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
388 implementation.
389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
390 (__libc_ifunc_impl_list): Likewise.
391 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
392 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
393 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
394 memrchr for PPC64.
395
3962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
397
398 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
399 implementation.
400 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
401 (__libc_ifunc_impl_list): Likewise.
402 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
403 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
404 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
405 memchr for PPC64.
406
4072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
408
409 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
410 implementation.
411 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
412 (__libc_ifunc_impl_list): Likewise.
413 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
414 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
415 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
416 mempcpy for PPC64.
417
4182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
419
420 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
421 avoid cretion of __bzero symbol.
422 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
423 Likewise.
424 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
425 Likewise.
426 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
427 Likewise.
428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
429 multiarch implementations.
430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
431 (__libc_ifunc_impl_list): Likewise.
432 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
433 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
434 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
435 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
436 bzero for PPC32.
437 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
438 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
439 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
440 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
441 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
442 memset for PPC64.
443 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
444
4452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
446
447 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
448 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
449 implementations.
450 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
451 (__libc_ifunc_impl_list): Likewise.
452 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
453 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
454 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
455 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
456 memcmp for PPC64.
457
4582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
459
460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
461 multiarch for POWER/PPC64.
462 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
463 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
464 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
465 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
466 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
467 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
468 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
469 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
470 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
471 memcpy for PPC64.
472
4732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
474
475 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
476 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
477 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
478 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
479 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
480 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
481 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
482 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
483 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
484 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
485 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
486 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
487 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
488 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
489 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
497
4982013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
499
500 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
501
5022013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
503
504 * benchtests/Makefile (bench): Add exp2 and log2.
505 (LDLIBS-bench-exp2): Add -lm.
506 (LDLIBS-bench-log2): Likewise.
507 * benchtests/exp2-inputs: New inputs file.
508 * benchtests/log2-inputs: New inputs file.
509 * benchtests/log-inputs: Add new inputs.
510 * benchtests/tan-inputs: Likewise.
511
5122013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
513
514 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
515 definition...
516 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
517 csloww1, csloww2): ... from here.
518
519 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
520 instead of structures.
521 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
522 (POLYNOMIAL): Likewise.
523 (TAYLOR_SLOW): Likewise.
524 (__sin): Likewise.
525 (__cos): Likewise.
526 (slow1): Likewise.
527 (slow2): Likewise.
528 (sloww): Likewise.
529 (sloww1); Likewise.
530 (sloww2): Likewise.
531 (bsloww1): Likewise.
532 (bsloww2): Likewise.
533 (cslow2): Likewise.
534 (csloww): Likewise.
535 (csloww1): Likewise.
536 (csloww2): Likewise.
537
5382013-12-10 Ondřej Bílka <neleai@seznam.cz>
539
540 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
541 (__malloc_assert, __libc_realloc, __libc_calloc,
542 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
543 memcpy and memset.
544 * malloc/hooks.c (realloc_check): Likewise.
545
5462013-12-10 Ondřej Bílka <neleai@seznam.cz>
547
548 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
549 * malloc/arena.c: Remove PER_THREAD conditional.
550 [!PER_THREAD]: Remove code.
551 (ptmalloc_unlock_all2): Likewise.
552 (ptmalloc_init): Likewise.
553 (_int_new_arena): Likewise.
554 (arena_get2): Likewise.
555 * malloc/hooks.c (__malloc_get_state): Likewise.
556 (__malloc_set_state): Likewise.
557 * malloc/malloc.c: Likewise.
558 (struct malloc_state): Likewise.
559 (struct malloc_par): Likewise.
560 (__libc_realloc): Likewise.
561 (__libc_mallopt): Likewise.
562
5632013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
564
565 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
566
5672013-12-09 Ondřej Bílka <neleai@seznam.cz>
568
569 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
570 macro to a function. Check for zero perturb_byte.
571 (_int_malloc, _int_free): Remove zero perturb_byte checks.
572
5732013-12-09 Ondřej Bílka <neleai@seznam.cz>
574
575 * malloc/malloc.c: (force_reg): Remove.
576 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
577 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
578 force_reg by atomic_forced_read.
579 * malloc/arena.c (ptmalloc_init): Likewise.
580 * malloc/hooks.c (top_check): Likewise.
581
5822013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
583
584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
585
5862013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
587
588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
589
5902013-12-08 Joseph Myers <joseph@codesourcery.com>
591
592 * math/auto-libm-test-in: Add tests of lgamma.
593 * math/auto-libm-test-out: Regenerated.
594 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
595 (M_LOG_2_SQRT_PIl): Likewise.
596 (lgamma_test_data): Use AUTO_TESTS_f_f1.
597 * math/gen-auto-libm-tests.c (func_calc_method): Add value
598 mpfr_f_f1.
599 (func_calc_desc): Add mpfr_f_f1 union field.
600 (ARGS1): New macro.
601 (ARGS2): Likewise.
602 (ARGS3): Likewise.
603 (ARGS4): Likewise.
604 (RET1): Likewise.
605 (RET2): Likewise.
606 (CALC): Likewise.
607 (FUNC): Likewise.
608 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
609 (test_functions): Add lgamma.
610 (calc_generic_results): Handle mpfr_f_f1.
611 * sysdeps/i386/fpu/libm-test-ulps: Update.
612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
613
6142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
615
616 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
617 __mpn_add_n for PowerPC64/POWER7.
618 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
619 __mpn_sub_n for PowerPC64/POWER7.
620
6212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
622
623 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
624 __mpn_addmul_1 for PowerPC64.
625 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
626 __mpn_submul_1 for PowerPC64.
627 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
628 for PowerPC64.
629 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
630 for PowerPC64.
631
6322013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
633
634 [BZ #15089]
635 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
636
6372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
638
639 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
640
6412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
642
643 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
644 add multiarch folders.
645 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
646 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
647 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
648 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
649 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
650 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
651 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
652 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
653 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
654 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
655 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
662
6632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
664
665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
666 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
668 New file.
669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
670 New file.
671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
672 multiarch __ieee754_hypot for PowerPC32.
673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
674 New file.
675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
676 New file.
677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
678 multiarch __ieee754_hypotf for PowerPC32.
679
6802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
681
682 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
683 long_double_symbol only if __logbl is defined.
684 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
685 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
686 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
687 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
688 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
689 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
690 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
691 path for implementation.
692 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
693 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
695 logb, and logbl multiarch implementations for PowerPC32.
696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
697 file.
698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
699 file.
700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
701 multiarch logb for PowerPC32.
702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
703 file.
704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
705 file.
706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
707 multiarch logbf for PowerPC32.
708 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
710 file.
711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
712 multiarch logbl implementation for PowerPC32.
713
7142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
715
716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
717 and modff multiarch implementations.
718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
719 New file.
720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
721 New file.
722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
723 multiarch modf for PowerPC32.
724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
725 New file.
726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
727 New file.
728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
729 multiarch modff for PowerPC32.
730
7312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
732
733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
734 and lrintf multiarch implementations.
735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
736 New file.
737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
738 New file.
739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
740 multiarch lrint for PowerPC32.
741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
742 file: multiarch lrintf for PowerPC32.
743
7442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
745
746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
747 and lroundf multiarch implementations.
748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
749 New file.
750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
751 New file.
752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
753 New file.
754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
755 multiarch lround for PowerPC32.
756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
757 file: multiarch lroundf for PowerPC32.
758
7592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
760
761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
762 copysign and copysignf multiarch implementations.
763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
764 New file.
765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
766 New file.
767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
768 file: multiarch copysign for PowerPC32.
769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
770 file: multiarch copysignf for PowerPC32.
771
7722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
773
774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
775 and truncf multiarch implementations.
776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
777 New file.
778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
779 file.
780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
781 multiarch trunc for PowerPC32.
782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
783 New file.
784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
785 New file.
786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
787 multiarch truncf for PowerPC32.
788
7892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
790
791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
792 and roundf multiarch implementations.
793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
794 New file.
795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
796 file.
797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
798 multiarch round for PowerPC32.
799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
800 New file.
801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
802 New file.
803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
804 multiarch roundf for PowerPC32.
805
8062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
807
808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
809 and floorf multiarch implementations.
810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
811 New file.
812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
813 file.
814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
815 multiarch floor for PowerPC32.
816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
817 New file.
818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
819 New file.
820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
821 multiarch floorf for PowerPC32.
822
8232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
824
825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
826 and ceilf multiarch implementations.
827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
828 New file.
829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
830 file.
831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
832 multiarch ceil for PowerPC32.
833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
834 New file.
835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
836 file.
837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
838 multiarch ceilf for PowerPC32.
839
8402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
841
842 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
843 is defined.
844 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
845 FINITEF is defined.
846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
847 and finitef multiarch implementations.
848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
849 New file.
850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
851 file.
852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
853 multiarch finite for PowerPC32.
854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
855 New file.
856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
857 file: multiarch finitef for PowerPC32.
858
8592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
860
861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
862 and isinff multiarch implementations.
863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
864 file.
865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
866 file.
867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
868 multiarch isinf for PowerPC32.
869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
870 New file.
871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
872 multiarch isinff for PowerPC32.
873
8742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
875
876 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
877 alias when __isnan is defined.
878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
879 and isnanf multiarch implementations.
880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
881 file.
882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
883 file.
884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
885 file.
886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
887 file.
888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
889 multiarch isnan for PowerPC32.
890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
891 New file.
892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
893 New file.
894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
895 multiarch isnanf for PowerPC32.
896
8972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
898
899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
900 and sqrtf multiarch implementations.
901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
902 file.
903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
904 file.
905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
906 multiarch sqrt for PowerPC32.
907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
908 file.
909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
910 file.
911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
912 multiarch sqrtf for PowerPC32.
913
9142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
915
916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
917 and llroundf multiarch implementations.
918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
919 New file.
920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
921 New file.
922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
923 New file.
924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
925 file: multiarch llround for PowerPC32.
926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
927 file: multiarch llroundf for PowerPC32.
928
9292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
930
931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
932 multiarch PowerPC32 fpu implementations.
933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
934 New file.
935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
936 New file.
937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
938 multiarch llrint for PowerPC32.
939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
940 New file.
941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
942 New file.
943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
944 file.
945
9462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
947
948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
949
9502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
951
952 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
953 file.
954 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
955 file.
956 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
957 file.
958 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
959 multiarch wordcopy for PPC32.
960 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
961 wordcopy objects.
962 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
963 (__libc_ifunc_impl_list): Likewise.
964 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
965 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
966 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
967 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
968 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
969 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
970
9712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
972
973 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
974 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
975 file.
976 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
977 file.
978 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
979 file.
980 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
981 multiarch wcscpy for PPC32.
982 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
983 multiarch objects.
984 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
985 (__libc_ifunc_impl_list): Likewise.
986 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
987 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
988 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
989 sysdeps/powerpc/power6/wcscpy.c.
990
9912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
992
993 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
994 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
995 file.
996 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
997 file.
998 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
999 file.
1000 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1001 multiarch wcsrchr for PPC32.
1002 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1003 multiarch objects.
1004 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1005 (__libc_ifunc_impl_list): Likewise.
1006 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1007 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1008 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1009 sysdeps/powerpc/power6/wcsrchr.c.
1010
10112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1012
1013 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1014 file.
1015 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1016 file.
1017 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1018 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1019 multiarch wcschr for PPc32.
1020 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1021 multiarch objects.
1022 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1023 (__libc_ifunc_impl_list): Likewise.
1024 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1025 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1026 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1027 sysdeps/powerpc/power6/wcschr.c.
1028
10292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1030
1031 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1032 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1033 file.
1034 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1035 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1036 file: multiarch strchr for PPC32.
1037 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1038 multiarch objects.
1039 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1040 (__libc_ifunc_impl_list): Likewise.
1041
10422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1043
1044 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1045 name.
1046 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1047 file.
1048 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1049 file.
1050 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1051 multiarch strchrnul for PPC32.
1052 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1053 multiarch objects.
1054 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1055 (__libc_ifunc_impl_list): Likewise.
1056
10572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1058
1059 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1060 file.
1061 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1062 multiarch strncasecmp for PPC32.
1063 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1064 file.
1065 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1066 multiarch strncasecmp_l for PPC32.
1067 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1068 strncasecmp multiarch objects.
1069 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1070 (__libc_ifunc_impl_list): Likewise.
1071
10722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1073
1074 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1075 file.
1076 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1077 multiarch strncasecmp for PPC32.
1078 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1079 New file.
1080 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1081 multiarch strcasecmp_l for PPC32.
1082 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1083 multiarch objects.
1084 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1085 (__libc_ifunc_impl_list): Likewise.
1086
10872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1088
1089 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1090 file.
1091 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1092 file.
1093 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1094 multiarch strncmp for PPC32.
1095 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1096 multiarch objects.
1097 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1098 (__libc_ifunc_impl_list): Likewise.
1099
11002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1101
1102 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1103 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1104 file.
1105 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1106 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1107 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1108 multiarch objects.
1109 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1110 (__libc_ifunc_impl_list): Likewise.
1111
11122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1113
1114 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1115 file.
1116 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1117 file.
1118 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1119 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1120 multiarch objects.
1121 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1122 (__libc_ifunc_impl_list): Likewise.
1123
11242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1125
1126 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1127 file.
1128 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1129 file.
1130 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1131 multiarch rawmemchr for PPC32.
1132 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1133 multiarch objects.
1134 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1135 (__libc_ifunc_impl_list): Likewise.
1136
11372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1138
1139 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1140 file.
1141 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1142 file.
1143 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1144 file: memrchr multiarch for PPC32.
1145 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1146 multiarch objects.
1147 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1148 (__libc_ifunc_impl_list): Likewise.
1149
11502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1151
1152 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1153 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1154 file.
1155 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1156 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1157 multiarch memchr for PPC32.
1158 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1159 multiarch objects.
1160 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1161 (__libc_ifunc_impl_list): Likewise.
1162
11632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1164
1165 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1166 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1167 file.
1168 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1169 file.
1170 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1171 file: multiarch mempcpy for PPC32.
1172 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1173 multiarch objects.
1174 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1175 (__libc_ifunc_impl_list): Likewise.
1176
11772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1178
1179 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1180 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1181 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1182 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1183 multiarch bzero for PPC32.
1184 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1185 file.
1186 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1187 file.
1188 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1189 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1190 file: multiarch memset for PPC32.
1191 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1192 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1193 memset multiarch objects.
1194 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1195 (__libc_ifunc_impl_list): Likewise.
1196
11972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1198
1199 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1200 file.
1201 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1202 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1203 memcmp for PPC32.
1204 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1205 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1206 multiarch objects.
1207 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1208 (__libc_ifunc_impl_list): Likewise.
1209
12102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1211
1212 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1213 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1214 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1215 file.
1216 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1217 file.
1218 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1219 file.
1220 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1221 multiarch memcpy for PPC32.
1222 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1223 multiarch objects.
1224 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1225 (__libc_ifunc_impl_list): Likewise.
1226
12272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1228
1229 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1230 support multiarch for POWER/PPC32.
1231 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1232 Likewise.
1233 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1235 Implies file to make multiarch folder appers before the fpu and
1236 default folder for power4 configuration.
1237
12382013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1239
1240 * scripts/bench.pl: Append volatile keyword to type.
1241
12422013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1243
1244 * sysdeps/sh/sotruss-lib.c: New file.
1245 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1246
12472013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1248
1249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1250
12512013-12-05 Joseph Myers <joseph@codesourcery.com>
1252
1253 [BZ #6810]
1254 * math/w_tgamma.c: Include <errno.h>.
1255 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1256 * math/w_tgammaf.c: Include <errno.h>.
1257 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1258 * math/w_tgammal.c: Include <errno.h>.
1259 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1260 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1261 underflow. Add more tgamma tests.
1262 * math/auto-libm-test-out: Regenerated.
1263 * sysdeps/i386/fpu/libm-test-ulps: Update.
1264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1265
1266 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1267 sin, sinh, tan, tanh, tgamma, y0 and y1.
1268 * math/auto-libm-test-out: Regenerated.
1269 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1270 (TEST_COND_x86): Likewise.
1271 (M_E2l): Remove macro.
1272 (M_E3l): Likewise.
1273 (M_2_SQRT_PIl): Likewise.
1274 (M_SQRT_PIl): Likewise.
1275 (M_1_DIV_El): Likewise.
1276 (log_test_data): Use AUTO_TESTS_f_f.
1277 (log10_test_data): Likewise.
1278 (log1p_test_data): Likewise.
1279 (log2_test_data): Likewise.
1280 (sin_test_data): Likewise.
1281 (sin_tonearest_test_data): Likewise.
1282 (sin_towardzero_test_data): Likewise.
1283 (sin_downward_test_data): Likewise.
1284 (sin_upward_test_data): Likewise.
1285 (sinh_test_data): Likewise.
1286 (sinh_tonearest_test_data): Likewise.
1287 (sinh_towardzero_test_data): Likewise.
1288 (sinh_downward_test_data): Likewise.
1289 (sinh_upward_test_data): Likewise.
1290 (tan_test_data): Likewise.
1291 (tan_tonearest_test_data): Likewise.
1292 (tan_towardzero_test_data): Likewise.
1293 (tan_downward_test_data): Likewise.
1294 (tan_upward_test_data): Likewise.
1295 (tanh_test_data): Likewise.
1296 (tgamma_test_data): Likewise.
1297 (y0_test_data): Likewise.
1298 (y1_test_data): Likewise.
1299 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1300 (special_real_inputs): Add pi/4.
1301 * sysdeps/i386/fpu/libm-test-ulps: Update.
1302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1303
13042013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1305
1306 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1307 "longjmp_target" static probes.
1308 (__longjmp): Rename to __longjmp_symbol.
1309 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1310 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1311 on which longjmp to generate.
1312 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1313 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1314 probe.
1315 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1316 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1317 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1318 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1319 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1320 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1322 __longjmp_symbol based on which __longjmp to generate.
1323 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1324 probe.
1325 (setjmp): Rename to setjmp_symbol.
1326 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1327 (_setjmp): Rename to _setjmp_symbol.
1328 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1329 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1330 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1331 which setjmp to generate.
1332 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1333 "longjmp_target" static probes.
1334
13352013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1336
1337 * benchtests/README: Add note about output arguments.
1338 * benchtests/bench-sincos.c: Remove file.
1339 * benchtests/sincos-inputs: New file.
1340 * scripts/bench.pl: Identify output arguments and define
1341 static variables for them.
1342
1343 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1344
1345 [BZ #15941]
1346 * Makefile (INSTALL): Add install-plain.texi as the primary
1347 dependency.
1348 * manual/install-plain.texi: New file.
1349 * manual/install.texi: Include node directive only for
1350 non-plaintext output.
1351
13522013-12-04 Joseph Myers <joseph@codesourcery.com>
1353
1354 * stdlib/longlong.h: Update from GCC.
1355
1356 [BZ #6807]
1357 [BZ #15901]
1358 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1359 * math/w_j0f.c (y0f): Likewise.
1360 * math/w_j0l.c (__y0l): Likewise.
1361 * math/w_j1.c (y1): Likewise.
1362 * math/w_j1f.c (y1f): Likewise.
1363 * math/w_j1l.c (__y1l): Likewise
1364 * math/w_jn.c (yn): Likewise.
1365 * math/w_jnf.c (ynf): Likewise.
1366 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1367 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1368 value for Bessel function domain errors outside _SVID_ mode.
1369 Adjust sign of return value for yn (negative integer, 0).
1370 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1371 by zero in return for negative x and set sign appropriately for
1372 negative n.
1373 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1374 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1375 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1376 expectations in error cases.
1377 (y1_test_data): Likewise.
1378 (yn_test_data): Likewise.
1379 * sysdeps/i386/fpu/libm-test-ulps: Update.
1380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1381
13822013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1383
1384 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1385 "64" to "64-v1". Add "64-v2".
1386 (abi-64-options): Rename to ...
1387 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1388 (abi-64-condition): Rename to ...
1389 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1390 (abi-64-ld-soname): Rename to ...
1391 (abi-64-v1-ld-soname): ... this.
1392 (abi-64-v2-options): Define.
1393 (abi-64-v2-condition): Likewise.
1394 (abi-64-v2-ld-soname): Likewise.
1395 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1396 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1400
14012013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1402 Alan Modra <amodra@gmail.com>
1403
1404 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1405 New versions for use with the ELFv2 ABI.
1406 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1407 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1408 declaration.
1409 (struct La_ppc64v2_retval): Likewise.
1410 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1411 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1412 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1413 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1414 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1415 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1416 Do not save or restore CR.
1417 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1418 (_dl_profile_resolve): Do no save or restore CR. Support extended
1419 return values for ELFv2 ABI. Fix location of FPR return registers.
1420 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1421 updated values for _CALL_ELF == 2.
1422 (La_regs, La_retval, int_retval): Likewise.
1423
14242013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1425
1426 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1427 (FRAME_MIN_SIZE_PARM): Likewise.
1428 (FRAME_BACKCHAIN): Likewise.
1429 (FRAME_CR_SAVE): Likewise.
1430 (FRAME_LR_SAVE): Likewise.
1431 (FRAME_TOC_SAVE): Likewise.
1432 (FRAME_PARM_SAVE): Likewise.
1433 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1434 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1435 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1436 (call_mcount_parm_offset): New macro.
1437 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1438 (PROF): Use symbolic stack frame offsets.
1439 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1440 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1441 Redefine in terms of FRAME_MIN_SIZE.
1442 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1443 (_dl_profile_resolve): Likewise. Update comment.
1444 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1445 symbols stack frame offsets.
1446 (__sigsetjmp): Likewise.
1447 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1448 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1449 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1450 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1451
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1453 (FRAME_BACKCHAIN): Remove.
1454 (FRAME_CR_SAVE): Likewise.
1455 (FRAME_LR_SAVE): Likewise.
1456 (FRAME_COMPILER_DW): Likewise.
1457 (FRAME_LINKER_DW): Likewise.
1458 (FRAME_TOC_SAVE): Likewise.
1459 (FRAME_PARM_SAVE): Likewise.
1460 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1461 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1462 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1464 (CHECK_SP): Use symbolic stack frame offsets.
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1466 zone" instead of caller's parameter save area for temp storage.
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1468 Likewise. Also, use symbolic stack frame offsets.
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1470 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1471 our own stack frame instead of the caller's.
1472 (__socket): Use symbolic stack frame offsets.
1473
14742013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1475 Alan Modra <amodra@gmail.com>
1476
1477 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1478 Define.
1479 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1480 PPC64_LOCAL_ENTRY_OFFSET): Define.
1481 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1482 New function.
1483 (elf_machine_fixup_plt): Call it.
1484 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1485 reloc arguments.
1486 (elf_machine_rela): Update call to elf_machine_plt_conflict.
1487 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1488 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1489 r2 before calling target.
1490
14912013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1492 Alan Modra <amodra@gmail.com>
1493
1494 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1495 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1496 versions of macros to support ELFv2 ABI.
1497 (LOCALENTRY): New macro.
1498 (ENTRY, EALIGN): Use it.
1499 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1500 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1501 fall through into ENTRY entry point.
1502 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1503 Only define if _CALL_ELF != 2.
1504
1505 (elf_machine_matches_host): Verify ABI version matches.
1506 (RTLD_START): Use LOCALENTRY.
1507 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1508 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1509 (PLT_ENTRY_WORDS): New macro.
1510 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1511 (elf_machine_runtime_setup): Support ELFv2 ABI.
1512 (elf_machine_fixup_plt): Likewise.
1513 (elf_machine_plt_conflict): Likewise.
1514 (resolve_ifunc): Likewise.
1515 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1516 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1517 Likewise.
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1519 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1521 (makecontext): Support ELFv2 ABI.
1522 * elf/elf.h (EF_PPC64_ABI): Define.
1523
15242013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1525
1526 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1527 New assembler macro.
1528 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1529 [ASSEMBLER] (ENTRY): ... but instead here ...
1530 [ASSEMBLER] (EALIGN): ... and here.
1531 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1532 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1533 [!ASSEMBLER] (ENTRY_2): Use it.
1534 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1535 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1536 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1537 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1538 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1540 Use PPC64_LOAD_FUNCPTR.
1541
15422013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1543
1544 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1545
15462013-12-04 Alan Modra <amodra@gmail.com>
1547
1548 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1549 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1550 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1551 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1552
1553 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1554 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1555 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1556 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1557 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1558 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1559
15602013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1561
1562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1563 (__makecontext): Fix incorrect CFI when backtracing out of
1564 context created via makecontext.
1565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1566 (__setcontext): Fix incorrect CFI during switch to new context.
1567 (__novec_setcontext): Likewise.
1568
15692013-12-04 Ondřej Bílka <neleai@seznam.cz>
1570
1571 [BZ #4772]
1572 * time/strptime_l.c (__strptime_internal): Allow modifiers
1573 in strptime.
1574 * time/tst-strptime.c (day_tests): Add testcase.
1575
1576
15772013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1578
1579 * scripts/bench.pl: Skip over blank lines.
1580
15812013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1582
1583 [BZ #926]
1584 * manual/time.texi (Calendar Time): Clarify what timezone functions
1585 use.
1586
15872013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1588
1589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1590
15912013-12-04 Ondřej Bílka <neleai@seznam.cz>
1592
1593 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1594 implementation.
1595 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1596 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1597 * debug/memset_chk.c (__memset_chk): Likewise.
1598 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1599 * debug/strncpy_chk.c: Likewise.
1600
16012013-12-03 Joseph Myers <joseph@codesourcery.com>
1602
1603 [BZ #15268]
1604 [BZ #15425]
1605 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1606 (__ieee754_exp): For possibly underflowing results, check size of
1607 result and force underflow exception if required.
1608 * math/auto-libm-test-in: Add more tests of exp.
1609 * math/auto-libm-test-out: Regenerated.
1610 * sysdeps/i386/fpu/libm-test-ulps: Update.
1611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1612
1613 [BZ #16283]
1614 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1615 * math/w_exp2f.c (__exp2f): Likewise.
1616 * math/w_exp2l.c (__exp2l): Likewise.
1617 * math/auto-libm-test-in: Do not allow missing errno on exp2
1618 underflow.
1619 * math/auto-libm-test-out: Regenerated.
1620
16212013-12-03 Ondřej Bílka <neleai@seznam.cz>
1622
1623 [BZ #16274]
1624 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1625 handle filename validation.
1626 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1627 (do_open): Delete.
1628
16292013-12-03 Joseph Myers <joseph@codesourcery.com>
1630
1631 [BZ #6786]
1632 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1633 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1634 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1635 <float.h>.
1636 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1637 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1638 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1639 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1640 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1641 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1642 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1643 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1644 Add more erfc tests.
1645 * math/auto-libm-test-out: Regenerated.
1646 * sysdeps/i386/fpu/libm-test-ulps: Update.
1647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1648
1649 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1650 exp2, expm1, j0 and j1.
1651 * math/auto-libm-test-out: Regenerated.
1652 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1653 (erfc_test_data): Likewise.
1654 (exp_test_data): Likewise.
1655 (exp_tonearest_test_data): Likewise.
1656 (exp_towardzero_test_data): Likewise.
1657 (exp_downward_test_data): Likewise.
1658 (exp_upward_test_data): Likewise.
1659 (exp10_test_data): Likewise.
1660 (exp2_test_data): Likewise.
1661 (expm1_test_data): Likewise.
1662 (j0_test_data): Likewise.
1663 (j1_test_data): Likewise.
1664 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1665 (input_flag_type): Add flag_xfail_rounding.
1666 (input_flags): Add xfail-rounding.
1667 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1668 (output_for_one_input_case): Handle flag_xfail_rounding.
1669 * sysdeps/i386/fpu/libm-test-ulps: Update.
1670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1671
16722013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1673
1674 [BZ #16289]
1675 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1676 division by 0.
1677
16782013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1679
1680 [BZ #16195]
1681 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1682 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1683 (STAP_PROBE0): New macro.
1684 (STAP_PROBE1): Likewise.
1685 (STAP_PROBE2): Likewise.
1686 (STAP_PROBE3): Likewise.
1687 (STAP_PROBE4): Likewise.
1688
16892013-12-02 Ondřej Bílka <neleai@seznam.cz>
1690
1691 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1692
16932013-12-02 Steve Ellcey <sellcey@mips.com>
1694
1695 * benchtests/Makefile (bench): Add sqrt.
1696 (LDLIBS-bench-sqrt): New.
1697 * benchtests/sqrt-input: New.
1698
16992013-12-02 Pavel Simerda <psimerda@redhat.com>
1700
1701 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1702 (GAIH_EAI): Likewise.
1703 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1704 (gaih_inet): Likewise.
1705 (getaddrinfo): Don't use GAIH_EAI.
1706
1707 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1708 (struct gaih): Remove definition.
1709
17102013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1711
1712 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1713 Use HERRNOP directly.
1714
17152013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1716
1717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1718
17192013-11-30 Joseph Myers <joseph@codesourcery.com>
1720
1721 * math/gen-auto-libm-tests.c (test_functions): Add more
1722 single-argument functions.
1723 (special_fill_pi_2): New function.
1724 (special_fill_minus_pi_2): Likewise.
1725 (special_fill_pi_6): Likewise.
1726 (special_fill_minus_pi_6): Likewise.
1727 (special_fill_pi_3): Likewise.
1728 (special_fill_2pi_3): Likewise.
1729 (special_fill_e): Likewise.
1730 (special_fill_1_e): Likewise.
1731 (special_fill_e_minus_1): Likewise.
1732 (special_real_inputs): Add more special inputs.
1733 (output_for_one_input_case): Do not require ERANGE on underflow to
1734 zero if round-to-nearest result does not underflow to zero, unless
1735 exact results required.
1736 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1737 atan, atanh, cbrt, cos and cosh.
1738 * math/auto-libm-test-out: Regenerated.
1739 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1740 (acos_tonearest_test_data): Likewise.
1741 (acos_towardzero_test_data): Likewise.
1742 (acos_downward_test_data): Likewise.
1743 (acos_upward_test_data): Likewise.
1744 (acosh_test_data): Likewise.
1745 (asin_test_data): Likewise.
1746 (asin_tonearest_test_data): Likewise.
1747 (asin_towardzero_test_data): Likewise.
1748 (asin_upward_test_data): Likewise.
1749 (asinh_test_data): Likewise.
1750 (atan_test_data): Likewise.
1751 (atanh_test_data): Likewise.
1752 (cbrt_test_data): Likewise.
1753 (cos_test_data): Likewise.
1754 (cos_tonearest_test_data): Likewise.
1755 (cos_towardzero_test_data): Likewise.
1756 (cos_downward_test_data): Likewise.
1757 (cos_upward_test_data): Likewise.
1758 (cosh_test_data): Likewise.
1759 (cosh_tonearest_test_data): Likewise.
1760 (cosh_towardzero_test_data): Likewise.
1761 (cosh_downward_test_data): Likewise.
1762 (cosh_upward_test_data): Likewise.
1763 * sysdeps/i386/fpu/libm-test-ulps: Update.
1764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1765
17662013-11-29 Joseph Myers <joseph@codesourcery.com>
1767
1768 [BZ #6787]
1769 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1770 * math/w_exp10f.c (__exp10f): Likewise.
1771 * math/w_exp10l.c (__exp10l): Likewise.
1772 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1773 errno settings in existing tests.
1774
1775 [BZ #14032]
1776 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1777 precision control set to double precision.
1778 * sysdeps/i386/fpu/w_sqrt.c: New file.
1779 * math/auto-libm-test-in: Add more tests.
1780 * math/auto-libm-test-out: Update.
1781
1782 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1783 (sqrt_test_tonearest): New function.
1784 (sqrt_towardzero_test_data): New variable.
1785 (sqrt_test_towardzero): New function.
1786 (sqrt_downward_test_data): New variable.
1787 (sqrt_test_downward): New function.
1788 (sqrt_upward_test_data): New variable.
1789 (sqrt_test_upward): New function.
1790 (main): Call the new functions.
1791
1792 * math/gen-auto-libm-tests.c: New file.
1793 * math/auto-libm-test-in: Likewise.
1794 * math/auto-libm-test-out: New generated file.
1795 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1796 variables.
1797 (%beautify): Add generated representations of zero.
1798 (top level): Set $auto_input and call parse_auto_input.
1799 (beautify): Remove trailing "f" from hex float constants.
1800 (parse_args): Handle XFAIL_TEST.
1801 (convert_condition): New function.
1802 (or_value): Likewise.
1803 (or_cond_value): Likewise.
1804 (generate_testfile): Handle AUTO_TESTS_* lines.
1805 (parse_auto_input): New function.
1806 * math/libm-test.inc (XFAIL_TEST): New macro.
1807 (ERRNO_UNCHANGED): Update value.
1808 (ERRNO_EDOM): Likewise.
1809 (ERRNO_ERANGE): Likewise.
1810 (IGNORE_RESULT): Likewise.
1811 (TEST_COND_flt_32): New macro.
1812 (TEST_COND_dbl_64): Likewise.
1813 (TEST_COND_ldbl_96_intel): Likewise.
1814 (TEST_COND_ldbl_96_m68k): Likewise.
1815 (TEST_COND_ldbl_128): Likewise.
1816 (TEST_COND_ldbl_128ibm): Likewise.
1817 (TEST_COND_long32): Likewise.
1818 (TEST_COND_long64): Likewise.
1819 (TEST_COND_before_rounding): Likewise.
1820 (TEST_COND_after_rounding): Likewise.
1821 (enable_test): Handle XFAIL_TEST flag.
1822 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1823 with finite results.
1824 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1825 auto-libm-test-out.
1826
18272013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1828 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1829
1830 [BZ #16214]
1831 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1832 __tls_get_addr_internal instead of __tls_get_offset in order to
1833 avoid GOT pointer dependency. Make rtld export
1834 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1835 __tls_get_addr since we are a __tls_get_offset platform.
1836 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1837 GOT pointer being set up before.
1838 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1839
18402013-11-28 Joseph Myers <joseph@codesourcery.com>
1841
1842 * manual/math.texi (Errors in Math Functions): Document accuracy
1843 goals.
1844
1845 [BZ #15004]
1846 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1847 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1848 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1849 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1850 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1851 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1852 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1853 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1854 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1855 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1856 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1857 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1858 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1859 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1860 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1861 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1862
1863 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1864 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1865 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1866 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1867 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1868 Likewise.
1869 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1870 Likewise.
1871 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1872 Likewise.
1873 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1874 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1875 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1876 atomic-feupdateenv and flt-rounds.
1877 * sysdeps/powerpc/nofpu/Versions (libc): Add
1878 __atomic_feholdexcept, __atomic_feclearexcept,
1879 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1880 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1881 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1882 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1883 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1884 here.
1885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1886 Update.
1887
1888 * manual/arith.texi (FP Exceptions): Document that exceptions may
1889 not be raised when matherr is used.
1890 (Math Error Reporting): Document overflow in directed rounding
1891 modes. Document that errno may not be set when finite values are
1892 returned on overflow. Document intent to set errno on underflow
1893 only for underflow to zero.
1894
1895 [BZ #16271]
1896 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1897 round-to-nearest then adjust result for other rounding modes.
1898 * include/fenv.h (fegetround): Use libm_hidden_proto.
1899 * math/fegetround.c (fegetround): Use libm_hidden_def.
1900 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1901 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1902 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1903 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1904 Likewise.
1905 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1906 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1907 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1908 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1909
19102013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1911
1912 [BZ #16077]
1913 * nss/Versions (libnss_files): Add
1914 _nss_files_gethostbyname3_r.
1915 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1916 New function.
1917 (HOST_DB_LOOKUP): Remove macro.
1918 (_nss_files_gethostbyname_r): Implement function without the
1919 HOST_DB_LOOKUP macro.
1920 (_nss_files_gethostbyname2_r): Likewise.
1921
19222013-11-28 Ondřej Bílka <neleai@seznam.cz>
1923
1924 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1925
19262013-11-26 Uros Bizjak <ubizjak@gmail.com>
1927
1928 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1929 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1930 warning.
1931
19322013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1933
1934 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1935 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1936 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1937 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1938 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1939 __fe_nomask_env_priv and attribute_hidden.
1940 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1941 (libc_feupdateenv_test_ppc): Likewise.
1942 (libc_feresetround_ppc): Likewise.
1943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1944 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1945 compat_symbol macro.
1946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1947 (__fe_nomask_env): Likewise.
1948 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1949
19502013-11-26 Ondřej Bílka <neleai@seznam.cz>
1951
1952 * string/Makefile: Remove ifunc tests.
1953 * string/test-string.h: Define TEST_IFUNC.
1954 * string/test-bcopy-ifunc.c: Remove.
1955 * string/test-bzero-ifunc.c: Likewise.
1956 * string/test-memccpy-ifunc.c: Likewise.
1957 * string/test-memchr-ifunc.c: Likewise.
1958 * string/test-memcmp-ifunc.c: Likewise.
1959 * string/test-memcpy-ifunc.c: Likewise.
1960 * string/test-memmem-ifunc.c: Likewise.
1961 * string/test-memmove-ifunc.c: Likewise.
1962 * string/test-mempcpy-ifunc.c: Likewise.
1963 * string/test-memrchr-ifunc.c: Likewise.
1964 * string/test-memset-ifunc.c: Likewise.
1965 * string/test-rawmemchr-ifunc.c: Likewise.
1966 * string/test-stpcpy-ifunc.c: Likewise.
1967 * string/test-stpncpy-ifunc.c: Likewise.
1968 * string/test-strcasecmp-ifunc.c: Likewise.
1969 * string/test-strcasestr-ifunc.c: Likewise.
1970 * string/test-strcat-ifunc.c: Likewise.
1971 * string/test-strchr-ifunc.c: Likewise.
1972 * string/test-strchrnul-ifunc.c: Likewise.
1973 * string/test-strcmp-ifunc.c: Likewise.
1974 * string/test-strcpy-ifunc.c: Likewise.
1975 * string/test-strcspn-ifunc.c: Likewise.
1976 * string/test-strlen-ifunc.c: Likewise.
1977 * string/test-strncasecmp-ifunc.c: Likewise.
1978 * string/test-strncat-ifunc.c: Likewise.
1979 * string/test-strncmp-ifunc.c: Likewise.
1980 * string/test-strncpy-ifunc.c: Likewise.
1981 * string/test-strnlen-ifunc.c: Likewise.
1982 * string/test-strpbrk-ifunc.c: Likewise.
1983 * string/test-strrchr-ifunc.c: Likewise.
1984 * string/test-strspn-ifunc.c: Likewise.
1985 * string/test-strstr-ifunc.c: Likewise.
1986
19872013-11-26 Ondřej Bílka <neleai@seznam.cz>
1988
1989 * benchtests/Makefile: Remove ifunc tests.
1990 * benchtests/bench-string.h: Define TEST_IFUNC.
1991 * benchtests/bench-bcopy-ifunc.c: Remove.
1992 * benchtests/bench-bzero-ifunc.c: Likewise.
1993 * benchtests/bench-memccpy-ifunc.c: Likewise.
1994 * benchtests/bench-memchr-ifunc.c: Likewise.
1995 * benchtests/bench-memcmp-ifunc.c: Likewise.
1996 * benchtests/bench-memcpy-ifunc.c: Likewise.
1997 * benchtests/bench-memmem-ifunc.c: Likewise.
1998 * benchtests/bench-memmove-ifunc.c: Likewise.
1999 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2000 * benchtests/bench-memrchr-ifunc.c: Likewise.
2001 * benchtests/bench-memset-ifunc.c: Likewise.
2002 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2003 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2004 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2005 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2006 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2007 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2008 * benchtests/bench-strcat-ifunc.c: Likewise.
2009 * benchtests/bench-strchr-ifunc.c: Likewise.
2010 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2011 * benchtests/bench-strcmp-ifunc.c: Likewise.
2012 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2013 * benchtests/bench-strcpy-ifunc.c: Likewise.
2014 * benchtests/bench-strcspn-ifunc.c: Likewise.
2015 * benchtests/bench-strlen-ifunc.c: Likewise.
2016 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2017 * benchtests/bench-strncat-ifunc.c: Likewise.
2018 * benchtests/bench-strncmp-ifunc.c: Likewise.
2019 * benchtests/bench-strncpy-ifunc.c: Likewise.
2020 * benchtests/bench-strnlen-ifunc.c: Likewise.
2021 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2022 * benchtests/bench-strrchr-ifunc.c: Likewise.
2023 * benchtests/bench-strsep-ifunc.c: Likewise.
2024 * benchtests/bench-strspn-ifunc.c: Likewise.
2025 * benchtests/bench-strstr-ifunc.c: Likewise.
2026
20272013-11-26 Ondřej Bílka <neleai@seznam.cz>
2028
2029 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2030
20312013-11-26 Ondřej Bílka <neleai@seznam.cz>
2032
2033 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2034 * rt/aio.h: Likewise.
2035 * sysdeps/gnu/bits/utmp.h: Likewise.
2036 * sysdeps/gnu/bits/utmpx.h: Likewise.
2037 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2038 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2039 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2040 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2041 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2042 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2043 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2044 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2045 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2046 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2047 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2048 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2049 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2051 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2052 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2053 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2054 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2055 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2056 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2057 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2058 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2059 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2060 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2061 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2062 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2063 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2064 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2065 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2066 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2067 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2068 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2069 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2070 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2071 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2072 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2073 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2074 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2075 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2076 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2077 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2078 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2079
20802013-11-25 Carlos O'Donell <carlos@redhat.com>
2081
2082 [BZ #16245]
2083 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2084 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2085
20862013-11-25 Joseph Myers <joseph@codesourcery.com>
2087
2088 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2089 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2090 Likewise.
2091
20922013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2093
2094 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2095 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2096 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2097 (__fesetround): Remove define.
2098 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2099 rounding and exceptions handling.
2100 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2101 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2102 (__fe_nomask_env): Likewise.
2103 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2104 __fegetround instead of fegetround.
2105 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2106 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2107
21082013-11-21 Roland McGrath <roland@hack.frob.com>
2109
2110 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2111 it's there.
2112
2113 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2114
21152013-11-21 Meador Inge <meadori@codesourcery.com>
2116
2117 [BZ #11157]
2118 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2119 (encrypt_r): Likewise.
2120 * malloc/obstack.h (obstack_free): Likewise.
2121 * posix/unistd.h (encrypt): Likewise.
2122
21232013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2124
2125 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2126 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2127 DL_CALL_DT_FINI() that call the functions directly.
2128 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2129 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2130 * elf/dl-fini.c: Likewise.
2131
21322013-11-20 Ondřej Bílka <neleai@seznam.cz>
2133
2134 * malloc/hooks.c (memalign_check): Add alignment rounding.
2135 * malloc/malloc.c (_mid_memalign): New function.
2136 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2137 Implement by calling _mid_memalign.
2138 * manual/probes.texi (Memory Allocation Probes): Remove
2139 memory_valloc_retry and memory_pvalloc_retry.
2140
21412013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2142
2143 * locale/programs/locarchive.c (open_archive): Add const
2144 qualifier to ARCHIVEFNAME and copy default fname to
2145 DEFAULT_FNAME.
2146
2147 [BZ #15601]
2148 * libio/tst-widetext.input: Rename Oriya to Odia.
2149 * locale/iso-639.def: Likewise.
2150
2151 * manual/probes.texi (Mathematical Function Probes): Add
2152 documentation for sin, cos, asin and acos probes.
2153 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2154 (__sin32): Add slowasin probe.
2155 (__cos32): Add slowacos probe.
2156 (__mpsin): Add slowsin probe.
2157 (__mpcos): Add slowcos probe.
2158
21592013-11-19 Joseph Myers <joseph@codesourcery.com>
2160
2161 [BZ #15483]
2162 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2163 thread-local __sim_exceptions_thread and global
2164 __sim_exceptions_global.
2165 (__sim_disabled_exceptions): Change to thread-local
2166 __sim_disabled_exceptions_thread and global
2167 __sim_disabled_exceptions_global.
2168 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2169 and global __sim_round_mode_global.
2170 (__simulate_exceptions): Use thread-local floating-point state and
2171 set global state from it as needed.
2172 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2173 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2174 __sim_round_mode_thread.
2175 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2176 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2177 and global __sim_exceptions_global.
2178 (__sim_disabled_exceptions): Change to thread-local
2179 __sim_disabled_exceptions_thread and global
2180 __sim_disabled_exceptions_global.
2181 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2182 and global __sim_round_mode_global.
2183 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2184 (SIM_SET_GLOBAL): Likewise.
2185 * sysdeps/powerpc/soft-fp/sfp-machine.h
2186 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2187 __sim_round_mode_thread.
2188 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2189 __sim_disabled_exceptions_thread.
2190 (__sim_exceptions): Change to __sim_exceptions_thread.
2191 (__sim_disabled_exceptions): Change to
2192 __sim_disabled_exceptions_thread.
2193 (__sim_round_mode): Change to __sim_round_mode_thread.
2194 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2195 thread-local floating-point state and set global state from it as
2196 needed.
2197 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2198 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2199 (__sim_disabled_exceptions): Remove extern declaration.
2200 (feenableexcept): Use thread-local floating-point state and set
2201 global state from it as needed.
2202 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2203 extern declaration.
2204 (__sim_disabled_exceptions): Likewise.
2205 (__sim_round_mode): Likewise.
2206 (__fegetenv): Use thread-local floating-point state.
2207 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2208 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2209 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2210 floating-point state and set global state from it as needed.
2211 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2212 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2213 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2214 Likewise.
2215 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2216 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2217 Likewise.
2218 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2219 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2220 Use __sim_round_mode_thread.
2221 * math/test-fenv-tls.c: New file.
2222 * math/Makefile (tests): Add test-fenv-tls.
2223 ($(objpfx)test-fenv-tls): Depend on
2224 $(common-objpfx)nptl/libpthread.so.
2225
22262013-11-19 Andreas Schwab <schwab@suse.de>
2227
2228 * locale/programs/locale.c (show_info): Decode wordarray elements.
2229 * locale/categories.def (LC_MONETARY): Add element for
2230 _NL_MONETARY_CRNCYSTR.
2231 * locale/C-monetary.c (conversion_rate): New variable.
2232 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2233 element.
2234
22352013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2236
2237 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2238 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2239
22402013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2241
2242 * elf/Makefile (tst-auxv): New test.
2243 * elf/tst-auxv.c: New
2244 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2245
22462013-11-18 Joseph Myers <joseph@codesourcery.com>
2247
2248 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2249 (hidden_proto): Caller changed.
2250 (hidden_tls_proto): New macro.
2251 (libc_hidden_tls_proto): Likewise.
2252 (rtld_hidden_tls_proto): Likewise.
2253 (libm_hidden_tls_proto): Likewise.
2254 (libresolv_hidden_tls_proto): Likewise.
2255 (librt_hidden_tls_proto): Likewise.
2256 (libdl_hidden_tls_proto): Likewise.
2257 (libnss_files_hidden_tls_proto): Likewise.
2258 (libnsl_hidden_tls_proto): Likewise.
2259 (libnss_nisplus_hidden_tls_proto): Likewise.
2260 (libutil_hidden_tls_proto): Likewise.
2261
22622013-11-18 Ondřej Bílka <neleai@seznam.cz>
2263
2264 [BZ #10253]
2265 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2266 (decompose_rpath): Defer expansion to fillin_rpath.
2267 (_dl_init_paths): Pass linkmap to fillin_rpath.
2268
22692013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2270
2271 * benchtests/Makefile: Add strsep.
2272 * benchtests/bench-strsep.c: New file: strsep benchtest.
2273 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2274
22752013-11-18 Andreas Schwab <schwab@suse.de>
2276
2277 * locale/programs/locale.c (show_info) [case byte]: Check for
2278 '\377' instead of '\177'.
2279 * locale/C-monetary.c (not_available): Always use "\377".
2280 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2281 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2282 detect unavailable sign_posn locale elements.
2283 * locale/localeconv.c (__localeconv): For grouping and
2284 mon_grouping handle "\177" and "\377" like no grouping.
2285 (INT_ELEM): New macro. Use it to set all numeric members.
2286 * locale/programs/ld-monetary.c (monetary_read)
2287 <tok_mon_grouping>: Normalize single -1 to the empty string.
2288 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2289 Likewise.
2290
22912013-11-07 Ondřej Bílka <neleai@seznam.cz>
2292
2293 [BZ #16055]
2294 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2295 when we match (nil).
2296 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2297
22982013-11-16 Joseph Myers <joseph@codesourcery.com>
2299
2300 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2301 (NO_TEST_INLINE): Update value.
2302 (ERRNO_UNCHANGED): Likewise.
2303 (ERRNO_EDOM): Likewise.
2304 (ERRNO_ERANGE): Likewise.
2305 (IGNORE_RESULT): Likewise.
2306 (check_float_internal): Check signs of NaN results if
2307 TEST_NAN_SIGN used.
2308 (check_complex): Pass TEST_NAN_SIGN flag through to second
2309 check_float_internal call.
2310 (copysign_test_data): Add tests with quiet NaNs as second
2311 argument. Use TEST_NAN_SIGN.
2312 (fabs_test_data): Add test of negative quiet NaN argument. Use
2313 TEST_NAN_SIGN.
2314 (signbit_test_data): Add tests of quiet NaN argument.
2315 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2316
2317 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2318 $ignore_result.
2319 (parse_args): Handle function results specified as IGNORE.
2320 * math/libm-test.inc (IGNORE_RESULT): New macro.
2321 (check_float_internal): Do not check numerical result if flag
2322 IGNORE_RESULT set.
2323 (check_complex): Pass through IGNORE_RESULT to second
2324 check_float_internal call.
2325 (check_int): Do not check numerical result if flag IGNORE_RESULT
2326 set.
2327 (check_long): Likewise.
2328 (check_bool): Likewise.
2329 (check_longlong): Likewise.
2330 (lrint_test_data): Add tests of infinite and NaN arguments.
2331 (lrint_tonearest_test_data): Likewise.
2332 (lrint_towardzero_test_data): Likewise.
2333 (lrint_downward_test_data): Likewise.
2334 (lrint_upward_test_data): Likewise.
2335 (llrint_test_data): Likewise.
2336 (llrint_tonearest_test_data): Likewise.
2337 (llrint_towardzero_test_data): Likewise.
2338 (llrint_downward_test_data): Likewise.
2339 (llrint_upward_test_data): Likewise.
2340 (lround_test_data): Likewise.
2341 (llround_test_data): Likewise.
2342
2343 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2344 (ERRNO_UNCHANGED): Update value.
2345 (ERRNO_EDOM): Likewise.
2346 (ERRNO_ERANGE): Likewise.
2347 (NO_TEST_INLINE_FLOAT): New macro.
2348 (NO_TEST_INLINE_DOUBLE): Likewise.
2349 (enable_test): New function.
2350 (RUN_TEST_f_f): Check enable_test before running test.
2351 (RUN_TEST_2_f): Likewise.
2352 (RUN_TEST_fff_f): Likewise.
2353 (RUN_TEST_c_f): Likewise.
2354 (RUN_TEST_f_f1): Likewise.
2355 (RUN_TEST_fF_f1): Likewise.
2356 (RUN_TEST_fI_f1): Likewise.
2357 (RUN_TEST_ffI_f1): Likewise.
2358 (RUN_TEST_c_c): Likewise.
2359 (RUN_TEST_cc_c): Likewise.
2360 (RUN_TEST_f_i): Likewise.
2361 (RUN_TEST_f_i_tg): Likewise.
2362 (RUN_TEST_ff_i_tg): Likewise.
2363 (RUN_TEST_f_b): Likewise.
2364 (RUN_TEST_f_b_tg): Likewise.
2365 (RUN_TEST_f_l): Likewise.
2366 (RUN_TEST_f_L): Likewise.
2367 (RUN_TEST_fFF_11): Likewise.
2368 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2369 conditionals.
2370 (cosh_test_data): Likewise.
2371 (exp_test_data): Likewise.
2372 (expm1_test_data): Likewise.
2373 (hypot_test_data): Likewise.
2374 (pow_test_data): Likewise.
2375 (sinh_test_data): Likewise.
2376 (tanh_test_data): Likewise.
2377 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2378 flags argument.
2379
2380 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2381 tests with quiet NaN input and output.
2382 (acosh_test_data): Likewise.
2383 (asin_test_data): Likewise.
2384 (asinh_test_data): Likewise.
2385 (atan_test_data): Likewise.
2386 (atanh_test_data): Likewise.
2387 (atan2_test_data): Likewise.
2388 (cbrt_test_data): Likewise.
2389 (cos_test_data): Likewise.
2390 (cosh_test_data): Likewise.
2391 (erf_test_data): Likewise.
2392 (erfc_test_data): Likewise.
2393 (exp_test_data): Likewise.
2394 (exp10_test_data): Likewise.
2395 (exp2_test_data): Likewise.
2396 (expm1_test_data): Likewise.
2397 (hypot_test_data): Likewise.
2398 (j0_test_data): Likewise.
2399 (j1_test_data): Likewise.
2400 (jn_test_data): Likewise.
2401 (lgamma_test_data): Likewise.
2402 (log_test_data): Likewise.
2403 (log10_test_data): Likewise.
2404 (log1p_test_data): Likewise.
2405 (log2_test_data): Likewise.
2406 (pow_test_data): Likewise.
2407 (scalb_test_data): Likewise.
2408 (sin_test_data): Likewise.
2409 (sincos_test_data): Likewise.
2410 (sinh_test_data): Likewise.
2411 (tan_test_data): Likewise.
2412 (tanh_test_data): Likewise.
2413 (tgamma_test_data): Likewise.
2414 (y0_test_data): Likewise.
2415 (y1_test_data): Likewise.
2416 (yn_test_data): Likewise.
2417
2418 [BZ #16167]
2419 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2420 argument being NaN and avoid computations with second argument in
2421 that case.
2422 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2423 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2424 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2425
24262013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2427
2428 * locale/iso-639.def: Add Chitwani Tharu (the).
2429
24302013-11-14 Andreas Schwab <schwab@suse.de>
2431
2432 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2433 word instead of empty string.
2434
24352013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2436
2437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2438 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2440 (__fe_nomask_env): Likewise.
2441
24422013-11-13 Steve Ellcey <sellcey@mips.com>
2443
2444 * benchtests/bench-timing.h: Include time.h.
2445
24462013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2447
2448 [BZ #15997]
2449 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2450 to 3.4.0 for x32.
2451 * sysdeps/unix/sysv/linux/configure: Regenerated.
2452
24532013-11-13 Joseph Myers <joseph@codesourcery.com>
2454
2455 [BZ #16151]
2456 * stdlib/strtod_l.c (round_and_return): Do not consider
2457 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2458 exponent one less than half the least subnormal exponent.
2459 * stdlib/test-strtod-round-data: Add more tests.
2460 * stdlib/tst-strtod-round.c (tests): Regenerated.
2461
24622013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2463
2464 [BZ #14143]
2465 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2466 (__fe_mask_env): Likewise.
2467 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2468 libm_hidden_proto and add function prototype.
2469 (__fe_mask_env): Add function prototype.
2470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2471 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2473 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2475 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2476
24772013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2478
2479 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2480 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2481
24822013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2483
2484 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2485 of htab_find_slot().
2486
24872013-11-11 David S. Miller <davem@davemloft.net>
2488
2489 [BZ #16150]
2490 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2491 symbol in the non-vis3 case in static builds.
2492 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2493 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2494 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2495 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2496
24972013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2498
2499 [BZ #387]
2500 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2501 it is empty.
2502
25032013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2504
2505 * benchtests/Makefile: Add bench-strtod.
2506 * benchtests/bench-strtod.c: New file: strtod benchtest
2507
25082013-11-11 Andreas Schwab <schwab@suse.de>
2509
2510 [BZ #16153]
2511 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2512 terminating NUL in key length.
2513
25142013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2515
2516 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2517 Add artificial ODP entry for vDSO symbol for PPC64.
2518 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2519 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2520
25212013-11-07 Ondřej Bílka <neleai@seznam.cz>
2522
2523 [BZ #15374]
2524 * nss/getent.c (services_keys): Recognize services starting with digit.
2525
25262013-11-06 David S. Miller <davem@davemloft.net>
2527
2528 [BZ #15985]
2529 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2530 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2531
25322013-11-06 Will Newton <will.newton@linaro.org>
2533
2534 * manual/memory.texi (Malloc Examples): Remove register
2535 keyword from examples.
2536
25372013-11-04 Chris Leonard <cjl@sugarlabs.org>
2538
2539 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2540
25412013-11-04 Joseph Myers <joseph@codesourcery.com>
2542
2543 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2544 depending on [__GCC_IEC_559 > 0].
2545 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2546 depending on [__GCC_IEC_559_COMPLEX > 0].
2547
25482013-11-03 Chris Leonard <cjl@sugarlabs.org>
2549
2550 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2551 to iso-639.def.
2552
25532013-11-03 Ondřej Bílka <neleai@seznam.cz>
2554
2555 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2556
25572013-11-01 Ondřej Bílka <neleai@seznam.cz>
2558
2559 [BZ #16112]
2560 * malloc/malloc (malloc_info): Do not handle first bin as
2561 special case.
2562
25632013-11-01 Chris Leonard <cjl@sugarlabs.org>
2564
2565 * locale/iso-639.def: Add Central Nahuatl (nhn).
2566
25672013-11-01 Bruno Haible <bruno@clisp.org>
2568
2569 [BZ #7003]
2570 * manual/math.texi (BSD Random): Specify range upper bound as
2571 in POSIX.
2572
25732013-10-31 Chris Leonard <cjl@sugarlabs.org>
2574
2575 * locale/iso-639.def: Add Meadow Mari (mhr).
2576
25772013-10-31 Ondřej Bílka <neleai@seznam.cz>
2578
2579 [BZ #14752], [BZ #15763]
2580 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2581 Validate name.
2582 * rt/tst_shm.c: Add test for escaping directory.
2583
25842013-10-31 Andreas Schwab <schwab@suse.de>
2585
2586 [BZ #15917]
2587 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2588 followed by 'x' as part of digit sequence.
2589 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2590
25912013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2592
2593 [BZ #16037]
2594 * configure.ac: allow GNU Make 4.0 and greater.
2595 * configure: Regenerated.
2596
25972013-10-30 Will Newton <will.newton@linaro.org>
2598
2599 [BZ #16038]
2600 * malloc/hooks.c (memalign_check): Limit alignment to the
2601 maximum representable power of two.
2602 * malloc/malloc.c (__libc_memalign): Likewise.
2603 * malloc/tst-memalign.c (do_test): Add test for very
2604 large alignment values.
2605 * malloc/tst-posix_memalign.c (do_test): Likewise.
2606
26072013-10-30 Ondřej Bílka <neleai@seznam.cz>
2608
2609 [BZ #11087]
2610 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2611 (munmap_chunk): Likewise.
2612 (mremap_chunk): Likewise.
2613
26142013-10-30 Ondřej Bílka <neleai@seznam.cz>
2615
2616 [BZ #15799]
2617 * stdlib/div.c (div): Remove obsolete code.
2618 * stdlib/ldiv.c (ldiv): Likewise.
2619 * stdlib/lldiv.c (lldiv): Likewise.
2620
26212013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2622
2623 [BZ #16071]
2624 * nss/nss_files/files-XXX.c (get_contents_ret): New
2625 enumerator.
2626 (get_contents): New function.
2627 (internal_getent): Use it. Expand size of LINEBUFLEN.
2628
26292013-10-30 Mike Frysinger <vapier@gentoo.org>
2630
2631 * configure.in: Moved to ...
2632 * configure.ac: ... here. Change reference to configure.in
2633 to configure.ac.
2634 * sysdeps/arm/preconfigure.ac: ... here.
2635 configure.in to configure.ac.
2636 * sysdeps/gnu/configure.in: Moved to ...
2637 * sysdeps/gnu/configure.ac: ... here.
2638 * sysdeps/i386/configure.in: Moved to ...
2639 * sysdeps/i386/configure.ac: ... here.
2640 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2641 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2642 * sysdeps/mach/configure.in: Moved to ...
2643 * sysdeps/mach/configure.ac: ... here.
2644 * sysdeps/mach/hurd/configure.in: Moved to ...
2645 * sysdeps/mach/hurd/configure.ac: ... here.
2646 * sysdeps/powerpc/configure.in: Moved to ...
2647 * sysdeps/powerpc/configure.ac: ... here.
2648 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2649 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2650 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2651 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2652 * sysdeps/s390/s390-32/configure.in: Moved to ...
2653 * sysdeps/s390/s390-32/configure.ac: ... here.
2654 * sysdeps/s390/s390-64/configure.in: Moved to ...
2655 * sysdeps/s390/s390-64/configure.ac: ... here.
2656 * sysdeps/sh/configure.in: Moved to ...
2657 * sysdeps/sh/configure.ac: ... here.
2658 * sysdeps/sparc/configure.in: Moved to ...
2659 * sysdeps/sparc/configure.ac: ... here.
2660 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2661 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2662 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2663 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2664 * sysdeps/x86_64/configure.in: Moved to ...
2665 * sysdeps/x86_64/configure.ac: ... here.
2666 * sysdeps/x86_64/preconfigure.in: Moved to ...
2667 * sysdeps/x86_64/preconfigure.ac: ... here.
2668 * aclocal.m4: Change reference to configure.in to configure.ac.
2669 * config.h.in: Likewise.
2670 * manual/install.texi: Likewise.
2671 * manual/maint.texi: Likewise.
2672 * Makefile: Likewise.
2673 * malloc/Makefile: Likewise.
2674 * nscd/Makefile: Likewise.
2675 * Makeconfig: Change reference to configure.in and
2676 preconfigure.in to configure.ac and preconfigure.ac
2677 respectively.
2678 * INSTALL: Regenerated.
2679 * configure: Likewise.
2680 * sysdeps/gnu/configure: Likewise.
2681 * sysdeps/i386/configure: Likewise.
2682 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2683 * sysdeps/mach/configure: Likewise.
2684 * sysdeps/mach/hurd/configure: Likewise.
2685 * sysdeps/powerpc/configure: Likewise.
2686 * sysdeps/powerpc/powerpc32/configure: Likewise.
2687 * sysdeps/powerpc/powerpc64/configure: Likewise.
2688 * sysdeps/s390/s390-32/configure: Likewise.
2689 * sysdeps/s390/s390-64/configure: Likewise.
2690 * sysdeps/sh/configure: Likewise.
2691 * sysdeps/sparc/configure: Likewise.
2692 * sysdeps/unix/sysv/linux/configure: Likewise.
2693 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2694 * sysdeps/x86_64/configure: Likewise.
2695 * sysdeps/x86_64/preconfigure: Likewise.
2696
26972013-10-29 Andreas Schwab <schwab@suse.de>
2698
2699 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2700
27012013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2702
2703 * benchtests/pow-inputs: Add new inputs.
2704
2705 * benchtests/exp-inputs: Add new inputs.
2706
2707 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2708 conditional check for return value.
2709 (__cos32): Likewise.
2710
27112013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2712
2713 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2714 to provide a boost for large inputs with word alignment.
2715 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2716 implementation based on optimized PPC64 strcpy.
2717 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2718 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2719 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2720 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2721
27222013-10-25 Ondřej Bílka <neleai@seznam.cz>
2723
2724 [BZ #2801]
2725 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2726
27272013-10-25 Ondřej Bílka <neleai@seznam.cz>
2728
2729 [BZ #14876]
2730 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2731 * time/tst-strptime.c (day_tests): Add testcase.
2732
27332013-10-25 Ondřej Bílka <neleai@seznam.cz>
2734
2735 [BZ #14029]
2736 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2737
27382013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2739
2740 [BZ #16074]
2741 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2742 MAP_FAILED on error.
2743
27442013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2745
2746 [BZ #16072]
2747 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2748 heap for large requests.
2749
27502013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2751
2752 [BZ #9954]
2753 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2754 result if the result has no associated interface.
2755 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2756 interface for all 127.X.Y.Z addresses.
2757
27582013-10-24 Chris Leonard <cjl@sugarlabs.org>
2759
2760 * locale/iso-639.def: Add Ligurian (lij)
2761
27622013-10-21 Ondřej Bílka <neleai@seznam.cz>
2763
2764 [BZ #15825]
2765 * sunrpc/rpc_main.c: Document rpcgen -5.
2766
27672013-10-19 Michael Stahl <mstahl@redhat.com>
2768
2769 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2770
27712013-10-19 Ondřej Bílka <neleai@seznam.cz>
2772
2773 [BZ #10278]
2774 * posix/glob.c: Match only directories when trailing slash is present.
2775 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2776 (main): Add testcase.
2777
27782013-10-19 Ondřej Bílka <neleai@seznam.cz>
2779
2780 [BZ #15670]
2781 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2782
27832013-10-18 Carlos O'Donell <carlos@redhat.com>
2784
2785 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2786 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2787 AUTH_DES and cindex for FIPS 140-2.
2788 (DES Encryption): Add cindex FIPS 46-3.
2789
2790 * locale/locarchive.h (struct locarhandle): Add fname.
2791 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2792 if an optional argument was specified to --list-archive,
2793 otherwise NULL.
2794 * locale/programs/locarchive.c (show_archive_content): Take new
2795 argument fname and pass it via ah.fname to open_archive.
2796 * locale/programs/localedef.h: Update decl.
2797 (open_archive): If AH->fname is non-null, open that file
2798 rather than the default file name, and don't ignore ENOENT.
2799 (create_archive): Set AH.fname to NULL.
2800 (delete_locales_from_archive): Likewise.
2801 (add_locales_to_archive): Likewise.
2802 * locale/programs/locfile.c (write_all_categories): Likewise.
2803
28042013-10-18 Joseph Myers <joseph@codesourcery.com>
2805 Aldy Hernandez <aldyh@redhat.com>
2806
2807 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2808 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2809 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2810 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2811 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2812 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2813 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2814 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2815 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2816 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2817 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2818 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2819 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2820 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2821 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2822 Likewise.
2823 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2824 Likewise.
2825 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2826 Likewise.
2827 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2828 Likewise.
2829 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2830 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2831 Likewise.
2832 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2833 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2834 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2835 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2836 Likewise.
2837 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2838 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2839 * sysdeps/powerpc/preconfigure: Likewise.
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2841 Likewise.
2842 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2843 Replace contents of file by #include of <fenv_libc.h>.
2844 * sysdeps/powerpc/soft-fp/sfp-machine.h
2845 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2846 and <sys/prctl.h>.
2847 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2848 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2849 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2850 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2851 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2852 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2854 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2855 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2856 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2857 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2858 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2860 Allow copysignl PLT reference to be missing.
2861
28622013-10-18 Richard Sandiford <richard@codesourcery.com>
2863 Joseph Myers <joseph@codesourcery.com
2864
2865 [BZ #15948]
2866 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2867 single character.
2868 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2869
28702013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2871
2872 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2873 * elf/tst-tls1.c: Likewise.
2874 * elf/tst-tls10.h: Likewise.
2875 * elf/tst-tls14.c: Likewise.
2876 * elf/tst-tls2.c: Likewise.
2877 * elf/tst-tls3.c: Likewise.
2878 * elf/tst-tls4.c: Likewise.
2879 * elf/tst-tls5.c: Likewise.
2880 * elf/tst-tls6.c: Likewise.
2881 * elf/tst-tls7.c: Likewise.
2882 * elf/tst-tls8.c: Likewise.
2883 * elf/tst-tls9.c: Likewise.
2884 * elf/tst-tlsmod1.c: Likewise.
2885 * elf/tst-tlsmod13.c: Likewise.
2886 * elf/tst-tlsmod13a.c: Likewise.
2887 * elf/tst-tlsmod14a.c: Likewise.
2888 * elf/tst-tlsmod16a.c: Likewise.
2889 * elf/tst-tlsmod16b.c: Likewise.
2890 * elf/tst-tlsmod2.c: Likewise.
2891 * elf/tst-tlsmod3.c: Likewise.
2892 * elf/tst-tlsmod4.c: Likewise.
2893 * elf/tst-tlsmod5.c: Likewise.
2894 * elf/tst-tlsmod6.c: Likewise.
2895
28962013-10-18 Ondřej Bílka <neleai@seznam.cz>
2897
2898 [BZ #12486]
2899 * malloc/malloc.c: remove checks for statistics.
2900
29012013-10-17 Ondřej Bílka <neleai@seznam.cz>
2902
2903 [BZ #15277]
2904 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2905 * inet/tst-network.c: Add testcase.
2906
29072013-10-17 Andreas Schwab <schwab@suse.de>
2908
2909 [BZ #15218]
2910 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2911 to determine canonical name.
2912
29132013-10-17 Ondřej Bílka <neleai@seznam.cz>
2914
2915 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2916 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2917 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2918 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2919 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2920 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2921 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2922 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2923 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2924 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2925 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2926 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2927 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2928 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2929 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2930 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2931 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2932 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2933 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2934 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2935 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2936 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2937 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2938 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2939 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2940 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2941 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2942 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2943 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2944 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2945 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2946 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2947 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2948 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2949 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2950 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2951 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2952 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2953 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2954 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2955 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2956 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2957 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2958 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2959 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2960 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2961 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2962 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2963 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2964 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2965 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2966 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2967 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2968 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2969 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2970 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2971 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2972 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2973
29742013-10-17 Joseph Myers <joseph@codesourcery.com>
2975
2976 [BZ #16041]
2977 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2978 make result into a quiet NaN.
2979
29802013-10-16 Joseph Myers <joseph@codesourcery.com>
2981
2982 * soft-fp/adddf3.c: Fix horizontal whitespace.
2983 * soft-fp/addsf3.c: Likewise.
2984 * soft-fp/addtf3.c: Likewise.
2985 * soft-fp/divdf3.c: Likewise.
2986 * soft-fp/divsf3.c: Likewise.
2987 * soft-fp/divtf3.c: Likewise.
2988 * soft-fp/double.h: Likewise.
2989 * soft-fp/eqdf2.c: Likewise.
2990 * soft-fp/eqsf2.c: Likewise.
2991 * soft-fp/eqtf2.c: Likewise.
2992 * soft-fp/extenddftf2.c: Likewise.
2993 * soft-fp/extended.h: Likewise.
2994 * soft-fp/extendsfdf2.c: Likewise.
2995 * soft-fp/extendsftf2.c: Likewise.
2996 * soft-fp/extendxftf2.c: Likewise.
2997 * soft-fp/fixdfdi.c: Likewise.
2998 * soft-fp/fixdfsi.c: Likewise.
2999 * soft-fp/fixdfti.c: Likewise.
3000 * soft-fp/fixsfdi.c: Likewise.
3001 * soft-fp/fixsfsi.c: Likewise.
3002 * soft-fp/fixsfti.c: Likewise.
3003 * soft-fp/fixtfdi.c: Likewise.
3004 * soft-fp/fixtfsi.c: Likewise.
3005 * soft-fp/fixtfti.c: Likewise.
3006 * soft-fp/fixunsdfdi.c: Likewise.
3007 * soft-fp/fixunsdfsi.c: Likewise.
3008 * soft-fp/fixunsdfti.c: Likewise.
3009 * soft-fp/fixunssfdi.c: Likewise.
3010 * soft-fp/fixunssfsi.c: Likewise.
3011 * soft-fp/fixunssfti.c: Likewise.
3012 * soft-fp/fixunstfdi.c: Likewise.
3013 * soft-fp/fixunstfsi.c: Likewise.
3014 * soft-fp/fixunstfti.c: Likewise.
3015 * soft-fp/floatdidf.c: Likewise.
3016 * soft-fp/floatdisf.c: Likewise.
3017 * soft-fp/floatditf.c: Likewise.
3018 * soft-fp/floatsidf.c: Likewise.
3019 * soft-fp/floatsisf.c: Likewise.
3020 * soft-fp/floatsitf.c: Likewise.
3021 * soft-fp/floattidf.c: Likewise.
3022 * soft-fp/floattisf.c: Likewise.
3023 * soft-fp/floattitf.c: Likewise.
3024 * soft-fp/floatundidf.c: Likewise.
3025 * soft-fp/floatundisf.c: Likewise.
3026 * soft-fp/floatunditf.c: Likewise.
3027 * soft-fp/floatunsidf.c: Likewise.
3028 * soft-fp/floatunsisf.c: Likewise.
3029 * soft-fp/floatunsitf.c: Likewise.
3030 * soft-fp/floatuntidf.c: Likewise.
3031 * soft-fp/floatuntisf.c: Likewise.
3032 * soft-fp/floatuntitf.c: Likewise.
3033 * soft-fp/fmadf4.c: Likewise.
3034 * soft-fp/fmasf4.c: Likewise.
3035 * soft-fp/fmatf4.c: Likewise.
3036 * soft-fp/gedf2.c: Likewise.
3037 * soft-fp/gesf2.c: Likewise.
3038 * soft-fp/getf2.c: Likewise.
3039 * soft-fp/ledf2.c: Likewise.
3040 * soft-fp/lesf2.c: Likewise.
3041 * soft-fp/letf2.c: Likewise.
3042 * soft-fp/muldf3.c: Likewise.
3043 * soft-fp/mulsf3.c: Likewise.
3044 * soft-fp/multf3.c: Likewise.
3045 * soft-fp/negdf2.c: Likewise.
3046 * soft-fp/negsf2.c: Likewise.
3047 * soft-fp/negtf2.c: Likewise.
3048 * soft-fp/op-1.h: Likewise.
3049 * soft-fp/op-2.h: Likewise.
3050 * soft-fp/op-4.h: Likewise.
3051 * soft-fp/op-8.h: Likewise.
3052 * soft-fp/op-common.h: Likewise.
3053 * soft-fp/quad.h: Likewise.
3054 * soft-fp/single.h: Likewise.
3055 * soft-fp/soft-fp.h: Likewise.
3056 * soft-fp/sqrtdf2.c: Likewise.
3057 * soft-fp/sqrtsf2.c: Likewise.
3058 * soft-fp/sqrttf2.c: Likewise.
3059 * soft-fp/subdf3.c: Likewise.
3060 * soft-fp/subsf3.c: Likewise.
3061 * soft-fp/subtf3.c: Likewise.
3062 * soft-fp/truncdfsf2.c: Likewise.
3063 * soft-fp/trunctfdf2.c: Likewise.
3064 * soft-fp/trunctfsf2.c: Likewise.
3065 * soft-fp/trunctfxf2.c: Likewise.
3066 * soft-fp/unorddf2.c: Likewise.
3067 * soft-fp/unordsf2.c: Likewise.
3068 * soft-fp/unordtf2.c: Likewise.
3069
30702013-10-15 Joseph Myers <joseph@codesourcery.com>
3071
3072 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3073 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3074
30752013-10-15 Ondřej Bílka <neleai@seznam.cz>
3076
3077 * elf/dl-libc.c: Clear initfini list after freeing.
3078
30792013-10-14 Joseph Myers <joseph@codesourcery.com>
3080
3081 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3082 * soft-fp/addsf3.c: Likewise.
3083 * soft-fp/addtf3.c: Likewise.
3084 * soft-fp/divdf3.c: Likewise.
3085 * soft-fp/divsf3.c: Likewise.
3086 * soft-fp/divtf3.c: Likewise.
3087 * soft-fp/double.h: Likewise.
3088 * soft-fp/eqdf2.c: Likewise.
3089 * soft-fp/eqsf2.c: Likewise.
3090 * soft-fp/eqtf2.c: Likewise.
3091 * soft-fp/extenddftf2.c: Likewise.
3092 * soft-fp/extended.h: Likewise.
3093 * soft-fp/extendsfdf2.c: Likewise.
3094 * soft-fp/extendsftf2.c: Likewise.
3095 * soft-fp/extendxftf2.c: Likewise.
3096 * soft-fp/fixdfdi.c: Likewise.
3097 * soft-fp/fixdfsi.c: Likewise.
3098 * soft-fp/fixdfti.c: Likewise.
3099 * soft-fp/fixsfdi.c: Likewise.
3100 * soft-fp/fixsfsi.c: Likewise.
3101 * soft-fp/fixsfti.c: Likewise.
3102 * soft-fp/fixtfdi.c: Likewise.
3103 * soft-fp/fixtfsi.c: Likewise.
3104 * soft-fp/fixtfti.c: Likewise.
3105 * soft-fp/fixunsdfdi.c: Likewise.
3106 * soft-fp/fixunsdfsi.c: Likewise.
3107 * soft-fp/fixunsdfti.c: Likewise.
3108 * soft-fp/fixunssfdi.c: Likewise.
3109 * soft-fp/fixunssfsi.c: Likewise.
3110 * soft-fp/fixunssfti.c: Likewise.
3111 * soft-fp/fixunstfdi.c: Likewise.
3112 * soft-fp/fixunstfsi.c: Likewise.
3113 * soft-fp/fixunstfti.c: Likewise.
3114 * soft-fp/floatdidf.c: Likewise.
3115 * soft-fp/floatdisf.c: Likewise.
3116 * soft-fp/floatditf.c: Likewise.
3117 * soft-fp/floatsidf.c: Likewise.
3118 * soft-fp/floatsisf.c: Likewise.
3119 * soft-fp/floatsitf.c: Likewise.
3120 * soft-fp/floattidf.c: Likewise.
3121 * soft-fp/floattisf.c: Likewise.
3122 * soft-fp/floattitf.c: Likewise.
3123 * soft-fp/floatundidf.c: Likewise.
3124 * soft-fp/floatundisf.c: Likewise.
3125 * soft-fp/floatunsidf.c: Likewise.
3126 * soft-fp/floatunsisf.c: Likewise.
3127 * soft-fp/floatuntidf.c: Likewise.
3128 * soft-fp/floatuntisf.c: Likewise.
3129 * soft-fp/floatuntitf.c: Likewise.
3130 * soft-fp/fmadf4.c: Likewise.
3131 * soft-fp/fmasf4.c: Likewise.
3132 * soft-fp/fmatf4.c: Likewise.
3133 * soft-fp/gedf2.c: Likewise.
3134 * soft-fp/gesf2.c: Likewise.
3135 * soft-fp/getf2.c: Likewise.
3136 * soft-fp/ledf2.c: Likewise.
3137 * soft-fp/lesf2.c: Likewise.
3138 * soft-fp/letf2.c: Likewise.
3139 * soft-fp/muldf3.c: Likewise.
3140 * soft-fp/mulsf3.c: Likewise.
3141 * soft-fp/multf3.c: Likewise.
3142 * soft-fp/negdf2.c: Likewise.
3143 * soft-fp/negsf2.c: Likewise.
3144 * soft-fp/negtf2.c: Likewise.
3145 * soft-fp/op-1.h: Likewise.
3146 * soft-fp/op-2.h: Likewise.
3147 * soft-fp/op-4.h: Likewise.
3148 * soft-fp/op-8.h: Likewise.
3149 * soft-fp/op-common.h: Likewise.
3150 * soft-fp/quad.h: Likewise.
3151 * soft-fp/single.h: Likewise.
3152 * soft-fp/soft-fp.h: Likewise.
3153 * soft-fp/sqrtdf2.c: Likewise.
3154 * soft-fp/sqrtsf2.c: Likewise.
3155 * soft-fp/sqrttf2.c: Likewise.
3156 * soft-fp/subdf3.c: Likewise.
3157 * soft-fp/subsf3.c: Likewise.
3158 * soft-fp/subtf3.c: Likewise.
3159 * soft-fp/truncdfsf2.c: Likewise.
3160 * soft-fp/trunctfdf2.c: Likewise.
3161 * soft-fp/trunctfsf2.c: Likewise.
3162 * soft-fp/trunctfxf2.c: Likewise.
3163 * soft-fp/unorddf2.c: Likewise.
3164 * soft-fp/unordsf2.c: Likewise.
3165 * soft-fp/unordtf2.c: Likewise.
3166
31672013-10-14 Ondřej Bílka <neleai@seznam.cz>
3168
3169 [BZ #15672]
3170 * misc/error.c (error_tail): Fix possible buffer overflow.
3171
31722013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3173
3174 [BZ #13028]
3175 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3176 address.
3177
31782013-10-14 P. J. McDermott <pj@pehjota.net>
3179
3180 [BZ #832]
3181 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3182 testing pipefail option.
3183
31842013-10-12 Joseph Myers <joseph@codesourcery.com>
3185
3186 * soft-fp/double.h: Indent preprocessor directives inside #if.
3187 * soft-fp/extended.h: Likewise.
3188 * soft-fp/op-2.h: Likewise.
3189 * soft-fp/op-4.h: Likewise.
3190 * soft-fp/op-common.h: Likewise.
3191 * soft-fp/quad.h: Likewise.
3192 * soft-fp/single.h: Likewise.
3193 * soft-fp/soft-fp.h: Likewise.
3194
31952013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3196
3197 * iconv/iconv_prog.c: Fix typos.
3198 * stdio-common/psiginfo-data.h: Likewise.
3199
32002013-10-12 Reuben Thomas <rrt@sc3d.org>
3201
3202 [BZ #15764]
3203 * locale/setlocale.c: Fix typo.
3204
32052013-10-12 Joseph Myers <joseph@codesourcery.com>
3206
3207 [BZ #16036]
3208 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3209 signaling NaN arguments.
3210 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3211 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3212
3213 [BZ #14910]
3214 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3215 unordered operands.
3216 * soft-fp/gesf2.c (__gesf2): Likewise.
3217 * soft-fp/getf2.c (__getf2): Likewise.
3218 * soft-fp/ledf2.c (__ledf2): Likewise.
3219 * soft-fp/lesf2.c (__lesf2): Likewise.
3220 * soft-fp/letf2.c (__letf2): Likewise.
3221
3222 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3223 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3224 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3225 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3226 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3227 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3228 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3229 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3230 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3231 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3232 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3233 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3234 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3235 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3236 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3237 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3238 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3239 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3240 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3241 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3242 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3243 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3244 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3245 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3246 * soft-fp/floattidf.c (__floattidf): Likewise.
3247 * soft-fp/floattisf.c (__floattisf): Likewise.
3248 * soft-fp/floattitf.c (__floattitf): Likewise.
3249 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3250 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3251 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3252 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3253 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3254 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3255 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3256 * soft-fp/gesf2.c (__gesf2): Likewise.
3257 * soft-fp/getf2.c (__getf2): Likewise.
3258 * soft-fp/ledf2.c (__ledf2): Likewise.
3259 * soft-fp/lesf2.c (__lesf2): Likewise.
3260 * soft-fp/letf2.c (__letf2): Likewise.
3261
3262 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3263 Undefine and redefine.
3264 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3265 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3266 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3267 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3268 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3269 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3270 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3271 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3272 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3273 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3274 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3275 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3276 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3277 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3278 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3279
3280 [BZ #16032]
3281 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3282 without decrementing exponent if mantissa >= that for the
3283 denominator, not >.
3284 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3285 denominator, not >. Decrement exponent in < case instead of
3286 incrementing in >= case.
3287 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3288 without decrementing exponent if mantissa >= that for the
3289 denominator, not >.
3290
3291 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3292 computing saturated result for unsigned overflow.
3293
32942013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3295 Jeff Law <law@redhat.com>
3296
3297 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3298 (atan2Mp): Add systemtap probe marker.
3299 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3300 (__ieee754_log): Add systemtap probe marker.
3301 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3302 (atanMp): Add systemtap probe marker.
3303 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3304 (tanMp): Add systemtap probe marker.
3305 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3306 (__slowexp): Add systemtap probe marker.
3307 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3308 (__slowpow): Add systemtap probe marker.
3309 * manual/probes.texi: Document probes.
3310
33112013-10-11 Eric Biggers <ebiggers3@gmail.com>
3312
3313 [BZ #15362]
3314 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3315 written.
3316 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3317 written.
3318 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3319 written to buffer but not flushed.
3320 * libio/iofwrite_u.c: Likewise.
3321 * libio/iopadn.c: Return bytes returned even if EOF was
3322 encountered.
3323 * libio/iowpadn.c: Likewise.
3324 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3325 if _IO_padn does not write the whole buffer.
3326 [!COMPILE_WPRINTF] (PAD): Likewise.
3327
33282013-10-10 David S. Miller <davem@davemloft.net>
3329
3330 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3331 directory block.
3332
33332013-10-10 Joseph Myers <joseph@codesourcery.com>
3334
3335 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3336 instead of FSF address.
3337 * soft-fp/fixdfti.c: Likewise.
3338 * soft-fp/fixsfti.c: Likewise.
3339 * soft-fp/fixtfti.c: Likewise.
3340 * soft-fp/fixunsdfti.c: Likewise.
3341 * soft-fp/fixunssfti.c: Likewise.
3342 * soft-fp/fixunstfti.c: Likewise.
3343 * soft-fp/floattidf.c: Likewise.
3344 * soft-fp/floattisf.c: Likewise.
3345 * soft-fp/floattitf.c: Likewise.
3346 * soft-fp/floatuntidf.c: Likewise.
3347 * soft-fp/floatuntisf.c: Likewise.
3348 * soft-fp/floatuntitf.c: Likewise.
3349 * soft-fp/trunctfxf2.c: Likewise.
3350
3351 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3352 * soft-fp/fixdfti.c: Likewise.
3353 * soft-fp/fixsfti.c: Likewise.
3354 * soft-fp/fixtfti.c: Likewise.
3355 * soft-fp/fixunsdfti.c: Likewise.
3356 * soft-fp/fixunssfti.c: Likewise.
3357 * soft-fp/fixunstfti.c: Likewise.
3358 * soft-fp/floattidf.c: Likewise.
3359 * soft-fp/floattisf.c: Likewise.
3360 * soft-fp/floattitf.c: Likewise.
3361 * soft-fp/floatuntidf.c: Likewise.
3362 * soft-fp/floatuntisf.c: Likewise.
3363 * soft-fp/floatuntitf.c: Likewise.
3364 * soft-fp/trunctfxf2.c: Likewise.
3365
33662013-10-10 David S. Miller <davem@davemloft.net>
3367
3368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3369
33702013-10-10 Joseph Myers <joseph@codsourcery.com>
3371
3372 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3373 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3374 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3375 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3376 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3377 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3378 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3379
3380 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3381 for NaNs before doing comparisons on argument.
3382 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3383 Likewise.
3384
33852013-10-10 Will Newton <will.newton@linaro.org>
3386
3387 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3388 passed to _int_memalign does not overflow.
3389
33902013-10-10 Torvald Riegel <triegel@redhat.com>
3391
3392 * scripts/bench.pl: Add include-sources directive.
3393 * benchtests/README: Update documentation.
3394
33952013-10-10 Joseph Myers <joseph@codesourcery.com>
3396
3397 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3398 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3399 instead of FP_INIT_ROUNDMODE.
3400 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3401 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3402
3403 [BZ #16034]
3404 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3405 copy class of input value.
3406 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3407 not handle exceptions.
3408 * soft-fp/negsf2.c (__negsf2): Likewise.
3409 * soft-fp/negtf2.c (__negtf2): Likewise.
3410 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3411
34122013-10-09 Joseph Myers <joseph@codesourcery.com>
3413
3414 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3415 semicolon. From Linux kernel.
3416
34172013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3418
3419 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3420
34212013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3422
3423 [BZ #156]
3424 * manual/socket.texi: Added statement about buffer
3425 for gethostbyname2_r.
3426
34272013-10-08 Ondřej Bílka <neleai@seznam.cz>
3428
3429 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3430 Use .p2align directive instead, throughout.
3431 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3432 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3433 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3434 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3435 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3436 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3437 * sysdeps/x86_64/strchr.S: Likewise.
3438 * sysdeps/x86_64/strrchr.S: Likewise.
3439
34402013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3441
3442 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3443
3444 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3445
3446 * sysdeps/generic/math_private.h (__mpsin1): Remove
3447 declaration.
3448 (__mpcos1): Likewise.
3449 (__mpsin): New argument __range_reduce.
3450 (__mpcos): Likewise.
3451 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3452 (slow): Use __mpsin and __mpcos.
3453 (slow1): Likewise.
3454 (slow2): Likewise.
3455 (sloww): Likewise.
3456 (sloww1): Likewise.
3457 (sloww2): Likewise.
3458 (bsloww): Likewise.
3459 (bsloww1): Likewise.
3460 (bsloww2): Likewise.
3461 (cslow2): Likewise.
3462 (csloww): Likewise.
3463 (csloww1): Likewise.
3464 (csloww2): Likewise.
3465 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3466 range_reduce. Merge in __mpsin1.
3467 (__mpcos): Likewise.
3468 (__mpsin1): Remove.
3469 (__mpcos1): Likewise.
3470
34712013-10-07 Joseph Myers <joseph@codesourcery.com>
3472
3473 * locale/loadlocale.c (_nl_intern_locale_data): Use
3474 LOCFILE_ALIGNED_P.
3475 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3476 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3477 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3478 obstack data is appropriately aligned.
3479 (obstack_int32_grow_fast): Likewise.
3480 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3481 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3482 (add_locale_uint32_array): Likewise.
3483
34842013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3485
3486 * benchtests/Makefile: Remove ARGLIST and RET variables.
3487 ($(objpfx)bench-%.c): Pass only function name to the script.
3488 * benchtests/README: Update documentation.
3489 * benchtests/acos-inputs: Add new directives.
3490 * benchtests/acosh-inputs: Likewise.
3491 * benchtests/asin-inputs: Likewise.
3492 * benchtests/asinh-inputs: Likewise.
3493 * benchtests/atan-inputs: Likewise.
3494 * benchtests/atanh-inputs: Likewise.
3495 * benchtests/cos-inputs: Likewise.
3496 * benchtests/cosh-inputs: Likewise.
3497 * benchtests/exp-inputs: Likewise.
3498 * benchtests/log-inputs: Likewise.
3499 * benchtests/pow-inputs: Likewise.
3500 * benchtests/rint-inputs: Likewise.
3501 * benchtests/sin-inputs: Likewise.
3502 * benchtests/sinh-inputs: Likewise.
3503 * benchtests/tan-inputs: Likewise.
3504 * benchtests/tanh-inputs: Likewise.
3505 * scripts/bench.pl: Add support for new directives.
3506
35072013-10-07 Alan Modra <amodra@gmail.com>
3508
3509 * README: Fix careless merge.
3510
35112013-10-05 Alan Modra <amodra@gmail.com>
3512
3513 * NEWS: Mention powerpc64le support and bugs fixed.
3514 * README: Both big-endian and little-endian powerpc64 supported.
3515
35162013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3517
3518 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3519 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3520 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3521 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3522
35232013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3524
3525 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3526 match prototype.
3527
35282013-10-04 Joseph Myers <joseph@codesourcery.com>
3529
3530 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3531 Move -mhard-float appending from
3532 ports/sysdeps/powerpc/powerpc32/Makefile.
3533 [$(with-fp) = yes] (ASFLAGS): Likewise.
3534 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3535 * sysdeps/powerpc/nofpu: Move directory from
3536 ports/sysdeps/powerpc/nofpu.
3537 * sysdeps/powerpc/soft-fp: Move directory from
3538 ports/sysdeps/powerpc/soft-fp.
3539 * sysdeps/powerpc/powerpc32/405: Move directory from
3540 ports/sysdeps/powerpc/powerpc32/405.
3541 * sysdeps/powerpc/powerpc32/440: Move directory from
3542 ports/sysdeps/powerpc/powerpc32/440.
3543 * sysdeps/powerpc/powerpc32/464: Move directory from
3544 ports/sysdeps/powerpc/powerpc32/464.
3545 * sysdeps/powerpc/powerpc32/476: Move directory from
3546 ports/sysdeps/powerpc/powerpc32/476.
3547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3548 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3550 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3552 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3554 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3556 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3557 * README: Update for powerpc-*-linux-gnu software floating point
3558 support in libc.
3559
3560 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3561 case to powerpc/powerpc32*.
3562 * sysdeps/unix/sysv/linux/configure: Regenerated.
3563
3564 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3565 (_FPU_MASK_OM): Define as 0x04.
3566 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3567 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3568 0x00c10080.
3569 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3570 0x0000003c.
3571 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3572
3573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3574 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3575 getcontext_e500.
3576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3577 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3578 setcontext_e500.
3579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3580 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3581 and setcontext_e500.
3582
35832013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3584
3585 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3586
35872013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3588
3589 * manual/threads.texi (Default Thread Attributes): Fix typo.
3590
35912013-10-04 Will Newton <will.newton@linaro.org>
3592
3593 * malloc/Makefile: Add tst-memalign.
3594 * malloc/tst-memalign.c: New file.
3595
3596 * malloc/tst-posix_memalign.c: Add comments.
3597 (do_test): Add comments and call free on all potentially
3598 allocated pointers. Add space after cast.
3599
3600 * malloc/tst-pvalloc.c: Add comments.
3601 (do_test): Add comments and call free on all potentially
3602 allocated pointers. Remove duplicate check for NULL pointer.
3603 Add space after cast.
3604
3605 * malloc/tst-valloc.c: Add comments.
3606 (do_test): Add comments and call free on all potentially
3607 allocated pointers. Remove duplicate check for NULL pointer.
3608 Add space after cast.
3609
36102013-10-04 Alan Modra <amodra@gmail.com>
3611
3612 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3613 Use stdint types in rather than __attribute__((mode())).
3614 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3615
36162013-10-04 Alan Modra <amodra@gmail.com>
3617
3618 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3619 Correct handling of unaligned relocs for little-endian.
3620 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3621
36222013-10-04 Alan Modra <amodra@gmail.com>
3623
3624 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3625 * configure: Regenerate.
3626 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3627 * shlib-versions: Likewise.
3628
36292013-10-04 Alan Modra <amodra@gmail.com>
3630
3631 * string/tester.c (test_memrchr): Increment reported test cycle.
3632
36332013-10-04 Alan Modra <amodra@gmail.com>
3634
3635 * string/test-memcpy.c (do_one_test): When reporting errors, print
3636 string address and don't overrun end of string.
3637
36382013-10-04 Alan Modra <amodra@gmail.com>
3639
3640 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3641 insrdi. Make better use of reg selection to speed exit slightly.
3642 Schedule entry path a little better. Remove useless "are we done"
3643 checks on entry to main loop. Handle wrapping around zero address.
3644 Correct main loop count. Handle single left-over word from main
3645 loop inline rather than by using loop_small. Remove extra word
3646 case in loop_small caused by wrong loop count. Add little-endian
3647 support.
3648 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3649 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3650 cache hint.
3651 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3652 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3653 support. Avoid rlwimi.
3654 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3655
36562013-10-04 Alan Modra <amodra@gmail.com>
3657
3658 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3659 insrdi. Formatting.
3660 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3661 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3662 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3663 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3664 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3665 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3666
36672013-10-04 Alan Modra <amodra@gmail.com>
3668
3669 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3670 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3671 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3672 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3673 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3674 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3675 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3676 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3677 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3678 use of regs. Use power7 mtocrf. Tidy function tails.
3679
36802013-10-04 Alan Modra <amodra@gmail.com>
3681
3682 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3683 Formatting. Consistently use rXXX register defines or rN defines.
3684 Use early exit labels that avoid restoring unused non-volatile regs.
3685 Make cr field use more consistent with rWORDn compares. Rename
3686 regs used as shift registers for unaligned loop, using rN defines
3687 for short lifetime/multiple use regs.
3688 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3689 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3690 addi 1,1,64 to pop stack frame. Simplify return value code.
3691 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3692
36932013-10-04 Alan Modra <amodra@gmail.com>
3694
3695 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3696 support. Correct typos, formatting. Optimize tail. Use insrdi
3697 rather than rlwimi.
3698 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3699 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3700 little-endian support. Correct typos.
3701 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3702 rather than rlwimi.
3703 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3704 in loop and entry code to keep "and." results.
3705 (strchr): Add little-endian support. Comment. Move cntlzd
3706 earlier in tail.
3707 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3708
37092013-10-04 Alan Modra <amodra@gmail.com>
3710
3711 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3712 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3713 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3714 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3715
37162013-10-04 Alan Modra <amodra@gmail.com>
3717
3718 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3719 (rTMP): Define as r11.
3720 (strcmp): Add little-endian support. Optimise tail.
3721 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3722 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3723 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3724 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3725 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3726 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3727 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3728
37292013-10-04 Alan Modra <amodra@gmail.com>
3730
3731 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3732 little-endian support. Remove unnecessary "are we done" tests.
3733 Handle "s" wrapping around zero and extremely large "size".
3734 Correct main loop count. Handle single left-over word from main
3735 loop inline rather than by using small_loop. Correct comments.
3736 Delete "zero" tail, use "end_max" instead.
3737 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3738
37392013-10-04 Alan Modra <amodra@gmail.com>
3740
3741 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3742 support. Don't branch over align.
3743 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3744 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3745 support. Rearrange tmp reg use to suit. Comment.
3746 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3747
37482013-10-04 Alan Modra <amodra@gmail.com>
3749
3750 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3751
37522013-10-04 Alan Modra <amodra@gmail.com>
3753
3754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3755 conditional form of branch and link when obtaining pc.
3756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3757
37582013-10-04 Alan Modra <amodra@gmail.com>
3759
3760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3761 HIWORD/LOWORD.
3762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3764
37652013-10-04 Alan Modra <amodra@gmail.com>
3766
3767 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3768 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3769 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3770 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3771 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3772 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3773 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3774 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3775 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3776 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3777
37782013-10-04 Anton Blanchard <anton@au1.ibm.com>
3779 Alistair Popple <alistair@ozlabs.au.ibm.com>
3780 Alan Modra <amodra@gmail.com>
3781
3782 [BZ #15723]
3783 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3784 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3785 _dl_hwcap access for little-endian.
3786 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3787 destroy vmx regs when saving unaligned.
3788 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3789 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3790 destroy vmx regs when saving unaligned.
3791
37922013-10-04 Alan Modra <amodra@gmail.com>
3793
3794 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3795 Don't use a union to pack hi/low value.
3796
37972013-10-04 Anton Blanchard <anton@au1.ibm.com>
3798
3799 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3800 for little-endian.
3801 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3802 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3803 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3804 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3805 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3806
38072013-10-04 Alan Modra <amodra@gmail.com>
3808
3809 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3810 constants to usual value for .cst8 section, and remove redundant
3811 high address load.
3812 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3813 constant for 0x1p52. Load little-endian words of double from
3814 correct stack offsets.
3815
38162013-10-04 Alan Modra <amodra@gmail.com>
3817
3818 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3819 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3820 words of double from correct stack offsets.
3821 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3822 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3823 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3824 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3825 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3826 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3827 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3828 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3829 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3830 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3831 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3832 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3833 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3834 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3835 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3836 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3837 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3838
38392013-10-04 Alan Modra <amodra@gmail.com>
3840
3841 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3842 64-bit int/double union.
3843 (_FPU_SETCW): Likewise.
3844 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3845 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3846
38472013-10-04 Alan Modra <amodra@gmail.com>
3848
3849 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3850 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3851
38522013-10-04 Alan Modra <amodra@gmail.com>
3853
3854 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3855 use vector int constants.
3856 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3857
38582013-10-04 Anton Blanchard <anton@au1.ibm.com>
3859
3860 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3861 array with long long.
3862 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3863 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3864 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3865 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3866 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3867 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3868 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3869 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3870 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3871 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3872 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3873 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3874 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3875
38762013-10-04 Anton Blanchard <anton@au1.ibm.com>
3877
3878 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3879 (__signbit): Likewise. Correct for little-endian.
3880 (__signbitl): Call __signbit.
3881 (lrint): Correct for little-endian.
3882 (lrintf): Call lrint.
3883
38842013-10-04 Alan Modra <amodra@gmail.com>
3885
3886 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3887 union 32-bit int array member with 64-bit int array.
3888 (t515, tm256): Double rather than long double.
3889 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3890
38912013-10-04 Alan Modra <amodra@gmail.com>
3892
3893 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3894 Delete.
3895 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3896 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3897 version of math_ldbl.h.
3898
38992013-10-04 Alan Modra <amodra@gmail.com>
3900
3901 [BZ #15734], [BZ #15735]
3902 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3903 all uses of ieee875 long double macros and unions. Simplify test
3904 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3905 ldbl_extract_mantissa value for ix,iy exponents. Properly
3906 normalize after ldbl_extract_mantissa, and don't add hidden bit
3907 already handled. Don't treat low word of ieee854 mantissa like
3908 low word of IBM long double and mask off bit when testing for
3909 zero.
3910 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3911 all uses of ieee875 long double macros and unions. Simplify tests
3912 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3913 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3914 two1022, instead use their values. Recognise that tests for large
3915 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3916 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3917 Rewrite all uses of ieee875 long double macros and unions. Simplify
3918 test for 0.0L and nan. Correct negation.
3919 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3920 ieee875 long double macros and unions. Correct output for large
3921 magnitude x. Correct absolute value calculation.
3922 (__erfcl): Likewise.
3923 * math/libm-test.inc: Add tests for errors discovered in IBM long
3924 double versions of fmodl, remainderl, erfl and erfcl.
3925
39262013-10-04 Alan Modra <amodra@gmail.com>
3927
3928 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3929 all uses of ieee854 long double macros and unions. Simplify tests
3930 for long doubles that are fully specified by the high double.
3931 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3932 Likewise.
3933 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3934 Remove dead code too.
3935 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3936 (__ieee754_ynl): Likewise.
3937 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3938 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3939 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3940 Remove dead code too.
3941 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3942 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3943 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3944 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3945 Simplify.
3946 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3947 Simplify.
3948 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3949 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3950 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3951 Comment on variable precision.
3952 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3953 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3954 Likewise.
3955 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3956 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3957 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3958 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3959 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3960
39612013-10-04 Alan Modra <amodra@gmail.com>
3962
3963 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3964 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3965 all uses of ieee854 long double macros and unions.
3966 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3967 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3968 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3969 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3970 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3971 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3972 Likewise.
3973 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3974 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3975 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3976 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3977 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3978 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3979 Simplify sign and nan test too.
3980 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3981 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3982 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3983 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3984 Likewise.
3985 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3986 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3987 Likewise.
3988 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3989 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3990 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3991 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3992 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3993 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3994
39952013-10-04 Alan Modra <amodra@gmail.com>
3996
3997 * stdio-common/printf_size.c (__printf_size): Don't use
3998 union ieee854_long_double in fpnum union.
3999 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4000 signbit macro to retrieve sign from long double.
4001 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4002 retrieve sign from long double.
4003 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4004 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4005 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4006 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4007 * math/test-misc.c (main): Don't use union ieee854_long_double.
4008
40092013-10-04 Alan Modra <amodra@gmail.com>
4010
4011 [BZ #15680]
4012 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4013 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4014 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4015 calculation. Remove unnecessary test for denormal exponent.
4016 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4017 Correct handling of denormals. Avoid undefined shift behaviour.
4018 Correct normalisation of low mantissa when low double is denormal.
4019 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4020 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4021 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4022 Correct normalisation of low mantissa. Test for overflow of high
4023 mantissa and normalise.
4024 (ldbl_nearbyint): Use more readable constant for two52.
4025 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4026 (__mpn_construct_long_double): Fix test for overflow of high
4027 mantissa and correct normalisation. Avoid undefined shift.
4028
40292013-10-04 Alan Modra <amodra@gmail.com>
4030
4031 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4032 (union ibm_extended_long_double): Define as an array of ieee754_double.
4033 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4034 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4035 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4036 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4037 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4038 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4039 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4040 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4041 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4042 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4043 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4044
40452013-10-03 Joseph Myers <joseph@codesourcery.com>
4046
4047 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4048 page size instead of calling getpagesize.
4049
4050 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4051 (LOCFILE_ALIGN_MASK): Likewise.
4052 (LOCFILE_ALIGN_UP): Likewise.
4053 (LOCFILE_ALIGNED_P): Likewise.
4054 * locale/programs/ld-collate.c (collate_output): Use the new
4055 macros instead of __alignof__ (int32_t).
4056 * locale/weight.h (findidx): Likewise.
4057
40582013-10-03 Ondřej Bílka <neleai@seznam.cz>
4059
4060 [BZ #431]
4061 * manual/string.texi: Fix strncat and wcsncat.
4062
40632013-10-03 Brooks Moses <bmoses@google.com>
4064
4065 [BZ #15915]
4066 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4067 * Makerules: ...here, and adjust associated comments.
4068
40692013-10-02 Will Newton <will.newton@linaro.org>
4070
4071 * malloc/Makefile: Add tst-pvalloc.
4072 * malloc/tst-pvalloc.c: New file.
4073
40742013-10-02 Will Newton <will.newton@linaro.org>
4075
4076 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4077 improve test coverage.
4078
40792013-10-02 Will Newton <will.newton@linaro.org>
4080
4081 * malloc/Makefile: Add tst-posix_memalign.
4082 * malloc/tst-posix_memalign.c: New file.
4083
40842013-10-01 Eric Blake <eblake@redhat.com>
4085
4086 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4087 Use __THROWNL rather than __THROW on static functions.
4088
40892013-09-30 Petr Machata <pmachata@redhat.com>
4090
4091 * elf/elf.h (R_AARCH64_ABS16): New macro.
4092 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4093 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4094 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4095 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4096 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4097 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4098 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4099 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4100 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4101 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4102 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4103 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4104 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4105 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4106 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4107 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4108 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4109 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4110 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4111 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4112 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4113 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4114 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4115 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4116 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4117 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4118 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4119 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4120 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4121 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4122 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4123 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4124 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4125 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4126 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4127 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4128 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4129 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4130 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4131 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4132 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4133 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4134 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4135 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4136 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4137 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4138 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4139 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4140 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4141 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4142 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4143 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4144 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4145 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4146 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4147 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4148 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4149 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4150 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4151 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4152 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4153 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4154 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4155 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4156 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4157 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4158 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4159 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4160 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4161 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4162 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4163 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4164 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4165 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4166 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4167 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4168 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4169 (R_AARCH64_TLSDESC_LDR): Likewise.
4170 (R_AARCH64_TLSDESC_ADD): Likewise.
4171 (R_AARCH64_TLSDESC_CALL): Likewise.
4172
41732013-09-30 Andreas Schwab <schwab@suse.de>
4174
4175 [BZ #15048]
4176 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4177 the nss database lookup.
4178 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4179 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4180
41812013-09-28 Mike Frysinger <vapier@gentoo.org>
4182
4183 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4184
41852013-09-28 P. J. McDermott <pj@pehjota.net>
4186
4187 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4188 ${Bash-specific parameter/pattern/string} parameter expansion.
4189 * sysdeps/unix/make-syscalls.sh: Likewise.
4190
41912013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4192
4193 * sysdeps/sh/stackguard-macros.h: New file.
4194
41952013-09-26 Ondřej Bílka <neleai@seznam.cz>
4196
4197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4198 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4199 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4200 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4201 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4202 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4203
42042013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4205
4206 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4207 Fix thread ID register.
4208
42092013-09-25 Joseph Myers <joseph@codesourcery.com>
4210
4211 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4212 [POSIX || UNIX98]: Require rather than permitting all symbols from
4213 <time.h>.
4214 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4215 element of struct sched_param.
4216 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4217 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4218 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4219 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4220 constant.
4221
42222013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4223
4224 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4225 argument calculation.
4226
42272013-09-24 Joseph Myers <joseph@codesourcery.com>
4228
4229 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4230 Expect macro.
4231 [POSIX] (pthread_attr_t): Do not require type.
4232 [POSIX] (pthread_cond_t): Likewise.
4233 [POSIX] (pthread_condattr_t): Likewise.
4234 [POSIX] (pthread_key_t): Likewise.
4235 [POSIX] (pthread_mutex_t): Likewise.
4236 [POSIX] (pthread_mutexattr_t): Likewise.
4237 [POSIX] (pthread_once_t): Likewise.
4238 [POSIX] (pthread_t): Likewise.
4239 [POSIX-based standards] (pthread_atfork): Expect function.
4240
42412013-09-24 Joseph Myers <joseph@codesourcery.com>
4242 Richard Sandiford <richard@codesourcery.com>
4243
4244 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4245 (swap_endianness_p): New extern variable.
4246 (set_big_endian): New inline function.
4247 (maybe_swap_uint32): Likewise.
4248 (maybe_swap_uint32_array): Likewise.
4249 (maybe_swap_uint32_obstack): Likewise.
4250 * locale/programs/locfile.c: Include <stdbool.h>.
4251 (swap_endianness_p): New variable.
4252 (add_locale_uint32): Call maybe_swap_uint32.
4253 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4254 (write_locale_data): Call maybe_swap_uint32_array.
4255 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4256 maybe_swap_uint32.
4257 (obstack_int32_grow_fast): Likewise.
4258 (output_weightwc): Call maybe_swap_uint32_obstack.
4259 (collate_output): Likewise.
4260 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4261 (OPT_LITTLE_ENDIAN): Likewise.
4262 (options): Add --little-endian and --big-endian options.
4263 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4264 * locale/programs/locarchive.c: Include "locfile.h".
4265 (GET): New macro.
4266 (SET): Likewise.
4267 (INC): Likewise.
4268 (create_archive): Use the new macros to access fields of
4269 structures directly mapped from or written to locale archives.
4270 (oldlocrecentcmp): Likewise.
4271 (enlarge_archive): Likewise.
4272 (insert_name): Likewise.
4273 (add_alias): Likewise.
4274 (add_locale): Likewise.
4275 (delete_locales_from_archive): Likewise.
4276 (show_archive_content): Likewise.
4277 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4278 locale data.
4279
42802013-09-24 Roland McGrath <roland@hack.frob.com>
4281
4282 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4283 http://www.gnu.org/doc/freemanuals.texi.
4284 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4285
42862013-09-24 Will Newton <will.newton@linaro.org>
4287
4288 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4289 macro.
4290
42912013-09-23 Joseph Myers <joseph@codesourcery.com>
4292
4293 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4294 unsigned char.
4295
42962013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4297
4298 * manual/threads.texi (POSIX Threads): Fix a typo.
4299
43002013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4301
4302 [BZ #14547]
4303 * string/tst-strcoll-overflow.c: New test case.
4304 * string/Makefile (xtests): Add tst-strcoll-overflow.
4305 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4306 cache if string sizes may cause integer overflow.
4307
4308 [BZ #14547]
4309 * string/strcoll_l.c (coll_seq): New members rule, idx,
4310 save_idx and back_us.
4311 (get_next_seq_nocache): New function.
4312 (do_compare_nocache): New function.
4313 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4314 when malloc fails.
4315
43162013-09-23 Carlos O'Donell <carlos@redhat.com>
4317
4318 [BZ #15754]
4319 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4320 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4321 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4322
4323 [BZ #15754]
4324 * elf/Makefile (tests): Add tst-ptrguard1.
4325 (tests-static): Add tst-ptrguard1-static.
4326 (tst-ptrguard1-ARGS): Define.
4327 (tst-ptrguard1-static-ARGS): Define.
4328 * elf/tst-ptrguard1.c: New file.
4329 * elf/tst-ptrguard1-static.c: New file.
4330 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4331 * sysdeps/i386/stackguard-macros.h: Likewise.
4332 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4333 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4334 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4335 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4336 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4337 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4338
43392013-09-23 Hector Marco <hecmargi@upv.es>
4340 Ismael Ripoll <iripoll@disca.upv.es>
4341 Carlos O'Donell <carlos@redhat.com>
4342
4343 [BZ #15754]
4344 * sysdeps/generic/stackguard-macros.h: Define
4345 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4346 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4347 Define __pointer_chk_guard_local.
4348 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4349 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4350
43512013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4352
4353 [BZ #15859]
4354 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4355
43562013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4357
4358 * include/string.h (__ffs): Declare as hidden.
4359 * string/ffs.c (__ffs): Define as hidden.
4360 * sysdeps/i386/ffs.c (__ffs): Likewise.
4361 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4362 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4363 * sysdeps/s390/ffs.c (__ffs): Likewise.
4364 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4365
43662013-09-20 Alexandre Oliva <aoliva@redhat.com>
4367
4368 * NEWS: Mention malloc probes.
4369
4370 * malloc/arena.c (new_heap): New memory_heap_new probe.
4371 (grow_heap): New memory_heap_more probe.
4372 (shrink_heap): New memory_heap_less probe.
4373 (heap_trim): New memory_heap_free probe.
4374 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4375 (systrim): New memory_sbrk_less probe.
4376 * manual/probes.texi: Document them.
4377
4378 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4379 * manual/probes.texi: Document it.
4380
4381 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4382 (__libc_realloc): Add memory_realloc_retry probe.
4383 (__libc_memalign): Add memory_memalign_retry probe.
4384 (__libc_valloc): Add memory_valloc_retry probe.
4385 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4386 (__libc_calloc): Add memory_calloc_retry probe.
4387 * manual/probes.texi: Document them.
4388
4389 * malloc/arena.c (get_free_list): Add probe
4390 memory_arena_reuse_free_list.
4391 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4392 and memory_arena_reuse.
4393 (arena_get2) [!PER_THREAD]: Likewise.
4394 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4395 memory_arena_reuse_realloc.
4396 * manual/probes.texi: Document them.
4397
4398 * malloc/malloc.c (__libc_free): Add
4399 memory_mallopt_free_dyn_thresholds probe.
4400 (__libc_mallopt): Add multiple memory_mallopt probes.
4401 * manual/probes.texi: Document them.
4402
4403 * malloc/malloc.c: Include stap-probe.h.
4404 (__libc_mallopt): Add memory_mallopt probe.
4405 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4406 * manual/probes.texi: New.
4407 * manual/Makefile (chapters): Add probes.
4408 * manual/threads.texi: Set next node.
4409
44102013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
4411
4412 [BZ #15963, #13985]
4413 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4414 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4415 Add `Chinese' to `nan' entry name.
4416
44172013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4418
4419 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4420 (POLYNOMIAL): Likewise.
4421 (TAYLOR_SINCOS): Likewise.
4422 (TAYLOR_SLOW): Likewise.
4423 (__sin): Use TAYLOR_SINCOS.
4424 (__cos): Likewise.
4425 (slow): Use TAYLOR_SLOW.
4426 (sloww): Likewise.
4427 (bsloww): Likewise.
4428 (csloww): Likewise.
4429
44302013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4431
4432 * stdlib/strtod_l.c: Fix buffer overrun.
4433
44342013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4435
4436 * benchtests/Makefile (bench): Add sincos.
4437 * benchtests/bench-sincos.c: New file.
4438
4439 * math/libm-test.inc (cos_test_data): New test inputs.
4440 (sin_test_data): Likewise.
4441
4442 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4443 macro.
4444 (__sin): Use it.
4445 (__cos): Likewise.
4446 (slow1): Likewise.
4447 (slow2): Likewise.
4448 (sloww1): Likewise.
4449 (sloww2): Likewise.
4450 (bsloww1): Likewise.
4451 (bsloww2): Likewise.
4452 (cslow2): Likewise.
4453 (csloww1): Likewise.
4454 (csloww2): Likewise.
4455
4456 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4457 function.
4458 (__sin): Use it.
4459 (__cos): Likewise.
4460
4461 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4462 gotos.
4463 (__cos): Likewise.
4464
44652013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4466
4467 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4468 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4469 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4470 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4471 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4472 * elf/cache.c (print_entry): Handle the new cache flags.
4473
44742013-09-18 Joseph Myers <joseph@codesourcery.com>
4475 Aldy Hernandez <aldyh@redhat.com>
4476
4477 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4478 Change condition to [_SOFT_FLOAT].
4479 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4480 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4481 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4482 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4483 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4484 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4485 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4486 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4487 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4488 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4489 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4490 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4491 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4492 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4493 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4494 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4495 declaration.
4496
44972013-09-18 Joseph Myers <joseph@codesourcery.com>
4498
4499 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4500 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4501 (__longjmp): Use LOAD_GP to load saved GPRs.
4502 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4503 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4504 (__sigsetjmp): Use SAVE_GP to save GPRs.
4505
4506 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4507 Do not append -msoft-float.
4508 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4509
45102013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4511
4512 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4513
45142013-09-17 Joseph Myers <joseph@codesourcery.com>
4515
4516 [BZ #15966]
4517 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4518 (_FPU_GETCW): Use initial "__" on variable and field names but not
4519 on macro parameter name.
4520 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4521 parentheses around reference to macro parameter.
4522
45232013-09-13 Richard Sandiford <richard@codesourcery.com>
4524
4525 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4526 prototype.
4527 (ctype_startup): Use uint32_t in cast and sizeof for
4528 ctype->charnames.
4529
45302013-09-11 Jia Liu <proljc@gmail.com>
4531
4532 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4533 __daddr_t_defined.
4534 [__FreeBSD__]: Likewise.
4535
45362013-09-11 Ondřej Bílka <neleai@seznam.cz>
4537
4538 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4539 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4540 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4541 (strchr): Remove __strchr_sse42 ifunc selection.
4542 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4543 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4544
45452013-09-11 Will Newton <will.newton@linaro.org>
4546
4547 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4548 parameter to RES. Remove hardcoded 1000 value.
4549 * benchtests/bench-skeleton.c (main): Pass RES parameter
4550 to TIMING_INIT and multiply result by 1000.
4551
45522013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4553
4554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4555
45562013-09-11 Andreas Schwab <schwab@suse.de>
4557
4558 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4559 if not defined.
4560 (O_TMPFILE) [__USE_GNU]: Define.
4561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4562 Define.
4563
45642013-09-11 Will Newton <will.newton@linaro.org>
4565
4566 [BZ #15857]
4567 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4568 does not overflow.
4569
45702013-09-11 Will Newton <will.newton@linaro.org>
4571
4572 [BZ #15856]
4573 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4574 does not overflow.
4575
45762013-09-11 Will Newton <will.newton@linaro.org>
4577
4578 [BZ #15855]
4579 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4580 does not overflow.
4581
45822013-09-10 Ondřej Bílka <neleai@seznam.cz>
4583
4584 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4585 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4586 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4587 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4588 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4589
45902013-09-10 Allan McRae <allan@archlinux.org>
4591
4592 [BZ #15748]
4593 * manual/arith.texi (Parsing of Floats): Clarify
4594 cross-reference.
4595
4596 [BZ #15849]
4597 * manual/install.texi (Running make install): Mention
4598 --enable-pt-chown.
4599 * INSTALL: Regenerated.
4600
46012013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4602
4603 * csu/init-first.c (_init): Remove the !SHARED condition around
4604 FPU control word initialization.
4605 * elf/dl-support.c (_dl_fpu_control): New variable.
4606 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4607 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4608 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4609 * math/test-fpucw-static.c: New file.
4610 * math/test-fpucw-ieee.c: New file.
4611 * math/test-fpucw-ieee-static.c: New file.
4612 * math/Makefile (tests): Add `test-fpucw-ieee' and
4613 `$(tests-static)'.
4614 (tests-static): New variable.
4615 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4616 dependency to...
4617 [($(build-shared),yes)]
4618 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4619 ... this.
4620 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4621 New dependency.
4622
46232013-09-09 Allan McRae <allan@archlinux.org>
4624
4625 [BZ #15939]
4626 * manual/string.texi (Collation Functions): Fix typo in
4627 strcoll example.
4628 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4629
4630 [BZ #15893]
4631 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4632
4633 [BZ #15892]
4634 * libio/memstream.c (open_memstream): Fix memory leak.
4635 * libio/wmemstream.c (open_wmemstream): Likewise.
4636
4637 [BZ #15895]
4638 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4639
46402013-09-09 Will Newton <will.newton@linaro.org>
4641
4642 * malloc/Makefile: Add tst-realloc to tests.
4643 * malloc/tst-realloc.c: New file.
4644
46452013-09-09 Allan McRae <allan@archlinux.org>
4646
4647 [BZ #15844]
4648 * COPYING: Update from GNU website to fix FSF address.
4649 * COPYING.LIB: Likewise.
4650
46512013-09-06 David S. Miller <davem@davemloft.net>
4652
4653 * po/zh_TW.po: Update Chinese (traditional) translation from
4654 translation project.
4655
46562013-09-06 Richard Sandiford <richard@codesourcery.com>
4657 Joseph Myers <joseph@codesourcery.com>
4658
4659 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4660 "localeinfo.h".
4661 (obstack_chunk_alloc): New macro.
4662 (obstack_chunk_free): Likewise.
4663 (record_offset): New function.
4664 (init_locale_data): Likewise.
4665 (align_locale_data): Likewise.
4666 (add_locale_empty): Likewise.
4667 (add_locale_raw_data): Likewise.
4668 (add_locale_raw_obstack): Likewise.
4669 (add_locale_string): Likewise.
4670 (add_locale_wstring): Likewise.
4671 (add_locale_uint32): Likewise.
4672 (add_locale_uint32_array): Likewise.
4673 (add_locale_char): Likewise.
4674 (start_locale_structure): Likewise.
4675 (end_locale_structure): Likewise.
4676 (start_locale_prelude): Likewise.
4677 (end_locale_prelude): Likewise.
4678 (write_locale_data): Take locale_file structure rather than an
4679 iovec.
4680 * locale/programs/locfile.h: Include "obstack.h".
4681 (struct locale_file): Change to store locale file contents instead
4682 of header.
4683 (init_locale_data): New prototype.
4684 (align_locale_data): Likewise.
4685 (add_locale_empty): Likewise.
4686 (add_locale_raw_data): Likewise.
4687 (add_locale_raw_obstack): Likewise.
4688 (add_locale_string): Likewise.
4689 (add_locale_wstring): Likewise.
4690 (add_locale_uint32): Likewise.
4691 (add_locale_uint32_array): Likewise.
4692 (add_locale_char): Likewise.
4693 (start_locale_structure): Likewise.
4694 (end_locale_structure): Likewise.
4695 (start_locale_prelude): Likewise.
4696 (end_locale_prelude): Likewise.
4697 (write_locale_data): Update prototype.
4698 * locale/programs/3level.h (struct TABLE): Remove result field.
4699 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4700 Use new locale_file interface.
4701 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4702 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4703 * locale/programs/ld-address.c (address_output): Use new
4704 locale_file interface.
4705 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4706 NO_ADD_LOCALE.
4707 (collate_finish): Don't call collseq_table_finalize.
4708 (collate_output): Use new locale_file interface.
4709 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4710 in file.
4711 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4712 (TABLE): Move defines earlier in file.
4713 (ELEMENT): Likewise.
4714 (DEFAULT): Likewise.
4715 (wctrans_table_add): Move macro and inline function earlier in
4716 file.
4717 (struct wctype_table): Move type earlier in file.
4718 (add_locale_wctype_table): New static prototype.
4719 (struct locale_ctype_t): Use logical types instead of struct iovec
4720 pointers for members.
4721 (ctype_output): Use new locale_file interface.
4722 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4723 new locale_file interface.
4724 (allocate_arrays): Update for use of new locale_file interface.
4725 * locale/programs/ld-identification.c (identification_output): Use
4726 new locale_file interface.
4727 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4728 * locale/programs/ld-messages.c (messages_output): Likewise.
4729 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4730 * locale/programs/ld-name.c (name_output): Likewise.
4731 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4732 * locale/programs/ld-paper.c (paper_output): Likewise.
4733 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4734 * locale/programs/ld-time.c (time_output): Likewise.
4735
47362013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4737
4738 * benchtests/Makefile: Add memrchr benchmark.
4739 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4740 benchmark as memrchr.
4741 * benchtests/bench-memrchr-ifunc.c: New file.
4742 * benchtests/bench-memrchr.c: New file.
4743
47442013-09-06 Will Newton <will.newton@linaro.org>
4745
4746 * benchtests/Makefile (string-bench): Add memcpy.
4747
47482013-09-05 Carlos O'Donell <carlos@redhat.com>
4749 Cong Wang <amwang@redhat.com>
4750
4751 * sysdeps/unix/sysv/linux/bits/in.h
4752 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4753 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4754 before __USE_KERNEL_IPV6_DEFS uses.
4755 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4756 IPPROTO_BEETPH.
4757 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4758 sockaddr_in6, or ipv6_mreq.
4759
47602013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4761
4762 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4763 memory access for final bytes in some large inputs.
4764 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4765
47662013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4767
4768 * string/test-memrchr.c: New file.
4769 * string/test-memrchr-ifunc.c: New file.
4770 * string/Makefile: Add new memrchr testcase.
4771
47722013-09-05 Mike Frysinger <vapier@gentoo.org>
4773
4774 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4775 fanotify_init returns EPERM.
4776
47772013-09-04 Joseph Myers <joseph@codesourcery.com>
4778
4779 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4780 errors.
4781 (top level): Treat second token from macro or constant entries for
4782 allowed headers as allowed.
4783 * include/complex.h: Condition internal declarations on
4784 [!_ISOMAC].
4785 * include/fenv.h: Condition include of <stdbool.h> and internal
4786 declarations on [!_ISOMAC].
4787
47882013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4789
4790 [BZ #15923]
4791 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4792
47932013-09-04 Joseph Myers <joseph@codesourcery.com>
4794
4795 * configure.in (--enable-versioning): Remove configure option.
4796 (libc_cv_asm_symver_directive): Remove configure test.
4797 (libc_cv_ld_version_script_option): Likewise.
4798 (VERSIONING): Remove variable and AC_SUBST.
4799 (DO_VERSIONING): Remove AC_DEFINE.
4800 * configure: Regenerated.
4801 * config.h.in (DO_VERSIONING): Remove macro.
4802 * Makerules [$(versioning) = yes]: Change conditionals to
4803 [$(build-shared) = yes].
4804 * config.make.in (versioning): Remove variable.
4805 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4806 [$(build-shared) = yes].
4807 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4808 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4809 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4810 [$(build-shared) = yes].
4811 * extra-lib.mk [$(versioning) = yes]: Likewise.
4812 * hurd/Makefile [$(versioning) = yes]: Likewise.
4813 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4814 [SHARED].
4815 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4816 [SHARED].
4817 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4818 [SHARED && !NO_HIDDEN].
4819 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4820 [SHARED].
4821 [SHARED && DO_VERSIONING]: Likewise..
4822 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4823 [$(build-shared) = yes].
4824 * manual/install.texi (--disable-versioning): Remove
4825 documentation.
4826 * INSTALL: Regenerated.
4827 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4828 to [SHARED].
4829 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4830 [$(build-shared) = yes].
4831 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4832 * sysdeps/i386/i686/multiarch/strstr-c.c
4833 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4834 [SHARED && !NO_HIDDEN].
4835 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4836 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4837 * sysdeps/powerpc/powerpc32/dl-machine.c
4838 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4839 * sysdeps/powerpc/powerpc32/sysdep.h
4840 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4841 to [SHARED && PIC && !NO_HIDDEN].
4842 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4843 conditional to [SHARED].
4844
48452013-09-04 Will Newton <will.newton@linaro.org>
4846
4847 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4848 * benchtests/bench-string.h: Include bench-timing.h instead
4849 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4850 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4851 call to HP_TIMING_DIFF_INIT.
4852 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4853 instead of hp-timing.h macros.
4854 * benchtests/bench-memchr.c: Likewise.
4855 * benchtests/bench-memcmp.c: Likewise.
4856 * benchtests/bench-memcpy.c: Likewise.
4857 * benchtests/bench-memmem.c: Likewise.
4858 * benchtests/bench-memmove.c: Likewise.
4859 * benchtests/bench-memset.c: Likewise.
4860 * benchtests/bench-rawmemchr.c: Likewise.
4861 * benchtests/bench-strcasecmp.c: Likewise.
4862 * benchtests/bench-strcasestr.c: Likewise.
4863 * benchtests/bench-strcat.c: Likewise.
4864 * benchtests/bench-strchr.c: Likewise.
4865 * benchtests/bench-strcmp.c: Likewise.
4866 * benchtests/bench-strcpy.c: Likewise.
4867 * benchtests/bench-strcpy_chk.c: Likewise.
4868 * benchtests/bench-strlen.c: Likewise.
4869 * benchtests/bench-strncasecmp.c: Likewise.
4870 * benchtests/bench-strncat.c: Likewise.
4871 * benchtests/bench-strncmp.c: Likewise.
4872 * benchtests/bench-strncpy.c: Likewise.
4873 * benchtests/bench-strnlen.c: Likewise.
4874 * benchtests/bench-strpbrk.c: Likewise.
4875 * benchtests/bench-strrchr.c: Likewise.
4876 * benchtests/bench-strspn.c: Likewise.
4877 * benchtests/bench-strstr.c: Likewise.
4878
48792013-09-04 Will Newton <will.newton@linaro.org>
4880
4881 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4882
48832013-09-03 Joseph Myers <joseph@codesourcery.com>
4884
4885 [BZ #15427]
4886 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4887 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4888 * math/libm-test.inc (lgamma_test_data): Add more tests.
4889 * sysdeps/i386/fpu/libm-test-ulps: Update.
4890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4891
48922013-09-03 Ondřej Bílka <neleai@seznam.cz>
4893
4894 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4895 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4896 Add ifunc.
4897 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4898 Add strcmp-sse2-unaligned
4899 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4900
49012013-09-02 Mike Frysinger <vapier@gentoo.org>
4902
4903 * Versions.def (libc): Add GLIBC_2.19.
4904
49052013-09-02 Mike Frysinger <vapier@gentoo.org>
4906
4907 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4908 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4909
49102013-09-02 Joseph Myers <joseph@codesourcery.com>
4911
4912 [BZ #14155]
4913 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4914 intermediate calculations in recurrence.
4915 (__ieee754_ynf): Likewise.
4916 * math/libm-test.inc (jn_test_data): Do not allow spurious
4917 underflow exception. Add more tests.
4918 (yn_test_data): Add more tests.
4919 * sysdeps/i386/fpu/libm-test-ulps: Update.
4920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4921
49222013-09-02 Ondřej Bílka <neleai@seznam.cz>
4923
4924 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4925
49262013-08-30 Ondřej Bílka <neleai@seznam.cz>
4927
4928 * csu/init-first.c: Fix then/than typos.
4929 * locale/programs/ld-collate.c: Likewise.
4930 * locale/programs/linereader.h: Likewise.
4931 * manual/charset.texi: Likewise.
4932 * manual/filesys.texi: Likewise.
4933 * manual/stdio.texi: Likewise.
4934 * manual/string.texi: Likewise.
4935 * stdlib/fmtmsg.c: Likewise.
4936 * sysdeps/i386/stpncpy.S: Likewise.
4937 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4938 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4939 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4940 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4941
49422013-08-30 Ondřej Bílka <neleai@seznam.cz>
4943
4944 * elf/dl-open.c: Fix typos.
4945 * iconvdata/gbbig5.c: Likewise.
4946 * iconvdata/iso-2022-jp.c: Likewise.
4947 * iconv/gconv_int.h: Likewise.
4948 * iconv/loop.c: Likewise.
4949 * nis/rpcsvc/nis.h: Likewise.
4950 * resolv/ns_name.c: Likewise.
4951 * stdio-common/vfscanf.c: Likewise.
4952 * streams/stropts.h: Likewise.
4953 * sunrpc/rpc_thread.c: Likewise.
4954 * sysdeps/i386/strpbrk.S: Likewise.
4955 * sysdeps/ieee754/k_standard.c: Likewise.
4956 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4957 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4958 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4959 * sysdeps/mach/hurd/profil.c: Likewise.
4960 * sysdeps/s390/dl-procinfo.h: Likewise.
4961 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4962 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4963 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4964 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4965 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4966
49672013-08-30 Ondřej Bílka <neleai@seznam.cz>
4968
4969 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4970 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4971
49722013-08-29 Ondřej Bílka <neleai@seznam.cz>
4973
4974 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4975 aix specific files.
4976 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4977 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4978 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4979 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4980 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4981 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4982 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4983 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4984
49852013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4986 Roland McGrath <roland@hack.frob.com>
4987
4988 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4989 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4990
49912013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4992
4993 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4994 __executable_start symbol instead of _start.
4995
49962013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4997
4998 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4999 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5000 Move macros to...
5001 * sysdeps/gnu/ldsodefs.h: ... this new file.
5002
5003 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5004 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5005 instead of ELFOSABI_LINUX.
5006
5007 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5008 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5009 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5010 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5011 Likewise.
5012 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5013 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5014 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5015 Likewise.
5016 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5017 (ibm_extended_long_double): Add ieee_nan member.
5018 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5019 (do_test): New function.
5020
5021 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5022 TEST_TRUNC.
5023 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5024 functions, renamed from truncdfsf_test, trunctfsf_test,
5025 trunctfdf_test.
5026 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5027 functions.
5028 (do_test): Run all these.
5029
50302013-08-29 Ondřej Bílka <neleai@seznam.cz>
5031
5032 * argp/argp-help.c: Fix typos.
5033 * argp/argp-parse.c: Likewise.
5034 * debug/backtracesyms.c: Likewise.
5035 * elf/elf.h: Likewise.
5036 * malloc/malloc.c: Likewise.
5037 * nis/nis_print.c: Likewise.
5038 * resolv/res_comp.c: Likewise.
5039 * stdlib/stdlib.h: Likewise.
5040 * sunrpc/clnt_tcp.c: Likewise.
5041 * sunrpc/clnt_udp.c: Likewise.
5042 * sunrpc/clnt_unix.c: Likewise.
5043 * sysdeps/unix/bsd/ptsname.c: Likewise.
5044 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5045 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5047 Likewise.
5048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5049 Likewise.
5050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5051 Likewise.
5052 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5053
50542013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5055
5056 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5057 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5058
50592013-08-27 Mike Frysinger <vapier@gentoo.org>
5060
5061 [BZ #15897]
5062 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5063 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5064 ($(objpfx)bug-dl-leaf): New rule.
5065 ($(objpfx)bug-dl-leaf.so): Likewise.
5066 ($(objpfx)bug-dl-leaf.out): Likewise.
5067 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5068 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5069 * dlfcn/bug-dl-leaf.c: New test.
5070 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5071 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5072 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5073 (dlclose): Likewise.
5074 (dlmopen): Likewise.
5075
50762013-08-27 Roland McGrath <roland@hack.frob.com>
5077
5078 * include/netdb.h [!_ISOMAC]:
5079 Don't include <tls.h>.
5080 (h_errno, __libc_h_errno): Move declaration and macros out of
5081 [_LIBC_REENTRANT].
5082
5083 * include/resolv.h [_RESOLV_H_]:
5084 Don't include <tls.h>.
5085 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5086 * resolv/res_libc.c: Don't include <tls.h>.
5087 (_res): Use __attribute__ ((nocommon)) in place of
5088 __attribute__ ((section (".bss"))).
5089
5090 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5091 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5092
5093 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5094
5095 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5096 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5097
5098 * resolv/res_mkquery.c: Include <sys/time.h>.
5099
5100 * inet/ifreq.c: Moved to ...
5101 * sysdeps/unix/ifreq.c: ... here.
5102 * inet/ifreq.c: New file, true stub version.
5103
5104 * socket/sa_len.c: New file.
5105 * socket/Makefile (aux): Add it.
5106 * sysdeps/unix/sysv/linux/Makefile
5107 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5108 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5109 and #include <socket/sa_len.c>.
5110 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5111 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5112
5113 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5114 * bits/socket.h: ... here.
5115
5116 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5117 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5118 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5119
51202013-08-27 Andreas Schwab <schwab@suse.de>
5121
5122 [BZ #15736]
5123 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5124 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5125 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5126 * string/test-strcasecmp.c (test_main): Run tests in several
5127 locales.
5128 * string/test-strncasecmp.c (test_main): Likewise.
5129
5130 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5131 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5132 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5133 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5134 (__strncasecmp_ssse3) [PIC]: Likewise.
5135
51362013-08-26 Roland McGrath <roland@hack.frob.com>
5137
5138 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5139
5140 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5141 instead of explicitly declaring xdecrypt.
5142 * nis/nss_nis/nis-publickey.c: Likewise.
5143
51442013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5145
5146 [BZ #15890]
5147 * nscd/aicache.c: Include res_hconf.h.
5148 (addhstaiX): Initialize res_hconf.
5149
51502013-08-26 Andreas Schwab <schwab@suse.de>
5151
5152 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5153 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5154
51552013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5156
5157 * nscd/aicache.c (addhstaiX): Fix indentation.
5158
51592013-08-25 Mike Frysinger <vapier@gentoo.org>
5160
5161 * configure.ac: Quote $build_pt_chown test.
5162 * configure: Regenerated.
5163
51642013-08-23 Joseph Myers <joseph@codesourcery.com>
5165
5166 [BZ #15532]
5167 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5168 * math/s_cexpf.c (__cexpf): Likewise.
5169 * math/s_cexpl.c (__cexpl): Likewise.
5170 * math/libm-test.inc (cexp_test_data): Correct expected return
5171 value for NaN + i0. Add another test.
5172
51732013-08-22 David S. Miller <davem@davemloft.net>
5174
5175 * po/ca.po: Update Catalan translation from translation project.
5176 * po/uk.po: Add Ukrainian translations from translation project.
5177
51782013-08-21 Joseph Myers <joseph@codesourcery.com>
5179
5180 [BZ #15797]
5181 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5182 is infinite, not alongside NaN test.
5183 * math/s_fdimf.c (__fdimf): Likewise.
5184 * math/s_fdiml.c (__fdiml): Likewise.
5185 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5186 errno is unchanged.
5187
51882013-08-21 Ondřej Bílka <neleai@seznam.cz>
5189
5190 * argp/argp-help.c: Fix typos.
5191 * crypt/speeds.c: Likewise.
5192 * csu/check_fds.c: Likewise.
5193 * elf/dl-load.c: Likewise.
5194 * elf/dl-open.c: Likewise.
5195 * elf/reldep3.c: Likewise.
5196 * elf/reldep.c: Likewise.
5197 * elf/sprof.c: Likewise.
5198 * iconv/iconv_charmap.c: Likewise.
5199 * iconv/skeleton.c: Likewise.
5200 * iconv/strtab.c: Likewise.
5201 * io/lockf64.c: Likewise.
5202 * libio/libioP.h: Likewise.
5203 * resolv/gai_notify.c: Likewise.
5204 * resolv/ns_name.c: Likewise.
5205 * resolv/ns_samedomain.c: Likewise.
5206 * resolv/res_send.c: Likewise.
5207 * stdlib/random.c: Likewise.
5208 * sunrpc/rpc/xdr.h: Likewise.
5209 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5210 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5211 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5212 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5213 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5214 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5215 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5216 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5217 * sysdeps/mach/hurd/check_fds.c: Likewise.
5218 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5219 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5220 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5221 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5222 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5223 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5224 * sysdeps/pthread/aio_notify.c: Likewise.
5225 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5226 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5227 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5228 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5229 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5230
52312013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5232
5233 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5234 version if bit_Slow_SSE4_2 is set.
5235 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5236 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5237
52382013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5239
5240 [BZ #15867]
5241 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5242 trampoline stack frame information.
5243 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5244 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5245 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5246 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5247 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5248 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5249 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5250 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5251 sa_flags value.
5252 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5253 interrupting a syscall and set with option SA_SIGINFO.
5254
52552013-08-20 Joseph Myers <joseph@codesourcery.com>
5256
5257 [BZ #15531]
5258 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5259 argument is infinite.
5260 * math/s_cprojf.c (__cprojf): Likewise.
5261 * math/s_cprojl.c (__cprojl): Likewise.
5262 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5263 * math/libm-test.inc (cproj_test_data): Add more tests.
5264
5265 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5266
5267 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5268 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5269 size. Use __ffs to determine corresponding shift.
5270
52712013-08-20 Joseph Myers <joseph@codesourcery.com>
5272 Roland McGrath <roland@hack.frob.com>
5273
5274 * Makefile (INSTALL): Remove trailing blank lines from output of
5275 makeinfo.
5276
52772013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5278
5279 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5280 Align 32 bit compat elf_greg to 8 bytes.
5281
52822013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5283
5284 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5285
52862013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5287
5288 * string/strcoll_l.c (coll_seq): New structure.
5289 (get_next_seq_cached): New function.
5290 (get_next_seq): New function.
5291 (do_compare): New function.
5292 (STRCOLL): Use GNU style definition. Simplify implementation
5293 by using get_next_seq, get_next_seq_cached and do_compare.
5294
52952013-08-16 Florian Weimer <fweimer@redhat.com>
5296
5297 [BZ #14699]
5298 CVE-2013-4237
5299 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5300 member.
5301 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5302 member.
5303 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5304 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5305 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5306 conditional.
5307 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5308 GETDENTS_64BIT_ALIGNED.
5309 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5310 * manual/filesys.texi (Reading/Closing Directory): Document
5311 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5312 strongly.
5313 * manual/conf.texi (Limits for Files): Add portability note to
5314 NAME_MAX, PATH_MAX.
5315 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5316
53172013-08-13 Andreas Schwab <schwab@suse.de>
5318
5319 [BZ #15749]
5320 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5321 of fabs.
5322 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5323 LDBL_MAX_EXP >= 16384]: Add tests for it.
5324
53252013-08-12 David S. Miller <davem@davemloft.net>
5326
5327 * version.h (RELEASE): Set to "development".
5328 (VERSION): Set to "2.18.90".
5329 * NEWS: Add 2.19 section.
5330
53312013-08-03 David S. Miller <davem@davemloft.net>
5332
5333 * po/ko.po: Update Korean translation from translation project.
5334
53352013-08-01 David S. Miller <davem@davemloft.net>
5336
5337 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5338 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5339 Bilka.
5340
53412013-07-30 David S. Miller <davem@davemloft.net>
5342
5343 * po/fr.po: Update French translation from translation project.
5344
53452013-07-28 David S. Miller <davem@davemloft.net>
5346
5347 * po/cs.po: Update Czech translation from translation project.
5348
5349 * po/sv.po: Update Swedish translation from translation project.
5350
53512013-07-27 David S. Miller <davem@davemloft.net>
5352
5353 * po/eo.po: Update Esperanto translation from translation project.
5354
5355 * po/vi.po: Update Vietnamese translation from translation project.
5356
5357 * po/de.po: Update German translation from translation project.
5358
53592013-07-26 David S. Miller <davem@davemloft.net>
5360
5361 * po/bg.po: Update Bulgarian translation from translation project.
5362
5363 * po/nl.po: Update Dutch translation from translation project.
5364 * po/pl.po: Update Polish translation from translation project.
5365 * po/ru.po: Update Russian translation from translation project.
5366
53672013-07-24 David S. Miller <davem@davemloft.net>
5368
5369 * po/libc.pot: Update.
5370
53712013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5372
5373 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5374 variable page size.
5375 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5376 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5377 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5378
53792013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5380
5381 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5382
53832013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5384 Andreas Schwab <schwab@suse.de>
5385 Roland McGrath <roland@hack.frob.com>
5386 Joseph Myers <joseph@codesourcery.com>
5387 Carlos O'Donell <carlos@redhat.com>
5388
5389 [BZ #15755]
5390 * config.h.in: Define HAVE_PT_CHOWN.
5391 * config.make.in (build-pt-chown): New variable.
5392 * configure.in (--enable-pt_chown): New configure option.
5393 * configure: Regenerate.
5394 * login/Makefile: Include Makeconfig. Build pt_chown only if
5395 build-pt-chown is enabled.
5396 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5397 pt_chown to fix pty ownership.
5398 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5399 CLOSE_ALL_FDS.
5400 * manual/install.texi (Configuring and compiling): Mention
5401 --enable-pt_chown. Add @findex for grantpt.
5402 * INSTALL: Regenerate.
5403
54042013-07-20 David S. Miller <davem@davemloft.net>
5405
5406 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5407 difference between 32-bit and 64-bit.
5408
54092013-07-15 Carlos O'Donell <carlos@redhat.com>
5410
5411 [BZ #15711]
5412 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5413 Avoid system header dependency with -ffreestanding.
5414 ($(objpfx)bits/syscall%d): Likewise.
5415
54162013-07-13 David S. Miller <davem@davemloft.net>
5417
5418 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5419 underflows from atanl/atan2l due to bug 15319.
5420 (casinh_test_data): Likewise.
5421
54222013-07-07 David S. Miller <davem@davemloft.net>
5423
5424 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5425
54262013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5427
5428 * sysdeps/i386/fpu/libm-test-ulps: Update.
5429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5430
54312013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5432
5433 * configure.in (--enable-lock-elision): Fix message text.
5434 * INSTALL: Regenerate.
5435 * configure: Regenerate.
5436
54372013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5438
5439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5440
54412013-07-03 Andreas Jaeger <aj@suse.de>
5442
5443 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5444 define.
5445 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5446 (ptrace_peeksiginfo_args): Add.
5447 (__ptrace_peeksiginfo_flags): Add.
5448 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5449 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5450 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5451
54522013-07-03 Allan McRae <allan@archlinux.org>
5453
5454 * sysdeps/i386/fpu/libm-test-ulps: Update.
5455
54562013-07-02 David S. Miller <davem@davemloft.net>
5457
5458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5459
54602013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5461
5462 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5463
54642013-07-02 Joseph Myers <joseph@codesourcery.com>
5465
5466 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5468
54692013-07-02 Andi Kleen <ak@linux.intel.com>
5470
5471 * config.h.in (ENABLE_LOCK_ELISION): Add.
5472 * configure.in (--enable-lock-elision): Add option.
5473 * manual/install.texi: Document --enable lock elision.
5474 * configure: Regenerate
5475 * INSTALL: Regenerate.
5476
54772013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5478
5479 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5480 SSE4.2 strcasecmp for libc.a.
5481 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5482
54832013-07-02 Joseph Myers <joseph@codesourcery.com>
5484
5485 [BZ #13304]
5486 * soft-fp/op-common.h (_FP_FMA): New macro.
5487 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5488 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5489 (_FP_MUL_MEAT_1_imm): ... here.
5490 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5491 (_FP_MUL_MEAT_1_wide): ... here.
5492 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5493 (_FP_MUL_MEAT_1_hard): ... here.
5494 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5495 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5496 (_FP_MUL_MEAT_2_wide): ... here.
5497 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5498 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5499 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5500 (_FP_MUL_MEAT_2_gmp): ... here.
5501 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5502 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5503 (_FP_MUL_MEAT_4_wide): ... here.
5504 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5505 (_FP_MUL_MEAT_4_gmp): ... here.
5506 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5507 (_FP_WFRACBITS_DW_S): Likewise.
5508 (_FP_WFRACXBITS_DW_S): Likewise.
5509 (_FP_HIGHBIT_DW_S): Likewise.
5510 (FP_FMA_S): Likewise.
5511 (_FP_FRAC_HIGH_DW_S): Likewise.
5512 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5513 (_FP_WFRACBITS_DW_D): Likewise.
5514 (_FP_WFRACXBITS_DW_D): Likewise.
5515 (_FP_HIGHBIT_DW_D): Likewise.
5516 (FP_FMA_D): Likewise.
5517 (_FP_FRAC_HIGH_DW_D): Likewise.
5518 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5519 (_FP_WFRACBITS_DW_E): Likewise.
5520 (_FP_WFRACXBITS_DW_E): Likewise.
5521 (_FP_HIGHBIT_DW_E): Likewise.
5522 (FP_FMA_E): Likewise.
5523 (_FP_FRAC_HIGH_DW_E): Likewise.
5524 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5525 (_FP_WFRACBITS_DW_Q): Likewise.
5526 (_FP_WFRACXBITS_DW_Q): Likewise.
5527 (_FP_HIGHBIT_DW_Q): Likewise.
5528 (FP_FMA_Q): Likewise.
5529 (_FP_FRAC_HIGH_DW_Q): Likewise.
5530 * soft-fp/fmasf4.c: New file.
5531 * soft-fp/fmadf4.c: Likewise.
5532 * soft-fp/fmatf4.c: Likewise.
5533
55342013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5535
5536 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5537 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5538 Silvermont.
5539 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5540 macro.
5541 (index_Slow_SSE4_2): Likewise.
5542 (index_Prefer_PMINUB_for_stringop): Likewise.
5543 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5544 bit_Slow_SSE4_2 is set.
5545 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5546 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5547
55482013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5549
5550 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5551 rtld_global._dl_hwcap2.
5552 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5553 POWER8.
5554 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5555 POWER8 feature descriptions defined in _dl_hwcap2.
5556 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5557 string handling for POWER8 feature bits.
5558 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5559 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5560 _dl_powerpc_cap_flags.
5561 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5562 * sysdeps/powerpc/rtld-global-offsets.sym
5563 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5564 _dl_hwcap2 in the rtld_global_ro structure.
5565
55662013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5567
5568 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5569 hardware capabilities in support of AT_HWCAP2.
5570 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5571 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5572 GLRO(dl_hwcap2).
5573 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5574 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5575 explicitly the unknown a_type display mechanism is used.
5576 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5577 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5578 struct member.
5579 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5580 to macro prototype for AT_HWCAP2 support.
5581 * sysdeps/i386/dl-procinfo.h: Likewise.
5582 * sysdeps/s390/dl-procinfo.h: Likewise.
5583 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5584 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5585 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5586 return -1 for unknown a_type display fallback.
5587 * sysdeps/sparc/dl-procinfo.h: Likewise.
5588 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5589 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5590
55912013-06-28 Joseph Myers <joseph@codesourcery.com>
5592
5593 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5594 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5595
55962013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5597
5598 [BZ #12492]
5599 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5600 mprotect making __stack_prot writable.
5601
56022013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5603 Joseph Myers <joseph@codesourcery.com>
5604
5605 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5606 as being properly aligned.
5607
56082013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5609
5610 * dlfcn/modstatic5.c: New file.
5611 * dlfcn/tststatic5.c: New file.
5612 * dlfcn/Makefile (tests): Add tststatic5.
5613 (tests-static): Likewise.
5614 (modules-names): Add modstatic5.
5615 (tststatic5-ENV): New variable.
5616 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5617
5618 [BZ #15022]
5619 * elf/dl-support.c (_dl_main_map): New variable.
5620 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5621 (_dl_nns, _dl_load_adds): Set to 1.
5622 (_dl_initial_searchlist): Refer to _dl_main_map.
5623 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5624 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5625 call to _dl_get_origin.
5626 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5627 around call_map.
5628 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5629 * dlfcn/modstatic3.c: New file.
5630 * dlfcn/tststatic3.c: New file.
5631 * dlfcn/tststatic4.c: New file.
5632 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5633 (tests-static): Likewise.
5634 (modules-names): Add modstatic3.
5635 (tststatic3-ENV, tststatic4-ENV): New variables.
5636 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5637 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5638
56392013-06-26 Joseph Myers <joseph@codesourcery.com>
5640
5641 * configure.in (CC): Require GCC version 4.4 or later.
5642 * configure: Regenerated.
5643 * manual/install.texi (Tools for Compilation): Update GCC version
5644 requirement.
5645 * INSTALL: Regenerated.
5646
56472013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5648
5649 [BZ #15674]
5650 * string/test-memcmp.c (check2): New.
5651 (main): Call check2.
5652
5653 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5654
56552013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5656
5657 [BZ #15022]
5658 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5659 over to...
5660 (dl_open_worker) [!SHARED]: ... here.
5661
56622013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5663
5664 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5665
56662013-06-25 Richard Henderson <rth@redhat.com>
5667
5668 * locale/programs/locarchive.c: Include <libc-internal.h>
5669
56702013-06-25 Joseph Myers <joseph@codesourcery.com>
5671
5672 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5673 trailing whitespace removed.
5674
56752013-06-24 Mike Frysinger <vapier@gentoo.org>
5676
5677 [BZ #10283]
5678 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5679 * locale/programs/locarchive.c: Include libc-mmap.h.
5680 (prepare_address_space): Take two new outputs (the mmap base and len).
5681 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5682 values.
5683 (create_archive): Declare new mmap base and len values for
5684 prepare_address_space, and store the result in ah.
5685 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5686 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5687 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5688 Declare new mmap base and len values for
5689 prepare_address_space, and store the result in new_ah.
5690 (open_archive): Declare new mmap base and len values for
5691 prepare_address_space, and store the result in ah.
5692 (close_archive): If ah->mmap_base is not NULL, use that and
5693 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5694 * sysdeps/generic/libc-mmap.h: New file.
5695
56962013-06-24 Mike Frysinger <vapier@gentoo.org>
5697
5698 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5699 (ALIGN_UP): Likewise.
5700 (PTR_ALIGN_DOWN): Likewise.
5701 (PTR_ALIGN_UP): Likewise.
5702
57032013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5704
5705 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5706 entry mapped to PPC_PLATFORM_POWER8.
5707 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5708 POWER8.
5709 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5710 (_dl_string_platform): Add case for exporting platform position for
5711 POWER8.
5712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5713 search path to sysdeps/powerpc/powerpc32/power8 directory.
5714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5715 search path to sysdeps/powerpc/powerpc64/power8 directory.
5716 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5717 power7 directories.
5718 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5719 power7 directories.
5720
57212013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5722
5723 * INSTALL: Regenerate.
5724
5725 * nscd/connections.c (nscd_init): Fix comment.
5726
57272013-06-22 Joseph Myers <joseph@codesourcery.com>
5728
5729 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5730
5731 [BZ #15667]
5732 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5733 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5734
57352013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5736
5737 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5738 DL_DST_REQ_STATIC.
5739 (DL_DST_REQ_STATIC): Remove macro.
5740
57412013-06-21 Joseph Myers <joseph@codesourcery.com>
5742
5743 [BZ #7006]
5744 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5745 with a shift of 0 bits.
5746
57472013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5748
5749 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5750 $(tststatic-ENV).
5751
57522013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5753
5754 [BZ #15655]
5755 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5756
57572013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5758
5759 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5760 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5761 accepts -fno-tree-loop-distribute-patterns.
5762 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5763 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5764 recursive call.
5765 * string/memset.c (memset): Likewise.
5766 * string/test-memmove.c (simple_memmove): Disable loop transformation
5767 to library calls.
5768 * string/test-memset.c (simple_memset): Likewise.
5769 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5770 * benchtests/bench-memset.c (simple_memset): Likewise.
5771 * configure: Regenerated.
5772
57732013-06-20 Joseph Myers <joseph@codesourcery.com>
5774
5775 * math/test-misc.c (main): Ignore fesetround failure when failures
5776 of subsequent rounding tests would be ignored.
5777
5778 [BZ #15654]
5779 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5780 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5781 * math/fegetenv.c (__fegetenv): Return 0.
5782 * math/fegetexcept.c (fegetexcept): Return 0.
5783 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5784 FE_TONEAREST.
5785 * math/feholdexcpt.c (feholdexcept): Return 0.
5786 * math/fesetenv.c (__fesetenv): Return 0.
5787 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5788 argument FE_TONEAREST.
5789 * math/feupdateenv.c (__feupdateenv): Return 0.
5790 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5791
57922013-06-18 Roland McGrath <roland@hack.frob.com>
5793
5794 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5795 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5796 ($(objpfx)rtld-%.os rules): Use them.
5797
57982013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5799
5800 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5801 fields.
5802
58032013-06-17 Roland McGrath <roland@hack.frob.com>
5804
5805 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5806 length of target pattern, then descending length of dependency pattern.
5807 * configure.in (AWK): Require gawk 3.1.2 or newer.
5808 * manual/install.texi (Tools for Compilation): Say that we do.
5809 * configure: Regenerated.
5810
5811 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5812 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5813 * scripts/sysd-rules.awk: ... this new script.
5814 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5815 than a glob-style pattern.
5816
58172013-06-17 Joseph Myers <joseph@codesourcery.com>
5818
5819 * math/test-misc.c (main): Do not treat incorrectly rounded
5820 conversions as failure unless ROUNDING_TESTS passes.
5821
58222013-06-15 Joseph Myers <joseph@codesourcery.com>
5823
5824 [BZ #15631]
5825 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5826 restore exception state around main square root computation, then
5827 check for inexactness explicitly.
5828
5829 * math/libm-test.inc (fma_test_data): Add another test.
5830
58312013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5832
5833 * manual/threads.texi (Non-POSIX Extensions): New document
5834 node. Document pthread_getattr_default_np and
5835 pthread_setattr_default_np.
5836
5837 * Versions.def (libpthread): Add GLIBC_2.18.
5838 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5840 Likewise.
5841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5842 Likewise.
5843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5844 Likewise.
5845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5846 Likewise.
5847 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5848 Likewise.
5849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5850 Likewise.
5851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5852 Likewise.
5853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5854 Likewise.
5855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5856 Likewise.
5857
58582013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5859
5860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5861 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5862
58632013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5864 H.J. Lu <hjl.tools@gmail.com>
5865
5866 [BZ #15627]
5867 * sysdeps/x86_64/rtld-memset.c: Remove file.
5868 * sysdeps/x86_64/rtld-memset.S: New file.
5869
58702013-06-14 Joseph Myers <joseph@codesourcery.com>
5871
5872 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5873 (test_in_one_mode): Take arguments for whether the rounding mode
5874 is supported for each floating-point type.
5875 (do_test): Pass new arguments to test_in_one_mode using
5876 ROUNDING_TESTS.
5877
58782013-06-13 Roland McGrath <roland@hack.frob.com>
5879
5880 * posix/tst-waitid.c (do_test): Distinguish different instances of
5881 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5882 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5883 before entering the kernel for waitpid.
5884
58852013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5886
5887 * NEWS: Fix note on clock function precision. Text by Roland
5888 McGrath.
5889
58902013-06-13 Roland McGrath <roland@hack.frob.com>
5891
5892 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5893 it into place only when and if the sanity check passes.
5894
58952013-06-13 Joseph Myers <joseph@codesourcery.com>
5896
5897 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5898 output for whether conversion result is exact. Take argument
5899 indicating whether type is IBM long double.
5900 (round_for_all): Change need_exact field to ibm_ld.
5901 * stdlib/tst-strtod-round.c (struct exactness): New type.
5902 (struct test): Change bool ld_ok field to struct exactness exact.
5903 (TEST): Update all definitions for change to field.
5904 (tests): Regenerate array contents.
5905 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5906 field value. Check for IBM long double here.
5907 (do_test): Update calls to test_in_one_mode.
5908
59092013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5910
5911 [BZ #12515]
5912 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5913 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5914
59152013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5916
5917 [BZ #15605]
5918 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5919 generated by the compiler on loop optimizations.
5920 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5921 general definitions.
5922
59232013-06-12 Joseph Myers <joseph@codesourcery.com>
5924
5925 * math/bug-nextafter.c: Include <math-tests.h>.
5926 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5927 the relevant type.
5928 * math/bug-nexttoward.c: Include <math-tests.h>.
5929 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5930 the relevant type.
5931 * math/test-misc.c: Include <math-tests.h>.
5932 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5933 the relevant type.
5934
59352013-06-12 Andreas Jaeger <aj@suse.de>
5936
5937 * po/ia.po: Update Interlingua translation from translation
5938 project.
5939
59402013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5941
5942 * include/fenv.h: Include stdbool.h.
5943 (struct rm_ctx): New structure.
5944 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5945 Define macro.
5946 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5947 (SET_RESTORE_ROUNDF): Likewise.
5948 (SET_RESTORE_ROUNDL): Likewise.
5949 (SET_RESTORE_ROUND_NOEX): Likewise.
5950 (SET_RESTORE_ROUND_NOEXF): Likewise.
5951 (SET_RESTORE_ROUND_NOEXL): Likewise.
5952 (SET_RESTORE_ROUND_53BIT): Likewise.
5953 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5954 (libc_feresetround_noexf_ctx): Likewise.
5955 (libc_feresetround_noexl_ctx): Likewise.
5956 (libc_feholdsetround_53bit_ctx): Likewise.
5957 (libc_feresetround_53bit_ctx): Likewise.
5958 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5959 (libc_feholdexcept_setround_sse_ctx): New function.
5960 (libc_fesetenv_sse_ctx): Likewise.
5961 (libc_feupdateenv_sse_ctx): Likewise.
5962 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5963 (libc_feholdexcept_setround_387_ctx): Likewise.
5964 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5965 (libc_feholdsetround_387_prec_ctx): Likewise.
5966 (libc_feholdsetround_387_ctx): Likewise.
5967 (libc_feholdsetround_387_53bit_ctx): Likewise.
5968 (libc_feholdsetround_sse_ctx): Likewise.
5969 (libc_feresetround_sse_ctx): Likewise.
5970 (libc_feresetround_387_ctx): Likewise.
5971 (libc_feupdateenv_387_ctx): Likewise.
5972 (libc_feholdexcept_setroundf_ctx): Define macro.
5973 (libc_fesetenvf_ctx): Likewise.
5974 (libc_feupdateenvf_ctx): Likewise.
5975 (libc_feholdsetroundf_ctx): Likewise.
5976 (libc_feresetroundf_ctx): Likewise.
5977 (libc_feholdexcept_setround_ctx): Likewise.
5978 (libc_fesetenv_ctx): Likewise.
5979 (libc_feupdateenv_ctx): Likewise.
5980 (libc_feholdsetround_ctx): Likewise.
5981 (libc_feresetround_ctx): Likewise.
5982 (libc_feholdexcept_setroundl_ctx): Likewise.
5983 (libc_feupdateenvl_ctx): Likewise.
5984 (libc_feholdsetroundl_ctx): Likewise.
5985 (libc_feresetroundl_ctx): Likewise.
5986 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5987 (libc_feresetround_53bit_ctx): Likewise.
5988
59892013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5990
5991 * locale/iso-639.def: Convert to UTF-8.
5992
59932013-06-11 Joseph Myers <joseph@codesourcery.com>
5994
5995 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5996 (EXCEPTION_TESTS_double): Likewise.
5997 (EXCEPTION_TESTS_long_double): Likewise.
5998 (EXCEPTION_TESTS): Likewise.
5999 * math/libm-test.inc (test_exceptions): Only test exceptions if
6000 EXCEPTION_TESTS (FLOAT).
6001
60022013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6003
6004 * benchtests/Makefile (string-bench): Add strcpy_chk and
6005 stpcpy_chk.
6006 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6007 * benchtests/bench-stpcpy_chk.c: New file.
6008 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6009 * benchtests/bench-strcpy_chk.c: New file.
6010 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6011 code.
6012 (do_test): Likewise.
6013
60142013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6015
6016 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6017 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6018 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6019 with tabs where appropriate.
6020 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6021 dl-procinfo.h.
6022 [PPC_PLATFORM_PPC440]: Likewise.
6023 [PPC_PLATFORM_PPC464]: Likewise.
6024 [PPC_PLATFORM_PPC476]: Likewise.
6025 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6026 ppc464, and ppc476 platform strings merging from ports/
6027 dl-procinfo.h.
6028
60292013-06-11 Andreas Schwab <schwab@suse.de>
6030
6031 [BZ #14991]
6032 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6033 (from_ucs4_idx): Regenerate.
6034 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6035 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6036 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6037 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6038 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6039 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6040 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6041 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6042 from FROM_LOOP and TO_LOOP specific macros.
6043 (BODY): Handle combining characters.
6044 * iconvdata/BIG5HKSCS.irreversible: Update.
6045 * iconvdata/BIG5HKSCS.precomposed: New file.
6046 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6047 characters.
6048 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6049
60502013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6051
6052 * include/sys/time.h: Fix indentation and add copyright header.
6053
6054 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6055 (do_test): Likewise.
6056 * string/test-memchr.c (do_one_test): Likewise.
6057 (do_test): Likewise.
6058 * string/test-memcmp.c (do_one_test): Likewise.
6059 (do_test): Likewise.
6060 * string/test-memcpy.c (do_one_test): Likewise.
6061 (do_test): Likewise.
6062 * string/test-memmem.c (do_one_test): Likewise.
6063 (do_test): Likewise.
6064 (do_random_tests): Likewise.
6065 * string/test-memmove.c (do_one_test): Likewise.
6066 (do_test): Likewise.
6067 * string/test-memset.c (do_one_test): Likewise.
6068 (do_test): Likewise.
6069 * string/test-rawmemchr.c (do_one_test): Likewise.
6070 (do_test): Likewise.
6071 * string/test-strcasecmp.c (do_one_test): Likewise.
6072 (do_test): Likewise.
6073 * string/test-strcasestr.c (do_one_test): Likewise.
6074 (do_test): Likewise.
6075 * string/test-strcat.c (do_one_test): Likewise.
6076 (do_test): Likewise.
6077 * string/test-strchr.c (do_one_test): Likewise.
6078 (do_test): Likewise.
6079 * string/test-strcmp.c (do_one_test): Likewise.
6080 (do_test): Likewise.
6081 * string/test-strcpy.c (do_one_test): Likewise.
6082 (do_test): Likewise.
6083 * string/test-string.h: Likewise.
6084 (test_init): Likewise.
6085 * string/test-strlen.c (do_one_test): Likewise.
6086 (do_test): Likewise.
6087 * string/test-strncasecmp.c (do_one_test): Likewise.
6088 (do_test): Likewise.
6089 * string/test-strncat.c (do_one_test): Likewise.
6090 (do_test): Likewise.
6091 * string/test-strncmp.c (do_one_test): Likewise.
6092 (do_test_limit): Likewise.
6093 (do_test): Likewise.
6094 * string/test-strncpy.c (do_one_test): Likewise.
6095 (do_test): Likewise.
6096 * string/test-strnlen.c (do_one_test): Likewise.
6097 (do_test): Likewise.
6098 * string/test-strpbrk.c (do_one_test): Likewise.
6099 (do_test): Likewise.
6100 * string/test-strrchr.c (do_one_test): Likewise.
6101 (do_test): Likewise.
6102 * string/test-strspn.c (do_one_test): Likewise.
6103 (do_test): Likewise.
6104 * string/test-strstr.c (do_one_test): Likewise.
6105 (do_test): Likewise.
6106
6107 * benchtests/Makefile (string-bench): Add string benchmarks.
6108 * benchtests/bench-bcopy-ifunc.c: New file.
6109 * benchtests/bench-bcopy.c: New file.
6110 * benchtests/bench-bzero-ifunc.c: New file.
6111 * benchtests/bench-bzero.c: New file.
6112 * benchtests/bench-memccpy-ifunc.c: New file.
6113 * benchtests/bench-memccpy.c: New file.
6114 * benchtests/bench-memchr-ifunc.c: New file.
6115 * benchtests/bench-memchr.c: New file.
6116 * benchtests/bench-memcmp-ifunc.c: New file.
6117 * benchtests/bench-memcmp.c: New file.
6118 * benchtests/bench-memmem-ifunc.c: New file.
6119 * benchtests/bench-memmem.c: New file.
6120 * benchtests/bench-memmove-ifunc.c: New file.
6121 * benchtests/bench-memmove.c: New file.
6122 * benchtests/bench-mempcpy-ifunc.c: New file.
6123 * benchtests/bench-mempcpy.c: New file.
6124 * benchtests/bench-memset-ifunc.c: New file.
6125 * benchtests/bench-memset.c: New file.
6126 * benchtests/bench-rawmemchr-ifunc.c: New file.
6127 * benchtests/bench-rawmemchr.c: New file.
6128 * benchtests/bench-stpcpy-ifunc.c: New file.
6129 * benchtests/bench-stpcpy.c: New file.
6130 * benchtests/bench-stpncpy-ifunc.c: New file.
6131 * benchtests/bench-stpncpy.c: New file.
6132 * benchtests/bench-strcasecmp-ifunc.c: New file.
6133 * benchtests/bench-strcasecmp.c: New file.
6134 * benchtests/bench-strcasestr-ifunc.c: New file.
6135 * benchtests/bench-strcasestr.c: New file.
6136 * benchtests/bench-strcat-ifunc.c: New file.
6137 * benchtests/bench-strcat.c: New file.
6138 * benchtests/bench-strchr-ifunc.c: New file.
6139 * benchtests/bench-strchr.c: New file.
6140 * benchtests/bench-strchrnul-ifunc.c: New file.
6141 * benchtests/bench-strchrnul.c: New file.
6142 * benchtests/bench-strcmp-ifunc.c: New file.
6143 * benchtests/bench-strcmp.c: New file.
6144 * benchtests/bench-strcpy-ifunc.c: New file.
6145 * benchtests/bench-strcpy.c: New file.
6146 * benchtests/bench-strcspn-ifunc.c: New file.
6147 * benchtests/bench-strcspn.c: New file.
6148 * benchtests/bench-strlen-ifunc.c: New file.
6149 * benchtests/bench-strlen.c: New file.
6150 * benchtests/bench-strncasecmp-ifunc.c: New file.
6151 * benchtests/bench-strncasecmp.c: New file.
6152 * benchtests/bench-strncat-ifunc.c: New file.
6153 * benchtests/bench-strncat.c: New file.
6154 * benchtests/bench-strncmp-ifunc.c: New file.
6155 * benchtests/bench-strncmp.c: New file.
6156 * benchtests/bench-strncpy-ifunc.c: New file.
6157 * benchtests/bench-strncpy.c: New file.
6158 * benchtests/bench-strnlen-ifunc.c: New file.
6159 * benchtests/bench-strnlen.c: New file.
6160 * benchtests/bench-strpbrk-ifunc.c: New file.
6161 * benchtests/bench-strpbrk.c: New file.
6162 * benchtests/bench-strrchr-ifunc.c: New file.
6163 * benchtests/bench-strrchr.c: New file.
6164 * benchtests/bench-strspn-ifunc.c: New file.
6165 * benchtests/bench-strspn.c: New file.
6166 * benchtests/bench-strstr-ifunc.c: New file.
6167 * benchtests/bench-strstr.c: New file.
6168
6169 * benchtests/Makefile: Disable parallel execution of targets.
6170 (string-bench): Add memcpy.
6171 (benchset): New variable to store a list of benchmark sets.
6172 (bench-func): Renamed from bench.
6173 (bench-set): New target.
6174 (bench): Depend on bench-func and bench-set.
6175 * benchtests/README: Add section on benchmark sets.
6176 * benchtests/bench-memcpy-ifunc.c: New file.
6177 * benchtests/bench-memcpy.c: New file.
6178 * benchtests/bench-string.h: New file.
6179
61802013-06-11 Andreas Schwab <schwab@suse.de>
6181
6182 [BZ #15577]
6183 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6184 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6185 values in the triple.
6186 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6187 terminator in the group key.
6188
61892013-06-11 Andreas Jaeger <aj@suse.de>
6190
6191 * po/zh_TW.po: Update Chinese (traditional) translation from
6192 translation project.
6193
61942013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6195
6196 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6197 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6198 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6199 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6200 (clock_getcpuclockid): Likewise.
6201 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6202 Add weak_alias and libc_hidden_def.
6203 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6204 * rt/clock_gettime.c (clock_gettime): Rename to
6205 __clock_gettime. Add weak_alias and libc_hidden_def.
6206 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6207 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6208 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6209 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6210 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6211 Likewise.
6212 * rt/clock_settime.c (clock_settime): Rename to
6213 __clock_settime. Add weak_alias and libc_hidden_def.
6214 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6215
62162013-06-10 Joseph Myers <joseph@codesourcery.com>
6217
6218 * mach/err_boot.sub: Remove trailing whitespace.
6219 * mach/err_ipc.sub: Likewise.
6220 * mach/err_mach.sub: Likewise.
6221
6222 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6223 (ROUNDING_TESTS_double): Likewise.
6224 (ROUNDING_TESTS_long_double): Likewise.
6225 (ROUNDING_TESTS): Likewise.
6226 * math/libm-test.inc: Include <math-tests.h>.
6227 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6228 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6229 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6230 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6231
62322013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6233
6234 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6235 of assigning.
6236
62372013-06-08 Joseph Myers <joseph@codesourcery.com>
6238
6239 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6240 otherwise empty TRANS lines.
6241 * sysdeps/gnu/errlist.c: Regenerated.
6242
6243 * catgets/gencat.c (error_print): Use (void) in function
6244 definition.
6245 * crypt/crypt_util.c (__init_des): Likewise.
6246 * crypt/speeds.c (Stop): Likewise.
6247 (main): Likewise.
6248 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6249 * inet/ruserpass.c (token): Likewise.
6250 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6251 * intl/localealias.c (extend_alias_table): Likewise.
6252 * intl/plural-exp.c (init_germanic_plural): Likewise.
6253 * libio/fcloseall.c (__fcloseall): Likewise.
6254 * libio/genops.c (_IO_flush_all): Likewise.
6255 (_IO_flush_all_linebuffered): Likewise.
6256 (_IO_cleanup): Likewise.
6257 (_IO_iter_begin): Likewise.
6258 (_IO_iter_end): Likewise.
6259 (_IO_list_lock): Likewise.
6260 (_IO_list_unlock): Likewise.
6261 (_IO_list_resetlock): Likewise.
6262 * libio/getchar.c (getchar): Likewise.
6263 * libio/getchar_u.c (getchar_unlocked): Likewise.
6264 * libio/getwchar.c (getwchar): Likewise.
6265 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6266 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6267 * login/getpt.c (__getpt): Likewise.
6268 * login/tst-utmp.c (main): Likewise.
6269 * malloc/hooks.c (__malloc_check_init): Likewise.
6270 * malloc/malloc.c (__malloc_stats): Likewise.
6271 * malloc/mtrace.c (tr_break): Likewise.
6272 (mtrace): Likewise.
6273 (muntrace): Likewise.
6274 * misc/fstab.c (endfsent): Likewise.
6275 * misc/getclktck.c (__getclktck): Likewise.
6276 * misc/getdtsz.c (__getdtablesize): Likewise.
6277 * misc/gethostid.c (gethostid): Likewise.
6278 * misc/getpagesize.c (__getpagesize): Likewise.
6279 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6280 (__get_nprocs): Likewise.
6281 (__get_phys_pages): Likewise.
6282 (__get_avphys_pages): Likewise.
6283 * misc/getttyent.c (getttyent): Likewise.
6284 (setttyent): Likewise.
6285 (endttyent): Likewise.
6286 * misc/getusershell.c (getusershell): Likewise.
6287 (endusershell): Likewise.
6288 (setusershell): Likewise.
6289 (initshells): Likewise.
6290 * misc/hsearch.c (__hdestroy): Likewise.
6291 * misc/sync.c (sync): Likewise.
6292 * misc/syslog.c (closelog_internal): Likewise.
6293 (closelog): Likewise.
6294 * misc/ttyslot.c (ttyslot): Likewise.
6295 * misc/vhangup.c (vhangup): Likewise.
6296 * posix/fork.c (__fork): Likewise.
6297 * posix/getegid.c (__getegid): Likewise.
6298 * posix/geteuid.c (__geteuid): Likewise.
6299 * posix/getgid.c (__getgid): Likewise.
6300 * posix/getpid.c (__getpid): Likewise.
6301 * posix/getppid.c (__getppid): Likewise.
6302 * posix/getuid.c (__getuid): Likewise.
6303 * posix/pause.c (pause): Likewise.
6304 * posix/setpgrp.c (setpgrp): Likewise.
6305 * posix/setsid.c (__setsid): Likewise.
6306 * posix/test-vfork.c (noop): Likewise.
6307 * resolv/gethnamaddr.c (_endhtent): Likewise.
6308 (_gethtent): Likewise.
6309 (ht_endhostent): Likewise.
6310 (gethostent): Likewise.
6311 (dns_service): Likewise.
6312 * stdlib/drand48.c (drand48): Likewise.
6313 * stdlib/lrand48.c (lrand48): Likewise.
6314 * stdlib/mrand48.c (mrand48): Likewise.
6315 * stdlib/rand.c (rand): Likewise.
6316 * stdlib/random.c (__random): Likewise.
6317 * stdlib/setenv.c (clearenv): Likewise.
6318 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6319 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6320 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6321 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6322 (__get_nprocs): Likewise.
6323 (__get_phys_pages): Likewise.
6324 (__get_avphys_pages): Likewise.
6325 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6326 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6327 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6328 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6329 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6330 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6331 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6332 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6333 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6334 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6335 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6336 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6337 * sysdeps/posix/clock.c (clock): Likewise.
6338 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6339 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6340 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6341 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6342 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6343 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6344 (__get_nprocs_conf): Likewise.
6345 (__get_phys_pages): Likewise.
6346 (__get_avphys_pages): Likewise.
6347 * time/clock.c (clock): Likewise.
6348 * time/tzset.c (__tzname_max): Likewise.
6349
63502013-06-07 Joseph Myers <joseph@codesourcery.com>
6351
6352 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6353 (__bswap_32): Do not use "register".
6354 * crypt/crypt.c (_ufc_doit_r): Likewise.
6355 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6356 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6357 * gmon/gmon.c (__monstartup): Likewise.
6358 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6359 * hurd/hurdmalloc.c (more_memory): Likewise.
6360 (malloc): Likewise.
6361 (free): Likewise.
6362 (realloc): Likewise.
6363 (malloc_fork_prepare): Likewise.
6364 (malloc_fork_parent): Likewise.
6365 (malloc_fork_child): Likewise.
6366 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6367 (_svcauth_des): Likewise.
6368 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6369 * inet/inet_net.c (inet_network): Likewise.
6370 * inet/inet_netof.c (inet_netof): Likewise.
6371 * inet/rcmd.c (__validuser2_sa): Likewise.
6372 * io/fts.c (fts_open): Likewise.
6373 (fts_load): Likewise.
6374 (fts_close): Likewise.
6375 (fts_read): Likewise.
6376 (fts_children): Likewise.
6377 (fts_build): Likewise.
6378 (fts_stat): Likewise.
6379 (fts_sort): Likewise.
6380 (fts_alloc): Likewise.
6381 (fts_lfree): Likewise.
6382 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6383 (_IO_file_xsgetn): Likewise.
6384 (_IO_file_xsgetn_mmap): Likewise.
6385 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6386 (_IO_cookie_write): Likewise.
6387 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6388 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6389 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6390 * malloc/obstack.c (_obstack_begin): Likewise.
6391 (_obstack_begin_1): Likewise.
6392 (_obstack_newchunk): Likewise.
6393 (_obstack_allocated_p): Likewise.
6394 (obstack_free): Likewise.
6395 (_obstack_memory_used): Likewise.
6396 * misc/getttyent.c (getttynam): Likewise.
6397 (getttyent): Likewise.
6398 (skip): Likewise.
6399 (value): Likewise.
6400 * misc/getusershell.c (initshells): Likewise.
6401 * misc/syslog.c (__vsyslog_chk): Likewise.
6402 * misc/ttyslot.c (ttyslot): Likewise.
6403 * nis/nis_hash.c (__nis_hash): Likewise.
6404 * posix/fnmatch_loop.c (FCT): Likewise.
6405 * posix/getconf.c (print_all): Likewise.
6406 (main): Likewise.
6407 * posix/getopt.c (exchange): Likewise.
6408 * posix/glob.c (globfree): Likewise.
6409 (prefix_array): Likewise.
6410 (__glob_pattern_type): Likewise.
6411 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6412 (NS_GET32): Likewise.
6413 (NS_PUT16): Likewise.
6414 (NS_PUT32): Likewise.
6415 * resolv/gethnamaddr.c (getanswer): Likewise.
6416 (gethostbyname2): Likewise.
6417 (gethostbyaddr): Likewise.
6418 (_gethtent): Likewise.
6419 (_gethtbyname2): Likewise.
6420 (_gethtbyaddr): Likewise.
6421 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6422 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6423 * resolv/res_init.c (__res_vinit): Likewise.
6424 (net_mask): Likewise.
6425 * resolv/res_mkquery.c (outchar): Likewise.
6426 (PRINT): Likewise.
6427 * stdio-common/printf_fp.c (outchar): Likewise.
6428 (PRINT): Likewise.
6429 * stdio-common/printf_fphex.c (outchar): Likewise.
6430 (PRINT): Likewise.
6431 * stdio-common/printf_size.c (outchar): Likewise.
6432 (PRINT): Likewise.
6433 * stdio-common/test_rdwr.c (main): Likewise.
6434 * stdio-common/tfformat.c (matches): Likewise.
6435 * stdio-common/vfprintf.c (outchar): Likewise.
6436 (printf_unknown): Likewise.
6437 (buffered_vfprintf): Likewise.
6438 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6439 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6440 (ReadFile): Likewise.
6441 * stdlib/qsort.c (SWAP): Likewise.
6442 (_quicksort): Likewise.
6443 * stdlib/setenv.c (__add_to_environ): Likewise.
6444 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6445 * stdlib/strtol_l.c (__strtol_l): Likewise.
6446 * stdlib/tst-strtod.c (main): Likewise.
6447 * stdlib/tst-strtol.c (main): Likewise.
6448 * stdlib/tst-strtoll.c (main): Likewise.
6449 * string/bits/string2.h (__strcmp_cc): Likewise.
6450 (__strcmp_cg): Likewise.
6451 (__strcspn_c1): Likewise.
6452 (__strcspn_c2): Likewise.
6453 (__strcspn_c3): Likewise.
6454 (__strspn_c1): Likewise.
6455 (__strspn_c2): Likewise.
6456 (__strspn_c3): Likewise.
6457 (__strsep_1c): Likewise.
6458 (__strsep_2c): Likewise.
6459 (__strsep_3c): Likewise.
6460 * string/memccpy.c (__memccpy): Likewise.
6461 * string/stpcpy.c (__stpcpy): Likewise.
6462 * string/strcmp.c (strcmp): Likewise.
6463 * string/strrchr.c (strrchr): Likewise.
6464 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6465 Likewise.
6466 * sysdeps/mach/hurd/getcwd.c
6467 (_hurd_canonicalize_directory_name_internal): Likewise.
6468 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6469 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6470 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6471 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6472 Likewise, in both definitions.
6473 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6474 definitions.
6475 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6476 64] (__bswap_64): Likewise.
6477 * time/test_time.c (main): Likewise.
6478 * time/tzfile.c (__tzfile_read): Likewise.
6479 (__tzfile_compute): Likewise.
6480 * time/tzset.c (__tzset_parse_tz): Likewise.
6481 (tzset_internal): Likewise.
6482 (compute_change): Likewise.
6483 * wcsmbs/wcscat.c (__wcscat): Likewise.
6484 * wcsmbs/wcschr.c (wcschr): Likewise.
6485 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6486 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6487 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6488 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6489 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6490 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6491 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6492 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6493 * wcsmbs/wmemset.c (wmemset): Likewise.
6494
64952013-06-06 Joseph Myers <joseph@codesourcery.com>
6496
6497 * scripts/config.guess: Update to version 2013-05-16.
6498 * scripts/config.sub: Update to version 2013-04-24.
6499 * scripts/install-sh: Update to version 2011-11-20.07.
6500 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6501 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6502
65032013-06-06 Ondřej Bílka <neleai@seznam.cz>
6504
6505 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6506 * elf/sln.c: Likewise.
6507 * hurd/hurd/ioctl.h: Likewise.
6508 * hurd/hurdmalloc.c: Likewise.
6509 * hurd/xattr.c: Likewise.
6510 * include/shlib-compat.h: Likewise.
6511 * inet/ruserpass.c: Likewise.
6512 * libio/iofgets_u.c: Likewise.
6513 * libio/iofgetws_u.c: Likewise.
6514 * locale/programs/ld-identification.c: Likewise.
6515 * locale/programs/ld-time.c: Likewise.
6516 * mach/msg-destroy.c: Likewise.
6517 * nss/nss_files/files-netgrp.c: Likewise.
6518 * resolv/res_data.c: Likewise.
6519 * soft-fp/op-1.h: Likewise.
6520 * soft-fp/op-2.h: Likewise.
6521 * soft-fp/op-4.h: Likewise.
6522 * soft-fp/op-common.h: Likewise.
6523 * stdio-common/printf_fphex.c: Likewise.
6524 * stdlib/strtod_l.c: Likewise.
6525 * sunrpc/rpc/clnt.h: Likewise.
6526 * sysdeps/generic/framestate.c: Likewise.
6527 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6528 * sysdeps/i386/bsd-setjmp.S: Likewise.
6529 * sysdeps/i386/__longjmp.S: Likewise.
6530 * sysdeps/i386/setjmp.S: Likewise.
6531 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6532 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6533 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6534 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6535 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6536 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6537 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6538 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6539 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6540 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6541 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6542 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6543 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6544 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6545 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6546 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6547 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6548 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6549 * sysdeps/ieee754/support.c: Likewise.
6550 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6551 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6552 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6553 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6554 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6555 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6556 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6557 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6558 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6559 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6560 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6561 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6562 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6563 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6564 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6565 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6566 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6568
65692013-06-05 Ondřej Bílka <neleai@seznam.cz>
6570
6571 * posix/transbug.c: Remove executable mode.
6572
65732013-06-05 Joseph Myers <joseph@codesourcery.com>
6574
6575 * crypt/speeds.c: Remove trailing whitespace.
6576 * dlfcn/default.c: Likewise.
6577 * elf/ifuncdep2.c: Likewise.
6578 * elf/ifuncmain1.c: Likewise.
6579 * elf/ifuncmain1vis.c: Likewise.
6580 * elf/testobj.h: Likewise.
6581 * elf/tst-stackguard1.c: Likewise.
6582 * gmon/sys/gmon.h: Likewise.
6583 * hurd/hurdmsg.c: Likewise.
6584 * hurd/new-fd.c: Likewise.
6585 * hurd/ports-get.c: Likewise.
6586 * iconvdata/ibm1008_420.c: Likewise.
6587 * inet/tst-getni1.c: Likewise.
6588 * inet/tst-getni2.c: Likewise.
6589 * libio/ioungetc.c: Likewise.
6590 * libio/wfiledoalloc.c: Likewise.
6591 * manual/libm-err-tab.pl: Likewise.
6592 * math/w_dremf.c: Likewise.
6593 * misc/ftruncate.c: Likewise.
6594 * posix/bug-glob2.c: Likewise.
6595 * posix/tst-pcre.c: Likewise.
6596 * posix/wait4.c: Likewise.
6597 * resolv/README: Likewise.
6598 * resolv/res_debug.h: Likewise.
6599 * resolv/tst-inet_ntop.c: Likewise.
6600 * setjmp/bug269-setjmp.c: Likewise.
6601 * soft-fp/extended.h: Likewise.
6602 * soft-fp/op-1.h: Likewise.
6603 * soft-fp/op-2.h: Likewise.
6604 * soft-fp/op-4.h: Likewise.
6605 * soft-fp/op-8.h: Likewise.
6606 * soft-fp/testit.c: Likewise.
6607 * stdio-common/bug16.c: Likewise.
6608 * stdlib/random.c: Likewise.
6609 * sunrpc/rpcsvc/rquota.x: Likewise.
6610 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6611 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6612 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6613 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6614 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6615 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6616 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6617 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6618 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6619 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6620 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6621 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6622 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6623 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6624 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6625 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6626 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6627 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6628 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6629 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6630 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6631 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6632 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6633 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6634 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6635 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6636 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6637 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6638 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6639 * sysdeps/ieee754/s_lib_version.c: Likewise.
6640 * sysdeps/mach/hurd/check_fds.c: Likewise.
6641 * sysdeps/mach/hurd/getsockname.c: Likewise.
6642 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6643 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6644 * sysdeps/powerpc/bits/link.h: Likewise.
6645 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6646 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6647 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6648 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6649 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6650 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6651 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6652 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6653 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6654 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6655 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6656 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6657 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6658 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6659 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6660 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6661 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6662 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6663 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6664 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6665 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6666 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6667 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6668 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6669 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6670 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6671 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6672 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6673 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6674 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6675 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6676 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6677 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6678 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6679 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6680 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6681 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6682 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6683 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6684 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6685 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6686 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6687 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6688 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6689 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6690 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6691 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6692 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6693 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6694 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6695 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6696 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6697 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6698 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6699 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6700 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6701 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6702 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6703 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6704 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6705 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6706 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6707 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6708 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6709 * sysdeps/powerpc/sysdep.h: Likewise.
6710 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6711 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6712 * sysdeps/sh/dl-trampoline.S: Likewise.
6713 * sysdeps/sh/memset.S: Likewise.
6714 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6715 * sysdeps/sh/strlen.S: Likewise.
6716 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6717 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6718 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6719 * sysdeps/sparc/sparc32/rem.S: Likewise.
6720 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6721 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6722 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6723 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6724 * sysdeps/sparc/sparc32/urem.S: Likewise.
6725 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6726 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6727 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6728 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6729 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6730 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6731 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6732 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6733 * sysdeps/unix/bsd/times.c: Likewise.
6734 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6735 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6739 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6740 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6741 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6742 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6743 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6744 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6745 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6746 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6747 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6748 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6749 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6750 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6751 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6752 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6753 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6754 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6755 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6756 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6757 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6758 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6759 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6760 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6761 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6762 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6763 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6764 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6765 * sysdeps/x86_64/strcspn.S: Likewise.
6766
67672013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6768
6769 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6770 generated file. Regenerate properly from gen-translit.pl.
6771 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6772 locale/C-translit.h.
6773
67742013-06-05 Andreas Schwab <schwab@suse.de>
6775
6776 [BZ #15100]
6777 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6778 week as 6 instead of -1.
6779 * time/tst-strptime.c (day_tests): Add test case.
6780
67812013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6782
6783 * sysdeps/generic/math_private.h
6784 (libc_feholdexcept_setround_53bit): Replace with
6785 libc_feholdsetround_53bit.
6786 (libc_feupdateenv_53bit): Replace with
6787 libc_feresetround_53bit.
6788 (SET_RESTORE_ROUND_53BIT): Adjust.
6789
67902013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6791
6792 * string/test-strchrnul.c: Add copyright header.
6793
6794 * posix/tst-getaddrinfo4.c: Increase test timeout.
6795
67962013-06-03 Carlos O'Donell <carlos@redhat.com>
6797
6798 [BZ #15536]
6799 * math/libm-test.inc (MAX_EXP): Remove
6800 (MIN_EXP): Define.
6801 (ulp): Use MIN_EXP - MANT_DIG.
6802 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6803
68042013-05-31 Carlos O'Donell <carlos@redhat.com>
6805
6806 * po/be.po: Revert last change.
6807 * po/zh_CN.po: Likewise.
6808 * po/header.pot: Likewise.
6809
68102013-05-31 Joseph Myers <joseph@codesourcery.com>
6811
6812 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6813 link-libc-deps to empty as target-specific variable.
6814 * Makerules (link-libc-args): New variable.
6815 (libc-for-link): Likewise.
6816 (link-libc-deps): Likewise.
6817 (lib%.so): Depend on $(link-libc-deps). Link with
6818 $(link-libc-args).
6819 (build-module): Link with $(link-libc-args).
6820 (build-module-asneeded): Likewise.
6821 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6822 list of objects.
6823 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6824 target-specific variable.
6825 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6826 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6827 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6828 libc.
6829 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6830 libc and ld.so.
6831 ($(objpfx)libpcprofile.so): Likewise.
6832 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6833 libc_nonshared.a.
6834 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6835 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6836 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6837 $(link-libc-deps).
6838 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6839 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6840 * login/Makefile ($(objpfx)libutil.so): Likewise.
6841 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6842 * math/Makefile ($(objpfx)libm.so): Likewise.
6843 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6844 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6845 variable instead of depending directly on libc.
6846 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6847 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6848 $(link-libc-deps).
6849 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6850 libc.
6851 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6852 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6853 ($(objpfx)libanl.so): Likewise.
6854 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6855 ld.so.
6856 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6857 $(link-libc-deps).
6858 * sysdeps/i386/fpu/Makefile: Remove file.
6859 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6860 ($(objpfx)libm.so): Remove dependency on ld.so.
6861
68622013-05-30 Patsy Franklin <pfrankli@redhat.com>
6863
6864 [BZ # 15553]
6865 * nis/yp_xdr.c (XDRMAXNAME): Define.
6866 (XDRMAXRECORD): Define.
6867 (xdr_domainname): Use XDRMAXNAME.
6868 (xdr_mapname): Likewise.
6869 (xdr_peername): Likewise.
6870 (xdr_keydat): Use XDRMAXRECORD.
6871 (xdr_valdat): Likewise.
6872
68732013-05-30 Jeff Law <law@redhat.com>
6874
6875 [BZ #14256]
6876 * manual/errno.texi (ESTALE): Update to account for more than
6877 just NFS file systems.
6878 * sysdeps/gnu/errlist.c: Regenerated.
6879
68802013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6881
6882 [BZ #15465]
6883 * elf/Makefile (tests): Add tst-null-argv.
6884 (modules-names): Add tst-null-argv-lib.
6885 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6886 (tst-null-argv-ENV): Set environment for tst-null-argv.
6887 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6888 (RTLD_PROGNAME): New macro.
6889 * elf/tst-null-argv.c: New test case.
6890 * elf/tst-null-argv-lib.c: Library for test case.
6891 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6892 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6893 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6894 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6895 * elf/dl-init.c (call_init): Likewise.
6896 (_dl_init): Likewise.
6897 * elf/dl-load.c (print_search_path): Likewise.
6898 (_dl_map_object): Likewise.
6899 * elf/dl-lookup.c (do_lookup_x): Likewise.
6900 (add_dependency): Likewise.
6901 (_dl_lookup_symbol_x): Likewise.
6902 (_dl_debug_bindings): Likewise.
6903 * elf/dl-open.c (_dl_show_scope): Likewise.
6904 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6905 * elf/dl-version.c (match_symbol): Likewise.
6906 (_dl_check_map_versions): Likewise.
6907 * elf/rtld.c (dl_main): Likewise.
6908 (print_unresolved): Use RTLD_PROGNAME.
6909 (print_missing_version): Likewise.
6910 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6911 (elf_machine_rela): Likewise.
6912 * sysdeps/powerpc/powerpc32/dl-machine.c
6913 (__process_machine_rela): Likewise.
6914 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6915 Likewise.
6916 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6917 Likewise.
6918 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6919 Likewise.
6920 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6921 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6922 Likewise.
6923 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6924 Likewise.
6925 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6926
69272013-05-28 Carlos O'Donell <carlos@redhat.com>
6928
6929 * po/be.po: Add descriptive title.
6930 * po/zh_CN.po: Likewise.
6931 * po/header.pot: Likewise.
6932
69332013-05-28 Mike Frysinger <vapier@gentoo.org>
6934
6935 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6936 error message.
6937 (enlarge_archive): Likewise.
6938
69392013-05-28 Ben North <ben@redfrontdoor.org>
6940
6941 * manual/arith.texi (frexp): It is the magnitude of the return
6942 value which lies in [0.5, 1), not the return value itself.
6943
69442013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6945
6946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6947
69482013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6949
6950 * stdio-common/bug26.c (main): Correct fscanf template.
6951
6952 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6953 declare _dl_skip_args.
6954
6955 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6956 Don't declare.
6957
6958 * manual/platform.texi: Add missing @end deftypefun.
6959
69602013-05-24 Joseph Myers <joseph@codesourcery.com>
6961
6962 [BZ #15529]
6963 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6964 bit of mantissa of 2^16382.
6965 * math/libm-test.inc (hypot_test_data): Add more tests.
6966
6967 * math/libm-test.inc: Add drem and pow10 to list of tested
6968 functions.
6969 (pow10_test): New function.
6970 (drem_test): Likewise.
6971 (drem_test_tonearest): Likewise.
6972 (drem_test_towardzero): Likewise.
6973 (drem_test_downward): Likewise.
6974 (drem_test_upward): Likewise.
6975 (main): Call the new functions.
6976
6977 * math/libm-test.inc (finite_test_data): Remove.
6978 (finite_test): Run tests from isfinite_test_data.
6979 (gamma_test_data): Remove.
6980 (gamma_test): Run tests from lgamma_test_data.
6981 * sysdeps/i386/fpu/libm-test-ulps: Update.
6982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6983
69842013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6985
6986 * manual/platform.texi: Add PowerPC PPR function set documentation.
6987 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6988 implementation.
6989
69902013-05-24 Carlos O'Donell <carlos@redhat.com>
6991
6992 * math/libm-test.inc (MAX_EXP): Define.
6993 (ULPDIFF): Define.
6994 (ulp): New function.
6995 (check_float_internal): Use ULPDIFF.
6996 (cpow_test): Disable failing test.
6997 (check_ulp): Test ulp() implemetnation.
6998 (main): Call check_ulp before starting tests.
6999
70002013-05-24 Joseph Myers <joseph@codesourcery.com>
7001
7002 * math/gen-libm-test.pl (generate_testfile): Do not handle
7003 START_DATA and END_DATA.
7004 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7005 END_DATA.
7006 (acos_tonearest_test_data): Likewise.
7007 (acos_towardzero_test_data): Likewise.
7008 (acos_downward_test_data): Likewise.
7009 (acos_upward_test_data): Likewise.
7010 (acosh_test_data): Likewise.
7011 (asin_test_data): Likewise.
7012 (asin_tonearest_test_data): Likewise.
7013 (asin_towardzero_test_data): Likewise.
7014 (asin_downward_test_data): Likewise.
7015 (asin_upward_test_data): Likewise.
7016 (asinh_test_data): Likewise.
7017 (atan_test_data): Likewise.
7018 (atanh_test_data): Likewise.
7019 (atan2_test_data): Likewise.
7020 (cabs_test_data): Likewise.
7021 (cacos_test_data): Likewise.
7022 (cacosh_test_data): Likewise.
7023 (carg_test_data): Likewise.
7024 (casin_test_data): Likewise.
7025 (casinh_test_data): Likewise.
7026 (catan_test_data): Likewise.
7027 (catanh_test_data): Likewise.
7028 (cbrt_test_data): Likewise.
7029 (ccos_test_data): Likewise.
7030 (ccosh_test_data): Likewise.
7031 (ceil_test_data): Likewise.
7032 (cexp_test_data): Likewise.
7033 (cimag_test_data): Likewise.
7034 (clog_test_data): Likewise.
7035 (clog10_test_data): Likewise.
7036 (conj_test_data): Likewise.
7037 (copysign_test_data): Likewise.
7038 (cos_test_data): Likewise.
7039 (cos_tonearest_test_data): Likewise.
7040 (cos_towardzero_test_data): Likewise.
7041 (cos_downward_test_data): Likewise.
7042 (cos_upward_test_data): Likewise.
7043 (cosh_test_data): Likewise.
7044 (cosh_tonearest_test_data): Likewise.
7045 (cosh_towardzero_test_data): Likewise.
7046 (cosh_downward_test_data): Likewise.
7047 (cosh_upward_test_data): Likewise.
7048 (cpow_test_data): Likewise.
7049 (cproj_test_data): Likewise.
7050 (creal_test_data): Likewise.
7051 (csin_test_data): Likewise.
7052 (csinh_test_data): Likewise.
7053 (csqrt_test_data): Likewise.
7054 (ctan_test_data): Likewise.
7055 (ctan_tonearest_test_data): Likewise.
7056 (ctan_towardzero_test_data): Likewise.
7057 (ctan_downward_test_data): Likewise.
7058 (ctan_upward_test_data): Likewise.
7059 (ctanh_test_data): Likewise.
7060 (ctanh_tonearest_test_data): Likewise.
7061 (ctanh_towardzero_test_data): Likewise.
7062 (ctanh_downward_test_data): Likewise.
7063 (ctanh_upward_test_data): Likewise.
7064 (erf_test_data): Likewise.
7065 (erfc_test_data): Likewise.
7066 (exp_test_data): Likewise.
7067 (exp_tonearest_test_data): Likewise.
7068 (exp_towardzero_test_data): Likewise.
7069 (exp_downward_test_data): Likewise.
7070 (exp_upward_test_data): Likewise.
7071 (exp10_test_data): Likewise.
7072 (exp2_test_data): Likewise.
7073 (expm1_test_data): Likewise.
7074 (fabs_test_data): Likewise.
7075 (fdim_test_data): Likewise.
7076 (finite_test_data): Likewise.
7077 (floor_test_data): Likewise.
7078 (fma_test_data): Likewise.
7079 (fma_towardzero_test_data): Likewise.
7080 (fma_downward_test_data): Likewise.
7081 (fma_upward_test_data): Likewise.
7082 (fmax_test_data): Likewise.
7083 (fmin_test_data): Likewise.
7084 (fmod_test_data): Likewise.
7085 (fpclassify_test_data): Likewise.
7086 (frexp_test_data): Likewise.
7087 (gamma_test_data): Likewise.
7088 (hypot_test_data): Likewise.
7089 (ilogb_test_data): Likewise.
7090 (isfinite_test_data): Likewise.
7091 (isgreater_test_data): Likewise.
7092 (isgreaterequal_test_data): Likewise.
7093 (isinf_test_data): Likewise.
7094 (isless_test_data): Likewise.
7095 (islessequal_test_data): Likewise.
7096 (islessgreater_test_data): Likewise.
7097 (isnan_test_data): Likewise.
7098 (isnormal_test_data): Likewise.
7099 (issignaling_test_data): Likewise.
7100 (isunordered_test_data): Likewise.
7101 (j0_test_data): Likewise.
7102 (j1_test_data): Likewise.
7103 (jn_test_data): Likewise.
7104 (ldexp_test_data): Likewise.
7105 (lgamma_test_data): Likewise.
7106 (lrint_test_data): Likewise.
7107 (lrint_tonearest_test_data): Likewise.
7108 (lrint_towardzero_test_data): Likewise.
7109 (lrint_downward_test_data): Likewise.
7110 (lrint_upward_test_data): Likewise.
7111 (llrint_test_data): Likewise.
7112 (llrint_tonearest_test_data): Likewise.
7113 (llrint_towardzero_test_data): Likewise.
7114 (llrint_downward_test_data): Likewise.
7115 (llrint_upward_test_data): Likewise.
7116 (log_test_data): Likewise.
7117 (log10_test_data): Likewise.
7118 (log1p_test_data): Likewise.
7119 (log2_test_data): Likewise.
7120 (logb_test_data): Likewise.
7121 (logb_downward_test_data): Likewise.
7122 (lround_test_data): Likewise.
7123 (llround_test_data): Likewise.
7124 (modf_test_data): Likewise.
7125 (nearbyint_test_data): Likewise.
7126 (nextafter_test_data): Likewise.
7127 (nexttoward_test_data): Likewise.
7128 (pow_test_data): Likewise.
7129 (pow_tonearest_test_data): Likewise.
7130 (pow_towardzero_test_data): Likewise.
7131 (pow_downward_test_data): Likewise.
7132 (pow_upward_test_data): Likewise.
7133 (remainder_test_data): Likewise.
7134 (remainder_tonearest_test_data): Likewise.
7135 (remainder_towardzero_test_data): Likewise.
7136 (remainder_downward_test_data): Likewise.
7137 (remainder_upward_test_data): Likewise.
7138 (remquo_test_data): Likewise.
7139 (rint_test_data): Likewise.
7140 (rint_tonearest_test_data): Likewise.
7141 (rint_towardzero_test_data): Likewise.
7142 (rint_downward_test_data): Likewise.
7143 (rint_upward_test_data): Likewise.
7144 (round_test_data): Likewise.
7145 (scalb_test_data): Likewise.
7146 (scalbn_test_data): Likewise.
7147 (scalbln_test_data): Likewise.
7148 (signbit_test_data): Likewise.
7149 (sin_test_data): Likewise.
7150 (sin_tonearest_test_data): Likewise.
7151 (sin_towardzero_test_data): Likewise.
7152 (sin_downward_test_data): Likewise.
7153 (sin_upward_test_data): Likewise.
7154 (sincos_test_data): Likewise.
7155 (sinh_test_data): Likewise.
7156 (sinh_tonearest_test_data): Likewise.
7157 (sinh_towardzero_test_data): Likewise.
7158 (sinh_downward_test_data): Likewise.
7159 (sinh_upward_test_data): Likewise.
7160 (sqrt_test_data): Likewise.
7161 (tan_test_data): Likewise.
7162 (tan_tonearest_test_data): Likewise.
7163 (tan_towardzero_test_data): Likewise.
7164 (tan_downward_test_data): Likewise.
7165 (tan_upward_test_data): Likewise.
7166 (tanh_test_data): Likewise.
7167 (tgamma_test_data): Likewise.
7168 (trunc_test_data): Likewise.
7169 (y0_test_data): Likewise.
7170 (y1_test_data): Likewise.
7171 (yn_test_data): Likewise.
7172 (significand_test_data): Likewise.
7173
7174 * math/gen-libm-test.pl (@functions): Remove variable.
7175 (generate_testfile): Don't handle START and END lines.
7176 * math/libm-test.inc (START): New macro.
7177 (END): Likewise.
7178 (END_COMPLEX): Likewise.
7179 (acos_test): Use END macro without arguments.
7180 (acos_test_tonearest): Likewise.
7181 (acos_test_towardzero): Likewise.
7182 (acos_test_downward): Likewise.
7183 (acos_test_upward): Likewise.
7184 (acosh_test): Likewise.
7185 (asin_test): Likewise.
7186 (asin_test_tonearest): Likewise.
7187 (asin_test_towardzero): Likewise.
7188 (asin_test_downward): Likewise.
7189 (asin_test_upward): Likewise.
7190 (asinh_test): Likewise.
7191 (atan_test): Likewise.
7192 (atanh_test): Likewise.
7193 (atan2_test): Likewise.
7194 (cabs_test): Likewise.
7195 (cacos_test): Use END_COMPLEX macro without arguments.
7196 (cacosh_test): Likewise.
7197 (carg_test): Use END macro without arguments.
7198 (casin_test): Use END_COMPLEX macro without arguments.
7199 (casinh_test): Likewise.
7200 (catan_test): Likewise.
7201 (catanh_test): Likewise.
7202 (cbrt_test): Use END macro without arguments.
7203 (ccos_test): Use END_COMPLEX macro without arguments.
7204 (ccosh_test): Likewise.
7205 (ceil_test): Use END macro without arguments.
7206 (cexp_test): Use END_COMPLEX macro without arguments.
7207 (cimag_test): Use END macro without arguments.
7208 (clog_test): Use END_COMPLEX macro without arguments.
7209 (clog10_test): Likewise.
7210 (conj_test): Likewise.
7211 (copysign_test): Use END macro without arguments.
7212 (cos_test): Likewise.
7213 (cos_test_tonearest): Likewise.
7214 (cos_test_towardzero): Likewise.
7215 (cos_test_downward): Likewise.
7216 (cos_test_upward): Likewise.
7217 (cosh_test): Likewise.
7218 (cosh_test_tonearest): Likewise.
7219 (cosh_test_towardzero): Likewise.
7220 (cosh_test_downward): Likewise.
7221 (cosh_test_upward): Likewise.
7222 (cpow_test): Use END_COMPLEX macro without arguments.
7223 (cproj_test): Likewise.
7224 (creal_test): Use END macro without arguments.
7225 (csin_test): Use END_COMPLEX macro without arguments.
7226 (csinh_test): Likewise.
7227 (csqrt_test): Likewise.
7228 (ctan_test): Likewise.
7229 (ctan_test_tonearest): Likewise.
7230 (ctan_test_towardzero): Likewise.
7231 (ctan_test_downward): Likewise.
7232 (ctan_test_upward): Likewise.
7233 (ctanh_test): Likewise.
7234 (ctanh_test_tonearest): Likewise.
7235 (ctanh_test_towardzero): Likewise.
7236 (ctanh_test_downward): Likewise.
7237 (ctanh_test_upward): Likewise.
7238 (erf_test): Use END macro without arguments.
7239 (erfc_test): Likewise.
7240 (exp_test): Likewise.
7241 (exp_test_tonearest): Likewise.
7242 (exp_test_towardzero): Likewise.
7243 (exp_test_downward): Likewise.
7244 (exp_test_upward): Likewise.
7245 (exp10_test): Likewise.
7246 (exp2_test): Likewise.
7247 (expm1_test): Likewise.
7248 (fabs_test): Likewise.
7249 (fdim_test): Likewise.
7250 (finite_test): Likewise.
7251 (floor_test): Likewise.
7252 (fma_test): Likewise.
7253 (fma_test_towardzero): Likewise.
7254 (fma_test_downward): Likewise.
7255 (fma_test_upward): Likewise.
7256 (fmax_test): Likewise.
7257 (fmin_test): Likewise.
7258 (fmod_test): Likewise.
7259 (fpclassify_test): Likewise.
7260 (frexp_test): Likewise.
7261 (gamma_test): Likewise.
7262 (hypot_test): Likewise.
7263 (ilogb_test): Likewise.
7264 (isfinite_test): Likewise.
7265 (isgreater_test): Likewise.
7266 (isgreaterequal_test): Likewise.
7267 (isinf_test): Likewise.
7268 (isless_test): Likewise.
7269 (islessequal_test): Likewise.
7270 (islessgreater_test): Likewise.
7271 (isnan_test): Likewise.
7272 (isnormal_test): Likewise.
7273 (issignaling_test): Likewise.
7274 (isunordered_test): Likewise.
7275 (j0_test): Likewise.
7276 (j1_test): Likewise.
7277 (jn_test): Likewise.
7278 (ldexp_test): Likewise.
7279 (lgamma_test): Likewise.
7280 (lrint_test): Likewise.
7281 (lrint_test_tonearest): Likewise.
7282 (lrint_test_towardzero): Likewise.
7283 (lrint_test_downward): Likewise.
7284 (lrint_test_upward): Likewise.
7285 (llrint_test): Likewise.
7286 (llrint_test_tonearest): Likewise.
7287 (llrint_test_towardzero): Likewise.
7288 (llrint_test_downward): Likewise.
7289 (llrint_test_upward): Likewise.
7290 (log_test): Likewise.
7291 (log10_test): Likewise.
7292 (log1p_test): Likewise.
7293 (log2_test): Likewise.
7294 (logb_test): Likewise.
7295 (logb_test_downward): Likewise.
7296 (lround_test): Likewise.
7297 (llround_test): Likewise.
7298 (modf_test): Likewise.
7299 (nearbyint_test): Likewise.
7300 (nextafter_test): Likewise.
7301 (nexttoward_test): Likewise.
7302 (pow_test): Likewise.
7303 (pow_test_tonearest): Likewise.
7304 (pow_test_towardzero): Likewise.
7305 (pow_test_downward): Likewise.
7306 (pow_test_upward): Likewise.
7307 (remainder_test): Likewise.
7308 (remainder_test_tonearest): Likewise.
7309 (remainder_test_towardzero): Likewise.
7310 (remainder_test_downward): Likewise.
7311 (remainder_test_upward): Likewise.
7312 (remquo_test): Likewise.
7313 (rint_test): Likewise.
7314 (rint_test_tonearest): Likewise.
7315 (rint_test_towardzero): Likewise.
7316 (rint_test_downward): Likewise.
7317 (rint_test_upward): Likewise.
7318 (round_test): Likewise.
7319 (scalb_test): Likewise.
7320 (scalbn_test): Likewise.
7321 (scalbln_test): Likewise.
7322 (signbit_test): Likewise.
7323 (sin_test): Likewise.
7324 (sin_test_tonearest): Likewise.
7325 (sin_test_towardzero): Likewise.
7326 (sin_test_downward): Likewise.
7327 (sin_test_upward): Likewise.
7328 (sincos_test): Likewise.
7329 (sinh_test): Likewise.
7330 (sinh_test_tonearest): Likewise.
7331 (sinh_test_towardzero): Likewise.
7332 (sinh_test_downward): Likewise.
7333 (sinh_test_upward): Likewise.
7334 (sqrt_test): Likewise.
7335 (tan_test): Likewise.
7336 (tan_test_tonearest): Likewise.
7337 (tan_test_towardzero): Likewise.
7338 (tan_test_downward): Likewise.
7339 (tan_test_upward): Likewise.
7340 (tanh_test): Likewise.
7341 (tgamma_test): Likewise.
7342 (trunc_test): Likewise.
7343 (y0_test): Likewise.
7344 (y1_test): Likewise.
7345 (yn_test): Likewise.
7346 (significand_test): Likewise.
7347
73482013-05-24 Ondřej Bílka <neleai@seznam.cz>
7349
7350 [BZ #15381]
7351 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7352
73532013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7354
7355 [BZ #14894]
7356 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7357 __ppc_mdoio and __ppc_mdoom.
7358 * manual/platform.texi: Document new functions __ppc_yield,
7359 __ppc_mdoio and __ppc_mdoom.
7360
73612013-05-22 Carlos O'Donell <carlos@redhat.com>
7362
7363 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7364 (main): Mention "tls" pseudo-hwcap is legacy.
7365 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7366
73672013-05-22 Joseph Myers <joseph@codesourcery.com>
7368
7369 * math/gen-libm-test.pl (parse_args): Output only string of
7370 arguments as text for test name, not full call or descriptions of
7371 tests for extra outputs.
7372 (generate_testfile): Do not pass function name to parse_args.
7373 Generate this_func variable from START.
7374 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7375 field to arg_str.
7376 (struct test_ff_f_data): Likewise.
7377 (test_ff_f_data_nexttoward): Likewise.
7378 (struct test_fi_f_data): Likewise.
7379 (struct test_fl_f_data): Likewise.
7380 (struct test_if_f_data): Likewise.
7381 (struct test_fff_f_data): Likewise.
7382 (struct test_c_f_data): Likewise.
7383 (struct test_f_f1_data): Likewise. Remove field extra_name.
7384 (struct test_fF_f1_data): Likewise.
7385 (struct test_ffI_f1_data): Likewise.
7386 (struct test_c_c_data): Rename test_name field to arg_str.
7387 (struct test_cc_c_data): Likewise.
7388 (struct test_f_i_data): Likewise.
7389 (struct test_ff_i_data): Likewise.
7390 (struct test_f_l_data): Likewise.
7391 (struct test_f_L_data): Likewise.
7392 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7393 and extra2_name.
7394 (COMMON_TEST_SETUP): New macro.
7395 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7396 (COMMON_TEST_CLEANUP): Likewise.
7397 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7398 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7399 macros.
7400 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7401 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7402 macros.
7403 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7404 (RUN_TEST_fff_f): Take argument string. Call new setup and
7405 cleanup macros.
7406 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7407 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7408 macros.
7409 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7410 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7411 macros.
7412 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7413 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7414 cleanup macros.
7415 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7416 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7417 cleanup macros.
7418 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7419 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7420 cleanup macros.
7421 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7422 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7423 macros.
7424 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7425 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7426 macros.
7427 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7428 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7429 macros.
7430 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7431 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7432 cleanup macros.
7433 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7434 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7435 cleanup macros.
7436 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7437 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7438 macros.
7439 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7440 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7441 cleanup macros.
7442 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7443 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7444 macros.
7445 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7446 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7447 macros.
7448 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7449 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7450 cleanup macros.
7451 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7452
74532013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7454
7455 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7456 to _sifields.sigfault.
7457 (si_addr_lsb): Define new macro.
7458 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7459 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7460 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7461
74622013-05-03 Carlos O'Donell <carlos at redhat.com>
7463
7464 [BZ #15441]
7465 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7466 returns -1.
7467 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7468 null return -1.
7469 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7470 loading the domain.
7471
74722013-05-22 Joseph Myers <joseph@codesourcery.com>
7473
7474 * math/gen-libm-test.pl (parse_args): Do not include expected
7475 result in test name.
7476 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7477 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7478 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7479 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7480 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7482
74832013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7484
7485 * benchtests/Makefile: Sort function entries.
7486
7487 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7488 tanh, asinh, acosh, atanh.
7489 * benchtests/acos-inputs: New file.
7490 * benchtests/acosh-inputs: New file.
7491 * benchtests/asin-inputs: New file.
7492 * benchtests/asinh-inputs: New file.
7493 * benchtests/atanh-inputs: New file.
7494 * benchtests/cosh-inputs: New file.
7495 * benchtests/log-inputs: New file.
7496 * benchtests/sinh-inputs: New file.
7497 * benchtests/tanh-inputs: New file.
7498
74992013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7500
7501 [BZ #15339]
7502 * posix/tst-getaddrinfo4.c: New test.
7503 * posix/Makefile (tests): Add it.
7504
75052013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7506
7507 [BZ #15339]
7508 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7509 when no services were used.
7510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7511 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7512
75132013-05-21 Andreas Schwab <schwab@suse.de>
7514
7515 [BZ #15014]
7516 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7517 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7518 successful.
7519 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7520 redundant variable declarations and reallocation of buffer when
7521 parsing as IPv6 address. Always set NSS status when called from
7522 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7523 buffer too small. Correct computation of needed size.
7524 * nss/Makefile (tests): Add test-digits-dots.
7525 * nss/test-digits-dots.c: New test.
7526
75272013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7528
7529 * benchtests/Makefile: Remove instructions for adding
7530 benchmark tests.
7531 * benchtests/README: New file to explain how to execute and
7532 enhance the benchmark tests.
7533
75342013-05-21 Andreas Schwab <schwab@suse.de>
7535
7536 [BZ #15493]
7537 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7538 * setjmp/tst-sigsetjmp.c: New test.
7539
75402013-05-20 Ondřej Bílka <neleai@seznam.cz>
7541
7542 * sysdeps/x86_64/memset.S (memset): New implementation.
7543 (__bzero): Likewise.
7544 (__memset_tail): New function.
7545
75462013-05-20 Ondřej Bílka <neleai@seznam.cz>
7547
7548 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7549 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7550 __memcpy_sse2_unaligned ifunc selection.
7551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7552 Add memcpy-sse2-unaligned.S.
7553 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7554 Add: __memcpy_sse2_unaligned.
7555
75562013-05-19 Joseph Myers <joseph@codesourcery.com>
7557
7558 [BZ #15490]
7559 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7560 math_force_eval before restoring floating-point envrionment.
7561 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7562 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7563 Likewise.
7564 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7565 <math_private.h>.
7566 (__nearbyintl): Use math_force_eval before restoring
7567 floating-point environment.
7568 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7569
7570 * math/gen-libm-test.pl (special_functions): Remove.
7571 (parse_args): Don't handle TEST_extra. Handle functions with no
7572 return value.
7573 * math/libm-test.inc (struct test_sincos_data): Replace with
7574 struct test_fFF_11_data.
7575 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7576 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7577 (sincos_test_data): Change element type to struct
7578 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7579 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7580 RUN_TEST_LOOP_sincos.
7581 * math/README.libm-test: Don't mention special handling of
7582 individual functions.
7583 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7584 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7585 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7586 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7587 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7589
7590 * math/gen-libm-test.pl (get_variable): Remove function.
7591 (parse_args): Don't show pointer parameters to call in test
7592 names. Use "extra output N" in test names for extra outputs
7593 rather than naming variables.
7594
75952013-05-18 Joseph Myers <joseph@codesourcery.com>
7596
7597 [BZ #15488]
7598 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7599 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7600 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7601 double tests.
7602 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7603 disable.
7604 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7605 check_long_double.
7606
7607 * math/gen-libm-test.pl (@tests): Remove variable.
7608 ($count): Likewise.
7609 (new_test): Remove function.
7610 (show_exceptions): New function.
7611 (special_functions): Use show_exceptions instead of new_test.
7612 (parse_args): Likewise.
7613 (generate_testfile): Pass only function name in generated call to
7614 print_max_error or print_complex_max_error.
7615 (get_ulps): Do not handle complex tests specially.
7616 (output_test): Rename to ...
7617 (get_all_ulps_for_test): ... this. Return a string rather than
7618 printing to a file. Require ulps to be present.
7619 (output_ulps): Generate arrays rather than #defines.
7620 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7621 (struct ulp_data): New type.
7622 (BUILD_COMPLEX_ULP): Remove macro.
7623 (compare_ulp_data): New function.
7624 (find_ulps): Likewise.
7625 (find_test_ulps): Likewise.
7626 (find_function_ulps): Likewise.
7627 (find_complex_function_ulps): Likewise.
7628 (print_max_error): Determine allowed ulps using
7629 find_function_ulps.
7630 (print_complex_max_error): Determine allowed ulps using
7631 find_complex_function_ulps.
7632 (check_float_internal): Determine max ulps using find_test_ulps.
7633 (check_float): Do not take max_ulp parameter. Update call to
7634 check_float_internal.
7635 (check_complex): Likewise.
7636 (check_int): Do not take max_ulp parameter.
7637 (check_long): Likewise.
7638 (check_bool): Likewise.
7639 (check_longlong): Likewise.
7640 (struct test_f_f_data): Remove max_ulp field.
7641 (struct test_ff_f_data): Likewise.
7642 (struct test_ff_f_data_nexttoward): Likewise.
7643 (struct test_fi_f_data): Likewise.
7644 (struct test_fl_f_data): Likewise.
7645 (struct test_if_f_data): Likewise.
7646 (struct test_fff_f_data): Likewise.
7647 (struct test_c_f_data): Likewise.
7648 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7649 (struct test_fF_f1_data): Likewise.
7650 (struct test_ffI_f1_data): Likewise.
7651 (struct test_c_c_data): Remove max_ulp field.
7652 (struct test_cc_c_data): Likewise.
7653 (struct test_f_i_data): Likewise.
7654 (struct test_ff_i_data): Likewise.
7655 (struct test_f_l_data): Likewise.
7656 (struct test_f_L_data): Likewise.
7657 (struct test_sincos_data): Likewise.
7658 (RUN_TEST_f_f): Do not handle ulps.
7659 (RUN_TEST_LOOP_f_f): Likewise.
7660 (RUN_TEST_2_f): Likewise.
7661 (RUN_TEST_LOOP_2_f): Likewise.
7662 (RUN_TEST_fff_f): Likewise.
7663 (RUN_TEST_LOOP_fff_f): Likewise.
7664 (RUN_TEST_c_f): Likewise.
7665 (RUN_TEST_LOOP_c_f): Likewise.
7666 (RUN_TEST_f_f1): Likewise.
7667 (RUN_TEST_LOOP_f_f1): Likewise.
7668 (RUN_TEST_fF_f1): Likewise.
7669 (RUN_TEST_LOOP_fF_f1): Likewise.
7670 (RUN_TEST_fI_f1): Likewise.
7671 (RUN_TEST_LOOP_fI_f1): Likewise.
7672 (RUN_TEST_ffI_f1): Likewise.
7673 (RUN_TEST_LOOP_ffI_f1): Likewise.
7674 (RUN_TEST_c_c): Likewise.
7675 (RUN_TEST_LOOP_c_c): Likewise.
7676 (RUN_TEST_cc_c): Likewise.
7677 (RUN_TEST_LOOP_cc_c): Likewise.
7678 (RUN_TEST_f_i): Likewise.
7679 (RUN_TEST_LOOP_f_i): Likewise.
7680 (RUN_TEST_f_i_tg): Likewise.
7681 (RUN_TEST_LOOP_f_i_tg): Likewise.
7682 (RUN_TEST_ff_i_tg): Likewise.
7683 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7684 (RUN_TEST_f_b): Likewise.
7685 (RUN_TEST_LOOP_f_b): Likewise.
7686 (RUN_TEST_f_b_tg): Likewise.
7687 (RUN_TEST_LOOP_f_b_tg): Likewise.
7688 (RUN_TEST_f_l): Likewise.
7689 (RUN_TEST_LOOP_f_l): Likewise.
7690 (RUN_TEST_f_L): Likewise.
7691 (RUN_TEST_LOOP_f_L): Likewise.
7692 (RUN_TEST_sincos): Likewise.
7693 (RUN_TEST_LOOP_sincos): Likewise.
7694
76952013-05-17 Joseph Myers <joseph@codesourcery.com>
7696
7697 [BZ #15480]
7698 [BZ #15485]
7699 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7700 main case of finite arguments, set rounding mode to FE_TONEAREST
7701 and discard exceptions.
7702 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7703 exceptions.
7704 (remainder_tonearest_test_data): New variable.
7705 (remainder_test_tonearest): New function.
7706 (remainder_towardzero_test_data): New variable.
7707 (remainder_test_towardzero): New function.
7708 (remainder_downward_test_data): New variable.
7709 (remainder_test_downward): New function.
7710 (remainder_upward_test_data): New variable.
7711 (remainder_test_upward): New function.
7712 (main): Call the new test functions.
7713
7714 * math/libm-test.inc (struct test_f_f1_data): Remove field
7715 extra_init.
7716 (struct test_fF_f1_data): Likewise.
7717 (struct test_ffI_f1_data): Likewise.
7718 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7719 based on value of EXTRA_EXPECTED.
7720 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7721 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7722 EXTRA_VAR based on value of EXTRA_EXPECTED.
7723 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7724 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7725 EXTRA_VAR based on value of EXTRA_EXPECTED.
7726 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7727 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7728 EXTRA_VAR based on value of EXTRA_EXPECTED.
7729 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7730 * math/gen-libm-test.pl (parse_args): Don't output initializers
7731 for extra output values.
7732
7733 * math/libm-test.inc (check_int): Expect result to be exactly
7734 equal to expected value and do not handle ulps.
7735 (check_long): Likewise.
7736 (check_longlong): Likewise.
7737
7738 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7739 exceptions.
7740 (cimag_test_data): Likewise.
7741 (conj_test_data): Likewise.
7742 (copysign_test_data): Likewise.
7743 (cproj_test_data): Likewise.
7744 (creal_test_data): Likewise.
7745 (fabs_test_data): Likewise.
7746 (fdim_test_data): Likewise.
7747 (finite_test_data): Likewise.
7748 (floor_test_data): Likewise.
7749 (fmax_test_data): Likewise.
7750 (fmin_test_data): Likewise.
7751 (fmod_test_data): Likewise.
7752 (fpclassify_test_data): Likewise.
7753 (frexp_test_data): Likewise.
7754 (ilogb_test_data): Likewise.
7755 (isfinite_test_data): Likewise.
7756 (isgreater_test_data): Likewise.
7757 (isgreaterequal_test_data): Likewise.
7758 (isinf_test_data): Likewise.
7759 (isless_test_data): Likewise.
7760 (islessequal_test_data): Likewise.
7761 (islessgreater_test_data): Likewise.
7762 (isnan_test_data): Likewise.
7763 (isnormal_test_data): Likewise.
7764 (issignaling_test_data): Likewise.
7765 (isunordered_test_data): Likewise.
7766 (ldexp_test_data): Likewise.
7767 (lrint_test_data): Likewise.
7768 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7769 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7770 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7771 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7772 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7773 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7774 test input.
7775 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7776 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7777 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7778 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7779 that test input.
7780 (lrint_downward_test_data): Test for "inexact" exceptions.
7781 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7782 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7783 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7784 test input.
7785 (lrint_upward_test_data): Test for "inexact" exceptions.
7786 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7787 test input.
7788 (llrint_test_data): Test for "inexact" exceptions.
7789 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7790 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7791 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7792 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7793 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7794 (llrint_downward_test_data): Test for "inexact" exceptions.
7795 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7796 (llrint_upward_test_data): Test for "inexact" exceptions.
7797 (logb_test_data): Likewise.
7798 (logb_downward_test_data): Likewise.
7799 (nextafter_test_data): Likewise.
7800 (nexttoward_test_data): Likewise.
7801 (remainder_test_data): Likewise.
7802 (remquo_test_data): Likewise.
7803 (scalbn_test_data): Likewise.
7804 (scalbln_test_data): Likewise.
7805 (signbit_test_data): Likewise.
7806 (sqrt_test_data): Likewise.
7807 (significand_test_data): Likewise.
7808
78092013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7810
7811 [BZ #15424]
7812 * benchtests/bench-modf.c (struct args): Mark arg0 as
7813 volatile.
7814 * scripts/bench.pl: Mark members of struct args as volatile.
7815
78162013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7817
7818 [BZ # 15497]
7819 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7820 negative infinity on POWER6 or lower.
7821 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7822
78232013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7824
7825 [BZ #15442]
7826 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7827 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7828 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7829 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7830 (_FP_SETQNAN): New macro.
7831 (_FP_SETQNAN_SEMIRAW): Likewise.
7832 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7833 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7834 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7835 (FP_EXTEND): Use _FP_FRAC_SNANP.
7836 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7837 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7838 into account.
7839 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7840 New macro.
7841 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7842 Likewise.
7843
78442013-05-16 Joseph Myers <joseph@codesourcery.com>
7845
7846 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7847 with DIVIDE_BY_ZERO_EXCEPTION.
7848 (gamma_test_data): Likewise.
7849 (lgamma_test_data): Likewise.
7850 (log_test_data): Likewise.
7851 (log10_test_data): Likewise.
7852 (log2_test_data): Likewise.
7853 (tgamma_test_data): Likewise.
7854
7855 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7856 (acos_test_tonearest): Likewise.
7857 (acos_test_towardzero): Likewise.
7858 (acos_test_downward): Likewise.
7859 (acos_test_upward): Likewise.
7860 (acosh_test): Likewise.
7861 (asin_test): Likewise.
7862 (asin_test_tonearest): Likewise.
7863 (asin_test_towardzero): Likewise.
7864 (asin_test_downward): Likewise.
7865 (asin_test_upward): Likewise.
7866 (asinh_test): Likewise.
7867 (atan_test): Likewise.
7868 (atanh_test): Likewise.
7869 (atan2_test): Likewise.
7870 (cabs_test): Likewise.
7871 (cacos_test): Likewise.
7872 (cacosh_test): Likewise.
7873 (casin_test): Likewise.
7874 (casinh_test): Likewise.
7875 (catan_test): Likewise.
7876 (catanh_test): Likewise.
7877 (cbrt_test): Likewise.
7878 (ccos_test): Likewise.
7879 (ccosh_test): Likewise.
7880 (cexp_test): Likewise.
7881 (clog_test): Likewise.
7882 (clog10_test): Likewise.
7883 (cos_test): Likewise.
7884 (cos_test_tonearest): Likewise.
7885 (cos_test_towardzero): Likewise.
7886 (cos_test_downward): Likewise.
7887 (cos_test_upward): Likewise.
7888 (cosh_test): Likewise.
7889 (cosh_test_tonearest): Likewise.
7890 (cosh_test_towardzero): Likewise.
7891 (cosh_test_downward): Likewise.
7892 (cosh_test_upward): Likewise.
7893 (cpow_test): Likewise.
7894 (csin_test): Likewise.
7895 (csinh_test): Likewise.
7896 (csqrt_test): Likewise.
7897 (ctan_test): Likewise.
7898 (ctan_test_tonearest): Likewise.
7899 (ctan_test_towardzero): Likewise.
7900 (ctan_test_downward): Likewise.
7901 (ctan_test_upward): Likewise.
7902 (ctanh_test): Likewise.
7903 (ctanh_test_tonearest): Likewise.
7904 (ctanh_test_towardzero): Likewise.
7905 (ctanh_test_downward): Likewise.
7906 (ctanh_test_upward): Likewise.
7907 (erf_test): Likewise.
7908 (erfc_test): Likewise.
7909 (exp_test): Likewise.
7910 (exp_test_tonearest): Likewise.
7911 (exp_test_towardzero): Likewise.
7912 (exp_test_downward): Likewise.
7913 (exp_test_upward): Likewise.
7914 (exp10_test): Likewise.
7915 (exp2_test): Likewise.
7916 (expm1_test): Likewise.
7917 (fmod_test): Likewise.
7918 (gamma_test): Likewise.
7919 (hypot_test): Likewise.
7920 (j0_test): Likewise.
7921 (j1_test): Likewise.
7922 (jn_test): Likewise.
7923 (lgamma_test): Likewise.
7924 (log_test): Likewise.
7925 (log10_test): Likewise.
7926 (log1p_test): Likewise.
7927 (log2_test): Likewise.
7928 (logb_test_downward): Likewise.
7929 (pow_test): Likewise.
7930 (pow_test_tonearest): Likewise.
7931 (pow_test_towardzero): Likewise.
7932 (pow_test_downward): Likewise.
7933 (pow_test_upward): Likewise.
7934 (remainder_test): Likewise.
7935 (remquo_test): Likewise.
7936 (sin_test): Likewise.
7937 (sin_test_tonearest): Likewise.
7938 (sin_test_towardzero): Likewise.
7939 (sin_test_downward): Likewise.
7940 (sin_test_upward): Likewise.
7941 (sincos_test): Likewise.
7942 (sinh_test): Likewise.
7943 (sinh_test_tonearest): Likewise.
7944 (sinh_test_towardzero): Likewise.
7945 (sinh_test_downward): Likewise.
7946 (sinh_test_upward): Likewise.
7947 (sqrt_test): Likewise.
7948 (tan_test): Likewise.
7949 (tan_test_tonearest): Likewise.
7950 (tan_test_towardzero): Likewise.
7951 (tan_test_downward): Likewise.
7952 (tan_test_upward): Likewise.
7953 (tanh_test): Likewise.
7954 (tgamma_test): Likewise.
7955 (y0_test): Likewise.
7956 (y1_test): Likewise.
7957 (yn_test): Likewise.
7958
7959 * math/gen-libm-test.pl (adjust_arg): Remove function.
7960 (special_function): Remove argument $in_func. Only handle
7961 generating output for tables of tests, not inside functions.
7962 (parse_args): Likewise.
7963 (generate_testfile): Remove variable $in_func. Update call to
7964 parse_args.
7965 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7966 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7967 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7968 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7969 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7970 (MAX_VALUE_INIT): Rename macro to max_value.
7971 (MIN_VALUE_INIT): Rename macro to min_value.
7972 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7973 (plus_zero): Remove variable.
7974 (minus_zero): Likewise.
7975 (plus_infty): Likewise.
7976 (minus_infty): Likewise.
7977 (qnan_value): Likewise.
7978 (max_value): Likewise.
7979 (min_value): Likewise.
7980 (min_subnorm_value): Likewise.
7981
79822013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7983
7984 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7985 uint64_t or uint32_t usage.
7986 * crypt/sha256-block.c: Likewise.
7987 * crypt/sha256-crypt.c: Likewise.
7988 * crypt/sha256.c: Likewise.
7989 * crypt/sha512-block.c: Likewise.
7990 * crypt/sha512-crypt.c: Likewise.
7991 * crypt/sha512.c: Likewise.
7992 * debug/backtrace-tst.c: Likewise.
7993 * debug/pcprofiledump.c: Likewise.
7994 * elf/cache.c: Likewise.
7995 * elf/dl-cache.c: Likewise.
7996 * elf/dl-misc.c: Likewise.
7997 * elf/dl-profile.c: Likewise.
7998 * elf/dl-support.c: Likewise.
7999 * elf/ldconfig.c: Likewise.
8000 * elf/sprof.c: Likewise.
8001 * iconv/dummy-repertoire.c: Likewise.
8002 * iconv/iconv_charmap.c: Likewise.
8003 * iconv/skeleton.c: Likewise.
8004 * iconvdata/8bit-generic.c: Likewise.
8005 * iconvdata/cp737.h: Likewise.
8006 * iconvdata/cp775.h: Likewise.
8007 * iconvdata/ibm1008.h: Likewise.
8008 * iconvdata/ibm1025.h: Likewise.
8009 * iconvdata/ibm1046.h: Likewise.
8010 * iconvdata/ibm1097.h: Likewise.
8011 * iconvdata/ibm1112.h: Likewise.
8012 * iconvdata/ibm1122.h: Likewise.
8013 * iconvdata/ibm1123.h: Likewise.
8014 * iconvdata/ibm1124.h: Likewise.
8015 * iconvdata/ibm1129.h: Likewise.
8016 * iconvdata/ibm1130.h: Likewise.
8017 * iconvdata/ibm1132.h: Likewise.
8018 * iconvdata/ibm1133.h: Likewise.
8019 * iconvdata/ibm1137.h: Likewise.
8020 * iconvdata/ibm1140.h: Likewise.
8021 * iconvdata/ibm1141.h: Likewise.
8022 * iconvdata/ibm1142.h: Likewise.
8023 * iconvdata/ibm1143.h: Likewise.
8024 * iconvdata/ibm1144.h: Likewise.
8025 * iconvdata/ibm1145.h: Likewise.
8026 * iconvdata/ibm1146.h: Likewise.
8027 * iconvdata/ibm1147.h: Likewise.
8028 * iconvdata/ibm1148.h: Likewise.
8029 * iconvdata/ibm1149.h: Likewise.
8030 * iconvdata/ibm1153.h: Likewise.
8031 * iconvdata/ibm1154.h: Likewise.
8032 * iconvdata/ibm1155.h: Likewise.
8033 * iconvdata/ibm1156.h: Likewise.
8034 * iconvdata/ibm1157.h: Likewise.
8035 * iconvdata/ibm1158.h: Likewise.
8036 * iconvdata/ibm1160.h: Likewise.
8037 * iconvdata/ibm1161.h: Likewise.
8038 * iconvdata/ibm1162.h: Likewise.
8039 * iconvdata/ibm1163.h: Likewise.
8040 * iconvdata/ibm1164.h: Likewise.
8041 * iconvdata/ibm1166.h: Likewise.
8042 * iconvdata/ibm1167.h: Likewise.
8043 * iconvdata/ibm12712.h: Likewise.
8044 * iconvdata/ibm1390.h: Likewise.
8045 * iconvdata/ibm1399.h: Likewise.
8046 * iconvdata/ibm16804.h: Likewise.
8047 * iconvdata/ibm4517.h: Likewise.
8048 * iconvdata/ibm4899.h: Likewise.
8049 * iconvdata/ibm4909.h: Likewise.
8050 * iconvdata/ibm4971.h: Likewise.
8051 * iconvdata/ibm5347.h: Likewise.
8052 * iconvdata/ibm803.h: Likewise.
8053 * iconvdata/ibm856.h: Likewise.
8054 * iconvdata/ibm901.h: Likewise.
8055 * iconvdata/ibm902.h: Likewise.
8056 * iconvdata/ibm9030.h: Likewise.
8057 * iconvdata/ibm9066.h: Likewise.
8058 * iconvdata/ibm921.h: Likewise.
8059 * iconvdata/ibm922.h: Likewise.
8060 * iconvdata/ibm9448.h: Likewise.
8061 * iconvdata/isiri-3342.h: Likewise.
8062 * iconvdata/jis0201.h: Likewise.
8063 * include/link.h: Likewise.
8064 * include/netdb.h: Likewise.
8065 * inet/check_native.c: Likewise.
8066 * inet/check_pf.c: Likewise.
8067 * inet/getipv4sourcefilter.c: Likewise.
8068 * inet/getnameinfo.c: Likewise.
8069 * inet/getsourcefilter.c: Likewise.
8070 * inet/htonl.c: Likewise.
8071 * inet/setipv4sourcefilter.c: Likewise.
8072 * inet/setsourcefilter.c: Likewise.
8073 * inet/test-inet6_opt.c: Likewise.
8074 * inet/tst-network.c: Likewise.
8075 * locale/C-collate.c: Likewise.
8076 * locale/C-ctype.c: Likewise.
8077 * locale/C-time.c: Likewise.
8078 * locale/C-translit.h: Likewise.
8079 * locale/loadarchive.c: Likewise.
8080 * locale/programs/3level.h: Likewise.
8081 * locale/programs/charmap.c: Likewise.
8082 * locale/programs/charmap.h: Likewise.
8083 * locale/programs/ld-address.c: Likewise.
8084 * locale/programs/ld-collate.c: Likewise.
8085 * locale/programs/ld-ctype.c: Likewise.
8086 * locale/programs/ld-identification.c: Likewise.
8087 * locale/programs/ld-measurement.c: Likewise.
8088 * locale/programs/ld-messages.c: Likewise.
8089 * locale/programs/ld-monetary.c: Likewise.
8090 * locale/programs/ld-name.c: Likewise.
8091 * locale/programs/ld-numeric.c: Likewise.
8092 * locale/programs/ld-paper.c: Likewise.
8093 * locale/programs/ld-telephone.c: Likewise.
8094 * locale/programs/ld-time.c: Likewise.
8095 * locale/programs/linereader.c: Likewise.
8096 * locale/programs/locale.c: Likewise.
8097 * locale/programs/locarchive.c: Likewise.
8098 * locale/programs/locfile.h: Likewise.
8099 * locale/programs/repertoire.c: Likewise.
8100 * locale/programs/simple-hash.c: Likewise.
8101 * locale/programs/simple-hash.h: Likewise.
8102 * malloc/memusage.c: Likewise.
8103 * malloc/memusagestat.c: Likewise.
8104 * nis/nis_defaults.c: Likewise.
8105 * nis/nis_hash.c: Likewise.
8106 * nis/nis_print.c: Likewise.
8107 * nis/nis_xdr.c: Likewise.
8108 * nscd/connections.c: Likewise.
8109 * nscd/hstcache.c: Likewise.
8110 * nscd/nscd_gethst_r.c: Likewise.
8111 * nscd/nscd_getserv_r.c: Likewise.
8112 * nscd/nscd_helper.c: Likewise.
8113 * nscd/servicescache.c: Likewise.
8114 * nss/makedb.c: Likewise.
8115 * nss/nss_db/db-XXX.c: Likewise.
8116 * nss/nss_db/db-initgroups.c: Likewise.
8117 * nss/nss_db/db-netgrp.c: Likewise.
8118 * nss/nss_files/files-network.c: Likewise.
8119 * nss/nss_files/files-parse.c: Likewise.
8120 * posix/bug-regex5.c: Likewise.
8121 * posix/fnmatch_loop.c: Likewise.
8122 * posix/regcomp.c: Likewise.
8123 * posix/regexec.c: Likewise.
8124 * posix/tst-rfc3484-2.c: Likewise.
8125 * posix/tst-rfc3484-3.c: Likewise.
8126 * posix/tst-rfc3484.c: Likewise.
8127 * resolv/nss_dns/dns-canon.c: Likewise.
8128 * resolv/nss_dns/dns-network.c: Likewise.
8129 * resolv/res_init.c: Likewise.
8130 * resolv/res_mkquery.c: Likewise.
8131 * resolv/tst-aton.c: Likewise.
8132 * stdlib/cxa_atexit.c: Likewise.
8133 * stdlib/cxa_finalize.c: Likewise.
8134 * stdlib/gen-fpioconst.c: Likewise.
8135 * stdlib/strtol_l.c: Likewise.
8136 * string/tst-endian.c: Likewise.
8137 * sunrpc/auth_des.c: Likewise.
8138 * sunrpc/clnt_udp.c: Likewise.
8139 * sunrpc/rtime.c: Likewise.
8140 * sunrpc/svcauth_des.c: Likewise.
8141 * sunrpc/xdr.c: Likewise.
8142 * sunrpc/xdr_intXX_t.c: Likewise.
8143 * sunrpc/xdr_rec.c: Likewise.
8144 * sysdeps/generic/ldconfig.h: Likewise.
8145 * sysdeps/generic/ldsodefs.h: Likewise.
8146 * sysdeps/generic/memusage.h: Likewise.
8147 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8148 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8149 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8150 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8151 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8152 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8153 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8154 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8155 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8156 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8157 * sysdeps/posix/getaddrinfo.c: Likewise.
8158 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8159 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8160 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8161 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8162 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8163 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8164 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8165 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8166 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8167 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8168 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8169 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8170 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8171 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8172 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8173 * sysdeps/x86_64/dl-tls.h: Likewise.
8174 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8175 * time/alt_digit.c: Likewise.
8176 * time/era.c: Likewise.
8177 * wcsmbs/tst-c16c32-1.c: Likewise.
8178
81792013-05-16 Joseph Myers <joseph@codesourcery.com>
8180
8181 * math/libm-test.inc (struct test_sincos_data): New type.
8182 (RUN_TEST_LOOP_sincos): New macro.
8183 (sincos_test_data): New variable.
8184 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8185
81862013-05-16 Richard Henderson <rth@redhat.com>
8187
8188 * math/atest-exp2.c (LIMB64): New macro.
8189 (CONSTSZ): New macro.
8190 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8191 (hexdig): Move ...
8192 (print_mpn_fp): ... to function scope.
8193 (read_mpn_hex): Remove.
8194 (get_log2): Remove.
8195 (exp2_mpn): Use mp_log2.
8196 (main): Use mp_exp1.
8197
81982013-05-16 Joseph Myers <joseph@codesourcery.com>
8199
8200 * math/libm-test.inc: Remove comment about not testing "inexact"
8201 exceptions.
8202 (INEXACT_EXCEPTION): New macro.
8203 (NO_INEXACT_EXCEPTION): Likewise.
8204 (INVALID_EXCEPTION_OK): Update value.
8205 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8206 (OVERFLOW_EXCEPTION_OK): Likewise.
8207 (UNDERFLOW_EXCEPTION_OK): Likewise.
8208 (IGNORE_ZERO_INF_SIGN): Likewise.
8209 (ERRNO_UNCHANGED): Likewise.
8210 (ERRNO_EDOM): Likewise.
8211 (ERRNO_ERANGE): Likewise.
8212 (test_exceptions): Handle testing "inexact" exceptions.
8213 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8214 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8215 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8216 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8217 INEXACT_EXCEPTION.
8218 (rint_towardzero_test_data): Likewise.
8219 (rint_downward_test_data): Likewise.
8220 (rint_upward_test_data): Likewise.
8221
8222 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8223 with OVERFLOW_EXCEPTION.
8224 (exp10_test_data): Likewise.
8225 (exp2_test_data): Likewise.
8226 (expm1_test_data): Likewise.
8227 (lgamma_test_data): Likewise.
8228 (pow_test_data): Likewise.
8229 (tgamma_test_data): Likewise.
8230 (yn_test_data): Remove duplicate test of overflow.
8231
8232 * math/libm-test.inc (struct test_cc_c_data): New type.
8233 (RUN_TEST_LOOP_cc_c): New macro.
8234 (cpow_test_data): New variable.
8235 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8236
8237 * math/libm-test.inc (struct test_f_L_data): New type.
8238 (RUN_TEST_LOOP_f_L): New macro.
8239 (llrint_test_data): New variable.
8240 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8241 (llrint_tonearest_test_data): New variable.
8242 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8243 (llrint_towardzero_test_data): New variable.
8244 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8245 (llrint_downward_test_data): New variable.
8246 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8247 (llrint_upward_test_data): New variable.
8248 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8249 (llround_test_data): New variable.
8250 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8251
82522013-05-13 Peter Collingbourne <pcc@google.com>
8253
8254 * math/atest-exp2.c (get_log2): Remove const attribute.
8255
82562013-05-15 Joseph Myers <joseph@codesourcery.com>
8257
8258 * math/libm-test.inc (struct test_f_l_data): New type.
8259 (RUN_TEST_LOOP_f_l): New macro.
8260 (lrint_test_data): New variable.
8261 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8262 (lrint_tonearest_test_data): New variable.
8263 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8264 (lrint_towardzero_test_data): New variable.
8265 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8266 (lrint_downward_test_data): New variable.
8267 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8268 (lrint_upward_test_data): New variable.
8269 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8270 (lround_test_data): New variable.
8271 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8272
82732013-05-15 Peter Collingbourne <pcc@google.com>
8274
8275 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8276 (EXTRACT_WORDS64) Use where appropriate.
8277 (INSERT_WORDS64) Likewise.
8278
8279 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8280 constraints with x constraints.
8281 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8282
8283 * malloc/obstack.c (_obstack_compat): Add initializer.
8284
82852013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8286
8287 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8288 si_trapno and add si_addr_lsb to _sifields.sigfault.
8289 (si_trapno): Remove macro.
8290 (si_addr_lsb): Define new macro.
8291 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8292
82932013-05-15 Joseph Myers <joseph@codesourcery.com>
8294
8295 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8296 instead of TEST_f_l.
8297 (llrint_test_tonearest): Likewise.
8298 (llrint_test_towardzero): Likewise.
8299 (llrint_test_downward): Likewise.
8300 (llrint_test_upward): Likewise.
8301 (llround_test): Likewise.
8302
8303 * math/libm-test.inc (struct test_f_i_data): Add comment.
8304 (RUN_TEST_LOOP_f_b): New macro.
8305 (RUN_TEST_LOOP_f_b_tg): Likewise.
8306 (finite_test_data): New variable.
8307 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8308 (isfinite_test_data): New variable.
8309 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8310 (isinf_test_data): New variable.
8311 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8312 (isnan_test_data): New variable.
8313 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8314 (isnormal_test_data): New variable.
8315 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8316 (issignaling_test_data): New variable.
8317 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8318 (signbit_test_data): New variable.
8319 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8320
8321 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8322 with INVALID_EXCEPTION.
8323 (acosh_test_data): Likewise.
8324 (asin_test_data): Likewise.
8325 (atanh_test_data): Likewise.
8326 (fmod_test_data): Likewise.
8327 (log_test_data): Likewise.
8328 (log10_test_data): Likewise.
8329 (log2_test_data): Likewise.
8330 (pow_test_data): Likewise.
8331 (sqrt_test_data): Likewise.
8332 (y0_test_data): Likewise.
8333 (y1_test_data): Likewise.
8334 (yn_test_data): Likewise.
8335
8336 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8337 function contents.
8338
8339 * math/libm-test.inc (struct test_ff_i_data): New type.
8340 (RUN_TEST_LOOP_ff_i_tg): New macro.
8341 (isgreater_test_data): New variable.
8342 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8343 (isgreaterequal_test_data): New variable.
8344 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8345 (isless_test_data): New variable.
8346 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8347 (islessequal_test_data): New variable.
8348 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8349 (islessgreater_test_data): New variable.
8350 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8351 (isunordered_test_data): New variable.
8352 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8353
83542013-05-14 David S. Miller <davem@davemloft.net>
8355
8356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8357
83582013-05-14 Joseph Myers <joseph@codesourcery.com>
8359
8360 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8361
8362 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8363 extra_test to int.
8364 (struct test_f_i_data): Change type of max_ulp to int.
8365
8366 * math/libm-test.inc (test_ffI_f1_data): New type.
8367 (RUN_TEST_LOOP_ffI_f1): New macro.
8368 (remquo_test_data): New variable.
8369 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8370
8371 * setjmp/tst-setjmp-fp.c: New file.
8372 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8373 (link-libm): New variable.
8374 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8375
8376 * math/libm-test.inc (struct test_f_i_data): New type.
8377 (RUN_TEST_LOOP_f_i): New macro.
8378 (RUN_TEST_LOOP_f_i_tg): Likewise.
8379 (fpclassify_test_data): New variable.
8380 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8381 (ilogb_test_data): New variable.
8382 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8383
8384 * math/libm-test.inc (scalbln_test): Correct function name in END
8385 call.
8386
8387 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8388 (RUN_TEST_LOOP_fI_f1): New macro.
8389 (frexp_test_data): New variable.
8390 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8391
8392 * math/libm-test.inc (struct test_fF_f1_data): New type.
8393 (RUN_TEST_LOOP_fF_f1): New macro.
8394 (modf_test_data): New variable.
8395 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8396
8397 * math/libm-test.inc (struct test_f_f1_data): New type.
8398 (RUN_TEST_LOOP_f_f1): New macro.
8399 (gamma_test_data): New variable.
8400 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8401 (lgamma_test_data): New variable.
8402 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8403
84042013-05-13 Carlos O'Donell <carlos@redhat.com>
8405
8406 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8407 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8408 (main): Comment "tls" pseudo-hwcap.
8409
84102013-05-13 Joseph Myers <joseph@codesourcery.com>
8411
8412 * math/libm-test.inc (struct test_fl_f_data): New type.
8413 (RUN_TEST_LOOP_fl_f): New variable.
8414 (scalbln_test_data): New variable.
8415 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8416
8417 * math/libm-test.inc (struct test_fi_f_data): New type.
8418 (RUN_TEST_LOOP_fi_f): New macro.
8419 (ldexp_test_data): New variable.
8420 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8421 (scalbn_test_data): New variable.
8422 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8423
8424 * math/libm-test.inc (struct test_c_f_data): New type.
8425 (RUN_TEST_LOOP_c_f): New macro.
8426 (cabs_test_data): New variable.
8427 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8428 (carg_test_data): New variable.
8429 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8430 (cimag_test_data): New variable.
8431 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8432 (creal_test_data): New variable.
8433 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8434
8435 * math/libm-test.inc (struct test_if_f_data): New type.
8436 (RUN_TEST_LOOP_if_f): New macro.
8437 (jn_test_data): New variable.
8438 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8439 (yn_test_data): New variable.
8440 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8441
8442 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8443
84442013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8445
8446 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8447 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8448
84492013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8450
8451 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8452 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8453 (bench-deps): Add bench-timing.h.
8454 * benchtests-bench-skeleton.c: Include bench-timing.h.
8455 (main): Use TIMING_* macros instead of clock_gettime.
8456 * benchtests/bench-timing.h: New file.
8457
8458 [BZ #14582]
8459 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8460 Renamed from _LIB_VERSION.
8461 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8462
84632013-05-12 Joseph Myers <joseph@codesourcery.com>
8464
8465 * math/libm-test.inc (struct test_fff_f_data): New type.
8466 (RUN_TEST_LOOP_fff_f): New macro.
8467 (fma_test_data): New variable.
8468 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8469 (fma_towardzero_test_data): New variable.
8470 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8471 (fma_downward_test_data): New variable.
8472 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8473 (fma_upward_test_data): New variable.
8474 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8475
8476 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8477 (struct test_c_c_data): New type.
8478 (RUN_TEST_LOOP_c_c): New macro.
8479 (cacos_test_data): New variable.
8480 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8481 (cacosh_test_data): New variable.
8482 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8483 (casin_test_data): New variable.
8484 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8485 (casinh_test_data): New variable.
8486 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8487 (catan_test_data): New variable.
8488 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8489 (catanh_test_data): New variable.
8490 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8491 (ccos_test_data): New variable.
8492 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8493 (ccosh_test_data): New variable.
8494 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8495 (cexp_test_data): New variable.
8496 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8497 (clog_test_data): New variable.
8498 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8499 (clog10_test_data): New variable.
8500 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8501 (conj_test_data): New variable.
8502 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8503 (cproj_test_data): New variable.
8504 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8505 (csin_test_data): New variable.
8506 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8507 (csinh_test_data): New variable.
8508 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8509 (csqrt_test_data): New variable.
8510 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8511 (ctan_test_data): New variable.
8512 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8513 (ctan_tonearest_test_data): New variable.
8514 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8515 (ctan_towardzero_test_data): New variable.
8516 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8517 (ctan_downward_test_data): New variable.
8518 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8519 (ctan_upward_test_data): New variable.
8520 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8521 (ctanh_test_data): New variable.
8522 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8523 (ctanh_tonearest_test_data): New variable.
8524 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8525 (ctanh_towardzero_test_data): New variable.
8526 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8527 (ctanh_downward_test_data): New variable.
8528 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8529 (ctanh_upward_test_data): New variable.
8530 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8531 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8532 of BUILD_COMPLEX.
8533
8534 * math/libm-test.inc (struct test_ff_f_data): New type.
8535 (struct test_ff_f_data_nexttoward): Likewise.
8536 (RUN_TEST_LOOP_2_f): New macro.
8537 (RUN_TEST_LOOP_ff_f): Likewise.
8538 (atan2_test_data): New variable.
8539 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8540 (copysign_test_data): New variable.
8541 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8542 (fdim_test_data): New variable.
8543 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8544 (fmax_test_data): New variable.
8545 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8546 (fmin_test_data): New variable.
8547 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8548 (fmod_test_data): New variable.
8549 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8550 (hypot_test_data): New variable.
8551 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8552 (nextafter_test_data): New variable.
8553 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8554 (nexttoward_test_data): New variable.
8555 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8556 (pow_test_data): New variable.
8557 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8558 (pow_tonearest_test_data): New variable.
8559 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8560 (pow_towardzero_test_data): New variable.
8561 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8562 (pow_downward_test_data): New variable.
8563 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8564 (pow_upward_test_data): New variable.
8565 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8566 (remainder_test_data): New variable.
8567 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8568 (scalb_test_data): New variable.
8569 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8570 * sysdeps/i386/fpu/libm-test-ulps: Update.
8571
85722013-05-11 Joseph Myers <joseph@codesourcery.com>
8573
8574 * math/libm-test.inc (fma_test): Use max_value instead of local
8575 variable fltmax.
8576 (nextafter_test): Likewise.
8577
8578 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8579 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8580 (acos_downward_test_data): New variable.
8581 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8582 (acos_upward_test_data): New variable.
8583 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8584 (acosh_test_data): New variable.
8585 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8586 (asin_test_data): New variable.
8587 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8588 (asin_tonearest_test_data): New variable.
8589 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8590 (asin_towardzero_test_data): New variable.
8591 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8592 (asin_downward_test_data): New variable.
8593 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8594 (asin_upward_test_data): New variable.
8595 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8596 (asinh_test_data): New variable.
8597 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8598 (atan_test_data): New variable.
8599 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8600 (atanh_test_data): New variable.
8601 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8602 (cbrt_test_data): New variable.
8603 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8604 (ceil_test_data): New variable.
8605 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8606 (cos_test_data): New variable.
8607 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8608 (cos_tonearest_test_data): New variable.
8609 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8610 (cos_towardzero_test_data): New variable.
8611 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8612 (cos_downward_test_data): New variable.
8613 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8614 (cos_upward_test_data): New variable.
8615 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8616 (cosh_test_data): New variable.
8617 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8618 (cosh_tonearest_test_data): New variable.
8619 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8620 (cosh_towardzero_test_data): New variable.
8621 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8622 (cosh_downward_test_data): New variable.
8623 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8624 (cosh_upward_test_data): New variable.
8625 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8626 (erf_test_data): New variable.
8627 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8628 (erfc_test_data): New variable.
8629 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8630 (exp_test_data): New variable.
8631 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8632 (exp_tonearest_test_data): New variable.
8633 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8634 (exp_towardzero_test_data): New variable.
8635 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8636 (exp_downward_test_data): New variable.
8637 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8638 (exp_upward_test_data): New variable.
8639 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8640 (exp10_test_data): New variable.
8641 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8642 (exp2_test_data): New variable.
8643 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8644 (expm1_test_data): New variable.
8645 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8646 (fabs_test_data): New variable.
8647 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8648 (floor_test_data): New variable.
8649 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8650 (j0_test_data): New variable.
8651 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8652 (j1_test_data): New variable.
8653 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8654 (log_test_data): New variable.
8655 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8656 (log10_test_data): New variable.
8657 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8658 (log1p_test_data): New variable.
8659 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8660 (log2_test_data): New variable.
8661 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8662 (logb_test_data): New variable.
8663 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8664 (logb_downward_test_data): New variable.
8665 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8666 (nearbyint_test_data): New variable.
8667 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8668 (rint_test_data): New variable.
8669 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8670 (rint_tonearest_test_data): New variable.
8671 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8672 (rint_towardzero_test_data): New variable.
8673 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8674 (rint_downward_test_data): New variable.
8675 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8676 (rint_upward_test_data): New variable.
8677 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8678 (round_test_data): New variable.
8679 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8680 (sin_test_data): New variable.
8681 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8682 (sin_tonearest_test_data): New variable.
8683 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8684 (sin_towardzero_test_data): New variable.
8685 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8686 (sin_downward_test_data): New variable.
8687 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8688 (sin_upward_test_data): New variable.
8689 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8690 (sinh_test_data): New variable.
8691 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8692 (sinh_tonearest_test_data): New variable.
8693 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8694 (sinh_towardzero_test_data): New variable.
8695 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8696 (sinh_downward_test_data): New variable.
8697 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8698 (sinh_upward_test_data): New variable.
8699 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8700 (sqrt_test_data): New variable.
8701 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8702 (tan_test_data): New variable.
8703 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8704 (tan_tonearest_test_data): New variable.
8705 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8706 (tan_towardzero_test_data): New variable.
8707 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8708 (tan_downward_test_data): New variable.
8709 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8710 (tan_upward_test_data): New variable.
8711 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8712 (tanh_test_data): New variable.
8713 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8714 (tgamma_test_data): New variable.
8715 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8716 (trunc_test_data): New variable.
8717 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8718 (y0_test_data): New variable.
8719 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8720 (y1_test_data): New variable.
8721 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8722 (significand_test_data): New variable.
8723 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8724
87252013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8726
8727 [BZ #12387]
8728 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8729
87302013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8731
8732 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8733
87342013-05-10 Andreas Jaeger <aj@suse.de>
8735
8736 [BZ #15448]
8737 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8738 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8739
87402013-05-10 Joseph Myers <joseph@codesourcery.com>
8741
8742 * math/gen-libm-test.pl (adjust_arg): New function.
8743 (special_functions): Handle generating output in both functions
8744 and arrays.
8745 (parse_args): Likewise.
8746 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8747 $in_func argument to parse_args.
8748 * math/libm-test.inc (struct test_f_f_data): New type.
8749 (IF_ROUND_INIT_): New macro.
8750 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8751 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8752 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8753 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8754 (ROUND_RESTORE_): Likewise.
8755 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8756 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8757 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8758 (ROUND_RESTORE_FE_UPWARD): Likewise.
8759 (RUN_TEST_LOOP_f_f): New macro.
8760 (acos_test_data): New variable.
8761 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8762 (acos_tonearest_test_data): New variable.
8763 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8764
87652013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8766
8767 * benchtests/bench-skeleton.c (startup): Fix coding style.
8768
87692013-05-10 Joseph Myers <joseph@codesourcery.com>
8770
8771 [BZ #6809]
8772 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8773 negative infinity argument.
8774 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8775 negative infinity argument.
8776 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8777 negative infinity argument.
8778 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8779 domain errors.
8780
87812013-05-10 Florian Weimer <fweimer@redhat.com>
8782
8783 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8784 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8785 * iconv/iconv_prog.c (main): Likewise.
8786 * locale/programs/charmap-dir.c (charmap_readdir)
8787 (fopen_uncompressed): Likewise.
8788 * locale/programs/locfile.c (siblings_uncached)
8789 (write_locale_data): Use lstat64 instead of lstat.
8790 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8791 stat.
8792
87932013-05-10 Andreas Jaeger <aj@suse.de>
8794
8795 [BZ #15395]
8796 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8797 localization.
8798 Include <locale.h>.
8799
88002013-05-09 Carlos O'Donell <carlos@redhat.com>
8801
8802 * elf/dl-close.c (_dl_close_worker): Add comments.
8803
88042013-05-09 Joseph Myers <joseph@codesourcery.com>
8805
8806 [BZ #15359]
8807 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8808 high part of pi/2.
8809 (__ieee754_rem_pio2l): Update comments.
8810
8811 [BZ #15429]
8812 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8813 high part of pi/2.
8814 (__ieee754_rem_pio2l): Update comments.
8815
8816 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8817 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8818
8819 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8820 M_PI_4l.
8821
8822 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8823 (M_PI_34_LOG10El): Likewise.
8824 (M_PI2_LOG10El): Likewise.
8825 (M_PI4_LOG10El): Likewise.
8826 (M_PI_LOG10El): Likewise.
8827
88282013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8829
8830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8831
88322013-05-08 Joseph Myers <joseph@codesourcery.com>
8833
8834 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8835 (MINUS_ZERO_INIT): Likewise.
8836 (PLUS_INFTY_INIT): Likewise.
8837 (MINUS_INFTY_INIT): Likewise.
8838 (QNAN_VALUE_INIT): Likewise.
8839 (MAX_VALUE_INIT): Likewise.
8840 (MIN_VALUE_INIT): Likewise.
8841 (MIN_SUBNORM_VALUE_INIT): Likewise.
8842 (plus_zero): Initialize with PLUS_ZERO_INIT.
8843 (minus_zero): Initialize with MINUS_ZERO_INIT.
8844 (plus_infty): Initialize with PLUS_INFTY_INIT.
8845 (minus_infty): Initialize with MINUS_INFTY_INIT.
8846 (qnan_value): Initialize with QNAN_VALUE_INIT.
8847 (max_value): Initialize with MAX_VALUE_INIT.
8848 (min_value): Initialize with MIN_VALUE_INIT.
8849 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8850
8851 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8852 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8853 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8854 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8855
8856 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8857 (RUN_TEST_2_f): Likewise.
8858 (RUN_TEST_ff_f): Likewise.
8859 (RUN_TEST_fi_f): Likewise.
8860 (RUN_TEST_fl_f): Likewise.
8861 (RUN_TEST_fff_f): Likewise.
8862 (RUN_TEST_c_f): Likewise.
8863 (RUN_TEST_f_f1): Likewise.
8864 (RUN_TEST_fF_f1): Likewise.
8865 (RUN_TEST_fI_f1): Likewise.
8866 (RUN_TEST_ffI_f1): Likewise.
8867 (RUN_TEST_c_c): Likewise.
8868 (RUN_TEST_cc_c): Likewise.
8869 (RUN_TEST_f_i): Likewise.
8870 (RUN_TEST_f_i_tg): Likewise.
8871 (RUN_TEST_ff_i_tg): Likewise.
8872 (RUN_TEST_f_b): Likewise.
8873 (RUN_TEST_f_b_tg): Likewise.
8874 (RUN_TEST_f_l): Likewise.
8875 (RUN_TEST_f_L): Likewise.
8876 (RUN_TEST_sincos): Likewise.
8877 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8878 whether to show exceptions. Do not include ");\n" in return
8879 value.
8880 (special_functions): Output call to RUN_TEST_sincos instead of
8881 check_float calls. Update calls to new_test.
8882 (parse_args): Output call to single RUN_TEST_* macro instead of
8883 check_* calls and other assignments. Update calls to new_test.
8884
8885 [BZ #2546]
8886 [BZ #2560]
8887 [BZ #5159]
8888 [BZ #15426]
8889 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8890 input to result for tgamma overflow.
8891 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8892 (gamma_coeff): New variable.
8893 (NCOEFF): New macro.
8894 (gamma_positive): New function.
8895 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8896 underflow here. Use gamma_positive instead of exp (lgamma) for
8897 other arguments.
8898 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8899 (gamma_coeff): New variable.
8900 (NCOEFF): New macro.
8901 (gammaf_positive): New function.
8902 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8903 underflow here. Use gamma_positive instead of exp (lgamma) for
8904 other arguments.
8905 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8906 (gamma_coeff): New variable.
8907 (NCOEFF): New macro.
8908 (gammal_positive): New function.
8909 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8910 underflow here. Use gamma_positive instead of exp (lgamma) for
8911 other arguments.
8912 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8913 (gamma_coeff): New variable.
8914 (NCOEFF): New macro.
8915 (gammal_positive): New function.
8916 (__ieee754_gammal_r): Handle positive infinity, overflow and
8917 underflow here. Handle NaN the same as positive infinity. Remove
8918 check x < 0xffffffff for negative integers. Use gamma_positive
8919 instead of exp (lgamma) for other arguments.
8920 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8921 (gamma_coeff): New variable.
8922 (NCOEFF): New macro.
8923 (gammal_positive): New function.
8924 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8925 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8926 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8927 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8928 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8929 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8930 * sysdeps/generic/math_private.h (__gamma_productf): New
8931 prototype.
8932 (__gamma_product): Likewise.
8933 (__gamma_productl): Likewise.
8934 * math/Makefile (libm-calls): Add gamma_product.
8935 * math/libm-test.inc (tgamma_test): Add more tests.
8936 * sysdeps/i386/fpu/libm-test-ulps: Update.
8937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8938
89392013-05-08 Ondřej Bílka <neleai@seznam.cz>
8940
8941 * benchtests/bench-skeleton.c (main): Preheat CPU.
8942
89432013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8944
8945 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8946
89472013-05-07 Roland McGrath <roland@hack.frob.com>
8948
8949 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8950 and _dl_skip_args_internal.
8951
89522013-05-07 Carlos O'Donell <carlos@redhat.com>
8953
8954 * manual/message.texi (Message Translation): Talk about users.
8955 Message to key mapping impacts design.
8956
89572013-05-06 Roland McGrath <roland@hack.frob.com>
8958
8959 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8960
8961 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8962
8963 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8964 * sysdeps/wordsize-64/glob64.c: ... here.
8965
8966 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8967 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8968 New macros.
8969
8970 * debug/getlogin_r_chk.c: Moved to ...
8971 * login/getlogin_r_chk.c: ... here.
8972 * debug/Makefile (routines): Move getlogin_r_chk to ...
8973 * login/Makefile (routines): ... here.
8974 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8975 * login/Versions (libc: GLIBC_2.4): ... here.
8976
8977 * io/poll.c (__poll): Renamed from poll.
8978 Add libc_hidden_def.
8979 (poll): Define as weak alias.
8980
8981 * debug/ptsname_r_chk.c: Moved to ...
8982 * login/ptsname_r_chk.c: ... here.
8983 * debug/Makefile (routines): Move ptsname_r_chk to ...
8984 * login/Makefile (routines): ... here.
8985 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8986 * login/Versions (libc: GLIBC_2.4): ... here.
8987
8988 * posix/getlogin.c: Moved to ...
8989 * login/getlogin.c: ... here.
8990 * posix/getlogin_r.c: Moved to ...
8991 * login/getlogin_r.c: ... here.
8992 * posix/getlogin_r.c: Moved to ...
8993 * login/getlogin_r.c: ... here.
8994 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8995 * login/Makefile (routines): ... here.
8996 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8997 * login/Versions (libc: GLIBC_2.0): ... here.
8998
8999 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9000 (setrlimit): Define as weak alias.
9001
9002 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9003 Call __ names for open, ftruncate, and close.
9004 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9005 (truncate): Define as weak alias.
9006
90072013-05-06 Joseph Myers <joseph@codesourcery.com>
9008
9009 * math/gen-libm-test.pl (parse_args): Initialize x before each
9010 test of frexp, modf and remquo.
9011
9012 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9013 test signgam value.
9014
90152013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9016
9017 [BZ #15418]
9018 [BZ #15419]
9019 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9020 internal tests.
9021 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9022
90232013-05-06 Roland McGrath <roland@hack.frob.com>
9024
9025 * elf/dl-writev.h: New file.
9026 * elf/dl-misc.c: Include it.
9027 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9028 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9029
90302013-05-04 Joseph Myers <joseph@codesourcery.com>
9031
9032 * math/libm-test.inc (noXFails): Remove variable.
9033 (noXPasses): Likewise.
9034 (BUILD_COMPLEX_INT): Remove macro.
9035 (print_screen): Remove xfail argument.
9036 (print_screen_max_error): Likewise.
9037 (update_stats): Likewise.
9038 (print_max_error): Likewise. Update calls to other affected
9039 functions.
9040 (print_complex_max_error): Likewise.
9041 (test_single_exception): Update calls to print_screen.
9042 (test_single_errno): Likewise.
9043 (check_float_internal): Remove xfail argument. Update calls to
9044 other affected functions.
9045 (check_float): Likewise.
9046 (check_complex): Likewise.
9047 (check_int): Likewise.
9048 (check_long): Likewise.
9049 (check_bool): Likewise.
9050 (check_longlong): Likewise.
9051 (main): Don't print noXFails and noXPasses.
9052 * math/gen-libm-test.pl (top level): Don't mention expected
9053 failure handling in comment.
9054 (new_test): Don't handle expected failures.
9055 (parse_args): Don't mention expected failure handling in comment.
9056 (generate_testfile): Don't handle expected failures.
9057 (parse_ulps): Likewise.
9058 (print_ulps_file): Likewise.
9059 (get_failure): Remove function.
9060 (output_test): Don't handle expected failures.
9061 * make/README.libm-test: Don't mention expected failure handling.
9062
9063 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9064 (minus_zero): Likewise.
9065 (plus_infty): Likewise.
9066 (minus_infty): Likewise.
9067 (qnan_value): Likewise.
9068 (max_value): Likewise.
9069 (min_value): Likewise.
9070 (min_subnorm_value): Likewise.
9071 (initialize): Do not initialize those variables dynamically.
9072
90732013-05-03 Roland McGrath <roland@hack.frob.com>
9074
9075 * io/open.c (__open_2): Moved to ...
9076 * io/open_2.c: ... this new file.
9077 * io/open64.c (__open64_2): Moved to ...
9078 * io/open64_2.c: ... this new file.
9079 * io/openat.c (__openat_2): Moved to ...
9080 * io/openat_2.c: ... this new file.
9081 * io/openat64.c (__openat64_2): Moved to ...
9082 * io/openat64_2.c: ... this new file.
9083 * io/Makefile (routines): Add them.
9084 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9085 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9086 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9087 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9088 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9089 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9090 (__openat64): Add hidden_ver.
9091 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9092 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9093
9094 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9095 Separately conditionalize setting of GLRO(dl_sysinfo) so
9096 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9097 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9098
90992013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9100
9101 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9102 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9103 definition.
9104 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9105 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9106 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9107 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9108 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9109
91102013-05-03 Joseph Myers <joseph@codesourcery.com>
9111
9112 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9113 test signgam value.
9114
9115 * math/libm-test.inc (hypot_test): Do not use
9116 IGNORE_ZERO_INF_SIGN.
9117
91182013-05-03 Andreas Jaeger <aj@suse.de>
9119
9120 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9121 Linux 3.9.
9122 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9123 (PF_MAX): Adjust for VSOCK change.
9124
91252013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9126
9127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9128
91292013-05-02 Carlos O'Donell <carlos@redhat.com>
9130
9131 [BZ #15264]
9132 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9133 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9134 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9135
91362013-05-02 David S. Miller <davem@davemloft.net>
9137
9138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9139
91402013-05-01 Ondřej Bílka <neleai@seznam.cz>
9141
9142 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9143
91442013-05-01 Roland McGrath <roland@hack.frob.com>
9145
9146 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9147
91482013-05-01 Richard Smith <richard@metafoo.co.uk>
9149
9150 [BZ #14952]
9151 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9152 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9153 Use __attribute__ ((__gnu_inline__)).
9154 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9155 Don't use __attribute__ ((__gnu_inline__)).
9156
91572013-05-01 Joseph Myers <joseph@codesourcery.com>
9158
9159 [BZ #15423]
9160 * math/s_catan.c (__catan): Handle small real or imaginary part of
9161 input specially to avoid spurious underflow.
9162 * math/s_catanf.c (__catanf): Likewise.
9163 * math/s_catanh.c (__catanh): Likewise.
9164 * math/s_catanhf.c (__catanhf): Likewise.
9165 * math/s_catanhl.c (__catanhl): Likewise.
9166 * math/s_catanl.c (__catanl): Likewise.
9167 * math/libm-test.inc (catan_test): Add more tests.
9168 (catanh_test): Likewise.
9169 * sysdeps/i386/fpu/libm-test-ulps: Update.
9170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9171
91722013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9173
9174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9175
91762013-04-30 Joseph Myers <joseph@codesourcery.com>
9177
9178 [BZ #15416]
9179 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9180 accurately for denominator in atan2.
9181 * math/s_catanf.c (__catanf): Likewise.
9182 * math/s_catanh.c (__catanh): Likewise.
9183 * math/s_catanhf.c (__catanhf): Likewise.
9184 * math/s_catanhl.c (__catanhl): Likewise.
9185 * math/s_catanl.c (__catanl): Likewise.
9186 * math/libm-test.inc (catan_test): Add more tests.
9187 (catanh_test): Likewise.
9188 * sysdeps/i386/fpu/libm-test-ulps: Update.
9189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9190
91912013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9192
9193 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9194
9195 * benchtests/Makefile (bench): Remove slow benchmarks.
9196 * benchtests/atan-inputs: Add slow benchmark inputs.
9197 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9198 (BENCH_FUNC): Accept variant offset.
9199 (VARIANT): Define.
9200 * benchtests/bench-skeleton.c (main): Run benchmark for each
9201 variant.
9202 * benchtests/cos-inputs: Add slow benchmark inputs.
9203 * benchtests/exp-inputs: Likewise.
9204 * benchtests/pow-inputs: Likewise.
9205 * benchtests/sin-inputs: Likewise.
9206 * benchtests/slowatan-inputs: Remove.
9207 * benchtests/slowatan.c: Remove.
9208 * benchtests/slowcos-inputs: Remove.
9209 * benchtests/slowcos.c: Remove.
9210 * benchtests/slowexp-inputs: Remove.
9211 * benchtests/slowexp.c: Remove.
9212 * benchtests/slowpow-inputs: Remove.
9213 * benchtests/slowpow.c: Remove.
9214 * benchtests/slowsin-inputs: Remove.
9215 * benchtests/slowsin.c: Remove.
9216 * benchtests/slowtan-inputs: Remove.
9217 * benchtests/slowtan.c: Remove.
9218 * benchtests/tan-inputs: Add slow benchmark inputs.
9219 * scripts/bench.pl: Parse comments and directives.
9220
9221 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9222 in CPPFLAGS.
9223 ($(objpfx)bench-%.c): Remove *-ITER.
9224 * benchtests/bench-modf.c: Remove definition of ITER.
9225 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9226 (main): Loop for DURATION seconds instead of fixed number of
9227 iterations.
9228 * scripts/bench.pl: Don't expect iterations in parameters.
9229
92302013-04-29 Roland McGrath <roland@hack.frob.com>
9231
9232 * io/fchdir.c (__fchdir): Renamed from fchdir.
9233 (fchdir): Define as weak alias.
9234
92352013-04-29 Joseph Myers <joseph@codesourcery.com>
9236
9237 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9238 (ERRNO_EDOM): Likewise.
9239 (ERRNO_ERANGE): Likewise.
9240 (noErrnoTests): New variable.
9241 (init_max_error): Set errno to 0.
9242 (test_single_errno): New function.
9243 (test_errno): Likewise.
9244 (check_float_internal): Call test_errno. Set errno to 0.
9245 (check_complex): Refer to errno tests in comment.
9246 (check_int): Call test_errno. Set errno to 0.
9247 (check_long): Likewise.
9248 (check_bool): Likewise.
9249 (check_longlong): Likewise.
9250 (cos_test): Use ERRNO_* flags for errno tests instead of
9251 check_int.
9252 (expm1_test): Likewise.
9253 (fmod_test): Likewise.
9254 (ilogb_test): Likewise.
9255 (lgamma_test): Likewise.
9256 (pow_test): Likewise.
9257 (remainder_test): Likewise.
9258 (sin_test): Likewise.
9259 (tan_test): Likewise.
9260 (yn_test): Likewise.
9261 (initialize): Set errno to 0.
9262 (main): Print number of errno tests.
9263 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9264
92652013-04-29 Andreas Jaeger <aj@suse.de>
9266
9267 [BZ #15084]
9268 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9269 and RES_USEVC.
9270
9271 [BZ #15085]
9272 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9273 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9274 unimplemented.
9275
9276 [BZ #15380]
9277 * stdlib/random.c (__initstate): Return NULL if
9278 __initstate fails.
9279
9280 [BZ #15086]
9281 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9282 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9283 RES_SNGLKUPREOP.
9284
92852013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9286
9287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9288
92892013-04-29 Joseph Myers <joseph@codesourcery.com>
9290
9291 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9292 of individual tests.
9293 (casin_test): Likewise.
9294 (casinh_test): Likewise.
9295
92962013-04-27 Joseph Myers <joseph@codesourcery.com>
9297
9298 [BZ #15409]
9299 * math/s_catan.c (__catan): Handle arguments with large real or
9300 imaginary part separately without squaring.
9301 * math/s_catanf.c (__catanf): Likewise.
9302 * math/s_catanh.c (__catanh): Likewise.
9303 * math/s_catanhf.c (__catanhf): Likewise.
9304 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9305 and redefine.
9306 (__catanhl): Handle arguments with large real or imaginary part
9307 separately without squaring.
9308 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9309 and redefine.
9310 (__catanl): Handle arguments with large real or imaginary part
9311 separately without squaring.
9312 * math/libm-test.inc (catan_test): Add more tests.
9313 (catanh_test): Likewise.
9314 * sysdeps/i386/fpu/libm-test-ulps: Update.
9315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9316
93172013-04-27 Andreas Jaeger <aj@suse.de>
9318
9319 [BZ #15007]
9320 * stdlib/stdlib.h: Update guards for qecvt.
9321 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9322 <stdlib.h>.
9323
93242013-04-27 Allan McRae <allan@archlinux.org>
9325
9326 * sysdeps/i386/fpu/libm-test-ulps: Update.
9327
93282013-04-26 Joseph Myers <joseph@codesourcery.com>
9329
9330 [BZ #15406]
9331 * math/s_catan.c: Include <float.h>.
9332 (__catan): Ensure underflow exception occurs for underflowed
9333 result.
9334 * math/s_catanf.c: Include <float.h>.
9335 (__catanf): Ensure underflow exception occurs for underflowed
9336 result.
9337 * math/s_catanh.c: Include <float.h>.
9338 (__catanh): Ensure underflow exception occurs for underflowed
9339 result.
9340 * math/s_catanhf.c: Include <float.h>.
9341 (__catanhf): Ensure underflow exception occurs for underflowed
9342 result.
9343 * math/s_catanhl.c: Include <float.h>.
9344 (__catanhl): Ensure underflow exception occurs for underflowed
9345 result.
9346 * math/s_catanl.c: Include <float.h>.
9347 (__catanl): Ensure underflow exception occurs for underflowed
9348 result.
9349 * math/libm-test.inc (catan_test): Add more tests.
9350 (catanh_test): Likewise.
9351
9352 [BZ #15405]
9353 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9354 underflowed result.
9355 * math/s_ccoshf.c (__ccoshf): Likewise.
9356 * math/s_ccoshl.c (__ccoshl): Likewise.
9357 * math/s_csin.c (__csin): Likewise.
9358 * math/s_csinf.c (__csinf): Likewise.
9359 * math/s_csinh.c (__csinh): Likewise.
9360 * math/s_csinhf.c (__csinhf): Likewise.
9361 * math/s_csinhl.c (__csinhl): Likewise.
9362 * math/s_csinl.c (__csinl): Likewise.
9363 * math/libm-test.inc (ccos_test): Add more tests.
9364 (ccosh_test): Likewise.
9365 (csin_test): Likewise.
9366 (csinh_test): Likewise.
9367
93682013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9369
9370 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9371 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9372 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9373 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9374 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9375 powerpc/power5+/fpu folders.
9376 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9377
9378
93792013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9380
9381 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9382
93832013-04-25 Joseph Myers <joseph@codesourcery.com>
9384
9385 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9386 additions to variable.
9387 [$(config-machine) = x86_64] (modules-names): Likewise.
9388 ($(objpfx)tst-audit3): Remove dependency.
9389 ($(objpfx)tst-audit3.out): Likewise.
9390 ($(objpfx)tst-audit4): Likewise.
9391 ($(objpfx)tst-audit4.out): Likewise.
9392 ($(objpfx)tst-audit5): Likewise.
9393 ($(objpfx)tst-audit5.out): Likewise.
9394 ($(objpfx)tst-audit6): Likewise.
9395 ($(objpfx)tst-audit6.out): Likewise.
9396 ($(objpfx)tst-audit7): Likewise.
9397 ($(objpfx)tst-audit7.out): Likewise.
9398 (tst-audit3-ENV): Remove variable.
9399 (tst-audit4-ENV): Likewise.
9400 (tst-audit5-ENV): Likewise.
9401 (tst-audit6-ENV): Likewise.
9402 (tst-audit7-ENV): Likewise.
9403 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9404 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9405 addition to variable.
9406 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9407 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9408 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9409 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9410 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9411 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9412 tst-audit3, tst-audit4 and tst-audit5.
9413 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9414 tst-audit6 and tst-audit7.
9415 [$(subdir) = elf] (modules-names): Add audit modules for those
9416 tests.
9417 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9418 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9419 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9420 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9421 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9422 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9423 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9424 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9425 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9426 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9427 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9428 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9429 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9430 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9431 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9432 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9433 Likewise.
9434 [$(subdir) = elf && $(config-cflags-avx) = yes]
9435 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9436 [$(subdir) = elf && $(config-cflags-avx) = yes]
9437 (CFLAGS-tst-auditmod4a.c): Likewise.
9438 [$(subdir) = elf && $(config-cflags-avx) = yes]
9439 (CFLAGS-tst-auditmod4b.c): Likewise.
9440 [$(subdir) = elf && $(config-cflags-avx) = yes]
9441 (CFLAGS-tst-auditmod6b.c): Likewise.
9442 [$(subdir) = elf && $(config-cflags-avx) = yes]
9443 (CFLAGS-tst-auditmod6c.c): Likewise.
9444 [$(subdir) = elf && $(config-cflags-avx) = yes]
9445 (CFLAGS-tst-auditmod7b.c): Likewise.
9446 * elf/tst-audit3.c: Move to ...
9447 * sysdeps/x86_64/tst-audit3.c: ... here.
9448 * elf/tst-audit4.c: Move to ...
9449 * sysdeps/x86_64/tst-audit4.c: ... here.
9450 * elf/tst-audit5.c: Move to ...
9451 * sysdeps/x86_64/tst-audit5.c: ... here.
9452 * elf/tst-audit6.c: Move to ...
9453 * sysdeps/x86_64/tst-audit6.c: ... here.
9454 * elf/tst-audit7.c: Move to ...
9455 * sysdeps/x86_64/tst-audit7.c: ... here.
9456 * elf/tst-auditmod3a.c: Move to ...
9457 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9458 * elf/tst-auditmod3b.c: Move to ...
9459 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9460 * elf/tst-auditmod4a.c: Move to ...
9461 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9462 * elf/tst-auditmod4b.c: Move to ...
9463 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9464 * elf/tst-auditmod5a.c: Move to ...
9465 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9466 * elf/tst-auditmod5b.c: Move to ...
9467 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9468 * elf/tst-auditmod6a.c: Move to ...
9469 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9470 * elf/tst-auditmod6b.c: Move to ...
9471 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9472 * elf/tst-auditmod6c.c: Move to ...
9473 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9474 * elf/tst-auditmod7a.c: Move to ...
9475 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9476 * elf/tst-auditmod7b.c: Move to ...
9477 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9478
94792013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9480
9481 [BZ #15366]
9482 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9483 define unconditionally.
9484 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9485 define unconditionally.
9486 (INT8_C, INT16_C, etc.): Likewise.
9487
94882013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9489
9490 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9491 __ehdr_start with hidden visibility.
9492
9493 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9494
94952013-04-24 Carlos O'Donell <carlos@redhat.com>
9496
9497 * math/libm-test.inc (cos_test): Use accurate hex constants.
9498 (sincost_test): Likewise.
9499
95002013-04-24 Joseph Myers <joseph@codesourcery.com>
9501
9502 * math/libm-test.inc (catan_test): Add more tests.
9503 (catanh_test): Likewise.
9504
9505 * math/s_catanf.c (__catanf): Use suffixed floating-point
9506 constants.
9507 * math/s_catanhf.c (__catanhf): Likewise.
9508 * math/s_catanhl.c (__catanhl): Likewise.
9509 * math/s_catanl.c (__catanl): Likewise.
9510
9511 [BZ #15394]
9512 * math/s_catan.c (__catan): Calculate imaginary part of result
9513 with log1p not log unless computing log of number close to 0.
9514 * math/s_catanf.c (__catanf): Likewise.
9515 * math/s_catanl.c (__catanl): Likewise.
9516 * math/s_catanh.c (__catanh): Calculate real part of result with
9517 log1p not log unless computing log of number close to 0.
9518 * math/s_catanhf.c (__catanhf): Likewise.
9519 * math/s_catanhl.c (__catanhl): Likewise.
9520 * math/libm-test.inc (catan_test): Add more tests.
9521 (catanh_test): Likewise.
9522 * sysdeps/i386/fpu/libm-test-ulps: Update.
9523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9524
95252013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9526
9527 * benchtests/Makefile: Mention files in which fast and slow
9528 paths of math functions are implemented.
9529
95302013-04-23 Roland McGrath <roland@hack.frob.com>
9531
9532 * sysdeps/posix/timespec_get.c: New file.
9533
95342013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9535
9536 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9537 POWER.
9538 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9539 for POWER.
9540 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9541 powerpc/power5/fpu folders.
9542 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9543 * benchtests/Makefile: Add modf testcase.
9544 * benchtests/bench-modf.c: New file: Benchmark test for mo
9545
95462013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9547
9548 [BZ #14888]
9549 * time/Makefile (tests): Add tst-strptime-whitespace.
9550 * time/strptime_l.c (get_number): Use ISSPACE.
9551 (__strptime_internal): Likewise.
9552 * time/tst-strptime-whitespace.c: New test case.
9553
95542013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9555
9556 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9557 member.
9558 (_nss_files_init): Set it here.
9559
95602013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9561
9562 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9563 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9564 unsigned.
9565
95662013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9567
9568 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9569
95702013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9571
9572 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9573 size just once.
9574
95752013-04-21 David S. Miller <davem@davemloft.net>
9576
9577 * po/ru.po: Update Russion translation from translation project.
9578
95792013-04-17 Adam Conrad <adconrad@0c3.net>
9580
9581 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9582 and setfsgid.
9583
95842013-04-17 Carlos O'Donell <carlos@redhat.com>
9585
9586 * configure.in: Remove i386 configure warning. Remove i386 case.
9587 * configure: Regenerate.
9588 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9589 Add example to error message.
9590 * sysdeps/i386/configure: Regenerate.
9591
95922013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9593
9594 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9595 slowtan.
9596 * benchtests/cos-inputs: New file.
9597 * benchtests/slowcos-inputs: New file.
9598 * benchtests/slowcos.c: New file.
9599 * benchtests/slowtan-inputs: New file.
9600 * benchtests/slowtan.c: New file.
9601 * benchtests/tan-inputs: New file.
9602
96032013-04-16 Roland McGrath <roland@hack.frob.com>
9604
9605 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9606 considered kosher.
9607
96082013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9609
9610 * benchtests/Makefile: Include cppflags-iterator.mk to add
9611 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9612
9613 * Makefile.in (bench-clean): New target.
9614 * benchtests/Makefile (bench-clean): Likewise.
9615
96162013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9617
9618 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9619
96202013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9621
9622 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9623
96242013-04-15 Andreas Schwab <schwab@suse.de>
9625
9626 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9627 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9628 * nscd/pwdcache.c (cache_addpw): Likewise.
9629 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9630 more than recsize.
9631
96322013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9633
9634 * benchtests/Makefile (bench): Write all output to
9635 bench-out.tmp together.
9636
96372013-04-15 Andreas Schwab <schwab@suse.de>
9638
9639 * nscd/nscd.c (main): Don't fork again after closing files.
9640
96412013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9642
9643 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9644
9645 * benchtests/Rules (bench-deps): Collect dependencies into a
9646 single variable. Add Makefile to dependencies.
9647 ($(objpfx)bench-%.c): Depend on bench-deps.
9648
96492013-04-12 Roland McGrath <roland@hack.frob.com>
9650 Xavier Roche <roche+kml2@exalead.com>
9651
9652 [BZ #15361]
9653 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9654 just that it's a file descriptor.
9655 * manual/llio.texi (Synchronizing AIO Operations): Update description
9656 for EBADF error from aio_fsync.
9657
96582013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9659
9660 * Rules (bench): Move target definition...
9661 * benchtests/Makefile: ... here.
9662
96632013-04-11 Carlos O'Donell <carlos@redhat.com>
9664
9665 * math/libm-test.inc (cos_test): Fix PI/2 test.
9666 (sincos_test): Likewise.
9667 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9668 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9669
96702013-04-11 Andreas Schwab <schwab@suse.de>
9671
9672 [BZ #13988]
9673 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9674 accept exponent character only when digits were seen.
9675 * stdio-common/Makefile (tests): Add bug26.
9676 * stdio-common/bug26.c: New file.
9677
9678 [BZ #14293]
9679 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9680 non-freeable.
9681
96822013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9683
9684 * Makeconfig (rtld-prefix): Define built linker prefix.
9685 * Rules (run-bench): Use it.
9686 * math/Makefile (run-regen-ulps): Likewise.
9687
9688 * Rules (bench): Remove eval.
9689
96902013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9691 Roland McGrath <roland@hack.frob.com>
9692 Ondrej Bilka <neleai@seznam.cz>
9693
9694 [BZ #15346]
9695 * time/getdate.c: Include ctype.h and alloca.h.
9696 (__getdate_r): Trim leading and trailing spaces of input.
9697 * time/tst-getdate.c (tests): Add tests with leading and
9698 trailing spaces.
9699
97002013-04-08 Roland McGrath <roland@hack.frob.com>
9701
9702 [BZ #14280]
9703 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9704 when computing value.
9705
97062013-04-06 Carlos O'Donell <carlos@redhat.com>
9707
9708 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9709 Use testrun.sh to run libm tests.
9710
9711 [BZ #15309]
9712 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9713
97142013-04-06 Marko Myllynen <myllynen@redhat.com>
9715
9716 [BZ #15264]
9717 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9718
97192013-04-06 Carlos O'Donell <carlos@redhat.com>
9720
9721 * Makefile.in (regen-ulps): New target.
9722 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9723 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9724 [ifneq (no,$(PERL)] (regen-ulps): New target.
9725 [ifeq (no,$(PERL)] (regen-ulps): New target.
9726 * math/libm-test.inc (ulps_file_name): Define.
9727 (output_dir): New variable.
9728 (options): Add "output-dir" option.
9729 (parse_opt): Handle 'o' case.
9730 (main): If output_dir is non-NULL use it as a prefix
9731 otherwise use "".
9732 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9733
97342013-04-06 Carlos O'Donell <carlos@redhat.com>
9735
9736 [BZ #10060, #10062]
9737 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9738 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9739 fail configure if __sync_val_compare_and_swap is not inlined.
9740 * sysdeps/i386/configure: Regenerate.
9741 * configure.in: Build for i686 when configured for i386.
9742 * configure: Regenerate.
9743 * README: Remove i386 reference.
9744
97452013-04-06 Carlos O'Donell <carlos@redhat.com>
9746
9747 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9748 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9749
97502013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9751
9752 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9753 (lmsnanval): New variables.
9754 (F): Add conversion tests.
9755 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9756 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9757
9758 * stdio-common/tstdiomisc.c (F): Properly collect individual
9759 tests' results.
9760
9761 [BZ #14686, #15336]
9762 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9763 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9764 Instead, use input NaN values or generate a qNaN by arithmetic
9765 operation. Also fix bugs to comply with the standard.
9766 * math/libm-test.inc (remainder_test): Add more tests.
9767
9768 [BZ #15335, #15342]
9769 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9770 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9771 input NaN values or generate a qNaN by arithmetic operation.
9772
9773 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9774 unreachable code.
9775
9776 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9777 definitions.
9778
97792013-04-03 Joseph Myers <joseph@codesourcery.com>
9780
9781 [BZ #14478]
9782 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9783 underflowed result.
9784 * math/s_cexpf.c (__cexpf): Likewise.
9785 * math/s_cexpl.c (__cexpl): Likewise.
9786 * math/libm-test.inc (cexp_test): Add more tests.
9787
97882013-04-03 Andreas Schwab <schwab@suse.de>
9789
9790 [BZ #15330]
9791 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9792 order arrays from heap if bigger than alloca cutoff.
9793
97942013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9795
9796 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9797 (SNAN_TESTS_double): Refer to GCC PR56831.
9798 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9799 GCC PR56828.
9800
98012013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9802
9803 * Rules (bench): Move bench.out after the run is complete.
9804
9805 * Rules (bench): Echo currently running benchmark.
9806
9807 * benchtests/Makefile (bench): Add atan and slowatan.
9808 * benchtests/atan-inputs: New file.
9809 * benchtests/slowatan-inputs: New file.
9810 * benchtests/slowatan.c: New file.
9811
9812 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9813 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9814 its value.
9815
9816 [BZ #15305]
9817 * sysdeps/unix/sysv/linux/kernel-features.h
9818 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9819 __ASSUME_XFS_RESTRICTED_CHOWN.
9820 * sysdeps/unix/sysv/linux/pathconf.c
9821 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9822 Save and restore errno.
9823
98242013-04-02 Joseph Myers <joseph@codesourcery.com>
9825
9826 [BZ #15327]
9827 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9828 arguments using __kernel_casinh.
9829 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9830 arguments using __kernel_casinhf.
9831 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9832 arguments using __kernel_casinhl.
9833 * math/libm-test.inc (cacosh_test): Add more tests.
9834 * sysdeps/i386/fpu/libm-test-ulps: Update.
9835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9836
98372013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9838
9839 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9840 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9841
9842 * bench/Makefile (bench): Add sin and slowsin.
9843 * benchtests/sin-inputs: New file.
9844 * benchtests/slowsin-inputs: New file.
9845 * benchtests/slowsin.c: New file.
9846
9847 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9848 (bench): Add slowexp and slowpow.
9849 (exp-ITER): Increase iterations.
9850 (pow-ITER): Likewise.
9851 * benchtests/exp-inputs: Change input.
9852 * benchtests/pow-inputs: Likewise.
9853 * benchtests/slowexp-inputs: New file.
9854 * benchtests/slowexp.c: New file.
9855 * benchtests/slowpow-inputs: New file.
9856 * benchtests/slowpow.c: New file.
9857
98582013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9859
9860 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9861 instructions.
9862 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9863 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9864 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9865 * benchtests/Makefile: Add rint benchtest.
9866 * benchtests/rint-inputs: Input for rint benchtest.
9867
98682013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9869
9870 * Versions.def (libm): Add GLIBC_2.18.
9871 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9872 hidden libm prototypes.
9873 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9874 * math/Makefile (libm-calls): Add s_issignaling.
9875 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9876 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9877 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9878 declaration.
9879 * math/math.h [__USE_GNU] (issignaling): New macro.
9880 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9881 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9882 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9883 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9884 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9885 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9886 * manual/arith.texi (issignaling): New section.
9887 * manual/libm-err-tab.pl (@all_functions): Update comment.
9888 * math/gen-libm-test.pl (parse_args): Apply special handling for
9889 issignaling.
9890 * math/libm-test.inc (print_float, issignaling_test): New
9891 functions.
9892 (check_float_internal): Add issignaling checks.
9893 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9894 default definition.
9895 * sysdeps/powerpc/math-tests.h: New file.
9896 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9897 tests.
9898 * math/test-snan.c (TEST_FUNC): Likewise.
9899
99002013-03-30 David S. Miller <davem@davemloft.net>
9901
9902 * po/de.po: Update from translation team.
9903
99042013-03-30 Joseph Myers <joseph@codesourcery.com>
9905
9906 [BZ #10357]
9907 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9908 imaginary part less than 1.0 and real part less than 0.5
9909 specially.
9910 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9911 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9912 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9913 (cacos_test): Add more tests.
9914 (casin_test): Likewise.
9915 (casinh_test): Likewise.
9916 * sysdeps/i386/fpu/libm-test-ulps: Update.
9917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9918
99192013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9920
9921 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9922 ONE with its value.
9923
9924 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9925 (__pow_mp): Replace ONE and MONE with their values.
9926 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9927 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9928 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9929 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9930 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9931 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9932
9933 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9934
9935 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9936 (__pow_mp): Replace ZERO and MZERO with their values.
9937 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9938 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9939 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9940 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9941 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9942 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9943 (__sqr): Likewise.
9944
9945 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9946
9947 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9948
99492013-03-28 Roland McGrath <roland@hack.frob.com>
9950
9951 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9952 Declare with __attribute__ ((weak)).
9953 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9954 Call __call_tls_dtors only if it's not NULL.
9955
99562013-03-28 Roland McGrath <roland@hack.frob.com>
9957
9958 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9959 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9960 magic __ehdr_start linker symbol if it's defined.
9961 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9962 them up here if it was already done.
9963
9964 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9965 (_dl_aux_init): Use const in cast when setting it.
9966 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9967 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9968 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9969
9970 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9971 Declare them here.
9972 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9973 * csu/libc-tls.c: Nor here.
9974 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9975
9976 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9977 (__libc_message): Never call vsyslog.
9978
99792013-03-28 Alan Modra <amodra@gmail.com>
9980
9981 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9982 Define as empty.
9983 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9984 Likewise.
9985
99862013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9987
9988 [BZ #15214]
9989 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9990 underflow.
9991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9992
99932013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9994
9995 [BZ #15304]
9996 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9997 Don't add gid passed as argument.
9998
9999 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10000
100012013-03-27 Joseph Myers <joseph@codesourcery.com>
10002
10003 [BZ #15307]
10004 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10005 imaginary part between 1.0 and 1.5 and real part less than 0.5
10006 specially.
10007 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10008 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10009 * math/libm-test.inc (cacos_test): Add more tests.
10010 (casin_test): Likewise.
10011 (casinh_test): Likewise.
10012 * sysdeps/i386/fpu/libm-test-ulps: Update.
10013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10014
100152013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10016
10017 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10018 constants.
10019 (norm): Likewise.
10020 (denorm): Likewise.
10021 (__dbl_mp): Likewise.
10022 (add_magnitudes): Likewise.
10023 (sub_magnitudes): Likewise.
10024 (__add): Likewise.
10025 (__sub): Likewise.
10026 (__mul): Likewise.
10027 (__sqr): Likewise.
10028 (__inv): Likewise.
10029 (__dvd): Likewise.
10030
10031 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10032 commented code.
10033 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10034 (__dubcos): Likewise.
10035 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10036 (__ieee754_acos): Likewise.
10037 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10038 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10039 (__exp1): Likewise.
10040 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10041 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10042 (log1): Likewise.
10043 (my_log2): Likewise.
10044 (checkint): Likewise.
10045 * sysdeps/ieee754/dbl-64/e_remainder.c
10046 (__ieee754_remainder): Likewise.
10047 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10048 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10049 (bsloww): Likewise.
10050 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10051
10052 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10053 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10054 MANTISSA_STORE_T to store computations on mantissa. Use
10055 macros for rounding and division.
10056 (denorm): Likewise.
10057 (__dbl_mp): Likewise.
10058 (add_magnitudes): Likewise.
10059 (sub_magnitudes): Likewise.
10060 (__mul): Likewise.
10061 (__sqr): Likewise.
10062 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10063 powers of two in terms of TWOPOW macro.
10064 (mp_no): Make type of mantissa as MANTISSA_T.
10065 [!RADIXI]: Define RADIXI.
10066 [!TWO52]: Define TWO52.
10067 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10068
100692013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10070
10071 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10072 llroundl symbol when building for PPC32.
10073
100742013-03-24 Mark H Weaver <mhw@netris.org>
10075
10076 * manual/arith.texi (Normalization Functions): Fix prototypes for
10077 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10078
100792013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10080
10081 [BZ #13889]
10082 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10083 high value to check if expl overflow.
10084 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10085 to check for underflow and overflow.
10086 * math/libm-test.inc: Add exp test.
10087
100882013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10089
10090 [BZ #11120]
10091 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10092 with NOT_IN_libc.
10093
100942013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10095
10096 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10097 symbol.
10098
100992013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10100
10101 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10102 wrap blocks consisting of several statements.
10103
10104 * sysdeps/generic/math-tests.h: New file.
10105 * sysdeps/i386/fpu/math-tests.h: Likewise.
10106 * math/test-snan.c: Include it.
10107 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10108
101092013-03-21 Joseph Myers <joseph@codesourcery.com>
10110
10111 [BZ #15285]
10112 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10113 (__ieee754_j0l): Do not improve calculations using cos of twice
10114 input for inputs above LDBL_MAX / 2.0L.
10115 (__ieee754_y0l): Likewise.
10116 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10117 (__ieee754_j1l): Do not improve calculations using cos of twice
10118 input for inputs above LDBL_MAX / 2.0L.
10119 (__ieee754_y1l): Likewise.
10120 * math/libm-test.inc (j0_test): Add another test.
10121 (j1_test): Likewise.
10122 (y0_test): Likewise.
10123 (y1_test): Likewise.
10124 * sysdeps/i386/fpu/libm-test-ulps: Update.
10125
101262013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10127
10128 * Rules ($(objpfx)bench-%.c): Include code from a C source
10129 file.
10130
101312013-03-21 Joseph Myers <joseph@codesourcery.com>
10132
10133 [BZ #15287]
10134 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10135 imaginary part 1.0 and real part less than 0.5 specially.
10136 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10137 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10138 * math/libm-test.inc (cacos_test): Add more tests.
10139 (casin_test): Likewise.
10140 (casinh_test): Likewise.
10141 * sysdeps/i386/fpu/libm-test-ulps: Update.
10142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10143
101442013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10145
10146 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10147 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10148
101492013-03-20 Joseph Myers <joseph@codesourcery.com>
10150
10151 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10152 * config.make.in (config-cflags-sse4): Remove variable.
10153 (config-cflags-avx): Likewise.
10154 (config-cflags-sse2avx): Likewise.
10155 (config-cflags-novzeroupper): Likewise.
10156 (config-asflags-i686): Likewise.
10157 (have-mfma4): Likewise.
10158 (have-as-vis3): Likewise.
10159 (MIG): Likewise.
10160 * configure.in (MIG): Do not AC_SUBST.
10161 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10162 (libc_cv_cc_sse4): Do not AC_SUBST.
10163 (libc_cv_cc_avx): Likewise.
10164 (libc_cv_cc_sse2avx): Likewise.
10165 (libc_cv_cc_novzeroupper): Likewise.
10166 (libc_cv_cc_fma4): Likewise.
10167 (libc_cv_as_i686): Likewise.
10168 (libc_cv_sparc_as_vis3): Likewise.
10169 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10170 LIBC_CONFIG_VAR.
10171 (config-asflags-i686): Likewise.
10172 (config-cflags-avx): Likewise.
10173 (config-cflags-sse2avx): Likewise.
10174 (have-mfma4): Likewise.
10175 (config-cflags-novzeroupper): Likewise.
10176 * sysdeps/mach/configure.in (MIG): Likewise.
10177 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10178 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10179 LIBC_CONFIG_VAR.
10180 (config-cflags-avx): Likewise.
10181 (config-cflags-sse2avx): Likewise.
10182 (have-mfma4): Likewise.
10183 (config-cflags-novzeroupper): Likewise.
10184 * configure: Regenerated.
10185 * sysdeps/i386/configure: Likewise.
10186 * sysdeps/mach/configure: Likewise.
10187 * sysdeps/sparc/configure: Likewise.
10188 * sysdeps/x86_64/configure: Likewise.
10189
101902013-03-20 Roland McGrath <roland@hack.frob.com>
10191
10192 [BZ #14812]
10193 * locale/programs/localedef.c (options): Put N_ translation marker
10194 on argument names, not just descriptions.
10195
101962013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10197
10198 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10199
102002013-03-20 Ondřej Bílka <neleai@seznam.cz>
10201
10202 [BZ #14176]
10203 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10204
102052013-03-19 Roland McGrath <roland@hack.frob.com>
10206
10207 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10208 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10209 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10210 [!BEFORE_ABORT] (before_abort): New function.
10211 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10212 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10213 (writev_for_fatal): New function.
10214 (WRITEV_FOR_FATAL): New macro; call that.
10215 (backtrace_and_maps): New function.
10216 (BEFORE_ABORT): New macro; call that.
10217 (struct str_list): Type removed.
10218 (__libc_message, __libc_fatal): Functions removed.
10219 Include <sysdeps/posix/libc_fatal.c> instead.
10220
102212013-03-19 Joseph Myers <joseph@codesourcery.com>
10222
10223 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10224 constants.
10225 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10226 double constants.
10227
102282013-03-19 Andreas Schwab <schwab@suse.de>
10229
10230 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10231 * sysdeps/gnu/configure: Regenerate.
10232
10233 * configure.in: Substitute libc_cv_rtlddir.
10234 * configure: Regenerate.
10235 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10236 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10237 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10238 * elf/Makefile (install-others, CFLAGS-interp.c)
10239 (ldso_install, common-ldd-rewrite): Likewise.
10240 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10241 $(inst_slibdir)/$(rtld-installed-name).
10242 * scripts/rellns-sh: Add -p option.
10243 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10244 for source.
10245
102462013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10247
10248 * manual/nptl.texi: Renamed to ...
10249 * manual/threads.texi: ... this.
10250 * manual/Makefile (chapters): Update.
10251
102522013-03-18 Roland McGrath <roland@hack.frob.com>
10253
10254 [BZ #14812]
10255 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10256 on argument names, not just descriptions.
10257 * malloc/memusagestat.c (options): Likewise.
10258 * nss/getent.c (options): Likewise.
10259
102602013-03-18 Benno Schulenberg <bensberg@justemail.net>
10261
10262 [BZ #14812]
10263 * iconv/iconv_prog.c (options): Put N_ translation marker
10264 on argument names, not just descriptions.
10265 * iconv/iconvconfig.c (options): Likewise.
10266
102672013-03-18 Ondrej Bilka <neleai@seznam.cz>
10268
10269 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10270 implementation which is faster on all x86_64 architectures.
10271 Tested on AMD, Intel Nehalem, SNB, IVB.
10272 * sysdeps/x86_64/strnlen.S: Likewise.
10273
10274 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10275 Remove all multiarch strlen and strnlen versions.
10276 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10277 Remove strlen and strnlen related parts.
10278
10279 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10280 Inline strlen part.
10281 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10282
10283 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10284 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10285 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10286 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10287 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10288 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10289
102902013-03-17 Carlos O'Donell <carlos@redhat.com>
10291
10292 * manual/memory.texi (Malloc Tunable Parameters):
10293 Sort parameters alphabetically. Add comments for missing entries.
10294
102952013-03-17 David S. Miller <davem@davemloft.net>
10296
10297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10298
102992013-03-16 Joseph Myers <joseph@codesourcery.com>
10300
10301 [BZ #15283]
10302 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10303 for arguments at most half maximum finite value.
10304 * math/libm-test.inc (j0_test): Add more tests.
10305 (j1_test): Likewise.
10306 (y0_test): Likewise.
10307 (y1_test): Likewise.
10308 * sysdeps/i386/fpu/libm-test-ulps: Update.
10309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10310
10311 [BZ #14155]
10312 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10313 1 / x and functions P and Q for arguments above 0x1p256L.
10314 (__ieee754_y0l): Likewise.
10315 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10316 (__ieee754_y1l): Likewise.
10317 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10318 (j1_test): Likewise.
10319 (y0_test): Likewise.
10320 (y1_test): Likewise.
10321
103222013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10323
10324 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10325 variable.
10326
103272013-03-15 Roland McGrath <roland@hack.frob.com>
10328
10329 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10330 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10331 zero since it's initialized to EXEC_PAGESIZE.
10332
10333 * sysdeps/unix/sysv/linux/ldsodefs.h
10334 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10335 * sysdeps/generic/ldsodefs.h: ... here.
10336
103372013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10338
10339 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10340
10341 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10342 math/test-snan.c.
10343 * math/test-snan.c: Renamed from
10344 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10345 * math/Makefile (tests): Add test-snan.
10346 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10347 test-powerpc-snan.
10348
10349 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10350 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10351 functions.
10352 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10353 __builtin_nan family of functions.
10354 * math/libm-test.inc (initialize): Initialize qnan_value with
10355 __builtin_nan family of functions.
10356 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10357 Remove variables.
10358 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10359 Remove functions.
10360 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10361 storage class. Initialize qNaN_var and sNaN_var with
10362 __builtin_nan and __builtin_nans families of functions,
10363 respectively.
10364
10365 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10366 (sqrt_test): Remove duplicate test with qNaN input.
10367 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10368 (round_test, signbit_test, significand_test): Note missing +/-Inf
10369 as well as qNaN tests.
10370
10371 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10372 qNaN_var. Fix a few strings, too.
10373 * math/libm-test.inc (nan_value): Rename to qnan_value.
10374 * math/gen-libm-test.pl (%beautify): Adjust to that.
10375 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10376 * math/test-misc.c (main): Likewise.
10377 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10378 to __qnan_bytes, and __qnan_union, respectively.
10379 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10380 Likewise.
10381 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10382 and lqnanval, respectively.
10383 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10384 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10385 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10386 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10387
10388 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10389 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10390 doubles.
10391
10392 * math/test-misc.c (main): Fix copy'n'pastos.
10393 * misc/tst-efgcvt.c (special): Likewise.
10394
10395 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10396 Remove declarations.
10397
103982013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10399
10400 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10401 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10402 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10403 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10404
104052013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10406
10407 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10408 macro to return vdso values correctly in IFUNC implementations.
10409 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10410 Optimization by using IFUNC.
10411
104122013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10413 Richard Henderson <rth@redhat.com>
10414 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10415
10416 * Makefile.in (bench): New target.
10417 * NEWS: Mention the benchmark framework.
10418 * Rules (bench): Likewise.
10419 (binaries-bench): Generate binaries for functions to
10420 benchmark.
10421 * benchtests/Makefile: New makefile for benchmark tests.
10422 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10423 programs.
10424 * benchtests/exp-inputs: New input file for EXP function.
10425 * benchtests/pow-inputs: New input file for POW function.
10426 * scripts/bench.pl: New script to generate source files for
10427 benchmark programs.
10428
104292013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10430
10431 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10432 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10433 computations on mantissa. Use macros for rounding and
10434 division.
10435 (denorm): Likewise.
10436 (__dbl_mp): Likewise.
10437 (add_magnitudes): Likewise.
10438 (sub_magnitudes): Likewise.
10439 (__mul): Likewise.
10440 (__sqr): Likewise.
10441 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10442 powers of two in terms of TWOPOW macro.
10443 (mp_no): Make type of mantissa as MANTISSA_T.
10444 [!RADIXI]: Define RADIXI.
10445 [!TWO52]: Define TWO52.
10446 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10447
10448 * manual/nptl.texi (cindex): Modify threads to pthreads.
10449
104502013-03-15 Joseph Myers <joseph@codesourcery.com>
10451
10452 * sysdeps/x86_64/preconfigure: Regenerated.
10453
104542013-03-14 Joseph Myers <joseph@codesourcery.com>
10455
10456 [BZ #14155]
10457 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10458 0x1p28 and above.
10459 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10460 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10461 0x1p28 and above.
10462 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10463 * math/libm-test.inc (j0_test): Do not allow one spurious
10464 underflow exception.
10465 (y1_test): Likewise.
10466
104672013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10468
10469 * manual/Makefile (chapters): Add nptl.
10470 * manual/debug.texi (Debugging Support): Add link to Threads
10471 chapter.
10472 * manual/nptl.texi: New file.
10473
10474 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10475
104762013-03-14 Petr Baudis <pasky@ucw.cz>
10477
10478 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10479 for non-NULL pointer before the memory validity test. Pointed
10480 out by Holger Brunck <holger.brunck@keymile.com>.
10481
104822013-03-13 Andreas Schwab <schwab@suse.de>
10483
10484 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10485 instead of .os.
10486
104872013-03-13 Joseph Myers <joseph@codesourcery.com>
10488
10489 * timezone/zic.c: Update from tzcode 2013b.
10490
104912013-03-12 Carlos O'Donell <carlos@redhat.com>
10492
10493 * manual/install.texi (Configuring and compiling):
10494 Mention i686 and i586.
10495 * INSTALL: Regenerate.
10496
104972013-03-12 Roland McGrath <roland@hack.frob.com>
10498
10499 * sysdeps/init_array/elf-init.c: New file.
10500 * csu/elf-init.c
10501 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10502 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10503
10504 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10505 __gmon_start__ as global, but as static with a .preinit_array pointer.
10506 * sysdeps/init_array/gmon-start.c: New file. Use that.
10507 * sysdeps/init_array/crti.S: New file, empty except for comments.
10508 * sysdeps/init_array/crtn.S: Likewise.
10509
105102013-03-11 Ondřej Bílka <neleai@seznam.cz>
10511
10512 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10513 definining bcopy.
10514 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10515 Remove Prefer_SSE_for_memop.
10516 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10517 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10518 HAS_PREFER_SSE_FOR_MEMOP.
10519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10520 memset-x86-64.
10521 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10522 Remove bzero, memset ifunc support.
10523 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10524 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10525 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10526 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10527
105282013-03-11 Andreas Schwab <schwab@suse.de>
10529
10530 [BZ #15234]
10531 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10532 by SHLIB_COMPAT.
10533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10534 (GLIBC_2.16): Remove pthread_atfork.
10535
105362013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10537
10538 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10539 (ptestcases.h): Likewise.
10540
105412013-03-08 Roland McGrath <roland@hack.frob.com>
10542
10543 * Makeconfig ($(common-objpfx)config.status): Depend on
10544 sysdeps/*/preconfigure{,.in} too.
10545
105462013-03-08 Joseph Myers <joseph@codesourcery.com>
10547
10548 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10549 (__free_hook): Use void * instead of __malloc_ptr_t.
10550 (__malloc_hook): Likewise.
10551 (__realloc_hook): Likewise.
10552 (__memalign_hook): Likewise.
10553 (__after_morecore_hook): Likewise.
10554 * malloc/arena.c (save_malloc_hook): Likewise.
10555 (save_free_hook): Likewise.
10556 * malloc/hooks.c (malloc_hook_ini): Likewise.
10557 (realloc_hook_ini): Likewise.
10558 (memalign_hook_ini): Likewise.
10559 * malloc/malloc.c (malloc_hook_ini): Likewise.
10560 (realloc_hook_ini): Likewise.
10561 (memalign_hook_ini): Likewise.
10562 (__free_hook): Likewise.
10563 (__malloc_hook): Likewise.
10564 (__realloc_hook): Likewise.
10565 (__memalign_hook): Likewise.
10566 (__libc_malloc): Likewise.
10567 (__libc_free): Likewise.
10568 (__libc_realloc): Likewise.
10569 (__libc_memalign): Likewise.
10570 (__libc_valloc): Likewise.
10571 (__libc_pvalloc): Likewise.
10572 (__libc_calloc): Likewise.
10573 (__posix_memalign): Likewise.
10574 * malloc/morecore.c (__sbrk): Likewise.
10575 (__default_morecore): Likewise.
10576
10577 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10578
10579 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10580 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10581 __malloc_ptrdiff_t.
10582
10583 * malloc/malloc.h (__malloc_size_t): Remove macro.
10584 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10585 __malloc_size_t.
10586 (old_memalign_hook): Likewise.
10587 (old_realloc_hook): Likewise.
10588 (struct hdr): Likewise.
10589 (flood): Likewise.
10590 (mallochook): Likewise.
10591 (memalignhook): Likewise.
10592 (reallochook): Likewise.
10593 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10594 (tr_old_realloc_hook): Likewise.
10595 (tr_old_memalign_hook): Likewise.
10596 (tr_mallochook): Likewise.
10597 (tr_reallochook): Likewise.
10598 (tr_memalignhook): Likewise.
10599
106002013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10601
10602 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10603 default_ldbl_pack and using as default implementation.
10604 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10605 implementation.
10606 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10607 redundant definition.
10608 (ldbl_insert_mantissa): Likewise.
10609 (ldbl_canonicalize): Likewise.
10610 (ldbl_nearbyint): Likewise.
10611 (ldbl_pack): Rename to ldbl_pack_ppc.
10612 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10613 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10614 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10615
106162013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10617
10618 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10619 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10620 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10621 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10622 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10623 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10624 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10625 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10626
106272013-03-07 Andreas Jaeger <aj@suse.de>
10628
10629 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10630 bits/mman-linux.h.
10631
106322013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10633
10634 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10635 Include mpa.h and declare __MPEXP.
10636 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10637 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10638 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10639 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10640 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10641 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10642 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10643
10644 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10645 (__slowpow): Use long double EXPL and LOGL functions to
10646 compute POW.
10647 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10648 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10649 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10650 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10651 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10652 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10653
10654 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10655 intermediate variable to calculate exponent.
10656 (__sqr): Likewise.
10657 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10658 Likewise.
10659 (__sqr): Likewise.
10660
10661 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10662 [!NO__SQR]: Define __sqr.
10663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10664 and NO__SQR. Remove all code except __mul and __sqr. Include
10665 sysdeps/ieee754/dbl-64/mpa.c.
10666 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10667
10668 [BZ #12723]
10669 * posix/Makefile (tests): Add tst-pathconf.
10670 * posix/tst-pathconf.c: New test case.
10671 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10672 _PC_PIPE_BUF.
10673 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10674
106752013-03-06 Patsy Franklin <pfrankli@redhat.com>
10676
10677 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10678
106792013-03-06 Andreas Jaeger <aj@suse.de>
10680
10681 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10682 definition via __MAP_ANONYMOUS.
10683
10684 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10685 it's not part of Linux headers.
10686
10687 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10688 (MAP_HUGE_MASK): Define.
10689
10690 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10691 Define.
10692 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10693 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10694 Define.
10695 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10696 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10697 Define.
10698 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10699 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10700 Define.
10701 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10702
10703 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10704 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10705 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10706 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10707 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10708 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10709
10710 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10711 Handle f2fs.
10712
10713 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10714 Handle f2fs and efivarfs.
10715
10716 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10717 f2fs.
10718
10719 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10720 (EFIVARFS_MAGIC): Add.
10721 (F2FS_LINK_MAX): Add.
10722
107232013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10724
10725 * stdio-common/vfprintf.c: Replace __builtin_expect with
10726 __glibc_unlikely.
10727
107282013-03-06 Joseph Myers <joseph@codesourcery.com>
10729
10730 [BZ #13550]
10731 * sysdeps/generic/bp-sym.h: Remove file.
10732 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10733 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10734 <bp-sym.h> and <bp-asm.h>.
10735 (__longjmp): Don't use BP_SYM.
10736 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10737 and <bp-asm.h>.
10738 (memcpy): Don't use BP_SYM.
10739 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10740 <bp-sym.h> and <bp-asm.h>.
10741 (memcpy): Don't use BP_SYM.
10742 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10743 <bp-asm.h>.
10744 (memcpy): Don't use BP_SYM.
10745 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10746 <bp-asm.h>.
10747 (memset): Don't use BP_SYM.
10748 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10749 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10750 (__bzero): Don't use BP_SYM.
10751 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10752 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10753 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10754 <bp-sym.h> and <bp-asm.h>.
10755 (memcmp): Don't use BP_SYM. Remove comment about bounded
10756 pointers.
10757 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10758 <bp-sym.h> and <bp-asm.h>.
10759 (memcpy): Don't use BP_SYM.
10760 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10761 <bp-sym.h> and <bp-asm.h>.
10762 (memset): Don't use BP_SYM.
10763 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10764 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10765 (__bzero): Don't use BP_SYM.
10766 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10767 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10768 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10769 <bp-sym.h> and <bp-asm.h>.
10770 (strncmp): Don't use BP_SYM. Remove comment about bounded
10771 pointers.
10772 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10773 <bp-sym.h> and <bp-asm.h>.
10774 (memcpy): Don't use BP_SYM.
10775 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10776 <bp-sym.h> and <bp-asm.h>.
10777 (memset): Don't use BP_SYM.
10778 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10779 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10780 (__bzero): Don't use BP_SYM.
10781 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10782 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10783 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10784 <bp-sym.h> and <bp-asm.h>.
10785 (__memchr): Don't use BP_SYM.
10786 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10787 <bp-sym.h> and <bp-asm.h>.
10788 (memcmp): Don't use BP_SYM. Remove comment about bounded
10789 pointers.
10790 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10791 <bp-sym.h> and <bp-asm.h>.
10792 (memcpy): Don't use BP_SYM.
10793 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10794 <bp-sym.h> and <bp-asm.h>.
10795 (__mempcpy): Don't use BP_SYM.
10796 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10797 <bp-sym.h> and <bp-asm.h>.
10798 (__memrchr): Don't use BP_SYM.
10799 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10800 <bp-sym.h> and <bp-asm.h>.
10801 (memset): Don't use BP_SYM.
10802 (__bzero): Likewise.
10803 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10804 <bp-sym.h> and <bp-asm.h>.
10805 (__rawmemchr): Don't use BP_SYM.
10806 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10807 <bp-sym.h> and <bp-asm.h>.
10808 (__STRCMP): Don't use BP_SYM.
10809 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10810 <bp-sym.h> and <bp-asm.h>.
10811 (strchr): Don't use BP_SYM.
10812 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10813 <bp-sym.h> and <bp-asm.h>.
10814 (__strchrnul): Don't use BP_SYM.
10815 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10816 <bp-sym.h> and <bp-asm.h>.
10817 (strlen): Don't use BP_SYM.
10818 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10819 <bp-sym.h> and <bp-asm.h>.
10820 (strncmp): Don't use BP_SYM. Remove comment about bounded
10821 pointers.
10822 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10823 <bp-sym.h> and <bp-asm.h>.
10824 (__strnlen): Don't use BP_SYM.
10825 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10826 <bp-sym.h> and <bp-asm.h>.
10827 (__GI__setjmp): Don't use BP_SYM.
10828 (_setjmp): Likewise.
10829 (__sigsetjmp): Likewise.
10830 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10831 (L(start_addresses)): Don't use BP_SYM.
10832 (_start): Likewise.
10833 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10834 <bp-asm.h>.
10835 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10836 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10837 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10838 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10839 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10840 <bp-asm.h>.
10841 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10842 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10843 about bounded pointers.
10844 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10845 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10846 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10847 <bp-asm.h>.
10848 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10849 about bounded pointers. Remove GKM FIXME comments.
10850 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10851 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10852 <bp-asm.h>.
10853 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10854 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10855 Remove GKM FIXME comments.
10856 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10857 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10858 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10859 <bp-asm.h>.
10860 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10861 about bounded pointers. Remove GKM FIXME comment.
10862 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10863 and <bp-asm.h>.
10864 (strncmp): Don't use BP_SYM. Remove comment about bounded
10865 pointers.
10866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10867 <bp-sym.h> and <bp-asm.h>.
10868 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10870 <bp-sym.h> and <bp-asm.h>.
10871 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10872 comment.
10873
108742013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10875
10876 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10877 call free(NULL).
10878
108792013-03-05 David S. Miller <davem@davemloft.net>
10880
10881 * po/es.po: Update from translation team.
10882
108832013-03-05 Andreas Jaeger <aj@suse.de>
10884
10885 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10886 <bits/mman-linux.h>.
10887 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10888 is fine.
10889 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10890 <bits/mman-linux.h> to end of file.
10891 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10892 is fine.
10893 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10894 <bits/mman-linux.h> to end of file.
10895 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10896 is fine.
10897 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10898 <bits/mman-linux.h> to end of file.
10899
10900 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10901 (MCL_CURRENT, MCL_FUTURE): Define here.
10902
109032013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10904
10905 [BZ #15232]
10906 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10907 attribute_hidden.
10908 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10909
109102013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10911
10912 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10913 fourth parameter needed for rt_sigprocmask syscall.
10914 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10915 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10916 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10917 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10918 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10919 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10920
109212013-03-04 Joseph Myers <joseph@codesourcery.com>
10922
10923 [BZ #13550]
10924 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10925 comment about bounded pointers.
10926 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10927 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10928
109292013-03-04 Andreas Jaeger <aj@suse.de>
10930
10931 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10932 common definitions.
10933
10934 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10935 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10936 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10937 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10938 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10939 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10940
109412013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10942
10943 [BZ #15055]
10944 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10945 __ieee754_sqrl instead of __sqrl.
10946
109472013-03-01 Joseph Myers <joseph@codesourcery.com>
10948
10949 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10950 * sysdeps/powerpc/fpu_control.h: ... here.
10951 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10952 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10953 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10954 * sysdeps/powerpc/bits/mathinline.h: ... here.
10955
109562013-03-01 Roland McGrath <roland@hack.frob.com>
10957
10958 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10959 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10960 to just [NEED_DL_SYSINFO_DSO].
10961 * elf/dl-support.c: Likewise.
10962 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10963 * elf/rtld.c (dl_main): Likewise.
10964 * elf/setup-vdso.h (setup_vdso): Likewise.
10965 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10966 * sysdeps/unix/sysv/linux/dl-sysdep.c
10967 (_dl_discover_osversion): Likewise.
10968
109692013-03-01 Carlos O'Donell <carlos@redhat.com>
10970
10971 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10972 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10973
109742013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10975
10976 * NEWS: Mention libm performance improvements and non-x86 PI
10977 futex support.
10978
10979 * csu/libc-start.c (__pthread_initialize_minimal): Change
10980 function arguments.
10981 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10982
109832013-02-28 Joseph Myers <joseph@codesourcery.com>
10984
10985 [BZ #13550]
10986 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10987 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10988 <bp-sym.h> and <bp-asm.h>.
10989 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10990 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10991 and <bp-asm.h>.
10992 (memcpy): Don't use BP_SYM.
10993 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10994 <bp-asm.h>.
10995 (__mpn_add_n): Don't use BP_SYM.
10996 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10997 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10998 and <bp-asm.h>.
10999 (__mpn_addmul_1): Don't use BP_SYM.
11000 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11001 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11002 <bp-sym.h>.
11003 (_setjmp): Don't use BP_SYM.
11004 (__novmx_setjmp): Likewise.
11005 (__GI__setjmp): Likewise.
11006 (__vmx_setjmp): Likewise.
11007 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11008 <bp-sym.h>.
11009 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11010 (__bzero): Don't use BP_SYM.
11011 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11012 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11013 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11014 <bp-sym.h> and <bp-asm.h>.
11015 (memcpy): Don't use BP_SYM.
11016 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11017 <bp-sym.h> and <bp-asm.h>.
11018 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11019 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11020 <bp-sym.h> and <bp-asm.h>.
11021 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11022 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11023 <bp-asm.h>.
11024 (__mpn_lshift): Don't use BP_SYM.
11025 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11026 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11027 <bp-asm.h>.
11028 (memset): Don't use BP_SYM.
11029 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11030 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11031 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11032 <bp-asm.h>.
11033 (__mpn_mul_1): Don't use BP_SYM.
11034 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11035 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11036 <bp-sym.h> and <bp-asm.h>.
11037 (memcmp): Don't use BP_SYM.
11038 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11039 <bp-sym.h> and <bp-asm.h>.
11040 (memcpy): Don't use BP_SYM.
11041 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11042 <bp-sym.h> and <bp-asm.h>.
11043 (memset): Don't use BP_SYM.
11044 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11045 <bp-sym.h> and <bp-asm.h>.
11046 (strncmp): Don't use BP_SYM.
11047 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11048 <bp-sym.h> and <bp-asm.h>.
11049 (memcpy): Don't use BP_SYM.
11050 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11051 <bp-sym.h> and <bp-asm.h>.
11052 (memset): Don't use BP_SYM.
11053 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11054 <bp-sym.h> and <bp-asm.h>.
11055 (__memchr): Don't use BP_SYM.
11056 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11057 <bp-sym.h> and <bp-asm.h>.
11058 (memcmp): Don't use BP_SYM.
11059 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11060 <bp-sym.h> and <bp-asm.h>.
11061 (memcpy): Don't use BP_SYM.
11062 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11063 <bp-sym.h> and <bp-asm.h>.
11064 (__mempcpy): Don't use BP_SYM.
11065 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11066 <bp-sym.h> and <bp-asm.h>.
11067 (__memrchr): Don't use BP_SYM.
11068 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11069 <bp-sym.h> and <bp-asm.h>.
11070 (memset): Don't use BP_SYM.
11071 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11072 <bp-sym.h> and <bp-asm.h>.
11073 (__rawmemchr): Don't use BP_SYM.
11074 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11075 <bp-sym.h> and <bp-asm.h>.
11076 (__STRCMP): Don't use BP_SYM.
11077 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11078 <bp-sym.h> and <bp-asm.h>.
11079 (strchr): Don't use BP_SYM.
11080 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11081 <bp-sym.h> and <bp-asm.h>.
11082 (__strchrnul): Don't use BP_SYM.
11083 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11084 <bp-sym.h> and <bp-asm.h>.
11085 (strlen): Don't use BP_SYM.
11086 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11087 <bp-sym.h> and <bp-asm.h>.
11088 (strncmp): Don't use BP_SYM.
11089 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11090 <bp-sym.h> and <bp-asm.h>.
11091 (__strnlen): Don't use BP_SYM.
11092 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11093 <bp-asm.h>.
11094 (__mpn_rshift): Don't use BP_SYM.
11095 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11096 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11097 <bp-sym.h> and <bp-asm.h>.
11098 (__sigsetjmp): Don't use BP_SYM.
11099 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11100 (L(start_addresses)): Don't use BP_SYM.
11101 (_start): Likewise.
11102 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11103 <bp-asm.h>.
11104 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11105 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11106 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11107 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11108 <bp-asm.h>.
11109 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11110 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11111 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11112 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11113 <bp-asm.h>.
11114 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11115 comments.
11116 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11117 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11118 <bp-asm.h>.
11119 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11120 FIXME comments.
11121 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11122 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11123 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11124 <bp-asm.h>.
11125 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11126 comment.
11127 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11128 and <bp-asm.h>.
11129 (strncmp): Don't use BP_SYM,
11130 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11131 <bp-asm.h>.
11132 (__mpn_sub_n): Don't use BP_SYM.
11133 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11134 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11135 and <bp-asm.h>.
11136 (__mpn_submul_1): Don't use BP_SYM.
11137 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11139 <bp-sym.h> and <bp-asm.h>.
11140 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11142 <bp-sym.h> and <bp-asm.h>.
11143 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11144 comment.
11145
111462013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11147
11148 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11149 Use ZK to minimize writes to Z.
11150 (sub_magnitudes): Simplify code a bit.
11151 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11152 Use ZK to minimize writes to Z.
11153 (sub_magnitudes): Simplify code a bit.
11154
111552013-02-27 Roland McGrath <roland@hack.frob.com>
11156
11157 * csu/gmon-start.c: Add special exception to license text.
11158
111592013-02-27 Richard Henderson <rth@redhat.com>
11160
11161 * scripts/config.guess: Update from config.git.
11162 * scripts/config.sub: Likewise.
11163
111642013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11165
11166 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11167
11168 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11169
11170 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11171
11172 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11173
11174 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11175
111762013-02-26 Roland McGrath <roland@hack.frob.com>
11177
11178 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11179 [$(build-shared = yes].
11180
111812013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11182
11183 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11184 (__mul): Reduce iterations for calculating mantissa.
11185
11186 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11187 MPTWO.
11188 (__mpranred): Likewise.
11189
11190 [BZ #15160]
11191 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11192 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11193
111942013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11195
11196 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11197 Define __attribute__.
11198
111992013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11200
11201 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11202 unused.
11203 * posix/regex_internal.h (__attribute): Remove.
11204 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11205 (re_string_context_at): Likewise.
11206 (bitset_not): Use __attribute__ and mark function as possibly
11207 unused.
11208 (bitset_merge): Likewise.
11209 (bitset_mask): Likewise.
11210 (re_string_char_size_at): Likewise.
11211 (re_string_wchar_at): Likewise.
11212 (re_string_elem_size_at): Likewise.
11213
112142013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11215
11216 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11217 code.
11218 (cc32): Likewise.
11219
11220 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11221 (__acr): Likewise.
11222 (__cpy): Likewise.
11223 (norm): Likewise.
11224 (denorm): Likewise.
11225 (__dbl_mp): Likewise.
11226 (add_magnitudes): Likewise.
11227 (sub_magnitudes): Likewise.
11228 (__mul): Likewise.
11229 (__inv): Likewise.
11230
11231 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11232 style.
11233
11234 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11235 style.
11236
11237 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11238 code.
11239
11240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11241 up changes with default code.
11242 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11243 Likewise.
11244
112452013-02-24 Allan McRae <allan@archlinux.org>
11246
11247 * manual/socket.texi (The Internet Namespace): Order menu items
11248 to match that in the file.
11249
11250 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11251 node listing of the info page menu.
11252
112532013-02-21 Joseph Myers <joseph@codesourcery.com>
11254
11255 [BZ #13550]
11256 * sysdeps/i386/bp-asm.h: Remove file.
11257 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11258 (PARMS): Do not use macros from bp-asm.h.
11259 (S1): Likewise.
11260 (S2): Likewise.
11261 (SIZE): Likewise.
11262 (__mpn_add_n): Do not use BP_SYM
11263 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11264 "bp-asm.h".
11265 (PARMS): Do not use macros from bp-asm.h.
11266 (S1): Likewise.
11267 (SIZE): Likewise.
11268 (__mpn_addmul_1): Do not use BP_SYM
11269 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11270 "bp-asm.h".
11271 (PARMS): Do not use macros from bp-asm.h.
11272 (SIGMSK): Likewise.
11273 (_setjmp): Likewise. Do not use BP_SYM.
11274 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11275 "bp-asm.h".
11276 (PARMS): Do not use macros from bp-asm.h.
11277 (SIGMSK): Likewise.
11278 (setjmp): Likewise. Do not use BP_SYM.
11279 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11280 "bp-asm.h".
11281 (PARMS): Do not use macros from bp-asm.h.
11282 (__frexp): Do not use BP_SYM.
11283 (frexp): Likewise.
11284 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11285 "bp-asm.h".
11286 (PARMS): Do not use macros from bp-asm.h.
11287 (__frexpf): Do not use BP_SYM.
11288 (frexpf): Likewise.
11289 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11290 "bp-asm.h".
11291 (PARMS): Do not use macros from bp-asm.h.
11292 (__frexpl): Do not use BP_SYM.
11293 (frexpl): Likewise.
11294 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11295 "bp-asm.h".
11296 (PARMS): Do not use macros from bp-asm.h.
11297 (__remquo): Do not use BP_SYM.
11298 (remquo): Likewise.
11299 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11300 "bp-asm.h".
11301 (PARMS): Do not use macros from bp-asm.h.
11302 (__remquof): Do not use BP_SYM.
11303 (remquof): Likewise.
11304 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11305 "bp-asm.h".
11306 (PARMS): Do not use macros from bp-asm.h.
11307 (__remquol): Do not use BP_SYM.
11308 (remquol): Likewise.
11309 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11310 "bp-asm.h".
11311 (PARMS): Do not use macros from bp-asm.h.
11312 (DEST): Likewise.
11313 (SRC): Likewise.
11314 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11315 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11316 "bp-asm.h".
11317 (PARMS): Do not use macros from bp-asm.h.
11318 (strlen): Do not use BP_SYM.
11319 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11320 "bp-asm.h".
11321 (PARMS): Do not use macros from bp-asm.h.
11322 (S1): Likewise.
11323 (S2): Likewise.
11324 (SIZE): Likewise.
11325 (__mpn_add_n): Do not use BP_SYM.
11326 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11327 "bp-asm.h".
11328 (PARMS): Do not use macros from bp-asm.h.
11329 (S1): Likewise.
11330 (SIZE): Likewise.
11331 (__mpn_addmul_1): Do not use BP_SYM.
11332 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11333 weak_alias.
11334 (bzero): Likewise.
11335 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11336 "bp-asm.h".
11337 (PARMS): Do not use macros from bp-asm.h.
11338 (S): Likewise.
11339 (SIZE): Likewise.
11340 (__mpn_lshift): Do not use BP_SYM.
11341 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11342 "bp-asm.h".
11343 (PARMS): Do not use macros from bp-asm.h.
11344 (DEST): Likewise.
11345 (SRC): Likewise.
11346 (LEN): Likewise.
11347 (memcpy): Likewise. Do not use BP_SYM.
11348 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11349 libc_hidden_def and weak_alias.
11350 (mempcpy): Do not use BP_SYM in weak_alias.
11351 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11352 "bp-asm.h".
11353 (PARMS): Do not use macros from bp-asm.h.
11354 (DEST): Likewise.
11355 (LEN): Likewise.
11356 [!BZERO_P] (CHR): Likewise.
11357 (memset): Likewise. Do not use BP_SYM.
11358 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11359 "bp-asm.h".
11360 (PARMS): Do not use macros from bp-asm.h.
11361 (S1): Likewise.
11362 (SIZE): Likewise.
11363 (__mpn_mul_1): Do not use BP_SYM.
11364 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11365 "bp-asm.h".
11366 (PARMS): Do not use macros from bp-asm.h.
11367 (S): Likewise.
11368 (SIZE): Likewise.
11369 (__mpn_rshift): Do not use BP_SYM.
11370 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11371 "bp-asm.h".
11372 (PARMS): Do not use macros from bp-asm.h.
11373 (STR): Likewise.
11374 (CHR): Likewise.
11375 (strchr): Likewise. Do not use BP_SYM.
11376 (index): Do not use BP_SYM in weak_alias.
11377 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11378 "bp-asm.h".
11379 (PARMS): Do not use macros from bp-asm.h.
11380 (DEST): Likewise.
11381 (SRC): Likewise.
11382 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11383 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11384 "bp-asm.h".
11385 (PARMS): Do not use macros from bp-asm.h.
11386 (strlen): Do not use BP_SYM.
11387 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11388 "bp-asm.h".
11389 (PARMS): Do not use macros from bp-asm.h.
11390 (S1): Likewise.
11391 (S2): Likewise.
11392 (SIZE): Likewise.
11393 (__mpn_sub_n): Do not use BP_SYM.
11394 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11395 "bp-asm.h".
11396 (PARMS): Do not use macros from bp-asm.h.
11397 (S1): Likewise.
11398 (SIZE): Likewise.
11399 (__mpn_submul_1): Do not use BP_SYM.
11400 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11401 "bp-asm.h".
11402 (PARMS): Do not use macros from bp-asm.h.
11403 (S1): Likewise.
11404 (S2): Likewise.
11405 (SIZE): Likewise.
11406 (__mpn_add_n): Do not use BP_SYM.
11407 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11408 weak_alias.
11409 (bzero): Likewise.
11410 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11411 "bp-asm.h".
11412 (PARMS): Do not use macros from bp-asm.h.
11413 (BLK2): Likewise.
11414 (LEN): Likewise.
11415 (memcmp): Do not use BP_SYM.
11416 (bcmp): Do not use BP_SYM in weak_alias.
11417 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11418 "bp-asm.h".
11419 (PARMS): Do not use macros from bp-asm.h.
11420 (DEST): Likewise.
11421 (SRC): Likewise.
11422 (LEN): Likewise.
11423 (memcpy): Likewise. Do not use BP_SYM.
11424 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11425 "bp-asm.h".
11426 (PARMS): Do not use macros from bp-asm.h.
11427 (DEST): Likewise.
11428 (SRC): Likewise.
11429 (LEN): Likewise.
11430 (memmove): Likewise. Do not use BP_SYM.
11431 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11432 "bp-asm.h".
11433 (PARMS): Do not use macros from bp-asm.h.
11434 (DEST): Likewise.
11435 (SRC): Likewise.
11436 (LEN): Likewise.
11437 (__mempcpy): Likewise. Do not use BP_SYM.
11438 (mempcpy): Do not use BP_SYM in weak_alias.
11439 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11440 "bp-asm.h".
11441 (PARMS): Do not use macros from bp-asm.h.
11442 (DEST): Likewise.
11443 (LEN): Likewise.
11444 [!BZERO_P] (CHR): Likewise.
11445 (memset): Likewise. Do not use BP_SYM.
11446 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11447 "bp-asm.h".
11448 (PARMS): Do not use macros from bp-asm.h.
11449 (STR2): Likewise.
11450 (strcmp): Do not use BP_SYM.
11451 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11452 "bp-asm.h".
11453 (PARMS): Do not use macros from bp-asm.h.
11454 (STR): Likewise.
11455 (DELIM): Likewise.
11456 [USE_AS_STRTOK_R] (SAVE): Likewise.
11457 (FUNCTION): Likewise. Do not use BP_SYM.
11458 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11459 aliases.
11460 (strtok_r): Likewise.
11461 (__GI___strtok_r): Likewise.
11462 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11463 (PARMS): Do not use macros from bp-asm.h.
11464 (S): Likewise.
11465 (SIZE): Likewise.
11466 (__mpn_lshift): Do not use BP_SYM.
11467 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11468 (PARMS): Do not use macros from bp-asm.h.
11469 (STR): Likewise.
11470 (CHR): Likewise.
11471 (__memchr): Do not use BP_SYM.
11472 (memchr): Do not use BP_SYM in weak_alias.
11473 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11474 (PARMS): Do not use macros from bp-asm.h.
11475 (BLK2): Likewise.
11476 (LEN): Likewise.
11477 (memcmp): Do not use BP_SYM.
11478 (bcmp): Do not use BP_SYM in weak_alias.
11479 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11480 (PARMS): Do not use macros from bp-asm.h.
11481 (S1): Likewise.
11482 (SIZE): Likewise.
11483 (__mpn_mul_1): Do not use BP_SYM.
11484 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11485 "bp-asm.h".
11486 (PARMS): Do not use macros from bp-asm.h.
11487 (STR): Likewise.
11488 (CHR): Likewise.
11489 (__rawmemchr): Do not use BP_SYM.
11490 (rawmemchr): Do not use BP_SYM in weak_alias.
11491 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11492 (PARMS): Do not use macros from bp-asm.h.
11493 (S): Likewise.
11494 (SIZE): Likewise.
11495 (__mpn_rshift): Do not use BP_SYM.
11496 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11497 (PARMS): Do not use macros from bp-asm.h.
11498 (SIGMSK): Likewise.
11499 (__sigsetjmp): Likewise. Do not use BP_SYM.
11500 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11501 (_start): Do not use BP_SYM.
11502 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11503 (PARMS): Do not use macros from bp-asm.h.
11504 (DEST): Likewise.
11505 (SRC): Likewise.
11506 (__stpcpy): Likewise. Do not use BP_SYM.
11507 (stpcpy): Do not use BP_SYM in weak_alias.
11508 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11509 "bp-asm.h".
11510 (PARMS): Do not use macros from bp-asm.h.
11511 (DEST): Likewise.
11512 (SRC): Likewise.
11513 (LEN): Likewise.
11514 (__stpncpy): Likewise. Do not use BP_SYM.
11515 (stpncpy): Do not use BP_SYM in weak_alias.
11516 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11517 (PARMS): Do not use macros from bp-asm.h.
11518 (STR): Likewise.
11519 (CHR): Likewise.
11520 (strchr): Likewise. Do not use BP_SYM.
11521 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11522 "bp-asm.h".
11523 (PARMS): Do not use macros from bp-asm.h.
11524 (STR): Likewise.
11525 (CHR): Likewise.
11526 (__strchrnul): Likewise. Do not use BP_SYM.
11527 (strchrnul): Do not use BP_SYM in weak_alias.
11528 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11529 "bp-asm.h".
11530 (PARMS): Do not use macros from bp-asm.h.
11531 (STOP): Likewise.
11532 (strcspn): Do not use BP_SYM.
11533 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11534 "bp-asm.h".
11535 (PARMS): Do not use macros from bp-asm.h.
11536 (STR): Likewise.
11537 (STOP): Likewise.
11538 (strpbrk): Likewise. Do not use BP_SYM.
11539 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11540 "bp-asm.h".
11541 (PARMS): Do not use macros from bp-asm.h.
11542 (STR): Likewise.
11543 (CHR): Likewise.
11544 (strrchr): Likewise. Do not use BP_SYM.
11545 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11546 (PARMS): Do not use macros from bp-asm.h.
11547 (SKIP): Likewise.
11548 (strspn): Do not use BP_SYM.
11549 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11550 (PARMS): Do not use macros from bp-asm.h.
11551 (STR): Likewise.
11552 (DELIM): Likewise.
11553 (SAVE): Likewise.
11554 (FUNCTION): Likewise. Do not use BP_SYM.
11555 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11556 aliases.
11557 (strtok_r): Likewise.
11558 (__GI___strtok_r): Likewise.
11559 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11560 (PARMS): Do not use macros from bp-asm.h.
11561 (S1): Likewise.
11562 (S2): Likewise.
11563 (SIZE): Likewise.
11564 (__mpn_sub_n): Do not use BP_SYM.
11565 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11566 "bp-asm.h".
11567 (PARMS): Do not use macros from bp-asm.h.
11568 (S1): Likewise.
11569 (SIZE): Likewise.
11570 (__mpn_submul_1): Do not use BP_SYM.
11571 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11572 <bp-sym.h>.
11573 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11574 and <bp-asm.h>.
11575 (PARMS): Do not use macros from bp-asm.h.
11576 (FLAGS): Likewise.
11577 (PTID): Likewise.
11578 (TLS): Likewise.
11579 (CTID): Likewise.
11580 (__clone): Do not use BP_SYM.
11581 (clone): Do not use BP_SYM in weak_alias.
11582 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11583 and <bp-asm.h>.
11584 (PARMS): Do not use macros from bp-asm.h.
11585 (LEN): Likewise.
11586 (__mmap64): Do not use BP_SYM.
11587 (mmap64): Do not use BP_SYM in weak_alias.
11588 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11589 <bp-sym.h> and <bp-asm.h>.
11590 (PARMS): Do not use macros from bp-asm.h.
11591 (__posix_fadvise64_l64): Do not use BP_SYM.
11592 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11593 (PARMS): Do not use macros from bp-asm.h.
11594 (NSOPS): Likewise.
11595 (semtimedop): Do not use BP_SYM.
11596 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11597 and <bp-asm.h>.
11598
115992013-02-21 Allan McRae <allan@archlinux.org>
11600
11601 * manual/message.texi (Charset conversion in gettext):
11602 Move @end statement to beginning of line.
11603
116042013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11605
11606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11607 static.
11608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11609 Likewise.
11610
11611 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11612 (denorm): Likewise.
11613 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11614 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11615
116162013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11617
11618 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11619 tail-call to the resolved function if pltexit isn't needed.
11620
116212013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11622
11623 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11624 or Y being zero as being unlikely.
11625 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11626 Likewise.
11627
116282013-02-20 Carlos O'Donell <carlos@redhat.com>
11629
11630 * manual/nss.texi (System Databases and Name Service Switch):
11631 Remove frobnicate @pxref.
11632
116332013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11634
11635 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11636 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11637
116382013-02-20 Petr Machata <pmachata@redhat.com>
11639
11640 * elf/elf.h (R_ARM_TARGET1): New macro.
11641 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11642 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11643 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11644 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11645 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11646 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11647 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11648 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11649 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11650 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11651 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11652 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11653 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11654 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11655 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11656 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11657 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11658 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11659 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11660 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11661 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11662 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11663 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11664 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11665 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11666 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11667 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11668 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11669 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11670 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11671 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11672 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11673 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11674 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11675 (R_ARM_THM_GOT_BREL12): Likewise.
11676 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11677 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11678 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11679 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11680 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11681 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11682 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11683 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11684 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11685
116862013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11687
11688 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11689 __attribute_used__ to __attribute__ ((unused)).
11690
116912013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11692
11693 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11694 powerpc mpa.c.
11695 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11696 comment formatting.
11697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11698
116992013-02-19 Joseph Myers <joseph@codesourcery.com>
11700
11701 [BZ #13550]
11702 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11703 Remove macro.
11704 (ENTER): Remove both macro definitions.
11705 (LEAVE): Likewise.
11706 (CHECK_BOUNDS_LOW): Likewise.
11707 (CHECK_BOUNDS_HIGH): Likewise.
11708 (CHECK_BOUNDS_BOTH): Likewise.
11709 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11710 (RETURN_BOUNDED_POINTER): Likewise.
11711 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11712 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11713 (POP_ERRNO_LOCATION_RETURN): Likewise.
11714 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11715 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11716 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11717 macros.
11718 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11719 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11720 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11721 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11722 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11723 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11724 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11725 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11726 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11727 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11728 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11729 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11730 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11731 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11732 removed macros.
11733 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11734 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11735 macros.
11736 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11737 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11738 * sysdeps/i386/i586/memset.S (memset): Likewise.
11739 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11740 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11741 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11742 macros.
11743 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11744 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11745 Change uses of L(2) to L(out).
11746 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11747 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11748 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11749 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11750 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11751 removed macros.
11752 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11753 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11754 macros.
11755 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11756 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11757 (RETURN): Do not use macro LEAVE.
11758 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11759 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11760 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11761 * sysdeps/i386/i686/memset.S (memset): Likewise.
11762 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11763 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11764 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11765 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11766 Likewise.
11767 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11768 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11769 L(1_2) and L(1_3) into L(1).
11770 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11771 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11772 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11773 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11774 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11775 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11776 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11777 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11778 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11779 macros.
11780 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11781 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11782 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11783 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11784 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11785 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11786 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11787 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11788 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11789 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11790 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11791 * sysdeps/i386/strspn.S (strspn): Likewise.
11792 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11793 conditional code.
11794 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11795 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11796 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11797 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11798 L(1_3) into L(1_1).
11799 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11800 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11801 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11802 macros.
11803 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11804
118052013-02-19 Jakub Jelinek <jakub@redhat.com>
11806
11807 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11808 macro.
11809
118102013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11811
11812 * math/atest-exp.c (exp_mpn): Remove ROUND.
11813 * math/atest-exp2.c (exp_mpn): Likewise.
11814 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11815
11816 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11817 * stdlib/tst-tls-atexit-lib.c: Likewise.
11818 * stdlib/tst-tls-atexit.c: Likewise.
11819
118202013-02-18 Mike Frysinger <vapier@gentoo.org>
11821
11822 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11823 and __attribute_alloc_size__.
11824
118252013-02-18 Mike Frysinger <vapier@gentoo.org>
11826
11827 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11828 __attribute_alloc_size__.
11829 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11830 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11831
118322013-02-18 Mike Frysinger <vapier@gentoo.org>
11833
11834 * include/programs/xmalloc.h: New file.
11835 * catgets/gencat.c: Include it.
11836 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11837 * elf/pldd.c: Likewise.
11838 * iconv/iconv_charmap.c: Likewise.
11839 * iconv/iconvconfig.c: Likewise.
11840 * iconv/strtab.c: Likewise.
11841 * locale/programs/locale.c: Likewise.
11842 * locale/programs/localedef.h: Likewise.
11843 * locale/programs/simple-hash.c: Likewise.
11844 * nscd/nscd.h: Likewise.
11845 * nss/makedb.c: Likewise.
11846 * sysdeps/generic/ldconfig.h: Likewise.
11847
118482013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11849
11850 * Versions.def: Add GLIBC_2.18.
11851 * include/link.h (struct link_map): New member l_tls_dtor_count.
11852 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11853 (__call_tls_dtors): Likewise.
11854 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11855 __cxa_thread_atexit_impl.
11856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11857 Likewise.
11858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11859 Likewise.
11860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11861 Likewise.
11862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11863 Likewise.
11864 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11865 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11866 Likewise.
11867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11868 Likewise.
11869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11871 Likewise.
11872 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11873 (tests): Add test case tst-tls-atexit.
11874 (modules-names): Add shared library for tst-tls-atexit.
11875 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
11876 (GLIBC_PRIVATE): Add __call_tls_dtors.
11877 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11878 for libstdc++.
11879 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11880 * stdlib/tst-tls-atexit.c: New test case.
11881 * stdlib/tst-tls-atexit-lib.c: New test case.
11882
11883 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
11884
11885 * elf/Versions (ld): Add _dl_find_dso_for_object.
11886 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11887 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11888 (dl_open_worker): Use _dl_find_dso_for_object.
11889 * elf/dl-sym.c (do_sym): Likewise.
11890 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11891
118922013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11893
11894 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11895 Syntactic changes only.
11896 (_dl_runtime_profile): Do a tail-call to the resolved function.
11897
118982013-02-17 Joseph Myers <joseph@codesourcery.com>
11899
11900 [BZ #13550]
11901 * sysdeps/x86_64/bp-asm.h: Remove file.
11902 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11903 <bp-sym.h> and <bp-asm.h>.
11904 (__clone): Do not use BP_SYM.
11905 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11906 <bp-sym.h> and <bp-asm.h>.
11907 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11908 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11909 "bp-asm.h".
11910 (_setjmp): Do not use BP_SYM.
11911 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11912 "bp-asm.h".
11913 (setjmp): Do not use BP_SYM.
11914 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11915 libc_hidden_def.
11916 (mempcpy): Do not use BP_SYM in weak_alias.
11917 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11918 "bp-asm.h".
11919 (strchr): Do not use BP_SYM.
11920 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11921 "bp-asm.h".
11922 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11923 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11924 (_start): Do not use BP_SYM.
11925 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11926 "bp-asm.h".
11927 (strcat): Do not use BP_SYM.
11928 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11929 "bp-asm.h".
11930 (STRCMP): Do not use BP_SYM.
11931 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11932 "bp-asm.h".
11933 (STRCPY): Do not use BP_SYM.
11934 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11935 "bp-asm.h".
11936 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11937 "bp-asm.h".
11938 (FUNCTION): Do not use BP_SYM.
11939 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11940 weak_alias.
11941 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11942
119432013-02-17 Andreas Jaeger <aj@suse.de>
11944
11945 * time/Versions: Sort entries.
11946 * string/Versions: Likewise.
11947 * resolv/Versions: Likewise.
11948 * posix/Versions: Likewise.
11949 * iconv/Versions: Likewise.
11950 * elf/Versions: Likewise.
11951 * wcsmbs/Versions: Likewise.
11952
119532013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11954
11955 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11956 loop termination condition.
11957
11958 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11959 variable to calculate EZ.
11960 (__sqr): Likewise.
11961
11962 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11963 the lower precision input.
11964
119652013-02-15 Joseph Myers <joseph@codesourcery.com>
11966
11967 [BZ #13550]
11968 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11969 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11970 (run-via-rtld-prefix): Do not handle %-bp tests.
11971 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11972 (all-object-suffixes): Remove .ob.
11973 (bppfx): Remove variable.
11974 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11975 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11976 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11977 [$(build-bounded) = yes] (libtype.ob): Likewise.
11978 * Makerules (elide-routines.ob): Remove variable.
11979 (do-tests-clean): Do not handle *-bp.out.
11980 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11981 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11982 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11983 (tests): Do not include $(tests-bp.out).
11984 (xtests): Do not include $(xtests-bp.out).
11985 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11986 [$(build-bounded) = yes] ($(addprefix
11987 $(objpfx),$(binaries-bounded))): Remove rule.
11988 ($(objpfx)%-bp.out): Remove rule.
11989 * config.make.in (build-bounded): Remove variable.
11990 * crypt/Makefile [$(build-bounded) = yes]
11991 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11992 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11993 append to variable.
11994 [$(build-bounded) = yes] (install-lib): Likewise.
11995 [$(build-bounded) = yes] (generated): Likewise.
11996 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11997 Remove rule.
11998 * intl/Makefile [$(build-bounded) = yes]
11999 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12000 * math/Makefile [$(build-bounded) = yes]
12001 ($(tests:%=$(objpfx)%-bp): Likewise.
12002 * misc/Makefile [$(build-bounded) = yes]
12003 ($(objpfx)tst-tsearch-bp): Likewise.
12004 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12005 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12006 Remove dependency.
12007 * string/Makefile (o-objects.ob): Remove variable.
12008 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12009 (CFLAGS-.ob): Remove variable.
12010 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12011 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12012 both definitions of variable.
12013 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12014 (ASFLAGS-.ob): Remove variable.
12015
120162013-02-14 Joseph Myers <joseph@codesourcery.com>
12017
12018 [BZ #13550]
12019 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12020 Remove __BOUNDED_POINTERS__ from condition.
12021 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12022 * string/bits/string2.h [!__NO_STRING_INLINES &&
12023 !__BOUNDED_POINTERS__]: Likewise.
12024 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12025 Likewise.
12026 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12027 Remove conditional code.
12028 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12029 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12030 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12031 condition.
12032
12033 [BZ #13550]
12034 * csu/libc-start.c: Do not include <bp-sym.h>.
12035 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12036 * elf/dl-open.c: Do not include <bp-sym.h>.
12037 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12038 * math/fegetenv.c: Do not include <bp-sym.h>.
12039 (fegetenv): Do not use BP_SYM in versioned symbols.
12040 * nptl/sysdeps/pthread/bits/libc-lockP.h
12041 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12042 <bp-sym.h>.
12043 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12044 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12046 (__pthread_mutex_destroy): Likewise.
12047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12048 (__pthread_mutex_lock): Likewise.
12049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12050 (__pthread_mutex_trylock): Likewise.
12051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12052 (__pthread_mutex_unlock): Likewise.
12053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12054 (__pthread_mutexattr_init): Likewise.
12055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12056 (__pthread_mutexattr_destroy): Likewise.
12057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12058 (__pthread_mutexattr_settype): Likewise.
12059 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12060 (__pthread_rwlock_init): Likewise.
12061 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12062 (__pthread_rwlock_destroy): Likewise.
12063 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12064 (__pthread_rwlock_rdlock): Likewise.
12065 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12066 (__pthread_rwlock_tryrdlock): Likewise.
12067 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12068 (__pthread_rwlock_wrlock): Likewise.
12069 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12070 (__pthread_rwlock_trywrlock): Likewise.
12071 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12072 (__pthread_rwlock_unlock): Likewise.
12073 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12074 (__pthread_key_create): Likewise.
12075 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12076 (__pthread_setspecific): Likewise.
12077 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12078 (__pthread_getspecific): Likewise.
12079 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12080 Likewise.
12081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12082 (_pthread_cleanup_push_defer): Likewise.
12083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12084 (_pthread_cleanup_pop_restore): Likewise.
12085 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12086 (pthread_setcancelstate): Likewise.
12087 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12088 <bp-sym.h>.
12089 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12090 (memchr): Do not use BP_SYM in weak_alias.
12091 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12092 (fegetenv): Do not use BP_SYM in versioned symbols.
12093 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12094 (fesetenv): Do not use BP_SYM in versioned symbols.
12095 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12096 (feupdateenv): Do not use BP_SYM in versioned symbols.
12097 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12098 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12099 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12100 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12101 (open64): Do not use BP_SYM in weak_alias.
12102 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12103 (fegetenv): Do not use BP_SYM in versioned symbols.
12104 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12105 (fesetenv): Do not use BP_SYM in versioned symbols.
12106 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12107 (feupdateenv): Do not use BP_SYM in versioned symbols.
12108 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12109 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12110 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12111 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12112 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12113 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12114 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12115 <bp-sym.h>.
12116 (__libc_start_main): Do not use BP_SYM.
12117
121182013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12119
12120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12121 redundant return line.
12122 (norm): Likewise.
12123 (denorm): Likewise.
12124 (dbl_mp): Likewise.
12125 (sub_magnitudes): Likewise.
12126 (__add): Likewise.
12127 (__sub): Likewise.
12128 (__mul): Likewise.
12129 (__inv): Likewise.
12130 (__dvd): Likewise.
12131 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12132 (norm): Likewise.
12133 (denorm): Likewise.
12134 (dbl_mp): Likewise.
12135 (sub_magnitudes): Likewise.
12136 (__add): Likewise.
12137 (__sub): Likewise.
12138 (__mul): Likewise.
12139 (__inv): Likewise.
12140 (__dvd): Likewise.
12141
12142 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12143 instead of __mul.
12144 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12145 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12146 (cc32): Likewise.
12147
12148 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12149 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12150 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12151 of __mul for squares.
12152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12153 function
12154 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12155 Likewise.
12156 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12157 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12158
121592013-02-13 Joseph Myers <joseph@codesourcery.com>
12160
12161 [BZ #13550]
12162 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12163 code.
12164 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12165 prototype or function definition. Rename ubp_* variables and
12166 parameters. Remove argv definitions conditional on
12167 [__BOUNDED_POINTERS__].
12168 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12169 * elf/dl-runtime.c (_dl_fixup): Likewise.
12170 * include/set-hooks.h (RUN_HOOK): Likewise.
12171 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12172 definition.
12173 * string/strcpy.c (strcpy): Do not use __unbounded.
12174 * sysdeps/generic/frame.h (struct layout): Likewise.
12175 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12176 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12177 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12178 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12179 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12180 (__backtrace): Likewise.
12181 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12182 use __ptrvalue.
12183 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12184 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12185 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12186 Likewise.
12187 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12188 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12189 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12190 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12191 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12192 Do not use __unbounded.
12193 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12194 Rename __unboundedrlimits parameter to rlimits in prototype.
12195 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12196 Do not use __unbounded.
12197 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12198 not use __ptrvalue.
12199 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12200 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12201 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12202 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12203 __ptrvalue or __unbounded.
12204 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12205 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12206 use __unbounded.
12207 (__new_msgctl): Do not use __ptrvalue.
12208 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12209 __unbounded.
12210 (__libc_msgrcv): Do not use __ptrvalue.
12211 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12212 startup_info): Do not use __unbounded.
12213 (__libc_start_main): Likewise. Rename ubp_* variables and
12214 parameters. Remove argv definitions conditional on
12215 [__BOUNDED_POINTERS__].
12216 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12217 __ptrvalue.
12218 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12219 use __unbounded.
12220 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12221 or __ptrvalue.
12222 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12223 use __unbounded.
12224 (__new_shmctl): Do not use __ptrvalue.
12225 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12226 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12227 Likewise.
12228 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12229 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12230 (__libc_sigaction): Likewise.
12231 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12232 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12233 Likewise.
12234 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12235
122362013-02-13 Ondřej Bílka <neleai@seznam.cz>
12237
12238 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12239
12240 * string/mempcpy.c: Implement by calling memcpy.
12241
122422013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12243
12244 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12245
12246 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12247 evaluation.
12248
12249 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12250 values in the mantissa.
12251
12252 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12253 minimize writes to Z.
12254 (sub_magnitudes): Simplify code a bit.
12255
122562013-02-12 Roland McGrath <roland@hack.frob.com>
12257
12258 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12259 from the message. The linker prefixes all warnings with that already.
12260
122612013-02-12 Andreas Schwab <schwab@suse.de>
12262
12263 [BZ #15078]
12264 * posix/regexec.c (extend_buffers): Add parameter min_len.
12265 (check_matching): Pass minimum needed length.
12266 (clean_state_log_if_needed): Likewise.
12267 (get_subexp): Likewise.
12268 * posix/Makefile (tests): Add bug-regex34.
12269 (bug-regex34-ENV): Define.
12270 * posix/bug-regex34.c: New file.
12271
12272 [BZ #11561]
12273 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12274 elements compare against the byte sequence of it, not its name.
12275 * posix/Makefile (tests): Add bug-regex35.
12276 (bug-regex35-ENV): Define.
12277 * posix/bug-regex35.c: New file.
12278
122792013-02-11 Tom de Vries <tom@codesourcery.com>
12280
12281 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12282 comment.
12283 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12284 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12285 (CHECK_EOL): Add undef.
12286
122872013-02-11 Ondřej Bílka <neleai@seznam.cz>
12288
12289 * bits/stdlib-bsearch.h: New file.
12290 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12291 * stdlib/stdlib.h: Likewise.
12292
122932013-02-11 Roland McGrath <roland@hack.frob.com>
12294
12295 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12296 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12297 declaration.
12298 * manual/search.texi (Array Search Function): Add missing const in
12299 lfind prototype.
12300 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12301 declaration to use rlim_t.
12302 (Basic Scheduling Functions): Remove erroneous const from
12303 sched_getparam prototype. Remove erroneous * from
12304 sched_get_priority_max and sched_get_priority_min prototypes.
12305 (Resource Usage): Fix summary @comment on vtimes to refer to
12306 sys/vtimes.h rather than vtimes.h.
12307 Add missing *s in vtimes prototype.
12308 (Limits on Resources): Fix ulimit prototype to return long int.
12309 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12310 prototypes to use long int rather than double.
12311 (BSD Random): Fix initstate and setstate to use char *, not void *.
12312 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12313 prototype to make second argument 'struct aiocb64 *const[]'.
12314 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12315 (Status of AIO Operations): Remove erroneous const in aio_return and
12316 aio_return64 prototypes.
12317 (Synchronizing I/O): Fix sync prototype to return void.
12318 * manual/startup.texi (Suboptions): Remove an erroneous const in
12319 getsubopt prototype.
12320 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12321 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12322 use size_t rather than int.
12323 (Scanning All Users): Likewise for getpwent_r.
12324 (Setting Groups): Add missing const to setgroups prototype.
12325 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12326 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12327 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12328 'const void *' rather than 'const char *'.
12329 (Host Address Functions): Likewise for inet_ntop.
12330 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12331 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12332 ssize_t for return value.
12333 (Sending Data): Likewise for send, sendto, sendmsg.
12334 (Socket Option Functions): Add a missing const in setsockopt prototype.
12335 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12336 use wchar_t for the argument.
12337 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12338 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12339 take no arguments.
12340 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12341 double/float/long double for second argument.
12342 Fix return types of significand, significandf, significandl.
12343 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12344 argument in fchmod prototype.
12345 (File Owner): Use uid_t and gid_t in fchown prototype.
12346 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12347 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12348 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12349 use 'const struct dirent **' as argument types to CMP function pointer
12350 argument.
12351 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12352 (File Times): Fix summary magic @comment for struct utimbuf and utime
12353 to refer to utime.h, not time.h.
12354 * manual/string.texi (Argz Functions): Add missing const in
12355 argz_extract and argz_next prototypes.
12356 (Finding Tokens in a String): Likewise for basename.
12357 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12358 (Copying and Concatenation): Fix typo in wmemmove prototype.
12359 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12360 (Signal Stack): Remove erroneous const in sigstack prototype.
12361 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12362 prototype.
12363 (Simple Calendar Time): Likewise for stime.
12364 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12365 prototype.
12366 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12367 say sys/sysctl.h instead.
12368 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12369 and vsyslog prototypes.
12370
123712013-02-11 Tom de Vries <tom@codesourcery.com>
12372
12373 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12374 Remove.
12375
123762013-02-11 Roland McGrath <roland@hack.frob.com>
12377
12378 * misc/sys/mman.h: Fix typo in mremap comment.
12379
123802013-02-08 Roland McGrath <roland@hack.frob.com>
12381
12382 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12383 the '\0' terminator.
12384
123852013-02-08 Joseph Myers <joseph@codesourcery.com>
12386
12387 [BZ #13550]
12388 * debug/segfault.c: Don't include <bp-checks.h>.
12389 * sysdeps/generic/bp-checks.h: Remove file.
12390 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12391 (__GETDENTS): Don't use CHECK_N.
12392 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12393 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12394 (__getgroups): Don't use CHECK_N.
12395 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12396 (setgroups): Don't use CHECK_N.
12397 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12398 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12399 (__libc_msgrcv): Don't use CHECK_N.
12400 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12401 (__libc_msgsnd): Don't use CHECK_N.
12402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12403 <bp-checks.h>.
12404 (__libc_pread): Don't use CHECK_N.
12405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12406 include <bp-checks.h>.
12407 (__libc_pread64): Don't use CHECK_N.
12408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12409 include <bp-checks.h>.
12410 (__libc_pwrite): Don't use CHECK_N.
12411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12412 include <bp-checks.h>.
12413 (__libc_pwrite64): Don't use CHECK_N.
12414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12415 <bp-checks.h>.
12416 (__libc_pread): Don't use CHECK_N.
12417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12418 include <bp-checks.h>.
12419 (__libc_pread64): Don't use CHECK_N.
12420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12421 include <bp-checks.h>.
12422 (__libc_pwrite): Don't use CHECK_N.
12423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12424 include <bp-checks.h>.
12425 (__libc_pwrite64): Don't use CHECK_N.
12426 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12427 (do_pread): Don't use CHECK_N.
12428 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12429 (do_pread64): Don't use CHECK_N.
12430 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12431 (do_pwrite): Don't use CHECK_N.
12432 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12433 (do_pwrite64): Don't use CHECK_N.
12434 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12435 (__libc_readv): Don't use CHECK_N.
12436 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12437 (semop): Don't use CHECK_N.
12438 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12439 <bp-checks.h>.
12440 (semtimedop): Don't use CHECK_N.
12441 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12442 (__libc_pread): Don't use CHECK_N.
12443 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12444 <bp-checks.h>.
12445 (__libc_pread64): Don't use CHECK_N.
12446 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12447 <bp-checks.h>.
12448 (__libc_pwrite): Don't use CHECK_N.
12449 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12450 <bp-checks.h>.
12451 (__libc_pwrite64): Don't use CHECK_N.
12452 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12453 <bp-checks.h>.
12454 (__libc_msgrcv): Don't use CHECK_N.
12455 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12456 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12457 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12458 (__libc_writev): Don't use CHECK_N.
12459
124602013-02-08 Roland McGrath <roland@hack.frob.com>
12461
12462 * string/strcpy.c: Removed unused variable.
12463
12464 * Makeconfig (+sysdep-includes): Define with := rather than =.
12465 Use an existing include/ subdir of each sysdeps dir before it.
12466
124672013-02-08 Carlos O'Donell <carlos@redhat.com>
12468
12469 * nscd/connection.c (register_traced_file): Comment function.
12470 [HAVE_INOTIFY] (union __inev): Define.
12471 [HAVE_INOTIFY] (inotify_check_files): New function.
12472 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12473 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12474 clear_db_cache.
12475 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12476
124772013-02-08 Carlos O'Donell <carlos@redhat.com>
12478
12479 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12480 loaded if not already and that a failure is permanent.
12481
124822013-02-08 Carlos O'Donell <carlos@redhat.com>
12483
12484 [BZ #15006]
12485 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12486 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12487
124882013-02-08 Joseph Myers <joseph@codesourcery.com>
12489
12490 [BZ #13550]
12491 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12492 (CHECK_1_NULL_OK): Likewise.
12493 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12494 (__fxstat): Do not use CHECK_1.
12495 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12496 <bp-checks.h>.
12497 (___fxstat64): Do not use CHECK_1.
12498 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12499 <bp-checks.h>.
12500 (__fxstatat): Do not use CHECK_1.
12501 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12502 <bp-checks.h>.
12503 (__fxstatat64): Do not use CHECK_1.
12504 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12505 <bp-checks.h>.
12506 (__fxstat): Do not use CHECK_1.
12507 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12508 <bp-checks.h>.
12509 (__fxstatat): Do not use CHECK_1.
12510 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12511 <bp-checks.h>.
12512 (__getresgid): Do not use CHECK_1.
12513 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12514 <bp-checks.h>.
12515 (__getresuid): Do not use CHECK_1.
12516 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12517 <bp-checks.h>.
12518 (__lxstat): Do not use CHECK_1.
12519 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12520 <bp-checks.h>.
12521 (__old_msgctl): Do not use CHECK_1.
12522 (__new_msgctl): Likewise.
12523 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12524 <bp-checks.h>.
12525 (__new_setrlimit): Do not use CHECK_1.
12526 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12527 <bp-checks.h>.
12528 (__old_shmctl): Do not use CHECK_1.
12529 (__new_shmctl): Likewise.
12530 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12531 <bp-checks.h>.
12532 (__xstat): Do not use CHECK_1.
12533 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12534 (__lxstat): Do not use CHECK_1.
12535 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12536 <bp-checks.h>.
12537 (___lxstat64): Do not use CHECK_1.
12538 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12539 (__old_msgctl): Do not use CHECK_1.
12540 (__new_msgctl): Likewise.
12541 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12542 <bp-checks.h>.
12543 (__gettimeofday): Do not use CHECK_1.
12544 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12545 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12546 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12547 <bp-checks.h>.
12548 (__gettimeofday): Do not use CHECK_1.
12549 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12550 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12551 (__new_shmctl): Do not use CHECK_1.
12552 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12553 <bp-checks.h>.
12554 (do_sigtimedwait): Do not use CHECK_1.
12555 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12556 <bp-checks.h>.
12557 (do_sigwaitinfo): Do not use CHECK_1.
12558 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12559 <bp-checks.h>.
12560 (msgctl): Do not use CHECK_1.
12561 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12562 <bp-checks.h>.
12563 (shmctl): Do not use CHECK_1.
12564 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12565 (ustat): Do not use CHECK_1.
12566 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12567 <bp-checks.h>.
12568 (__fxstat): Do not use CHECK_1.
12569 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12570 <bp-checks.h>.
12571 (__fxstatat): Do not use CHECK_1.
12572 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12573 <bp-checks.h>.
12574 (__lxstat): Do not use CHECK_1.
12575 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12576 <bp-checks.h>.
12577 (__xstat): Do not use CHECK_1.
12578 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12579 (__xstat): Do not use CHECK_1.
12580 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12581 (___xstat64): Do not use CHECK_1.
12582
12583 [BZ #13550]
12584 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12585 definitions.
12586 (CHECK_BOUNDS_HIGH): Likewise.
12587 * string/strcpy.c: Do not include <bp-checks.h>.
12588 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12589
125902013-02-07 Roland McGrath <roland@hack.frob.com>
12591
12592 * nscd/nscd-client.h (__nscd_drop_map_ref):
12593 Add __attribute__ ((unused)).
12594 * nis/nss-nisplus.h (niserr2nss): Likewise.
12595
12596 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12597 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12598
12599 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12600 Remove inline keyword.
12601 * include/rounding-mode.h (round_away): Likewise.
12602 * libio/wfileops.c (adjust_wide_data): Likewise.
12603 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12604 (__m128i_strloadu_tolower): Likewise.
12605 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12606 (__m128i_strloadu_tolower): Likewise.
12607 * time/mktime.c (ydhms_diff): Likewise.
12608 * locale/elem-hash.h (elem_hash): Likewise.
12609 * locale/setlocale.c (setdata): Likewise.
12610 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12611 (re_string_wchar_at): Likewise.
12612 (bitset_not, bitset_merge, bitset_mask): Likewise.
12613 [!(__GNUC__ > 3)] (inline): Remove macro.
12614 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12615 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12616 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12617 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12618 * string/memcmp.c (memcmp_bytes): Likewise.
12619 * locale/programs/locarchive.c (compute_hashval): Likewise.
12620 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12621 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12622 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12623 * nss/getent.c (print_rpc, print_protocols): Likewise.
12624 (print_passwd, print_group, print_aliases): Likewise.
12625 * nis/nss-nisplus.h (niserr2nss): Likewise.
12626 * nscd/connections.c (restart_p): Likewise.
12627 Change return type to bool.
12628
126292013-02-05 Roland McGrath <roland@hack.frob.com>
12630
12631 * Makeconfig (all-Depend-files): Add existing
12632 $(sorted-subdirs:=/Depend) files.
12633 (all-subdirs): Remove nss.
12634 * sysdeps/unix/inet/Subdirs: Add it here instead.
12635 * hesiod/Depend: New file.
12636
12637 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12638 instead of calling alloca.
12639
12640 * io/lseek.c (__lseek): Rename to __libc_lseek.
12641 Define __lseek as an alias.
12642
12643 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12644
126452013-02-04 Carlos O'Donell <carlos@redhat.com>
12646
12647 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12648 else clause and remove check for non-standard endianness.
12649
126502013-02-04 David S. Miller <davem@davemloft.net>
12651
12652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12653
126542013-02-04 Joseph Myers <joseph@codesourcery.com>
12655
12656 [BZ #13550]
12657 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12658 (__ubp_memchr): Remove prototype.
12659 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12660 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12661 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12662 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12663 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12664 Remove alias.
12665 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12666 (__ubp_memchr): Likewise.
12667 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12668 (__ubp_memchr): Likewise.
12669 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12670 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12671 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12672 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12673 CHECK_STRING.
12674 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12675 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12676 (__getcwd): Do not use CHECK_STRING.
12677 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12678 <bp-checks.h>.
12679 (__real_chown): Do not use CHECK_STRING.
12680 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12681 <bp-checks.h>.
12682 (fchownat): Do not use CHECK_STRING.
12683 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12684 CHECK_STRING.
12685 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12686 <bp-checks.h>.
12687 (__lchown): Do not use CHECK_STRING.
12688 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12689 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12690 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12691 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12693 include <bp-checks.h>.
12694 (truncate64): Do not use CHECK_STRING.
12695 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12696 <bp-checks.h>.
12697 (__real_chown): Do not use CHECK_STRING.
12698 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12699 <bp-checks.h>.
12700 (__lchown): Do not use CHECK_STRING.
12701 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12702 <bp-checks.h>.
12703 (__chown): Do not use CHECK_STRING.
12704 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12705 <bp-checks.h>.
12706 (truncate64): Do not use CHECK_STRING.
12707 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12708 Likewise.
12709 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12710 (__xmknod): Do not use CHECK_STRING.
12711 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12712 <bp-checks.h>.
12713 (__xmknodat): Do not use CHECK_STRING.
12714 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12715 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12716
127172013-02-04 Andreas Schwab <schwab@suse.de>
12718
12719 [BZ #14142]
12720 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12721 * include/netdb.h: Likewise for h_errno.
12722 * elf/tst-stackguard1.c: Include <tls.h>.
12723
127242013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12725
12726 * elf/link.h (struct link_map): Extend the l_addr comment.
12727 * include/link.h (struct link_map): Likewise.
12728
127292013-02-01 Joseph Myers <joseph@codesourcery.com>
12730
12731 [BZ #13550]
12732 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12733 (BOUNDED_1): Remove macro.
12734 * debug/backtrace.c: Don't include <bp-checks.h>.
12735 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12736 (__backtrace): Likewise.
12737 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12738 <bp-checks.h>.
12739 (__backtrace): Don't use BOUNDED_1.
12740 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12741 <bp-checks.h>.
12742 (__backtrace): Don't use BOUNDED_1.
12743 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12744 (__backtrace): Don't use BOUNDED_1.
12745 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12746 (shmat): Don't use BOUNDED_N.
12747
127482013-01-31 Joseph Myers <joseph@codesourcery.com>
12749
12750 [BZ #13550]
12751 * sysdeps/generic/bp-start.h: Remove file.
12752 * csu/libc-start.c: Don't include <bp-start.h>.
12753 (LIBC_START_MAIN): Set up __environ directly instead of using
12754 INIT_ARGV_and_ENVIRON.
12755 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12756 <bp-start.h>.
12757
12758 [BZ #13550]
12759 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12760 definitions.
12761 (CHECK_FCNTL): Likewise.
12762 (CHECK_N_PAGES): Likewise.
12763
12764 [BZ #13550]
12765 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12766 definitions.
12767 (CHECK_SIGSET_NULL_OK): Likewise.
12768 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12769 <bp-checks.h>.
12770 (sigpending): Don't use CHECK_SIGSET.
12771 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12772 <bp-checks.h>.
12773 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12774 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12775 <bp-checks.h>.
12776 (do_sigsuspend): Don't use CHECK_SIGSET.
12777 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12778 use CHECK_SIGSET.
12779 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12780 (do_sigwait): Don't use CHECK_SIGSET.
12781 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12782 use CHECK_SIGSET.
12783 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12784 include <bp-checks.h>.
12785 (sigpending): Don't use CHECK_SIGSET.
12786 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12787 include <bp-checks.h>.
12788 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12789 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12790 <bp-checks.h>.
12791 (sigpending): Don't use CHECK_SIGSET.
12792 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12793 <bp-checks.h>.
12794 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12795
12796 [BZ #13550]
12797 * sysdeps/generic/bp-semctl.h: Remove file.
12798 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12799 <bp-checks.h> and <bp-semctl.h>.
12800 (__old_semctl): Don't use CHECK_SEMCTL.
12801 (__new_semctl): Likewise.
12802 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12803 and <bp-semctl.h>.
12804 (__old_semctl): Don't use CHECK_SEMCTL.
12805 (__new_semctl): Likewise.
12806 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12807 <bp-checks.h> and <bp-semctl.h>.
12808 (__old_semctl): Don't use CHECK_SEMCTL.
12809 (__new_semctl): Likewise.
12810 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12811 <bp-checks.h> and <bp-semctl.h>.
12812 (semctl): Don't use CHECK_SEMCTL.
12813
12814 [BZ #13550]
12815 * Makerules (elide-bp-thunks): Remove variable.
12816 (elide-routines.oS): Don't use $(elide-bp-thunks).
12817 (elide-routines.os): Likewise.
12818 (elide-routines.o): Likewise.
12819 (elide-routines.op): Likewise.
12820 (elide-routines.og): Likewise.
12821 (objects): Don't use $(bp-thunks).
12822 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12823 include.
12824 (common-generated): Do not add s-proto-bp.d.
12825 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12826 (int): Likewise.
12827 (typ): Likewise.
12828 Do not generate makefile rules for bounded-pointer thunks.
12829 * sysdeps/generic/bp-thunks.h: Remove file.
12830 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12831 * sysdeps/unix/s-proto-bp.S: Likewise.
12832
12833 [BZ #15062]
12834 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12835 parts of result separately when argument is not close to line from
12836 -i to i and one part of argument is small.
12837 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12838 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12839 * math/libm-test.inc (cacos_test): Add more tests.
12840 (casin_test): Likewise.
12841 (casinh_test): Likewise.
12842 * sysdeps/i386/fpu/libm-test-ulps: Update.
12843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12844
128452013-01-31 David S. Miller <davem@davemloft.net>
12846
12847 * po/de.po: Update from translation team.
12848
128492013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12850
12851 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12852
128532013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12854
12855 * configure.in (_AC_PROG_CC_C89): New definition.
12856 * configure: Regenerate.
12857
12858 * configure.in (AC_PROG_CPP): New definition.
12859 * configure: Regenerate.
12860
128612013-01-23 Joseph Myers <joseph@codesourcery.com>
12862
12863 * debug/tst-backtrace.h: New file.
12864 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12865 (ret): Remove variable.
12866 (x): Likewise.
12867 (FAIL): Remove macro.
12868 (NO_INLINE): Likewise.
12869 (fn1): Use match function instead of strstr.
12870 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12871 (ret): Remove variable.
12872 (x): Likewise.
12873 (FAIL): Remove macro.
12874 (NO_INLINE): Likewise.
12875 (fn): Use match function instead of strstr.
12876 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12877 (ret): Remove variable.
12878 (x): Likewise.
12879 (FAIL): Remove macro.
12880 (NO_INLINE): Likewise.
12881 (handle_signal): Use match function instead of strstr.
12882 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12883 (ret): Remove variable.
12884 (x): Likewise.
12885 (FAIL): Remove macro.
12886 (NO_INLINE): Likewise.
12887 (handle_signal): Use match function instead of strstr.
12888
128892013-01-23 Roland McGrath <roland@hack.frob.com>
12890
12891 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12892
128932013-01-23 David S. Miller <davem@davemloft.net>
12894
12895 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12896 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12897 argument of CAS if possible.
12898 * sysdeps/sparc/sparc64/bits/atomic.h
12899 (__arch_compare_and_exchange_val_32_acq): Likewise.
12900 (__arch_compare_and_exchange_val_64_acq): Likewise.
12901
129022013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12903
12904 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12905 * sysdeps/posix/ulimit.c: ... this.
12906 Include <limits.h>.
12907 * sysdeps/unix/bsd/ulimit.c: Remove file.
12908
129092013-01-23 Adam Conrad <adconrad@0c3.net>
12910
12911 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12912 (LDFLAGS-tst-array5): Likewise.
12913
129142013-01-23 Joseph Myers <joseph@codesourcery.com>
12915
12916 [BZ #15036]
12917 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12918 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12919 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12920 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12921
129222013-01-21 David S. Miller <davem@davemloft.net>
12923
12924 * sysdeps/sparc/backtrace.c: New file.
12925 * sysdeps/sparc/sparc32/backtrace.h: New file.
12926 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12927 * sysdeps/sparc/sparc64/backtrace.h: New file.
12928 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12929 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12930 -funwind-tables.
12931
129322013-01-21 Andreas Schwab <schwab@suse.de>
12933
12934 [BZ #15020]
12935 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12936 closed its stdout.
12937
129382013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12939
12940 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12941 "mpa2.h".
12942 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12943
129442013-01-18 Joseph Myers <joseph@codesourcery.com>
12945 Mark Mitchell <mark@codesourcery.com>
12946 Tom de Vries <tom@codesourcery.com>
12947 Paul Pluzhnikov <ppluzhnikov@google.com>
12948
12949 * debug/tst-backtrace2.c: New file.
12950 * debug/tst-backtrace3.c: Likewise.
12951 * debug/tst-backtrace4.c: Likewise.
12952 * debug/tst-backtrace5.c: Likewise.
12953 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12954 (CFLAGS-tst-backtrace3.c): Likewise.
12955 (CFLAGS-tst-backtrace4.c): Likewise.
12956 (CFLAGS-tst-backtrace5.c): Likewise.
12957 (LDFLAGS-tst-backtrace2): Likewise.
12958 (LDFLAGS-tst-backtrace3): Likewise.
12959 (LDFLAGS-tst-backtrace4): Likewise.
12960 (LDFLAGS-tst-backtrace5): Likewise.
12961 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12962 tst-backtrace4 and tst-backtrace5.
12963
129642013-01-18 Anton Blanchard <anton@samba.org>
12965 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12966
12967 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12968 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12969 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12970 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12972 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12973 "+r" and remove output regs list as redundant. Add explicit inline
12974 asm to specify register of return val to work around compiler codegen
12975 bug. Remove (int) cast on return value. Add return type parameter to
12976 use in macro so that this macro does not truncate return value for
12977 64-bit values.
12978 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12979 pass to INTERNAL_VSYSCALL_NCS.
12980 (INLINE_VSYSCALL): Add 'long int' as return type to
12981 INTERNAL_VSYSCALL_NCS macro invocation.
12982 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12983 INTERNAL_VSYSCALL_NCS macro invocation.
12984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12985
129862013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12987
12988 [BZ #14496]
12989 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12990 Fix application of SIMD FP exception mask.
12991
12992 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12993 mp_no from a power of two.
12994 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12995 __mpexp_twomm1. Use __pow_mp.
12996
12997 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12998 multiplication.
12999
130002013-01-17 David S. Miller <davem@davemloft.net>
13001
13002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13003
130042013-01-17 Joseph Myers <joseph@codesourcery.com>
13005
13006 [BZ #15023]
13007 * include/complex.h: Condition contents on [!_COMPLEX_H].
13008 (__kernel_casinhf): New prototype.
13009 (__kernel_casinh): Likewise.
13010 (__kernel_casinhl): Likewise.
13011 * math/Makefile (libm_calls): Add k_casinh.
13012 * math/k_casinh.c: New file.
13013 * math/k_casinhf.c: Likewise.
13014 * math/k_casinhl.c: Likewise.
13015 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13016 finite nonzero arguments.
13017 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13018 finite nonzero arguments.
13019 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13020 finite nonzero arguments.
13021 * math/s_casinh.c: Do not include <float.h>.
13022 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13023 * math/s_casinhf.c: Do not include <float.h>.
13024 (__casinhf): Move code for finite nonzero arguments to
13025 k_casinhf.c.
13026 * math/s_casinhl.c: Do not include <float.h>.
13027 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13028 redefine.
13029 (__casinhl): Move code for finite nonzero arguments to
13030 k_casinhl.c.
13031 * math/libm-test.inc (cacos_test): Add more tests.
13032 * sysdeps/i386/fpu/libm-test-ulps: Update.
13033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13034
130352013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13036
13037 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13038 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13039 [!HAVE_MREMAP]: Remove [defined linux] case.
13040 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13041
130422013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13043
13044 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13045
130462013-01-17 H.J. Lu <hongjiu.lu@intel.com>
13047
13048 * elf/elf.h (R_386_SIZE32): New relocation.
13049 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13050 R_386_SIZE32.
13051 (elf_machine_rela): Likewise.
13052 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13053 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13054
130552013-01-17 Joseph Myers <joseph@codesourcery.com>
13056
13057 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13058 (FP_FAST_FMA): Do not define.
13059 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13060 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13061 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13062 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13063 !_SOFT_FLOAT]: Likewise.
13064 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13065 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13066 value.
13067 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13068 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13069 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13070 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13071 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13072 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13073 file.
13074
130752013-01-16 Andreas Schwab <schwab@suse.de>
13076
13077 [BZ #14327]
13078 * include/stdlib.h (__mktemp): Add declaration.
13079 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13080 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13081
130822013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13083
13084 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13085 definitions.
13086 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13087 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13088 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13089 definitions here.
13090 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13091 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13092 definitions.
13093 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13094 and ONE.
13095 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13096 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13097 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13098 definitions.
13099 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13100 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13101 definitions.
13102 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13103
13104 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13105
131062013-01-15 David S. Miller <davem@davemloft.net>
13107
13108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13109 trunc{,f} to libm-sysdep_routes.
13110 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13112 file.
13113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13115 file.
13116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13117 file.
13118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13120 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13121 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13122 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13123 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13124 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13125 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13126
13127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13128 nearbyint{,f} to libm-sysdep_routes.
13129 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13131 New file.
13132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13133 file.
13134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13135 New file.
13136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13137 file.
13138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13140 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13141 file.
13142 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13143 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13144 file.
13145 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13146 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13147 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13148
13149 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13150 libc_feholdexcept and libc_fesetenv.
13151
131522013-01-15 Mike Frysinger <vapier@gentoo.org>
13153
13154 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13155
131562013-01-14 David S. Miller <davem@davemloft.net>
13157
13158 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13159 (SPARC_ASM_VIS2_IFUNC): Likewise.
13160 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13162 use of 'siam' instruction.
13163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13164 Likewise.
13165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13166 Likewise.
13167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13168 Likewise.
13169 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13170 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13171 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13174 file.
13175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13176 file.
13177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13178 file.
13179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13180 file.
13181 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13182 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13183 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13186 new VIS2 routines.
13187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13190 Likewise.
13191 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13192 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13193 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13194 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13196 routines to libm-sysdep_routines.
13197 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13198
13199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13200 fdim/fdimf to libm-sysdep_routines.
13201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13202 file.
13203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13205 file.
13206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13209 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13210 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13211 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13212 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13213
132142013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13215
13216 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13217 to optimize copies.
13218
13219 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13220 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13221 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13222
13223 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13224 local variable MPTWO.
13225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13226 Likewise.
13227
132282013-01-13 Mike Frysinger <vapier@gentoo.org>
13229
13230 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13231 GLOB_NOESCAPE.
13232
132332013-01-13 Mike Frysinger <vapier@gentoo.org>
13234
13235 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13236
132372013-01-13 Mike Frysinger <vapier@gentoo.org>
13238
13239 * manual/pattern.texi (glob_t): Document gl_flags.
13240 (glob64_t): Likewise.
13241
132422013-01-11 David S. Miller <davem@davemloft.net>
13243
13244 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13245 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13246 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
13247 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13248 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13249 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13250 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13251 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13252 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13253 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13254 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13255 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13256 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13257
13258 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13259 sparc V9 rather than using V8 code.
13260 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13261 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13262
13263 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13264 Move to...
13265 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13266 Here.
13267
132682013-01-11 Roland McGrath <roland@hack.frob.com>
13269
13270 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13271 not in the main loop.
13272 * configure: Regenerated.
13273
132742013-01-11 Joseph Myers <joseph@codesourcery.com>
13275
13276 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13277 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13278 to just #else.
13279 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13280 [!__GLIBC_HAVE_LONG_LONG] case.
13281 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13282 condition to just #else.
13283 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13284 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13285 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13286 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13287 unconditional.
13288 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13289 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13290 #elif condition to just #else.
13291 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13292 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13293 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13294 #elif condition to just #else.
13295
132962013-01-11 Steve Ellcey <sellcey@mips.com>
13297
13298 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13299 (EF_MIPS_ARCH_64): Fix value.
13300 (EF_MIPS_ARCH_32R2): New.
13301 (EF_MIPS_ARCH_64R2): New.
13302
133032013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13304
13305 * Makeconfig (+link-pie-before-libc): New.
13306 (+link-pie-after-libc): Likewise.
13307 (+link-pie-tests): Likewise.
13308 (+link-pie): Rewritten.
13309 (link-before-libc): Remove $(config-LDFLAGS).
13310 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13311 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13312 (config-LDFLAGS): Renamed to ...
13313 (rtld-LDFLAGS): This.
13314 (rtld-tests-LDFLAGS): New macro.
13315 (link-libc-rpath-link): Likewise.
13316 (link-libc-tests-rpath-link): Likewise.
13317 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13318 (link-libc): Prepand $(link-libc-rpath-link).
13319 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13320 (test-program-prefix): New macro.
13321 (test-via-rtld-prefix): Likewise.
13322 (test-program-cmd): Likewise.
13323 (host-test-program-cmd): Likewise.
13324 * Makefile ($(common-objpfx)testrun.sh): Replace
13325 $(run-program-prefix) with $(test-program-prefix).
13326 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13327 $(rtld-LDFLAGS).
13328 ($(common-objpfx)shlib.lds): Likewise.
13329 (build-module-helper): Likewise.
13330 ($(common-objpfx)format.lds): Likewise.
13331 * Rules (binaries-pie-tests): New.
13332 (binaries-pie-notests): Likewise.
13333 (binaries-pie): Rewritten.
13334 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13335 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13336 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13337 (make-test-out): Replace $(host-built-program-cmd) with
13338 $(host-test-program-cmd).
13339 * config.make.in (build-hardcoded-path-in-tests): New variable.
13340 * configure.in (--enable-hardcoded-path-in-tests): New configure
13341 option.
13342 (hardcoded_path_in_tests): New AC_SUBST.
13343 * configure: Regenerated.
13344 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13345 $(built-program-cmd) with $(test-program-cmd).
13346 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13347 (test_program_cmd): This.
13348 * elf/Makefile ($(objpfx)order.out): Run test with
13349 $(test-program-prefix).
13350 ($(objpfx)order2.out): Likewise.
13351 ($(objpfx)tst-initorder.out): Likewise.
13352 ($(objpfx)tst-initorder2.out): Likewise.
13353 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13354 $(test-program-cmd).
13355 ($(objpfx)tst-array1-static.out): Likewise.
13356 ($(objpfx)tst-array2.out): Likewise.
13357 ($(objpfx)tst-array3.out): Likewise.
13358 ($(objpfx)tst-array4.out): Likewise.
13359 ($(objpfx)tst-array5.out): Likewise.
13360 ($(objpfx)tst-array5-static.out): Likewise.
13361 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13362 $(test-program-cmd).
13363 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13364 $(run-program-prefix) with $(test-program-prefix).
13365 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13366 (test_program_prefix): This.
13367 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13368 $(run-program-prefix) with $(test-program-prefix).
13369 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13370 (test_program_prefix): This.
13371 * iconvdata/tst-tables.sh: Likewise.
13372 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13373 $(run-program-prefix) with $(test-program-prefix).
13374 ($(objpfx)tst-translit.out): Likewise.
13375 ($(objpfx)tst-gettext2.out): Likewise.
13376 ($(objpfx)tst-gettext4.out): Likewise.
13377 ($(objpfx)tst-gettext6.out): Likewise.
13378 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13379 (test_program_prefix): This.
13380 * intl/tst-gettext2.sh: Likewise.
13381 * intl/tst-gettext4.sh Likewise.
13382 * intl/tst-gettext6.sh: Likewise.
13383 * intl/tst-translit.sh: Likewise.
13384 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13385 with $(test-program-cmd).
13386 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13387 $(run-program-prefix) with $(test-program-prefix).
13388 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13389 (test_program_prefix): This.
13390 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13391 $(run-program-prefix) with $(test-program-prefix).
13392 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13393 (test_program_prefix): This.
13394 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13395 * posix/Makefile ($(objpfx)globtest.out): Replace
13396 $(run-via-rtld-prefix) and $(test-wrapper) with
13397 $(test-program-prefix) and $(test-via-rtld-prefix).
13398 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13399 $(test-program-prefix).
13400 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13401 $(host-test-program-cmd).
13402 (tst-spawn-ARGS): Likewise.
13403 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13404 $(test-program-prefix).
13405 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13406 (test_via_rtld_prefix): This.
13407 (test_wrapper): Renamed to ...
13408 (test_program_prefix): This.
13409 (run_program_prefix): Replaced by test_program_prefix.
13410 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13411 (test_program_prefix): This.
13412 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13413 with $(host-test-program-cmd).
13414 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13415 $(run-program-prefix) with $(test-program-prefix).
13416 ($(objpfx)tst-printf.out): Likewise.
13417 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13418 $(test-program-cmd).
13419 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13420 (test_program_prefix): This.
13421 * stdio-common/tst-unbputc.sh: Likewise.
13422 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13423 $(run-program-prefix) with $(test-program-prefix).
13424 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13425 (test_program_prefix): This.
13426 * string/Makefile ($(objpfx)tst-svc.out): Replace
13427 $(built-program-cmd) with $(test-program-cmd).
13428
134292013-01-11 Andreas Jaeger <aj@suse.de>
13430
13431 [BZ #15003]
13432 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13433 value. Sync with Linux 3.7.
13434
134352013-01-10 David S. Miller <davem@davemloft.net>
13436
13437 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13438 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13439 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13440
134412013-01-10 Roland McGrath <roland@hack.frob.com>
13442
13443 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13444 never set.
13445 * configure: Regenerated.
13446
134472013-01-10 David S. Miller <davem@davemloft.net>
13448
13449 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13450 sparc V9 rather than using V8 code.
13451 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13452 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13453
134542013-01-10 Roland McGrath <roland@hack.frob.com>
13455
13456 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13457 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13458 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13459 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13460 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13461 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13462 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13463 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13464 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13465 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13466 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13467 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13468 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13469 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13470 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13471 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13472 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13473 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13474 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13475 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13476 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13477 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13478 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13479 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13480 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13481 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13482 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13483
134842013-01-10 David S. Miller <davem@davemloft.net>
13485
13486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13487
134882013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13489
13490 * posix/Makefile (tests-static): New variable.
13491 (tests): Add $(tests-static).
13492 (tst-exec-static-ARGS): New variable.
13493 (tst-spawn-static-ARGS): Likewise.
13494 * posix/tst-exec-static.c: New file.
13495 * posix/tst-spawn-static.c: Likewise.
13496 * posix/tst-exec.c: Support run directly.
13497 * posix/tst-spawn.c: Likewise.
13498
134992013-01-10 Joseph Myers <joseph@codesourcery.com>
13500
13501 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13502 long.
13503 * math/bits/mathcalls.h (llrint): Likewise.
13504 (llround): Likewise.
13505 * stdlib/stdlib.h (struct drand48_data): Likewise.
13506 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13507 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13508 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13509 Likewise.
13510 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13511 Likewise.
13512 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13513 (elf_greg_t): Likewise.
13514 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13515 (__jmp_buf): Likewise.
13516 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13517 definitions.
13518 (llrint): Likewise, for all definitions.
13519 (llrintl): Likewise.
13520
13521 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13522 Remove [__GNUC__] condition.
13523 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13524 condition to just [__USE_ISOC99].
13525 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13526
135272013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13528
13529 [BZ #14200]
13530 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13531 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13532 defined.
13533 (_POSIX_V6_ILP32_OFF32): Likewise.
13534 (_XBS5_ILP32_OFF32): Likewise.
13535 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13536 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13537
135382013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13539
13540 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13541
13542 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13543 doubles __mpexp_twomm1. Adjust usage.
13544 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13545 Remove.
13546
135472013-01-10 Andreas Schwab <schwab@suse.de>
13548
13549 [BZ #14964]
13550 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13551 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13552
135532013-01-09 David S. Miller <davem@davemloft.net>
13554
13555 [BZ #15003]
13556 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13557 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13558 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13559 TCP_FASTOPEN): Define.
13560 (tcp_repair_opt): New structure.
13561 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13562 enum values.
13563 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13564 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13565 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13566 (tcp_cookie_transactions): New structure.
13567
135682013-01-09 Anton Blanchard <anton@samba.org>
13569
13570 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13571 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13572 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13573 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13574
135752013-01-09 Joseph Myers <joseph@codesourcery.com>
13576
13577 * include/features.h (__USE_ANSI): Remove.
13578
135792013-01-09 Roland McGrath <roland@hack.frob.com>
13580
13581 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13582
13583 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13584
135852013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13586
13587 * sysdeps/s390/fpu/libm-test-ulps: Update.
13588
13589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13590
13591 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13592 (__acr): Likewise.
13593 (__cpy): Likewise.
13594 (norm): Likewise.
13595 (denorm): Likewise.
13596 (__mp_dbl): Likewise.
13597 (__dbl_mp): Likewise.
13598 (add_magnitudes): Likewise.
13599 (sub_magnitudes): Likewise.
13600 (__add): Likewise.
13601 (__sub): Likewise.
13602 (__mul): Likewise.
13603 (__inv): Likewise.
13604 (__dvd): Likewise.
13605 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13606 (__acr): Likewise.
13607 (__cpy): Likewise.
13608 (norm): Likewise.
13609 (denorm): Likewise.
13610 (__mp_dbl): Likewise.
13611 (__dbl_mp): Likewise.
13612 (add_magnitudes): Likewise.
13613 (sub_magnitudes): Likewise.
13614 (__add): Likewise.
13615 (__sub): Likewise.
13616 (__mul): Likewise.
13617 (__inv): Likewise.
13618 (__dvd): Likewise.
13619 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13620 (__acr): Likewise.
13621 (__cpy): Likewise.
13622 (norm): Likewise.
13623 (denorm): Likewise.
13624 (__mp_dbl): Likewise.
13625 (__dbl_mp): Likewise.
13626 (add_magnitudes): Likewise.
13627 (sub_magnitudes): Likewise.
13628 (__add): Likewise.
13629 (__sub): Likewise.
13630 (__mul): Likewise.
13631 (__inv): Likewise.
13632 (__dvd): Likewise.
13633
136342013-01-08 Joseph Myers <joseph@codesourcery.com>
13635
13636 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13637 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13638 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13639 2 && __USE_EXTERN_INLINES]: Likewise.
13640
136412013-01-08 Andreas Jaeger <aj@suse.de>
13642
13643 [BZ# 14985]
13644 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13645 Remove.
13646 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13647 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13648
136492013-01-07 Anton Blanchard <anton@samba.org>
13650
13651 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13652 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13653 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13654 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13655 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13656 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13657 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13658 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13659 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13660 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13661 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13662 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13663 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13664 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13665 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13666 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13667 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13668 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13669 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13670 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13671 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13672 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13673 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13674 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13675 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13676 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13677 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13678 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13679 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13680 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13681 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13682 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13683 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13684 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13685 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13686 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13687 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13688 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13689 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13690 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13691 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13692 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13693 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13694
136952013-01-07 Joseph Myers <joseph@codesourcery.com>
13696
13697 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13698 (__MALLOC_PMT): Likewise.
13699 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13700 [__GNUC__], only on [_LIBC].
13701 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13702 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13703 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13704 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13705 forward declaration.
13706 (realloc_hook_ini): Likewise.
13707 (memalign_hook_ini): Likewise.
13708 (__libc_memalign): Do not use __MALLOC_PMT in variable
13709 declaration.
13710 (__libc_valloc): Likewise.
13711 (__libc_pvalloc): Likewise.
13712 (__libc_calloc): Likewise.
13713 (__posix_memalign): Likewise.
13714
13715 [BZ #14996]
13716 * math/s_casinh.c: Include <float.h>.
13717 (__casinh): Do not do computation with squaring and square root
13718 for large arguments.
13719 * math/s_casinhf.c: Include <float.h>.
13720 (__casinhf): Do not do computation with squaring and square root
13721 for large arguments.
13722 * math/s_casinhl.c: Include <float.h>.
13723 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13724 (__casinhl): Do not do computation with squaring and square root
13725 for large arguments.
13726 * math/libm-test.inc (casin_test): Add more tests.
13727 (casinh_test): Likewise.
13728 * sysdeps/i386/fpu/libm-test-ulps: Update.
13729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13730
137312013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13732
13733 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13734 (__x86_64_raw_data_cache_size): Likewise.
13735 (__x86_64_data_cache_size_half): Likewise.
13736 (__x86_64_raw_data_cache_size_half): Likewise.
13737 (__x86_64_shared_cache_size): Likewise.
13738 (__x86_64_raw_shared_cache_size): Likewise.
13739 (__x86_64_shared_cache_size_half): Likewise.
13740 (__x86_64_raw_shared_cache_size_half): Likewise.
13741 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13742 to ...
13743 (__x86_data_cache_size): This.
13744 (__x86_64_raw_data_cache_size): Renamed to ...
13745 (__x86_raw_data_cache_size): This.
13746 (__x86_64_data_cache_size_half): Renamed to ...
13747 (__x86_data_cache_size_half): This.
13748 (__x86_64_raw_data_cache_size_half): Renamed to ...
13749 (__x86_raw_data_cache_size_half): This.
13750 (__x86_64_shared_cache_size): Renamed to ...
13751 (__x86_shared_cache_size): This.
13752 (__x86_64_raw_shared_cache_size): Renamed to ...
13753 (__x86_raw_shared_cache_size): This.
13754 (__x86_64_shared_cache_size_half): Renamed to ...
13755 (__x86_shared_cache_size_half): This.
13756 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13757 (__x86_raw_shared_cache_size_half): This.
13758 * sysdeps/x86_64/memcpy.S: Updated.
13759 * sysdeps/x86_64/memset.S: Likewise.
13760 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13761 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13762 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13763
137642013-01-04 David S. Miller <davem@davemloft.net>
13765
13766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13767
137682013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13769
13770 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13771 1 to avoid redefinition warning.
13772 (__USE_GNU): Don't define.
13773 (init_signaling_nan): Protoize.
13774
13775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13776
137772013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13778
13779 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13780 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13781 (__cpymn): Likewise.
13782 (norm): Remove commented code.
13783 (denorm): Likewise.
13784 (__mp_dbl): Likewise.
13785 (__inv): Likewise.
13786 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13787 (__cpymn): Likewise.
13788 (norm): Remove commented code.
13789 (denorm): Likewise.
13790 (__mp_dbl): Likewise.
13791 (__inv): Likewise.
13792
13793 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13794 mp_no value for 1.0 and 2.0.
13795 (norm): Use RADIXI instead of radixi.d.
13796 (denorm): Likewise.
13797 (__mul): Use 0.0 instead of zero.d.
13798 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13799 mp_no value for 1.0 and 2.0.
13800 (norm): Use RADIXI instead of radixi.d.
13801 (denorm): Likewise.
13802 (__mul): Use 0.0 instead of zero.d.
13803
138042013-01-04 Joseph Myers <joseph@codesourcery.com>
13805
13806 [BZ #14994]
13807 * math/s_casinh.c (__casinh): Reduce finite argument to first
13808 quadrant then set signs of results at the end.
13809 * math/s_casinhf.c (__casinhf): Likewise.
13810 * math/s_casinhl.c (__casinhl): Likewise.
13811 * math/libm-test.inc (casin_test): Add more tests.
13812 (casinh_test): Likewise.
13813 * sysdeps/i386/fpu/libm-test-ulps: Update.
13814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13815
138162013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13817
13818 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13819
13820 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13821
13822 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13823 declarations.
13824 (denorm): Likewise.
13825 (__mp_dbl): Likewise.
13826 (__inv): Likewise.
13827
13828 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13829 and adjust the header comment.
13830
13831 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13832 variable name from declaration.
13833
138342013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13835
13836 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13837 Initialize COMMON_CPUID_INDEX_7 element.
13838 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13839 (CPUID_RTM): Likewise.
13840 (HAS_RTM): Likewise.
13841 (COMMON_CPUID_INDEX_7): New enum.
13842
138432013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13844
13845 [BZ #14981]
13846 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13847 size is zero, record memory as freed.
13848
138492013-01-03 Andreas Jaeger <aj@suse.de>
13850
13851 * po/ia.po: Add new Interlingua translation.
13852
138532012-01-03 Allan McRae <allan@archlinux.org>
13854
13855 * locale/programs/localedef.c: Fix description of '--posix' flag.
13856
138572013-01-02 Joseph Myers <joseph@codesourcery.com>
13858
13859 * NEWS: Update dates in second copyright notice.
13860 * README: Update copyright dates in example.
13861 * manual/libc.texinfo: Update copyright dates.
13862 * scripts/test-installation.pl: Update copyright date in --version
13863 output.
13864
13865 * hurd/ctty-input.c: Fix copyright notice formatting.
13866 * hurd/ctty-output.c: Likewise.
13867 * hurd/dtable.c: Likewise.
13868 * hurd/hurd-raise.c: Likewise.
13869 * hurd/hurdprio.c: Likewise.
13870 * hurd/msgportdemux.c: Likewise.
13871 * misc/sys/file.h: Likewise.
13872 * misc/sys/ioctl.h: Likewise.
13873 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13874 * sysdeps/mach/hurd/chdir.c: Likewise.
13875 * sysdeps/mach/hurd/fchdir.c: Likewise.
13876 * sysdeps/mach/hurd/rename.c: Likewise.
13877 * sysdeps/mach/hurd/rmdir.c: Likewise.
13878 * sysdeps/mach/hurd/seekdir.c: Likewise.
13879 * sysdeps/mach/hurd/setsid.c: Likewise.
13880 * sysdeps/posix/wait3.c: Likewise.
13881
13882 * All files with FSF copyright notices: Update copyright dates
13883 using scripts/update-copyrights.
13884 * intl/plural.c: Regenerated.
13885 * locale/programs/charmap-kw.h: Likewise.
13886 * locale/programs/locfile-kw.h: Likewise.
13887
138882013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13889
13890 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13891 four values.
13892
13893 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13894 calculation loop and add branch prediction.
13895
13896 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13897 check access beyond bounds of m1np.
13898
13899 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13900 MPTWO.
13901 (__inv): Remove local variable MPTWO to use the global
13902 constant.
13903 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13904 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13905 variable MPTWO.
13906 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13907 MP3HALFS static const.
13908
139092013-01-01 David S. Miller <davem@davemloft.net>
13910
13911 * po/ca.po: Update from translation team.
13912
139132013-01-01 Joseph Myers <joseph@codesourcery.com>
13914
13915 * scripts/update-copyrights: New file.
13916 * Makeconfig: Reformat copyright notice.
13917 * ctype/ctype.h: Likewise.
13918 * debug/swprintf_chk.c: Likewise.
13919 * elf/dl-cache.c: Likewise.
13920 * elf/dl-debug.c: Likewise.
13921 * elf/dl-object.c: Likewise.
13922 * grp/initgroups.c: Likewise.
13923 * hurd/Makefile: Likewise.
13924 * hurd/hurd/signal.h: Likewise.
13925 * hurd/hurdfault.c: Likewise.
13926 * hurd/hurdioctl.c: Likewise.
13927 * hurd/hurdlookup.c: Likewise.
13928 * hurd/intr-msg.c: Likewise.
13929 * iconv/gconv_open.c: Likewise.
13930 * libio/swprintf.c: Likewise.
13931 * locale/lc-ctype.c: Likewise.
13932 * locale/nl_langinfo.c: Likewise.
13933 * mach/Machrules: Likewise.
13934 * mach/Makefile: Likewise.
13935 * malloc/obstack.h: Likewise.
13936 * manual/Makefile: Likewise.
13937 * manual/tsort.awk: Likewise.
13938 * misc/bits/stab.def: Likewise.
13939 * nis/nis_print_group_entry.c: Likewise.
13940 * nis/nis_table.c: Likewise.
13941 * nis/nss_compat/compat-pwd.c: Likewise.
13942 * nis/nss_compat/compat-spwd.c: Likewise.
13943 * po/Makefile: Likewise.
13944 * posix/fnmatch.c: Likewise.
13945 * posix/regex.h: Likewise.
13946 * resolv/Makefile: Likewise.
13947 * resolv/nss_dns/dns-network.c: Likewise.
13948 * resolv/res_hconf.c: Likewise.
13949 * scripts/gen-sorted.awk: Likewise.
13950 * soft-fp/soft-fp.h: Likewise.
13951 * stdio-common/printf.h: Likewise.
13952 * stdlib/monetary.h: Likewise.
13953 * stdlib/random.c: Likewise.
13954 * stdlib/random_r.c: Likewise.
13955 * sysdeps/generic/Makefile: Likewise.
13956 * sysdeps/gnu/Makefile: Likewise.
13957 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13958 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13959 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13960 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13961 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13962 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13963 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13964 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13965 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13966 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13967 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13968 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13969 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13970 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13971 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13972 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13973 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13974 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13975 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13976 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13977 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13978 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13979 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13980 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13981 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13982 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13983 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13984 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13985 * sysdeps/mach/hurd/errnos.awk: Likewise.
13986 * sysdeps/mach/hurd/fork.c: Likewise.
13987 * sysdeps/mach/hurd/getcwd.c: Likewise.
13988 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13989 * sysdeps/mach/hurd/mmap.c: Likewise.
13990 * sysdeps/mach/hurd/utimes.c: Likewise.
13991 * sysdeps/mach/hurd/xmknod.c: Likewise.
13992 * sysdeps/posix/profil.c: Likewise.
13993 * sysdeps/posix/readdir_r.c: Likewise.
13994 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13995 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13996 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13997 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13999 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14000 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14001 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14002 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14003 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14004 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14005 * sysdeps/pthread/lio_listio.c: Likewise.
14006 * sysdeps/sparc/dl-procinfo.h: Likewise.
14007 * sysdeps/unix/i386/sysdep.S: Likewise.
14008 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14009 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14010 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14011 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14013 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14014 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14015 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14016 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14017 * sysdeps/wordsize-32/divdi3.c: Likewise.
14018 * time/sys/time.h: Likewise.
14019 * wcsmbs/Makefile: Likewise.
14020
140212013-01-01 David S. Miller <davem@davemloft.net>
14022
14023 * po/fr.po: Update from translation team.
14024
14025 * catgets/gencat.c: Update copyright year.
14026 * csu/version.c: Likewise.
14027 * debug/catchsegv.sh: Likewise.
14028 * debug/pcprofiledump.c: Likewise.
14029 * debug/xtrace.sh: Likewise.
14030 * elf/ldconfig.c: Likewise.
14031 * elf/ldd.bash.in: Likewise.
14032 * elf/pldd.c: Likewise.
14033 * elf/sotruss.ksh: Likewise.
14034 * elf/sprof.c: Likewise.
14035 * iconv/iconv_prog.c: Likewise.
14036 * iconv/iconvconfig.c: Likewise.
14037 * locale/programs/locale.c: Likewise.
14038 * locale/programs/localedef.c: Likewise.
14039 * login/programs/pt_chown.c: Likewise.
14040 * malloc/memusage.sh: Likewise.
14041 * malloc/memusagestat.c: Likewise.
14042 * malloc/mtrace.pl: Likewise.
14043 * nscd/nscd.c: Likewise.
14044 * nss/getent.c: Likewise.
14045 * nss/makedb.c: Likewise.
14046 * posix/getconf.c: Likewise.
14047
140482012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14049
14050 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14051 numbers.
14052
140532012-12-30 Mike Frysinger <vapier@gentoo.org>
14054
14055 * math/bits/mathcalls.h (modf): Use __nonnull.
14056
140572012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14058
14059 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14060 (split): Use macro CN instead of the bare value.
14061 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14062 could be used.
14063 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14064 instead of the bare value.
14065 (power1): Likewise.
14066
140672012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14068
14069 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14070 __ATAN_TWOM.
14071 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14072
14073 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14074 their values.
14075 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14076 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14077 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14078 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14079
140802012-12-28 Andreas Jaeger <aj@suse.de>
14081
14082 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14083 values are from Linux 3.7.
14084
14085 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14086 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14087
140882012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14089
14090 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14091 TRUE case.
14092
14093 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14094 (norm): Likewise.
14095 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14096 variables with preprocessor constants.
14097 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14098 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14099 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14100
141012012-12-27 Bruno Haible <bruno@clisp.org>
14102
14103 [BZ #14317]
14104 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14105 only if needed.
14106
141072012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14108
14109 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14110 and use variable directly.
14111 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14112
14113 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14114 MPONE.
14115 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14116 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14117 variable MPONE.
14118 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14119 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14120 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14121 include directive. Remove local variable MPONE.
14122 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14123 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14124 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14125
141262012-12-25 David S. Miller <davem@davemloft.net>
14127
14128 * version.h (RELEASE): Set to "development".
14129 (VERSION): Set to "2.17.90".
14130 * NEWS: Add 2.18 section.
14131
141322012-12-21 David S. Miller <davem@davemloft.net>
14133
14134 * po/hr.po: Update from translation team.
14135
141362012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14137
14138 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14139
141402012-12-19 Steve Ellcey <sellcey@mips.com>
14141
14142 * NEWS: Mention new memcpy for MIPS.
14143
141442012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14145
14146 * manual/contrib.texi (Contributors): Spelling correction.
14147
141482012-12-15 David S. Miller <davem@davemloft.net>
14149
14150 * po/ru.po: Update from translation team.
14151
141522012-12-13 David S. Miller <davem@davemloft.net>
14153
14154 * NEWS: Mention IFUNC testsuite enhancements.
14155
14156 * po/pl.po: Update from translation team.
14157 * po/bg.po: Likewise.
14158
14159 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14160 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14161
141622012-12-11 David S. Miller <davem@davemloft.net>
14163
14164 * po/sv.po: Update from translation team.
14165
14166 * po/vi.po: Update from translation team.
14167
14168 * po/cs.po: Update from translation team.
14169
14170 * po/de.po: Update from translation team.
14171 * po/eo.po: Likewise.
14172 * po/nl.po: Likewise.
14173
141742012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14175
14176 [BZ #14246]
14177 * manual/argp.texi (Argp Helper Functions): Move node to follow
14178 Argp Parsing State.
14179
14180 [BZ #14872]
14181 * manual/conf.texi (Limits on File System Capacity): Mention if
14182 terminating null is included in the max size.
14183
141842012-12-10 Andreas Jaeger <aj@suse.de>
14185
14186 * po/cs.po: Update from translation team.
14187
141882012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14189
14190 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14191 void pointer and cast to uintptr_t.
14192 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14193 path.
14194 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14195 * sysdeps/s390/s390-64/memset.S: Likewise.
14196
141972012-12-08 Benno Schulenberg <bensberg@justemail.net>
14198
14199 [BZ #14833]
14200 * menual/message.texi (Message Translation): Fix typos.
14201 (Helper programs for gettext): Likewise.
14202
142032012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14204
14205 [BZ #14898]
14206 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14207 Change to -1.
14208
142092012-12-07 David S. Miller <davem@davemloft.net>
14210
14211 * po/libc.pot: Update.
14212
142132012-12-07 Richard Henderson <rth@redhat.com>
14214
14215 [BZ #10114]
14216 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14217 normal/normal case to before the switch.
14218 (_FP_DIV): Likewise.
14219
142202012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14221 Mike Frysinger <vapier@gentoo.org>
14222
14223 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14224 check for __NR_fadvise64_64.
14225
142262012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14227
14228 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14229 0, not just to plain "0" as a statement.
14230 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14231 with cw.
14232
142332012-12-06 Joseph Myers <joseph@codesourcery.com>
14234
14235 * NEWS: Use sourceware.org in Bugzilla URL.
14236
142372012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14238
14239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14240 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14241
14242 * stdio-common/tst-put-error.c (do_test): Add newline to the
14243 padded test to ensure flush.
14244
142452012-12-05 Jeff Law <law@redhat.com>
14246
14247 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14248
142492012-12-05 Joseph Myers <joseph@codesourcery.com>
14250
14251 * README: Don't refer to ports add-on as distributed separately.
14252 Mention AArch64 in list of systems supported in the ports add-on.
14253
14254 * LICENSES: Add more non-FSF copyright and license notices.
14255
14256 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14257 ((unused)).
14258
14259 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14260
14261 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14262 10000 as width of padded output.
14263
142642012-12-04 Joseph Myers <joseph@codesourcery.com>
14265
14266 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14267
14268 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14269 variable LX with __attribute__ ((unused)).
14270 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14271 Likewise.
14272 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14273 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14274 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14275 with __attribute__ ((unused)).
14276
142772012-12-04 David S. Miller <davem@abraco.davemloft.net>
14278
14279 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14280
142812012-12-04 Joseph Myers <joseph@codesourcery.com>
14282
14283 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14284 (CFLAGS-nldbl-acos.c): New variable.
14285 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14286 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14287 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14288 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14289 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14290 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14291 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14292 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14293 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14294 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14295 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14296 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14297 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14298 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14299 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14300 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14301 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14302 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14303 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14304 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14305 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14306 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14307 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14308 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14309 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14310 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14311 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14312 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14313 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14314 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14315 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14316 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14317 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14318 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14319 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14320 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14321 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14322 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14323 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14324 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14325 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14326 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14327 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14328 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14329 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14330 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14331 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14332 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14333 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14334 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14335 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14336 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14337 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14338 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14339 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14340 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14341 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14342 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14343 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14344 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14345 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14346 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14347 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14348 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14349 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14350 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14351 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14352 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14353 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14354 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14355 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14356 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14357 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14358 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14359 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14360 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14361 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14362 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14363 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14364 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14365 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14366 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14367 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14368 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14369 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14370 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14371 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14372 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14373 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14374 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14375 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14376 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14377 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14378 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14379 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14380 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14381 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14382
14383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14384 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14385
14386 [BZ #14914]
14387 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14388 whole low double instead of just low 47 bits when splitting values
14389 into two parts.
14390
143912012-12-03 Allan McRae <allan@archlinux.org>
14392
14393 * manual/stdio.texi (Predefined Printf Handlers): Remove
14394 @hsep and @vsep usage.
14395
143962012-12-03 Mike Frysinger <vapier@gentoo.org>
14397
14398 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14399 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14400
144012012-12-03 Jeff Law <law@redhat.com>
14402
14403 * time/sys/time.h (settimeofday): Do not mark TV argument
14404 as __nonnull.
14405
144062012-12-01 Mike Frysinger <vapier@gentoo.org>
14407
14408 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14409 when currently writing and seek to current position when not.
14410 * libio/Makefile (tests): Remove bug-fclose1.
14411 * libio/bug-fclose1.c: Delete.
14412
144132012-12-01 Joseph Myers <joseph@codesourcery.com>
14414
14415 * manual/arith.texi (feenableexcept): Fix typo.
14416 (fedisableexcept): Likewise.
14417
144182012-11-30 Roland McGrath <roland@hack.frob.com>
14419
14420 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14421 second, differently-typed declaration, rather than a cast.
14422
144232012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14424
14425 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14426 * include/rpc/svc.h: ... here.
14427
144282012-11-30 Aurelien Jarno <aurel32@debian.org>
14429
14430 [BZ #13013]
14431 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14432 depending n and resplen2 to catch cases where answer
14433 equals answerp2.
14434
144352012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14436
14437 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14438 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14439
144402012-11-29 Mike Frysinger <vapier@gentoo.org>
14441
14442 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14443
144442012-11-29 Roland McGrath <roland@hack.frob.com>
14445
14446 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14447
144482012-11-28 Jeff Law <law@redhat.com>
14449
14450 [BZ #13761]
14451 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14452 dataset_temporary. Track alloca usage into alloca_used.
14453 If dataset is large allocate and release it via malloc/free.
14454
144552012-06-04 Florian Weimer <fweimer@redhat.com>
14456
14457 [BZ #14197]
14458 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14459
144602012-11-28 David S. Miller <davem@davemloft.net>
14461
14462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14463
144642012-11-28 Joseph Myers <joseph@codesourcery.com>
14465
14466 [BZ #14803]
14467 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14468 of pi/2 rounded to nearest to 64 bits.
14469 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14470 nearest to 64 bits.
14471 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14472 bits.
14473
144742012-11-28 Jeff Law <law@redhat.com>
14475 Martin Osvald <mosvald@redhat.com>
14476
14477 [BZ #14889]
14478 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14479 * sunrpc/svc.c: Include time.h.
14480 (__svc_accept_failed): New function.
14481 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14482 any reason other than EINTR, call __svc_accept_failed.
14483 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14484 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14485
144862012-11-28 Andreas Schwab <schwab@suse.de>
14487
14488 * scripts/abilist.awk: Also handle indirect functions in .opd
14489 section.
14490
144912012-11-28 Joseph Myers <joseph@codesourcery.com>
14492
14493 [BZ #13881]
14494 * sysdeps/x86/fpu/powl_helper.c: New file.
14495 * sysdeps/x86/fpu/Makefile: Likewise.
14496 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14497 (p3): New object.
14498 (__ieee754_powl): Use __powl_helper for finite arguments except
14499 integer exponents below 8.
14500 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14501 (p3): New object.
14502 (__ieee754_powl): Use __powl_helper for finite arguments except
14503 integer exponents below 8.
14504 * math/libm-test.inc (pow_test): Add more tests and enable some
14505 previously disabled tests.
14506 * sysdeps/i386/fpu/libm-test-ulps: Update.
14507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14508
145092012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14510 Carlos O'Donell <carlos_odonell@mentor.com>
14511
14512 * nss/makedb.c (is_prime): Assert that input is odd and greater
14513 than 4. Note that fact in a comment too.
14514 (next_prime): Add 4 to input.
14515
145162012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14517
14518 [BZ #11741]
14519 * libio/Makefile (tests): Add test case tst-fwrite-error.
14520 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14521 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14522 * libio/tst-fwrite-error.c: New test case.
14523
145242012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14525
14526 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14527 before casting to void *.
14528 * include/libc-internal.h (__pointer_type): New macro.
14529 (__integer_if_pointer_type_sub): Likewise.
14530 (__integer_if_pointer_type): Likewise.
14531 (cast_to_integer): Likewise.
14532 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14533 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14534 before casting to atomic64_t.
14535 (atomic_exchange_acq): Likewise.
14536 (__arch_exchange_and_add_body): Likewise.
14537 (__arch_add_body): Likewise.
14538 (atomic_add_negative): Likewise.
14539 (atomic_add_zero): Likewise.
14540
145412012-11-26 Joseph Myers <joseph@codesourcery.com>
14542
14543 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14544 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14545 (add_fdes): Likewise.
14546 (linear_search_fdes): Likewise.
14547 (binary_search_unencoded_fdes): Likewise.
14548
145492012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14550
14551 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14552
145532012-11-24 Adam Conrad <adconrad@0c3.net>
14554
14555 * configure.in: Autodetect C++ header directories.
14556 * configure: Regenerated.
14557
145582012-11-23 Mike Frysinger <vapier@gentoo.org>
14559
14560 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14561
145622012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14563
14564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14565
145662012-11-22 Joseph Myers <joseph@codesourcery.com>
14567
14568 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14569 LDBL_MANT_DIG == 106]: Disable some tests.
14570 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14571 Likewise.
14572 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14573 Likewise.
14574
14575 [BZ #14871]
14576 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14577 input for small inputs. Return +/- pi/2 for large inputs.
14578 * math/libm-test.inc (atan_test): Add more tests.
14579
14580 * sysdeps/generic/unwind-dw2-fde-glibc.c
14581 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14582 __attribute__ ((unused)).
14583
14584 [BZ #14645]
14585 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14586 x * y if x and y are nonzero and z is zero.
14587
14588 [BZ #14811]
14589 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14590 nonzero exponents with absolute value below 0x1p-117 to +/-
14591 0x1p-117.
14592
14593 [BZ #14869]
14594 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14595 up arguments below 2**-450, not just those below 2**-500.
14596 * math/libm-test.inc (hypot_test): Add another test.
14597
14598 [BZ #14868]
14599 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14600 Return a+b for ratio over 2**120, not 2**60.
14601 * math/libm-test.inc (hypot_test): Add another test.
14602
14603 * math/libm-test.inc (clog_test): Use
14604 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14605 (clog10_test): Likewise.
14606
14607 [BZ #6778]
14608 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14609
146102012-11-22 Andreas Schwab <schwab@suse.de>
14611
14612 * sysdeps/i386/fpu/libm-test-ulps: Update.
14613
146142012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14615
14616 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14617 printf output with newline.
14618
146192012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14620
14621 [BZ #14865]
14622 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14623 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14624 -z nodlopen, -z initfirst and -z execstack support.
14625 * configure: Regenerated.
14626
14627 * elf/elf.h (DF_1_NODIRECT): New macro.
14628 (DF_1_IGNMULDEF): Likewise.
14629 (DF_1_NOKSYMS): Likewise.
14630 (DF_1_NOHDR): Likewise.
14631 (DF_1_EDITED): Likewise.
14632 (DF_1_NORELOC): Likewise.
14633 (DF_1_SYMINTPOSE): Likewise.
14634 (DF_1_GLOBAUDIT): Likewise.
14635 (DF_1_SINGLETON): Likewise.
14636 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14637 DT_1_SUPPORTED_MASK bits.
14638 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14639
146402012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14641
14642 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14643
146442012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14645
14646 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14647 macro.
14648
14649 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14650 (sendmmsg): Move declarations...
14651 * socket/sys/socket.h: ... here.
14652 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14653 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14654 include it from...
14655 * socket/recvmmsg.c: ... this new file.
14656 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14657 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14658 definition of __sendmmsg hidden.
14659 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14660 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14661 Move ENOSYS stub into and include it from...
14662 * socket/sendmmsg.c: ... this new file.
14663 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14664 (sysdep_routines): Move recvmmsg and sendmmsg...
14665 * socket/Makefile (routines): ... here.
14666 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14667 (GLIBC_PRIVATE): Add __sendmmsg.
14668 * include/sys/socket.h (__sendmmsg): Add declarations.
14669 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14670 sendmmsg.
14671
146722012-11-20 Joseph Myers <joseph@codesourcery.com>
14673
14674 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14675 variable I1 with __attribute__ ((unused)).
14676 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14677
146782012-11-19 Joseph Myers <joseph@codesourcery.com>
14679
14680 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14681 DUMMY variables with __attribute__ ((unused)).
14682
14683 * bits/byteswap.h: Include <bits/types.h>.
14684 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14685
146862012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14687
14688 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14689 string_t. Do not manually set errno.
14690 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14691 length with __strnlen. Make sure to both set errno and return it on
14692 failure.
14693
146942012-11-19 David S. Miller <davem@davemloft.net>
14695
14696 With help from Joseph Myers.
14697 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14698 very large arguments properly.
14699 * math/libm-test.inc (atan_test): New tests.
14700 (atan2_test): New tests.
14701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14702 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14703
147042012-11-19 Joseph Myers <joseph@codesourcery.com>
14705
14706 [BZ #14856]
14707 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14708 Define to 3.
14709
14710 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14711 [POSIX] (EADDRNOTAVAIL): Likewise.
14712 [POSIX] (EAFNOSUPPORT): Likewise.
14713 [POSIX] (EALREADY): Likewise.
14714 [POSIX] (ECONNABORTED): Likewise.
14715 [POSIX] (ECONNREFUSED): Likewise.
14716 [POSIX] (ECONNRESET): Likewise.
14717 [POSIX] (EDESTADDRREQ): Likewise.
14718 [POSIX] (EDQUOT): Likewise.
14719 [POSIX] (EHOSTUNREACH): Likewise.
14720 [POSIX] (EIDRM): Likewise.
14721 [POSIX] (EISCONN): Likewise.
14722 [POSIX] (ELOOP): Likewise.
14723 [POSIX] (EMULTIHOP): Likewise.
14724 [POSIX] (ENETDOWN): Likewise.
14725 [POSIX] (ENETUNREACH): Likewise.
14726 [POSIX] (ENOBUFS): Likewise.
14727 [POSIX] (ENODATA): Likewise.
14728 [POSIX] (ENOLINK): Likewise.
14729 [POSIX] (ENOMSG): Likewise.
14730 [POSIX] (ENOPROTOOPT): Likewise.
14731 [POSIX] (ENOSR): Likewise.
14732 [POSIX] (ENOSTR): Likewise.
14733 [POSIX] (ENOTCONN): Likewise.
14734 [POSIX] (ENOTSOCK): Likewise.
14735 [POSIX] (EOPNOTSUPP): Likewise.
14736 [POSIX] (EOVERFLOW): Likewise.
14737 [POSIX] (EPROTO): Likewise.
14738 [POSIX] (EPROTONOSUPPORT): Likewise.
14739 [POSIX] (EPROTOTYPE): Likewise.
14740 [POSIX] (ESTALE): Likewise.
14741 [POSIX] (ETIME): Likewise.
14742 [POSIX] (ETXTBSY): Likewise.
14743 [POSIX] (EWOULDBLOCK): Likewise.
14744 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14745 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14746 [POSIX] (SEEK_CUR): Likewise.
14747 [POSIX] (SEEK_END): Likewise.
14748 [POSIX || UNIX98] (mode_t): Do not require.
14749 [POSIX] (off_t): Likewise.
14750 [POSIX] (pid_t): Likewise.
14751 [POSIX] (sys/stat.h): Do not allow header.
14752 [POSIX] (unistd.h): Likewise.
14753 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14754 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14755 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14756 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14757 require.
14758 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14759 sigevent): Specify elements.
14760 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14761 entry.
14762 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14763 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14764
14765 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14766 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14767 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14768 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14769 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14770 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14771 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14772 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14773 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14774 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14775 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14776 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14777 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14778 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14779 Likewise.
14780 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14781 Likewise.
14782 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14783 Likewise.
14784 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14785 Likewise.
14786 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14787 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14788 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14789 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14790 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14791 Specify lower bound on value.
14792 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14793 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14794 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14795 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14796 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14797 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14798 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14799 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14800 value.
14801 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14802 as optional.
14803 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14804 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14805 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14806 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14807 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14808 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14809 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14810 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14811 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14812 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14813 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14814 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14815 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14816 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14817 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14818 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14819 entry.
14820 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14821 optional.
14822 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14823 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14824 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14825 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14826 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14827 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14828 Likewise.
14829 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14830 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14831 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14832 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14833 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14834 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14835 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14836 as optional.
14837 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14838 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14839 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14840 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14841 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14842 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14843 specify as optional.
14844 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14845 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14846 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14847 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14848 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14849 [XPG3] (NL_LANGMAX): Likewise.
14850 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14851 [POSIX || XPG3] (NL_NMAX): Likewise.
14852 [POSIX || XPG3] (NL_SETMAX): Likewise.
14853 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14854 [XPG3] (NZERO): Likewise.
14855 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14856 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14857 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14858 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14859 (REG_ERANGE): Expect.
14860 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14861 optional-constant.
14862 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14863 Use (void) in prototype.
14864 [POSIX] (*_t): Allow.
14865 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14866 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14867 (WRDE_BADVAL): Expect.
14868
14869 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14870 expect.
14871 [XPG3 || XPG4] (O_RSYNC): Likewise.
14872 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14873 Likewise.
14874 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14875 [XPG3 || XPG4] (sigqueue): Likewise.
14876 [XPG3 || XPG4] (sigtimedwait): Likewise.
14877 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14878 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14879 [XPG3 || XPG4] (vsnprintf): Likewise.
14880 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14881 Likewise.
14882 [XPG3 || XPG4] (blksize_t): Likewise.
14883 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14884 Likewise.
14885 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14886 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14887 [XPG3 || XPG4] (struct itimerspec): Likewise.
14888 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14889 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14890 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14891 [XPG3 || XPG4] (clockid_t): Likewise.
14892 [XPG3 || XPG4] (timer_t): Likewise.
14893 [XPG3 || XPG4] (clock_getres): Likewise.
14894 [XPG3 || XPG4] (clock_gettime): Likewise.
14895 [XPG3 || XPG4] (clock_settime): Likewise.
14896 [XPG3 || XPG4] (nanosleep): Likewise.
14897 [XPG3 || XPG4] (timer_create): Likewise.
14898 [XPG3 || XPG4] (timer_delete): Likewise.
14899 [XPG3 || XPG4] (timer_gettime): Likewise.
14900 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14901 [XPG3 || XPG4] (timer_settime): Likewise.
14902 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14903 [XPG3 || XPG4] (getlogin_r): Likewise.
14904 [XPG3 || XPG4] (pread): Likewise.
14905 [XPG3 || XPG4] (pthread_atfork): Likewise.
14906 [XPG3 || XPG4] (pwrite): Likewise.
14907
14908 [BZ #14835]
14909 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14910 <bits/siginfo.h>.
14911
149122012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14913
14914 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14915 finalizing MALLSTREAM.
14916
14917 * sysdeps/mach/hurd/syncfs.c: New file.
14918
149192012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14920
14921 [BZ #14719]
14922 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14923 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14924 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14925 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14926 (_nss_dns_gethostbyname4_r): Likewise.
14927 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14928 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14929
149302012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14931
14932 [BZ #13763]
14933 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14934
149352012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14936
14937 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14938 * elf/cache.c (print_entry): Print ",AArch64" for
14939 FLAG_AARCH64_LIB64
14940
14941 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14942 * elf/cache.c (print_entry): Print ",hard-float" for
14943 FLAG_ARM_LIBHF.
14944
149452012-11-18 David S. Miller <davem@davemloft.net>
14946
14947 With help from Joseph Myers.
14948 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14949 cutoff to 2**-13.
14950 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14951 cutoff to 2**-25.
14952 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14953 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14954 small.
14955 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14956 * math/libm-test.inc (y0_test): New tests.
14957 (y1_test): New tests.
14958 * sysdeps/i386/fpu/libm-test-ulps: Update.
14959 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14961
149622012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14963
14964 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14965 64-bit targets.
14966 * configure: Regenerated.
14967
149682012-11-17 David S. Miller <davem@davemloft.net>
14969
14970 [BZ #14811]
14971 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14972 nonzero exponents with absolute value below 0x1p-128 to +/-
14973 0x1p-128.
14974
149752012-11-17 Joseph Myers <joseph@codesourcery.com>
14976
14977 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14978
14979 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14980
14981 * posix/getconf-speclist.c: New file.
14982 * posix/posix-envs.def: Likewise.
14983 * posix/confstr.c (START_ENV_GROUP): New macro.
14984 (END_ENV_GROUP): Likewise.
14985 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14986 (KNOWN_PRESENT_ENV_STRING): Likewise.
14987 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14988 (UNKNOWN_ENVIRONMENT): Likewise.
14989 (confstr): Include posix-envs.def instead of handling
14990 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14991 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14992 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14993 (END_ENV_GROUP): Likewise.
14994 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14995 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14996 (UNKNOWN_ENVIRONMENT): Likewise.
14997 (__sysconf): Include posix-envs.def instead of handling associated
14998 cases directly here.
14999 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15000 preprocessing getconf-speclist.c rather than running getconf or
15001 generating empty file.
15002
150032012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15004
15005 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15006
150072012-11-16 Andrej Lajovic <natrij@gmail.com>
15008
15009 [BZ #14672]
15010 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15011
150122012-11-16 David S. Miller <davem@davemloft.net>
15013
15014 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15015 smaller than LDBL_EPSILON/2.0L, just return xm1.
15016
150172012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15018
15019 * elf/tst-array1.c (init): Set constructor priority to 1000.
15020 (fini): Set destructor priority to 1000.
15021 * elf/tst-array2dep.c: Likewise.
15022
150232012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15024
15025 [BZ #11741]
15026 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15027 (_IO_new_file_xsputn): Also return EOF if none of the input
15028 data was written when overflow failed.
15029 * libio/iopadn.c (_IO_padn): Likewise.
15030 * libio/iowpadn.c (_IO_wpadn): Likewise.
15031 * stdio-common/tst-put-error.c: Add copyright notice.
15032 (do_test): Add case for printing padded string.
15033 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15034 _IO_padn returned error.
15035 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15036 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15037 return EOF.
15038
150392012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15040
15041 * libio/libioP.h: Add comment note that the references to C++
15042 bits are now obsolete.
15043
150442012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15045
15046 * math/libm-test.inc (check_complex): Use asprintf.
15047
150482012-11-14 Joseph Myers <joseph@codesourcery.com>
15049
15050 * debug/pcprofiledump.c (print_version): Update copyright year.
15051 * malloc/memusagestat.c (print_version): Likewise.
15052
150532012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15054
15055 [BZ #14831]
15056 * elf/Makefile (tests): Add tst-audit8.
15057 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15058 ($(objpfx)tst-audit8.out): New target.
15059 (tst-audit8-ENV): New variable.
15060 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15061 audit if l_reloc_result is NULL.
15062 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15063 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15064 * elf/tst-audit8.c: New file.
15065
150662012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15067
15068 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15069 * misc/Makefile (CFLAGS-select.c): Define.
15070 * posix/Makefile (CFLAGS-pause.c): Define.
15071
150722012-11-13 David S. Miller <davem@davemloft.net>
15073
15074 * crypt/Makefile: Move test targets after toplevel Rules
15075 inclusion. Grab any necessary sysdep routines when linking.
15076 * crypt/md5.c (md5_process_block): Remove define, we will always
15077 name it __md5_process_block.
15078 (md5_finish_ctx): Update md5_process_block call.
15079 (md5_stream): Likewise.
15080 (md5_process_bytes): Likewise.
15081 (md5_process_block): Rename to __md5_process_block and move to ...
15082 * crypt/md5-block.c: ... here.
15083 * crypt/sha256.c (sha256_process_block): Move to ...
15084 * crypt/sha256-block.c: ... here.
15085 * crypt/sha512.c (sha512_process_block): Move to ...
15086 * crypt/sha512-block.c: ... here.
15087 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15088 path.
15089 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15090 * sysdeps/sparc/sparc64/multiarch/Makefile
15091 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15092 crypt subdir.
15093 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15094 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15095 multiarch changes.
15096 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15097 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15098 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15099 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15100 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15101 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15102 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15103 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15104 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15105 file.
15106 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15107 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15108 file.
15109 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15110
151112012-11-13 Joseph Myers <joseph@codesourcery.com>
15112
15113 * timezone/tzselect.ksh: Update from tzcode git revision
15114 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15115 * timezone/zdump.c: Likewise.
15116 * timezone/zic.c: Likewise.
15117 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15118 in TZVERSION setting, not $(PKGVERSION).
15119 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15120 REPORT_BUGS_TO settings.
15121
15122 [BZ #14838]
15123 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15124 macro.
15125
151262012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15127
15128 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15129 detection to immediately after _FP_ROUND().
15130 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15131 bits are 0.
15132
151332012-11-11 David S. Miller <davem@davemloft.net>
15134
15135 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15136 inttypes.h
15137 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15138 __close rather than their public counterparts.
15139
151402012-11-10 Joseph Myers <joseph@codesourcery.com>
15141
15142 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15143 file.
15144 [UNIX98] (sem_timedwait): Do not expect.
15145 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15146 [XPG4 || UNIX98] (sockatmark): Do not expect.
15147 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15148 (clock_getcpuclockid): Do not expect.
15149 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15150 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15151 Do not expect.
15152 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15153 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15154 [UNIX98] (vwscanf): Likewise.
15155 [UNIX98] (vswscanf): Likewise.
15156
151572012-11-09 Joseph Myers <joseph@codesourcery.com>
15158
15159 * timezone/version.h: Remove file.
15160 * timezone/README: Do not refer to version.h.
15161 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15162 $(objpfx)version.h.
15163 ($(objpfx)zdump.o): Likewise.
15164 ($(objpfx)version.h): New target.
15165
15166 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15167 2012i.
15168 * timezone/README: Don't mention modification to tzselect.ksh.
15169 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15170 work on unmodified tzselect.ksh. Substitute version numbers in
15171 tzselect.ksh.
15172
15173 * Makefile (format-me): Remove.
15174 (INSTALL): Adjust indentation. Use commands directly instead of
15175 using $(format-me).
15176
15177 * aclocal.m4 (ACX_PKGVERSION): New macro.
15178 (ACX_BUGURL): Likewise.
15179 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15180 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15181 (REPORT_BUGS_TO): Likewise.
15182 * configure: Regenerated.
15183 * config.h.in (PKGVERSION): New macro.
15184 (REPORT_BUGS_TO): Likewise.
15185 * config.make.in (PKGVERSION): New variable.
15186 (PKGVERSION_TEXI): Likewise.
15187 (REPORT_BUGS_TO): Likewise.
15188 (REPORT_BUGS_TEXI): Likewise.
15189 * Makefile (format-me): Use -I$(common-objpfx)manual.
15190 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15191 ($(common-objpfx)manual/%): New target.
15192 (manual/%): Remove target.
15193 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15194 (print_version): Use PKGVERSION.
15195 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15196 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15197 and REPORT_BUGS_TO.
15198 ($(objpfx)xtrace): Likewise.
15199 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15200 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15201 (print_version): Use PKGVERSION.
15202 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15203 (do_version): Use PKGVERSION.
15204 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15205 REPORT_BUGS_TO.
15206 (common-ldd-rewrite): Likewise.
15207 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15208 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15209 (print_version): Use PKGVERSION.
15210 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15211 * elf/pldd.c (argp_program_bug_address): Remove variable.
15212 (more_help): New function.
15213 (argp): Use more_help.
15214 (print_version): Use PKGVERSION.
15215 * elf/sln.c (main): Use PKGVERSION.
15216 (usage): Use REPORT_BUGS_TO.
15217 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15218 (top level): Use PKGVERSION.
15219 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15220 (print_version): Use PKGVERSION.
15221 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15222 (print_version): Use PKGVERSION.
15223 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15224 (print_version): Use PKGVERSION.
15225 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15226 (print_version): Use PKGVERSION.
15227 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15228 (print_version): Use PKGVERSION.
15229 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15230 (print_version): Use PKGVERSION.
15231 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15232 and BUGURL.
15233 ($(objpfx)memusage): Likewise.
15234 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15235 (do_version): Use PKGVERSION.
15236 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15237 (print_version): Use PKGVERSION.
15238 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15239 ($PKGVERSION): New variable.
15240 ($REPORT_BUGS_TO): Likewise.
15241 (usage): Use $REPORT_BUGS_TO.
15242 (top level): Use $PKGVERSION.
15243 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15244 ($(objpfx)pkgvers.texi): New rule.
15245 ($(objpfx)stamp-pkgvers): Likewise.
15246 * manual/install.texi: Include pkgvers.texi.
15247 (--with-pkgversion): Document new configure option.
15248 (--with-bugurl): Likewise.
15249 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15250 than necessarily for this particular distribution. Use
15251 REPORT_BUGS_TO for where to report bugs.
15252 * INSTALL: Regenerated.
15253 * manual/libc.texinfo: Include pkgvers.texi.
15254 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15255 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15256 (print_version): Use PKGVERSION.
15257 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15258 (print_version): Use PKGVERSION.
15259 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15260 (print_version): Use PKGVERSION.
15261 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15262 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15263 macro.
15264 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15265 (print_version): Use PKGVERSION.
15266 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15267 (print_version): Use PKGVERSION.
15268 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15269 and PKGVERSION.
15270
15271 * timezone/checktab.awk: Update from tzcode 2012i.
15272 * timezone/ialloc.c: Likewise.
15273 * timezone/private.h: Likewise.
15274 * timezone/scheck.c: Likewise.
15275 * timezone/tzfile.h: Likewise.
15276 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15277 (TZVERSION): Hardcode tzcode version number.
15278 * timezone/zdump.c: Update from tzcode 2012i.
15279 * timezone/zic.c: Likewise.
15280 * timezone/version.h: New file.
15281 * timezone/README: Describe version.h. Update upstream location.
15282
15283 [BZ #14824]
15284 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15285 (mktemp): Enable declaration.
15286 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15287 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15288 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15289 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15290 Likewise.
15291 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15292 Likewise.
15293 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15294 Likewise.
15295 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15296 Likewise.
15297 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15298 Likewise.
15299 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15300 Likewise.
15301
15302 [BZ #14821]
15303 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15304 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15305 for copies of such integer values.
15306 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15307 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15308
153092012-11-09 Andreas Jaeger <aj@suse.de>
15310
15311 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15312 definitions and declarations that are provided by
15313 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15314
153152012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15316
15317 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15318 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15319 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15320 definition.
15321
153222012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15323
15324 * elf/elf.h: Update comment before AArch64 relocations.
15325
153262012-11-07 David S. Miller <davem@davemloft.net>
15327
15328 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15329 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15330 (__start_context): Declare.
15331 (__makecontext_ret): Delete.
15332 (__makecontext): Hook up __start_context instead of
15333 __makecontext_ret.
15334 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15335 (sysdep_routines): Add __start_context when in stdlib.
15336
153372012-11-07 Joseph Myers <joseph@codesourcery.com>
15338
15339 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15340 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15341 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15342 hardcoded "nm".
15343 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15344 (READELF): New variable. Use it instead of hardcoded "readelf".
15345
153462012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15347
15348 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15349 * sysdeps/x86/Makefile: Here.
15350 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15351 * sysdeps/x86/tst-xmmymm.sh: This.
15352
153532012-11-07 Joseph Myers <joseph@codesourcery.com>
15354
15355 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15356 expectations.
15357 [UNIX98] (pthread_barrier_t): Do not expect.
15358 [UNIX98] (pthread_barrierattr_t): Likewise.
15359 [UNIX98] (pthread_spinlock_t): Likewise.
15360 [UNIX98] (pthread_barrier_destroy): Likewise.
15361 [UNIX98] (pthread_barrier_init): Likewise.
15362 [UNIX98] (pthread_barrier_wait): Likewise.
15363 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15364 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15365 [UNIX98] (pthread_barrierattr_init): Likewise.
15366 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15367 [UNIX98] (pthread_getcpuclockid): Likewise.
15368 [UNIX98] (pthread_mutex_timedlock): Likewise.
15369 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15370 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15371 [UNIX98] (pthread_sigmask): Likewise.
15372 [UNIX98] (pthread_spin_destroy): Likewise.
15373 [UNIX98] (pthread_spin_init): Likewise.
15374 [UNIX98] (pthread_spin_lock): Likewise.
15375 [UNIX98] (pthread_spin_trylock): Likewise.
15376 [UNIX98] (pthread_spin_unlock): Likewise.
15377 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15378 Do not expect.
15379 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15380 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15381 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15382 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15383 [XPG3 || XPG4] (pthread_key_t): Likewise.
15384 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15385 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15386 [XPG3 || XPG4] (pthread_once_t): Likewise.
15387 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15388 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15389 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15390 [XPG3 || XPG4] (pthread_t): Likewise.
15391
15392 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15393 not expect.
15394 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15395
15396 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15397 Change function return type to int.
15398
15399 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15400 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15401 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15402 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15403 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15404 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15405 [!POSIX] (posix_madvise): Likewise.
15406 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15407 && !UNIX98].
15408 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15409 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15410 (mode_t): Likewise.
15411 (posix_mem_offset): Likewise.
15412 (posix_typed_mem_get_info): Likewise.
15413 (posix_typed_mem_open): Likewise.
15414
15415 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15416 Change condition to [XOPEN2K8].
15417
15418 * conform/conformtest.pl: Preprocess allow-header data with -x c
15419 instead of from stdin.
15420 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15421 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15422 [C99-based standards] (cerfc): Likewise.
15423 [C99-based standards] (cexp2): Likewise.
15424 [C99-based standards] (cexpm1): Likewise.
15425 [C99-based standards] (clog10): Likewise.
15426 [C99-based standards] (clog1p): Likewise.
15427 [C99-based standards] (clog2): Likewise.
15428 [C99-based standards] (clgamma): Likewise.
15429 [C99-based standards] (ctgamma): Likewise.
15430 [C99-based standards] (cerff): Likewise.
15431 [C99-based standards] (cerfcf): Likewise.
15432 [C99-based standards] (cexp2f): Likewise.
15433 [C99-based standards] (cexpm1f): Likewise.
15434 [C99-based standards] (clog10f): Likewise.
15435 [C99-based standards] (clog1pf): Likewise.
15436 [C99-based standards] (clog2f): Likewise.
15437 [C99-based standards] (clgammaf): Likewise.
15438 [C99-based standards] (ctgammaf): Likewise.
15439 [C99-based standards] (cerfl): Likewise.
15440 [C99-based standards] (cerfcl): Likewise.
15441 [C99-based standards] (cexp2l): Likewise.
15442 [C99-based standards] (cexpm1l): Likewise.
15443 [C99-based standards] (clog10l): Likewise.
15444 [C99-based standards] (clog1pl): Likewise.
15445 [C99-based standards] (clog2l): Likewise.
15446 [C99-based standards] (clgammal): Likewise.
15447 [C99-based standards] (ctgammal): Likewise.
15448 * conform/data/inttypes.h-data [C99-based standards]: Include
15449 stdint.h-data. Remove all expectations for stdint.h contents.
15450 [C99-based standards] (PRI*): Do not allow.
15451 [C99-based standards] (SCN*): Likewise.
15452 [C99-based standards] (*_t): Likewise.
15453 [C99-based-standards] (PRId8): Expect macro.
15454 [C99-based-standards] (PRIi8): Likewise.
15455 [C99-based-standards] (PRIo8): Likewise.
15456 [C99-based-standards] (PRIu8): Likewise.
15457 [C99-based-standards] (PRIx8): Likewise.
15458 [C99-based-standards] (PRIX8): Likewise.
15459 [C99-based-standards] (SCNd8): Likewise.
15460 [C99-based-standards] (SCNi8): Likewise.
15461 [C99-based-standards] (SCNo8): Likewise.
15462 [C99-based-standards] (SCNu8): Likewise.
15463 [C99-based-standards] (SCNx8): Likewise.
15464 [C99-based-standards] (PRIdLEAST8): Likewise.
15465 [C99-based-standards] (PRIiLEAST8): Likewise.
15466 [C99-based-standards] (PRIoLEAST8): Likewise.
15467 [C99-based-standards] (PRIuLEAST8): Likewise.
15468 [C99-based-standards] (PRIxLEAST8): Likewise.
15469 [C99-based-standards] (PRIXLEAST8): Likewise.
15470 [C99-based-standards] (SCNdLEAST8): Likewise.
15471 [C99-based-standards] (SCNiLEAST8): Likewise.
15472 [C99-based-standards] (SCNoLEAST8): Likewise.
15473 [C99-based-standards] (SCNuLEAST8): Likewise.
15474 [C99-based-standards] (SCNxLEAST8): Likewise.
15475 [C99-based-standards] (PRIdFAST8): Likewise.
15476 [C99-based-standards] (PRIiFAST8): Likewise.
15477 [C99-based-standards] (PRIoFAST8): Likewise.
15478 [C99-based-standards] (PRIuFAST8): Likewise.
15479 [C99-based-standards] (PRIxFAST8): Likewise.
15480 [C99-based-standards] (PRIXFAST8): Likewise.
15481 [C99-based-standards] (SCNdFAST8): Likewise.
15482 [C99-based-standards] (SCNiFAST8): Likewise.
15483 [C99-based-standards] (SCNoFAST8): Likewise.
15484 [C99-based-standards] (SCNuFAST8): Likewise.
15485 [C99-based-standards] (SCNxFAST8): Likewise.
15486 [C99-based-standards] (PRId16): Likewise.
15487 [C99-based-standards] (PRIi16): Likewise.
15488 [C99-based-standards] (PRIo16): Likewise.
15489 [C99-based-standards] (PRIu16): Likewise.
15490 [C99-based-standards] (PRIx16): Likewise.
15491 [C99-based-standards] (PRIX16): Likewise.
15492 [C99-based-standards] (SCNd16): Likewise.
15493 [C99-based-standards] (SCNi16): Likewise.
15494 [C99-based-standards] (SCNo16): Likewise.
15495 [C99-based-standards] (SCNu16): Likewise.
15496 [C99-based-standards] (SCNx16): Likewise.
15497 [C99-based-standards] (PRIdLEAST16): Likewise.
15498 [C99-based-standards] (PRIiLEAST16): Likewise.
15499 [C99-based-standards] (PRIoLEAST16): Likewise.
15500 [C99-based-standards] (PRIuLEAST16): Likewise.
15501 [C99-based-standards] (PRIxLEAST16): Likewise.
15502 [C99-based-standards] (PRIXLEAST16): Likewise.
15503 [C99-based-standards] (SCNdLEAST16): Likewise.
15504 [C99-based-standards] (SCNiLEAST16): Likewise.
15505 [C99-based-standards] (SCNoLEAST16): Likewise.
15506 [C99-based-standards] (SCNuLEAST16): Likewise.
15507 [C99-based-standards] (SCNxLEAST16): Likewise.
15508 [C99-based-standards] (PRIdFAST16): Likewise.
15509 [C99-based-standards] (PRIiFAST16): Likewise.
15510 [C99-based-standards] (PRIoFAST16): Likewise.
15511 [C99-based-standards] (PRIuFAST16): Likewise.
15512 [C99-based-standards] (PRIxFAST16): Likewise.
15513 [C99-based-standards] (PRIXFAST16): Likewise.
15514 [C99-based-standards] (SCNdFAST16): Likewise.
15515 [C99-based-standards] (SCNiFAST16): Likewise.
15516 [C99-based-standards] (SCNoFAST16): Likewise.
15517 [C99-based-standards] (SCNuFAST16): Likewise.
15518 [C99-based-standards] (SCNxFAST16): Likewise.
15519 [C99-based-standards] (PRId32): Likewise.
15520 [C99-based-standards] (PRIi32): Likewise.
15521 [C99-based-standards] (PRIo32): Likewise.
15522 [C99-based-standards] (PRIu32): Likewise.
15523 [C99-based-standards] (PRIx32): Likewise.
15524 [C99-based-standards] (PRIX32): Likewise.
15525 [C99-based-standards] (SCNd32): Likewise.
15526 [C99-based-standards] (SCNi32): Likewise.
15527 [C99-based-standards] (SCNo32): Likewise.
15528 [C99-based-standards] (SCNu32): Likewise.
15529 [C99-based-standards] (SCNx32): Likewise.
15530 [C99-based-standards] (PRIdLEAST32): Likewise.
15531 [C99-based-standards] (PRIiLEAST32): Likewise.
15532 [C99-based-standards] (PRIoLEAST32): Likewise.
15533 [C99-based-standards] (PRIuLEAST32): Likewise.
15534 [C99-based-standards] (PRIxLEAST32): Likewise.
15535 [C99-based-standards] (PRIXLEAST32): Likewise.
15536 [C99-based-standards] (SCNdLEAST32): Likewise.
15537 [C99-based-standards] (SCNiLEAST32): Likewise.
15538 [C99-based-standards] (SCNoLEAST32): Likewise.
15539 [C99-based-standards] (SCNuLEAST32): Likewise.
15540 [C99-based-standards] (SCNxLEAST32): Likewise.
15541 [C99-based-standards] (PRIdFAST32): Likewise.
15542 [C99-based-standards] (PRIiFAST32): Likewise.
15543 [C99-based-standards] (PRIoFAST32): Likewise.
15544 [C99-based-standards] (PRIuFAST32): Likewise.
15545 [C99-based-standards] (PRIxFAST32): Likewise.
15546 [C99-based-standards] (PRIXFAST32): Likewise.
15547 [C99-based-standards] (SCNdFAST32): Likewise.
15548 [C99-based-standards] (SCNiFAST32): Likewise.
15549 [C99-based-standards] (SCNoFAST32): Likewise.
15550 [C99-based-standards] (SCNuFAST32): Likewise.
15551 [C99-based-standards] (SCNxFAST32): Likewise.
15552 [C99-based-standards] (PRId64): Likewise.
15553 [C99-based-standards] (PRIi64): Likewise.
15554 [C99-based-standards] (PRIo64): Likewise.
15555 [C99-based-standards] (PRIu64): Likewise.
15556 [C99-based-standards] (PRIx64): Likewise.
15557 [C99-based-standards] (PRIX64): Likewise.
15558 [C99-based-standards] (SCNd64): Likewise.
15559 [C99-based-standards] (SCNi64): Likewise.
15560 [C99-based-standards] (SCNo64): Likewise.
15561 [C99-based-standards] (SCNu64): Likewise.
15562 [C99-based-standards] (SCNx64): Likewise.
15563 [C99-based-standards] (PRIdLEAST64): Likewise.
15564 [C99-based-standards] (PRIiLEAST64): Likewise.
15565 [C99-based-standards] (PRIoLEAST64): Likewise.
15566 [C99-based-standards] (PRIuLEAST64): Likewise.
15567 [C99-based-standards] (PRIxLEAST64): Likewise.
15568 [C99-based-standards] (PRIXLEAST64): Likewise.
15569 [C99-based-standards] (SCNdLEAST64): Likewise.
15570 [C99-based-standards] (SCNiLEAST64): Likewise.
15571 [C99-based-standards] (SCNoLEAST64): Likewise.
15572 [C99-based-standards] (SCNuLEAST64): Likewise.
15573 [C99-based-standards] (SCNxLEAST64): Likewise.
15574 [C99-based-standards] (PRIdFAST64): Likewise.
15575 [C99-based-standards] (PRIiFAST64): Likewise.
15576 [C99-based-standards] (PRIoFAST64): Likewise.
15577 [C99-based-standards] (PRIuFAST64): Likewise.
15578 [C99-based-standards] (PRIxFAST64): Likewise.
15579 [C99-based-standards] (PRIXFAST64): Likewise.
15580 [C99-based-standards] (SCNdFAST64): Likewise.
15581 [C99-based-standards] (SCNiFAST64): Likewise.
15582 [C99-based-standards] (SCNoFAST64): Likewise.
15583 [C99-based-standards] (SCNuFAST64): Likewise.
15584 [C99-based-standards] (SCNxFAST64): Likewise.
15585 [C99-based-standards] (PRIdMAX): Likewise.
15586 [C99-based-standards] (PRIiMAX): Likewise.
15587 [C99-based-standards] (PRIoMAX): Likewise.
15588 [C99-based-standards] (PRIuMAX): Likewise.
15589 [C99-based-standards] (PRIxMAX): Likewise.
15590 [C99-based-standards] (PRIXMAX): Likewise.
15591 [C99-based-standards] (SCNdMAX): Likewise.
15592 [C99-based-standards] (SCNiMAX): Likewise.
15593 [C99-based-standards] (SCNoMAX): Likewise.
15594 [C99-based-standards] (SCNuMAX): Likewise.
15595 [C99-based-standards] (SCNxMAX): Likewise.
15596 [C99-based-standards] (PRIdPTR): Likewise.
15597 [C99-based-standards] (PRIiPTR): Likewise.
15598 [C99-based-standards] (PRIoPTR): Likewise.
15599 [C99-based-standards] (PRIuPTR): Likewise.
15600 [C99-based-standards] (PRIxPTR): Likewise.
15601 [C99-based-standards] (PRIXPTR): Likewise.
15602 [C99-based-standards] (SCNdPTR): Likewise.
15603 [C99-based-standards] (SCNiPTR): Likewise.
15604 [C99-based-standards] (SCNoPTR): Likewise.
15605 [C99-based-standards] (SCNuPTR): Likewise.
15606 [C99-based-standards] (SCNxPTR): Likewise.
15607 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15608 allow.
15609 * conform/data/stdint.h-data: Update comments to clarify
15610 requirements.
15611 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15612 type.
15613 [C99-based standards] (INT8_MAX): Likewise.
15614 [C99-based standards] (INT16_MIN): Likewise.
15615 [C99-based standards] (INT16_MAX): Likewise.
15616 [C99-based standards] (INT32_MIN): Likewise.
15617 [C99-based standards] (INT32_MAX): Likewise.
15618 [C99-based standards] (INT64_MIN): Likewise.
15619 [C99-based standards] (INT64_MAX): Likewise.
15620 [C99-based standards] (UINT8_MAX): Likewise.
15621 [C99-based standards] (UINT16_MAX): Likewise.
15622 [C99-based standards] (UINT32_MAX): Likewise.
15623 [C99-based standards] (UINT64_MAX): Likewise.
15624 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15625 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15626 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15627 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15628 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15629 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15630 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15631 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15632 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15633 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15634 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15635 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15636 [C99-based standards] (INT_FAST8_MIN): Likewise.
15637 [C99-based standards] (INT_FAST8_MAX): Likewise.
15638 [C99-based standards] (INT_FAST16_MIN): Likewise.
15639 [C99-based standards] (INT_FAST16_MAX): Likewise.
15640 [C99-based standards] (INT_FAST32_MIN): Likewise.
15641 [C99-based standards] (INT_FAST32_MAX): Likewise.
15642 [C99-based standards] (INT_FAST64_MIN): Likewise.
15643 [C99-based standards] (INT_FAST64_MAX): Likewise.
15644 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15645 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15646 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15647 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15648 [C99-based standards] (INTPTR_MIN): Likewise.
15649 [C99-based standards] (INTPTR_MAX): Likewise.
15650 [C99-based standards] (UINTPTR_MAX): Likewise.
15651 [C99-based standards] (INTMAX_MIN): Likewise.
15652 [C99-based standards] (INTMAX_MAX): Likewise.
15653 [C99-based standards] (UINTMAX_MAX): Likewise.
15654 [C99-based standards] (PTRDIFF_MIN): Likewise.
15655 [C99-based standards] (PTRDIFF_MAX): Likewise.
15656 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15657 [C99-based standards] (SIZE_MAX): Likewise.
15658 [C99-based standards] (WCHAR_MAX): Likewise.
15659 [C99-based standards] (WINT_MAX): Likewise.
15660 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15661 constraint on value.
15662 [C99-based standards] (WCHAR_MIN): Likewise.
15663 [C99-based standards] (WINT_MIN): Likewise.
15664 [C99-based standards] (*_t): Allow.
15665 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15666 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15667 Include math.h-data and complex.h-data. Remove all expectations
15668 of math.h and complex.h contents.
15669 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15670 at end of line.
15671 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15672 (struct tm): Expect tag.
15673 [C99-based-standards] (wcstof): Expect function.
15674 [C99-based-standards] (wcstold): Likewise.
15675 [C99-based-standards] (wcstoll): Likewise.
15676 [C99-based-standards] (wcstoull): Likewise.
15677 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15678 macro-int-constant. Specify type.
15679 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15680 constraint on value.
15681 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15682 Specify type.
15683 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15684 Specify value.
15685 [ISO C standards]: Do not allow headers.
15686 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15687 wcs[abcdefghijklmnopqrstuvwxyz]*.
15688 [ISO C standards] (*_t): Do not allow.
15689 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15690 Expect function.
15691 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15692 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15693 Specify type.
15694 [ISO C standards]: Do not allow headers.
15695 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15696 is[abcdefghijklmnopqrstuvwxyz]*.
15697 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15698 to[abcdefghijklmnopqrstuvwxyz]*.
15699 [ISO C standards] (*_t): Do not allow.
15700 * conform/data/stdalign.h-data: New file.
15701 * conform/data/stdbool.h-data: Likewise.
15702 * conform/data/stdnoreturn.h-data: Likewise.
15703
157042012-11-07 Roland McGrath <roland@hack.frob.com>
15705
15706 [BZ #14815]
15707 * manual/filesys.texi (Directory Entries): Typo fix.
15708 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15709
157102012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15711
15712 * elf/elf.h (EM_AARCH64): New macro.
15713 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15714 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15715 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15716 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15717 (R_AARCH64_TLSDESC): Likewise.
15718 (NT_ARM_TLS): Likewise.
15719 (NT_ARM_HW_BREAK): Likewise.
15720 (NT_ARM_HW_WATCH): Likewise.
15721
157222012-11-07 Joseph Myers <joseph@codesourcery.com>
15723
15724 [BZ #14811]
15725 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15726 (__ieee754_powl): Saturate nonzero exponents with absolute value
15727 below 0x1p-79 to +/- 0x1p-79.
15728 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15729 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15730 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15731 nonzero exponents with absolute value below 0x1p-32 to +/-
15732 0x1p-32.
15733 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15734 (__ieee754_powl): Saturate nonzero exponents with absolute value
15735 below 0x1p-79 to +/- 0x1p-79.
15736 * math/libm-test.inc (pow_test): Add more tests.
15737
157382012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15739
15740 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15741 _dl_s390_cap_flags with kernel. Increase string length.
15742 (_dl_s390_platforms): Add z196 and zEC12.
15743
157442012-11-07 Joseph Myers <joseph@codesourcery.com>
15745
15746 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15747 Change XOPEN21K to XOPEN2K.
15748
157492012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15750
15751 * string/memmove.c: Use memcpy when possible.
15752
157532012-11-06 Andreas Jaeger <aj@suse.de>
15754
15755 * po/eo.po: Update from translation team.
15756
157572012-11-06 Joseph Myers <joseph@codesourcery.com>
15758
15759 [BZ #14793]
15760 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15761 exponent and small x and y exponents, scale x or y up. Increase
15762 by 2 the exponent used in scaling up.
15763 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15764 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15765 * math/libm-test.inc (fma_test): Add more tests.
15766 (fma_test_towardzero): Likewise.
15767 (fma_test_downward): Likewise.
15768 (fma_test_upward): Likewise.
15769
157702012-11-05 Joseph Myers <joseph@codesourcery.com>
15771
15772 [BZ #14805]
15773 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15774 fenv_t *.
15775
15776 [BZ #14801]
15777 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15778 namespace for names of struct fields.
15779 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15780 fenv_t fields.
15781 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15782 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15783
157842012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15785
15786 [BZ #3665]
15787 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15788
157892012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15790
15791 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15792 PTR_DEMANGLE.
15793
15794 [BZ #5246]
15795 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15796 PTR_DEMANGLE.
15797
157982012-11-04 Joseph Myers <joseph@codesourcery.com>
15799
15800 [BZ #14797]
15801 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15802 definitely overflow as x * y not x * y + z.
15803 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15804 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15805 * math/libm-test.inc (fma_test): Add more tests.
15806 (fma_test_towardzero): Likewise.
15807 (fma_test_downward): Likewise.
15808 (fma_test_upward): Likewise.
15809
158102012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15811
15812 [BZ #157]
15813
15814 * include/stub-tag.h: Remove file.
15815 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15816 '#include' of it.
15817 * manual/maint.texi (Porting): Don't reference it.
15818 * Makerules ($(objpfx)stubs): Likewise.
15819 * dirent/closedir.c: Don't include <stub-tag.h>.
15820 * dirent/dirfd.c: Likewise.
15821 * dirent/fdopendir.c: Likewise.
15822 * dirent/getdents.c: Likewise.
15823 * dirent/getdents64.c: Likewise.
15824 * dirent/opendir.c: Likewise.
15825 * dirent/readdir.c: Likewise.
15826 * dirent/readdir64.c: Likewise.
15827 * dirent/readdir64_r.c: Likewise.
15828 * dirent/readdir_r.c: Likewise.
15829 * dirent/rewinddir.c: Likewise.
15830 * dirent/seekdir.c: Likewise.
15831 * dirent/telldir.c: Likewise.
15832 * gmon/profil.c: Likewise.
15833 * grp/setgroups.c: Likewise.
15834 * inet/if_index.c: Likewise.
15835 * io/access.c: Likewise.
15836 * io/chdir.c: Likewise.
15837 * io/chmod.c: Likewise.
15838 * io/chown.c: Likewise.
15839 * io/close.c: Likewise.
15840 * io/dup.c: Likewise.
15841 * io/dup2.c: Likewise.
15842 * io/dup3.c: Likewise.
15843 * io/euidaccess.c: Likewise.
15844 * io/faccessat.c: Likewise.
15845 * io/fchdir.c: Likewise.
15846 * io/fchmod.c: Likewise.
15847 * io/fchmodat.c: Likewise.
15848 * io/fchown.c: Likewise.
15849 * io/fchownat.c: Likewise.
15850 * io/fcntl.c: Likewise.
15851 * io/flock.c: Likewise.
15852 * io/fstatfs.c: Likewise.
15853 * io/fstatfs64.c: Likewise.
15854 * io/fstatvfs.c: Likewise.
15855 * io/fstatvfs64.c: Likewise.
15856 * io/futimens.c: Likewise.
15857 * io/fxstat.c: Likewise.
15858 * io/fxstat64.c: Likewise.
15859 * io/fxstatat.c: Likewise.
15860 * io/fxstatat64.c: Likewise.
15861 * io/getcwd.c: Likewise.
15862 * io/isatty.c: Likewise.
15863 * io/lchmod.c: Likewise.
15864 * io/lchown.c: Likewise.
15865 * io/link.c: Likewise.
15866 * io/linkat.c: Likewise.
15867 * io/lseek.c: Likewise.
15868 * io/lseek64.c: Likewise.
15869 * io/lxstat64.c: Likewise.
15870 * io/mkdir.c: Likewise.
15871 * io/mkdirat.c: Likewise.
15872 * io/mkfifo.c: Likewise.
15873 * io/mkfifoat.c: Likewise.
15874 * io/open.c: Likewise.
15875 * io/open64.c: Likewise.
15876 * io/openat.c: Likewise.
15877 * io/openat64.c: Likewise.
15878 * io/pipe.c: Likewise.
15879 * io/pipe2.c: Likewise.
15880 * io/poll.c: Likewise.
15881 * io/posix_fadvise.c: Likewise.
15882 * io/posix_fadvise64.c: Likewise.
15883 * io/posix_fallocate.c: Likewise.
15884 * io/posix_fallocate64.c: Likewise.
15885 * io/read.c: Likewise.
15886 * io/readlink.c: Likewise.
15887 * io/readlinkat.c: Likewise.
15888 * io/rmdir.c: Likewise.
15889 * io/sendfile.c: Likewise.
15890 * io/sendfile64.c: Likewise.
15891 * io/statfs.c: Likewise.
15892 * io/statfs64.c: Likewise.
15893 * io/statvfs.c: Likewise.
15894 * io/statvfs64.c: Likewise.
15895 * io/symlink.c: Likewise.
15896 * io/symlinkat.c: Likewise.
15897 * io/ttyname.c: Likewise.
15898 * io/ttyname_r.c: Likewise.
15899 * io/umask.c: Likewise.
15900 * io/unlink.c: Likewise.
15901 * io/unlinkat.c: Likewise.
15902 * io/utime.c: Likewise.
15903 * io/utimensat.c: Likewise.
15904 * io/write.c: Likewise.
15905 * io/xmknod.c: Likewise.
15906 * io/xmknodat.c: Likewise.
15907 * io/xstat.c: Likewise.
15908 * io/xstat64.c: Likewise.
15909 * login/getpt.c: Likewise.
15910 * login/grantpt.c: Likewise.
15911 * login/unlockpt.c: Likewise.
15912 * math/e_acoshl.c: Likewise.
15913 * math/e_acosl.c: Likewise.
15914 * math/e_asinl.c: Likewise.
15915 * math/e_atan2l.c: Likewise.
15916 * math/e_atanhl.c: Likewise.
15917 * math/e_coshl.c: Likewise.
15918 * math/e_expl.c: Likewise.
15919 * math/e_fmodl.c: Likewise.
15920 * math/e_gammal_r.c: Likewise.
15921 * math/e_hypotl.c: Likewise.
15922 * math/e_j0l.c: Likewise.
15923 * math/e_j1l.c: Likewise.
15924 * math/e_jnl.c: Likewise.
15925 * math/e_lgammal_r.c: Likewise.
15926 * math/e_log10l.c: Likewise.
15927 * math/e_log2l.c: Likewise.
15928 * math/e_logl.c: Likewise.
15929 * math/e_powl.c: Likewise.
15930 * math/e_rem_pio2l.c: Likewise.
15931 * math/e_sinhl.c: Likewise.
15932 * math/e_sqrtl.c: Likewise.
15933 * math/fclrexcpt.c: Likewise.
15934 * math/fedisblxcpt.c: Likewise.
15935 * math/feenablxcpt.c: Likewise.
15936 * math/fegetenv.c: Likewise.
15937 * math/fegetexcept.c: Likewise.
15938 * math/fegetround.c: Likewise.
15939 * math/feholdexcpt.c: Likewise.
15940 * math/fesetenv.c: Likewise.
15941 * math/fesetround.c: Likewise.
15942 * math/feupdateenv.c: Likewise.
15943 * math/fgetexcptflg.c: Likewise.
15944 * math/fraiseexcpt.c: Likewise.
15945 * math/fsetexcptflg.c: Likewise.
15946 * math/ftestexcept.c: Likewise.
15947 * math/k_cosl.c: Likewise.
15948 * math/k_rem_pio2l.c: Likewise.
15949 * math/k_sinl.c: Likewise.
15950 * math/k_tanl.c: Likewise.
15951 * math/s_asinhl.c: Likewise.
15952 * math/s_atanl.c: Likewise.
15953 * math/s_cbrtl.c: Likewise.
15954 * math/s_erfl.c: Likewise.
15955 * math/s_expm1l.c: Likewise.
15956 * math/s_log1pl.c: Likewise.
15957 * math/s_tanhl.c: Likewise.
15958 * misc/acct.c: Likewise.
15959 * misc/brk.c: Likewise.
15960 * misc/chflags.c: Likewise.
15961 * misc/chroot.c: Likewise.
15962 * misc/fchflags.c: Likewise.
15963 * misc/fgetxattr.c: Likewise.
15964 * misc/flistxattr.c: Likewise.
15965 * misc/fremovexattr.c: Likewise.
15966 * misc/fsetxattr.c: Likewise.
15967 * misc/fsync.c: Likewise.
15968 * misc/ftruncate.c: Likewise.
15969 * misc/futimes.c: Likewise.
15970 * misc/futimesat.c: Likewise.
15971 * misc/getdomain.c: Likewise.
15972 * misc/getdtsz.c: Likewise.
15973 * misc/gethostid.c: Likewise.
15974 * misc/gethostname.c: Likewise.
15975 * misc/getloadavg.c: Likewise.
15976 * misc/getpagesize.c: Likewise.
15977 * misc/getsysstats.c: Likewise.
15978 * misc/getxattr.c: Likewise.
15979 * misc/gtty.c: Likewise.
15980 * misc/ioctl.c: Likewise.
15981 * misc/lgetxattr.c: Likewise.
15982 * misc/listxattr.c: Likewise.
15983 * misc/llistxattr.c: Likewise.
15984 * misc/lremovexattr.c: Likewise.
15985 * misc/lsetxattr.c: Likewise.
15986 * misc/lutimes.c: Likewise.
15987 * misc/madvise.c: Likewise.
15988 * misc/mincore.c: Likewise.
15989 * misc/mlock.c: Likewise.
15990 * misc/mlockall.c: Likewise.
15991 * misc/mmap.c: Likewise.
15992 * misc/mprotect.c: Likewise.
15993 * misc/msync.c: Likewise.
15994 * misc/munlock.c: Likewise.
15995 * misc/munlockall.c: Likewise.
15996 * misc/munmap.c: Likewise.
15997 * misc/preadv.c: Likewise.
15998 * misc/preadv64.c: Likewise.
15999 * misc/ptrace.c: Likewise.
16000 * misc/pwritev.c: Likewise.
16001 * misc/pwritev64.c: Likewise.
16002 * misc/readv.c: Likewise.
16003 * misc/reboot.c: Likewise.
16004 * misc/remap_file_pages.c: Likewise.
16005 * misc/removexattr.c: Likewise.
16006 * misc/revoke.c: Likewise.
16007 * misc/select.c: Likewise.
16008 * misc/setdomain.c: Likewise.
16009 * misc/setegid.c: Likewise.
16010 * misc/seteuid.c: Likewise.
16011 * misc/sethostid.c: Likewise.
16012 * misc/sethostname.c: Likewise.
16013 * misc/setregid.c: Likewise.
16014 * misc/setreuid.c: Likewise.
16015 * misc/setxattr.c: Likewise.
16016 * misc/sstk.c: Likewise.
16017 * misc/stty.c: Likewise.
16018 * misc/swapoff.c: Likewise.
16019 * misc/swapon.c: Likewise.
16020 * misc/sync.c: Likewise.
16021 * misc/syncfs.c: Likewise.
16022 * misc/syscall.c: Likewise.
16023 * misc/truncate.c: Likewise.
16024 * misc/ualarm.c: Likewise.
16025 * misc/usleep.c: Likewise.
16026 * misc/ustat.c: Likewise.
16027 * misc/utimes.c: Likewise.
16028 * misc/vhangup.c: Likewise.
16029 * misc/writev.c: Likewise.
16030 * posix/_exit.c: Likewise.
16031 * posix/alarm.c: Likewise.
16032 * posix/execve.c: Likewise.
16033 * posix/fexecve.c: Likewise.
16034 * posix/fork.c: Likewise.
16035 * posix/fpathconf.c: Likewise.
16036 * posix/getaddrinfo.c: Likewise.
16037 * posix/getegid.c: Likewise.
16038 * posix/geteuid.c: Likewise.
16039 * posix/getgid.c: Likewise.
16040 * posix/getgroups.c: Likewise.
16041 * posix/getlogin.c: Likewise.
16042 * posix/getlogin_r.c: Likewise.
16043 * posix/getpgid.c: Likewise.
16044 * posix/getpid.c: Likewise.
16045 * posix/getppid.c: Likewise.
16046 * posix/getresgid.c: Likewise.
16047 * posix/getresuid.c: Likewise.
16048 * posix/getsid.c: Likewise.
16049 * posix/getuid.c: Likewise.
16050 * posix/glob64.c: Likewise.
16051 * posix/nanosleep.c: Likewise.
16052 * posix/pathconf.c: Likewise.
16053 * posix/pause.c: Likewise.
16054 * posix/posix_madvise.c: Likewise.
16055 * posix/pread.c: Likewise.
16056 * posix/pread64.c: Likewise.
16057 * posix/pwrite.c: Likewise.
16058 * posix/pwrite64.c: Likewise.
16059 * posix/sched_getaffinity.c: Likewise.
16060 * posix/sched_getp.c: Likewise.
16061 * posix/sched_gets.c: Likewise.
16062 * posix/sched_primax.c: Likewise.
16063 * posix/sched_primin.c: Likewise.
16064 * posix/sched_rr_gi.c: Likewise.
16065 * posix/sched_setaffinity.c: Likewise.
16066 * posix/sched_setp.c: Likewise.
16067 * posix/sched_sets.c: Likewise.
16068 * posix/sched_yield.c: Likewise.
16069 * posix/setgid.c: Likewise.
16070 * posix/setlogin.c: Likewise.
16071 * posix/setpgid.c: Likewise.
16072 * posix/setresgid.c: Likewise.
16073 * posix/setresuid.c: Likewise.
16074 * posix/setsid.c: Likewise.
16075 * posix/setuid.c: Likewise.
16076 * posix/sleep.c: Likewise.
16077 * posix/spawni.c: Likewise.
16078 * posix/sysconf.c: Likewise.
16079 * posix/times.c: Likewise.
16080 * posix/wait.c: Likewise.
16081 * posix/wait3.c: Likewise.
16082 * posix/wait4.c: Likewise.
16083 * posix/waitpid.c: Likewise.
16084 * resolv/gai_sigqueue.c: Likewise.
16085 * resource/getpriority.c: Likewise.
16086 * resource/getrlimit.c: Likewise.
16087 * resource/getrusage.c: Likewise.
16088 * resource/nice.c: Likewise.
16089 * resource/setpriority.c: Likewise.
16090 * resource/setrlimit.c: Likewise.
16091 * resource/ulimit.c: Likewise.
16092 * rt/aio_cancel.c: Likewise.
16093 * rt/aio_fsync.c: Likewise.
16094 * rt/aio_read.c: Likewise.
16095 * rt/aio_sigqueue.c: Likewise.
16096 * rt/aio_suspend.c: Likewise.
16097 * rt/aio_write.c: Likewise.
16098 * rt/clock_getres.c: Likewise.
16099 * rt/clock_gettime.c: Likewise.
16100 * rt/clock_nanosleep.c: Likewise.
16101 * rt/clock_settime.c: Likewise.
16102 * rt/lio_listio.c: Likewise.
16103 * rt/mq_close.c: Likewise.
16104 * rt/mq_getattr.c: Likewise.
16105 * rt/mq_notify.c: Likewise.
16106 * rt/mq_open.c: Likewise.
16107 * rt/mq_receive.c: Likewise.
16108 * rt/mq_send.c: Likewise.
16109 * rt/mq_setattr.c: Likewise.
16110 * rt/mq_timedreceive.c: Likewise.
16111 * rt/mq_timedsend.c: Likewise.
16112 * rt/mq_unlink.c: Likewise.
16113 * rt/shm_open.c: Likewise.
16114 * rt/shm_unlink.c: Likewise.
16115 * rt/timer_create.c: Likewise.
16116 * rt/timer_delete.c: Likewise.
16117 * rt/timer_getoverr.c: Likewise.
16118 * rt/timer_gettime.c: Likewise.
16119 * rt/timer_settime.c: Likewise.
16120 * setjmp/__longjmp.c: Likewise.
16121 * setjmp/setjmp.c: Likewise.
16122 * signal/kill.c: Likewise.
16123 * signal/killpg.c: Likewise.
16124 * signal/raise.c: Likewise.
16125 * signal/sigaction.c: Likewise.
16126 * signal/sigaltstack.c: Likewise.
16127 * signal/sigblock.c: Likewise.
16128 * signal/sigignore.c: Likewise.
16129 * signal/sigintr.c: Likewise.
16130 * signal/signal.c: Likewise.
16131 * signal/sigpause.c: Likewise.
16132 * signal/sigpending.c: Likewise.
16133 * signal/sigqueue.c: Likewise.
16134 * signal/sigreturn.c: Likewise.
16135 * signal/sigset.c: Likewise.
16136 * signal/sigsetmask.c: Likewise.
16137 * signal/sigstack.c: Likewise.
16138 * signal/sigsuspend.c: Likewise.
16139 * signal/sigtimedwait.c: Likewise.
16140 * signal/sigvec.c: Likewise.
16141 * signal/sigwait.c: Likewise.
16142 * signal/sigwaitinfo.c: Likewise.
16143 * signal/sysv_signal.c: Likewise.
16144 * socket/accept.c: Likewise.
16145 * socket/accept4.c: Likewise.
16146 * socket/bind.c: Likewise.
16147 * socket/connect.c: Likewise.
16148 * socket/getpeername.c: Likewise.
16149 * socket/getsockname.c: Likewise.
16150 * socket/getsockopt.c: Likewise.
16151 * socket/isfdtype.c: Likewise.
16152 * socket/listen.c: Likewise.
16153 * socket/recv.c: Likewise.
16154 * socket/recvfrom.c: Likewise.
16155 * socket/recvmsg.c: Likewise.
16156 * socket/send.c: Likewise.
16157 * socket/sendmsg.c: Likewise.
16158 * socket/sendto.c: Likewise.
16159 * socket/setsockopt.c: Likewise.
16160 * socket/shutdown.c: Likewise.
16161 * socket/sockatmark.c: Likewise.
16162 * socket/socket.c: Likewise.
16163 * socket/socketpair.c: Likewise.
16164 * stdio-common/ctermid.c: Likewise.
16165 * stdio-common/cuserid.c: Likewise.
16166 * stdio-common/remove.c: Likewise.
16167 * stdio-common/rename.c: Likewise.
16168 * stdio-common/renameat.c: Likewise.
16169 * stdio-common/tempname.c: Likewise.
16170 * stdlib/getcontext.c: Likewise.
16171 * stdlib/makecontext.c: Likewise.
16172 * stdlib/setcontext.c: Likewise.
16173 * stdlib/swapcontext.c: Likewise.
16174 * stdlib/system.c: Likewise.
16175 * streams/fattach.c: Likewise.
16176 * streams/fdetach.c: Likewise.
16177 * streams/getmsg.c: Likewise.
16178 * streams/getpmsg.c: Likewise.
16179 * streams/putmsg.c: Likewise.
16180 * streams/putpmsg.c: Likewise.
16181 * sysdeps/unix/bsd/getpt.c: Likewise.
16182 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16183 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16184 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16186 Likewise.
16187 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16188 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16189 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16190 * sysvipc/msgctl.c: Likewise.
16191 * sysvipc/msgget.c: Likewise.
16192 * sysvipc/msgrcv.c: Likewise.
16193 * sysvipc/msgsnd.c: Likewise.
16194 * sysvipc/semctl.c: Likewise.
16195 * sysvipc/semget.c: Likewise.
16196 * sysvipc/semop.c: Likewise.
16197 * sysvipc/semtimedop.c: Likewise.
16198 * sysvipc/shmat.c: Likewise.
16199 * sysvipc/shmctl.c: Likewise.
16200 * sysvipc/shmdt.c: Likewise.
16201 * sysvipc/shmget.c: Likewise.
16202 * termios/tcdrain.c: Likewise.
16203 * termios/tcflow.c: Likewise.
16204 * termios/tcflush.c: Likewise.
16205 * termios/tcgetattr.c: Likewise.
16206 * termios/tcgetpgrp.c: Likewise.
16207 * termios/tcsendbrk.c: Likewise.
16208 * termios/tcsetattr.c: Likewise.
16209 * termios/tcsetpgrp.c: Likewise.
16210 * time/adjtime.c: Likewise.
16211 * time/clock.c: Likewise.
16212 * time/getitimer.c: Likewise.
16213 * time/gettimeofday.c: Likewise.
16214 * time/setitimer.c: Likewise.
16215 * time/settimeofday.c: Likewise.
16216 * time/stime.c: Likewise.
16217 * time/time.c: Likewise.
16218
162192012-11-04 Pino Toscano <toscano.pino@tiscali.it>
16220
16221 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16222 /usr/old/bin.
16223
16224 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16225 instead of spaces.
16226 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16227
162282012-11-03 Joseph Myers <joseph@codesourcery.com>
16229
16230 [BZ #14796]
16231 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16232 FE_TONEAREST before applying Dekker multiplication and Knuth
16233 addition. Clear inexact exceptions and check for exact zero
16234 results afterwards.
16235 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16236 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16237 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16238 * math/libm-test.inc (fma_test): Add more tests.
16239 (fma_test_towardzero): Likewise.
16240 (fma_test_downward): Likewise.
16241 (fma_test_upward): Likewise.
16242 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16243 function.
16244 (libc_fesetround): New macro.
16245 (libc_fesetroundf): Likewise.
16246 (libc_fesetroundl): Likewise.
16247 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16248 function.
16249 (libc_fesetround_387): Likewise.
16250 (libc_fesetroundf): New macro.
16251 (libc_fesetround): Likewise.
16252 (libc_fesetroundl): Likewise.
16253 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16254 function.
16255 (libc_fesetroundf): New macro.
16256 (libc_fesetround): Likewise.
16257 (libc_fesetroundl): Likewise.
16258 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16259 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16260 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16261 libm_hidden_ver.
16262 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16263 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16264 libm_hidden_def.
16265 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16266 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16267 libm_hidden_ver.
16268 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16269 libm_hidden_def.
16270
16271 [BZ #3439]
16272 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16273 integer constant usable in #if and use that to give value to enum
16274 constant.
16275 (FE_DIVBYZERO): Likewise.
16276 (FE_UNDERFLOW): Likewise.
16277 (FE_OVERFLOW): Likewise.
16278 (FE_INVALID): Likewise.
16279 (FE_INVALID_SNAN): Likewise.
16280 (FE_INVALID_ISI): Likewise.
16281 (FE_INVALID_IDI): Likewise.
16282 (FE_INVALID_ZDZ): Likewise.
16283 (FE_INVALID_IMZ): Likewise.
16284 (FE_INVALID_COMPARE): Likewise.
16285 (FE_INVALID_SOFTWARE): Likewise.
16286 (FE_INVALID_SQRT): Likewise.
16287 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16288 (FE_TONEAREST): Likewise.
16289 (FE_TOWARDZERO): Likewise.
16290 (FE_UPWARD): Likewise.
16291 (FE_DOWNWARD): Likewise.
16292 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16293 (FE_DIVBYZERO): Likewise.
16294 (FE_OVERFLOW): Likewise.
16295 (FE_UNDERFLOW): Likewise.
16296 (FE_INEXACT): Likewise.
16297 (FE_TONEAREST): Likewise.
16298 (FE_DOWNWARD): Likewise.
16299 (FE_UPWARD): Likewise.
16300 (FE_TOWARDZERO): Likewise.
16301 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16302 (FE_UNDERFLOW): Likewise.
16303 (FE_OVERFLOW): Likewise.
16304 (FE_DIVBYZERO): Likewise.
16305 (FE_INVALID): Likewise.
16306 (FE_TONEAREST): Likewise.
16307 (FE_TOWARDZERO): Likewise.
16308 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16309 (FE_OVERFLOW): Likewise.
16310 (FE_UNDERFLOW): Likewise.
16311 (FE_DIVBYZERO): Likewise.
16312 (FE_INEXACT): Likewise.
16313 (FE_TONEAREST): Likewise.
16314 (FE_TOWARDZERO): Likewise.
16315 (FE_UPWARD): Likewise.
16316 (FE_DOWNWARD): Likewise.
16317 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16318 (FE_DIVBYZERO): Likewise.
16319 (FE_OVERFLOW): Likewise.
16320 (FE_UNDERFLOW): Likewise.
16321 (FE_INEXACT): Likewise.
16322 (FE_TONEAREST): Likewise.
16323 (FE_DOWNWARD): Likewise.
16324 (FE_UPWARD): Likewise.
16325 (FE_TOWARDZERO): Likewise.
16326
163272012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16328
16329 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16330
163312012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16332
16333 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16334 commands. Quote $PWD.
16335 (blacklist_exports): Don't use remove_newlines. Replace "declare
16336 -x" by "export".
16337 (remove_newlines): Remove.
16338
163392012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16340
16341 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16342 * stdlib/stdlib.h (atof): Moved to ...
16343 * include/bits/stdlib-float.h: Here. New file.
16344 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16345 * stdlib/bits/stdlib-float.h: New file.
16346 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16347 -mno-sse -mno-mmx.
16348 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16349 <xmmintrin.h>.
16350
163512012-11-02 Joseph Myers <joseph@codesourcery.com>
16352
16353 * conform/conformtest.pl (@headers): Add fenv.h.
16354 * conform/data/fenv.h-data: New file.
16355 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16356 include of <math/fenv.h>.
16357
16358 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16359 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16360 && !UNIX98]. Enables tests for XOPEN2K8.
16361 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16362 POSIX2008]: Likewise.
16363
16364 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16365 (struct rusage): Do not expect type or its members.
16366
16367 [BZ #3439]
16368 * math/math.h (FP_NAN): Define macro to integer constant usable in
16369 #if and use that to give value to enum constant.
16370 (FP_INFINITE): Likewise.
16371 (FP_ZERO): Likewise.
16372 (FP_SUBNORMAL): Likewise.
16373 (FP_NORMAL): Likewise.
16374
163752012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16376
16377 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16378 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16379 arguments.
16380
163812012-11-02 Roland McGrath <roland@hack.frob.com>
16382
16383 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16384 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16385 autoconf-time if not.
16386 * configure.in: Remove AC_PREREQ.
16387
163882012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16389
16390 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16391 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16392 of the internal implementation.
16393
163942012-11-02 Joseph Myers <joseph@codesourcery.com>
16395
16396 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16397 except include of <misc/sys/syslog.h>.
16398
163992012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16400
16401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16402 function returns with a NULL context exit with zero.
16403
164042012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16405
16406 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16407
164082012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16409
16410 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16411 (run_program_cmd): This.
16412 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16413 (tst_langinfo): New variable. Use it.
16414
164152012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16416
16417 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16418 floating point opcodes.
16419
164202012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16421
16422 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16423 variable.
16424
16425 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16426
16427 * sysdeps/mach/hurd/powerpc: Remove directory.
16428 * sysdeps/mach/powerpc: Likewise.
16429
164302012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16431
16432 * scripts/check-local-headers.sh: Ignore c++ headers.
16433
164342012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16435
16436 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16437 __libc_cleanup_region_start argument.
16438
164392012-11-01 Joseph Myers <joseph@codesourcery.com>
16440
16441 [BZ #14784]
16442 [BZ #14785]
16443 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16444 x * y using scaling, not as x * y + z.
16445 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16446 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16447 * math/libm-test.inc (fma_test): Add more tests.
16448 (fma_test_towardzero): Likewise.
16449 (fma_test_downward): Likewise.
16450 (fma_test_upward): Likewise.
16451
164522012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16453
16454 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16455
164562012-10-31 Joseph Myers <joseph@codesourcery.com>
16457
16458 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16459 New variable.
16460
164612012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16462
16463 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16464
164652012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16466
16467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16468 Fix sort order.
16469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16470 Likewise.
16471
164722012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16473
16474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16475 Fix the order of the list for glibc 2.17.
16476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16477 Likewise.
16478
164792012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16480
16481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16482
164832012-10-31 Joseph Myers <joseph@codesourcery.com>
16484
16485 [BZ #14610]
16486 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16487 for low part of x being zero before using __atanl (y).
16488 * math/libm-test.inc (atan2_test): Add another test.
16489
16490 * manual/install.texi (Configuring and compiling): Document
16491 general use of test-wrapper and test-wrapper-env.
16492 * INSTALL: Regenerated.
16493
16494 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16495 (__fma): Do not extract and scale down low bits on after-rounding
16496 systems when result rounded to normal precision would have normal
16497 exponent.
16498 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16499 (__fmal): Do not extract and scale down low bits on after-rounding
16500 systems when result rounded to normal precision would have normal
16501 exponent.
16502 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16503 (__fmal): Do not extract and scale down low bits on after-rounding
16504 systems when result rounded to normal precision would have normal
16505 exponent.
16506 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16507 macro.
16508 (fma_test): Add more tests.
16509 (fma_test_towardzero): Likewise.
16510 (fma_test_downward): Likewise.
16511 (fma_test_upward): Likewise.
16512
165132012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16514
16515 * sysdeps/i386/tininess.h: Renamed to ...
16516 * sysdeps/x86/tininess.h: This.
16517 * sysdeps/x86_64/tininess.h: Removed.
16518
165192012-10-30 Joseph Myers <joseph@codesourcery.com>
16520
16521 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16522 input. Use $(build-program-cmd).
16523 ($(objpfx)tst-array1-static.out): Likewise.
16524 ($(objpfx)tst-array2.out): Likewise.
16525 ($(objpfx)tst-array3.out): Likewise.
16526 ($(objpfx)tst-array4.out): Likewise.
16527 ($(objpfx)tst-array5.out): Likewise.
16528 ($(objpfx)tst-array5-static.out): Likewise.
16529
165302012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16531
16532 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16533 if defined.
16534
16535 * nss/nsswitch.h (nss_interface_function): Provide new
16536 macro for use with NSS functions.
16537 * grp/initgroups.c: Use new macro.
16538 * nss/getXXbyYY.c: Likewise.
16539 * nss/getXXbyYY_r.c: Likewise.
16540 * nss/getXXent.c: Likewise.
16541 * nss/getXXent_r.c: Likewise.
16542 * sysdeps/posix/getaddrinfo.c: Likewise.
16543
165442012-10-30 Andreas Jaeger <aj@suse.de>
16545
16546 * po/ru.po: Update Russion translation from translation project.
16547
165482012-10-30 Joseph Myers <joseph@codesourcery.com>
16549
16550 [BZ #14152]
16551 [BZ #14783]
16552 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16553 result and shift together with sticky bit instead of replicating
16554 round-to-nearest rounding.
16555 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16556 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16557 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16558 missing underflow exceptions.
16559 (fma_test_towardzero): Add more tests.
16560 (fma_test_downward): Likewise.
16561 (fma_test_upward): Likewise.
16562
16563 [BZ #14047]
16564 * sysdeps/generic/tininess.h: New file.
16565 * sysdeps/i386/tininess.h: Likewise.
16566 * sysdeps/sh/tininess.h: Likewise.
16567 * sysdeps/x86_64/tininess.h: Likewise.
16568 * stdlib/tst-strtod-underflow.c: Likewise.
16569 * stdlib/tst-tininess.c: Likewise.
16570 * stdlib/strtod_l.c: Include <tininess.h>.
16571 (round_and_return): Do not set errno for exact underflow cases.
16572 Force an underflow exception when setting errno for underflow.
16573 Determine underflow based on rounding to normal precision if
16574 TININESS_AFTER_ROUNDING.
16575 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16576 ERANGE for exact underflow cases.
16577 * stdlib/Makefile (tests): Add tst-tininess and
16578 tst-strtod-underflow.
16579 ($(objpfx)tst-tininess): Use $(link-libm).
16580 ($(objpfx)tst-strtod-underflow): Likewise.
16581
165822012-10-30 Andreas Jaeger <aj@suse.de>
16583
16584 [BZ#14767]
16585 * elf/Makefile (tests): Remove conditional for have-initfini-array
16586 since this is now always required and the variable does not exist
16587 anymore.
16588 (tests-static): Likewise.
16589 (modules-names): Likewise.
16590
16591 * po/eo.po: Add Esperanto translation from translation project.
16592
16593 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16594 merged with constructor/destructor.
16595 (init_array): Likewise.
16596 * elf/tst-array2dep.c (fini_array): Likewise.
16597 (init_array): Likewise.
16598
165992012-10-29 Mike Frysinger <vapier@gentoo.org>
16600
16601 * manual/message.texi: Delete @cartouche tags.
16602
166032012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16604
16605 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16606 EOPNOTSUPP.
16607 * sysdeps/mach/hurd/fsync.c: Likewise.
16608
16609 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16610 [_POSIX_REALTIME_SIGNALS]: Change condition to
16611 [_POSIX_REALTIME_SIGNALS > 0].
16612
166132012-10-27 Andreas Jaeger <aj@suse.de>
16614
16615 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16616 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16617 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16618 [__WORDSIZE != 64]: Likewise.
16619
166202012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16621
16622 * iconvdata/tst-table.sh: Remove ${SHELL}.
16623 * iconvdata/tst-tables.sh: Likewise.
16624
166252012-10-25 David S. Miller <davem@davemloft.net>
16626
16627 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16628 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16629 of strtoull.
16630
16631 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16632 ifunc-impl-list.c
16633 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16634 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16635 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16636 file.
16637
166382012-10-25 Roland McGrath <roland@hack.frob.com>
16639
16640 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16641 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16642 __getdirentries.
16643
166442012-10-25 Joseph Myers <joseph@codesourcery.com>
16645 Jim Blandy <jimb@codesourcery.com>
16646
16647 * scripts/cross-test-ssh.sh: New file.
16648 * manual/install.texi (Configuring and compiling): Document use of
16649 cross-test-ssh.sh.
16650 * INSTALL: Regenerated.
16651
166522012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16653
16654 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16655 EOPNOTSUPP.
16656
166572012-10-25 Joseph Myers <joseph@codesourcery.com>
16658
16659 * Makeconfig (run-program-prefix): Fix comment.
16660
166612012-10-24 Joseph Myers <joseph@codesourcery.com>
16662 Jim Blandy <jimb@codesourcery.com>
16663
16664 * Makeconfig (test-wrapper): New variable,
16665 (test-wrapper-env): Likewise.
16666 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16667 (run-built-tests): Define to yes.
16668 (run-program-prefix): Use $(test-wrapper).
16669 (built-program-cmd): Likewise.
16670 * Rules (make-test-out): Use $(test-wrapper-env) and
16671 $(host-built-program-cmd).
16672 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16673 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16674 tst-pathopt.sh.
16675 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16676 $(test-wrapper-env) to tst-rtld-load-self.sh.
16677 ($(objpfx)order2.out): Use $(test-wrapper).
16678 ($(objpfx)tst-initorder.out): Likewise.
16679 ($(objpfx)tst-initorder2.out): Likewise.
16680 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16681 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16682 (test_wrapper_env): New variable. Use it to run ld.so.
16683 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16684 Use it to run ld.so.
16685 (test_wrapper_env): Likewise.
16686 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16687 $(test-wrapper) to run-iconv-test.sh.
16688 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16689 (ICONV): Use $test_wrapper.
16690 * posix/Makefile ($(objpfx)globtest.out): Pass
16691 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16692 globtest.sh, not $(run-program-prefix).
16693 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16694 (test_wrapper): Likewise.
16695 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16696 set together with run_via_rtld_prefix.
16697 (run_program_prefix): Define in terms of test_wrapper and
16698 run_via_rtld_prefix.
16699
167002012-10-24 Roland McGrath <roland@hack.frob.com>
16701
16702 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16703 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16704 Targets removed.
16705
16706 [BZ #14743]
16707 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16708 Declare __clock_getres, __clock_gettime, __clock_settime,
16709 __clock_nanosleep, and __clock_getcpuclockid.
16710 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16711 Remove librt_hidden_def (clock_gettime).
16712 * sysdeps/unix/clock_gettime.c: Likewise.
16713 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16714 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16715 * rt/clock_getres.c: Define __clock_getres as an alias.
16716 * sysdeps/posix/clock_getres.c: Likewise.
16717 * rt/clock_settime.c: Define __clock_settime as an alias.
16718 * sysdeps/unix/clock_settime.c: Likewise.
16719 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16720 * sysdeps/unix/clock_nanosleep.c: Likewise.
16721 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16722 * rt/clock-compat.c: New file.
16723 * rt/Makefile (librt-routines): Add clock-compat and move
16724 $(clock-routines) to ...
16725 (routines): ... here, new variable.
16726 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16727 Don't add get_clockfreq here.
16728 * rt/Versions (libc: GLIBC_2.17): New version set.
16729 Add clock_* symbols here.
16730 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16731 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16732 (GLIBC_2.17): Add clock_* symbols.
16733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16735 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16737 Likewise.
16738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16739 Likewise.
16740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16744 * NEWS: Mention the move.
16745
16746 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16747 Use __open, __read, __close rather than their public counterparts.
16748 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16749 (__get_clockfreq_via_cpuinfo): Likewise.
16750 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16751 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16752
16753 * config.h.in (HAVE_IFUNC): New #undef.
16754 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16755 was successful.
16756 * configure: Regenerated.
16757
167582012-10-24 Mike Frysinger <vapier@gentoo.org>
16759
16760 * configure.in: Move READELF check to start of file.
16761 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16762 libc_cv_asm_gnu_indirect_function in the process.
16763 * configure: Regenerated.
16764
167652012-10-24 Mike Frysinger <vapier@gentoo.org>
16766
16767 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16768 send the output to /dev/null.
16769 (libc_cv_cc_with_libunwind): Likewise.
16770 (libc_cv_as_noexecstack): Likewise.
16771 * configure: Regenerate.
16772
167732012-10-24 Joseph Myers <joseph@codesourcery.com>
16774
16775 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16776
16777 * posix/globtest.sh (TMPDIR): Do not set.
16778 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16779 (testout): Likewise.
16780
167812012-10-24 Andreas Jaeger <aj@suse.de>
16782
16783 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16784 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16785 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16786 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16787 posix_fadvise64, posix_fallocate64.
16788
16789 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16790 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16791 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16792 Likewise.
16793 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16794 Likewise.
16795 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16796
16797 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16798 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16799 <bits/fcntl-linux.h>.
16800 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16801
16802 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16803 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16804 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16805 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16806 [__WORDSIZE != 64]: Likewise.
16807
168082012-10-23 Joseph Myers <joseph@codesourcery.com>
16809
16810 * Makeconfig (run-built-tests): New variable.
16811 * Rules [$(cross-compiling) = yes]: Change condition to
16812 [$(run-built-tests) = no].
16813 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16814 to [$(run-built-tests) = yes].
16815 * elf/Makefile [$(cross-compiling) = no]: Likewise
16816 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16817 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16818 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16819 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16820 * io/Makefile [$(cross-compiling) = no]: Likewise.
16821 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16822 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16823 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16824 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16825 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16826 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16827 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16828 * string/Makefile [$(cross-compiling) = no]: Likewise.
16829
16830 * posix/Makefile ($(objpfx)globtest.out): Pass
16831 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16832 $(rtld-installed-name).
16833 * posix/globtest.sh (elf_objpfx): Remove variable.
16834 (rtld_installed_name): Likewise.
16835 (library_path): Likewise.
16836 (run_program_prefix): New variable. Use for running globtest
16837 binary.
16838
168392012-10-23 Jim Blandy <jimb@codesourcery.com>
16840 Joseph Myers <joseph@codesourcery.com>
16841
16842 * Makeconfig (host-built-program-cmd): New variable.
16843 * elf/Makefile (tst-stackguard1-ARGS): Use
16844 $(host-built-program-cmd).
16845 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16846 (tst-spawn-ARGS): Likewise.
16847 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16848
168492012-10-23 Joseph Myers <joseph@codesourcery.com>
16850 Jim Blandy <jimb@codesourcery.com>
16851
16852 * Makeconfig (run-via-rtld-prefix): New variable.
16853 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16854 (built-program-cmd): Likewise.
16855
168562012-10-22 Andreas Jaeger <aj@suse.de>
16857
16858 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16859 __O_RSYNC if it exists, otherwise to O_SYNC.
16860
168612012-10-22 Jim Blandy <jimb@codesourcery.com>
16862 Joseph Myers <joseph@codesourcery.com>
16863
16864 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16865 /dev/null.
16866 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16867 from /dev/null
16868 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16869 /dev/null.
16870
168712012-10-22 Andreas Jaeger <aj@suse.de>
16872
16873 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16874 Define always.
16875 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16876
16877 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16878 bits/fcntl-linux.h.
16879
16880 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16881 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16882
16883 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16884 to __O_LARGEFILE.
16885 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16886 to __O_LARGEFILE.
16887
168882012-10-21 Jim Blandy <jimb@codesourcery.com>
16889 Joseph Myers <joseph@codesourcery.com>
16890
16891 * config.make.in (NM): New variable.
16892
168932012-10-21 Andreas Jaeger <aj@suse.de>
16894
16895 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16896 definitions and declarations that are provided by
16897 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16898
168992012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16900
16901 [BZ #14683]
16902 * elf/Makefile (tests-static): Add tst-leaks1-static.
16903 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16904 ($(objpfx)tst-leaks1-static): New rule.
16905 ($(objpfx)tst-leaks1-static-mem): Likewise.
16906 (tst-leaks1-static-ENV): New macro.
16907 * elf/dl-open.c (dl_open_worker): Check the main application
16908 only if SHARED is defined.
16909 * elf/tst-leaks1-static.c: New file.
16910
169112012-10-20 Andreas Jaeger <aj@suse.de>
16912
16913 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16914 generic values for Linux.
16915 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16916 and declarations that are provided by <bits/fcntl-linux.h> and
16917 include <bits/fcntl-linux.h>.
16918 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16919 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16920
169212012-10-20 Roland McGrath <roland@hack.frob.com>
16922
16923 * io/fcntl.h: Move include of <bits/types.h> to the top and
16924 include it unconditionally.
16925
169262012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16927
16928 * wcsmbs/Makefile (tests-ifunc): New variable.
16929 (tests): Add $(tests-ifunc).
16930 * wcsmbs/test-wcschr-ifunc.c: New file.
16931 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16932 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16933 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16934 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16935 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16936
16937 * string/Makefile (tests-ifunc): New variable.
16938 (tests): Add $(tests-ifunc).
16939 * string/test-memccpy.c (TEST_NAME): New macro.
16940 * string/test-memchr.c (TEST_NAME): Likewise.
16941 * string/test-memcmp.c (TEST_NAME): Likewise.
16942 * string/test-memcpy.c (TEST_NAME): Likewise.
16943 * string/test-memmem.c (TEST_NAME): Likewise.
16944 * string/test-memmove.c (TEST_NAME): Likewise.
16945 * string/test-memset.c (TEST_NAME): Likewise.
16946 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16947 * string/test-stpcpy.c (TEST_NAME): Likewise.
16948 * string/test-stpncpy.c (TEST_NAME): Likewise.
16949 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16950 * string/test-strcasestr.c (TEST_NAME): Likewise.
16951 * string/test-strcat.c (TEST_NAME): Likewise.
16952 * string/test-strchr.c (TEST_NAME): Likewise.
16953 * string/test-strcmp.c(TEST_NAME): Likewise.
16954 * string/test-strcpy.c (TEST_NAME): Likewise.
16955 * string/test-strcspn.c (TEST_NAME): Likewise.
16956 * string/test-strlen.c (TEST_NAME): Likewise.
16957 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16958 * string/test-strncmp.c (TEST_NAME): Likewise.
16959 * string/test-strncpy.c (TEST_NAME): Likewise.
16960 * string/test-strnlen.c (TEST_NAME): Likewise.
16961 * string/test-strpbrk.c (TEST_NAME): Likewise.
16962 * string/test-strrchr.c (TEST_NAME): Likewise.
16963 * string/test-strspn.c (TEST_NAME): Likewise.
16964 * string/test-strstr.c (TEST_NAME): Likewise.
16965 * string/test-bcopy-ifunc.c: New file.
16966 * string/test-bzero-ifunc.c: Likewise.
16967 * string/test-memccpy-ifunc.c: Likewise.
16968 * string/test-memchr-ifunc.c: Likewise.
16969 * string/test-memcmp-ifunc.c: Likewise.
16970 * string/test-memcpy-ifunc.c: Likewise.
16971 * string/test-memmem-ifunc.c: Likewise.
16972 * string/test-memmove-ifunc.c: Likewise.
16973 * string/test-mempcpy-ifunc.c: Likewise.
16974 * string/test-memset-ifunc.c: Likewise.
16975 * string/test-rawmemchr-ifunc.c: Likewise.
16976 * string/test-stpcpy-ifunc.c: Likewise.
16977 * string/test-stpncpy-ifunc.c: Likewise.
16978 * string/test-strcasecmp-ifunc.c: Likewise.
16979 * string/test-strcasestr-ifunc.c: Likewise.
16980 * string/test-strcat-ifunc.c: Likewise.
16981 * string/test-strchr-ifunc.c: Likewise.
16982 * string/test-strchrnul-ifunc.c: Likewise.
16983 * string/test-strcmp-ifunc.c: Likewise.
16984 * string/test-strcpy-ifunc.c: Likewise.
16985 * string/test-strcspn-ifunc.c: Likewise.
16986 * string/test-strlen-ifunc.c: Likewise.
16987 * string/test-strncasecmp-ifunc.c: Likewise.
16988 * string/test-strncat-ifunc.c: Likewise.
16989 * string/test-strncmp-ifunc.c: Likewise.
16990 * string/test-strncpy-ifunc.c: Likewise.
16991 * string/test-strnlen-ifunc.c: Likewise.
16992 * string/test-strpbrk-ifunc.c: Likewise.
16993 * string/test-strrchr-ifunc.c: Likewise.
16994 * string/test-strspn-ifunc.c: Likewise.
16995 * string/test-strstr-ifunc.c: Likewise.
16996
16997 * debug/Makefile (tests-ifunc): New variable.
16998 (tests): Add $(tests-ifunc).
16999 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17000 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17001 * debug/test-stpcpy_chk-ifunc.c: New file.
17002 * debug/test-strcpy_chk-ifunc.c: Likewise.
17003
170042012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17005
17006 [BZ #13601]
17007 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17008 header is not read in.
17009
170102012-10-19 Joseph Myers <joseph@codesourcery.com>
17011
17012 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17013 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17014 directly. Pass built executable to script as
17015 $(built-program-cmd).
17016 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17017 $testprogram without using LD_LIBRARY_PATH and $ldso.
17018
17019 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17020 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17021 $(rtld-installed-name).
17022 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17023 (rtld_installed_name): Likewise.
17024 (library_path): Likewise.
17025 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17026 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17027 $(run-program-prefix) to tst-tables.sh.
17028 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17029 it to run tst-table-from and tst-table-to.
17030 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17031 Pass it to tst-table.sh.
17032 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17033 $(run-program-prefix) to tst-gettext.sh.
17034 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17035 tst-translit.sh.
17036 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17037 tst-gettext2.sh.
17038 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17039 to run tst-gettext.
17040 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17041 to run tst-gettext2.
17042 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17043 to run tst-translit.
17044 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17045 $(run-program-prefix) to tst-mtrace.sh.
17046 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17047 to run tst-mtrace.
17048 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17049 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17050 $(rtld-installed-name).
17051 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17052 (rtld_installed_name): Likewise.
17053 (run_program_prefix): New variable. Use it to run wordexp-test.
17054
17055 * Makeconfig (ARCH): Remove all definitions.
17056 (machine): Likewise.
17057 [ARCH]: Remove conditional code.
17058 [!objdir]: Give error.
17059 [!objdir] (objpfx): Remove.
17060 [!objdir] (common-objpfx): Likewise.
17061 [!objdir] (common-objdir): Likewise.
17062 * configure.in (config_makefile): Remove. Hardcode Makefile in
17063 AC_CONFIG_FILES call.
17064 * configure: Regenerated.
17065
17066 [BZ #13888]
17067 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17068 or TMPDIR.
17069 (testout): Likewise.
17070
17071 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17072 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17073 $(rtld-installed-name).
17074 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17075 (rtld_installed_name): Likwise.
17076 (runit): Remove function.
17077 (run_getconf): New variable, Use it for running getconf binary.
17078
170792012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17080
17081 [BZ #14716]
17082 * string/test-memmem.c (check_result): New function.
17083 (do_one_test): Use it.
17084 (check1): New function.
17085 (test_main): Use it.
17086
170872012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17088
17089 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17090
170912012-10-18 Joseph Myers <joseph@codesourcery.com>
17092
17093 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17094 (_G_LSEEK64): Likewise.
17095 (_G_MMAP64): Likewise.
17096 (_G_FSTAT64): Likewise.
17097 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17098 (_G_LSEEK64): Likewise.
17099 (_G_MMAP64): Likewise.
17100 (_G_FSTAT64): Likewise.
17101 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17102 unconditional. Call __mmap64 directly.
17103 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17104 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17105 __lseek64 directly.
17106 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17107 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17108 __mmap64 directly.
17109 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17110 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17111 __lseek64 directly.
17112 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17113 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17114 __lseek64 directly.
17115 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17116 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17117 __lseek64 directly.
17118 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17119 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17120 __fxstat64 directly.
17121 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17122 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17123 unconditional.
17124 (freopen64) [!_G_OPEN64]: Remove conditional code.
17125 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17126 unconditional.
17127 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17128 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17129 unconditional.
17130 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17131 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17132 unconditional.
17133 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17134 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17135 unconditional.
17136 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17137 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17138 unconditional.
17139 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17140 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17141 unconditional.
17142 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17143 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17144 unconditional.
17145 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17146
171472012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17148
17149 [BZ #12140]
17150 * manual/memory.texi (Malloc Tunable Parameters): Add note
17151 about free list pointers overwriting some perturb bytes.
17152 Wording suggested by Roland McGrath.
17153
171542012-10-17 Joseph Myers <joseph@codesourcery.com>
17155
17156 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17157 (lgamma_test): Likewise.
17158 (tgamma_test): Likewise.
17159
171602012-10-16 Florian Weimer <fweimer@redhat.com>
17161
17162 [BZ #14700]
17163 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17164 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17165
171662012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17167
17168 * NEWS: Mention BZ #14716.
17169 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17170 when removing AVAILABLE1_USES_J macro.
17171
171722012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17173
17174 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17175 (__bswap_64): __uint64_t for unsigned 64-bit int.
17176
171772012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17178
17179 * include/string.h (memmem): Declare libc hidden alias.
17180 * string/memmem.c (memmem): Define libc hidden alias.
17181 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17182 __read, __close instead of open, read, close.
17183
171842012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17185
17186 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17187 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17188 global and hidden.
17189 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17190 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17191 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17192 Likewise.
17193 (__rawmemchr_sse2): Likewise.
17194 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17195 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17196 (__strchr_sse2): Likewise.
17197 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17198 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17199 (__strcasecmp_sse2): Likewise.
17200 (__strncasecmp_sse2): Likewise.
17201 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17202 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17203 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17204 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17205 (__strrchr_sse2): Likewise.
17206 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17207 ifunc-impl-list.c.
17208 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17209 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17210 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17211 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17212 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17213 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17214 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17215 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17216 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17217 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17218 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17219 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17220 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17221 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17222 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17223 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17224 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17225 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17226 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17227 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17228 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17229 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17230 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17231 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17232 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17233 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17234 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17235 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17236 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17237 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17238
17239 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17240 global and hidden.
17241 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17242 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17243 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17244 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17245 Likewise.
17246 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17247 Likewise.
17248 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17249 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17250 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17251 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17252 ifunc-impl-list.c.
17253 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17254 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17255 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17256 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17257 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17258 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17259 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17260 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17261 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17262 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17263 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17264 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17265 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17266 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17267 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17268 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17269 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17270 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17271 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17272 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17273 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17274 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17275 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17276 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17277 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17278 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17279 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17280 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17281 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17282 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17283 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17284 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17285 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17286 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17287 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17288 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17289 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17290 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17291 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17292 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17293 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17294
17295 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17296 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17297 * include/ifunc-impl-list.h: New file.
17298 * misc/ifunc-impl-list.c: Likewise.
17299 * misc/Makefile (routines): Add ifunc-impl-list.
17300 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17301 * string/test-string.h: Include <ifunc-impl-list.h>.
17302 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17303 impl_array): New variables.
17304 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17305 are defined.
17306 (test_init): Call __libc_ifunc_impl_list to initialize
17307 func_list if TEST_IFUNC and TEST_NAME are defined.
17308
17309 * string/Makefile (strop-tests): Add bcopy and bzero.
17310 * string/test-bcopy.c: New file.
17311 * string/test-bzero.c: Likewise.
17312 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17313 defined.
17314 * string/test-memset.c: Support bzero test if TEST_BZERO is
17315 defined.
17316 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17317 __libc_memmove.
17318 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17319 __libc_memset.
17320 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17321 of memset.
17322
173232012-10-10 Joseph Myers <joseph@codesourcery.com>
17324
17325 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17326 * configure: Regenerated.
17327
17328 * Makeconfig (+link-static-before-libc): Don't include
17329 $(link-static-libc).
17330
17331 * libio/libio.h (_IO_pos_t): Remove.
17332
173332012-10-10 Alexandre Oliva <aoliva@redhat.com>
17334
17335 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17336 McGrath.
17337
173382012-10-10 Alexandre Oliva <aoliva@redhat.com>
17339
17340 * crypt/crypt-entry.c: Include fips-private.h.
17341 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17342 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17343 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17344 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17345
173462012-10-10 Alexandre Oliva <aoliva@redhat.com>
17347
17348 * crypt/crypt-private.h: Include stdbool.h.
17349 (_ufc_setup_salt_r): Return bool.
17350 * crypt/crypt-entry.c: Include errno.h.
17351 (__crypt_r): Return NULL with EINVAL for bad salt.
17352 * crypt/crypt_util.c (bad_for_salt): New.
17353 (_ufc_setup_salt_r): Check that salt is long enough and within
17354 the specified alphabet.
17355 * crypt/badsalttest.c: New file.
17356 * crypt/Makefile (tests): Add it.
17357 ($(objpfx)badsalttest): New.
17358
173592012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17360
17361 * NEWS: Add entry for BZ #14602.
17362
173632012-10-09 Joseph Myers <joseph@codesourcery.com>
17364
17365 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17366 type-generic.
17367 * math/libm-test.inc: Update comment listing what functions and
17368 macros are tested.
17369 (isgreater_test): New function.
17370 (isgreaterequal_test): Likewise.
17371 (isless_test): Likewise.
17372 (islessequal_test): Likewise.
17373 (islessgreater_test): Likewise.
17374 (isunordered_test): Likewise.
17375 (main): Call the new functions.
17376
173772012-10-09 Roland McGrath <roland@hack.frob.com>
17378
17379 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17380 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17381 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17382 * sysdeps/i386/configure: Regenerated.
17383 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17384 * sysdeps/mach/configure: Regenerated.
17385 * sysdeps/mach/hurd/configure: Regenerated.
17386 * sysdeps/powerpc/configure: Regenerated.
17387 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17388 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17389 * sysdeps/s390/s390-32/configure: Regenerated.
17390 * sysdeps/s390/s390-64/configure: Regenerated.
17391 * sysdeps/sh/configure: Regenerated.
17392 * sysdeps/sparc/configure: Regenerated.
17393 * sysdeps/unix/sysv/linux/configure: Regenerated.
17394 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17395 * sysdeps/x86_64/configure: Regenerated.
17396
17397 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17398 defined. Don't check if MAP is NULL.
17399
174002012-10-09 Joseph Myers <joseph@codesourcery.com>
17401
17402 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17403 (_G_stat64): Likewise.
17404 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17405 (_G_stat64): Likewise.
17406 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17407 instead of struct _G_stat64.
17408 * libio/fileops.c (mmap_remap_check): Likewise.
17409 (decide_maybe_mmap): Likewise.
17410 (_IO_new_file_seekoff): Likewise.
17411 (_IO_file_stat): Likewise.
17412 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17413 _G_off64_t.
17414 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17415 instead of struct _G_stat64.
17416 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17417
174182012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17419
17420 [BZ #14602]
17421 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17422 Replace with ...
17423 (CHECK_EOL): New macro.
17424 (two_way_short_needle): Check beginning of haystack for EOL. Use
17425 CHECK_EOL.
17426 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17427 Replace with CHECK_EOL.
17428 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17429 Replace with CHECK_EOL.
17430
174312012-10-08 Joseph Myers <joseph@codesourcery.com>
17432
17433 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17434 type-generic.
17435 * math/libm-test.inc: Update comment listing what functions and
17436 macros are tested.
17437 (finite_test): New function.
17438 (isinf_test): Likewise.
17439 (isnan_test): Likewise.
17440 (fpclassify_test): Test subnormal input.
17441 (isfinite_test): Likewise.
17442 (isnormal_test): Likewise.
17443 (main): Call the new functions.
17444
174452012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17446
17447 [BZ #14660]
17448 * Makerules (%.dynsym): Force C locale when running
17449 $(OBJDUMP) --dynamic-syms.
17450
174512012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17452
17453 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17454 <stdint.h>.
17455
174562012-10-06 David S. Miller <davem@davemloft.net>
17457
17458 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17459 upper 32-bits of the length value in %o2 since we use branch-on-register
17460 tests which consider the entire 64-bit register.
17461
174622012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17463
17464 * string/test-strstr.c (check2): Add a test for page boundary.
17465
174662012-10-05 David S. Miller <davem@davemloft.net>
17467
17468 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17469 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17470 file.
17471 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17472 sysdep_routines.
17473 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17474 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17475 and bzero when HWCAP_SPARC_CRYPTO is present.
17476
174772012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17478
17479 [BZ #14602]
17480 * string/test-strstr.c (check2): New function.
17481 (test_main): Call check2.
17482
17483 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17484 and bug-strchr1.
17485 * string/bug-strcasestr1.c (do_test): Moved to ...
17486 * string/test-strcasestr.c (check1): Here. New function.
17487 (do_one_test): Break out result checking code into ...
17488 (check_result): This. New function.
17489 (do_one_test): Call check_result.
17490 (test_main): Call check1.
17491 * string/bug-strchr1.c (do_test): Moved to ...
17492 * string/test-strchr.c (check1): Here. New function.
17493 (do_one_test): Break out result checking code into ...
17494 (check_result): This. New function.
17495 (do_one_test): Call check_result.
17496 (test_main): Call check1.
17497 * string/bug-strstr1.c (main): Moved to ...
17498 * string/test-strstr.c (check1): Here. New function.
17499 (do_one_test): Break out result checking code into ...
17500 (check_result): This. New function.
17501 (do_one_test): Call check_result.
17502 (test_main): Call check1.
17503 * string/bug-strcasestr1.c: Removed.
17504 * string/bug-strchr1.c: Likewise.
17505 * string/bug-strstr1.c: Likewise.
17506
17507 * elf/Makefile (dl-routines): Add hwcaps.
17508 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17509 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17510 (_dl_important_hwcaps): Moved to ...
17511 * elf/dl-hwcaps.c: Here. New file.
17512 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17513
17514 [BZ #14557]
17515 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17516 if IS_IN_rtld isn't defined.
17517
17518 * elf/dl-support.c (_dl_sysinfo_map): New.
17519 Include "get-dynamic-info.h" and "setup-vdso.h".
17520 (_dl_non_dynamic_init): Call setup_vdso.
17521 * elf/dynamic-link.h: Don't include <assert.h>.
17522 (elf_get_dynamic_info): Moved to ...
17523 * elf/get-dynamic-info.h: Here. New file.
17524 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17525 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17526 * elf/setup-vdso.h: Here. New file.
17527 * elf/rtld.c: Include "setup-vdso.h".
17528 (dl_main): Call setup_vdso.
17529
175302012-10-05 Joseph Myers <joseph@codesourcery.com>
17531
17532 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17533 creal in comment listing functions tested. List finite, isinf,
17534 isnan, isless, islessequal, isgreater, isgreaterequal,
17535 islessgreater, isunordered, lgamma_r and pow10 as functions and
17536 macros not tested. Mention which functions not tested are aliases
17537 for other functions. Fix typo. Note that signs of NaNs are not
17538 tested.
17539
17540 * scripts/config.guess: Update from config.git.
17541 * scripts/config.sub: Likewise.
17542
175432012-10-04 Roland McGrath <roland@hack.frob.com>
17544
17545 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17546 * misc/madvise.c (madvise): Renamed to __madvise.
17547 Make madvise a weak alias.
17548 * include/sys/mman.h: Declare __madvise.
17549 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17550 * sysdeps/unix/syscalls.list
17551 (madvise): Make __madvise the strong name, and madvise a weak alias.
17552 * sysdeps/unix/sysv/linux/syscalls.list
17553 (madvise, mmap): Remove redundant entries.
17554 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17555 * malloc/malloc.c (mtrim): Likewise.
17556 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17557
175582012-10-03 Roland McGrath <roland@hack.frob.com>
17559
17560 * sysdeps/mach/hurd/dl-cache.c: File removed.
17561 * config.h.in (USE_LDCONFIG): New #undef.
17562 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17563 * configure: Regenerated.
17564 * elf/Makefile (dl-routines): Add dl-cache only under
17565 [$(use-ldconfig) = yes].
17566 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17567 cache on [USE_LDCONFIG].
17568 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17569 [USE_LDCONFIG].
17570 * elf/rtld.c (dl_main): Likewise.
17571
175722012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17573
17574 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17575 _SC_LEVEL4_CACHE_LINESIZE.
17576
175772012-10-03 Roland McGrath <roland@hack.frob.com>
17578
17579 * sysdeps/unix/bsd/confstr.h: File removed.
17580
175812012-10-02 Alexandre Oliva <aoliva@redhat.com>
17582
17583 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17584 sys/sdt-config.h.
17585
175862012-10-02 Roland McGrath <roland@hack.frob.com>
17587
17588 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17589 Make 'mapoff' field ElfW(Off) rather than off_t.
17590
175912012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17592
17593 * nscd/Makefile: Remove nscd-cflags and all its users.
17594 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17595 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17596
17597 [BZ #10631]
17598 * malloc.c (malloc_printerr): Clarify error message.
17599
176002012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17601
17602 [BZ #14648]
17603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17604 Set bit_FMA_Usable if FMA is supported.
17605 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17606 macro.
17607 (bit_FMA4_Usable): Updated.
17608 (index_FMA_Usable): New macro.
17609 (CPUID_FMA): Likewise
17610 (HAS_FMA): Defined with bit_FMA_Usable.
17611
176122012-10-01 Roland McGrath <roland@hack.frob.com>
17613
17614 * bits/types.h (__swblk_t): Type removed.
17615 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17616 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17617 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17618 (__SWBLK_T_TYPE): Likewise.
17619 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17620 (__SWBLK_T_TYPE): Likewise.
17621 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17622 (__SWBLK_T_TYPE): Likewise.
17623 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17624 (__SWBLK_T_TYPE): Likewise.
17625
176262012-10-01 Patsy Franklin <pfrankli@redhat.com>
17627 Honza Horak <hhorak@redhat.com>
17628
17629 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17630 (xdr_mapname): Use YPMAXMAP as maxsize.
17631 (xdr_peername): Use YPMAXPEER as maxsize.
17632 (xdr_keydat): Use YPAXRECORD as maxsize.
17633 (xdr_valdat): Use YPMAXRECORD as maxsize.
17634
176352012-10-01 Roland McGrath <roland@hack.frob.com>
17636
17637 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17638
17639 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17640 * csu/init-first.c: ... here.
17641 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17642 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17643 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17644 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17645 * sysdeps/i386/init-first.c: File removed.
17646 * sysdeps/sh/init-first.c: File removed.
17647
176482012-10-01 Joseph Myers <joseph@codesourcery.com>
17649
17650 [BZ #14645]
17651 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17652 if x * y might underflow to zero and z is zero.
17653 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17654 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17655 * math/libm-test.inc (min_subnorm_value): New variable.
17656 (fma_test): Add more tests.
17657 (fma_test_towardzero): Likewise.
17658 (fma_test_downward): Likewise
17659 (fma_test_upward): Likewise.
17660 (initialize): Set min_subnorm_value.
17661
176622012-09-29 Joseph Myers <joseph@codesourcery.com>
17663
17664 [BZ #14638]
17665 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17666 0 + 0.
17667 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17668 mode for addition resulting in exact zero.
17669 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17670 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17671 exact 0 + 0.
17672 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17673 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17674 * math/libm-test.inc (fma_test): Add more tests.
17675 (fma_test_towardzero): New function.
17676 (fma_test_downward): Likewise.
17677 (fma_test_upward): Likewise.
17678 (main): Call the new functions.
17679
176802012-09-28 David S. Miller <davem@davemloft.net>
17681
17682 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17683
176842012-09-28 Roland McGrath <roland@hack.frob.com>
17685
17686 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17687 instead of SIGALRM.
17688
17689 * sysdeps/gnu/_G_config.h: Moved to ...
17690 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17691 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17692 * sysdeps/generic/_G_config.h: ... here.
17693
17694 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17695
17696 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17697
17698 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17699 Conditionalize target on [libnss_test1.so-version].
17700
17701 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17702
17703 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17704 (elfobjdir): Move out of conditionals.
17705
17706 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17707 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17708 (__nss_lookup_function): Conditionalize label remove_from_tree on
17709 [!DO_STATIC_NSS || SHARED], matching its only use.
17710
177112012-09-28 David S. Miller <davem@davemloft.net>
17712
17713 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17714 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17715 file.
17716 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17717 sysdep_routines.
17718 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17719 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17720 when HWCAP_SPARC_CRYPTO is present.
17721
177222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17723
17724 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17725
177262012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17727
17728 [BZ #6530]
17729 * stdio-common/vfprintf.c (process_string_arg): Revert
17730 2000-07-22 change.
17731
177322011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17733
17734 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17735 for testcase.
17736 * stdio-common/tst-sprintf.c: Include <locale.h>
17737 (main): Test sprintf's handling of incomplete multibyte
17738 characters.
17739
177402012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17741
17742 * elf/dl-runtime.c (VERSYMIDX): Removed.
17743 * elf/dl-version.c (VERSYMIDX): Likewise.
17744 * elf/do-rel.h (VERSYMIDX): Likewise.
17745 (VALIDX): Likewise.
17746 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17747 * elf/rtld.c (VALIDX): Likewise.
17748 (ADDRIDX): Likewise.
17749 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17750 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17751 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17752 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17753 (VALIDX): Likewise.
17754 (ADDRIDX): Likewise.
17755
177562012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17757
17758 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17759
177602012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17761
17762 [BZ #11438]
17763 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17764 to global scope.
17765 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17766 addresses are in the same scope as 192.0.2/24.
17767 * posix/gai.conf: Document new scope table defaults.
17768
177692012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17770
17771 [BZ #5298]
17772 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17773 for ftell. Compute offsets from write pointers instead.
17774 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17775
177762012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17777
17778 [BZ #14543]
17779 * libio/Makefile (tests): New test case tst-fseek.
17780 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17781 combination works in wide mode.
17782 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17783 state when the external buffer state changes.
17784
177852012-09-27 David S. Miller <davem@davemloft.net>
17786
17787 [BZ #14376]
17788 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17789 pass reloc->r_addend in as the 'high' argument to
17790 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17791
17792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17793
177942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17795
17796 * rt/tst-aio2.c: Include <pthread.h>.
17797 * rt/tst-aio3.c: Likewise.
17798
177992012-09-27 Steve Ellcey <sellcey@mips.com>
17800
17801 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17802
178032012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17804
17805 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17806 contents on [SHARED].
17807
178082012-09-26 Marek Polacek <polacek@redhat.com>
17809
17810 [BZ #14530]
17811 [BZ #13741]
17812 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17813 for C++ and GCC <4.3 as well as for non GCC compilers.
17814
178152012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17816
17817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17818
178192012-09-25 Roland McGrath <roland@hack.frob.com>
17820
17821 * Makefile.in (all, install): Declare with .PHONY.
17822 Reported by Michael Hope <michael.hope@linaro.org>.
17823
178242012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17825
17826 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17827 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17828 system header.
17829 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17830 Likewise.
17831 (sydep_routines): Add the new and the internal functions.
17832 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17833 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17835 (GLIBC_2.17): Add the new function.
17836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17837 (GLIBC_2.17): Likewise.
17838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17839 (GLIBC_2.17): Likewise.
17840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17841 (GLIBC_2.17): Likewise.
17842 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17843
178442012-09-25 Alan Modra <amodra@gmail.com>
17845
17846 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17847 Add release barrier before setting once_control to say
17848 initialisation is done. Add hints on lwarx. Use macro in
17849 place of isync.
17850 (clear_once_control): Add release barrier.
17851
178522012-09-25 Joseph Myers <joseph@codesourcery.com>
17853
17854 [BZ #13629]
17855 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17856 specially.
17857 * math/s_clog10.c (__clog10): Likewise.
17858 * math/s_clog10f.c (__clog10f): Likewise.
17859 * math/s_clog10l.c (__clog10l): Likewise.
17860 * math/s_clogf.c (__clogf): Likewise.
17861 * math/s_clogl.c (__clogl): Likewise.
17862 * math/Makefile (libm-calls): Add x2y2m1.
17863 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17864 (__x2y2m1): Likewise.
17865 (__x2y2m1l): Likewise.
17866 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17867 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17868 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17869 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17870 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17871 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17872 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17873 * sysdeps/i386/fpu/libm-test-ulps: Update.
17874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17875
17876 [BZ #14621]
17877 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17878 int as type of variable DEPTH.
17879 (glob): Use size_t instead of int as type of variables NEWCOUNT
17880 and OLD_PATHC.
17881
178822012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17883
17884 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17885 Add s_sincosf-sse2.
17886 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17887 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17888 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17889 macros for using routine as __sincosf_ia32.
17890 Use macro for function declaration and weak_alias.
17891 * sysdeps/i386/fpu/libm-test-ulps: Update.
17892
17893 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17894 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17895
17896 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
17897 subnormal argument.
17898 * math/s_cexpf.c (__cexpf): Likewise.
17899 * math/s_csinf.c (__csinf): Likewise.
17900 * math/s_csinhf.c (__csinhf): Likewise.
17901 * math/s_ctanf.c (__ctanf): Likewise.
17902 * math/s_ctanhf.c (__ctanhf): Likewise.
17903 * math/s_ccosh.c (__ccoshf): Likewise.
17904 * math/s_cexp.c (__cexpl): Likewise.
17905 * math/s_csin.c (__csin): Likewise.
17906 * math/s_csinh.c (__csinh): Likewise.
17907 * math/s_ctan.c (__ctan): Likewise.
17908 * math/s_ctanh.c (ctanh): Likewise.
17909 * math/s_ccoshl.c (__ccoshl): Likewise.
17910 * math/s_cexpl.c (__cexpl): Likewise.
17911 * math/s_csinl.c (__csinl): Likewise.
17912 * math/s_csinhl.c (__csinhl): Likewise.
17913 * math/s_ctanl.c (__ctanl): Likewise.
17914 * math/s_ctanhl.c (__ctanhl): Likewise.
17915
179162012-09-25 Joseph Myers <joseph@codesourcery.com>
17917
17918 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17919 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17920 (_IO_off_t): Define to __off_t, not _G_off_t.
17921 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17922 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17923 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17924 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17925 type of __dummy and __dummy2 fields.
17926 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17927 (_G_ssize_t): Likewise.
17928 (_G_off_t): Likewise.
17929 (_G_pid_t): Likewise.
17930 (_G_uid_t): Likewise.
17931 (_G_wchar_t): Likewise.
17932 (_G_wint_t): Likewise.
17933 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17934 (_G_ssize_t): Likewise.
17935 (_G_off_t): Likewise.
17936 (_G_pid_t): Likewise.
17937 (_G_uid_t): Likewise.
17938 (_G_wchar_t): Likewise.
17939 (_G_wint_t): Likewise.
17940 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17941 (_G_ssize_t): Likewise.
17942 (_G_off_t): Likewise.
17943 (_G_pid_t): Likewise.
17944 (_G_uid_t): Likewise.
17945 (_G_wchar_t): Likewise.
17946 (_G_wint_t): Likewise.
17947
179482012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17949
17950 * malloc/arena.c: Include malloc-sysdep.h.
17951 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17952 is sufficient to shrink the heap or an unmap is needed.
17953 * sysdeps/generic/malloc-sysdep.h: New file. Define
17954 new function check_may_shrink_heap.
17955 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17956 new function check_may_shrink_heap.
17957
179582012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17959
17960 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17961 comments.
17962
179632012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17964
17965 * catgets/test-gencat.sh: Add "set -e".
17966 * elf/tst-pathopt.sh: Likewise.
17967 * grp/tst_fgetgrent.sh: Likewise.
17968 * iconvdata/run-iconv-test.sh: Likewise.
17969 * intl/tst-gettext.sh: Likewise.
17970 * intl/tst-gettext2.sh: Likewise.
17971 * intl/tst-gettext4.sh: Likewise.
17972 * intl/tst-gettext6.sh: Likewise.
17973 * intl/tst-translit.sh: Likewise.
17974 * io/ftwtest-sh: Likewise.
17975 * libio/test-freopen.sh: Likewise.
17976 * malloc/tst-mtrace.sh: Likewise.
17977 * posix/globtest.sh: Likewise.
17978 * posix/tst-getconf.sh: Likewise.
17979 * posix/wordexp-tst.sh: Likewise.
17980 * stdio-common/tst-printf.sh: Likewise.
17981 * stdio-common/tst-unbputc.sh: Likewise.
17982 * stdlib/tst-fmtmsg.sh: Likewise.
17983 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17984 * catgets/Makefile: Do not specify -e option when running
17985 testsuite shell scripts.
17986 * elf/Makefile: Likewise.
17987 * grp/Makefile: Likewise.
17988 * iconvdata/Makefile: Likewise.
17989 * intl/Makefile: Likewise.
17990 * io/Makefile: Likewise.
17991 * libio/Makefile: Likewise.
17992 * malloc/Makefile: Likewise.
17993 * posix/Makefile: Likewise.
17994 * stdio-common/Makefile: Likewise.
17995 * stdlib/Makefile: Likewise.
17996 * sysdeps/x86_64/Makefile: Likewise.
17997
17998 * io/ftwtest-sh: Add copyright header.
17999 * posix/globtest.sh: Likewise.
18000 * posix/tst-getconf.sh: Likewise.
18001 * posix/wordexp-tst.sh: Likewise.
18002 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18003
180042012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18005
18006 [BZ #13679]
18007 * Makeconfig (+link): Defined as $(+link-static) if
18008 $(build-shared) isn't yes.
18009 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18010 isn't yes.
18011 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18012
18013 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18014
18015 [BZ #14562]
18016 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18017 new chunk size with MALLOC_ALIGN_MASK.
18018
180192012-09-24 Joseph Myers <joseph@codesourcery.com>
18020
18021 [BZ #5044]
18022 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18023 <rounding-mode.h>.
18024 (__printf_fphex): Determine rounding using get_rounding_mode and
18025 round_away.
18026 * stdio-common/tst-printf-round.c (struct hex_test): New
18027 structure.
18028 (hex_tests): New variable.
18029 (test_hex_in_one_mode): New function.
18030 (do_test): Also run tests for hex float output.
18031
180322012-09-21 Joseph Myers <joseph@codesourcery.com>
18033
18034 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18035 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18036 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18037 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18038 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18039 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18040 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18041 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18042
180432012-09-20 Joseph Myers <joseph@codesourcery.com>
18044
18045 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18046 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18047 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18048 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18049
180502012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18051
18052 [BZ #14579]
18053 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18054 mode only.
18055 * elf/tst-rtld-load-self.sh: New test.
18056 * elf/Makefile: Run it.
18057
180582012-09-18 Joseph Myers <joseph@codesourcery.com>
18059
18060 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18061 (tst-writev-ENV): Remove.
18062 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18063
180642012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18065
18066 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18067
180682012-09-17 Joseph Myers <joseph@codesourcery.com>
18069
18070 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18071 unconditional.
18072 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18073 Likewise.
18074 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18075 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18076 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18077 Likewise.
18078
180792012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18080
18081 [BZ #14587]
18082 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18083 * config.make.in (have-cpp-asm-debuginfo): Removed.
18084 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18085 * configure: Regenerated.
18086
180872012-09-14 Joseph Myers <joseph@codesourcery.com>
18088
18089 [BZ #5044]
18090 * stdio-common/printf_fp.c: Include <stdbool.h> and
18091 <rounding-mode.h>.
18092 (___printf_fp): Determine rounding using get_rounding_mode and
18093 round_away.
18094 * stdio-common/tst-printf-round.c: New file.
18095 * stdio-common/Makefile (tests): Add tst-printf-round.
18096 (link-libm): New variable.
18097 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18098
180992012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18100
18101 [BZ #14576]
18102 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18103 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18104 Likewise.
18105 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18106 Likewise.
18107
181082012-09-13 Joseph Myers <joseph@codesourcery.com>
18109
18110 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18111 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18112 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18113 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18114
181152012-09-12 Joseph Myers <joseph@codesourcery.com>
18116
18117 [BZ #14518]
18118 * include/rounding-mode.h: New file.
18119 * sysdeps/generic/get-rounding-mode.h: Likewise.
18120 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18121 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18122 (MAX_VALUE): New macro.
18123 (MIN_VALUE): Likewise.
18124 (overflow_value): New function.
18125 (underflow_value): Likewise.
18126 (round_and_return): Use overflow_value and underflow_value to
18127 determine return values in overflow and underflow cases. Use
18128 round_away to determine rounding depending on rounding mode.
18129 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18130 determine return values in overflow and underflow cases.
18131 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18132 (struct test_results): New structure.
18133 (struct test): Use struct test_results to store expected results
18134 for all rounding modes.
18135 (TEST): Include expected results for all rounding modes.
18136 (test_in_one_mode): New function.
18137 (do_test): Use test_in_one_mode to compute and check results.
18138 Check results for all rounding modes.
18139 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18140 $(link-libm).
18141
181422012-12-09 Allan McRae <allan@archlinux.org>
18143
18144 * sysdeps/i386/fpu/libm-test-ulps: Update
18145
181462012-09-11 Joseph Myers <joseph@codesourcery.com>
18147
18148 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18149 (_G_int32_t): Likewise.
18150 (_G_uint16_t): Likewise.
18151 (_G_uint32_t): Likewise.
18152 (_G_HAVE_BOOL): Likewise.
18153 (_G_HAVE_ATEXIT): Likewise.
18154 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18155 (_G_HAVE_IO_FILE_OPEN): Likewise.
18156 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18157 (_G_int32_t): Likewise.
18158 (_G_uint16_t): Likewise.
18159 (_G_uint32_t): Likewise.
18160 (_G_HAVE_BOOL): Likewise.
18161 (_G_HAVE_ATEXIT): Likewise.
18162 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18163 (_G_HAVE_IO_FILE_OPEN): Likewise.
18164 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18165 (_G_int32_t): Likewise.
18166 (_G_uint16_t): Likewise.
18167 (_G_uint32_t): Likewise.
18168 (_G_HAVE_BOOL): Likewise.
18169 (_G_HAVE_ATEXIT): Likewise.
18170 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18171 (_G_HAVE_IO_FILE_OPEN): Likewise.
18172
181732012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18174
18175 * csu/libc-tls.c: Update copyright years.
18176
181772012-09-10 Joseph Myers <joseph@codesourcery.com>
18178
18179 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18180 [!_G_USING_THUNKS]: Remove conditional code.
18181 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18182 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18183
18184 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18185 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18186 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18187 (_G_VTABLE_LABEL_PREFIX): Likewise.
18188 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18189 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18190 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18191 (_G_VTABLE_LABEL_PREFIX): Likewise.
18192 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18193 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18194 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18195 (_G_VTABLE_LABEL_PREFIX): Likewise.
18196 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18197
181982012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18199
18200 * libio/Makefile: Include ../Makeconfig before tests.
18201 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18202 only if $(build-shared) is yes.
18203
18204 * iconv/gconv_db.c: Update copyright years.
18205
182062012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18207
18208 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18209 unwind info if defined PIC. Fix special cases description.
18210 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18211
18212 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18213 DP_HI_MASK entry.
18214 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18215
182162012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18217
18218 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18219
18220 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18221 is NULL.
18222
18223 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18224 (LDLIBS-tst-chk4): This.
18225 (LDFLAGS-tst-chk5): Renamed to ...
18226 (LDLIBS-tst-chk5): This.
18227 (LDFLAGS-tst-chk6): Renamed to ...
18228 (LDLIBS-tst-chk6): This.
18229 (LDFLAGS-tst-lfschk4): Renamed to ...
18230 (LDLIBS-tst-lfschk4): This.
18231 (LDFLAGS-tst-lfschk5): Renamed to ...
18232 (LDLIBS-tst-lfschk5): This.
18233 (LDFLAGS-tst-lfschk6): Renamed to ...
18234 (LDLIBS-tst-lfschk6): This.
18235
18236 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18237 on $(common-objpfx)soversions.mk.
18238
182392012-09-07 Joseph Myers <joseph@codesourcery.com>
18240
18241 [BZ #10014]
18242 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18243 example host name.
18244
182452012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18246
18247 * malloc/arena.c (arena_get_retry): New function that gets
18248 another arena for the caller to try its request on.
18249 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18250 current arena cannot fulfill the request.
18251 (__libc_memalign): Likewise.
18252 (__libc_memalign): Likewise.
18253 (__libc_pvalloc): Likewise.
18254 (__libc_calloc): Likewise.
18255
182562012-09-05 John Tobey <john.tobey@gmail.com>
18257
18258 [BZ #13542]
18259 * manual/arith.texi (Operations on Complex): Fix description
18260 of carg branch cut.
18261
182622012-09-06 Joseph Myers <joseph@codesourcery.com>
18263
18264 [BZ #10014]
18265 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18266 host name.
18267
18268 [BZ #10038]
18269 * manual/memory.texi (Memory): Make order of menu items match
18270 order of sections.
18271
182722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18273
18274 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18275 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18276 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18277
182782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18279
18280 * csu/libc-tls.c (static_dtv): Renamed to ...
18281 (_dl_static_dtv): This. Make it global.
18282 (_dl_initial_dtv): Removed.
18283 (__libc_setup_tls): Updated.
18284 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18285 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18286 DL_INITIAL_DTV.
18287
182882012-09-06 Petr Machata <pmachata@redhat.com>
18289
18290 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18291 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18292 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18293 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18294
182952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18296
18297 [BZ #14545]
18298 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18299 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18300 freeing dtv[-1].
18301
183022012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18303
18304 [BZ #14544]
18305 * Makeconfig (link-static-before-libc): Replace $(+prector)
18306 with $(+prectorT).
18307 (link-static-after-libc): Replace $(+postctor) with
18308 $(+postctorT).
18309 (link-bounded): Replace $(+prector)/$(+postctor) with
18310 $(+prectorT)/$(+postctorT).
18311 (+prectorT): New macro.
18312 (+postctorT): Likewise.
18313
183142012-09-06 Joseph Myers <joseph@codesourcery.com>
18315
18316 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18317 (round_str): Handle values above the maximum for IBM long double
18318 as inexact.
18319 * stdlib/tst-strtod-round.c (tests): Regenerated.
18320
183212012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18322
18323 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18324 assembler flag.
18325 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18326 zarch_nohighgprs around the zarch optimized routines.
18327 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18328 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18329 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18330 for zarch.
18331
183322012-09-05 David S. Miller <davem@davemloft.net>
18333
18334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18335
18336 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18337 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18338 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18339 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18340 entries.
18341
183422012-09-05 Alexandre Oliva <aoliva@redhat.com>
18343
18344 * malloc/arena.c: Fold copyright years.
18345 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18346
183472012-09-05 Alexandre Oliva <aoliva@redhat.com>
18348
18349 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18350
183512012-09-05 Alexandre Oliva <aoliva@redhat.com>
18352
18353 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18354
183552012-09-05 Alexandre Oliva <aoliva@redhat.com>
18356
18357 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18358 change internal state upon failure.
18359
183602012-09-05 Alexandre Oliva <aoliva@redhat.com>
18361
18362 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18363 * malloc/memusage.c (mmap): Likewise.
18364 (mmap64, mremap): Likewise. Adjust name in comment.
18365
183662012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18367
18368 * libio/fileops.c: Fix typos in comments.
18369 * libio/oldfileops.c: Likewise.
18370 * libio/wfileops.c: Likewise.
18371
183722012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18373
18374 [BZ #1349]
18375 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18376 (tst-malloc-usable-ENV): Set environment for test case.
18377 * malloc/hooks.c (malloc_check_get_size): New function to get
18378 requested size.
18379 * malloc/malloc.c (musable): Use malloc_check_get_size.
18380 * malloc/tst-malloc-usable.c: New test case.
18381
183822012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18383
18384 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18385
183862012-09-05 Allan McRae <allan@archlinux.org>
18387
18388 [BZ #13966]
18389 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18390 determine header location.
18391 * configure: Regenerated.
18392
183932012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18394
18395 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18396 float format.
18397 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
18398 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18399 format.
18400 (test): Regenerate.
18401
184022012-09-04 David S. Miller <davem@davemloft.net>
18403
18404 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18405 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18406 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18407
184082012-09-04 Florian Weimer <fweimer@redhat.com>
18409
18410 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18411 failures.
18412
18413 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18414
184152012-09-04 Joseph Myers <joseph@codesourcery.com>
18416
18417 [BZ #9914]
18418 * libio/iogetdelim.c: Include <limits.h>.
18419 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18420 + len + 1 would overflow.
18421
184222012-09-03 Andreas Jaeger <aj@suse.de>
18423
18424 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18425 * sysdeps/i386/fpu/libm-test-ulps: Update.
18426
184272012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18428
18429 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18430 Add s_sinf-sse2, s_conf-sse2.
18431
18432 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18433 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18434 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18435 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18436
18437 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18438 for using routine as __sinf_ia32.
18439 Use macro for function declaration and weak_alias.
18440 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18441 for using routine as __cosf_ia32.
18442 Use macro for function declaration and weak_alias.
18443
18444 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18445 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18446
18447 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18448 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18450
18451 * math/libm-test.inc (cos_test): Add more test cases.
18452 (sin_test): Likewise.
18453 (sincos_test): Likewise.
18454
184552012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18456
18457 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18458 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18459 hidden.
18460 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18461
184622012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18463
18464 [BZ #14538]
18465 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18466 first element of the GOT.
18467 (elf_machine_load_address): Return the difference between
18468 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18469
184702012-09-01 Allan McRae <allan@archlinux.org>
18471
18472 [BZ #13412]
18473 * configure.in (AWK): Require gawk version 3.0 or later.
18474 * configure: Regenerated.
18475
184762012-09-01 Joseph Myers <joseph@codesourcery.com>
18477
18478 * sysdeps/unix/sysv/linux/kernel-features.h
18479 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18480 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18481 [__NR_clock_getres]: Make code unconditional.
18482 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18483 (clock_getcpuclockid): Remove code left unreachable by removal of
18484 conditionals.
18485 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18486 code unconditional.
18487 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18488 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18489 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18490 Make code unconditional.
18491 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18492 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18493 * sysdeps/unix/sysv/linux/clock_settime.c
18494 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18495 conditional code.
18496 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18497 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18498
184992012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18500
18501 [BZ #14476]
18502 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18503 scripts/test-installation.pl.
18504
18505 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18506 and $ld_so_version if it is set.
18507
185082012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18509
18510 [BZ #14516]
18511 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18512 failure if reading from procfs failed.
18513 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18514
185152012-08-27 Joseph Myers <joseph@codesourcery.com>
18516
18517 * sysdeps/unix/sysv/linux/kernel-features.h
18518 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18519 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18520 Remove conditional code.
18521 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18522 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18523 Remove conditional code.
18524 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18525 * sysdeps/unix/sysv/linux/i386/fxstat.c
18526 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18527 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18528 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18529 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18530 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18531 * sysdeps/unix/sysv/linux/i386/lxstat.c
18532 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18533 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18534 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18535 Remove conditional code.
18536 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18537 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18538 Remove conditional code.
18539 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18540 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18541 <kernel-features.h>.
18542 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18543 Remove.
18544 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18545 Remove conditional code.
18546 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18547 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18548 Remove conditional.
18549
185502012-08-27 Mike Frysinger <vapier@gentoo.org>
18551
18552 [BZ #5400]
18553 * NEWS: Add fixed bug number.
18554
185552012-08-27 Joseph Myers <joseph@codesourcery.com>
18556
18557 [BZ #14519]
18558 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18559 underflowing exponent in case of negative sign.
18560 * stdlib/tst-strtod-round-data: Add more tests.
18561 * stdlib/tst-strtod-round.c (tests): Regenerated.
18562
18563 [BZ #3479]
18564 * stdlib/strtod_l.c (NDIG): Remove.
18565 (HEXNDIG): Likewise.
18566 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18567 smallest representable value.
18568 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18569 lie within an exact representation of 1/2 ulp of the result.
18570 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18571 unconditionally.
18572 (TENS_P9_IDX): Define unconditionally.
18573 (TENS_P9_SIZE): Likewise.
18574 (TENS_P10_IDX): Likewise.
18575 (TENS_P10_SIZE): Likewise.
18576 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18577 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18578 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18579 entries for 10^2^13 and 10^2^14.
18580 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18581 (TENS_P13_IDX): Define.
18582 (TENS_P13_SIZE): Likewise.
18583 (TENS_P14_IDX): Likewise.
18584 (TENS_P14_SIZE): Likewise.
18585 (_fpioconst_pow10): Change array size to
18586 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18587 unconditional.
18588 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18589 1024]: Add entries for 10^2^13 and 10^2^14.
18590 [LAST_POW10 > _LAST_POW10]: Remove #error.
18591 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18592 (_fpioconst_pow10): Change array size to
18593 FPIOCONST_POW10_ARRAY_SIZE.
18594 * stdlib/gen-fpioconst.c: New file.
18595 * stdlib/gen-tst-strtod-round.c: Likewise.
18596 * stdlib/tst-strtod-round-data: Likewise.
18597 * stdlib/tst-strtod-round.c: Likewise.
18598 * stdlib/Makefile (tests): Add tst-strtod-round.
18599
18600 [BZ #14459]
18601 * stdlib/strtod_l.c: Include <stdint.h>.
18602 (NDEBUG): Do not define.
18603 (round_and_return): Change EXPONENT parameter to type intmax_t.
18604 Rearrange calculations to avoid internal overflow possibilities.
18605 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18606 Rearrange calculations to avoid internal overflow possibilities.
18607 Assert that number fits inside MPNSIZE limbs.
18608 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18609 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18610 calculations and add assertions to avoid internal overflow
18611 possibilities. Add casts to avoid signed/unsigned operations.
18612 * stdlib/tst-strtod-overflow.c: New file.
18613 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18614
186152012-08-25 Marek Polacek <polacek@redhat.com>
18616
18617 * time/time.h: Fix some typos in comments.
18618
186192012-08-23 Roland McGrath <roland@hack.frob.com>
18620
18621 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18622 * posix/tst-rfc3484-2.c: Likewise.
18623 * posix/tst-rfc3484-3.c: Likewise.
18624
186252012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18626
18627 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18628 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18629
186302012-08-23 Joseph Myers <joseph@codesourcery.com>
18631
18632 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18633 #include of fxstatat64.c.
18634
186352012-08-22 Roland McGrath <roland@hack.frob.com>
18636
18637 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18638 * shadow/getspent_r.c: Likewise.
18639 * shadow/getspnam.c: Likewise.
18640 * shadow/getspnam_r.c: Likewise.
18641 * gshadow/getsgent.c: Likewise.
18642 * gshadow/getsgent_r.c: Likewise.
18643 * gshadow/getsgnam.c: Likewise.
18644 * gshadow/getsgnam_r.c: Likewise.
18645 * inet/getnetbyad.c: Likewise.
18646 * inet/getnetbyad_r.c: Likewise.
18647 * inet/getnetbynm.c: Likewise.
18648 * inet/getnetbynm_r.c: Likewise.
18649 * inet/getnetent.c: Likewise.
18650 * inet/getnetent_r.c: Likewise.
18651 * inet/getproto.c: Likewise.
18652 * inet/getproto_r.c: Likewise.
18653 * inet/getprtent.c: Likewise.
18654 * inet/getprtent_r.c: Likewise.
18655 * inet/getprtname.c: Likewise.
18656 * inet/getprtname_r.c: Likewise.
18657 * inet/getrpcbyname.c: Likewise.
18658 * inet/getrpcbyname_r.c: Likewise.
18659 * inet/getrpcbynumber.c: Likewise.
18660 * inet/getrpcbynumber_r.c: Likewise.
18661 * inet/getrpcent.c: Likewise.
18662 * inet/getrpcent_r.c: Likewise.
18663 * inet/getaliasent.c: Likewise.
18664 * inet/getaliasent_r.c: Likewise.
18665 * inet/getaliasname.c: Likewise.
18666 * inet/getaliasname_r.c: Likewise.
18667 * nscd/getgrgid_r.c: Likewise.
18668 * nscd/getgrnam_r.c: Likewise.
18669 * nscd/gethstbyad_r.c: Likewise.
18670 * nscd/gethstbynm3_r.c: Likewise.
18671 * nscd/getpwnam_r.c: Likewise.
18672 * nscd/getpwuid_r.c: Likewise.
18673 * nscd/getsrvbynm_r.c: Likewise.
18674 * nscd/getsrvbypt_r.c: Likewise.
18675 * nscd/gai.c: Likewise.
18676
18677 * configure.in (build_nscd): New substituted variable, set
18678 by --disable-build-nscd and defaults to $use_nscd.
18679 * configure: Regenerated.
18680 * config.make.in (build-nscd): New substituted variable.
18681 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18682 Change conditional to require [$(build-nscd) = yes] as well.
18683 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18684
18685 [BZ# 13696]
18686 * configure.in (use_nscd): New substituted variable, set by
18687 --disable-nscd. If enabled, define USE_NSCD.
18688 * configure: Regenerated.
18689 * config.h.in: Add USE_NSCD.
18690 * config.make.in (use-nscd): New substituted variable.
18691 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18692 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18693 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18694 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18695 (CFLAGS-getgrnam_r.c): Likewise.
18696 (CFLAGS-initgroups.c): Likewise.
18697 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18698 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18699 Variables removed.
18700 * inet/getnetgrent_r.c
18701 (nscd_setnetgrent): New function, broken out of ...
18702 (setnetgrent): ... here. Call it.
18703 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18704 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18705 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18706 * nscd/Makefile (routines, aux): Move definitions after include of
18707 Makeconfig. Conditionalize on [$(use-nscd) != no].
18708 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18709 Conditionalize on [USE_NSCD].
18710 (is_nscd, nscd_init_cb): Likewise.
18711 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18712 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18713 * nss/nss_db/db-init.c: Likewise.
18714 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18715 [USE_NSCD].
18716 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18717 (make_request): Use it.
18718 (cache_valid_p): New function.
18719 (__check_pf): Use it.
18720 * NEWS: Add item for --disable-nscd.
18721
187222012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18723
18724 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18725 to support sed >= 4.2.1-20-ga9bf076.
18726 * configure: Regenerated.
18727
187282012-08-22 Roland McGrath <roland@hack.frob.com>
18729
18730 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18731 Conditionalize whole body on [IREL].
18732
187332012-08-22 Jeff Law <law@redhat.com>
18734
18735 [BZ #14505]
18736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18737 if the family is PF_UNSPEC.
18738
187392012-08-22 Mike Frysinger <vapier@gentoo.org>
18740
18741 * Makerules (lib-version): Rename from V.
18742 (install-lib-nosubdir): Change V to lib-version.
18743
187442012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18745
18746 [BZ #14252]
18747 * powerpc32/power6/wcschr.c: New file.
18748 * powerpc32/power6/wcscpy.c: New file.
18749 * powerpc32/power6/wcsrchr.c: New file.
18750 * powerpc64/power6/wcschr.c: New file.
18751 * powerpc64/power6/wcscpy.c: New file.
18752 * powerpc64/power6/wcsrchr.c: New file.
18753
187542012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18755
18756 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18757 (two_way_short_needle): Use it.
18758 * string/strstr.c (AVAILABLE1_USES_J): Define.
18759 * string/strcasestr.c: Likewise.
18760
18761 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18762 array references.
18763 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18764
18765 [BZ #11607]
18766 * NEWS: Add an entry.
18767 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18768 define their defaults.
18769 (two_way_short_needle): Detect end-of-string on-the-fly.
18770 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18771 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18772 * string/bug-strcasestr1.c: New test.
18773 * string/Makefile: Run it.
18774
187752012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18776
18777 [BZ #11607]
18778 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18779 the first character.
18780
187812012-08-21 Roland McGrath <roland@hack.frob.com>
18782
18783 * csu/elf-init.c (__libc_csu_irel): Function removed.
18784 * csu/libc-start.c (apply_irel): New function.
18785 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18786
187872012-08-21 Joseph Myers <joseph@codesourcery.com>
18788
18789 * sysdeps/unix/sysv/linux/kernel-features.h
18790 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18791 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18792 <kernel-features.h>.
18793 [__NR_fadvise64_64]: Make code unconditional.
18794 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18795 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18796 !__NR_fadvise64_64)]: Likewise.
18797 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18798 !__NR_fadvise64_64))]: Likewise.
18799 [__NR_fadvise64]: Make code unconditional.
18800 [!__NR_fadvise64]: Remove conditional code.
18801 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18802 <kernel-features.h>.
18803 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18804 unconditional.
18805 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18806 conditional code.
18807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18808 not include <kernel-features.h>.
18809 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18810 unconditional.
18811 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18812 conditional code.
18813 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18814 include <kernel-features.h>.
18815 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18816 unconditional.
18817 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18818 conditional code.
18819
188202012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18821
18822 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18823 slight instruction rearrangements per scrollpipe analysis.
18824 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18825
188262012-08-20 Roland McGrath <roland@hack.frob.com>
18827
18828 * manual/syslog.texi (syslog; vsyslog, closelog):
18829 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18830 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18831
18832 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18833 DSOCAPS to match condition on defining it.
18834
188352012-08-20 Joseph Myers <joseph@codesourcery.com>
18836
18837 * sysdeps/unix/sysv/linux/kernel-features.h
18838 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18840 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18841 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18843 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18844 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18846 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18847 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18848
18849 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18850 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18851
18852 * sysdeps/unix/sysv/linux/kernel-features.h
18853 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18854 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18855 unconditional.
18856 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18857 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18858 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18859 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18860 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18861 Make code unconditional.
18862 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18863 (__mmap64) [!__NR_mmap2]: Likewise.
18864 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18865 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18866 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18867 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18868 [__NR_mmap2]: Make code unconditional.
18869 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18870 (__mmap64) [!__NR_mmap2]: Likewise.
18871
188722012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18873
18874 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18875
188762012-08-18 Andreas Jaeger <aj@suse.de>
18877
18878 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18879
188802012-08-18 Mike Frysinger <vapier@gentoo.org>
18881
18882 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18883 * include/unistd.h (__have_sock_cloexec): Likewise.
18884 (__have_pipe2): Likewise.
18885 (__have_dup3): Likewise.
18886
188872012-08-18 Mike Frysinger <vapier@gentoo.org>
18888
18889 [BZ #9685]
18890 * include/unistd.h (__have_pipe2): Change define into an extern int.
18891 (__have_dup3): Likewise.
18892 * socket/have_sock_cloexec.c: Include fcntl.h.
18893 (__have_pipe2): New variable.
18894 (__have_dup3): Likewise.
18895
188962012-08-17 Mike Frysinger <vapier@gentoo.org>
18897
18898 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18899
189002012-08-17 Marek Polacek <polacek@redhat.com>
18901
18902 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18903 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18904
189052012-08-17 Roland McGrath <roland@hack.frob.com>
18906
18907 * configure.in: Add AC_SUBST for sysheaders.
18908 * configure: Regenerated.
18909 * config.make.in (sysheaders): New substituted variable.
18910
18911 * sysdeps/unix/mkfifo.c: Moved ...
18912 * sysdeps/posix/mkfifo.c: ... here.
18913 * sysdeps/unix/mkfifoat.c: Moved ...
18914 * sysdeps/posix/mkfifoat.c: ... here.
18915
18916 * sysdeps/unix/utime.c: Moved ...
18917 * sysdeps/posix/utime.c: ... here.
18918
18919 * sysdeps/unix/time.c: Moved ...
18920 * sysdeps/posix/time.c: ... here.
18921 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18922 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
18923
18924 * sysdeps/unix/nice.c: Moved ...
18925 * sysdeps/posix/nice.c: ... here.
18926
18927 * sysdeps/unix/alarm.c: Moved ...
18928 * sysdeps/posix/alarm.c: ... here.
18929
18930 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18931
189322012-08-17 Jeff Law <law@redhat.com>
18933
18934 * intl/Makefile (codeset_mo): New variable.
18935 ($(codeset_mo)): New target.
18936 (tst-codeset.out): Depend on that. Remove explicit rule.
18937 (tst-gettext3.out, tst-gettext5.out): Likewise.
18938 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18939 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18940 * intl/tst-codeset.sh: Remove.
18941 * intl/tst-gettext3.sh: Likewise.
18942 * intl/tst-gettext5.sh: Likewise.
18943
189442012-08-17 Roland McGrath <roland@hack.frob.com>
18945
18946 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18947 * sysdeps/unix/syscalls.list: ... here.
18948
18949 * sysdeps/posix/getaddrinfo.c
18950 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18951 (gaiconf_init, gaiconf_reload): Use them.
18952 [!_STATBUF_ST_NSEC]
18953 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18954 Define using time_t rather than struct timespec.
18955
18956 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18957 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18958 Macros removed.
18959 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18960 [!NO_THREADS].
18961 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18962 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18963 Likewise.
18964
18965 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18966 __libc_cleanup_push argument.
18967
18968 * bits/param.h: New file.
18969 * misc/sys/param.h: New file.
18970 * include/sys/param.h: New file.
18971 * misc/Makefile (headers): Add bits/param.h.
18972 * sysdeps/generic/sys/param.h: File removed.
18973 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18974 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18975 * sysdeps/mach/hurd/bits/param.h: New file.
18976 * sysdeps/mach/hurd/sys/param.h: File removed.
18977
18978 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18979 last change.
18980
18981 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18982 [_IO_MTSAFE_IO].
18983 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18984 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18985 New macros.
18986
18987 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18988 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18989 rather than -D_IO_MTSAFE_IO conditionally.
18990 * stdio-common/Makefile (CPPFLAGS): Likewise.
18991 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18992 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18993 Use $(libio-mtsafe).
18994 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18995 of -D_IO_MTSAFE_IO.
18996 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18997 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18998 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18999 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19000 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19001 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19002 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19003 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19004 (CFLAGS-fread_u_chk.c): Likewise.
19005 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19006 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19007 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19008 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19009 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19010 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19011 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19012 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19013 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19014
19015 * libio/Makefile: Test [$(libc-reentrant) = yes]
19016 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19017
19018 * Makeconfig
19019 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19020 * sysdeps/pthread/configure: File removed.
19021 * sysdeps/pthread/Makeconfig: New file.
19022 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19023 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19024
190252012-08-16 Gary Benson <gbenson@redhat.com>
19026
19027 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19028 unmapping the first object in a namespace.
19029
190302012-08-16 Roland McGrath <roland@hack.frob.com>
19031
19032 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19033 (__internal_setnetgrent): ... this. Add internal_function to
19034 definition. Add libc_hidden_def.
19035 (setnetgrent): Update caller.
19036 (internal_endnetgrent): Renamed to ...
19037 (__internal_endnetgrent): ... this. Add internal_function to
19038 definition. Add libc_hidden_def.
19039 (endnetgrent): Update caller.
19040 (internal_getnetgrent_r): Renamed to ...
19041 (__internal_getnetgrent_r): ... this. Add internal_function to
19042 definition. Add libc_hidden_def.
19043 (__getnetgrent_r): Update caller.
19044 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19045
190462012-08-16 Joseph Myers <joseph@codesourcery.com>
19047
19048 * stdlib/longlong.h: Update from GCC.
19049
190502012-08-16 Roland McGrath <roland@hack.frob.com>
19051
19052 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19053 on _QL, which is set by umul_ppmm but never used.
19054 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19055 variables, which are set by GMP macros but never used.
19056 * stdio-common/_itowa.c (_itowa): Likewise.
19057 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19058 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19059
190602012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19061
19062 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19063 struct La_sh_regs is not constant.
19064 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19065 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19066 and struct La_sparc64_regs are not constant.
19067
190682012-08-16 Joseph Myers <joseph@codesourcery.com>
19069
19070 * sysdeps/unix/sysv/linux/kernel-features.h
19071 (__ASSUME_POSIX_TIMERS): Remove.
19072 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19073 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19074 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19075 Make code unconditional.
19076 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19077 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19078 Make code unconditional.
19079 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19080 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19081 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19082 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19083 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19084 Make code unconditional.
19085 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19086 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19087 (__libc_missing_posix_timers): Remove.
19088
190892012-08-15 Roland McGrath <roland@hack.frob.com>
19090
19091 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19092 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19093
19094 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19095
19096 * elf/dl-sym.c: Include <stdlib.h>.
19097
19098 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19099 constants, which avoids warnings in 32-bit builds.
19100
19101 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19102 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19103
19104 * misc/lseek.c: File moved to ...
19105 * io/lseek.c: ... here.
19106
19107 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19108
19109 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19110 shifting LEN more than 31 bits at once.
19111
191122012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19113
19114 [BZ #14195]
19115 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19116 segmentation fault for a case of two empty input strings.
19117 * string/test-strncasecmp.c (check1): Renamed to...
19118 (bz12205): ...this.
19119 (bz14195): Add new testcase for two empty input strings and N > 0.
19120 (test_main): Call new testcase, adapt for renamed function.
19121
191222012-08-15 Andreas Jaeger <aj@suse.de>
19123
19124 [BZ #14090]
19125 * crypt/md5test2.c: New test, based on test supplied by Serge
19126 Belyshev <belyshev@depni.sinp.msu.ru>.
19127 * crypt/Makefile (xtests): Add md5test-giant..
19128 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19129
191302012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19131
19132 [BZ #14090]
19133 * crypt/md5.c (md5_process_block): Don't assume the buffer
19134 length is less than 2**32.
19135 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19136 length is less than 2**64.
19137
191382012-08-15 Roland McGrath <roland@hack.frob.com>
19139
19140 * string/str-two-way.h: Include <sys/param.h>.
19141 (MAX): Macro removed.
19142
19143 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19144 Move #define and #undef of memmove to just before and after
19145 including <string.h>.
19146
19147 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19148 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19149 and after including <string.h>. Move declarations of
19150 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19151 to before #include "string/memmove.c".
19152
19153 * include/dirent.h: Declare __getdirentries.
19154
19155 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19156 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19157
191582012-08-14 Mike Frysinger <vapier@gentoo.org>
19159
19160 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19161 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19162 * sysdeps/i386/configure: Regenerated.
19163 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19164 STABS_CURRENT_FILE, and STABS_FUN.
19165 (END): Remove call to STABS_FUN_END.
19166 (STABS_CURRENT_FILE1): Delete.
19167 (STABS_CURRENT_FILE): Likewise.
19168 (STABS_FUN): Likewise.
19169 (STABS_FUN_END): Likewise.
19170 (STABS_FUN2): Likewise.
19171 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19172 * sysdeps/x86_64/configure: Regenerated.
19173
191742012-08-14 Roland McGrath <roland@hack.frob.com>
19175
19176 * elf/dl-open.c: Include <atomic.h>.
19177 * elf/dl-lookup.c: Likewise.
19178
191792012-08-14 Joseph Myers <joseph@codesourcery.com>
19180
19181 * sysdeps/unix/sysv/linux/kernel-features.h
19182 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19183 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19184 unconditionally.
19185 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19186 unconditionally.
19187 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19188 condition on __ASSUME_CLONE_THREAD_FLAGS.
19189
191902012-08-14 Andreas Jaeger <aj@suse.de>
19191
19192 * sysdeps/i386/fpu/libm-test-ulps: Update.
19193
191942012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19195
19196 * include/atomic.h (atomic_exchange_and_add): Split into ...
19197 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19198 New atomic macros.
19199
192002012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19201
19202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19203
192042012-08-13 Jeff Law <law@redhat.com>
19205
19206 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19207 null byte in the output string.
19208
192092012-08-10 Joseph Myers <joseph@codesourcery.com>
19210
19211 * sysdeps/unix/sysv/linux/kernel-features.h
19212 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19213 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19214 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19215 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19216 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19217 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19218 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19219
192202012-08-09 Jeff Law <law@redhat.com>
19221
19222 [BZ #13939]
19223 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19224 When avoid_arena is set, don't retry in the that arena. Pick the
19225 next one, whatever it might be.
19226 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19227 (arena_lock): Pass in new parameter to arena_get2.
19228 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19229 arena_get2.
19230 (__libc_malloc): Unify retrying after main arena failure with
19231 __libc_memalign version.
19232 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19233
192342012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19235
19236 [BZ #14166]
19237 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19238 to __redirect_strstr.
19239 (__strstr_sse42): Use typeof __redirect_strstr.
19240 (__strstr_ia32): Likewise.
19241 (__libc_strstr): New prototype.
19242 (strstr): Renamed to ...
19243 (__libc_strstr): This.
19244 (strstr): New strong alias of __libc_strstr.
19245 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19246 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19247 __redirect_time.
19248 Include <time.h>.
19249 (__libc_time): New prototype.
19250 (time_ifunc): Replace time with __libc_time.
19251 (time): New strong alias and hidden definition of __libc_time.
19252 (__GI_time): Remove strong alias.
19253 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19254 Include <stddef.h>.
19255 (memmove): Redefined to __redirect_memmove.
19256 (__memmove_sse2): Use typeof __redirect_memmove.
19257 (__memmove_ssse3): Likewise.
19258 (__memmove_ssse3_back): Likewise.
19259 (__libc_memmove): New prototype.
19260 (memmove): Renamed to ...
19261 (__libc_memmove): This.
19262 (memmove): New strong alias of __libc_memmove.
19263
192642012-08-08 Mark Salter <msalter@redhat.com>
19265
19266 * elf/elf.h
19267 (R_MN10300_TLS_GD): Define.
19268 (R_MN10300_TLS_LD): Likewise.
19269 (R_MN10300_TLS_LDO): Likewise.
19270 (R_MN10300_TLS_GOTIE): Likewise.
19271 (R_MN10300_TLS_IE): Likewise.
19272 (R_MN10300_TLS_LE): Likewise.
19273 (R_MN10300_TLS_DTPMOD): Likewise.
19274 (R_MN10300_TLS_DTPOFF): Likewise.
19275 (R_MN10300_TLS_TPOFF): Likewise.
19276 (R_MN10300_SYM_DIFF): Likewise.
19277 (R_MN10300_ALIGN): Likewise.
19278 (R_MN10300_NUM): Update.
19279
192802012-08-08 Joseph Myers <joseph@codesourcery.com>
19281
19282 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19283 Remove.
19284
192852012-08-08 Roland McGrath <roland@hack.frob.com>
19286
19287 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19288
19289 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19290 sysdeps/unix -> sysdeps/posix move.
19291 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19292
192932012-08-07 Allan McRae <allan@archlinux.org>
19294
19295 [BZ #14303]
19296 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19297 (SUNOS_CPP): Likewise.
19298 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19299 not found.
19300 (open_input): Call CPP using execvp.
19301
193022012-08-07 Joseph Myers <joseph@codesourcery.com>
19303
19304 * sysdeps/unix/sysv/linux/kernel-features.h
19305 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19306 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19307 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19308 (__ASSUME_WAITID_SYSCALL): Likewise.
19309 * sysdeps/unix/sysv/linux/dl-execstack.c
19310 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19311 code unconditional.
19312 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19313 conditional code.
19314 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19315 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19316 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19317 code.
19318 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19319 unconditional.
19320 [__ASSUME_WAITID_SYSCALL]: Likewise.
19321 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19322
193232012-08-07 Roland McGrath <roland@hack.frob.com>
19324
19325 * sysdeps/unix/closedir.c: Renamed to ...
19326 * sysdeps/posix/closedir.c: ... here.
19327 * sysdeps/unix/dirfd.c: Renamed to ...
19328 * sysdeps/posix/dirfd.c: ... here.
19329 * sysdeps/unix/dirstream.h: Renamed to ...
19330 * sysdeps/posix/dirstream.h: ... here.
19331 * sysdeps/unix/fdopendir.c: Renamed to ...
19332 * sysdeps/posix/fdopendir.c: ... here.
19333 * sysdeps/unix/opendir.c: Renamed to ...
19334 * sysdeps/posix/opendir.c: ... here.
19335 * sysdeps/unix/readdir.c: Renamed to ...
19336 * sysdeps/posix/readdir.c: ... here.
19337 * sysdeps/unix/readdir_r.c: Renamed to ...
19338 * sysdeps/posix/readdir_r.c: ... here.
19339 * sysdeps/unix/rewinddir.c: Renamed to ...
19340 * sysdeps/posix/rewinddir.c: ... here.
19341 * sysdeps/unix/seekdir.c: Renamed to ...
19342 * sysdeps/posix/seekdir.c: ... here.
19343 * sysdeps/unix/telldir.c: Renamed to ...
19344 * sysdeps/posix/telldir.c: ... here.
19345 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19346 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19347 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19348 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19349
19350 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19351 * bits/fcntl.h: ... here.
19352
19353 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19354 not 0.
19355 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19356 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19357 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19358 (struct flock): Move l_start, l_len to the beginning.
19359 Use __pid_t for l_pid.
19360 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19361 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19362 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19363 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19364 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19365 [__USE_LARGEFILE64] (struct flock64): New type.
19366 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19367
19368 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19369 * bits/dirent.h: ... here.
19370
19371 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19372 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19373
193742012-08-07 Joseph Myers <joseph@codesourcery.com>
19375
19376 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19377 Change from 2.6.0 to 2.6.16.
19378 * sysdeps/unix/sysv/linux/configure: Regenerated.
19379 * sysdeps/unix/sysv/linux/kernel-features.h
19380 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19381 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19382 version.
19383 (__ASSUME_UTIMES): Likewise.
19384 (__ASSUME_CLONE_STOPPED): Remove.
19385 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19386 architectures, not kernel version.
19387 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19388 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19389 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19390 (__ASSUME_WAITID_SYSCALL): Likewise.
19391 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19392 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19393 * README: State 2.6.16 as minimum Linux kernel version. Do not
19394 refer to older versions.
19395
193962012-08-06 Roland McGrath <roland@hack.frob.com>
19397
19398 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19399 Define alphasort64 as an alias.
19400 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19401 Define versionsort64 as an alias.
19402 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19403 Define scandir64 as an alias.
19404 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19405 Define scandirat64 as an alias.
19406 * dirent/alphasort64.c (alphasort64):
19407 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19408 * dirent/versionsort64.c: Likewise.
19409 * dirent/scandir64.c: Likewise.
19410 * dirent/scandirat64.c: Likewise.
19411 * sysdeps/wordsize-64/alphasort.c: File removed.
19412 * sysdeps/wordsize-64/alphasort64.c: File removed.
19413 * sysdeps/wordsize-64/scandir.c: File removed.
19414 * sysdeps/wordsize-64/scandir64.c: File removed.
19415 * sysdeps/wordsize-64/scandirat.c: File removed.
19416 * sysdeps/wordsize-64/scandirat64.c: File removed.
19417 * sysdeps/wordsize-64/versionsort.c: File removed.
19418 * sysdeps/wordsize-64/versionsort64.c: File removed.
19419 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19420 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19421 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19422 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19423 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19424 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19425 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19426 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19427
19428 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19429 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19430 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19431 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19432 [defined __arch64__ || defined __sparcv9]
19433 (__INO_T_MATCHES_INO64_T): New macro.
19434 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19435 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19436 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19437 * sysdeps/unix/sysv/linux/bits/dirent.h
19438 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19439 (_DIRENT_MATCHES_DIRENT64): New macro.
19440
19441 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19442 Define lockf64 as an alias.
19443 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19444 Define fseeko64 as an alias.
19445 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19446 Define ftello64 as an alias.
19447 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19448 Define _IO_fgetpos64 and fgetpos64 as aliases.
19449 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19450 Define _IO_fsetpos64 and fsetpos64 as aliases.
19451 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19452 Conditionalize body on this.
19453 * libio/fseeko64.c: Likewise.
19454 * libio/ftello64.c: Likewise.
19455 * libio/iofgetpos64.c: Likewise.
19456 * libio/iofsetpos64.c: Likewise.
19457 * sysdeps/wordsize-64/lockf.c: File removed.
19458 * sysdeps/wordsize-64/lockf64.c: File removed.
19459 * sysdeps/wordsize-64/fseeko.c: File removed.
19460 * sysdeps/wordsize-64/fseeko64.c: File removed.
19461 * sysdeps/wordsize-64/ftello.c: File removed.
19462 * sysdeps/wordsize-64/ftello64.c: File removed.
19463 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19464 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19465 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19466 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19467 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19468 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19469 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19470 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19471 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19472 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19473 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19474 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19475 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19476 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19477
19478 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19479 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19480 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19481 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19482 [defined __arch64__ || defined __sparcv9]
19483 (__OFF_T_MATCHES_OFF64_T): New macro.
19484 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19485 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19486 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19487 (__OFF_T_MATCHES_OFF64_T): New macro.
19488
194892012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19490
19491 * stdlib/secure-getenv.c (__secure_getenv): Replace
19492 GLIBC_2_16 with GLIBC_2_17.
19493
194942012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19495
19496 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19497 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19498
194992012-08-03 David S. Miller <davem@davemloft.net>
19500
19501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19502
195032012-08-03 Joseph Myers <joseph@codesourcery.com>
19504
19505 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19506 Remove.
19507 (__ASSUME_CORRECT_SI_PID): Likewise.
19508 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19509 (__ASSUME_TMPFS_NAME): Likewise.
19510 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19511 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19512 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19513 (HAVE_AUX_SECURE): Make definition unconditional.
19514 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19515 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19516
195172012-08-03 Roland McGrath <roland@hack.frob.com>
19518
19519 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19520 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19521 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19522 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19523 __eloop_threshold instead of SYMLOOP_MAX.
19524
19525 * sysdeps/generic/eloop-threshold.h: New file.
19526 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19527 of MAXSYMLINKS.
19528 * elf/chroot_canon.c (chroot_canon): Likewise.
19529
195302012-08-03 Joseph Myers <joseph@codesourcery.com>
19531
19532 [BZ #13717]
19533 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19534 Change to 2.6.0 everywhere.
19535 * sysdeps/unix/sysv/linux/configure: Regenerated.
19536 * sysdeps/unix/sysv/linux/kernel-features.h
19537 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19538 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19539 kernel versions.
19540 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19541 (__ASSUME_FUTEX_REQUEUE): Remove.
19542 (__ASSUME_STATFS64): Define unconditionally.
19543 (__ASSUME_AT_SECURE): Likewise.
19544 (__ASSUME_CORRECT_SI_PID): Likewise.
19545 (__ASSUME_TGKILL): Define without depending on kernel version for
19546 i386.
19547 (__ASSUME_UTIMES): Likewise.
19548 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19549 kernel version.
19550 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19551 (__ASSUME_TMPFS_NAME): Likewise.
19552 * README: Update reference to Linux kernel versions.
19553
195542012-08-02 Marek Polacek <polacek@redhat.com>
19555
19556 [BZ# 14150]
19557 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19558 libc_cv_asm_type_prefix with %.
19559 * configure: Regenerated.
19560 * include/libc-symbols.h: Remove comment about
19561 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19562 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19563 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19564 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19565 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19566 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19567 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19568 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19569 * elf/tst-unique2mod1.c: Likewise.
19570 * elf/tst-unique1mod2.c: Likewise.
19571 * elf/tst-unique1mod1.c: Likewise.
19572 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19573 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19574 Replace ASM_TYPE_DIRECTIVE with .type.
19575 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19576 * sysdeps/i386/sysdep.h: Likewise.
19577 * sysdeps/x86_64/sysdep.h: Likewise.
19578 * sysdeps/sh/sysdep.h: Likewise.
19579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19580 Do not define ASM_TYPE_DIRECTIVE.
19581 * sysdeps/powerpc/sysdep.h: Likewise.
19582 * sysdeps/powerpc/powerpc32/sysdep.h:
19583 Replace ASM_TYPE_DIRECTIVE with .type.
19584 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19585 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19586 * sysdeps/i386/fpu/e_powf.S: Likewise.
19587 * sysdeps/i386/fpu/e_expl.S: Likewise.
19588 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19589 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19590 * sysdeps/i386/fpu/e_pow.S: Likewise.
19591 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19592 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19593 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19594 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19595 * sysdeps/i386/fpu/e_log2.S: Likewise.
19596 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19597 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19598 * sysdeps/i386/fpu/e_powl.S: Likewise.
19599 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19600 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19601 * sysdeps/i386/fpu/e_logl.S: Likewise.
19602 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19603 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19604 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19605 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19606 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19607 * sysdeps/i386/fpu/e_log.S: Likewise.
19608 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19609 * sysdeps/i386/fpu/e_logf.S: Likewise.
19610 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19611 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19612 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19613 * sysdeps/i386/fpu/e_log10.S: Likewise.
19614 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19615 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19616 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19617 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19618 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19619 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19620 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19621 * sysdeps/i386/i686/strtok.S: Likewise.
19622 * sysdeps/i386/i386-mcount.S: Likewise.
19623 * sysdeps/i386/strtok.S: Likewise.
19624 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19625 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19626 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19627 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19628 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19629 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19630 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19631 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19632 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19633 * sysdeps/x86_64/_mcount.S: Likewise.
19634 * sysdeps/x86_64/strtok.S: Likewise.
19635 * sysdeps/sh/_mcount.S: Likewise.
19636
196372012-08-01 Roland McGrath <roland@hack.frob.com>
19638
19639 * libio/iofopen.c: Include <fcntl.h>.
19640 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19641 (_IO_fopen64, fopen64): Define as aliases.
19642 * libio/iofopen64.c: Include <fcntl.h>.
19643 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19644 Conditionalize body on this.
19645 * sysdeps/wordsize-64/iofopen.c: File removed.
19646 * sysdeps/wordsize-64/iofopen64.c: File removed.
19647
196482012-08-01 Marek Polacek <polacek@redhat.com>
19649
19650 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19651 Use dlfcn directly instead of a variable.
19652 (binfmt-subdir): Do not define.
19653 (dlfcn): Likewise.
19654
196552012-08-01 Joseph Myers <joseph@codesourcery.com>
19656
19657 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19658 Remove all definitions.
19659 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19660 <kernel-features.h>.
19661 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19662 (miss_F_GETOWN_EX): Remove all definitions.
19663 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19664 macro definition.
19665 [!__ASSUME_FCNTL64]: Remove conditional code.
19666 [__ASSUME_FCNTL64]: Make code unconditional.
19667 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19668 <kernel-features.h>.
19669 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19670 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19671 (lockf64) [__NR_fcntl64]: Make code unconditional.
19672 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19673
19674 * sysdeps/unix/sysv/linux/kernel-features.h
19675 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19676 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19677 Make code unconditional.
19678 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19679 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19681 [__NR_vfork]: Make code unconditional.
19682 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19683 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19685 [__NR_vfork]: Make code unconditional.
19686 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19687 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19688
196892012-08-01 Roland McGrath <roland@hack.frob.com>
19690
19691 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19692 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19693
19694 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19695 Define mkstemp64 as an alias.
19696 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19697 Define mkstemps64 as an alias.
19698 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19699 Define mkostemp64 as an alias.
19700 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19701 Define mkostemps64 as an alias.
19702 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19703 Conditionalize body on this.
19704 * misc/mkostemp64.c: Likewise.
19705 * misc/mkostemps64.c: Likewise.
19706 * misc/mkstemps64.c: Likewise.
19707 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19708 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19709 * sysdeps/wordsize-64/mkostemp.c: File removed.
19710 * sysdeps/wordsize-64/mkstemp.c: File removed.
19711 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19712 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19713 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19714 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19715
19716 [BZ #14138]
19717 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19718 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19719 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19720 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19721
19722 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19723 compat_symbol macros from <shlib-compat.h> rather than the underlying
19724 default_symbol_version and symbol_version macros, so that DEFAULT
19725 lines in shlib-versions are respected.
19726 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19727
197282012-08-01 Florian Weimer <fweimer@redhat.com>
19729
19730 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19731 Declare with warn_unused_result.
19732 (setgid, setregid, setegid, setresgid): Likewise.
19733 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19734 Likewise.
19735 * WUR-REPORT: Remove set*id functions.
19736
197372012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19738
19739 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19740
197412012-07-31 Roland McGrath <roland@hack.frob.com>
19742
19743 [BZ #10191]
19744 * include/sys/socket.h (__libc_accept, __libc_accept4):
19745 Add attribute_hidden.
19746 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19747
19748 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19749 use of PTR_MANGLE.
19750 * inet/getnetgrent_r.c (setup): Likewise.
19751
19752 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19753
197542012-07-31 David S. Miller <davem@davemloft.net>
19755
19756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19757
197582012-07-31 Joseph Myers <joseph@codesourcery.com>
19759
19760 [BZ #13629]
19761 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19762 value between 1.0 and 2.0 and smaller part has absolute value less
19763 than 1.0.
19764 * math/s_clog10.c (__clog10): Likewise.
19765 * math/s_clog10f.c (__clog10f): Likewise.
19766 * math/s_clog10l.c (__clog10l): Likewise.
19767 * math/s_clogf.c (__clogf): Likewise.
19768 * math/s_clogl.c (__clogl): Likewise.
19769 * math/libm-test.inc (clog_test): Add more tests.
19770 (clog10_test): Likewise.
19771 * sysdeps/i386/fpu/libm-test-ulps: Update.
19772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19773
197742012-07-31 Florian Weimer <fweimer@redhat.com>
19775
19776 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19777 Exit with zero in case no suitable GID is found, and write a
19778 message to standard error.
19779
197802012-07-30 Roland McGrath <roland@hack.frob.com>
19781
19782 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19783 rather than to 1.
19784 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19785 (MAXPATHLEN): Removed.
19786 (NOGROUP, NODEV): New macros.
19787 (setbit, clrbit, isset, isclr): New macros.
19788 (howmany, roundup, powerof2): New macros.
19789 (DEV_BSIZE): New macro.
19790
19791 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19792 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19793
19794 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19795 definition on [!__NO_LONG_DOUBLE_MATH].
19796
19797 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19798 PTR_MANGLE and PTR_DEMANGLE.
19799
19800 * socket/accept4.c (accept4): Rename to __libc_accept4.
19801 Define accept4 as a weak alias.
19802
19803 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19804 on [_DIRENT_HAVE_D_TYPE].
19805 * io/ftw.c (ftw_dir): Likewise.
19806
19807 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19808
19809 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19810
19811 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19812 Use the BSD numbers rather than the arbitrary ones we had.
19813 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19814 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19815 (SIGXCPU, SIGXFSZ): New macros.
19816 (_NSIG): Now 32.
19817
19818 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19819 initializer on [_LIBC_REENTRANT].
19820
19821 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19822 definitions inside [_POSIX_MAPPED_FILES].
19823
19824 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19825
19826 * dirent/opendir.c: Include <fcntl.h>.
19827
19828 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19829 (__libc_getspecific): Likewise.
19830 (__libc_key_create): Likewise.
19831
19832 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19833 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19834 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19835 (tmpfile64): Define as alias.
19836 * sysdeps/wordsize-64/tmpfile.c: File removed.
19837 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19838 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19839 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19840
19841 * stdio-common/vfscanf.c: Include <stdbool.h>.
19842 * nss/makedb.c: Likewise.
19843 * stdio-common/_i18n_number.h: Likewise.
19844 * argp/argp-help.c: Likewise.
19845 * posix/wordexp.c: Likewise.
19846 * sysdeps/posix/spawni.c: Likewise.
19847 * nss/nss_files/files-initgroups.c: Likewise.
19848 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19849 * nss/nss_files/files-initgroups.c: Likewise.
19850 * nss/nss_db/db-netgrp.c: Likewise.
19851 * nss/nss_db/db-initgroups.c: Likewise.
19852 * io/fchmodat.c: Include <sys/stat.h>.
19853
19854 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19855 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19856
19857 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19858 [HAVE_MMAP].
19859
19860 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19861 Add multiple inclusion protection.
19862
198632012-07-27 David S. Miller <davem@davemloft.net>
19864
19865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19866
198672012-07-27 Gary Benson <gbenson@redhat.com>
19868
19869 [BZ #14298]
19870 * elf/rtld.c: Include <stap-probe.h>.
19871 (dl_main): Added static probes "init_start" and "init_complete".
19872 * elf/dl-load.c: Include <stap-probe.h>.
19873 (lose): Take new parameter "nsid".
19874 Added static probe "map_failed".
19875 (_dl_map_object_from_fd): Pass namespace id to lose.
19876 Added static probe "map_start".
19877 (open_verify): Pass namespace id to lose.
19878 * elf/dl-open.c: Include <stap-probe.h>.
19879 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19880 and "reloc_complete".
19881 * elf/dl-close.c: Include <stap-probe.h>.
19882 (_dl_close_worker): Added static probes "unmap_start" and
19883 "unmap_complete".
19884 * elf/rtld-debugger-interface.txt: New file documenting the above.
19885
198862012-07-26 Roland McGrath <roland@hack.frob.com>
19887
19888 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19889 rather than a string variable.
19890 * sunrpc/rpc_main.c (h_output): Likewise.
19891 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19892
198932012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19894
19895 * inet/check_native.c: New file.
19896
198972012-07-26 Joseph Myers <joseph@codesourcery.com>
19898
19899 [BZ #13629]
19900 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19901 if larger part has absolute value 1.0.
19902 * math/s_clog10.c (__clog10): Likewise.
19903 * math/s_clog10f.c (__clog10f): Likewise.
19904 * math/s_clog10l.c (__clog10l): Likewise.
19905 * math/s_clogf.c (__clogf): Likewise.
19906 * math/s_clogl.c (__clogl): Likewise.
19907 * math/libm-test.inc (clog_test): Add more tests.
19908 (clog10_test): Likewise.
19909 * sysdeps/i386/fpu/libm-test-ulps: Update.
19910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19911
19912 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19913 (pltexit): Likewise.
19914 (La_regs): Likewise.
19915 (La_retval): Likewise.
19916 (int_retval): Likewise.
19917 Update #error for removed macros to refer only to definitions in
19918 tst-audit.h.
19919 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19920 macro.
19921 (pltexit): Likewise.
19922 (La_regs): Likewise.
19923 (La_retval): Likewise.
19924 (int_retval): Likewise.
19925 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19926 macro.
19927 (pltexit): Likewise.
19928 (La_regs): Likewise.
19929 (La_retval): Likewise.
19930 (int_retval): Likewise.
19931 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19932 macro.
19933 (pltexit): Likewise.
19934 (La_regs): Likewise.
19935 (La_retval): Likewise.
19936 (int_retval): Likewise.
19937 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19938 macro.
19939 (pltexit): Likewise.
19940 (La_regs): Likewise.
19941 (La_retval): Likewise.
19942 (int_retval): Likewise.
19943 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19944 macro.
19945 (pltexit): Likewise.
19946 (La_regs): Likewise.
19947 (La_retval): Likewise.
19948 (int_retval): Likewise.
19949 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19950 macro.
19951 (pltexit): Likewise.
19952 (La_regs): Likewise.
19953 (La_retval): Likewise.
19954 (int_retval): Likewise.
19955 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19956 macro definitions in tst-audit.h.
19957 * sysdeps/i386/tst-audit.h: New file.
19958 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19959 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19960 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19961 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19962 * sysdeps/sh/tst-audit.h: Likewise.
19963 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19964 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19965 * sysdeps/x86_64/tst-audit.h: Likewise.
19966
199672012-07-26 Andreas Jaeger <aj@suse.de>
19968
19969 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19970 ptrace.
19971
19972 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19973 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19974 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19975 PTRACE_O_MASK.
19976 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19977 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19978 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19979
19980 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19981 value.
19982
19983 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19984 _sigsys.
19985 (si_call_addr, si_syscall, si_arch): Define new macro.
19986 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19987 _sigsys.
19988 (si_call_addr, si_syscall, si_arch): Define new marcro.
19989 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19990 _sigsys.
19991 (si_call_addr, si_syscall, si_arch): Define new macro.
19992 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19993 _sigsys.
19994 (si_call_addr, si_syscall, si_arch): Define new macro.
19995
199962012-07-25 Joseph Myers <joseph@codesourcery.com>
19997
19998 [BZ #13717]
19999 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20000 Change to 2.4.21 where previously 2.4.1.
20001 * sysdeps/unix/sysv/linux/configure: Regenerated.
20002 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20003 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20004 Linux kernel version.
20005 (__ASSUME_STD_AUXV): Remove.
20006 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20007 kernel version.
20008 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20009 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20010 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20011 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20012 (__ASSUME_NETLINK_SUPPORT): Likewise.
20013 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20014 (__no_netlink_support): Remove conditional definition.
20015 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20016 Remove.
20017 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20018 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20019 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20020 (if_nameindex_ioctl): Remove.
20021 (if_nameindex_netlink): Do not handle __no_netlink_support.
20022 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20023 code.
20024 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20025 Remove conditional code.
20026 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20027 code.
20028 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20029 unconditional.
20030 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20031 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20032 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20033 Remove.
20034 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20035 [!__ASSUME_STD_AUXV]: Remove conditional code.
20036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20037 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20038 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20040 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20041 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20042 code.
20043 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20045 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20046 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20047 conditional code.
20048 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20050 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20051 code.
20052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20053 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20054 conditional code.
20055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20056 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20057 code unconditional.
20058 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20059 conditional code.
20060 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20061 unconditional.
20062 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20063 conditional code.
20064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20065 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20066 unconditional.
20067 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20068 conditional code.
20069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20070 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20071 code unconditional.
20072 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20073 conditional code.
20074 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20075 unconditional.
20076 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20077 conditional code.
20078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20079 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20080 code unconditional.
20081 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20082 conditional code.
20083 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20084 unconditional.
20085 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20086 conditional code.
20087
200882012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20089
20090 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20091 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20092 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20093 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20094 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20095 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20096 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20097 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20098 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20099 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20100 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20101 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20102 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20103 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20104 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20105 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20106 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20107 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20108 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20109 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20110 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20111 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20112 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20113
201142012-07-25 Florian Weimer <fweimer@redhat.com>
20115
20116 * Versions.def: Add GLIBC_2.17.
20117 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20118 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20119 Introduce __libc_secure_getenv.
20120 * stdlib/Versions (2.17): Add secure_getenv
20121 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20122 * stdlib/secure-getenv.c: Rename __secure_getenv to
20123 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20124 symbol __secure_getenv for GLIBC_2.0.
20125 * stdlib/tst-secure-getenv.c: New.
20126 * stdlib/Makefile (tests): Add testcase.
20127 * manual/startup.texi (Environment Access): Document
20128 secure_getenv.
20129 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20130 __libc_secure_getenv.
20131 * inet/ruserpass.c (ruserpass): Likewise.
20132 * malloc/mtrace.c (mtrace): Likewise.
20133 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20134 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20135 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20136 * sysdeps/posix/tempname.c: Likewise. Evaluate
20137 HAVE_SECURE_GETENV.
20138 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20139 __secure_getenv to __libc_secure_getenv.
20140 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20142 Likewise.
20143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20144 Likewise.
20145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20147 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20152
201532012-07-25 Joseph Myers <joseph@codesourcery.com>
20154
20155 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20156 (struct La_i86_retval): Likewise.
20157 (struct La_x86_64_regs): Likewise.
20158 (struct La_x86_64_retval): Likewise.
20159 (struct La_x32_regs): Likewise.
20160 (struct La_x32_retval): Likewise.
20161 (struct La_ppc32_regs): Likewise.
20162 (struct La_ppc32_retval): Likewise.
20163 (struct La_ppc64_regs): Likewise.
20164 (struct La_ppc64_retval): Likewise.
20165 (struct La_sh_regs): Likewise.
20166 (struct La_sh_retval): Likewise.
20167 (struct La_s390_32_regs): Likewise.
20168 (struct La_s390_32_retval): Likewise.
20169 (struct La_s390_64_regs): Likewise.
20170 (struct La_s390_64_retval): Likewise.
20171 (struct La_sparc32_regs): Likewise.
20172 (struct La_sparc32_retval): Likewise.
20173 (struct La_sparc64_regs): Likewise.
20174 (struct La_sparc64_retval): Likewise.
20175 (struct audit_ifaces): Remove architecture-specific pltenter and
20176 pltexit members.
20177 * sysdeps/i386/ldsodefs.h: New file.
20178 * sysdeps/powerpc/ldsodefs.h: Likewise.
20179 * sysdeps/s390/ldsodefs.h: Likewise.
20180 * sysdeps/sh/ldsodefs.h: Likewise.
20181 * sysdeps/sparc/ldsodefs.h: Likewise.
20182 * sysdeps/x86_64/ldsodefs.h: Likewise.
20183
201842012-07-25 Marek Polacek <polacek@redhat.com>
20185
20186 [BZ #6808]
20187 * math/libm-test.inc (yn_test): Add another test.
20188 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20189 to ERANGE when the result is +-Inf.
20190 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20191 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20192 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20193 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20194
201952012-07-24 Joseph Myers <joseph@codesourcery.com>
20196
20197 * conform/data/time.h-data (NULL): Use macro-constant. Require
20198 equal to 0.
20199 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20200 clock_t.
20201 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20202
202032012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20204
20205 * configure.in <sysdeps resolving>: Correct printing
20206 Implies_before.
20207 * configure: Regenerate.
20208
202092012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20210
20211 * math/w_ilogb.c: Include <limits.h>.
20212 * math/w_ilogbl.c: Likewise.
20213
202142012-07-20 Joseph Myers <joseph@codesourcery.com>
20215
20216 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20217 va_copy. Document allowing for unavailable va_copy only as
20218 pre-C99 compatibility.
20219 * manual/string.texi (Copying and Concatenation): Use va_copy
20220 instead of __va_copy in concat example.
20221
202222012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20223
20224 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20225 (__sendto): Use create_address_port. Initialize APORT and deallocate
20226 it if not null.
20227
20228 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20229 with O_NOLINK passed to __file_name_lookup.
20230
20231 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20232 with O_NOLINK passed to __file_name_lookup.
20233
20234 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20235 negative N or less than NGIDS.
20236
20237 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20238 type to string_t. Set ERANGE as errno and return it if NAME is not big
20239 enough. Use memcpy instead of strncpy.
20240
202412012-07-20 Joseph Myers <joseph@codesourcery.com>
20242
20243 * elf/Makefile (check-data): Remove.
20244 (localplt.data): New vpath directive.
20245 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20246 instead of $(check-data).
20247 * scripts/data/localplt-generic.data: Move to ...
20248 * sysdeps/generic/localplt.data: ... here.
20249 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20250 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20251 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20253 ... here.
20254 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20256 ... here.
20257 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20259 ... here.
20260 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20262 ... here.
20263 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20264 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20265 ... here.
20266 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20268 ... here.
20269
202702012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20271
20272 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20273 PPC32 and PPC64 files.
20274 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20275 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20276
202772012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20278
20279 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20280 __makecontext_ret to ...
20281 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20282 ... here and call exit if uc_link is NULL. New file.
20283 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20284 __makecontext_ret.S.
20285 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20286 __makecontext_ret to ...
20287 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20288 ... here and call exit if uc_link is NULL. New file.
20289 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20290 __makecontext_ret.S.
20291
202922012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20293
20294 * elf/elf.h (R_390_IRELATIVE): New definition.
20295 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20296 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20297 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20298 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20299 (elf_machine_lazy_rel): Likewise.
20300 * sysdeps/s390/dl-irel.h: New file.
20301 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20302 * sysdeps/s390/s390-64/memset.S: New asm code.
20303 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20304 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20305 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20306 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20307 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20308 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20309 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20310 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20311 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20312 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20313 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20314 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20315 * sysdeps/s390/s390-32/memset.S: New asm code.
20316 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20317
203182012-07-17 Marek Polacek <polacek@redhat.com>
20319
20320 [BZ #14349]
20321 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20322 * sysdeps/s390/s390-64/configure.in: Likewise.
20323 * sysdeps/sparc/configure.in: Likewise.
20324 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20325 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20326 * sysdeps/i386/configure.in: Likewise.
20327 * sysdeps/x86_64/configure.in: Likewise.
20328 * sysdeps/sh/configure.in: Likewise.
20329 * sysdeps/s390/s390-32/configure: Regenerated.
20330 * sysdeps/s390/s390-64/configure: Likewise.
20331 * sysdeps/x86_64/configure: Likewise.
20332 * sysdeps/sh/configure: Likewise.
20333 * sysdeps/powerpc/powerpc64/configure: Likewise.
20334 * sysdeps/powerpc/powerpc32/configure: Likewise.
20335 * sysdeps/sparc/configure: Likwise.
20336 * sysdeps/i386/configure: Likewise.
20337
20338 * elf/dl-open.c: Comment fixes.
20339
203402012-07-17 Joseph Myers <joseph@codesourcery.com>
20341
20342 * Makefile [CXX] (check-data): Remove.
20343 [CXX] (c++-types.data): New vpath directive.
20344 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20345 vpath. Do not allow for C++ type data being missing.
20346 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20347 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20348 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20349 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20350 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20351 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20352 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20354 ... here.
20355 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20357 ... here.
20358 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20360 ... here.
20361 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20363 ... here.
20364 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20366 ... here.
20367 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20369 ... here.
20370 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20372 ... here.
20373 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20375
20376 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20377 definitions to architecture-specific files.
20378 (TLS_IE): Likewise.
20379 (TLS_LD): Likewise.
20380 (TLS_GD): Likewise.
20381 * sysdeps/i386/tls-macros.h: New file.
20382 * sysdeps/powerpc/tls-macros.h: Likewise.
20383 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20384 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20385 * sysdeps/sh/tls-macros.h: Likewise.
20386 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20387 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20388 * sysdeps/x86_64/tls-macros.h: Likewise.
20389
203902012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20391
20392 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20393 zero value for regular exit case.
20394
20395 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20396 (__start_context): Preserve zero value for regular exit case.
20397
203982012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20399 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20400
20401 * manual/setjmp.texi (setcontext): Clarify normal process
20402 termination when uc_link is the null pointer.
20403 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20404 exit call.
20405
204062012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20407
20408 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20409 preprocessor. Test for each exception mask separately.
20410
204112012-07-16 Andreas Jaeger <aj@suse.de>
20412
20413 * po/ru.po: Update from translation team.
20414
204152012-07-15 Joseph Myers <joseph@codesourcery.com>
20416
20417 * conform/data/string.h-data (NULL): Use macro-constant. Require
20418 equal to 0.
20419 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20420 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20421 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20422 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20423 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20424
204252012-07-13 Andreas Jaeger <aj@suse.de>
20426
20427 * po/fr.po: Update from translation team.
20428
204292012-07-12 Marek Polacek <polacek@redhat.com>
20430
20431 [BZ #14173]
20432 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20433 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20434 loop condition.
20435
204362012-07-12 Joseph Myers <joseph@codesourcery.com>
20437
20438 [BZ #13717]
20439 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20440 Change to 2.4.1 where previously 2.4.0.
20441 * sysdeps/unix/sysv/linux/configure: Regenerated.
20442 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20443 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20444 version.
20445 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20446 (__ASSUME_AT_CLKTCK): Remove.
20447 (__ASSUME_AT_PAGESIZE): Likewise.
20448 (__ASSUME_AT_XID): Likewise.
20449 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20450 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20451 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20452 unconditionally.
20453 (HAVE_AUX_PAGESIZE): Likewise.
20454 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20455 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20456 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20457
204582012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20459
20460 [BZ #14307]
20461 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20462 the temporary buffer used to invoke __gethostbyname2_r,
20463 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20464 host_data / struct gaih_addrtuple.
20465 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20466 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20467 header file nss/nsswitch.h.
20468 * nss/nsswitch.h (global scope): Add definition of implementation
20469 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20470 resolv/nss_dns/dns-host.c).
20471
204722012-07-11 Andreas Jaeger <aj@suse.de>
20473
20474 * po/fr.po: Update from translation team.
20475
20476 * po/sv.po: Update from translation team
20477 * po/fr.po: Another update from translation team.
20478
204792012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20480
20481 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20482 for subnormals or multiply small sinh result by itself.
20483 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20485
204862012-07-11 David S. Miller <davem@davemloft.net>
20487
20488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20489
204902012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20491
20492 [BZ #14347]
20493 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20494 (INTERNAL_MARK): Shift it here.
20495
204962012-07-10 Marek Polacek <polacek@redhat.com>
20497
20498 [BZ #14151]
20499 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20500 libc_cv_asm_global_directive with .globl.
20501 * configure: Regenerated.
20502 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20503 with .globl.
20504 * sysdeps/i386/configure: Regenerated.
20505 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20506 with .globl.
20507 * sysdeps/x86_64/configure: Regenerated.
20508 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20509 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20510 * elf/tst-unique2mod2.c: Likewise.
20511 * elf/tst-unique2mod1.c: Likewise.
20512 * elf/tst-unique1mod2.c: Likewise.
20513 * elf/tst-unique1mod1.c: Likewise.
20514 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20515 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20516 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20517 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20518 * sysdeps/mach/sysdep.h: Likewise.
20519 * sysdeps/i386/sysdep.h: Likewise.
20520 * sysdeps/i386/i386-mcount.S: Likewise.
20521 * sysdeps/x86_64/_mcount.S: Likewise.
20522 * sysdeps/x86_64/sysdep.h: Likewise.
20523 * sysdeps/sh/_mcount.S: Likewise.
20524 * sysdeps/sh/sysdep.h: Likewise.
20525 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20526 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20527 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20528 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20529 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20530 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20531 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20532 * locale/localeinfo.h: Likewise.
20533 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20534 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20535
205362012-07-09 Roland McGrath <roland@hack.frob.com>
20537
20538 [BZ #14336]
20539 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20540 system".
20541 * manual/message.texi (The Uniforum approach): Likewise.
20542 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20543 (glibc iconv Implementation): Likewise.
20544
205452012-07-09 Joseph Myers <joseph@codesourcery.com>
20546
20547 [BZ #14337]
20548 * math/s_clog.c (__clog): Avoid scaling a value down where that
20549 could result in underflow.
20550 * math/s_clog10.c (__clog10): Likewise.
20551 * math/s_clog10f.c (__clog10f): Likewise.
20552 * math/s_clog10l.c (__clog10l): Likewise.
20553 * math/s_clogf.c (__clogf): Likewise.
20554 * math/s_clogl.c (__clogl): Likewise.
20555 * math/libm-test.inc (clog_test): Add more tests.
20556 (clog10_test): Likewise.
20557 * sysdeps/i386/fpu/libm-test-ulps: Update.
20558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20559
205602012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20561
20562 [BZ #14283]
20563 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20564 by 7 not 8 to examine high bit of fractional part.
20565
20566 [BZ #14042]
20567 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20568 for call to __mcount_internal.
20569 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20570 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20571 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20572
205732012-07-06 Joseph Myers <joseph@codesourcery.com>
20574
20575 [BZ #14154]
20576 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20577 approximation for values within 0x1p-13f of an odd multiple of
20578 pi/4.
20579 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20580 exception. Add more tests.
20581 * sysdeps/i386/fpu/libm-test-ulps: Update.
20582
20583 [BZ #6778]
20584 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20585 inputs and return -1 for them. Do not check for +Inf in case not
20586 reachable for +Inf.
20587 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20588 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20589 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20590 and return -1 for them. Do not check for +Inf in case not
20591 reachable for +Inf.
20592 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20593 define.
20594 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20595 and return -1 for them. Do not check for +Inf in case not
20596 reachable for +Inf.
20597 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20598 spurious underflow.
20599 * sysdeps/i386/fpu/libm-test-ulps: Update.
20600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20601
206022012-07-06 Mike Frysinger <vapier@gentoo.org>
20603
20604 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20605
206062012-07-05 Joseph Myers <joseph@codesourcery.com>
20607
20608 [BZ #14157]
20609 [BZ #14331]
20610 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20611 could result in spurious underflow. Scale down values above
20612 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20613 * math/s_csqrtf.c (__csqrtf): Likewise.
20614 * math/s_csqrtl.c (__csqrtl): Likewise.
20615 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20616 spurious underflow.
20617 * sysdeps/i386/fpu/libm-test-ulps: Update.
20618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20619
206202012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20621
20622 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20623 xopen-msg.sed.
20624 * catgets/xopen-msg.awk: New file.
20625 * catgets/xopen-msg.sed: Removed.
20626
20627 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20628 po2text.sed.
20629 * intl/po2test.awk: New file.
20630 * intl/po2test.sed: Removed.
20631
206322012-07-04 Joseph Myers <joseph@codesourcery.com>
20633
20634 [BZ #14328]
20635 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20636 or multiply small sinh result by itself.
20637 * math/s_ctanf.c (__ctanf): Likewise.
20638 * math/s_ctanh.c (__ctanh): Likewise.
20639 * math/s_ctanhf.c (__ctanhf): Likewise.
20640 * math/s_ctanhl.c (__ctanhl): Likewise.
20641 * math/s_ctanl.c (__ctanl): Likewise.
20642 * math/libm-test.inc (ctan_test_tonearest): New function.
20643 (ctan_test_towardzero): Likewise.
20644 (ctan_test_downward): Likewise.
20645 (ctan_test_upward): Likewise.
20646 (ctanh_test_tonearest): Likewise.
20647 (ctanh_test_towardzero): Likewise.
20648 (ctanh_test_downward): Likewise.
20649 (ctanh_test_upward): Likewise.
20650 (main): Call these new functions.
20651 * sysdeps/i386/fpu/libm-test-ulps: Update.
20652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20653
206542012-07-03 Mike Frysinger <vapier@gentoo.org>
20655
20656 * .gitignore: Delete /ports entry.
20657
206582012-07-03 Andreas Jaeger <aj@suse.de>
20659
20660 * po/bg.po: Update from translation team.
20661 * po/cs.po: Likewise.
20662 * po/de.po: Likewise.
20663 * po/hr.po: Likewise.
20664 * po/nl.pl: Likewise.
20665 * po/pl.po: Likewise.
20666 * po/vi.po: Likewise.
20667
206682012-07-03 Joseph Myers <joseph@codesourcery.com>
20669
20670 * Makeconfig [!+link] (+link-before-libc): New variable.
20671 [!+link] (+link-after-libc): Likewise.
20672 [!+link] (+link-tests): Likewise.
20673 [!+link] (+link): Define in terms of $(+link-before-libc) and
20674 $(+link-after-libc).
20675 [!+link-static] (+link-static-before-libc): New variable.
20676 [!+link-static] (+link-static-after-libc): Likewise.
20677 [!+link-static] (+link-static-tests): Likewise.
20678 [!+link-static] (+link-static): Define in terms of
20679 $(+link-static-before-libc) and $(+link-static-after-libc).
20680 [build-shared] (link-libc-before-gnulib): New variable.
20681 [build-shared] (link-libc-tests): Likewise.
20682 [build-shared] (link-libc): Define in terms of
20683 $(link-libc-before-gnulib).
20684 [!build-shared] (link-libc-tests): New variable.
20685 (link-libc-static-tests): New variable.
20686 [!gnulib] (gnulib-arch): New variable.
20687 [!gnulib] (gnulib-tests): Likewise.
20688 [!gnulib] (static-gnulib-arch): Likewise.
20689 [!gnulib] (static-gnulib-tests): Likewise.
20690 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20691 Define with "=" instead of ":=".
20692 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20693 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20694 * Rules (binaries-all-notests): New variable.
20695 (binaries-all-tests): Likewise.
20696 (binaries-static-notests): Likewise.
20697 (binaries-static-tests): Likewise.
20698 (binaries-all): Define using $(binaries-all-notests) and
20699 $(binaries-all-tests).
20700 (binaries-static): Define using $(binaries-static-notests) and
20701 $(binaries-static-tests).
20702 (binaries-shared-tests): New variable.
20703 (binaries-shared-notests): Likewise.
20704 (binaries-shared): Remove variable.
20705 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20706 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20707 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20708 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20709 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20710 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20711 * elf/Makefile (sln-modules): New variable.
20712 (extra-objs): Add $(sln-modules:=.o).
20713 (ldconfig-modules): Add static-stubs.
20714 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20715 * elf/static-stubs.c: New file.
20716
20717 [BZ #14283]
20718 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20719 by 7 not 8 to examine high bit of fractional part. Use volatile
20720 variables when splitting into final array of floats if
20721 __FLT_EVAL_METHOD__ != 0.
20722 * math/libm-test.inc (cos_test): Add another test.
20723 (sin_test): Likewise.
20724 * sysdeps/i386/fpu/libm-test-ulps: Update.
20725
20726 [BZ #14273]
20727 * math/libm-test.inc (cosh_test): Add more tests.
20728
20729 * version.h (RELEASE): Set to "development".
20730 (VERSION): Set to "2.16.90".
20731
207322012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20733
20734 * NEWS: Update copyright. Remove last-updated date.
20735 Mention math library bug fixes and timezone data changes.
20736 * README: Mention GNU/Hurd, x32, and HPPA support status.
20737
207382012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20739
20740 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20741
207422012-06-27 Andreas Jaeger <aj@suse.de>
20743
20744 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20745
207462012-06-25 Andreas Jaeger <aj@suse.de>
20747
20748 * sysdeps/s390/fpu/libm-test-ulps: Update.
20749
207502012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20751 Thomas Schwinge <thomas@codesourcery.com>
20752
20753 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20754 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20755 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20756 fanotify_mark.
20757
207582012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20759
20760 * sysdeps/mach/start.c: Remove file.
20761 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20762 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20763 * sysdeps/sh/init-first.c: Likewise.
20764
20765 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20766 registers for frame unwinding purposes, add CFI directives.
20767 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20768 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20769 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20770 Likewise.
20771
20772 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20773 __fortify_fail returning.
20774 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20775
20776 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20777 sysdeps/sh/____longjmp_chk.S.
20778 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20779 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20780 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20781 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20782
20783 * sysdeps/sh/abort-instr.h: New file.
20784 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20785 process in case exit returns.
20786
20787 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20788 initialize the GOT register before use.
20789
20790 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20791 calculation of ARGC > 4.
20792
20793 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20794 meaningful names to some local labels.
20795
207962012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20797 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20798
20799 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20800 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20801 (__arch_compare_and_exchange_val_16_acq): Likewise.
20802 (__arch_compare_and_exchange_val_32_acq): Likewise.
20803 (atomic_exchange_and_add): Fix gUSA sequence.
20804 (atomic_add): Likewise.
20805 (atomic_add_negative): Likewise.
20806 (atomic_add_zero): Likewise.
20807 (atomic_bit_test_set): Likewise.
20808
208092012-06-22 Andreas Schwab <schwab@redhat.com>
20810
20811 [BZ #13579]
20812 * include/link.h (struct link_map): Add l_free_initfini.
20813 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20814 l_initfini.
20815 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20816 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20817 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20818 set.
20819
208202012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20821
20822 * configure.in: Use AC_LANG_SOURCE.
20823 * configure: Regenerate.
20824
208252012-06-22 Roland McGrath <roland@hack.frob.com>
20826
20827 * configure.in (libc_cv_localstatedir): New substituted variable.
20828 * configure: Regenerated.
20829 * config.make.in (localstatedir): New variable, substituted from
20830 libc_cv_localstatedir.
20831 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20832 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20833 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20834 * sysdeps/gnu/configure: Regenerated.
20835
208362012-06-21 Jeff Law <law@redhat.com>
20837
20838 [BZ #14277]
20839 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20840 free. Simplify list management for _LIBC case.
20841
208422012-06-21 Joseph Myers <joseph@codesourcery.com>
20843
20844 [BZ #14273]
20845 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20846 Clear sign bit of 64-bit integer value before comparing against
20847 overflow value.
20848
20849 * sysdeps/mach/configure: Regenerated.
20850
208512012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20852
20853 [BZ #14278]
20854 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20855
208562012-06-21 Jeff Law <law@redhat.com>
20857
20858 [BZ #13882]
20859 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20860 uint16_t for elements in the "seen" array to avoid char overflows.
20861 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20862 * elf/dl-open.c (dl_open_worker): Likewise.
20863
208642012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20865
20866 * scripts/list-sources.sh: Scan PORTS for translations.
20867 * po/libc.pot: Regenerated.
20868
208692012-06-21 Andreas Jaeger <aj@suse.de>
20870
20871 [BZ #12194]
20872 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20873 warning.
20874 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20875 * bits/byteswap-16.h (__bswap_16): Likewise.
20876 * bits/byteswap.h (__bswap_constant_16): Likewise.
20877
208782012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20879
20880 [BZ #14117]
20881 * sysdeps/i386/fpu_control.h: Removed.
20882 * sysdeps/x86_64/fpu_control.h: Moved to ...
20883 * sysdeps/x86/fpu_control.h: Here.
20884
20885 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20886 (_FPU_SETCW): Likewise.
20887
208882012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20889
20890 [BZ #14117]
20891 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20892 * sysdeps/x86/fpu/bits/mathinline.h: This.
20893 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20894
20895 [BZ #14050]
20896 [BZ #14117]
20897 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20898 functions if __x86_64__ is defined.
20899
209002012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20901
20902 * string/endian.h: Add !__ASSEMBLER__ condition for including
20903 conversion interfaces.
20904
209052012-06-15 Joseph Myers <joseph@codesourcery.com>
20906
20907 [BZ #14241]
20908 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20909 of ABS(x) in calculating zero to negative powers other than odd
20910 integers.
20911 * math/libm-test.inc (pow_test): Add more tests.
20912
209132012-06-15 Andreas Jaeger <aj@suse.de>
20914
20915 * manual/contrib.texi (Contributors): Update entry of Liubov
20916 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20917 Machado Filho.
20918
209192012-06-15 Cyril Hrubis <metan@ucw.cz>
20920
20921 * string/string.h: Add __wur to GNU version of strerror_r.
20922
209232012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20924
20925 [BZ #14229]
20926 * string/Makefile (tests): Add tst-strtok_r.
20927 * string/tst-strtok_r.c: New file.
20928 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20929 RAX_LP/RDX_LP on SAVE_PTR.
20930
209312012-06-14 Roland McGrath <roland@hack.frob.com>
20932
20933 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20934
209352012-06-14 Joseph Myers <joseph@codesourcery.com>
20936
20937 * libm_test.inc (csqrt_test): Allow more spurious underflow
20938 exceptions.
20939 (j0_test): Likewise.
20940 (j1_test): Likewise.
20941 (y0_test): Likewise.
20942 (y1_test): Likewise.
20943
209442012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20945
20946 * po/Makefile (libc.pot): Use UTF-8 charset.
20947
209482012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20949
20950 [BZ #14210]
20951 Suppress sign-conversion warning from FD_SET.
20952 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20953 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20954 not unsigned long int.
20955 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20956
209572012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20958
20959 [BZ #14050]
20960 [BZ #14117]
20961 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20962 __extern_always_inline instead of __extern_inline.
20963 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20964 (__signbit): Likewise.
20965 (__signbitl): Support C++ namespace.
20966 (lrintf): New inline function.
20967 (lrint): Likewise.
20968 (llrintf): Likewise.
20969 (llrint): Likewise.
20970 (fmaxf): Likewise.
20971 (fmax): Likewise.
20972 (fminf): Likewise.
20973 (fmin): Likewise.
20974 (rint): Likewise.
20975 (rintf): Likewise.
20976 (ceil): Likewise.
20977 (ceilf): Likewise.
20978 (floor): Likewise.
20979 (floorf): Likewise.
20980 (nearbyint): Likewise.
20981 (nearbyintf): Likewise.
20982
209832012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20984
20985 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20986 non-default versions.
20987
209882012-06-11 Roland McGrath <roland@hack.frob.com>
20989
20990 [BZ #14218]
20991 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20992
209932012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20994
20995 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20996 (FE_UPWARD, FE_DOWNWARD): Don't define.
20997 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20998 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20999
21000 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21001 reading it.
21002 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21003 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21004
210052012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21006
21007 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21008 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21009 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21010 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21011
210122012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21013
21014 [BZ #14117]
21015 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21016 * sysdeps/i386/fpu/Implies: New file.
21017 * sysdeps/x86_64/fpu/Implies: Likewise.
21018 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21019 * sysdeps/x86/fpu/bits/fenv.h: This.
21020
21021 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21022 __SSE_MATH__.
21023
210242012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21025
21026 [BZ #14134]
21027 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21028 character 0xffff that matches the last element of the
21029 conversion table.
21030
210312012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21032
21033 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21034 fmodl commit.
21035
210362012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21037
21038 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21039 values higher than 25.6283.
21040
210412012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21042
21043 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21044 subnormal exponent extraction and add some __builtin_expect.
21045 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21046 Fix for subnormal mantissa calculation.
21047
210482012-06-04 Mike Frysinger <vapier@gentoo.org>
21049
21050 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21051 cpu2 is -1 and errno is not ENOSYS.
21052
210532012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21054
21055 [BZ #14117]
21056 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21057 * sysdeps/x86/bits/string.h: This.
21058 * sysdeps/x86_64/bits/string.h: Removed.
21059
21060 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21061 if not compiling for x86-64, but compiling for >= i486.
21062
21063 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21064 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21065
21066 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21067 New macro from Linux kernel 3.4.0.
21068 (FP_XSTATE_MAGIC2): Likewise.
21069 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21070 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21071 (struct _fpx_sw_bytes): New struct.
21072 (struct _xsave_hdr): Likewise.
21073 (struct _ymmh_state): Likewise.
21074 (struct _xstate): Likewise.
21075
21076 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21077 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21078 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21079 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21080 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21081 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21082
21083 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21084 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21085 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21086 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21087 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21088 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21089
210902012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21091
21092 [BZ #13743]
21093 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21094 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21095 (sysdep_headers): Include sys/platform/ppc.h.
21096 * sysdeps/powerpc/test-gettimebase.c: Test for
21097 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21098 * manual/Makefile (appendices): Include platform.texi.
21099 * manual/contrib.texi (Contributors): Update @node pointers.
21100 * manual/maint.texi (Maintenance): Likewise.
21101 (Platform): New node.
21102 * manual/platform.texi: New file. Document the new features.
21103
211042012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21105 Jakub Jelinek <jakub@redhat.com>
21106
21107 [BZ #14188]
21108 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21109 where __builtin_expect is unavailable.
21110
211112012-06-03 David S. Miller <davem@davemloft.net>
21112
21113 * stdlib/longlong.h: Updated from GCC.
21114
211152012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21116
21117 [BZ #14042]
21118 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21119 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21120 __mcount_internal.
21121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21122 (GLIBC_2.16): Likewise.
21123
211242012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21125
21126 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21127
211282012-06-01 Joseph Myers <joseph@codesourcery.com>
21129
21130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21131 (default-abi): New variable.
21132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21133 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21134 variable.
21135 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21136 Likewise.
21137 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21138 Likewise.
21139 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21140 Likewise.
21141
21142 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21143 definition. Document in comment.
21144
211452012-06-01 David S. Miller <davem@davemloft.net>
21146
21147 * stdlib/longlong.h: Updated from GCC.
21148
211492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21150
21151 [BZ #14117]
21152 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21153 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21154 sys/debugreg.h sys/io.h here.
21155 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21156 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21157 sys/io.h.
21158 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21159 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21160 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21161 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21162 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21163 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21164
21165 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21166 Define only if __x86_64__ is defined.
21167
211682012-06-01 Joseph Myers <joseph@codesourcery.com>
21169
21170 [BZ #14048]
21171 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21172 Use int64_t for variable i.
21173 * math/libm-test.inc (fmod_test): Add more tests.
21174
21175 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21176 z computation is not scheduled after fetestexcept.
21177 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21178 Use math_force_eval instead of asm to ensure calculation scheduled
21179 before exception test.
21180 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21181 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21182
211832012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21184
21185 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21186 computation is not scheduled after fetestexcept.
21187
211882012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21189
21190 [BZ #14117]
21191 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21192 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21193
211942012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21195
21196 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21197 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21198
211992012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21200
21201 [BZ #14117]
21202 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21203 <bits/wordsize.h>.
21204 (__WCHAR_MIN): Support __WORDSIZE == 64.
21205 (__WCHAR_MAX): Likewise.
21206
21207 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21208 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21209
21210 [BZ #14183]
21211 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21212 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21213
21214 [BZ #14117]
21215 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21216 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21217
21218 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21219 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21220
21221 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21222 Defined to 1 if __x86_64__ isn't defined.
21223 (_STAT_VER_LINUX_OLD): New.
21224 (st_atime): Remove duplicate.
21225 (st_mtime): Likewise.
21226 (st_ctime): Likewise.
21227
212282012-05-31 David S. Miller <davem@davemloft.net>
21229
21230 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21231 entries.
21232
212332012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21234
21235 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21236 gen-libm-test.pl.
21237
21238 [BZ #14132]
21239 * elf/dl-reloc.c: Include <_itoa.h>.
21240 (_dl_reloc_bad_type): Remove use of INTUSE.
21241 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21242 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21243 * stdio-common/psiginfo.c (psiginfo): Likewise.
21244 * stdio-common/psignal.c (psignal): Likewise.
21245 * string/strsignal.c (strsignal): Likewise.
21246 * include/signal.h (_sys_siglist): Declare hidden proto.
21247 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21248 INTVARDEF with libc_hidden_data_def.
21249 * stdio-common/itoa-udigits.c: Likewise.
21250 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21251 (_itoa_lower_digits_internal): Remove declaration.
21252 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21253 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21254 (_sys_sigabbrev_internal): Remove aliases.
21255 (_sys_siglist): Define hidden alias.
21256
212572012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21258
21259 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21260 bits/sysctl.h.
21261
212622012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21263
21264 [BZ #14117]
21265 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21266 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21267
21268 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21269 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21270 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21271 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21272 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21273 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21274
21275 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21276 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21277 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21278
21279 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21280 with __addr.
21281 (insw): Likewise.
21282 (insl): Likewise.
21283 (outsb): Likewise.
21284 (outsw): Likewise.
21285 (outsl): Likewise.
21286
21287 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21288 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21289 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21290
21291 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21292 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21293 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21294 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21295 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21296 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21297
21298 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21299 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21300
21301 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21302 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21303
21304 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21305 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21306 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21307
21308 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21309 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21310 to ...
21311 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21312
21313 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21314 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21315 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21316
21317 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21318 for x86-64.
21319 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21320
213212012-05-31 Joseph Myers <joseph@codesourcery.com>
21322
21323 * math/math.h (M_El): Use two more decimal places.
21324 (M_LOG2El): Likewise.
21325 (M_LOG10El): Likewise.
21326 (M_LN2l): Likewise.
21327 (M_LN10l): Likewise.
21328 (M_PIl): Likewise.
21329 (M_PI_2l): Likewise.
21330 (M_PI_4l): Likewise.
21331 (M_1_PIl): Likewise.
21332 (M_2_PIl): Likewise.
21333 (M_2_SQRTPIl): Likewise.
21334 (M_SQRT2l): Likewise.
21335 (M_SQRT1_2l): Likewise.
21336
213372012-05-31 David S. Miller <davem@davemloft.net>
21338
21339 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21340 values between float registers.
21341 * sysdeps/sparc/sparc64/memset.S: Likewise.
21342 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21343
213442012-05-31 Mike Frysinger <vapier@gentoo.org>
21345
21346 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21347 -D_FORTIFY_SOURCE=1.
21348 (CPPFLAGS-tst-longjmp_chk.c): Define.
21349 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21350 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21351 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21352 CFLAGS-tst-wchar-h.c.
21353
213542012-05-31 Marek Polacek <polacek@redhat.com>
21355
21356 [BZ #14132]
21357 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21358 __endmntent_internal): Remove declaration.
21359 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21360 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21361 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21362
213632012-05-30 David S. Miller <davem@davemloft.net>
21364
21365 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21366 (___Q_simulate_exceptions): Use real FP ops rather than writing
21367 into the %fsr.
21368 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21369 Likewise.
21370
213712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21372
21373 [BZ #14117]
21374 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21375 * sysdeps/x86/bits/xtitypes.h: This.
21376
21377 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21378 * sysdeps/x86/bits/wordsize.h: This.
21379
21380 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21381 * sysdeps/x86/bits/huge_vall.h: This.
21382
21383 * sysdeps/i386/bits/select.h: Removed.
21384 * sysdeps/x86_64/bits/select.h: Renamed to ...
21385 * sysdeps/x86/bits/select.h: This.
21386
21387 * sysdeps/i386/bits/setjmp.h: Removed.
21388 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21389 * sysdeps/x86/bits/setjmp.h: This.
21390
21391 * sysdeps/i386/bits/mathdef.h: Removed.
21392 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21393 * sysdeps/x86/bits/mathdef.h: This.
21394
213952012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21396
21397 [BZ #14132]
21398 * include/sys/socket.h (__connect_internal)
21399 (__libc_sa_len_internal): Remove declaration.
21400 (__connect, __libc_sa_len): Declare hidden_proto.
21401 (SA_LEN): Remove use of INTUSE.
21402 * socket/connect.c: Add libc_hidden_def.
21403 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21404 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21405 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21406 alias.
21407 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21408 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21409 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21410 of adding _internal alias.
21411
214122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21413
21414 [BZ #14117]
21415 * sysdeps/i386/bits/link.h: Removed.
21416 * sysdeps/i386/bits/linkmap.h: Likewise.
21417 * sysdeps/x86_64/bits/link.h: Renamed to ...
21418 * sysdeps/x86/bits/link.h: This.
21419 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21420 * sysdeps/x86/bits/linkmap.h: This.
21421
21422 * sysdeps/i386/bits/endian.h: Removed.
21423 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21424 * sysdeps/x86/bits/endian.h: This.
21425
21426 * sysdeps/i386/bits/byteswap.h: Removed.
21427 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21428 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21429 * sysdeps/x86/bits/byteswap.h: This.
21430 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21431 * sysdeps/x86/bits/byteswap-16.h: This.
21432 * sysdeps/i386/Implies: Add x86.
21433 * sysdeps/x86_64/Implies: Likewise.
21434
214352012-05-30 David S. Miller <davem@davemloft.net>
21436
21437 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21438 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21439 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21440 (FP_TRAPPING_EXCEPTIONS): Define.
21441 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21442 (FP_TRAPPING_EXCEPTIONS): Define.
21443 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21444 subnormals only when inexact has been signalled or underflow
21445 exceptions are enabled.
21446 (_FP_PACK_CANONICAL): Likewise.
21447
214482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21449
21450 [BZ #14183]
21451 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21452 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21453
214542012-05-30 Richard Henderson <rth@twiddle.net>
21455
21456 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21457 with #ifndef NOT_IN_libc.
21458
21459 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21460 marked to avoid plt entry.
21461
214622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21463
21464 [BZ #14112]
21465 * Makeconfig (default-abi): New macro.
21466 (abi-includes): Likewise.
21467 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21468 $(abi-$(default-abi)-lib-soname) for soname if defined.
21469 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21470 abi-variants.
21471 * Makefile (installed-stubs): Likewise.
21472 * include/stubs-biarch.h: Removed.
21473 * scripts/lib-names.awk: Only handle one library at a time.
21474 * scripts/soversions.awk: Remove WORDSIZE support.
21475 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21476 entries.
21477 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21478 Removed.
21479 (syscall-list-default-condition): Likewise.
21480 (syscall-list-default-condition): Likewise.
21481 (syscall-list-includes): Likewise.
21482 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21483 syscall-list-* with abi-*. Handle undefined abi-variants.
21484 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21485 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21486 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21487 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21488 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21489 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21490 Removed.
21491 (syscall-list-32-options): Likewise.
21492 (syscall-list-32-condition): Likewise.
21493 (syscall-list-64-options): Likewise.
21494 (syscall-list-64-condition): Likewise.
21495 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21496 macro.
21497 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21498 Renamed to ...
21499 (abi-*): This.
21500 (abi-64-ld-soname): New macro.
21501 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21502 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21503 Renamed to ...
21504 (abi-*): This.
21505 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21506 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21507
215082012-05-30 Joseph Myers <joseph@codesourcery.com>
21509
21510 * sysdeps/unix/sysv/linux/kernel-features.h
21511 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21512 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21513 include <kernel-features.h>.
21514 [!__NR_ftruncate64]: Remove conditional code.
21515 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21516 [__NR_ftruncate64]: Make code unconditional.
21517 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21518 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21519 include <kernel-features.h>.
21520 [!__NR_ftruncate64]: Remove conditional code.
21521 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21522 [__NR_ftruncate64]: Make code unconditional.
21523 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21525 include <kernel-features.h>.
21526 [!__NR_ftruncate64]: Remove conditional code.
21527 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21528 [__NR_ftruncate64]: Make code unconditional.
21529 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21531 include <kernel-features.h>.
21532 [!__NR_ftruncate64]: Remove conditional code.
21533 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21534 [__NR_ftruncate64]: Make code unconditional.
21535 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21536
21537 * configure.in (libc_cv_fpie): Weaken to a compile test using
21538 LIBC_TRY_CC_OPTION.
21539 * configure: Regenerated.
21540
215412012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21542
21543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21547 Refreshed.
21548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21554 Refreshed.
21555
215562012-05-27 David S. Miller <davem@davemloft.net>
21557
21558 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21559 (___Q_zero): New.
21560 (__Q_simulate_exceptions): Return void. Change to simulate
21561 exceptions by writing into the %fsr.
21562 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21563 (__Qp_handle_exceptions): Likewise.
21564 (numbers): Delete.
21565 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21566 __Qp_handle_exceptions.
21567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21568 __Qp_handle_exceptions.
21569 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21570 as unused and give dummy FP_RND_NEAREST initializer.
21571 (FP_INHIBIT_RESULTS): Define.
21572 (___Q_simulate_exceptions): Update declaration.
21573 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21574 formatting.
21575 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21576 as unused and give dummy FP_RND_NEAREST initializer.
21577 (__Qp_handle_exceptions): Update declaration.
21578 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21579 formatting.
21580
215812012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21582
21583 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21584 the temporary FPU control word.
21585 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21586 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21587 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21588 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21589 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21590 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21591 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21592 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21593 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21594 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21595 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21596
215972012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21598
21599 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21600 fields.
21601
216022012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21603
21604 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21605 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21606 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21607 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21608 Likewise.
21609 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21610 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21611 Likewise.
21612
216132012-05-27 Ulrich Drepper <drepper@gmail.com>
21614
21615 * po/h.po: Update from translation team.
21616
216172012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21618
21619 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21620
21621 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21622 handling of denormals.
21623 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21624 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21625 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21626 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21627 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21628 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21629 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21630 Likewise.
21631
216322012-05-26 Marek Polacek <polacek@redhat.com>
21633
21634 [BZ #14152]
21635 * math/libm-test.inc (fma_test): Don't always expect underflow
21636 exception.
21637
216382012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21639
21640 [BZ #12416]
21641 * elf/tst-execstack.c: Include stackinfo.h.
21642 (do_test): Adjust test case to ensure that pthread_getattr_np
21643 behaviour remains the same after marking stack executable.
21644
216452012-05-25 Joseph Myers <joseph@codesourcery.com>
21646
21647 * sysdeps/unix/sysv/linux/kernel-features.h
21648 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21649 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21650 kernel-features.h.
21651 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21652 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21653 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21654 kernel-features.h.
21655 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21656 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21657
216582012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21659
21660 * configure.in: Define the default includes to being none.
21661 * configure: Regenerated.
21662
216632012-05-25 Roland McGrath <roland@hack.frob.com>
21664
21665 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21666 * sysdeps/x86_64/setjmp.S: Likewise.
21667 * sysdeps/i386/bsd-setjmp.S: Likewise.
21668 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21669 * sysdeps/i386/setjmp.S: Likewise.
21670 * sysdeps/i386/__longjmp.S: Likewise.
21671 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21672 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21673
21674 * include/stap-probe.h: New file.
21675 * configure.in: Handle --enable-systemtap.
21676 * configure: Regenerated.
21677 * config.h.in (USE_STAP_PROBE): New #undef.
21678 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21679 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21680 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21681
216822012-05-25 Joseph Myers <joseph@codesourcery.com>
21683
21684 [BZ #13717]
21685 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21686 to 2.4.0 where earlier.
21687 * sysdeps/unix/sysv/linux/configure: Regenerated.
21688 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21689 <kernel-features.h>.
21690 [__ASSUME_32BITUIDS]: Make code unconditional.
21691 [!__ASSUME_32BITUIDS]: Remove conditional code.
21692 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21693 <kernel-features.h>.
21694 [__ASSUME_32BITUIDS]: Make code unconditional.
21695 [!__ASSUME_32BITUIDS]: Remove conditional code.
21696 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21697 [__ASSUME_32BITUIDS]: Make code unconditional.
21698 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21699 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21700 <kernel-features.h>.
21701 [__ASSUME_32BITUIDS]: Make code unconditional.
21702 [!__ASSUME_32BITUIDS]: Remove conditional code.
21703 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21704 <kernel-features.h>.
21705 [__ASSUME_32BITUIDS]: Make code unconditional.
21706 [!__ASSUME_32BITUIDS]: Remove conditional code.
21707 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21708 <kernel-features.h>.
21709 [__ASSUME_32BITUIDS]: Make code unconditional.
21710 [!__ASSUME_32BITUIDS]: Remove conditional code.
21711 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21712 <kernel-features.h>.
21713 [__ASSUME_32BITUIDS]: Make code unconditional.
21714 [!__ASSUME_32BITUIDS]: Remove conditional code.
21715 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21716 <kernel-features.h>.
21717 [__ASSUME_32BITUIDS]: Make code unconditional.
21718 [!__ASSUME_32BITUIDS]: Remove conditional code.
21719 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21720 <kernel-features.h>.
21721 [__ASSUME_32BITUIDS]: Make code unconditional.
21722 [!__ASSUME_32BITUIDS]: Remove conditional code.
21723 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21724 <kernel-features.h>.
21725 [__ASSUME_32BITUIDS]: Make code unconditional.
21726 [!__ASSUME_32BITUIDS]: Remove conditional code.
21727 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21728 <kernel-features.h>.
21729 [__ASSUME_32BITUIDS]: Make code unconditional.
21730 [!__ASSUME_32BITUIDS]: Remove conditional code.
21731 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21732 <kernel-features.h>.
21733 [__ASSUME_32BITUIDS]: Make code unconditional.
21734 [!__ASSUME_32BITUIDS]: Remove conditional code.
21735 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21736 <kernel-features.h>.
21737 [__ASSUME_32BITUIDS]: Make code unconditional.
21738 [!__ASSUME_32BITUIDS]: Remove conditional code.
21739 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21740 <kernel-features.h>.
21741 [__NR_setresgid] (__setresgid): Do not declare.
21742 [__ASSUME_32BITUIDS]: Make code unconditional.
21743 [!__ASSUME_32BITUIDS]: Remove conditional code.
21744 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21745 <kernel-features.h>.
21746 [__NR_setresuid] (__setresuid): Do not declare.
21747 [__ASSUME_32BITUIDS]: Make code unconditional.
21748 [!__ASSUME_32BITUIDS]: Remove conditional code.
21749 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21750 <kernel-features.h>.
21751 [__ASSUME_32BITUIDS]: Make code unconditional.
21752 [!__ASSUME_32BITUIDS]: Remove conditional code.
21753 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21754 <kernel-features.h>.
21755 [__ASSUME_32BITUIDS]: Make code unconditional.
21756 [!__ASSUME_32BITUIDS]: Remove conditional code.
21757 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21758 <kernel-features.h>.
21759 [__ASSUME_32BITUIDS]: Make code unconditional.
21760 [!__ASSUME_32BITUIDS]: Remove conditional code.
21761 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21762 <kernel-features.h>.
21763 [__ASSUME_32BITUIDS]: Make code unconditional.
21764 [!__ASSUME_32BITUIDS]: Remove conditional code.
21765 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21766 <kernel-features.h>.
21767 [__ASSUME_32BITUIDS]: Make code unconditional.
21768 [!__ASSUME_32BITUIDS]: Remove conditional code.
21769 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21770 <kernel-features.h>.
21771 [__ASSUME_32BITUIDS]: Make code unconditional.
21772 [!__ASSUME_32BITUIDS]: Remove conditional code.
21773 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21774 <kernel-features.h>.
21775 [__ASSUME_32BITUIDS]: Make code unconditional.
21776 [!__ASSUME_32BITUIDS]: Remove conditional code.
21777 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21778 <kernel-features.h>.
21779 [__ASSUME_32BITUIDS]: Make code unconditional.
21780 [!__ASSUME_32BITUIDS]: Remove conditional code.
21781 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21782 <kernel-features.h>.
21783 [__ASSUME_32BITUIDS]: Make code unconditional.
21784 [!__ASSUME_32BITUIDS]: Remove conditional code.
21785 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21786 <kernel-features.h>.
21787 [__ASSUME_32BITUIDS]: Make code unconditional.
21788 [!__ASSUME_32BITUIDS]: Remove conditional code.
21789 * sysdeps/unix/sysv/linux/kernel-features.h
21790 (__ASSUME_SETRESUID_SYSCALL): Remove.
21791 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21792 (__ASSUME_32BITUIDS): Likewise.
21793 (__ASSUME_LDT_WORKS): Likewise.
21794 (__ASSUME_O_DIRECTORY): Likewise.
21795 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21796 architecture but not kernel version.
21797 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21798 (__ASSUME_MMAP2_SYSCALL): Likewise.
21799 (__ASSUME_STAT64_SYSCALL): Likewise.
21800 (__ASSUME_IPC64): Likewise.
21801 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21802 <kernel-features.h>.
21803 [__ASSUME_32BITUIDS]: Make code unconditional.
21804 [!__ASSUME_32BITUIDS]: Remove conditional code.
21805 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21806 <kernel-features.h>.
21807 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21808 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21809 132096]: Remove conditional code.
21810 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21811 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21812 <kernel-features.h>.
21813 [__ASSUME_32BITUIDS]: Make code unconditional.
21814 [!__ASSUME_32BITUIDS]: Remove conditional code.
21815 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21816 <kernel-features.h>.
21817 [__ASSUME_32BITUIDS]: Make code unconditional.
21818 [!__ASSUME_32BITUIDS]: Remove conditional code.
21819 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21820 <kernel-features.h>.
21821 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21822 unconditional.
21823 (__setresgid): Do not declare.
21824 [__ASSUME_32BITUIDS]: Make code unconditional.
21825 [!__ASSUME_32BITUIDS]: Remove conditional code.
21826 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21827 <kernel-features.h>.
21828 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21829 unconditional.
21830 (__setresuid): Do not declare.
21831 [__ASSUME_32BITUIDS]: Make code unconditional.
21832 [!__ASSUME_32BITUIDS]: Remove conditional code.
21833 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21834 <kernel-features.h>.
21835 [__ASSUME_32BITUIDS]: Make code unconditional.
21836 [!__ASSUME_32BITUIDS]: Remove conditional code.
21837 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21838 <kernel-features.h>.
21839 [__ASSUME_32BITUIDS]: Make code unconditional.
21840 [!__ASSUME_32BITUIDS]: Remove conditional code.
21841
218422012-05-25 Richard Henderson <rth@twiddle.net>
21843
21844 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21845 dl_hwcap to ifunc resolver.
21846 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21847 elf_ifunc_invoke.
21848 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21849 dl_hwcap to ifunc resolver.
21850 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21851
218522012-05-24 Joseph Myers <joseph@codesourcery.com>
21853
21854 [BZ #14153]
21855 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21856 for |x| <= 2**-26, not 2**-57.
21857 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21858 exception.
21859
218602012-05-24 Jeff Law <law@redhat.com>
21861
21862 * stdio-common/Makefile (tests): Add bug25.
21863 * stdio-common/bug25.c: New test.
21864
218652012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21866
21867 [BZ #13576]
21868 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21869 multiple of MALLOC_ALIGNMENT in size.
21870 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21871
218722012-05-24 Joseph Myers <joseph@codesourcery.com>
21873
21874 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21875 Require >= 256.
21876 (FILENAME_MAX): Use macro-int-constant.
21877 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21878 (_IOFBF): Use macro-int-constant.
21879 (_IOLBF): Likewise.
21880 (_IONBF): Likewise.
21881 (SEEK_CUR): Likewise.
21882 (SEEK_END): Likewise.
21883 (SEEK_SET): Likewise.
21884 (TMP_MAX): Likewise.
21885 (EOF): Use macro-int-constant. Require < 0.
21886 (NULL): Use macro-constant. Require == 0.
21887 (stdin): Require type to be FILE *.
21888 (stdout): Likewise.
21889 (stderr): Likewise.
21890 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21891 macro-int-constant.
21892 (EXIT_SUCCESS): Likewise.
21893 (NULL): Use macro-constant. Require == 0.
21894 (RAND_MAX): Use macro-int-constant.
21895 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21896 [C99-based standards] (strtof): Require function.
21897 [C99-based standards] (strtold): Likewise.
21898 [C99-based standards] (strtoll): Likewise.
21899 [C99-based standards] (strtoull): Likewise.
21900 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21901 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21902 [ISO || ISO99 || ISO11] (math.h): Likewise.
21903 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21904 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21905 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21906
219072012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21908
21909 [BZ #14132]
21910 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21911 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21912 * intl/dgettext.c (DCGETTEXT): Likewise.
21913 * intl/gettext.c (DCGETTEXT): Likewise.
21914 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21915 * posix/regex_internal.h (gettext): Likewise.
21916 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21917 Remove declaration.
21918 * include/argz.h (__argz_count_internal)
21919 (__argz_stringify_internal): Remove declaration.
21920 (__argz_count, __argz_stringify): Declare hidden proto.
21921 * intl/dcgettext.c: Remove use of INTDEF.
21922 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21923 * string/argz-stringify.c: Likewise.
21924 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21925 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21926 Declare hidden proto.
21927 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21928 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21929 Declare hidden proto.
21930 * include/stdio.h (__asprintf_internal): Don't declare.
21931 (__asprintf): Don't define as macro. Declare hidden proto.
21932 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21933 (__fsetlocking): Declare hidden proto.
21934 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21935 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21936 hidden proto.
21937 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21938 (_IO_setlinebuf): Remove use of INTUSE.
21939 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21940 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21941 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21942 Remove declaration.
21943 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21944 (_IO_do_flush): Remove use of INTUSE.
21945 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21946 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21947 (_IO_adjust_column, _IO_least_wmarker)
21948 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21949 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21950 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21951 (_IO_default_doallocate, _IO_wdefault_doallocate)
21952 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21953 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21954 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21955 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21956 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21957 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21958 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21959 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21960 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21961 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21962 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21963 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21964 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21965 proto.
21966 (_IO_flush_all_internal, _IO_adjust_column_internal)
21967 (_IO_default_uflow_internal, _IO_default_finish_internal)
21968 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21969 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21970 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21971 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21972 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21973 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21974 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21975 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21976 (_IO_file_close_internal, _IO_file_close_it_internal)
21977 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21978 (_IO_file_init_internal, _IO_file_attach_internal)
21979 (_IO_file_fopen_internal, _IO_file_read_internal)
21980 (_IO_file_sync_internal, _IO_file_seek_internal)
21981 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21982 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21983 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21984 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21985 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21986 (_IO_list_all_internal, _IO_link_in_internal)
21987 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21988 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21989 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21990 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21991 (_IO_do_write_internal, _IO_padn_internal)
21992 (_IO_getline_info_internal, _IO_getline_internal)
21993 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21994 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21995 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21996 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21997 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21998 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21999 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22000 with libc_hidden_ver, remove use of INTUSE.
22001 * libio/genops.c: Likewise.
22002 * libio/freopen.c: Likewise.
22003 * libio/freopen64.c: Likewise.
22004 * libio/iofclose.c: Likewise.
22005 * libio/iofdopen.c: Likewise.
22006 * libio/iofflush.c: Likewise.
22007 * libio/iofflush_u.c: Likewise.
22008 * libio/iofgets.c: Likewise.
22009 * libio/iofgets_u.c: Likewise.
22010 * libio/iofopen.c: Likewise.
22011 * libio/iofopncook.c: Likewise.
22012 * libio/iofread.c: Likewise.
22013 * libio/iofread_u.c: Likewise.
22014 * libio/ioftell.c: Likewise.
22015 * libio/iofwrite.c: Likewise.
22016 * libio/iogetline.c: Likewise.
22017 * libio/iogets.c: Likewise.
22018 * libio/iogetwline.c: Likewise.
22019 * libio/iopadn.c: Likewise.
22020 * libio/iopopen.c: Likewise.
22021 * libio/ioseekoff.c: Likewise.
22022 * libio/ioseekpos.c: Likewise.
22023 * libio/iosetbuffer.c: Likewise.
22024 * libio/iosetvbuf.c: Likewise.
22025 * libio/ioungetc.c: Likewise.
22026 * libio/ioungetwc.c: Likewise.
22027 * libio/iovdprintf.c: Likewise.
22028 * libio/iovsprintf.c: Likewise.
22029 * libio/iovsscanf.c: Likewise.
22030 * libio/memstream.c: Likewise.
22031 * libio/obprintf.c: Likewise.
22032 * libio/oldfileops.c: Likewise.
22033 * libio/oldiofclose.c: Likewise.
22034 * libio/oldiofdopen.c: Likewise.
22035 * libio/oldiofopen.c: Likewise.
22036 * libio/oldiopopen.c: Likewise.
22037 * libio/oldstdfiles.c: Likewise.
22038 * libio/putc.c: Likewise.
22039 * libio/setbuf.c: Likewise.
22040 * libio/setlinebuf.c: Likewise.
22041 * libio/stdfiles.c: Likewise.
22042 * libio/strops.c: Likewise.
22043 * libio/vasprintf.c: Likewise.
22044 * libio/vscanf.c: Likewise.
22045 * libio/vsnprintf.c: Likewise.
22046 * libio/vswprintf.c: Likewise.
22047 * libio/wfiledoalloc.c: Likewise.
22048 * libio/wfileops.c: Likewise.
22049 * libio/wgenops.c: Likewise.
22050 * libio/wmemstream.c: Likewise.
22051 * libio/wstrops.c: Likewise.
22052 * libio/__fpurge.c: Likewise.
22053 * libio/__fsetlocking.c: Likewise.
22054 * assert/assert.c: Likewise.
22055 * debug/fgets_chk.c: Likewise.
22056 * debug/fgets_u_chk.c: Likewise.
22057 * debug/fread_chk.c: Likewise.
22058 * debug/fread_u_chk.c: Likewise.
22059 * debug/gets_chk.c: Likewise.
22060 * debug/obprintf_chk.c: Likewise.
22061 * debug/vasprintf_chk.c: Likewise.
22062 * debug/vdprintf_chk.c: Likewise.
22063 * debug/vsnprintf_chk.c: Likewise.
22064 * debug/vsprintf_chk.c: Likewise.
22065 * malloc/mtrace.c: Likewise.
22066 * misc/error.c: Likewise.
22067 * misc/syslog.c: Likewise.
22068 * stdio-common/asprintf.c: Likewise.
22069 * stdio-common/fxprintf.c: Likewise.
22070 * stdio-common/getw.c: Likewise.
22071 * stdio-common/isoc99_fscanf.c: Likewise.
22072 * stdio-common/isoc99_scanf.c: Likewise.
22073 * stdio-common/isoc99_vfscanf.c: Likewise.
22074 * stdio-common/isoc99_vscanf.c: Likewise.
22075 * stdio-common/isoc99_vsscanf.c: Likewise.
22076 * stdio-common/printf-prs.c: Likewise.
22077 * stdio-common/printf_fp.c: Likewise.
22078 * stdio-common/printf_fphex.c: Likewise.
22079 * stdio-common/printf_size.c: Likewise.
22080 * stdio-common/putw.c: Likewise.
22081 * stdio-common/scanf.c: Likewise.
22082 * stdio-common/sprintf.c: Likewise.
22083 * stdio-common/tmpfile.c: Likewise.
22084 * stdio-common/vfprintf.c: Likewise.
22085 * stdio-common/vfscanf.c: Likewise.
22086 * stdlib/strfmon_l.c: Likewise.
22087 * sunrpc/openchild.c: Likewise.
22088 * sunrpc/xdr_stdio.c: Likewise.
22089 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22090 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22091
220922012-05-24 Roland McGrath <roland@hack.frob.com>
22093
22094 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22095
22096 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22097 in the third column, to generate for the shared library an IFUNC
22098 that uses _dl_vdso_vsym.
22099 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22100 * Makeconfig (object-suffixes-noshared): New variable.
22101
22102 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22103 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22104 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22105 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22106
22107 [BZ #14132]
22108 * include/sys/time.h (__gettimeofday): Remove macro.
22109 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22110 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22111 Remove INTDEF.
22112 (__gettimeofday): Add libc_hidden_def.
22113 (gettimeofday): Add libc_hidden_weak.
22114 * sysdeps/mach/gettimeofday.c: Likewise.
22115 * sysdeps/posix/gettimeofday.c: Likewise.
22116 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22117 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22118 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22119 (__gettimeofday_internal): Remove strong_alias.
22120 (__gettimeofday): Add libc_hidden_def.
22121 (gettimeofday): Add libc_hidden_weak.
22122 * sysdeps/unix/syscalls.list (gettimeofday):
22123 Remove __gettimeofday_internal alias.
22124
221252012-05-24 Daniel Jacobowitz <drow@false.org>
22126 H.J. Lu <hongjiu.lu@intel.com>
22127
22128 [BZ #12495]
22129 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22130 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22131 (largebin_index_32_big): New.
22132 (largebin_index): Use it for 16-byte alignment.
22133 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22134 correction with front_misalign.
22135
221362012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22137
22138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22140 Likewise.
22141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22142 Likewise.
22143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22144 Likewise.
22145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22146 Likewise.
22147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22148 Likewise.
22149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22150 Likewise.
22151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22152 Likewise.
22153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22154 Likewise.
22155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22156 Likewise.
22157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22158 Likewise.
22159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22160 Likewise.
22161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22162 Likewise.
22163
22164 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22165 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22166
221672012-05-24 Joseph Myers <joseph@codesourcery.com>
22168
22169 [BZ #10846]
22170 [BZ #14036]
22171 * math/libm-test.inc (exp_test): Add test from bug 14036.
22172 (pow_test): Add test from bug 10846.
22173
22174 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22175 and other flags.
22176 (special_function): Do not include flags in test name.
22177 (parse_args): Likewise.
22178 * sysdeps/i386/fpu/libm-test-ulps: Update.
22179 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22180 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22181 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22183
22184 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22185 exceptions.
22186 * math/libm-test.inc ("Philosophy"): Update comment about
22187 exception testing.
22188 (UNDERFLOW_EXCEPTION): New macro.
22189 (UNDERFLOW_EXCEPTION_OK): Likewise.
22190 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22191 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22192 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22193 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22194 (INVALID_EXCEPTION_OK): Update value.
22195 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22196 (OVERFLOW_EXCEPTION_OK): Likewise.
22197 (IGNORE_ZERO_INF_SIGN): Likewise.
22198 (test_exceptions): Handle underflow exceptions.
22199 (acos_test): Update for underflow exception expectations.
22200 (cexp_test): Likewise.
22201 (clog_test): Likewise.
22202 (clog10_test): Likewise.
22203 (csqrt_test): Likewise.
22204 (ctan_test): Likewise.
22205 (ctanh_test): Likewise.
22206 (exp_test): Likewise.
22207 (exp10_test): Likewise.
22208 (exp2_test): Likewise.
22209 (expm1_test): Likewise.
22210 (fma_test): Likewise.
22211 (j0_test): Likewise.
22212 (jn_test): Likewise.
22213 (nexttoward_test): Likewise.
22214 (pow_test): Likewise.
22215 (scalbn_test): Likewise.
22216 (scalbln_test): Likewise.
22217 (tan_test): Likewise.
22218 (y1_test): Likewise.
22219 * sysdeps/i386/fpu/libm-test-ulps: Update.
22220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22221
222222012-05-23 David S. Miller <davem@davemloft.net>
22223
22224 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22225 (__libc_sigaction): Remove unused local variables.
22226
222272012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22228
22229 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22230
222312012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22232
22233 mktime: avoid signed integer overflow
22234 * time/mktime.c (__mktime_internal): Do not mishandle the case
22235 where diff == INT_MIN.
22236
22237 mktime: simplify computation of average
22238 * time/mktime.c (ranged_convert): Use new time_t_avg function
22239 instead of rolling our own (probably-slower) code.
22240
22241 mktime: do not assume signed right shift propagates sign bit
22242 * time/mktime.c (isdst_differ): New static function.
22243 (__mktime_internal): No need to normalize tm_isdst now.
22244 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22245 tm_isdst values.
22246
22247 mktime: merge another wrapv change from gnulib
22248 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22249 from some compilers.
22250
22251 mktime: remove incorrect attempt at unusual arithmetics
22252 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22253 The code didn't really work on such machines anyway.
22254 (TYPE_MINIMUM): Assume two's complement.
22255 (twos_complement_arithmetic): Verify that long_int and time_t
22256 are two's complement (or unsigned, in the latter case).
22257
22258 mktime: check signed shifts on long_int and time_t, too
22259 * time/mktime.c (SHR): Check that shifts work as desired
22260 on the types long_int and time_t too, as SHR is used on
22261 such types.
22262
22263 mktime: do not assume 'long' is wide enough
22264 * time/mktime.c (verify): Move decl up.
22265 (long_int): New type.
22266 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22267 to remove assumption in the code that 'long' is wide enough to
22268 store year values. This assumption is not true on x32 and on
22269 some non-glibc platforms.
22270
22271 mktime: merge wrapv change from gnulib
22272 * time/mktime.c (WRAPV): New macro.
22273 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22274 (guess_time_tm, __mktime_internal): Do not assume that signed
22275 integer overflow wraps around; modern compilers generate code
22276 where this assumption is no longer valid.
22277
222782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22279
22280 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22281 Replace "jmp L(pseudo_end)" with "ret".
22282 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22283 Likewise.
22284
222852012-05-23 Andreas Jaeger <aj@suse.de>
22286
22287 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22288 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22289
222902012-05-23 Andreas Jaeger <aj@suse.de>
22291 Maximilian Attems <max@stro.at>
22292
22293 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22294 New macros.
22295
222962012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22297
22298 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22299 code so that pseudo_end is just ret and the stack pointer is
22300 correct also for static library in error case.
22301
223022012-05-23 Joseph Myers <joseph@codesourcery.com>
22303
22304 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22305 move to syscalls.list.
22306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22310
22311 * manual/install.texi (Running make install): Do not mention Linux
22312 kernel version for which pt_chown is not needed.
22313 (Linux): Do not mention problems with nscd with 2.0 kernels.
22314 * INSTALL: Regenerated.
22315
223162012-05-23 Andreas Jaeger <aj@suse.de>
22317
22318 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22319 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22320 macro.
22321 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22322 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22323 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22324 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22325 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22326 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22327 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22328 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22329 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22330 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22331 * sysdeps/unix/sysv/linux/bits/in.h
22332 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22333
223342012-05-22 Roland McGrath <roland@hack.frob.com>
22335
22336 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22337 (PREPARE_VERSION): Just use assert instead, it will be elided
22338 under [NDEBUG] anyway.
22339
223402012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22341
22342 * sysdeps/unix/sysv/linux/Makefile: Include
22343 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22344 (sysdep_routines): Remove sysctl.
22345 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22346 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22347 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22348 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22349 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22350
223512012-05-22 Andreas Jaeger <aj@suse.de>
22352
22353 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22354 that pseudo_end is just ret and the stack pointer is correct also
22355 for static library in error case.
22356
223572012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22358
22359 [BZ #14122]
22360 * nss/nsswitch.c (defconfig_entries): New variable.
22361 (__nss_database_lookup): Don't leak defconfig entries.
22362 (nss_parse_service_list): Don't leak on error paths.
22363 (free_database_entries): New function.
22364 (free_defconfig): New function.
22365 (free_mem): Move common code to free_database_entries.
22366
223672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22368
22369 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22370 Add arch_prctl.
22371 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22372
22373 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22374 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22376 New macro.
22377 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22378 (INTERNAL_SYSCALL_TYPES): Likewise.
22379 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22380 (LOAD_REGS_TYPES_[1-6]): Likewise.
22381 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22382 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22383
223842012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22385
22386 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22387 copysignl for GLIBC_2_0.
22388 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22389 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22390 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22391 logbl for GLIBC_2_0.
22392 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22393 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22394
223952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22396
22397 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22398 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22399
22400 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22401 Use "neg %eax".
22402
22403 * time/mktime.c: Update copyright years.
22404
224052012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22406
22407 mktime: merge comment-quoting-style change from gnulib
22408 * time/mktime.c: Quote 'like this' in comments.
22409 The GNU coding standards suggest that we no longer quote `like this',
22410 as "`" and "'" are typically rendered asymmetrically nowadays.
22411 The typical gnulib style is to quote 'like this' when quoting
22412 code, and "like this" when quoting English.
22413
22414 * time/mktime.c (compile-command): Add "-I.".
22415
22416 mktime: merge mktime-internal.h change from gnulib
22417 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22418
22419 mktime: merge time_r change from gnulib
22420 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22421
22422 mktime: merge DEBUG change from gnulib
22423 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22424 case system <time.h> has a #define.
22425
22426 mktime: merge <sys/types.h> change from gnulib
22427 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22428 since <time.t> is now guaranteed to define time_t.
22429
22430 mktime: merge HAVE_CONFIG_H change from gnulib
22431 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22432
224332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22434
22435 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22436 Use "neg %eax".
22437
22438 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22439 __rlim_t cast.
22440 (struct rusage): Use anonymous union to pad each field to
22441 __syscall_slong_t.
22442
224432012-05-21 David S. Miller <davem@davemloft.net>
22444
22445 * Makefules (o-iterator): Remove .s cases.
22446 (compile-command.s): Delete.
22447 (COMPILE.s): Delete.
22448 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22449
224502012-05-21 Joseph Myers <joseph@codesourcery.com>
22451
22452 * configure.in (libc_cv_predef_stack_protector): Only consider
22453 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22454 * configure: Regenerated.
22455
224562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22457
22458 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22459 New macro. Use R*LP on int and pointer.
22460 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22461 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22462 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22463 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22464
22465 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22466 [__WORDSIZE_TIME64_COMPAT32] instead of
22467 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22468 (struct utmp): Likewise.
22469 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22470 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22471 Renamed to ...
22472 (__WORDSIZE_TIME64_COMPAT32): This.
22473 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22474 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22475 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22476 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22477 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22478 (__WORDSIZE_TIME64_COMPAT32): New macro.
22479
224802012-05-21 Andreas Jaeger <aj@suse.de>
22481
22482 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22483 only if [SHARED]. Add prototype for __wcschr_ia32.
22484
224852012-05-21 Roland McGrath <roland@hack.frob.com>
22486
22487 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22488 of %rbp unmolested in the jmp_buf while mangling the low bits.
22489 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22490 unmolested high bits of %rbp while demangling the low bits.
22491 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22492
224932012-05-21 Andreas Jaeger <aj@suse.de>
22494
22495 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22496 * sunrpc/svc_simple.c: Use it for registerrpc.
22497 * sunrpc/xcrypt.c: Use it for passwd2des.
22498
22499 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22500
225012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22502
22503 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22504 Don't define if [__SYSCALL_WORDSIZE != 32].
22505 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22506 New macro.
22507
225082012-05-21 Bruno Haible <bruno@clisp.org>
22509 Andreas Jaeger <aj@suse.de>
22510
22511 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22512 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22513 inptr and inend for must_buffer_ch.
22514 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22515 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22516 * stdio-common/Makefile (tests): Remove bug15.
22517 (bug15-ENV): Remove macro.
22518 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22519 anymore.
22520
225212012-05-19 Andreas Jaeger <aj@suse.de>
22522 Roland McGrath <roland@hack.frob.com>
22523
22524 * manual/contrib.texi: Completely rewritten. It contains now an
22525 alphabetical list of contributors and their contributions.
22526
225272012-05-21 Richard Henderson <rth@twiddle.net>
22528
22529 * misc/getauxval.c (__getauxval): Use unsigned long int.
22530 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22531 (getauxval): Use unsigned long int.
22532
225332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22534
22535 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22536
225372012-05-21 Roland McGrath <roland@hack.frob.com>
22538
22539 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22540 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22541 __alignof__ (long double).
22542
225432012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22544
22545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22546
225472012-05-20 Richard Henderson <rth@twiddle.net>
22548
22549 * misc/getauxval.c: New file.
22550 * misc/sys/auxv.h: New file.
22551 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22552 (routines): Add getauxval.
22553 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22554 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22555 * elf/dl-sysdep.c (_dl_auxv): Remove.
22556 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22557 * elf/dl-support.c (_dl_auxv): New variable.
22558 (_dl_aux_init): Initialize it.
22559 * manual/startup.texi (Auxiliary Vector): New node.
22560 * sysdeps/generic/bits/hwcap.h: New file.
22561 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22562 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22563 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22564 * sysdeps/sparc/sysdep.h: ... here. Include it.
22565 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22566 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22568 Update.
22569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22572 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22577
225782012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22579
22580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22581
225822012-05-19 David S. Miller <davem@davemloft.net>
22583
22584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22585
225862012-05-19 Joseph Myers <joseph@codesourcery.com>
22587
22588 [BZ #14123]
22589 * math/s_ccosh.c: Include <float.h>
22590 (__ccosh): Avoid internal overflow calculating sinh and cosh
22591 values before multiplying by sin and cos values.
22592 * math/s_ccoshf.c: Likewise.
22593 * math/s_ccoshl.c: Likewise.
22594 * math/s_csin.c: Likewise.
22595 * math/s_csinf.c: Likewise.
22596 * math/s_csinl.c: Likewise.
22597 * math/s_csinh.c: Likewise.
22598 * math/s_csinhf.c: Likewise.
22599 * math/s_csinhl.c: Likewise.
22600 * math/libm-test.inc (ccos_test): Add more tests.
22601 (ccosh_test): Likewise.
22602 (csin_test): Likewise.
22603 (csinh_test): Likewise.
22604 * sysdeps/i386/fpu/libm-test-ulps: Update.
22605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22606
226072012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22608
22609 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22610 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22611
22612 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22613
226142012-05-19 Joseph Myers <joseph@codesourcery.com>
22615
22616 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22617 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22618 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22619 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22620 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22621 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22622 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22623 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22624 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22625 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22626 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22627 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22628 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22629 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22630 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22631 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22632 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22633 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22634 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22635 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22636 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22637 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22638 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22639 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22640 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22641 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22642 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22643 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22644 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22645 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22646 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22647
226482012-05-18 Andreas Jaeger <aj@suse.de>
22649
22650 * csu/.gitignore: Delete.
22651
226522012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22653
22654 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22655 (timex): Use __syscall_slong_t.
22656
226572012-05-18 Andreas Jaeger <aj@suse.de>
22658 Carlos O'Donell <carlos_odonell@mentor.com>
22659
22660 * manual/install.texi (Configuring and compiling): Update
22661 description about files modified in the source directory.
22662 * INSTALL: Regenerated.
22663
226642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22665
22666 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22667 value. Use "or" to set return value to -1.
22668 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22669 negate return value.
22670
226712012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22672
22673 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22674 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22675 failure if the compiler has Graphite support disabled.
22676 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22677 Likewise.
22678 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22679 CFLAGS-memmove.c): Likewise.
22680 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22681 Likewise.
22682
226832012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22684
22685 * sysdeps/x86_64/x32/_itoa.h: New file.
22686
22687 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22688 getdents system call only if kernel and user dirents have the
22689 same d_ino and d_off.
22690
22691 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22692 LLONG_MAX != LONG_MAX.
22693 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22694 (_fitoa_word): Likewise.
22695
22696 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22697 years.
22698 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22699 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22700 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22701
22702 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22703 include <bits/wordsize.h>. Check __x86_64__ instead of
22704 __WORDSIZE.
22705 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22706 if __x86_64__ is defined. Use anonymous union on fpstate.
22707
22708 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22709 anonymous union.
22710
227112012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22712
22713 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22714 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22715 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22716 Refer to _rtld_local_ro instead of _rtld_global_ro.
22717 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22718 Likewise.
22719 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22720 Likewise.
22721 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22722 Likewise.
22723 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22724 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22725 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22726
22727 * sysdeps/powerpc/powerpc32/dl-machine.c
22728 (__elf_machine_runtime_setup) [PROF]: Don't reference
22729 _dl_prof_resolve.
22730
227312012-05-18 Andreas Jaeger <aj@suse.de>
22732
22733 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22734 function only available for GCCs before 3.4 since GCC 3.4
22735 introduced a builtin.
22736 (lrint): Likewise.
22737 (llrintf): Likewise.
22738 (llrint): Likewise.
22739 (fmaxf): Likewise.
22740 (fmax): Likewise.
22741 (fminf): Likewise.
22742 (fmin): Likewise.
22743 (rint): Likewise.
22744 (rintf): Likewise.
22745 (nearbyint): Likewise.
22746 (nearbyintf): Likewise.
22747 (ceil): Likewise.
22748 (ceilf): Likewise.
22749 (floor): Likewise.
22750 (floorf): Likewise.
22751
227522012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22753
22754 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22755 on both fields and cast pointer to __syscall_ulong_t.
22756
22757 * bits/types.h (__fsword_t): New type.
22758 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22759 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22760 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22761 (__FSWORD_T_TYPE): Likewise.
22762 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22763 (__FSWORD_T_TYPE): Likewise.
22764 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22765 (__FSWORD_T_TYPE): Likewise.
22766 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22767 (__FSWORD_T_TYPE): Likewise.
22768 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22769 __SWORD_TYPE with __fsword_t.
22770 (statfs64): Likewise.
22771
227722012-05-17 David S. Miller <davem@davemloft.net>
22773
22774 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22775
227762012-05-17 Andreas Jaeger <aj@suse.de>
22777
22778 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22779 warning.
22780
227812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22782
22783 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22784
227852012-05-17 Andreas Jaeger <aj@suse.de>
22786
22787 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22788 when it is used.
22789
227902012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22791
22792 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22793
227942012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22795
22796 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22797 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22798
227992012-05-17 Andreas Jaeger <aj@suse.de>
22800 Carlos O'Donell <carlos_odonell@mentor.com>
22801
22802 [BZ #14059]
22803 * sysdeps/x86_64/multiarch/init-arch.h
22804 (bit_YMM_Usable): Rename to...
22805 (bit_AVX_Usable): ... this.
22806 (bit_FMA4_Usable): New macro.
22807 (bit_XMM_state): New macro.
22808 (bit_YMM_state): New macro.
22809 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22810 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22811 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22812 (CPUID_OSXSAVE): New macro.
22813 (CPUID_AVX): New macro.
22814 (CPUID_FMA4): New macro.
22815 (index_YMM_Usable): Rename to...
22816 (index_AVX_Usable): ... this.
22817 (HAS_AVX): Use HAS_ARCH_FEATURE.
22818 (HAS_FMA4): Likewise.
22819 (HAS_YMM_USABLE): Remove.
22820 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22821 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22822 are present.
22823 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22824 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22825 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22826 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22827 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22828
228292012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22830
22831 * math/libm-test.c: Support platforms without multiple rounding modes.
22832 * math/bug-nextafter.c: Support platforms without FP exceptions.
22833 * math/bug-nexttoward.c: Likewise.
22834 * math/test-fenv.c: Likewise.
22835 * math/test-misc.c: Likewise.
22836 * stdlib/bug-getcontext.c: Likewise.
22837
228382012-05-17 Andreas Jaeger <aj@suse.de>
22839
22840 * manual/examples/search.c (critter_cmp): Change signature to
22841 avoid warnings.
22842 * manual/string.texi (Collation Functions): Likewise.
22843
228442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22845
22846 * bits/types.h: Fold copyright years.
22847 * bits/typesizes.h: Likewise.
22848 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22849 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22850 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22851 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22852 * time/time.h: Likewise.
22853
228542012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22855
22856 [BZ #208]
22857 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22858 in instead of returning them. Return void.
22859 (__libc_mallinfo): Accumulate over all arenas.
22860 (__malloc_stats): Adjust for change in int_mallinfo interface.
22861
228622012-05-16 Roland McGrath <roland@hack.frob.com>
22863
22864 [BZ #10375]
22865 * configure.in (NM): Add AC_CHECK_TOOL for it.
22866 (libc_extra_cflags): New substituted variable.
22867 Check for -fstack-protector being used implicitly.
22868 * configure: Regenerated.
22869 * config.make.in (config-extra-cflags): New variable,
22870 gets @libc_extra_cflags@.
22871 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22872
22873 [BZ #10375]
22874 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22875 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22876 * configure: Regenerated.
22877 * config.make.in (CPPUNDEFS): New substituted variable.
22878 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22879 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22880 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22881
228822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22883
22884 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22885 (mq_attr): Use __syscall_slong_t.
22886
228872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22888
22889 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22890 Check __x86_64__ instead of __WORDSIZE.
22891 (_STAT_VER_LINUX): Likewise.
22892 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22893 __syscall_ulong_t and __syscall_slong_t.
22894 (stat64): Likewise.
22895
228962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22897
22898 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22899
229002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22901
22902 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22903
229042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22905
22906 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22907 __syscall_ulong_t.
22908
22909 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22910 include <bits/wordsize.h>. Check __x86_64__ instead of
22911 __WORDSIZE.
22912 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22913 defined.
22914 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22915
22916 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22917 include <bits/wordsize.h>. Check __x86_64__ instead of
22918 __WORDSIZE.
22919 (user_regs_struct): Use "__extension__ unsigned long long"
22920 instead of "unsigned long" if __x86_64__ is defined.
22921 (user): Likewise. Pad after pointer field if __ILP32__ is
22922 defined.
22923
229242012-05-16 Joseph Myers <joseph@codesourcery.com>
22925
22926 * configure.in (makeinfo): Require version 4.5 or later. Allow
22927 versions 5 to 9.
22928 * configure: Regenerated.
22929 * manual/install.texi (texinfo): Increase version requirement to
22930 4.5 or later.
22931 * INSTALL: Regenerated.
22932
22933 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22934
229352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22936
22937 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22938
22939 * sysdeps/x86_64/x32/ffs.c: New file.
22940
22941 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22942 __syscall_ulong_t.
22943 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22944 defined. Use __syscall_ulong_t.
22945 (shminfo): Use __syscall_ulong_t.
22946 (shm_info): Likewise.
22947
22948 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22949 __syscall_ulong_t.
22950
22951 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22952 <bits/wordsize.h>.
22953 (msgqnum_t): Use __syscall_ulong_t.
22954 (msglen_t): Likewise.
22955 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22956 __syscall_ulong_t.
22957
22958 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22959 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22960
22961 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22962
22963 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22964 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22965
22966 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22967 __syscall_slong_t.
22968
22969 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22970 include <bits/wordsize.h>. Check __x86_64__ instead of
22971 __WORDSIZE.
22972
22973 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22974 "unsigned long long int" if __x86_64__ is defined.
22975 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22976
22977 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22978 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22979 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22980
22981 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22982 <stdint.h>.
22983 (GET_PC): Cast to uintptr_t first.
22984 (GET_FRAME): Likewise.
22985 (GET_STACK): Likewise.
22986
22987 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22988 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22989 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22990 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22991 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22992 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22993 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22994 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22995 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22996 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22997 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22998 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22999 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23000 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23001 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23002 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23003 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23004 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23005 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23006 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23007 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23008 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23009 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23010 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23011 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23012 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23013 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23014 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23015 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23016
230172012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23018
23019 * Makerules (+depfiles): Also collect depfiles from .oS in
23020 $(extra-objs).
23021 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23022 .oS, $(libnldbl-routines)).
23023
23024 * Makerules (native-compile-mkdep-flags): Define.
23025 * sunrpc/Makefile (extra-objs): Add $(addprefix
23026 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23027 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23028 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23029 calling $(make-target-directory).
23030
230312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23032
23033 * bits/types.h (__snseconds_t): Removed.
23034 * time/time.h (struct timespec): Replace __snseconds_t with
23035 __syscall_slong_t.
23036 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23037 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23038 Likewise.
23039 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23040 (__SNSECONDS_T_TYPE): Likewise.
23041 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23042 (__SNSECONDS_T_TYPE): Likewise.
23043 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23044 (__SNSECONDS_T_TYPE): Likewise.
23045
230462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23047
23048 * sysdeps/mach/hurd/bits/typesizes.h
23049 (__SYSCALL_SLONG_TYPE): New macro.
23050 (__SYSCALL_ULONG_TYPE): Likewise.
23051
230522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23053
23054 * bits/types.h (__syscall_slong_t): New type.
23055 (__syscall_ulong_t): Likewise.
23056
23057 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23058 (__SYSCALL_ULONG_TYPE): Likewise.
23059 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23060 (__SYSCALL_SLONG_TYPE): Likewise.
23061 (__SYSCALL_ULONG_TYPE): Likewise.
23062 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23063 (__SYSCALL_SLONG_TYPE): Likewise.
23064 (__SYSCALL_ULONG_TYPE): Likewise.
23065 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23066 (__SYSCALL_SLONG_TYPE): Likewise.
23067 (__SYSCALL_ULONG_TYPE): Likewise.
23068
230692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23070
23071 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23072 Add sigaltstack-offsets.sym.
23073 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23074 <sigaltstack-offsets.h>.
23075 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23076 longjmp_msg pointer.
23077 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23078 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23079 signal stack.
23080 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23081
230822012-05-15 Joseph Myers <joseph@codesourcery.com>
23083
23084 * elf/stackguard-macros.h: Remove file.
23085 * sysdeps/generic/stackguard-macros.h: New file.
23086 * sysdeps/i386/stackguard-macros.h: Likewise.
23087 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23088 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23089 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23090 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23091 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23092 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23093 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23094 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23095 <elf/stackguard-macros.h>.
23096
23097 [BZ #14109]
23098 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23099 __aligned__ in attribute.
23100 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23101 (gregset_t): Likewise.
23102
231032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23104
23105 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23106 * sysdeps/x86_64/64/Implies-after: Here. New file.
23107 * sysdeps/x86_64/x32/Implies-after: New file.
23108
231092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23110
23111 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23112 and access return value for _dl_profile_fixup. Use R10_LP to
23113 load frame size.
23114
231152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23116
23117 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23118
231192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23120
23121 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23122 * sysdeps/x86_64/x32/sysdep.h: New file.
23123
231242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23125
23126 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23127 * sysdeps/x86_64/setjmp.S: Likewise.
23128
231292012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23130
23131 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23132 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23133 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23134 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23135 remove unused global constant.
23136
231372012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23138
23139 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23140 include of <not-cancel.h>.
23141
231422012-05-15 Roland McGrath <roland@hack.frob.com>
23143
23144 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23145
231462012-05-15 Jeff Law <law@redhat.com>
23147 Andreas Jaeger <aj@suse.de>
23148
23149 [BZ #13594]
23150 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23151 out from...
23152 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23153 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23154 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23155 code changing __hst_map_handle.map.
23156
231572012-05-15 Roland McGrath <roland@hack.frob.com>
23158
23159 * configure.in (sysnames): Look for Implies-before and Implies-after
23160 files.
23161 * configure: Regenerated.
23162
231632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23164
23165 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23166 8-byte data alignment with LP_SIZE alignment.
23167
231682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23169
23170 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23171 into R10_LP.
23172
231732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23174
23175 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23176
231772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23178
23179 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23180 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23181 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23182 Likewise.
23183 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23184
231852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23186
23187 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23188 (stackinfo_sub_sp): Likewise.
23189
231902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23191
23192 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23193 RAX_LP.
23194
231952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23196
23197 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23198 into R*_LP.
23199
232002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23201
23202 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23203 sizes into R*_LP.
23204
232052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23206
23207 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23208
232092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23210
23211 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23212 into R11_LP and load __x86_64_shared_cache_size_half into
23213 R8_LP.
23214
232152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23216
23217 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23218 R8_LP.
23219
232202012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23221
23222 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23223 logb for POWER7.
23224 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23225 logbf for POWER7.
23226 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23227 logbl for POWER7.
23228 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23229 powerpc32/power7/fpu/s_logb.c via #include.
23230 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23231 powerpc32/power7/fpu/s_logbf.c via #include.
23232 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23233 powerpc32/power7/fpu/s_logbl.c via #include.
23234
232352012-05-15 Joseph Myers <joseph@codesourcery.com>
23236
23237 * README.libm: Remove file.
23238
232392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23240
23241 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23242 count for x32. Use R*_LP and omit operand-size suffix.
23243
232442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23245
23246 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23247 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23248 * sysdeps/x86_64/x32/shlib-versions: New file.
23249
232502012-05-14 Roland McGrath <roland@hack.frob.com>
23251
23252 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23253 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23254 Use _dl_fatal_printf instead.
23255
232562012-05-14 Joseph Myers <joseph@codesourcery.com>
23257
23258 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23259 set if not set by the user. Do not allow for being unset.
23260 * sysdeps/unix/sysv/linux/configure: Regenerated.
23261
232622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23263
23264 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23265 the `q' suffix from lea and replace .quad with ASM_ADDR.
23266
232672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23268
23269 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23270 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23271 instead of $17.
23272 (PTR_DEMANGLE): Likewise.
23273
232742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23275
23276 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23277 (LP_OP): Likewise.
23278 (ASM_ADDR): Likewise.
23279 (RAX_LP): Likewise.
23280 (RBP_LP): Likewise.
23281 (RBX_LP): Likewise.
23282 (RCX_LP): Likewise.
23283 (RDI_LP): Likewise.
23284 (RSI_LP): Likewise.
23285 (RSP_LP): Likewise.
23286 (R8_LP): Likewise.
23287 (R9_LP): Likewise.
23288 (R10_LP): Likewise.
23289 (R10_LP): Likewise.
23290 (R11_LP): Likewise.
23291 (R12_LP): Likewise.
23292 (R13_LP): Likewise.
23293 (R14_LP): Likewise.
23294 (R15_LP): Likewise.
23295
232962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23297
23298 * sysdeps/x86_64/x32/dl-machine.h: New file.
23299
233002012-05-14 Andreas Jaeger <aj@suse.de>
23301
23302 * manual/Makefile (subdir): Remove export of subdir.
23303 (all): Remove target.
23304 (.PHONY): Remove all from list.
23305 (mkinstalldirs): Remove.
23306 (.PHONY): Remove installdirs from list.
23307 ($(inst_infodir)/libc.info): Use make-target-directory.
23308 (installdirs): Remove.
23309 (subdir_%): Remove.
23310 (glibc-targets): Remove.
23311 (lib): Remove.
23312 (stubs): Remove.
23313 ($(objpfx)stubs ../po/manual.pot): Remove.
23314 ($(objpfx)stamp%): Remove.
23315 (make-target-directory): Remove.
23316 (subdir_install): Remove.
23317 (routines): Remove.
23318 (aux): Remove.
23319 (sources): Remove.
23320 (objects): Remove.
23321 (headers): Remove.
23322
23323 [BZ #13750]
23324 * manual/.gitignore: Remove, it's not needed anymore.
23325 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23326 all files in it.
23327 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23328 directory.
23329 (texis): Renamed to $(objpfx)texis.
23330 (texis-path): New, contains path to generated files.
23331 (chapters.%): Use texis-path for complete path, add extra argument
23332 libc-texinfo.sh.
23333 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23334 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23335 (summary,texi, stamp-summary): Use complete path of
23336 files. Generate files in build dir.
23337 (dir-add.texi): Build in build dir.
23338 (libm-err.texi,stamp-libm-err): Likewise.
23339 (version.texi, stamp-version): Likewise.
23340 (.%c.texi): Likewise.
23341 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23342 (mostlyclean): Remove target.
23343 (realclean): Remove target.
23344 (generated): Add new variable with contents from mostlyclean and
23345 realclean, remove entries duplicated in common-mostlyclean, add
23346 stamp-libm-err and stamp-version.
23347 (generated-dirs): Add libc directory.
23348 ($(inst_infodir)/libc.info): Install files from build dir.
23349
23350 * manual/install.texi (Configuring and compiling): Adjust since
23351 the info files are not part of the tar ball anymore.
23352
233532012-05-14 Andreas Jaeger <aj@suse.de>
23354
23355 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23356 variable.
23357
233582012-05-14 Joseph Myers <joseph@codesourcery.com>
23359
23360 [BZ #13717]
23361 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23362 to 2.2.0 where earlier.
23363 * sysdeps/unix/sysv/linux/configure: Regenerated.
23364 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23365 Remove conditional code.
23366 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23367 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23368 Remove conditional code.
23369 [!__NR_lchown]: Likewise.
23370 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23371 [__NR_lchown]: Likewise.
23372 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23373 comment referencing __ASSUME_LCHOWN_SYSCALL.
23374 * sysdeps/unix/sysv/linux/i386/sigaction.c
23375 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23376 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23377 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23378 Remove conditional code.
23379 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23380 (__protocol_available): Remove #if 0 code.
23381 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23382 conditional code.
23383 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23384 * sysdeps/unix/sysv/linux/kernel-features.h
23385 (__ASSUME_GETCWD_SYSCALL): Don't define.
23386 (__ASSUME_REALTIME_SIGNALS): Likewise.
23387 (__ASSUME_PREAD_SYSCALL): Likewise.
23388 (__ASSUME_PWRITE_SYSCALL): Likewise.
23389 (__ASSUME_POLL_SYSCALL): Likewise.
23390 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23391 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23392 non-SPARC.
23393 (__ASSUME_SIOCGIFNAME): Don't define.
23394 (__ASSUME_MSG_NOSIGNAL): Likewise.
23395 (__ASSUME_SENDFILE): Define unconditionally.
23396 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23397 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23398 conditional code.
23399 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23400 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23401 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23402 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23403 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23404 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23405 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23407 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23408 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23410 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23411 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23413 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23414 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23416 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23417 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23419 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23420 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23422 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23423 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23425 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23426 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23428 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23429 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23430 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23431 Remove conditional code.
23432 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23433 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23434 Remove conditional code.
23435 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23436 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23437 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23438 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23439 Remove conditional code.
23440 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23441 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23442 Remove conditional code.
23443 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23444 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23445 Remove conditional code.
23446 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23447 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23448 Remove conditional code.
23449 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23450 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23451 Remove conditional code.
23452 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23453 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23454 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23455 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23456 * sysdeps/unix/sysv/linux/sigaction.c
23457 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23458 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23459 * sysdeps/unix/sysv/linux/sigpending.c
23460 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23461 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23462 * sysdeps/unix/sysv/linux/sigprocmask.c
23463 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23464 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23465 * sysdeps/unix/sysv/linux/sigsuspend.c
23466 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23467 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23468 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23469 (__libc_missing_rt_sigs): Remove.
23470 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23471 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23472 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23473 Remove conditional code.
23474 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23475 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23476 return 1.
23477 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23478 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23479 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23480 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23481
234822012-05-14 Andreas Jaeger <aj@suse.de>
23483
23484 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23485 it's not used in glibc.
23486 (__coshm1): Likewise.
23487 (__acosh1p): Likewise.
23488 (__sgn): Likewise.
23489
23490 * manual/string.texi (Copying and Concatenation): Add missing
23491 variable in concat example.
23492 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23493
234942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23495
23496 [BZ #14103]
23497 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23498 __builtin_clzl with __builtin_clzll.
23499
235002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23501
23502 [BZ #14104]
23503 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23504 libc_freeres_ptr.
23505
235062012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23507
23508 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23509 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23510 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23511 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23512
235132012-05-14 Mike Frysinger <vapier@gentoo.org>
23514
23515 * NEWS: Update ia64 info.
23516
235172012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23518
23519 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23520 used as bcopy.
23521
235222012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23523
23524 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23525 * sysdeps/unix/syscalls.list (dup3): Likewise.
23526 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23527 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23528
235292012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23530
23531 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23532 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23533
235342012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23535
23536 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23537 thread pointer.
23538 (TLS_IE): Use mov/add instead of movq/addq to load thread
23539 pointer.
23540 (TLS_GD_PREFIX): New.
23541 (TLS_GD): Use it.
23542
235432012-05-11 David S. Miller <davem@davemloft.net>
23544
23545 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23546 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23547 (_FPU_SETCW): Likewise.
23548
235492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23550
23551 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23552 is 32-byte aligned.
23553
235542012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23555
23556 [BZ #11837]
23557 * iconvdata/gb18030.c: Update tables.
23558 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23559 characters specially.
23560 (BODY for TO_LOOP): Add encoding of missing ranges.
23561
235622012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23563
23564 [BZ #13673]
23565 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23566 * sysdeps/mach/hurd/dup3.c: Likewise.
23567 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23568 * sysdeps/powerpc/memmove.c:: Likewise.
23569
235702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23571
23572 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23573 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23574
235752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23576
23577 * elf/elf.h (R_X86_64_RELATIVE64): New.
23578 (R_X86_64_NUM): Updated.
23579 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23580 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23581 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23582 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23583 tst-quad1pie tst-quad2pie
23584 (modules-names): Add tst-quadmod1 tst-quadmod2.
23585 ($(objpfx)tst-quad1): New dependency.
23586 ($(objpfx)tst-quad2): Likewise.
23587 ($(objpfx)tst-quad1pie): Likewise.
23588 ($(objpfx)tst-quad2pie): Likewise.
23589 * sysdeps/x86_64/tst-quad1.c: New file.
23590 * sysdeps/x86_64/tst-quad1pie.c: New file.
23591 * sysdeps/x86_64/tst-quad2.c: Likewise.
23592 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23593 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23594 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23595 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23596 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23597
235982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23599
23600 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23601 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23602 * streams/stropts.h (t_scalar_t): Define type.
23603
23604 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23605 (_PATH_PRESERVE): Set to "/var/lib".
23606 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23607
23608 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23609 instead of int.
23610
23611 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23612 if __dir_mkfile succeeded.
23613
23614 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23615 checking for _hurd_dtablesize. Unlock it right after having
23616 finished _hurd_dtable allocation.
23617
236182012-05-10 Thomas Schwinge <thomas@schwinge.name>
23619
23620 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23621 * sysdeps/mach/hurd/configure: Regenerated.
23622 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23623 special-casing to...
23624 * sysdeps/gnu/configure.in: ... this new file.
23625 * sysdeps/unix/sysv/linux/configure: Regenerated.
23626 * sysdeps/gnu/configure: New generated file.
23627
23628 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23629 for Linux: use nsec instead of usec, as well as:
23630 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23631 members of type struct timespec.
23632 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23633 New macros.
23634 (struct stat64): Likewise.
23635 (_STATBUF_ST_NSEC): New macro.
23636 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23637
23638 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23639 __strtoul_internal rather than strtoul.
23640
236412012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23642
23643 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23644 and reject them.
23645
236462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23647
23648 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23649 which preserves existing values.
23650 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23651
236522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23653
23654 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23655 TIMEOUT values. Return EINVAL for NFDS values either negative or
23656 greater than FD_SETSIZE.
23657
236582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23659
23660 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23661 allocated, call __vm_protect to finish enabling the existing space, and
23662 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23663 allocate the remainder.
23664
236652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23666
23667 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23668 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23669
236702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23671
23672 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23673 sysdeps/mach/hurd/readlink.c.
23674
23675 * posix/tst-sysconf.c (posix_options): Only use
23676 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23677 _POSIX_SYNCHRONIZED_IO when they are defined
23678 * sysdeps/mach/hurd/bits/posix_opt.h:
23679 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23680 (_XOPEN_REALTIME): Undefine macro.
23681 (_XOPEN_REALTIME_THREADS): Undefine macro.
23682 (_XOPEN_SHM): Undefine macro.
23683 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23684 macro to -1.
23685 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23686 macro to -1.
23687 (_POSIX_ASYNC_IO): Undefine macro.
23688 (_POSIX_PRIORITIZED_IO): Undefine macro.
23689 (_POSIX_SPIN_LOCKS): Define macro to -1.
23690
23691 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23692 SA_NODEFER, SA_RESETHAND.
23693 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23694 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23695 F_DUPFD_CLOEXEC.
23696
236972012-05-10 Thomas Schwinge <thomas@schwinge.name>
23698
23699 * elf/Makefile (pldd-modules): Define unconditionally.
23700
237012012-05-10 Thomas Schwinge <thomas@schwinge.name>
23702
23703 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23704
237052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23706
23707 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23708 Return ENOENT when name is empty.
23709 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23710
237112012-05-10 Thomas Schwinge <thomas@schwinge.name>
23712
23713 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23714
23715 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23716
237172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23718
23719 Fix mlock in all cases except non-readable pages.
23720 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23721 instead of VM_PROT_ALL as parameter to __vm_wire function.
23722
23723 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23724 (__mkdir): When path is `/', just fail with EEXIST.
23725 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23726
237272012-05-10 Thomas Schwinge <thomas@schwinge.name>
23728
23729 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23730 <sys/uio.h> (for writev).
23731 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23732 and <sys/param.h> (for MIN).
23733
237342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23735
23736 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23737 REQUESTED_TIME. Properly set the remaining time and return EINTR
23738 if interrupted.
23739
237402012-05-10 Thomas Schwinge <thomas@schwinge.name>
23741
23742 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23743 Depend on against $(link-rpcuserlibs).
23744
237452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23746
23747 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23748 (__libc_stack_end): Do not use attribute_relro.
23749 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23750 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23751 to libthread-provided value.
23752 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23753 attribute_relro.
23754
237552012-05-10 Thomas Schwinge <thomas@schwinge.name>
23756
23757 [BZ #3748]
23758 * bits/libc-lock.h (__libc_once_get): New macro.
23759 * sysdeps/mach/bits/libc-lock.h: Likewise.
23760 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23761 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23762 instead of using implementation details.
23763
23764 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23765 * libio/freopen.c: Likewise.
23766 * libio/freopen64.c: Likewise.
23767 * misc/syslog.c: Likewise.
23768 * nscd/connections.c: Likewise.
23769 * nscd/netgroupcache.c: Likewise.
23770 * sysdeps/posix/getcwd.c: Likewise.
23771
237722012-05-10 Roland McGrath <roland@hack.frob.com>
23773
23774 * math/w_ilogbf.c: Add #include <limits.h>.
23775
237762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23777
23778 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23779 path instead of returning without unlocking.
23780
23781 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23782 immediate-write ioctls.
23783 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23784
237852012-05-10 Thomas Schwinge <thomas@schwinge.name>
23786
23787 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23788 __builtin_frame_address instead of making assumptions about the
23789 location of the return address relative to DATA. Force early load of
23790 the return address.
23791 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23792 __builtin_frame_address.
23793
23794 dup3 for GNU Hurd.
23795 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23796 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23797 implement dup3 and do some further code clean-ups.
23798 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23799 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23800
238012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23802
23803 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23804
23805 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23806 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23807 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23808 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23809 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23810 d->port.lock.
23811
23812 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23813 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23814 when handler == SIG_ERR, not when handler != SIG_ERR.
23815
238162012-05-10 Thomas Schwinge <thomas@schwinge.name>
23817
23818 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23819 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23820 definitions.
23821
23822 accept4 for GNU Hurd.
23823 * include/sys/socket.h (__libc_accept4): New prototype.
23824 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23825 to implement __libc_accept4.
23826 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23827 __libc_accept4.
23828 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23829
23830 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23831 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23832 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23833 signal-defines.sym.
23834
238352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23836
23837 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
23838
238392012-05-10 Thomas Schwinge <thomas@schwinge.name>
23840
23841 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23842 assertion on O_CLOEXEC flag.
23843 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23844 * hurd/intern-fd.c: Likewise.
23845 * hurd/port2fd.c: Likewise.
23846
238472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23848
23849 [BZ #3906]
23850 * bits/in.h (IPV6_PKTINFO): Define new macro.
23851 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23852
238532012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23854
23855 [BZ #13954]
23856 [BZ #13955]
23857 [BZ #13956]
23858 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23859 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23860 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23861 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23862 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23863 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23864 * math/libm-test.inc (logb_test) : Additional logb tests.
23865
238662012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23867 Andreas Jaeger <aj@suse.de>
23868
23869 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23870 * configure: Regenerated.
23871 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23872 * config.make.in (link-obsolete-rpc): New substituted variable.
23873 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23874 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23875 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23876 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23877 so that libc.a contains the symbols.
23878 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23879 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23880 * sunrpc/auth_none.c: Likewise.
23881 * sunrpc/auth_unix.c: Likewise.
23882 * sunrpc/authdes_prot.c: Likewise.
23883 * sunrpc/authuxprot.c: Likewise.
23884 * sunrpc/clnt_gen.c: Likewise.
23885 * sunrpc/clnt_perr.c: Likewise.
23886 * sunrpc/clnt_raw.c: Likewise.
23887 * sunrpc/clnt_simp.c: Likewise.
23888 * sunrpc/clnt_tcp.c: Likewise.
23889 * sunrpc/clnt_udp.c: Likewise.
23890 * sunrpc/clnt_unix.c: Likewise.
23891 * sunrpc/des_crypt.c: Likewise.
23892 * sunrpc/des_soft.c: Likewise.
23893 * sunrpc/get_myaddr.c: Likewise.
23894 * sunrpc/key_call.c: Likewise.
23895 * sunrpc/key_prot.c: Likewise.
23896 * sunrpc/netname.c: Likewise.
23897 * sunrpc/pm_getmaps.c: Likewise.
23898 * sunrpc/pm_getport.c: Likewise.
23899 * sunrpc/pmap_clnt.c: Likewise.
23900 * sunrpc/pmap_prot.c: Likewise.
23901 * sunrpc/pmap_prot2.c: Likewise.
23902 * sunrpc/pmap_rmt.c: Likewise.
23903 * sunrpc/publickey.c: Likewise.
23904 * sunrpc/rpc_cmsg.c: Likewise.
23905 * sunrpc/rpc_common.c: Likewise.
23906 * sunrpc/rpc_dtable.c: Likewise.
23907 * sunrpc/rpc_prot.c: Likewise.
23908 * sunrpc/rpc_thread.c: Likewise.
23909 * sunrpc/rtime.c: Likewise.
23910 * sunrpc/svc.c: Likewise.
23911 * sunrpc/svc_auth.c: Likewise.
23912 * sunrpc/svc_raw.c: Likewise.
23913 * sunrpc/svc_run.c: Likewise.
23914 * sunrpc/svc_tcp.c: Likewise.
23915 * sunrpc/svc_udp.c: Likewise.
23916 * sunrpc/svc_unix.c: Likewise.
23917 * sunrpc/svcauth_des.c: Likewise.
23918 * sunrpc/xcrypt.c: Likewise.
23919 * sunrpc/xdr.c: Likewise.
23920 * sunrpc/xdr_array.c: Likewise.
23921 * sunrpc/xdr_float.c: Likewise.
23922 * sunrpc/xdr_intXX_t.c: Likewise.
23923 * sunrpc/xdr_mem.c: Likewise.
23924 * sunrpc/xdr_rec.c: Likewise.
23925 * sunrpc/xdr_ref.c: Likewise.
23926 * sunrpc/xdr_sizeof.c: Likewise.
23927 * sunrpc/xdr_stdio.c: Likewise.
23928
239292012-05-10 Roland McGrath <roland@hack.frob.com>
23930
23931 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23932 change. Update copyright years.
23933
239342012-05-10 Joseph Myers <joseph@codesourcery.com>
23935
23936 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23937
239382012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23939 Joseph Myers <joseph@codesourcery.com>
23940 Paul Pluzhnikov <ppluzhnikov@google.com>
23941
23942 [BZ #14012]
23943 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23944 requiring rpcgen.
23945 [cross-compiling] (extra-libs): Likewise.
23946 [cross-compiling] (extra-libs-others): Likewise.
23947 [cross-compiling] (librpcsvc-routines): Likewise.
23948 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23949 [cross-compiling] (omit-deps): Likewise.
23950 (sunrpc-CPPFLAGS): New variable.
23951 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23952 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23953 (cross-rpcgen-objs): New variable.
23954 (extra-objs): Append $(cross-rpcgen-objs).
23955 ($(cross-rpcgen-objs)): New rule.
23956 ($(objpfx)cross-rpcgen): Likewise.
23957 (rpcgen-cmd): Define to use $(built-program-file). Expand
23958 comment.
23959 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23960 ($(objpfx)x%.stmp): Likewise.
23961 * sunrpc/proto.h [IS_IN_build] (_): Define.
23962 [IS_IN_build] (_libc_intl_domainname): Likewise.
23963
239642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23965
23966 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23967 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23968 and R_X86_64_TPOFF64.
23969
239702012-05-10 Joseph Myers <joseph@codesourcery.com>
23971
23972 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23973 sysdeps/unix/sysv/syscalls.list.
23974 (stime): Likewise.
23975 (utime): Likewise.
23976 * sysdeps/unix/sysv/syscalls.list: Remove file.
23977
239782012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23979
23980 [BZ #3440]
23981 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23982 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23983 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23984 (__LC_IDENTIFICATION): Make these macros useful in #if
23985 expressions, as required by C99.
23986
239872012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23988
23989 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23990 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23991 after this.
23992
239932012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23994
23995 * stdlib/longlong.h: Updated from GCC.
23996
239972012-05-09 Andreas Jaeger <aj@suse.de>
23998
23999 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24000 default is first entry.
24001 (run_mode): Set type.
24002 (main): Remove informal message about syslog.
24003 (options): Fix typo.
24004
24005 [BZ #14053]
24006 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24007 to asm.
24008 (lrint): Likewise.
24009 (llrintf): Likewise.
24010 (llrint): Likewise.
24011 (rint): Likewise.
24012 (rintf): Likewise.
24013 (nearbyint): Likewise.
24014 (nearbyintf): Likewise.
24015
240162012-05-09 Andreas Jaeger <aj@suse.de>
24017 Pedro Alves <palves@redhat.com>
24018
24019 * nscd/nscd.c (run_mode): Use enum.
24020 (main): Cleanup coding style issue.
24021
240222012-05-09 Alexandre Oliva <aoliva@redhat.com>
24023 Andreas Jaeger <aj@suse.de>
24024
24025 * nscd/nscd.c (go_background): Replaced with...
24026 (run_mode): ... this.
24027 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24028 (options): Add -F --foreground.
24029 (main): Implement it.
24030 (parse_opt): Parse it.
24031
240322012-05-09 Andreas Jaeger <aj@suse.de>
24033
24034 [BZ #14083]
24035 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24036 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24037 -Wconversion warning.
24038 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24039 Likewise.
24040
240412012-05-09 Joseph Myers <joseph@codesourcery.com>
24042
24043 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24044 == 0.
24045 (LC_ALL): Use macro-int-constant.
24046 (LC_COLLATE): Likewise.
24047 (LC_CTYPE): Likewise.
24048 (LC_MESSAGES): Likewise.
24049 (LC_MONETARY): Likewise.
24050 (LC_NUMERIC): Likewise.
24051 (LC_TIME): Likewise.
24052 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24053 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24054 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24055 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24056 Specify type.
24057 [C99-based standards] (float_t): Expect type.
24058 [C99-based standards] (double_t): Expect type.
24059 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24060 type.
24061 [C99-based standards] (HUGE_VALL): Likewise.
24062 [C99-based standards] (INFINITY): Likewise.
24063 [C99-based standards] (NAN): Likewise.
24064 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24065 [C99-based standards] (FP_NAN): Likewise.
24066 [C99-based standards] (FP_NORMAL): Likewise.
24067 [C99-based standards] (FP_SUBNORMAL): Likewise.
24068 [C99-based standards] (FP_ZERO): Likewise.
24069 [C99-based standards] (FP_FAST_FMA): Use
24070 optional-macro-int-constant. Specify type. Require == 1.
24071 [C99-based standards] (FP_FAST_FMAF): Likewise.
24072 [C99-based standards] (FP_FAST_FMAL): Likewise.
24073 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24074 [C99-based standards] (FP_ILOGBNAN): Likewise.
24075 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24076 Specify type.
24077 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24078 [C99-based standards] (math_errhandling): Specify type.
24079 [ISO99 || ISO11] (signgam): Do not allow.
24080 [non-C99-based standards] (copysignf): Do not allow.
24081 [non-C99-based standards] (exp2f): Likewise.
24082 [non-C99-based standards] (log2f): Likewise.
24083 [non-C99-based standards] (modff): Allow.
24084 [non-C99-based standards] (erff): Do not allow.
24085 [non-C99-based standards] (erfcf): Likewise.
24086 [non-C99-based standards] (gammaf): Likewise.
24087 [non-C99-based standards] (hypotf): Likewise.
24088 [non-C99-based standards] (j0f): Likewise.
24089 [non-C99-based standards] (j1f): Likewise.
24090 [non-C99-based standards] (jnf): Likewise.
24091 [non-C99-based standards] (lgammaf): Likewise.
24092 [non-C99-based standards] (tgammaf): Likewise.
24093 [non-C99-based standards] (y0f): Likewise.
24094 [non-C99-based standards] (y1f): Likewise.
24095 [non-C99-based standards] (ynf): Likewise.
24096 [non-C99-based standards] (isnanf): Likewise.
24097 [non-C99-based standards] (acoshf): Likewise.
24098 [non-C99-based standards] (asinhf): Likewise.
24099 [non-C99-based standards] (atanhf): Likewise.
24100 [non-C99-based standards] (cbrtf): Likewise.
24101 [non-C99-based standards] (expm1f): Likewise.
24102 [non-C99-based standards] (ilogbf): Likewise.
24103 [non-C99-based standards] (log1pf): Likewise.
24104 [non-C99-based standards] (logbf): Likewise.
24105 [non-C99-based standards] (nextafterf): Likewise.
24106 [non-C99-based standards] (remainderf): Likewise.
24107 [non-C99-based standards] (rintf): Likewise.
24108 [non-C99-based standards] (scalbf): Likewise.
24109 [non-C99-based standards] (copysignl): Likewise.
24110 [non-C99-based standards] (exp2l): Likewise.
24111 [non-C99-based standards] (log2l): Likewise.
24112 [non-C99-based standards] (modfl): Allow.
24113 [non-C99-based standards] (erfl): Do not allow.
24114 [non-C99-based standards] (erfcl): Likewise.
24115 [non-C99-based standards] (gammal): Likewise.
24116 [non-C99-based standards] (hypotl): Likewise.
24117 [non-C99-based standards] (j0l): Likewise.
24118 [non-C99-based standards] (j1l): Likewise.
24119 [non-C99-based standards] (jnl): Likewise.
24120 [non-C99-based standards] (lgammal): Likewise.
24121 [non-C99-based standards] (tgammal): Likewise.
24122 [non-C99-based standards] (y0l): Likewise.
24123 [non-C99-based standards] (y1l): Likewise.
24124 [non-C99-based standards] (ynl): Likewise.
24125 [non-C99-based standards] (isnanl): Likewise.
24126 [non-C99-based standards] (acoshl): Likewise.
24127 [non-C99-based standards] (asinhl): Likewise.
24128 [non-C99-based standards] (atanhl): Likewise.
24129 [non-C99-based standards] (cbrtl): Likewise.
24130 [non-C99-based standards] (expm1l): Likewise.
24131 [non-C99-based standards] (ilogbl): Likewise.
24132 [non-C99-based standards] (log1pl): Likewise.
24133 [non-C99-based standards] (logbl): Likewise.
24134 [non-C99-based standards] (nextafterl): Likewise.
24135 [non-C99-based standards] (remainderl): Likewise.
24136 [non-C99-based standards] (rintl): Likewise.
24137 [non-C99-based standards] (scalbl): Likewise.
24138 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24139 [non-C99-based standards] (FP_*): Do not allow.
24140 [C99-based standards] (FP_*): Change to
24141 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24142 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24143 allow.
24144 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24145 (SIG_ERR): Likewise.
24146 [X/Open-based standards] (SIG_HOLD): Likewise.
24147 (SIG_IGN): Likewise.
24148 (SIGABRT): Use macro-int-constant. Specify type. Require
24149 positive value.
24150 (SIGFPE): Likewise.
24151 (SIGILL): Likewise.
24152 (SIGINT): Likewise.
24153 (SIGSEGV): Likewise.
24154 (SIGTER): Likewise.
24155 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24156 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24157 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24158 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24159 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24160 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24161 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24162 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24163 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24164 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24165 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24166 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24167 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24168 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24169 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24170 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24171 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24172 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24173 [X/Open-based standards] (SIGTRAP): Likewise.
24174 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24175 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24176 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24177 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24178 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24179 allow.
24180
241812012-05-08 Ian Wienand <ianw@vmware.com>
24182
24183 [BZ #14080]
24184 * time/tzset.c (__tzset_parse_tz): Update default rules for
24185 daylight time changes in the Energy Policy Act of 2005.
24186
241872012-05-09 Andreas Jaeger <aj@suse.de>
24188
24189 [BZ #13983]
24190 * elf/ldconfig.c (parse_conf): Change string to make clear that
24191 ldconfig only issued a warning if ld.so.conf does not exist.
24192
241932012-05-08 David S. Miller <davem@davemloft.net>
24194
24195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24196 movxtod instead of popping the value on the stack.
24197
24198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24199
242002012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24201
24202 * config.h.in: Add HAVE_ARM_PCS_VFP.
24203
242042012-05-08 Roland Mc Grath <roland@hack.frob.com>
24205
24206 [BZ #13979]
24207 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24208 checking but the checks are disabled for any reason.
24209
242102012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24211
24212 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24213 and ELF64_R_TYPE with ELFW(R_TYPE).
24214
242152012-05-08 Joseph Myers <joseph@codesourcery.com>
24216
24217 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24218 (ulimit): Likewise.
24219
24220 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24221 (settimeofday): Likewise.
24222
242232012-05-08 Mike Frysinger <vapier@gentoo.org>
24224
24225 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24226 a struct th_u2 inside the union, and move tu_block/tu_code into
24227 a new th_u3 union of tu_block/tu_code inside of that. Move
24228 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24229 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24230 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24231 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24232 (th_stuff): Change to th_u1.tu_stuff.
24233 (th_data): Define.
24234 (th_msg): Change to th_u1.th_u2.tu_data.
24235
242362012-05-07 David S. Miller <davem@davemloft.net>
24237
24238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24239
24240 [BZ #14074]
24241 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24242 (SETUP_PIC_REG): Use it.
24243 (SETUP_PIC_REG_LEAF): Use it.
24244
242452012-05-07 Joseph Myers <joseph@codesourcery.com>
24246
24247 [BZ #13885]
24248 [BZ #13923]
24249 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24250 USE_AS_EXPM1L.
24251 (EXPL_FINITE): Likewise.
24252 (FLDLOG): Likewise.
24253 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24254 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24255 e_expl.S.
24256 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24257 USE_AS_EXPM1L.
24258 (EXPL_FINITE): Likewise.
24259 (FLDLOG): Likewise.
24260 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24261 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24262 e_expl.S.
24263 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24264 test of -max_value argument for long double.
24265 * sysdeps/i386/fpu/libm-test-ulps: Update.
24266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24267
242682012-05-06 David S. Miller <davem@davemloft.net>
24269
24270 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24271 quad soft-float symbols whose references which are compiler
24272 generated.
24273 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24274
242752012-05-06 Joseph Myers <joseph@codesourcery.com>
24276
24277 [BZ #13884]
24278 [BZ #13914]
24279 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24280 USE_AS_EXP10L.
24281 (EXPL_FINITE): Likewise.
24282 (FLDLOG): Likewise.
24283 (c0): Likewise.
24284 (c1): Likewise.
24285 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24286 Adjust comments for base varying.
24287 (__expl_finite): Change alias to EXPL_FINITE.
24288 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24289 e_expl.S.
24290 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24291 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24292 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24293 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24294 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24295 USE_AS_EXP10L.
24296 (EXPL_FINITE): Likewise.
24297 (FLDLOG): Likewise.
24298 (c0): Likewise.
24299 (c1): Likewise.
24300 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24301 Adjust comments for base varying.
24302 (__expl_finite): Change alias to EXPL_FINITE.
24303 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24304 tests for bugs.
24305 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24306
24307 [BZ #14064]
24308 * math/libm-test.inc (check_float_internal): Correct ulp
24309 calculation for subnormal expected results.
24310
243112012-05-06 Andreas Jaeger <aj@suse.de>
24312
24313 * Makeconfig (+math-flags): New, set to -frounding-math.
24314 (+cflags): Add +math-flags so that all of glibc gets compiled with
24315 it.
24316
24317 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24318
243192012-05-05 Joseph Myers <joseph@codesourcery.com>
24320
24321 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24322 Disable one test.
24323
24324 [BZ #13787]
24325 [BZ #13922]
24326 [BZ #14036]
24327 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24328 (__ieee754_expl): Allow for and saturate large arguments.
24329 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24330 (u_threshold): Likewise.
24331 (__exp): Call __ieee754_exp before checking for overflow and
24332 underflow.
24333 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24334 (u_threshold): Likewise.
24335 (__expf): Call __ieee754_expf before checking for overflow and
24336 underflow.
24337 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24338 (u_threshold): Likewise.
24339 (__expl): Call __ieee754_expl before checking for overflow and
24340 underflow.
24341 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24342 (__ieee754_expl): Allow for and saturate large arguments.
24343 * math/libm-test.inc (exp_test): Add another test. Do not allow
24344 missing overflow exception on overflow.
24345 (expm1_test): Do not allow missing overflow exception on overflow.
24346
24347 * sysdeps/i386/fpu/e_expl.c: Move to ...
24348 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24349 rather than using inline asm.
24350 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24351 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24352 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24353
24354 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24355 (nice): Likewise.
24356 (poll): Likewise.
24357 (signal): Likewise.
24358 (time): Likewise.
24359 (times): Likewise.
24360
243612012-05-04 Joseph Myers <joseph@codesourcery.com>
24362
24363 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24364 sysdeps/unix/common/syscalls.list.
24365 (fchmod): Likewise.
24366 (fchown): Likewise.
24367 (ftruncate): Likewise.
24368 (getrusage): Likewise.
24369 (gettimeofday): Likewise.
24370 (setpgid): Likewise.
24371 (setregid): Likewise.
24372 (setreuid): Likewise.
24373 (sigaction): Likewise.
24374 (truncate): Likewise.
24375 (vhangup): Likewise.
24376 * sysdeps/unix/common/syscalls.list: Remove file.
24377 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24378 * sysdeps/unix/sysv/linux/Implies: Likewise.
24379
243802012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24381
24382 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24384 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24385 Moved to ...
24386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24387 Here.
24388 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24389 to ...
24390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24391 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24392 to ...
24393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24394 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24395 to ...
24396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24397 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24398 to ...
24399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24400 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24401 to ...
24402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24403 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24404 to ...
24405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24406 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24407 to ...
24408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24409 Here.
24410 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24411 to ...
24412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24413 Here.
24414 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24415 to ...
24416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24417 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24418 Moved to ...
24419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24420 Here.
24421 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24422 to ...
24423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24424
244252012-05-04 Joseph Myers <joseph@codesourcery.com>
24426
24427 * sysdeps/unix/common/bits/dirent.h: Remove file.
24428 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24429
24430 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24431 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24432 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24433 * sysdeps/unix/bsd/isatty.c: Likewise.
24434 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24435 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24436 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24437
244382012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24439
24440 [BZ #13563]
24441 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24442 long double comparison inaccuracies.
24443 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24445
244462012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24447
24448 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24449 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24450
244512012-05-04 Joseph Myers <joseph@codesourcery.com>
24452
24453 [BZ #14049]
24454 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24455 nonzero digits before rounding a hex value.
24456 * stdlib/tst-strtod.c (tests): Add another test.
24457
244582012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24459
24460 * sysdeps/s390/fpu/libm-test-ulps: Update.
24461
244622012-05-03 Andreas Jaeger <aj@suse.de>
24463
24464 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24465 does not get optimized out.
24466 (malloc_opt_barrier): New.
24467
244682012-05-03 Andreas Jaeger <aj@suse.de>
24469 Roland McGrath <roland@hack.frob.com>
24470
24471 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24472 intermediate file deletion.
24473 (generated): Add .symlist files.
24474
244752012-05-03 Joseph Myers <joseph@codesourcery.com>
24476
24477 [BZ #13775]
24478 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24479 Redirect under this condition.
24480 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24481 [__USE_GNU] (__dprintf_chk): Not under this condition.
24482 [__USE_GNU] (__vdprintf_chk): Likewise.
24483 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24484 under this condition.
24485 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24486 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24487 [__USE_XOPEN2K8] (vdprintf): Likewise.
24488 [__USE_GNU] (__dprintf_chk): Not under this condition.
24489 [__USE_GNU] (__vdprintf_chk): Likewise.
24490 [__USE_GNU] (dprintf): Likewise.
24491 [__USE_GNU] (vdprintf): Likewise.
24492
244932012-05-03 Roland McGrath <roland@hack.frob.com>
24494
24495 * elf/Makefile (common-generated): Set this instead of generated for
24496 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24497 $(all-built-dso)-derived lists.
24498
244992012-05-03 Andreas Jaeger <aj@suse.de>
24500
24501 * sysdeps/i386/fpu/libm-test-ulps: Update.
24502
24503 * FAQ: Removed.
24504 * FAQ.in: Likewise.
24505 * scripts/gen-FAQ.pl: Likewise.
24506 * manual/install.texi (Installation): Point to online location of
24507 FAQ.
24508 * Makefile (files-for-dist): Remove FAQ.
24509 (FAQ): Remove.
24510
245112012-05-02 Allan McRae <allan@archlinux.org>
24512
24513 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24514 (LDFLAGS-reldepmod5.so): Likewise.
24515 (LDFLAGS-reldep6mod1.so): Likewise.
24516 (LDFLAGS-reldep6mod4.so): Likewise.
24517 (LDFLAGS-reldep8mod3.so): Likewise.
24518 (LDFLAGS-unload4mod1.so): Likewise.
24519 (LDFLAGS-unload4mod2.so): Likewise.
24520 (LDFLAGS-tst-initorder): Likewise.
24521 (LDFLAGS-tst-initordera2.so): Likewise.
24522 (LDFLAGS-tst-initordera3.so): Likewise.
24523 (LDFLAGS-tst-initordera4.so): Likewise.
24524 (LDFLAGS-tst-initorderb2.so): Likewise.
24525 (LDFLAGS-noload): Likewise.
24526 (LDFLAGS-next): Likewise.
24527 (LDFLAGS-order2mod1.so): Likewise.
24528 (LDFLAGS-order2mod2.so): Likewise.
24529 (LDFLAGS-tst-initorder2): Likewise.
24530 (LDFLAGS-tst-initorder2a.so): Likewise.
24531 (LDFLAGS-tst-initorder2b.so): Likewise.
24532 (LDFLAGS-tst-initorder2c.so): Likewise.
24533 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24534
245352012-05-02 David S. Miller <davem@davemloft.net>
24536
24537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24538
245392012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24540
24541 [BZ #14055]
24542 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24543
245442012-05-02 Andreas Jaeger <aj@suse.de>
24545
24546 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24547 since we manipulate rounding mode.
24548 (CPPFLAGS-test-idouble.c): Likewise.
24549 (CPPFLAGS-test-ifloat.c): Likewise.
24550 (CFLAGS-test-ldouble.c): Likewise.
24551 (CFLAGS-test-double.c): Likewise.
24552 (CFLAGS-test-float.c): Likewise.
24553 (CFLAGS-test-misc.c): Likewise.
24554 (CFLAGS-test-test-fenv.c): Likewise.
24555
245562012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24557
24558 [BZ #2550]
24559 [BZ #2570]
24560 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24561 comparisons to determine direction to adjust input.
24562
245632012-05-01 Roland McGrath <roland@hack.frob.com>
24564
24565 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24566 output to the target.
24567
24568 * scripts/localplt.awk: New file.
24569 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24570 (check-localplt-CFLAGS): Variable removed.
24571 ($(all-built-dso:=.jmprel)): New static pattern rule.
24572 (generated): Add those targets.
24573 (localplt-built-dso): New variable.
24574 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24575
24576 * elf/check-localplt.c: File removed.
24577
24578 * scripts/check-execstack.awk: New file.
24579 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24580 (check-execstack-CFLAGS): Variable removed.
24581 ($(objpfx)check-execstack.h): Target removed.
24582 ($(objpfx)execstack-default): New target.
24583 (generated): Add that instead of check-execstack.h.
24584 ($(all-built-dso:=.phdr)): New static pattern rule.
24585 (generated): Add those targets.
24586 * elf/check-execstack.c: File removed.
24587
24588 * scripts/check-textrel.awk: New file.
24589 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24590 (check-textrel-CFLAGS): Variable removed.
24591 (all-built-dso): Use := to define.o
24592 ($(all-built-dso:=.dyn)): New static pattern rule.
24593 (generated): Add those targets.
24594 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24595 * config.make.in (READELF): New substituted variable.
24596 * elf/check-textrel.c: File removed.
24597
245982012-05-01 Joseph Myers <joseph@codesourcery.com>
24599
24600 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24601 allow.
24602 * conform/data/ctype.h-data [C99-based standards] (isblank):
24603 Expect function.
24604 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24605 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24606 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24607 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24608 Specify type. Require positive value.
24609 (EILSEQ): Likewise.
24610 (ERANGE): Likewise.
24611 [ISO || POSIX] (EILSEQ): Do not expect.
24612 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24613 Specify type. Require positive value.
24614 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24615 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24616 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24617 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24618 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24619 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24620 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24621 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24622 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24623 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24624 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24625 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24626 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24627 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24628 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24629 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24630 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24631 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24632 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24633 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24634 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24635 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24636 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24637 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24638 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24639 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24640 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24641 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24642 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24643 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24644 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24645 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24646 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24647 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24648 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24649 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24650 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24651 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24652 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24653 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24654 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24655 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24656 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24657 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24658 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24659 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24660 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24661 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24662 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24663 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24664 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24665 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24666 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24667 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24668 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24669 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24670 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24671 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24672 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24673 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24674 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24675 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24676 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24677 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24678 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24679 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24680 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24681 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24682 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24683 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24684 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24685 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24686 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24687 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24688 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24689 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24690 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24691 Require >= 2.
24692 (FLT_ROUNDS): Expect as macro, not constant.
24693 (FLT_MANT_DIG): Use macro-int-constant.
24694 (DBL_MANT_DIG): Likewise.
24695 (LDBL_MANT_DIG): Likewise.
24696 (FLT_DIG): Likewise.
24697 (DBL_DIG): Likewise.
24698 (LDBL_DIG): Likewise.
24699 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24700 (DBL_MIN_EXP): Likewise.
24701 (LDBL_MIN_EXP): Likewise.
24702 (FLT_MAX_EXP): Use macro-int-constant.
24703 (DBL_MAX_EXP): Likewise.
24704 (LDBL_MAX_EXP): Likewise.
24705 (FLT_MAX_10_EXP): Likewise.
24706 (DBL_MAX_10_EXP): Likewise.
24707 (LDBL_MAX_10_EXP): Likewise.
24708 (FLT_MAX): Use macro-constant.
24709 (DBL_MAX): Likewise.
24710 (LDBL_MAX): Likewise.
24711 (FLT_EPSILON): Use macro-constant. Give upper bound.
24712 (DBL_EPSILON): Likewise.
24713 (LDBL_EPSILON): Likewise.
24714 (FLT_MIN): Likewise.
24715 (DBL_MIN): Likewise.
24716 (LDBL_MIN): Likewise.
24717 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24718 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24719 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24720 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24721 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24722 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24723 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24724 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24725 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24726 [ISO11] (FLT_TRUE_MIN): Likewise.
24727 [ISO11] (LDBL_TRUE_MIN): Likewise.
24728 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24729 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24730 (SCHAR_MIN): Use macro-int-constant. Specify type.
24731 (SCHAR_MAX): Likewise.
24732 (UCHAR_MAX): Likewise.
24733 (CHAR_MIN): Likewise.
24734 (CHAR_MAX): Likewise.
24735 (MB_LEN_MAX): Use macro-int-constant.
24736 (SHRT_MIN): Use macro-int-constant. Specify type.
24737 (SHRT_MAX): Likewise.
24738 (USHRT_MAX): Likewise.
24739 (INT_MAX): Likewise.
24740 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24741 bound negative.
24742 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24743 bound with "U".
24744 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24745 bound with "L".
24746 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24747 bound negative. Suffix upper bound with "L".
24748 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24749 bound with "UL".
24750 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24751 Specify type.
24752 [C99-based standards] (LLONG_MAX): Likewise.
24753 [C99-based standards] (ULLONG_MAX): Likewise.
24754 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24755 == 0.
24756 [ISO11] (max_align_t): Require type.
24757 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24758
24759 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24760 from $CFLAGS, without defining away __attribute__ calls.
24761 (checknamespace): Use $CFLAGS_namespace.
24762
24763 * conform/conformtest.pl (@keywords): Only include C99 keywords
24764 for standards based on C99 or C11.
24765
24766 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24767 Disable tests.
24768 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24769 UNIX98]: Likewise.
24770
24771 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24772 usability of symbols in #if.
24773
24774 * conform/conformtest.pl: If macro or constant types start
24775 "promoted:", expect the symbol to be of the following type
24776 promoted by the integer promotions.
24777
24778 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24779 in one place. Also handle "macro-constant".
24780
24781 * conform/conformtest.pl: Only accept expected macro values with
24782 "==". Parse all "macro" lines in one place.
24783 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24784
24785 * conform/conformtest.pl: Handle braced types on "constant" lines
24786 instead of handling "typed-constant".
24787 * conform/data/signal.h-data: Use "constant" instead of
24788 "typed-constant".
24789
24790 * conform/conformtest.pl: Handle "optional-" at start of lines in
24791 one place rather than duplicating several cases. Handle each
24792 format of "macro" line with initial "optional-".
24793
24794 * conform/conformtest.pl: Only accept expected constant or
24795 optional-constant values with "==". Parse all "constant" lines in
24796 one place. Parse all "optional-constant" lines in one place.
24797 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24798 * conform/data/fmtmsg.h-data: Likewise.
24799 * conform/data/netinet/in.h-data: Likewise.
24800 * conform/data/tar.h-data: Likewise.
24801 * conform/data/limits.h-data: Use "==" form on "constant" and
24802 "optional-constant" lines.
24803
24804 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24805 Use -std=c99 for XOPEN2K.
24806 (@knownproblems): Remove.
24807 (newtoken): Don't check %isknown.
24808
24809 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24810 Do not expect macro.
24811 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24812 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24813 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24814 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24815 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24816 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24817 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24818 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24819 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24820 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24821 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24822 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24823 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24824 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24825 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24826 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24827 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24828 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24829 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24830 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24831 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24832 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24833 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24834 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24835 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24836 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24837 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24838 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24839 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24840 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24841 [XPG3] (acosh): Likewise.
24842 [XPG3] (asinh): Likewise.
24843 [XPG3] (atanh): Likewise.
24844 [XPG3] (cbrt): Likewise.
24845 [XPG3] (expm1): Likewise.
24846 [XPG3] (ilogb): Likewise.
24847 [XPG3] (log1p): Likewise.
24848 [XPG3] (logb): Likewise.
24849 [XPG3] (nextafter): Likewise.
24850 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24851 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24852 [XPG3] (remainder): Likewise.
24853 [XPG3] (rint): Likewise.
24854 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24855 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24856 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24857 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24858 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24859 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24860 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24861 [UNIX98 || XOPEN2K] (scalb): Expect.
24862 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24863 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24864 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24865 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24866 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24867 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24868 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24869 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24870 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24871 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24872 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24873 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24874 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24875 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24876 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24877 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24878 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24879 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24880 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24881 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24882 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24883 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24884 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24885 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24886 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24887 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24888 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24889 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24890 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24891 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24892 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24893 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24894 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24895 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24896 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24897 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24898 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24899 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24900 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24901 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24902 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24903 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24904 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24905 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24906 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24907 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24908 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24909 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24910 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24911 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24912 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24913 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24914 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24915 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24916 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24917 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24918 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24919 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24920 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24921 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24922 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24923 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24924 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24925 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24926 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24927 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24928 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24929 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24930 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24931 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24932 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24933 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24934 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24935 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24936 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24937 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24938 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24939 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24940 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24941 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24942 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24943 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24944 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24945 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24946 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24947 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24948 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24949 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24950 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24951 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24952 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24953 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24954 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24955 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24956 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24957 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24958 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24959 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24960 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24961 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24962 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24963 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24964 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24965 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24966 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24967 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24968 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24969 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24970 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24971 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24972 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24973 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24974 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24975 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24976 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24977 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24978 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24979 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24980 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24981 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24982 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24983 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24984 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24985 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24986 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24987 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24988 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24989 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24990 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24991 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24992 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24993 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24994 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24995 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24996 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24997 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24998 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24999
25000 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25001 _XOPEN_SOURCE_EXTENDED for XPG4.
25002
25003 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25004
25005 * Makeconfig (localtime): Remove variable.
25006 (inst_localtime-file): Likewise.
25007
250082012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25009
25010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25011 Update.
25012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25013 Update.
25014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25015 Update.
25016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25017 Update.
25018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25019 Update.
25020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25021 Update.
25022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25023 Update.
25024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25025 Update.
25026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25027 Update.
25028
250292012-05-01 Joseph Myers <joseph@codesourcery.com>
25030
25031 [BZ #2550]
25032 [BZ #2570]
25033 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25034 comparisons to determine direction to adjust input.
25035 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25036 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25037 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25038 Likewise.
25039 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25040 Likewise.
25041 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25042 Likewise.
25043 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25044 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25045 Likewise.
25046 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25047 Likewise.
25048 * math/libm-test.inc (nexttoward_test): Add more tests.
25049
250502012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25051
25052 [BZ #14040]
25053 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25054 in version GLIBC_2.1, not GLIBC_2.0.
25055 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25056 Likewise.
25057
250582012-04-30 Joseph Myers <joseph@codesourcery.com>
25059
25060 [BZ #13942]
25061 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25062 (1 - x) * (1 + x).
25063 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25064 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25065 * math/libm-test.inc (acos_test): Add more tests.
25066 (asin_test): Likewise.
25067 * sysdeps/i386/fpu/libm-test-ulps: Update.
25068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25069
25070 [BZ #14034]
25071 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25072 of square root.
25073 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25074 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25075 * math/libm-test.inc (acos_test_tonearest): New function.
25076 (acos_test_towardzero): Likewise.
25077 (acos_test_downward): Likewise.
25078 (acos_test_upward): Likewise.
25079 (asin_test_tonearest): Likewise.
25080 (asin_test_towardzero): Likewise.
25081 (asin_test_downward): Likewise.
25082 (asin_test_upward): Likewise.
25083 (main): Call the new functions.
25084 * sysdeps/i386/fpu/libm-test-ulps: Update.
25085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25086
25087 [BZ #13884]
25088 [BZ #13924]
25089 * math/e_exp10.c: Include <float.h>.
25090 (__ieee754_exp10): Handle underflow here rather than multiplying
25091 large negative argument by M_LN10.
25092 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25093 of __ieee754_expf.
25094 * math/e_exp10l.c: Include <float.h>.
25095 (__ieee754_exp10l): Handle underflow here rather than multiplying
25096 large negative argument by M_LN10l.
25097 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25098 spurious overflow exception on underflow.
25099
251002012-04-29 Marek Polacek <polacek@redhat.com>
25101
25102 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25103 (__fortify_function): New macro.
25104 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25105 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25106 __extern_always_inline.
25107 * libio/bits/stdio2.h: Likewise.
25108 * libio/bits/stdio.h: Likewise.
25109 * string/string.h: Likewise.
25110 * string/bits/string3.h: Likewise.
25111 * include/stdio.h: Likewise.
25112 * stdlib/bits/stdlib.h: Likewise.
25113 * stdlib/stdlib.h: Likewise.
25114 * rt/bits/mqueue2.h: Likewise.
25115 * rt/mqueue.h: Likewise.
25116 * posix/bits/unistd.h: Likewise.
25117 * posix/unistd.h: Likewise.
25118 * io/bits/poll2.h: Likewise.
25119 * io/bits/fcntl2.h: Likewise.
25120 * io/fcntl.h: Likewise.
25121 * io/sys/poll.h: Likewise.
25122 * misc/bits/syslog.h: Likewise.
25123 * misc/bits/syslog-ldbl.h: Likewise.
25124 * misc/sys/syslog.h: Likewise.
25125 * socket/bits/socket2.h: Likewise.
25126 * socket/sys/socket.h: Likewise.
25127 * debug/tst-chk1.c: Likewise.
25128 * wcsmbs/bits/wchar2.h: Likewise.
25129 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25130 * wcsmbs/wchar.h: Likewise.
25131
251322012-04-29 Andreas Jaeger <aj@suse.de>
25133
25134 * Makerules (tests): Remove enable-check-abi protection.
25135 (check-abi-warn): Remove.
25136 (check-abi-%): Remove check-abi-warn usage.
25137
25138 * configure.in: Remove check-abi configure option.
25139 * configure: Regenerated.
25140 * config.make.in (enable-check-abi): Remove.
25141
251422012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25143
25144 [BZ #14033]
25145 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25146 double functions to double *_finite functions.
25147
25148 [BZ #13941]
25149 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25150 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25151 LDBL_MIN_EXP.
25152 * stdio-common/Makefile (tests): Add tst-sprintf3.
25153 * stdio-common/tst-sprintf3.c: New file.
25154
25155 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25156 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25157
251582012-04-28 Joseph Myers <joseph@codesourcery.com>
25159
25160 * conform/conformtest.pl: Remove duplicate typed-constant
25161 handling.
25162
251632012-04-28 David S. Miller <davem@davemloft.net>
25164
25165 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25166 (check-abi-%): Remove AWK script prerequisite and explicit
25167 abilist directory.
25168 (check-abi): Rewrite to just diff the symlist with the abilist.
25169 (config-tls, config-abi-config): Delete, no longer used.
25170 (update-abi-%): Remove AWK script and explicit abilist directory.
25171 (update-abi): Rewrite to simply compare and conditionally copy the
25172 symlist and the sysdep abilist file. Remove update-abi-config
25173 checks.
25174 * abilist/ld.abilist: Remove.
25175 * abilist/libBrokenLocale.abilist: Remove.
25176 * abilist/libanl.abilist: Remove.
25177 * abilist/libcrypt.abilist: Remove.
25178 * abilist/libdl.abilist: Remove.
25179 * abilist/librt.abilist: Remove.
25180 * abilist/libthread_db.abilist: Remove.
25181 * abilist/libutil.abilist: Remove.
25182 * scripts/extract-abilist.awk: Remove.
25183 * scripts/merge-abilist.awk: Remove.
25184 * sysdeps/generic/libcidn.abilist: New file.
25185 * sysdeps/generic/libnss_compat.abilist: New file.
25186 * sysdeps/generic/libnss_db.abilist: New file.
25187 * sysdeps/generic/libnss_dns.abilist: New file.
25188 * sysdeps/generic/libnss_files.abilist: New file.
25189 * sysdeps/generic/libnss_hesiod.abilist: New file.
25190 * sysdeps/generic/libnss_nis.abilist: New file.
25191 * sysdeps/generic/libnss_nisplus.abilist: New file.
25192 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25193 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25194 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25195 file.
25196 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25197 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25198 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25199 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25200 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25201 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25202 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25203 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25204 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25205 file.
25206 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25207 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25208 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25209 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25210 file.
25211 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25212 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25213 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25214 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25215 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25216 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25217 file.
25218 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25219 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25220 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25221 file.
25222 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25223 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25224 New file.
25225 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25226 New file.
25227 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25228 New file.
25229 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25230 New file.
25231 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25232 New file.
25233 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25234 New file.
25235 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25236 New file.
25237 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25238 New file.
25239 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25240 New file.
25241 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25242 New file.
25243 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25244 New file.
25245 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25246 New file.
25247 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25248 New file.
25249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25250 file.
25251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25252 New file.
25253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25254 New file.
25255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25256 file.
25257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25258 New file.
25259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25260 New file.
25261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25262 file.
25263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25264 New file.
25265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25266 New file.
25267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25268 New file.
25269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25270 New file.
25271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25272 New file.
25273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25274 New file.
25275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25277 file.
25278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25279 New file.
25280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25281 file.
25282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25283 file.
25284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25285 file.
25286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25287 file.
25288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25289 file.
25290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25291 New file.
25292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25293 file.
25294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25295 file.
25296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25297 New file.
25298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25299 file.
25300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25302 file.
25303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25304 New file.
25305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25306 file.
25307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25308 file.
25309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25310 file.
25311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25312 file.
25313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25314 file.
25315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25316 New file.
25317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25318 file.
25319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25320 file.
25321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25322 New file.
25323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25324 file.
25325 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25326 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25327 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25328 file.
25329 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25330 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25331 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25332 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25333 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25334 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25335 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25336 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25337 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25338 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25341 file.
25342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25343 New file.
25344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25345 file.
25346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25347 file.
25348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25349 file.
25350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25351 file.
25352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25353 file.
25354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25355 New file.
25356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25357 New file.
25358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25359 file.
25360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25361 New file.
25362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25363 file.
25364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25366 file.
25367 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25368 New file.
25369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25370 file.
25371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25372 file.
25373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25374 file.
25375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25376 file.
25377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25378 file.
25379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25380 New file.
25381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25382 New file.
25383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25384 file.
25385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25386 New file.
25387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25388 file.
25389
253902012-04-28 Joseph Myers <joseph@codesourcery.com>
25391
25392 * conform/conformtest.pl: Fix typo in handling typed-constant from
25393 allow-header.
25394
253952012-04-27 Joseph Myers <joseph@codesourcery.com>
25396
25397 * README: Cut down references to pre-2.6 Linux kernels and
25398 Linuxthreads. Update lists of configurations in libc and ports
25399 and sort alphabetically. Say "or newer" with Linux kernel version
25400 requirements.
25401
25402 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25403
254042012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25405
25406 [BZ #887]
25407 * math/libm-test.inc (logb_test_downward): New test to expose
25408 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25409 rounding mode.
25410
254112012-04-27 Joseph Myers <joseph@codesourcery.com>
25412
25413 [BZ #14027]
25414 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25415 to be done.
25416 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25417 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25418
254192012-04-26 Joseph Myers <joseph@codesourcery.com>
25420
25421 * sysdeps/unix/i386/brk.S: Remove file.
25422 * sysdeps/unix/i386/dl-brk.S: Likewise.
25423 * sysdeps/unix/i386/pipe.S: Likewise.
25424 * sysdeps/unix/i386/sigreturn.S: Likewise.
25425 * sysdeps/unix/i386/syscall.S: Likewise.
25426 * sysdeps/unix/i386/vfork.S: Likewise.
25427 * sysdeps/unix/i386/wait.S: Likewise.
25428
25429 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25430 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25431
25432 * configure.in (arm*-none*): Do not allow without
25433 --enable-hacker-mode.
25434 (netbsd*): Remove case setting base_os.
25435 (386bsd*): Likewise.
25436 (freebsd*): Likewise.
25437 (bsdi*): Likewise.
25438 (osf*): Likewise.
25439 (sunos*): Likewise.
25440 (ultrix*): Likewise.
25441 (newsos*): Likewise.
25442 (dynix*): Likewise.
25443 (*bsd*): Likewise.
25444 (sysv*): Likewise.
25445 (isc*): Likewise.
25446 (esix*): Likewise.
25447 (sco*): Likewise.
25448 (minix*): Likewise.
25449 (irix4*): Likewise.
25450 (irix6*): Likewise.
25451 (solaris[2-9]*): Likewise.
25452 (none): Likewise.
25453 * configure: Regenerated.
25454
254552012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25456
25457 [BZ #11521]
25458 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25459 overflow or cancellation in calculating denominator.
25460 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25461 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25462 down expression to avoid unexpected rounding in newer GCCs.
25463 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25464
254652012-04-26 David S. Miller <davem@davemloft.net>
25466
25467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25468 long-double compat symbols.
25469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25482
254832012-04-25 David S. Miller <davem@davemloft.net>
25484
25485 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25486 HWCAP_* values only after the memory barriers have been defined.
25487 (atomic_full_barrier): Define.
25488 (atomic_read_barrier): Define.
25489 (atomic_write_barrier): Define.
25490
254912012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25492
25493 * shlib-versions: Add libgcc_s version information.
25494 * sysdeps/generic/libgcc_s.h: Remove.
25495 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25496 libgcc_s.h.
25497 * sysdeps/gnu/unwind-resume.c: Likewise.
25498 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25499
255002012-04-25 David S. Miller <davem@davemloft.net>
25501
25502 * sysdeps/unix/sparc/brk.S: Delete.
25503 * sysdeps/unix/sparc/dl-brk.S: Delete.
25504 * sysdeps/unix/sparc/pipe.S: Delete.
25505 * sysdeps/unix/sparc/sysdep.S: Delete.
25506 * sysdeps/unix/sparc/sysdep.h: Delete.
25507 * sysdeps/unix/sparc/vfork.S: Delete.
25508 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25509 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25510 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25511 ret_ERRVAL, r0, r1, MOVE): Define.
25512 (JUMPTARGET): Remove.
25513 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25514 sysdeps/unix/sparc/sysdep.h
25515 (ENTRY, END): Remove.
25516 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25517
255182012-04-25 Joseph Myers <joseph@codesourcery.com>
25519
25520 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25521 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25522 -DIS_IN_build.
25523
25524 * timezone/README: Update upstream location and email address for
25525 tzcode and tzdata.
25526 * timezone/zdump.c: Update from tzcode 2012b.
25527 * timezone/zic.c: Likewise.
25528
25529 * configure.in (libc_cv_as_needed): Remove test.
25530 * configure: Regenerated.
25531 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25532 conditional definition.
25533 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25534 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25535 * config.make.in (have-as-needed): Remove variable.
25536
255372012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25538 Paul Pluzhnikov <ppluzhnikov@google.com>
25539
25540 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25541 strings correctly.
25542
255432012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25544
25545 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25546 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25547 * sysdeps/sh/strlen.S: Likewise.
25548
255492012-04-24 Joseph Myers <joseph@codesourcery.com>
25550
25551 * sysdeps/unix/fork.S: Remove file.
25552 * sysdeps/unix/i386/fork.S: Likewise.
25553 * sysdeps/unix/sparc/fork.S: Likewise.
25554
25555 * sysdeps/unix/system.c: Remove file.
25556 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25557
25558 * sysdeps/unix/getegid.S: Remove file.
25559 * sysdeps/unix/geteuid.S: Likewise.
25560
255612012-04-24 Roland McGrath <roland@hack.frob.com>
25562
25563 * scripts/check-localplt.awk: New file.
25564 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25565 of diff.
25566 * scripts/data/localplt-generic.data: Add a comment.
25567
25568 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25569 NODE when __dir_mkfile failed.
25570 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25571 Reported by Ludovic Courtès <ludo@gnu.org>.
25572
255732012-04-24 Andreas Jaeger <aj@suse.de>
25574
25575 * Makerules (common-clean): Also remove gen-as-const-headers
25576 files.
25577
255782012-04-24 Joseph Myers <joseph@codesourcery.com>
25579
25580 * Makerules (native-compile): Do not change working directory for
25581 build. Use $(OUTPUT_OPTION) in command.
25582 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25583
255842012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25585
25586 [BZ #13886]
25587 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25588 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25589 * math/libm-test.inc (floor_test): Add more tests.
25590 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25591
255922012-04-24 Joseph Myers <joseph@codesourcery.com>
25593
25594 * sysdeps/unix/getdents.c: Remove file.
25595 * sysdeps/unix/sysv/getdents.c: Likewise.
25596 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25597
25598 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25599 sysdeps/unix/mman/syscalls.list.
25600 (mmap): Likewise.
25601 (mprotect): Likewise.
25602 (msync): Likewise.
25603 (munmap): Likewise.
25604 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25605 * sysdeps/unix/mman/syscalls.list: Remove.
25606 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25607
25608 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25609 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25610 * configure: Regenerated.
25611 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25612 $(libgcc_s_suffix).
25613 * config.make.in (libgcc_s_suffix): Remove variable.
25614
256152012-04-23 Joseph Myers <joseph@codesourcery.com>
25616
25617 * sysdeps/unix/sysv/gethostname.c: Move to ...
25618 * sysdeps/posix/gethostname.c: ... here.
25619
25620 * sysdeps/unix/execve.S: Remove file.
25621
25622 * sysdeps/unix/_exit.S: Remove file.
25623
256242012-04-23 Andreas Jaeger <aj@suse.de>
25625
25626 [BZ #13739]
25627 * manual/Makefile: Remove make dist support, there's no
25628 need for a stand-alone documentation tar ball.
25629 (TEXI2DVI): Define always, it's not in Makeconfig.
25630 (dist): Removed.
25631 (tar-it): Removed.
25632 (edition): Removed.
25633 (glibc-doc-$(edition).tar): Removed
25634 (%.Z): Removed.
25635 (%.gz): Removed.
25636 (%.uu): Removed.
25637 (ETAGS): Remove, it's in Makeconfig.
25638 (move-if-change): Remove, it's in Makeconfig.
25639
256402012-04-23 Paul Eggert <eggert@cs.ucla.edu>
25641
25642 [BZ #13970]
25643 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25644 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25645 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25646 (strtod_l, strtof_l, strtold_l): Remove __wur.
25647 It is not necessarily an error to ignore strtol's return value.
25648 One can reliably look at the stored endptr to decide whether
25649 the number had valid syntax.
25650
256512012-04-21 Andreas Jaeger <aj@suse.de>
25652
25653 [BZ #13739]
25654 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25655
256562012-04-21 Joseph Myers <joseph@codesourcery.com>
25657
25658 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25659 * sysdeps/unix/sysv/Versions: Remove file.
25660
256612012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25662
25663 [BZ #13927]
25664 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25665
256662012-04-21 Nick Alcock <nick.alcock@oracle.com>
25667
25668 [BZ #7064]
25669 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25670 version from __vm86.
25671
256722012-04-20 Joseph Myers <joseph@codesourcery.com>
25673
25674 * sysdeps/unix/common/lxstat.c: Remove file.
25675 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25676
25677 * sysdeps/unix/sysv/Makefile: Remove file.
25678
25679 * sysdeps/unix/sysv/direct.h: Remove file.
25680
25681 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25682 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25683 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25684 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25685 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25686 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25687 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25688
25689 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25690
25691 * sysdeps/unix/xmknod.c: Remove file.
25692 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25693
25694 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25695
25696 * sysdeps/unix/sysv/i386/time.S: Remove file.
25697
25698 * sysdeps/unix/fxstat.c: Remove file.
25699 * sysdeps/unix/xstat.c: Likewise.
25700 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25701
25702 * sysdeps/unix/sysv/sigaction.c: Remove file.
25703
25704 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25705 (sysdep_headers): Remove variable.
25706 [termio.h not in sysdep_headers] (generated): Likewise.
25707 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25708 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25709 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25710 * sysdeps/unix/sysv/tcflow.c: Likewise.
25711 * sysdeps/unix/sysv/tcflush.c: Likewise.
25712 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25713 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25714 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25715 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25716 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25717
25718 * sysdeps/unix/siglist.c: Remove file.
25719
25720 * sysdeps/unix/getppid.S: Remove file.
25721
25722 * sysdeps/unix/mkdir.c: Remove file.
25723 * sysdeps/unix/rmdir.c: Likewise.
25724
257252012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25726
25727 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25728 ERR_MAX value.
25729 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25730 errlist-compat value.
25731
257322012-04-18 David S. Miller <davem@davemloft.net>
25733
25734 * sysdeps/generic/memcopy.h (reg_char): Delete.
25735 * debug/strcat_chk.c: Use char, not reg_char.
25736 * debug/strcpy_chk.c: Likewise.
25737 * debug/strncat_chk.c: Likewise.
25738 * debug/strncpy_chk.c: Likewise.
25739 * string/memchr.c: Likewise.
25740 * string/memrchr.c: Likewise.
25741 * string/rawmemchr.c: Likewise.
25742 * string/strcat.c: Likewise.
25743 * string/strchr.c: Likewise.
25744 * string/strchrnul.c: Likewise.
25745 * string/strcmp.c: Likewise.
25746 * string/strcpy.c: Likewise.
25747 * string/strncat.c: Likewise.
25748 * string/strncmp.c: Likewise.
25749 * string/strncpy.c: Likewise.
25750
257512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25752
25753 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25754 __builtin_memcopy is called when src and dest ranges are known to not
25755 overlap.
25756
257572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25758
25759 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25760 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25761 fwd_align_merge macro call.
25762 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25763 bwd_align_merge macro call.
25764 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25765
257662012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25767
25768 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25769 bwd_align_merge macros.
25770 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25771 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25772 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25773
257742012-04-18 David S. Miller <davem@davemloft.net>
25775
25776 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25777
257782012-04-18 Andreas Jaeger <aj@suse.de>
25779
25780 [BZ# 6794]
25781 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25782 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25783 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25784
25785 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25786 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25787 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25788
25789 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25790 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25791 Adjust for changed ldbl-128 files.
25792
25793 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25794 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25795 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25796
257972012-04-17 David S. Miller <davem@davemloft.net>
25798
25799 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25800
258012012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25802
25803 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25804 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25805 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25806 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25807 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25808 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25809
258102012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25811
25812 [BZ #6794]
25813 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25814 * math/libm-test.inc: Add ilogb errno and exception tests.
25815 * math/w_ilogb.c: New file: ilogb wrapper.
25816 * math/w_ilogbf.c: New file: ilogbf wrapper.
25817 * math/w_ilogbl.c: New file: ilogbl wrapper.
25818 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25819 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25820 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25821 exception being thrown with 0.0 as argument.
25822 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25823 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25824 exception being thrown with 0.0 as argument.
25825 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25826 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25827 exception being thrown with 0.0 as argument.
25828 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25829 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25830 exception being thrown with 0.0 as argument.
25831 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25832 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
25833 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
25834 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25835 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25836 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25837 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25838 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25839 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25840
258412012-04-17 Petr Baudis <pasky@ucw.cz>
25842
25843 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25844 with altivec.
25845
258462012-04-16 Marek Polacek <polacek@redhat.com>
25847
25848 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25849
258502012-04-16 Marek Polacek <polacek@redhat.com>
25851
25852 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25853 operands of fdivp instruction.
25854
258552012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25856
25857 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25858 * elf/tst-auditmod3b.c: Likewise.
25859 * elf/tst-auditmod4b.c: Likewise.
25860 * elf/tst-auditmod5b.c: Likewise.
25861 * elf/tst-auditmod6b.c: Likewise.
25862 * elf/tst-auditmod6c.c: Likewise.
25863 * elf/tst-auditmod7b.c: Likewise.
25864 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25865 * sysdeps/x86_64/preconfigure.in: Likewise.
25866 * sysdeps/x86_64/preconfigure: Regenerated.
25867
258682012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25869
25870 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25871 __ILP32__.
25872
258732012-04-13 Antoine Balestrat <merkil33@gmail.com>
25874
25875 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25876 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25877
258782012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25879
25880 [BZ #13973]
25881 * locale/iso-639.def: Fix gl language name. Spotted by
25882 Yaron Shahrabani.
25883
258842012-04-12 Roland McGrath <roland@hack.frob.com>
25885
25886 [BZ #2074]
25887 * libio/libio.h (__io_write_fn): Update comment.
25888
258892012-04-12 Petr Baudis <pasky@ucw.cz>
25890
25891 [BZ #2074]
25892 * stdio.texi (Hook Functions): The user provided writer function
25893 is not allowed to return -1.
25894
258952012-04-11 David S. Miller <davem@davemloft.net>
25896
25897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25898
258992012-04-11 Mike Frysinger <vapier@gentoo.org>
25900
25901 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25902 Add a leading slash to rtkaio.
25903
259042012-04-11 Jim Meyering <meyering@redhat.com>
25905
25906 [BZ #11959]
25907 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25908 It is not necessarily an error to ignore fwrite's return
25909 value. One can reliably use ferror to test for errors after
25910 the fact.
25911
259122012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25913
25914 * bits/types.h (__snseconds_t): New type.
25915 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25916
25917 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25918 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25919 (__SNSECONDS_T_TYPE): Likewise.
25920 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25921 (__SNSECONDS_T_TYPE): Likewise.
25922 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25923 (__SNSECONDS_T_TYPE): Likewise.
25924
259252012-04-10 Andreas Jaeger <aj@suse.de>
25926
25927 [BZ #2636]
25928 * manual/time.texi (Processor Time): Return type of times is
25929 elapsed real time since an arbitrary point in the past.
25930 (CPU Time): Move CLK_TCK from here...
25931 (Processor Time): ...to here. Correct description.
25932 * manual/conf.texi (Constants for Sysconf): Correct description of
25933 _SC_CLK_TCK.
25934
259352012-04-10 David S. Miller <davem@davemloft.net>
25936
25937 [BZ #13967]
25938 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25939 where the is a gap between DT_REL(A) and DT_JMPREL.
25940
259412012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25942
25943 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25944 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25945 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25946
259472012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25948
25949 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25950 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25951 (dl_main): Handle --inhibit-cache.
25952 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25953 _dl_inhibit_cache.
25954 * elf/dl-load.c (_dl_map_object): Use it.
25955 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25956
259572012-04-09 Joseph Myers <joseph@codesourcery.com>
25958
25959 [BZ #13872]
25960 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25961 (__ieee754_powl): Saturate large exponents rather than testing for
25962 overflow of y*log2(x).
25963 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25964 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25965 exceptions.
25966
25967 [BZ #11521]
25968 * math/s_ctan.c: Include <float.h>.
25969 (__ctan): Avoid internal overflow or cancellation in calculating
25970 denominator.
25971 * math/s_ctanf.c: Likewise.
25972 * math/s_ctanl.c: Likewise.
25973 * math/s_ctanh.c: Likewise.
25974 * math/s_ctanhf.c: Likewise.
25975 * math/s_ctanhl.c: Likewise.
25976 * math/libm-test.inc (ctan_test): Add more tests.
25977 (ctanh_test): Likewise.
25978 * sysdeps/i386/fpu/libm-test-ulps: Update.
25979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25980
259812012-04-09 Andreas Jaeger <aj@suse.de>
25982
25983 [BZ #6894]
25984 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25985 is an optional BSD extension.
25986
25987 [BZ #10254]
25988 * manual/stdio.texi (Opening Streams): Document additional fopen
25989 parameters.
25990
259912012-04-09 Roland McGrath <roland@hack.frob.com>
25992
25993 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25994 %eax without telling the compiler.
25995
259962012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25997
25998 [BZ # 13963]
25999 * manual/install.texi: Use sourceware.org.
26000
260012012-04-09 Joseph Myers <joseph@codesourcery.com>
26002
26003 [BZ #13873]
26004 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26005 (__ieee754_pow): Generate overflow and underflow using huge*huge
26006 and tiny*tiny rather than just returning constant infinity or zero
26007 for large exponents.
26008 * math/libm-test.inc (pow_test): Require overflow exceptions for
26009 applicable cases of large exponents.
26010
26011 [BZ #706]
26012 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26013 (__ieee754_pow): Use iterative multiplication algorithm only for
26014 integer exponents with absolute value below 1024. Check for odd
26015 integer exponents when using algorithm for real exponents.
26016 * math/libm-test.inc (pow_test): Add more tests.
26017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26018
260192012-04-08 Joseph Myers <joseph@codesourcery.com>
26020
26021 [BZ #13705]
26022 * math/libm-test.inc (exp_test): Do not allow overflow exception
26023 on underflow test.
26024
260252012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26026
26027 [BZ #13705]
26028 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26029 instead of __kernel_standard_f.
26030
260312012-04-08 Mike Frysinger <vapier@gentoo.org>
26032
26033 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26034 * sysdeps/x86_64/memset_chk.S: Likewise.
26035
260362012-04-08 Andreas Jaeger <aj@suse.de>
26037
26038 [BZ #10153]
26039 * manual/startup.texi (Environment Access): Describe return value
26040 for putenv and setenv.
26041
26042 [BZ #6895]
26043 * manual/filesys.texi (Directory Entries): Add description for
26044 DT_LNK.
26045
26046 [BZ #6890]
26047 * manual/filesys.texi (Directory Entries): Clarify that it's file
26048 system not operating system in the description of DT_UNKNOWN.
26049
26050 [BZ #6578]
26051 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26052
260532012-04-08 Stephen Compall <s11@member.fsf.org>
26054
26055 [BZ #6649]
26056 * manual/llio.texi (Opening and Closing Files): Add cross
26057 reference to explain mode argument.
26058
260592012-04-07 Mike Frysinger <vapier@gentoo.org>
26060
26061 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26062 * sysdeps/x86_64/memset_chk.S: Likewise.
26063
260642012-04-07 David S. Miller <davem@davemloft.net>
26065
26066 * elf/elf.h (R_SPARC_WDISP10): Define.
26067 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26068 R_SPARC_SIZE32.
26069 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26070 R_SPARC_SIZE64 and R_SPARC_H34.
26071
260722012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26073
26074 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26075 conditions and remove no longer applicable assertion.
26076
260772012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26078
26079 * bits/byteswap.h: Include <features.h>.
26080 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26081 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26082
260832012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26084
26085 * bits/byteswap.h (__bswap_16): Removed.
26086 Include <bits/byteswap-16.h> to get __bswap_16.
26087 * sysdeps/i386/bits/byteswap.h: Likewise.
26088 * sysdeps/s390/bits/byteswap.h: Likewise.
26089 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26090 * bits/byteswap-16.h: New file.
26091 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26092 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26093 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26094 * string/Makefile (headers): Add bits/byteswap-16.h.
26095
260962012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26097
26098 [BZ #13895]
26099 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26100 extra indirection.
26101 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26102 * nss/tst-nss-static.c: New.
26103
261042012-04-06 Robert Millan <rmh@gnu.org>
26105
26106 [BZ #6486]
26107 * manual/llio.texi (File Position Primitive): lseek
26108 refers to WHENCE when it really means OFFSET.
26109
261102012-04-06 Andreas Jaeger <aj@suse.de>
26111
26112 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26113 strncmp declarations.
26114
26115 * abilist/libc.abilist: Add __poll and __ppoll.
26116
261172012-04-05 David S. Miller <davem@davemloft.net>
26118
26119 * scripts/check-local-headers.sh: Accept a host triplet in the
26120 path matched by the exclude regexp.
26121
26122 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26123 definition.
26124 * sysdeps/powerpc/powerpc32/dl-machine.h
26125 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26126 * sysdeps/s390/s390-32/dl-machine.h
26127 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26128 * sysdeps/sparc/sparc32/dl-machine.h
26129 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26130 * sysdeps/sparc/sparc64/dl-machine.h
26131 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26132
26133 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26134 lazy binding.
26135 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26136 undefined symbol errors.
26137
26138 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26139 DT_NEEDED entries.
26140
261412012-04-05 Michael Matz <matz@suse.de>
26142
26143 [BZ #13592]
26144 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26145
261462012-04-05 Andreas Jaeger <aj@suse.de>
26147
26148 [BZ #13908]
26149 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26150 comment.
26151
261522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26153
26154 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26155 which ROUND is no valid rounding mode.
26156
261572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26158
26159 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26160 read again.
26161 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26162
261632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26164
26165 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26166 an exception using FPU order intentionally.
26167
261682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26169
26170 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26171 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26172 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26173 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26174
261752012-04-05 Simon Josefsson <simon@josefsson.org>
26176
26177 [BZ #12340]
26178 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26179 EINVAL when BUFLEN is too smal.
26180
261812012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26182
26183 [BZ #13553]
26184 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26185 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26186
261872012-04-03 Andreas Jaeger <aj@suse.de>
26188
26189 [BZ #13938]
26190 * manual/setjmp.texi (System V contexts): Fix sentence.
26191
26192 [BZ #13926]
26193 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26194 New macro for this case.
26195 [!__GNUC__] (__bswap_64): New inline function for this case.
26196 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26197 * bits/byteswap.h: Likewise.
26198 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26199 ull, guard with __GLIBC_HAVE_LONG_LONG.
26200
26201 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26202 __GLIBC_HAVE_LONG_LONG.
26203
26204 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26205 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26206
262072012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26208
26209 [BZ #13691]
26210 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26211 inptr and inend, rather than using last_ch.
26212
262132012-04-02 David S. Miller <davem@davemloft.net>
26214
26215 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26216 * stdio-common/printf-parse.h (read_int): Change return type to
26217 'int', return -1 on INT_MAX overflow.
26218 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26219 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26220 overflows INT_MAX. Check for overflow of in-format-string precision
26221 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26222 SIZE_MAX not INT_MAX for integer overflow test.
26223 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26224 skip the construct in the format string but do not record anything.
26225 * stdio-common/bug22.c: Adjust to test both width/prevision
26226 INT_MAX overflow as well as total length INT_MAX overflow. Check
26227 explicitly for proper errno values.
26228
262292012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26230
26231 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26232 CHAR_MAX.
26233 * string/test-strcmp.c [! WIDE]: Likewise.
26234 * time/tst-mktime2.c: Likewise for INT_MAX.
26235 * string/test-string.h: #include <sys/param.h> for MIN.
26236
26237 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26238 * sysdeps/i386/init-first.c (init): Likewise.
26239 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26240 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26241 * sysdeps/sh/init-first.c (init): Likewise.
26242
262432012-04-01 Ulrich Drepper <drepper@gmail.com>
26244
26245 * po/ru.po: Update from translation team.
26246 * po/vi.po: Likewise.
26247
262482012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26249
26250 * resolv/nss_dns/dns-host.c: Merge copyright years.
26251
262522012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26253
26254 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26255 Optimize memcpy with prefetch if
26256 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26257 src, dst pointers have unequal 16 byte alignments.
26258
262592012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26260
26261 [BZ #13928]
26262 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26263 from a CNAME entry and return the minimum ttl for the query.
26264 (gaih_getanswer_slice): Likewise.
26265
262662012-03-30 Jeff Law <law@redhat.com>
26267
26268 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26269 due to long keys.
26270 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26271 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26272
26273 * resolv/nss_dns/dns-host.c: Update copyright year.
26274
262752012-03-30 Ulrich Drepper <drepper@gmail.com>
26276
26277 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26278 requests to save a system call. Fix check that all bytes are sent.
26279
26280 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26281 comments for sendmmsg.
26282
262832012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26284
26285 [BZ #13691]
26286 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26287 with only 1 character between 0x0041 and 0x01b0.
26288 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26289 * wcsmbs/tst-mbsnrtowcs.c: New file.
26290
262912012-03-29 David S. Miller <davem@davemloft.net>
26292
26293 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26294 small copies by hand.
26295
262962012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26297
26298 [BZ #13761]
26299 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26300 _nss_compat_initgroups_dyn): Fall back to malloc/free
26301 for large group memberships.
26302
263032012-03-28 David S. Miller <davem@davemloft.net>
26304
26305 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26306 that branches into memcpy.
26307 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26308 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26309 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26310 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26311 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26312 bits.
26313 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26314 implementation too.
26315 * sysdeps/sparc/mempcpy.S: New file.
26316
26317 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26318 the IFUNC routine in the libc case.
26319 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26320
26321 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26322 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26323 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26324 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26325 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26326 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26327 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26328 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26329
26330 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26331 loop to 256 bytes instead of 64 bytes and fix test signedness.
26332
26333 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26334 * sysdeps/sparc/sparc32/Makefile: rather than here...
26335 * sysdeps/sparc/sparc64/Makefile: and here.
26336
263372012-03-28 Ulrich Drepper <drepper@gmail.com>
26338
26339 * malloc/mallocbug.c: Avoid warnings about unused variables.
26340
263412012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26342
26343 [BZ #13760]
26344 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26345 in the right place. Discard and retry query if response is
26346 larger than input buffer size.
26347
263482012-03-28 Joseph Myers <joseph@codesourcery.com>
26349
26350 [BZ #369]
26351 [BZ #2678]
26352 [BZ #3866]
26353 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26354 x for large integer exponent.
26355 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26356 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26357 sign of result as needed afterwards.
26358 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26359 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26360 result for underflowing pow the same as for overflow.
26361 (__kernel_standard_l): Handle powl overflow and underflow here
26362 rather than calling __kernel_standard.
26363 * math/libm-test.inc (pow_test): Add more tests.
26364
26365 [BZ #3868]
26366 [BZ #13879]
26367 [BZ #13910]
26368 [BZ #13911]
26369 [BZ #13912]
26370 [BZ #13913]
26371 [BZ #13915]
26372 [BZ #13916]
26373 [BZ #13917]
26374 [BZ #13918]
26375 [BZ #13919]
26376 [BZ #13920]
26377 [BZ #13921]
26378 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26379 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26380 (__kernel_standard_l): New function.
26381 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26382 __kernel_standard.
26383 * math/w_acosl.c (__acosl): Likewise.
26384 * math/w_asinl.c (__asinl): Likewise.
26385 * math/w_atan2l.c (__atan2l): Likewise.
26386 * math/w_atanhl.c (__atanhl): Likewise.
26387 * math/w_coshl.c (__coshl): Likewise.
26388 * math/w_exp10l.c (__exp10l): Likewise.
26389 * math/w_exp2l.c (__exp2l): Likewise.
26390 * math/w_fmodl.c (__fmodl): Likewise.
26391 * math/w_hypotl.c (__hypotl): Likewise.
26392 * math/w_j0l.c (__j0l, __y0l): Likewise.
26393 * math/w_j1l.c (__j1l, __y1l): Likewise.
26394 * math/w_jnl.c (__jnl, __ynl): Likewise.
26395 * math/w_lgammal.c (__lgammal): Likewise.
26396 * math/w_log10l.c (__log10l): Likewise.
26397 * math/w_log2l.c (__log2l): Likewise.
26398 * math/w_logl.c (__logl): Likewise.
26399 * math/w_powl.c (__powl): Likewise.
26400 * math/w_remainderl.c (__remainderl): Likewise.
26401 * math/w_scalbl.c (sysv_scalbl): Likewise.
26402 * math/w_sinhl.c (__sinhl): Likewise.
26403 * math/w_sqrtl.c (__sqrtl): Likewise.
26404 * math/w_tgammal.c (__tgammal): Likewise.
26405 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26406 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26407 * math/libm-test.inc (acos_test): Add more tests.
26408 (acosh_test): Likewise.
26409 (asin_test): Likewise.
26410 (atanh_test): Likewise.
26411 (exp_test): Likewise.
26412 (exp10_test): Likewise.
26413 (exp2_test): Likewise.
26414 (expm1_test): Likewise.
26415 (lgamma_test): Likewise.
26416 (log_test): Likewise.
26417 (log10_test): Likewise.
26418 (log1p_test): Likewise.
26419 (log2_test): Likewise.
26420 (pow_test): Do not allow some spurious overflow exceptions.
26421 (sqrt_test): Add more tests.
26422 (tgamma_test): Likewise.
26423 (y0_test): Likewise.
26424 (y1_test): Likewise.
26425 (yn_test): Likewise.
26426
264272012-03-27 Anton Blanchard <anton@samba.org>
26428
26429 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26430 MAP_HUGETLB.
26431 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26432 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26433 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26434
264352012-03-27 David S. Miller <davem@davemloft.net>
26436
26437 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26438
26439 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26440 have-as-vis3 check.
26441
264422012-03-27 Andreas Jaeger <aj@suse.de>
26443
26444 * sysdeps/x86_64/elf/configure.in: Moved to ...
26445 * sysdeps/x86_64/configure.in: ... here.
26446 * sysdeps/x86_64/elf/start.S: Moved to ...
26447 * sysdeps/x86_64/start.S: ... here.
26448 * sysdeps/x86_64/elf/configure: Delete.
26449
26450 * sysdeps/x86_64/configure.in: Merge contents from
26451 sysdeps/i386/configure.in (without i686 check).
26452
26453 * sysdeps/i386/elf/Versions: Merge into ...
26454 * sysdeps/i386/Versions: ... this.
26455 * sysdeps/i386/elf/Versions: Delete file.
26456 * sysdeps/i386/elf/start.S: Moved to ...
26457 * sysdeps/i386/start.S: ...here.
26458 * sysdeps/i386/elf/configure.in: Merge into...
26459 * sysdeps/i386/configure.in: ...here.
26460 * sysdeps/i386/elf/configure.in: Delete file.
26461 * sysdeps/i386/elf/configure: Delete file.
26462
26463 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26464 * debug/backtracesyms.c: ... here.
26465 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26466 * debug/backtracesymsfd.c: ... here.
26467 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26468 * sysdeps/generic/ifunc-sel.h: ... here.
26469
26470 * sysdeps/unix/i386/start.c: Delete file.
26471 * sysdeps/unix/sparc/start.c: Delete file.
26472 * sysdeps/unix/start.c: Delete file.
26473
26474 * sysdeps/sh/elf/configure.in: Moved to ...
26475 * sysdeps/sh/configure.in: ... here.
26476 * sysdeps/sh/elf/start.S: Moved to ...
26477 * sysdeps/sh/start.S: ... here.
26478 * sysdeps/sh/elf/configure: Delete file.
26479
26480 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26481 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26482 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26483 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26484 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26485 * sysdeps/powerpc/powerpc64/start.S: here.
26486 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26487 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26488 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26489 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26490 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26491
26492 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26493 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26494 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26495 * sysdeps/powerpc/powerpc32/start.S: ... here.
26496 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26497 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26498 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26499
26500 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26501 * sysdeps/powerpc/ifunc-sel.h: ... here.
26502 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26503 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26504
26505 * sysdeps/sparc/elf/configure.in: Moved to ...
26506 * sysdeps/sparc/configure.in: ... here.
26507 * sysdeps/sparc/elf/configure: Delete file.
26508 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26509 * sysdeps/sparc/sparc32/start.S: ... here.
26510 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26511 * sysdeps/sparc/sparc64/start.S: ... here.
26512 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26513 * sysdeps/sparc/sparc32/Makefile: ... this.
26514 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26515 * sysdeps/sparc/sparc64/Makefile: ... this.
26516
26517 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26518 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26519 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26520 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26521 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26522 * sysdeps/s390/s390-32/setjmp.S: ... here.
26523 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26524 * sysdeps/s390/s390-32/configure.in: ... here.
26525 * sysdeps/s390/s390-32/elf/configure: Delete file.
26526 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26527 * sysdeps/s390/s390-32/start.S: ... here.
26528
26529 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26530 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26531 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26532 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26533 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26534 * sysdeps/s390/s390-64/setjmp.S: ... here.
26535 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26536 * sysdeps/s390/s390-64/configure.in: ... here
26537 * sysdeps/s390/s390-64/elf/configure: Delete file.
26538 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26539 * sysdeps/s390/s390-64/start.S: ... here.
26540 * sysdeps/s390/s390-64/elf/configure: Delete.
26541
26542 * configure.in: Remove support for elf directories in sysdeps.
26543
26544 * configure: Regenerated.
26545 * sysdeps/i386/configure: Regenerated.
26546 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26547 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26548 * sysdeps/s390/s390-32/configure: Regenerated.
26549 * sysdeps/s390/s390-64/configure: Regenerated.
26550 * sysdeps/sh/configure: Regenerated.
26551 * sysdeps/sparc/configure: Regenerated.
26552 * sysdeps/x86_64/configure: Regenerated.
26553
265542012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26555
26556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26557
26558 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26559 denormal result into account.
26560
265612012-03-25 Roland McGrath <roland@hack.frob.com>
26562
26563 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26564 Reported by Allan McRae <allan@archlinux.org>.
26565
265662012-03-23 Jeff Law <law@redhat.com>
26567
26568 * nss/getnssent.c (__nss_getent): Fix typo.
26569
265702012-03-23 David S. Miller <davem@davemloft.net>
26571
26572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26573
265742012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26575
26576 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26577 to pad to uint64_t for each field.
26578 (dl_tls_index): Replace unsigned long with uint64_t.
26579
265802012-03-23 Daniel Jacobowitz <dmj@google.com>
26581 Paul Pluzhnikov <ppluzhnikov@google.com>
26582
26583 [BZ #6528]
26584 * grp/Makefile (otherlibs): Don't set it.
26585 * inet/Makefile (otherlibs): Likewise.
26586 * login/Makefile (otherlibs): Likewise.
26587 * nscd/Makefile (otherlibs): Likewise.
26588 * posix/Makefile (otherlibs): Likewise.
26589 * pwd/Makefile (otherlibs): Likewise.
26590 * rt/Makefile (otherlibs): Likewise.
26591 * sunrpc/Makefile (otherlibs): Likewise.
26592 * nss/Makefile (otherlibs): Likewise.
26593 Add libnss_files to routines and static-only-routines.
26594 ($(objpfx)getent): Remove rule.
26595 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26596 static-only-routines.
26597
265982012-03-22 Joseph Myers <joseph@codesourcery.com>
26599
26600 [BZ #13892]
26601 * math/s_cexp.c: Include <float.h>.
26602 (__cexp): Handle exp result overflowing not necessarily
26603 overflowing both real and imaginary parts of result.
26604 * math/s_cexpf.c: Likewise.
26605 * math/s_cexpl.c: Likewise.
26606 * math/libm-test.inc (cexp_test): Add more tests.
26607 * sysdeps/i386/fpu/libm-test-ulps: Update.
26608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26609
266102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26611
26612 * include/link.h (ELFW): New macro.
26613 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26614 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26615
266162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26617
26618 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26619 with uint64_t.
26620
266212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26622
26623 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26624 declaration.
26625 (struct La_x32_retval): Likewise.
26626
266272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26628
26629 * sysdeps/x86_64/preconfigure.in: New file.
26630 * sysdeps/x86_64/preconfigure: New generated file.
26631
266322012-03-22 Joseph Myers <joseph@codesourcery.com>
26633
26634 [BZ #13824]
26635 * math/e_exp2l.c: Include <float.h>.
26636 (__ieee754_exp2l): Handle overflow and underflow cases
26637 separately. Only pass fractional part of argument to
26638 __ieee754_expl.
26639 * math/libm-test.inc (exp2_test): Add more tests.
26640
26641 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26642 negating x to take absolute value.
26643 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26644 Likewise.
26645 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26646 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26647 Likewise.
26648 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26649 computing low part if x was negated.
26650 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26651
266522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26653
26654 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26655 la_x32_gnu_pltexit.
26656 (pltexit): Cast int_retval to ptrdiff_t.
26657 * elf/tst-auditmod3b.c: Likewise.
26658 * elf/tst-auditmod4b.c: Likewise.
26659 * elf/tst-auditmod5b.c: Likewise.
26660 * elf/tst-auditmod6b.c: Likewise.
26661 * elf/tst-auditmod6c.c: Likewise.
26662 * elf/tst-auditmod7b.c: Likewise.
26663
26664 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26665 and x32_gnu_pltexit.
26666
26667 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26668 __ELF_NATIVE_CLASS.
26669 (La_x32_regs): New macro.
26670 (La_x32_retval): Likewise.
26671 (la_x32_gnu_pltenter): New function prototype.
26672 (la_x32_gnu_pltexit): Likewise.
26673
266742012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26675
26676 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26677 exponent.
26678
26679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26680
26681 * configure.in (libc_cv_cc_nofma): Check for option to disable
26682 generation of FMA instructions.
26683 * configure: Regenerate.
26684 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26685 * sysdeps/ieee754/dbl-64/Makefile: New file.
26686 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26687 Remove brandred-fma4.
26688 (CFLAGS-brandred-fma4.c): Remove.
26689 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26690 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26691 define.
26692 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26693 define.
26694
266952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26696
26697 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26698 LLONG_MAX != LONG_MAX.
26699 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26700 (_fitoa_word): Likewise.
26701 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26702 LLONG_MAX != LONG_MAX.
26703 * stdio-common/_itowa.h: Include <_itoa.h>.
26704 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26705 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26706 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26707 only if not defined.
26708 (_ITOA_WORD_TYPE): Likewise.
26709 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26710 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26711
267122012-03-21 David S. Miller <davem@davemloft.net>
26713
26714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26715
267162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26717
26718 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26719 of x86_64 when setting libc_cv_slibdir, libdir and
26720 libc_cv_localedir.
26721 * sysdeps/unix/sysv/linux/configure: Regenerated.
26722
267232012-03-21 Joseph Myers <joseph@codesourcery.com>
26724
26725 * manual/lang.texi (Old Varargs): Remove section.
26726 (How Variadic): Update menu.
26727 (va_start): Do not mention varargs.h.
26728
267292012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26730 Joseph Myers <joseph@codesourcery.com>
26731
26732 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26733 link test.
26734 * configure: Regenerated.
26735
267362012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26737
26738 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26739 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26740 conformtest.pl
26741
267422012-03-21 Joseph Myers <joseph@codesourcery.com>
26743
26744 * NOTES: Remove.
26745 * Makefile (files-for-dist): Remove NOTES.
26746 (NOTES): Remove rule.
26747 * README: Don't refer to NOTES.
26748 * manual/creature.texi: Don't include macros.texi.
26749 * manual/intro.texi (creature.texi): Remove comment referring to
26750 NOTES.
26751
26752 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26753 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26754 * configure: Regenerated.
26755 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26756 LIBC_TRY_CC_OPTION.
26757 (libc_cv_as_i686): Likewise.
26758 (libc_cv_cc_avx): Likewise.
26759 (libc_cv_cc_sse2avx): Likewise.
26760 (libc_cv_cc_fma4): Likewise.
26761 (libc_cv_cc_novzeroupper): Likewise.
26762 * sysdeps/i386/configure: Regenerated.
26763
26764 [BZ #13883]
26765 * sysdeps/i386/fpu/s_cexp.S: Remove.
26766 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26767 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26768 * math/libm-test.inc (cexp_test): Add more tests.
26769 * sysdeps/i386/fpu/libm-test-ulps: Update.
26770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26771
267722012-03-21 Allan McRae <allan@archlinux.org>
26773
26774 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26775
267762012-03-21 Joseph Myers <joseph@codesourcery.com>
26777
26778 [BZ #13871]
26779 * math/w_exp2.c: Do not include <float.h>.
26780 (o_threshold, u_threshold): Remove.
26781 (__exp2): Calculate result before checking finiteness and calling
26782 __kernel_standard.
26783 * math/w_exp2f.c: Likewise.
26784 * math/w_exp2l.c: Likewise.
26785 * math/libm-test.inc (exp2_test): Require overflow exception for
26786 1e6 input.
26787
26788 [BZ #3866]
26789 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26790 range of signed 64-bit integers before using fistpll. Remove
26791 checks for whether integers fit in mantissa bits.
26792 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26793 the range of signed 32-bit integers before using fistpl. Remove
26794 checks for whether integers fit in mantissa bits.
26795 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26796 (__ieee754_powl): Test for y outside the range of signed 64-bit
26797 integers before using fistpll. Reduce 64-bit values to 63-bit
26798 ones as needed.
26799 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26800 divide-by-zero is raised for zero to large negative powers.
26801 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26802 (__ieee754_powl): Test for y outside the range of signed 64-bit
26803 integers before using fistpll. Reduce 64-bit values to 63-bit
26804 ones as needed.
26805 * math/libm-test.inc (pow_test): Add more tests.
26806
268072012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26808
26809 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26810 <stdio-common/_itoa.h>.
26811 * debug/segfault.c: Likewise.
26812 * elf/dl-cache.c: Likewise.
26813 * elf/dl-minimal.c: Likewise.
26814 * elf/dl-misc.c: Likewise.
26815 * elf/dl-sysdep.c: Likewise.
26816 * elf/dl-version.c: Likewise.
26817 * elf/rtld.c: Likewise.
26818 * hurd/hurdsock.c: Likewise.
26819 * hurd/lookup-retry.c: Likewise.
26820 * malloc/malloc.c: Likewise.
26821 * malloc/mtrace.c: Likewise.
26822 * nscd/nscd_getgr_r.c: Likewise.
26823 * nscd/nscd_getpw_r.c: Likewise.
26824 * nscd/nscd_getserv_r.c: Likewise.
26825 * posix/getopt_init.c: Likewise.
26826 * posix/wordexp.c: Likewise.
26827 * stdio-common/_itoa.c: Likewise.
26828 * stdio-common/printf_fphex.c: Likewise.
26829 * stdio-common/vfprintf.c: Likewise.
26830 * string/_strerror.c: Likewise.
26831 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26832 * sysdeps/i386/i686/hp-timing.h: Likewise.
26833 * sysdeps/mach/_strerror.c: Likewise.
26834 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26835 * sysdeps/mach/hurd/sethostid.c: Likewise.
26836 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26837 * sysdeps/mach/xpg-strerror.c: Likewise.
26838 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26839 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26840 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26841 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26842 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26843 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26844 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26845 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26846 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26847 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26848 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26849 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26850 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26851 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26852 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26853 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26854 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26855 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26856 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26857 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26858 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26859
26860 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26861
26862 * stdio-common/_itoa.h: Moved to ...
26863 * sysdeps/generic/_itoa.h: Here.
26864
26865 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26866
26867 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26868 instead of "_itoa.h" and "_itowa.h".
26869 * stdio-common/vfprintf.: Likewise.
26870
268712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26872
26873 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26874 <bits/wordsize.h>.
26875 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26876 (__signbit): Likwise.
26877 (llrintf): Likwise.
26878 (llrint): Likwise.
26879
268802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26881
26882 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26883 __WORDSIZE != 64.
26884
268852012-03-20 Joseph Myers <joseph@codesourcery.com>
26886
26887 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26888 OVERFLOW_EXCEPTION_OK.
26889 * math/libm-test.inc ("Philosophy"): Update comment about
26890 exception testing.
26891 (OVERFLOW_EXCEPTION): Define.
26892 (OVERFLOW_EXCEPTION_OK): Likewise.
26893 (INVALID_EXCEPTION_OK): Renumber.
26894 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26895 (IGNORE_ZERO_INF_SIGN): Likewise.
26896 (test_exceptions): Handle FE_OVERFLOW.
26897 (exp10_test): Expect overflow exceptions.
26898 (exp2_test): Likewise.
26899 (expm1_test): Likewise.
26900 (nextafter_test): Likewise.
26901 (pow_test): Likewise.
26902 (scalbn_test): Likewise.
26903 (scalbln_test): Likewise.
26904
269052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26906
26907 * sysdeps/x86_64/bits/atomic.h
26908 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26909 64bit integer.
26910 (atomic_exchange_acq): Likewise.
26911 (__arch_exchange_and_add_body): Likewise.
26912 (__arch_add_body): Likewise.
26913 (atomic_add_negative): Likewise.
26914 (atomic_add_zero): Likewise.
26915
269162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26917
26918 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
26919 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26920
269212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26922
26923 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26924 Check __x86_64__ instead of __WORDSIZE.
26925
269262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26927
26928 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26929
269302012-03-19 David S. Miller <davem@davemloft.net>
26931
26932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26933
26934 * sysdeps/sparc/fpu/fenv_private.h: New file.
26935 * sysdeps/sparc/fpu/math_private.h: Use it.
26936 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26937 Remove.
26938 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26939 (libc_feholdexcept_setroundl): Remove.
26940 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26941 Remove.
26942 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26943 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26944
269452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26946
26947 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26948 int64_t instead of long int.
26949 (INSERT_WORDS64): Likwise.
26950
269512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26952
26953 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26954 _Unwind_GetCFA return to _Unwind_Ptr first.
26955
269562012-03-19 Joseph Myers <joseph@codesourcery.com>
26957
26958 [BZ #13629]
26959 * math/s_clog.c: Include <float.h>.
26960 (__clog): Scale large or subnormal inputs.
26961 * math/s_clogf.c: Likewise.
26962 * math/s_clogl.c: Likewise.
26963 * math/s_clog10.c: Include <float.h>.
26964 (M_LOG10_2): Define.
26965 (__clog10): Scale large or subnormal inputs.
26966 * math/s_clog10f.c: Likewise.
26967 * math/s_clog10l.c: Likewise.
26968 * math/libm-test.inc (clog_test): Add more tests.
26969 (clog10_test): Likewise.
26970 * sysdeps/i386/fpu/libm-test-ulps: Update.
26971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26972
26973 [BZ #11451]
26974 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26975 x and y.
26976 * math/libm-test.inc (atan2_test): Add another test.
26977
26978 * Makerules (common-objdir-compile): Remove.
26979 * sysdeps/unix/Makefile (config-generated): Do not add
26980 $(unix-generated) to variable.
26981 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26982 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26983 Remove rule.
26984 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26985 Likewise.
26986 [generic bits/local_lim.h] (before-compile): Do not append to
26987 variable.
26988 [generic bits/local_lim.h] (common-generated): Likewise.
26989 [generic sys/param.h] (before-compile): Do not append to variable.
26990 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26991 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26992 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26993 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26994 include.
26995 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26996 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26997 [generic sys/param.h] ($(addprefix
26998 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26999 [generic sys/param.h] (common-generated): Do not append to
27000 variable.
27001 [generic sys/param.h] (sysdep_headers): Likewise.
27002 [generic bits/errno.h] (before-compile): Do not append to
27003 variable.
27004 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27005 rule.
27006 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27007 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27008 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27009 [generic bits/errno.h] (common-generated): Do not append to
27010 variable.
27011 [generic bits/ioctls.h] (before-compile): Do not append to
27012 variable.
27013 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27014 rule.
27015 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27016 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27017 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27018 rule.
27019 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27020 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27021 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27022 [generic bits/ioctls.h] (common-generated): Do not append to
27023 variable.
27024 [generic sys/syscall.h] (syscall.h): Remove variable.
27025 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27026 rule.
27027 [generic sys/syscall.h] (before-compile): Do not append to
27028 variable.
27029 [generic sys/syscall.h] (common-generated): Likewise.
27030 * sysdeps/unix/errnos-tmpl.c: Remove file.
27031 * sysdeps/unix/errnos.awk: Likewise.
27032 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27033 * sysdeps/unix/ioctls.awk: Likewise.
27034 * sysdeps/unix/mk-local_lim.c: Likewise.
27035 * sysdeps/unix/snarf-ioctls: Likewise.
27036
270372012-03-19 Richard Henderson <rth@twiddle.net>
27038
27039 * sysdeps/i386/fpu/fenv_private.h: New file.
27040 * sysdeps/i386/fpu/math_private.h: Use it.
27041 (math_opt_barrier, math_force_eval): Remove.
27042 (libc_feholdexcept_setround_53bit): Remove.
27043 (libc_feupdateenv_53bit): Remove.
27044 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27045 (math_opt_barrier, math_force_eval): Remove.
27046 (libc_feholdexcept): Remove.
27047 (libc_feholdexcept_setround): Remove.
27048 (libc_fetestexcept, libc_fesetenv): Remove.
27049 (libc_feupdateenv_test): Remove.
27050 (libc_feupdateenv, libc_feholdsetround): Remove.
27051 (libc_feresetround): Remove.
27052
27053 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27054 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27055
27056 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27057 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27058 (libc_feupdateenv_testl): New.
27059 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27060 (libc_feupdateenv_testf): New.
27061 (libc_feupdateenv): Use libc_feupdateenv_test.
27062 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27063 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27064
27065 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27066 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27067 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27068 (libc_feresetround_noex): New.
27069 (libc_feresetround_noexf): New.
27070 (libc_feresetround_noexl): New.
27071 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27072 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27073 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27074 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27075 SET_RESTORE_ROUND.
27076 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27077 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27078 (__cos): Likewise.
27079 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27080 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27081 SET_RESTORE_ROUND_NOEX.
27082 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27083 SET_RESTORE_ROUND_NOEXF.
27084 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27085 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27086 (libc_feholdsetroundf): New.
27087 (libc_feresetround, libc_feresetroundf): New.
27088
27089 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27090 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27091 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27092
27093 * sysdeps/generic/math_private.h: Include <fenv.h>.
27094 (default_libc_feholdexcept): New.
27095 (default_libc_feholdexcept_setround): New.
27096 (default_libc_fesetenv, default_libc_feupdateenv): New.
27097 (libc_feholdexcept): Only define if undefined.
27098 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27099 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27100 (libc_feholdexcept_setroundl): Likewise.
27101 (libc_feholdexcept_setround_53bit): Likewise.
27102 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27103 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27104 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27105 (libc_feupdateenv_53bit): Likewise.
27106 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27107 (libc_feholdexcept): Convert from macro to inline function.
27108 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27109 (libc_fesetenv, libc_feupdateenv): Likewise.
27110
27111 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27112 not previously defined.
27113 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27114 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27115 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27116 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27117 * sysdeps/ieee754/flt-32/math_private.h: New file.
27118 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27119 math_private.h below SET_FLOAT_WORD.
27120 (__isnan, __isinf_ns, __finite): Remove.
27121 (__isnanf, __isinf_nsf, __finitef): Remove.
27122
271232012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27124
27125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27126
271272012-03-17 David S. Miller <davem@davemloft.net>
27128
27129 [BZ #6471]
27130 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27131 for 2.16.
27132
271332012-03-16 David S. Miller <davem@davemloft.net>
27134
27135 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27136 warnings.
27137
27138 [BZ #6471]
27139 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27140 properly.
27141 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27142 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27143 sysdep_routines when subdir is sysvipc.
27144 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27145 __getshmlba helper.
27146
27147 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27148
271492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27150
27151 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27152 [__LP64__].
27153
271542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27155
27156 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27157 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27158 (__lround): Renamed to ...
27159 (__llround): This. Replace long int with long long int.
27160 Define lround functions as aliases of llround functions.
27161 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27162
271632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27164
27165 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27166 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27167 adresses to uintptr_t. Replace "long int" and "unsigned long
27168 int" with "greg_t" on va_arg.
27169
271702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27171
27172 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27173 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27174
27175 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27176 Move e_machine check before EI_CLASS check. Handle x32
27177 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27178 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27179 SKIP_EM_IA_64 and include
27180 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27181
27182 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27183 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27184 (add_system_dir): New macro.
27185
27186 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27187 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27188
271892012-03-16 Joseph Myers <joseph@codesourcery.com>
27190
27191 [BZ #2551]
27192 [BZ #2552]
27193 [BZ #2553]
27194 [BZ #2554]
27195 [BZ #2562]
27196 [BZ #2563]
27197 [BZ #2565]
27198 [BZ #2566]
27199 [BZ #2576]
27200 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27201 (y0): Likewise.
27202 * math/w_j0f.c (j0f): Likewise.
27203 (y0f): Likewise.
27204 * math/w_j0l.c (__j0l): Likewise.
27205 (__y0l): Likewise.
27206 * math/w_j1.c (j1): Likewise.
27207 (y1): Likewise.
27208 * math/w_j1f.c (j1f): Likewise.
27209 (y1f): Likewise.
27210 * math/w_j1l.c (__j1l): Likewise.
27211 (__y1l): Likewise.
27212 * math/w_jn.c (jn): Likewise.
27213 (yn): Likewise.
27214 * math/w_jnf.c (jnf): Likewise.
27215 (ynf): Likewise.
27216 * math/w_jnl.c (__jnl): Likewise.
27217 (__ynl): Likewise.
27218 * math/libm-test.inc (j0_test): Add more tests.
27219 (j1_test): Likewise.
27220 (jn_test): Likewise. Add trailing semicolon to existing test.
27221 (y0_test): Likewise.
27222 (y1_test): Likewise.
27223 * sysdeps/i386/fpu/libm-test-ulps: Update.
27224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27225
27226 [BZ #13851]
27227 [BZ #13854]
27228 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27229 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27230 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27231 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27232 (__tanl): Set errno for infinite argument.
27233 * sysdeps/i386/fpu/mptan.c: Remove.
27234 * sysdeps/i386/fpu/s_tan.S: Likewise.
27235 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27236 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27237 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27238 * math/libm-test.inc (tan_test): Add more tests and enable more
27239 tests for double and long double.
27240 * sysdeps/i386/fpu/libm-test-ulps: Update.
27241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27242
272432012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27244
27245 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27246 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27247
272482012-03-16 Roland McGrath <roland@hack.frob.com>
27249
27250 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27251 * configure.in: Use it for both main tree and add-ons.
27252 * configure: Regenerated.
27253
272542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27255
27256 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27257
272582012-03-16 Joseph Myers <joseph@codesourcery.com>
27259
27260 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27261 in comment.
27262
27263 [BZ #13851]
27264 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27265 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27266 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27267 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27268 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27269 infinite argument.
27270 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27271 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27272 != 0 for prec == 2.
27273 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27274 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27275 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27276 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27277 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27278 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27279 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27280 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27281 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27282 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27283 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27284 * math/libm-test.inc (cos_test): Add more tests and enable more
27285 tests for long double.
27286 (sin_test): Likewise.
27287 (sincos_test): Likewise.
27288 * sysdeps/i386/fpu/libm-test-ulps: Update.
27289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27290
272912012-03-16 David S. Miller <davem@davemloft.net>
27292
27293 * sysdeps/sparc/fpu/math_private.h: New file.
27294
272952012-03-15 David S. Miller <davem@davemloft.net>
27296
27297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27298 file.
27299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27301 file.
27302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27307 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27308 sysdep routines.
27309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27310
27311 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27312 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27313
27314 * sysdeps/sparc/sparc-ifunc.h: New file.
27315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27316 sparc-ifunc.h
27317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27319 Likewise.
27320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27321 Likewise.
27322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27326 Likewise.
27327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27332 Likewise.
27333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27334 Likewise.
27335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27339 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27340 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27341 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27342 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27343 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27344 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27349 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27350 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27351 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27353 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27354 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27355 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27356 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27357 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27358 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27359
273602012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27361
27362 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27363 scaling.
27364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27365
273662012-03-15 Andreas Jaeger <aj@suse.de>
27367
27368 [BZ #13852]
27369 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27370 ieee754/flt-32 implementation for sin, cos and sincos.
27371 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27372 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27373 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27374 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27375 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27376 ieee754/flt-32 implementation for tan.
27377
27378 * math/libm-test.inc (cos_test): Enable some large input tests for
27379 float as well
27380 (sin_test): Likewise.
27381 (sincos_test): Likewise.
27382 (tan_test): Add tests for large input.
27383
27384 * sysdeps/i386/fpu/libm-test-ulps: Update.
27385
273862012-03-15 Andreas Jaeger <aj@suse.de>
27387
27388 [BZ #13658]
27389 * math/libm-test.inc (cos_test): Add more test cases.
27390 (sin_test): Likewise.
27391 (sincos_test): Likewise.
27392
273932012-03-15 Andreas Jaeger <aj@suse.de>
27394
27395 [BZ #13837]
27396 * math/libm-test.inc (cos_test): Add a test case for large input
27397 value.
27398 (sin_test): Likewise.
27399 (sincos_test): Likewise.
27400
274012012-03-15 Andreas Jaeger <aj@suse.de>,
27402 Joseph Myers <joseph@codesourcery.com>
27403
27404 [BZ #13658]
27405 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
27406 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27407 * sysdeps/i386/fpu/branred.c: Likewise.
27408 * sysdeps/i386/fpu/dosincos.c: Likewise.
27409 * sysdeps/i386/fpu/mpa.c: Likewise.
27410 * sysdeps/i386/fpu/s_cos.S: Likewise.
27411 * sysdeps/i386/fpu/s_sin.S: Likewise.
27412 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27413 * sysdeps/i386/fpu/sincos32.c: Likewise.
27414
27415 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27416 Define.
27417 (libc_feupdateenv_53bit): Define.
27418 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27419 Define.
27420 (libc_feupdateenv_53bit): Define.
27421
27422 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27423 53 bit (without extend i386 double precision).
27424
27425 * math/libm-test.inc (sincos_test): Add tests for large input.
27426 (sin): Likewise.
27427 (cos): Likewise.
27428
27429 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27430
274312012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27432
27433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27434
274352012-03-15 David S. Miller <davem@davemloft.net>
27436
27437 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27438 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27439 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27440 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
27452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27453 file.
27454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
27455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27456 file.
27457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27459 file.
27460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27462 file.
27463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27464 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27465 fmin/fmax sysdep routines.
27466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27467
274682012-03-14 David S. Miller <davem@davemloft.net>
27469
27470 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27471 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27472 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27473 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27474 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27475 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27476 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27477 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27478 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27479 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27480 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27481 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27482 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27483 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27484 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27485 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27486 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27488 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27489 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27490 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27491 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27492 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27493 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27494 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27495 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27496 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27497 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27498 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27499 routines.
27500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27501 file.
27502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27504 file.
27505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27507 file.
27508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27510 file.
27511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27513 file.
27514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27516 file.
27517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27518 file.
27519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27520 file.
27521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27522 file.
27523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27524 New file.
27525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27526 file.
27527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27528 file.
27529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27531 file.
27532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27534 file.
27535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27537 file.
27538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27540 VIS3 routines.
27541
27542 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27543 New file.
27544
27545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27546
27547 * sysdeps/sparc/configure.in: New file.
27548 * sysdeps/sparc/configure: Generate.
27549 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27550 * configure: Regenerate.
27551 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27552 * config.make.in (have-as-vis3): New.
27553 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27554 available use -Av9d instead of -Av9a.
27555 * sysdeps/sparc/sparc64/Makefile: Likewise.
27556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27558 New file.
27559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27560 file.
27561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27562 New file.
27563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27564 file.
27565 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27566 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27567 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27568 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27569 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27570
27571 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27572 fzeros/fnegs to load 0x80000000 into a float register instead of
27573 using the stack.
27574 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27575
275762012-03-14 Joseph Myers <joseph@codesourcery.com>
27577
27578 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27579 bits/syscall.h.
27580 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27581 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27582 ($(inst_includedir)/bits/syscall.h): Remove rule.
27583 ($(objpfx)bits/syscall.d): Include instead of
27584 $(objpfx)syscall-list.d.
27585 (generated): Change syscall-list.h and syscall-list.d to
27586 bits/syscall.h and bits/syscall.d.
27587
275882012-03-14 Roland McGrath <roland@hack.frob.com>
27589
27590 [BZ #13846]
27591 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27592
275932012-03-14 Joseph Myers <joseph@codesourcery.com>
27594
27595 [BZ #13841]
27596 * math/s_csqrt.c: Include <float.h>.
27597 (__csqrt): Scale large or subnormal inputs.
27598 * math/s_csqrtf.c: Likewise.
27599 * math/s_csqrtl.c: Likewise.
27600 * math/libm-test.inc (csqrt_test): Add more tests.
27601 * sysdeps/i386/fpu/libm-test-ulps: Update.
27602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27603
27604 [BZ #13840]
27605 * math/libm-test.inc (hypot_test): Add more tests.
27606
276072012-03-13 David S. Miller <davem@davemloft.net>
27608
27609 [BZ #13840]
27610 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27611 double-precision for the calculation instead of scaling.
27612
276132012-03-13 Joseph Myers <joseph@codesourcery.com>
27614
27615 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27616 manipulate bits before adding and subtracting TWO52[sx].
27617 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27618 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27619 Likewise.
27620 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27621
276222012-03-13 David S. Miller <davem@davemloft.net>
27623
27624 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27625 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27626 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27627 rtld-global-offsets.h
27628 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27629
27630 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27631 large parameters.
27632
27633 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27634
27635 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27636 'err' in the ifdef scope in which it is actually used.
27637
27638 * nss/nss_db/db-init.c: Include string.h
27639
276402012-03-12 David S. Miller <davem@davemloft.net>
27641
27642 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27643 masking out of the most significant byte of random value used.
27644 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27645 Fix coding style in previous change.
27646
27647 * sysdeps/unix/sysv/linux/kernel-features.h
27648 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27649 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27650 expression.
27651 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27652 later.
27653
276542012-03-11 David S. Miller <davem@davemloft.net>
27655
27656 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27657 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27658 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27659 for 'resultvar' otherwise things get truncated on 64-bit.
27660
27661 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27662 Fix masking out of the most significant byte of random value used.
27663
27664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27665
276662012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27667
27668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27669
276702012-03-09 David S. Miller <davem@davemloft.net>
27671
27672 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27673 variables with appropriate CPP guards.
27674 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27675 frame pointer, not the stack pointer. Correct layout comments. Fix test
27676 on resulting framesize and the management of the outregs buffer for pltexit.
27677 Preserve floating point return values across _dl_call_pltexit call.
27678 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27679 framesize and the management of the outregs buffer for pltexit.
27680 Preserve floating point return values across _dl_call_pltexit
27681 call.
27682 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27683 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27684 (print_exit): Fix format string for return register value.
27685
276862012-03-10 Joseph Myers <joseph@codesourcery.com>
27687
27688 * sunrpc/Makefile (others): Add rpcgen.
27689 ($(objpfx)rpcgen): Remove special build rule and dependency on
27690 libc.
27691 * sunrpc/rpcgen.c: New file.
27692
276932012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27694
27695 [BZ #13673]
27696 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27697 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27698 * sysdeps/i386/crti.S: Likewise.
27699 * sysdeps/i386/crtn.S: Likewise.
27700 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27701 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27702 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27703 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27704 * sysdeps/sh/crti.S: Likewise.
27705 * sysdeps/sh/crtn.S: Likewise.
27706 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27707
27708 [BZ #13673]
27709 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27710 with URL.
27711 * locale/programs/locfile-kw.gperf: Likewise.
27712 * locale/programs/charmap-kw.h: Regenerated.
27713 * locale/programs/locfile-kw.h: Likewise.
27714
27715 [BZ #13673]
27716 * intl/plural.y: Replace FSF snail mail address with URL.
27717 * intl/plural.c: Regenerated.
27718
277192012-03-09 Richard Henderson <rth@twiddle.net>
27720
27721 * include/math_private.h: Remove file.
27722 * math/math_private.h: Move file ...
27723 * sysdeps/generic/math_private.h: ... here.
27724
27725 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27726 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27727 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27728
27729 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27730 and <math_private.h>.
27731 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27732 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27733 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27734 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27735 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27736 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27737 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27738 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27739 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27740 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27741 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27742 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27743 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27744 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27745 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27746 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27747 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27748 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27749 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27750 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27751 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27752 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27753 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27754 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27755 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27756 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27757 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27758 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27759 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27760 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27761 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27762 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27763 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27764 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27765 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27766 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27767 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27768 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27769 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27770 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27771 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27772 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27773 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27774 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27775 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27776 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27777 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27778 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27779 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27780 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27781 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27782 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27783 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27784 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27785 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27786 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27787 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27788 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27789 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27790 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27791 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27792 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27793 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27794 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27795 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27796 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27797 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27798 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27799 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27800 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27801 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27802 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27803 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27804 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27805 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27806 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27807 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27808 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27809 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27810 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27811 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27812 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27813 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27814 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27815 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27816 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27817 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27818 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27819 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27820 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27821 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27822 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27823 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27824 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27825 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27826 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27827 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27828 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27829 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27830 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27831 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27832 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27833 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27834 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27835 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27836 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27837 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27838 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27839 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27840 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27841 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27842 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27843 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27844 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27845 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27846 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27847 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27848 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27849 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27850 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27851 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27852 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27853 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27854 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27855 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27856 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27857 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27858 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27859 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27860 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27861 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27862 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27863 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27864 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27865 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27866 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27867 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27868 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27869 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27870 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27871 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27872 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27873 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27874 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27875 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27876 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27877 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27878 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27879 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27880 * sysdeps/ieee754/k_standard.c: Likewise.
27881 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27882 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27883 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27884 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27885 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27886 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27887 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27888 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27889 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27890 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27891 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27892 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27893 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27894 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27895 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27896 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27897 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27898 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27899 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27900 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27901 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27902 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27903 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27904 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27905 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27906 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27907 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27908 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27909 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27910 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27911 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27912 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27913 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27914 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27915 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27916 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27917 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27918 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27919 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27920 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27921 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27922 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27923 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27924 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27925 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27926 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27927 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27928 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27929 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27930 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27931 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27932 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27933 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27934 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27935 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27936 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27937 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27938 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27939 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27940 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27941 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27942 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27943 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27944 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27945 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27946 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27947 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27948 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27949 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27950 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27951 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27952 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27953 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27954 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27955 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27956 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27957 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27958 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27959 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27960 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27961 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27962 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27963 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27964 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27965 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27966 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27967 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27968 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27969 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27970 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27971 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27972 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27973 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27974 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27975 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27976 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27977 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27978 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27979 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27980 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27981 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27982 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27983 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27984 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27985 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27986 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27987 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27988 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27989 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27990 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27991 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27992 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27993 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27994 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27995 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27996 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27997 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27998 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27999 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28000 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28001 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28002 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28003 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28004 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28005 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28006 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28007 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28008 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28009 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28010 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28011 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28012 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28013 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28014 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28015 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28016 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28017 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28018 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28019 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28020 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28021 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28022 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28023 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28024 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28025 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28026 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28027 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28028 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28029 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28030 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28031 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28032 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28033 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28034 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28035 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28036 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28037 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28038 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28039 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28040 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28041 * sysdeps/ieee754/s_lib_version.c: Likewise.
28042 * sysdeps/ieee754/s_matherr.c: Likewise.
28043 * sysdeps/ieee754/s_signgam.c: Likewise.
28044 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28045 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28046 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28047 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28048 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28049 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28050 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28051 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28052 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28053 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28054 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28055 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28056 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28057 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28058 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28059 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28060 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28061 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28062 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28063 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28064 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28065
280662012-03-09 Joseph Myers <joseph@codesourcery.com>
28067
28068 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28069 * sunrpc/rpc_main.c: Likewise.
28070 * sunrpc/rpc_svcout.c: Likewise.
28071
280722012-03-09 David S. Miller <davem@davemloft.net>
28073
28074 * include/math_private.h: New file.
28075
280762012-03-09 Joseph Myers <joseph@codesourcery.com>
28077
28078 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28079 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28080 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28081 from <bits/socket_type.h>.
28082 (enum __socket_type): Don't define here.
28083 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28084 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28085 bits/socket_type.h.
28086
28087 [BZ #13566]
28088 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28089 checking __USE_GNU.
28090
28091 * Makerules ($(inst_includedir)/%.h): New rule.
28092 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28093 (install-others): Remove variable setting.
28094 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28095
280962012-03-08 Richard Henderson <rth@twiddle.net>
28097
28098 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28099 from macro to inline function; merge with the
28100 !__LIBC_INTERNAL_MATH_INLINES version.
28101 (__ieee754_sqrtf): Likewise.
28102
28103 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28104 to inline function.
28105 (__rintf, __floor, __floorf): Likewise.
28106
28107 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28108 macro to inline function.
28109 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28110
28111 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28112 not <math/math_private.h>.
28113
281142012-03-08 David S. Miller <davem@davemloft.net>
28115
28116 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28117 copyright year.
28118 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28119
281202012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28121
28122 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28123 normalization.
28124 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28125 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28126
281272012-03-08 Ulrich Drepper <drepper@gmail.com>
28128
28129 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28130 be defined individually, they must be defined as a block. Define
28131 S for printing a string instead of hidint the different by using a
28132 macro for adding the 'l'.
28133 * stdio-common/tst-fphex-wide.c: Adjust.
28134
281352012-03-07 Marek Polacek <polacek@redhat.com>
28136
28137 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28138
281392012-03-08 Marek Polacek <polacek@redhat.com>
28140
28141 [BZ #13806]
28142 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28143 * stdio-common/tst-fphex.c: Define a few macros to make the
28144 test reusable. Use them.
28145 * stdio-common/tst-fphex-wide.c: New file.
28146
281472012-03-08 Joseph Myers <joseph@codesourcery.com>
28148
28149 [BZ #6911]
28150 * manual/macros.texi (gnusystems): New macro.
28151 (nongnusystems): Likewise.
28152 (gnulinuxhurdsystems): Likewise.
28153 (gnuhurdsystems): Likewise..
28154 (gnulinuxsystems): Likewise.
28155 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28156 variants of the GNU system, not "GNU system".
28157 * manual/conf.texi: Likewise.
28158 * manual/errno.texi: Likewise. Update example of errno macro
28159 expansion.
28160 * manual/filesys.texi: Likewise.
28161 (getumask): Document as specific to GNU/Hurd.
28162 * manual/install.texi: Likewise. Reword some references to
28163 GNU/Linux.
28164 * manual/intro.texi: Likewise.
28165 * manual/io.texi: Likewise.
28166 (File Name Portability): Detail which constraints are inapplicable
28167 to all GNU systems and which are only inapplicable to GNU/Hurd.
28168 * manual/job.texi: Likewise.
28169 * manual/llio.texi: Likewise.
28170 (O_NOCTTY): Document as present on GNU/Linux.
28171 * manual/maint.texi: Likewise.
28172 * manual/memory.texi: Likewise.
28173 * manual/pattern.texi: Likewise.
28174 * manual/pipe.texi: Likewise.
28175 * manual/process.texi: Likewise.
28176 * manual/resource.texi: Likewise.
28177 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28178 child on GNU/Hurd.
28179 * manual/setjmp.texi: Likewise.
28180 * manual/signal.texi: Likewise.
28181 * manual/startup.texi: Likewise.
28182 * manual/stdio.texi: Likewise.
28183 * manual/terminal.texi: Likewise.
28184 (ONLCR): Document as POSIX.
28185 (OXTABS): Document availability on GNU/Linux as XTABS.
28186 (ONOEOT): Document availability separately from other bits.
28187 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28188 * manual/time.texi: Likewise.
28189 * manual/users.texi: Likewise.
28190 * INSTALL: Regenerated.
28191 * sysdeps/gnu/errlist.c: Regenerated.
28192
28193 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28194 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28195 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28196 puts.
28197 * configure: Regenerated.
28198
281992012-03-07 Joseph Myers <joseph@codesourcery.com>
28200
28201 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28202 default includes instead of AC_HEADER_CHECK.
28203 * sysdeps/i386/configure: Regenerated.
28204
28205 [BZ #10716]
28206 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28207 * math/s_cacoshf.c (__cacoshf): Likewise.
28208 * math/s_cacoshl.c (__cacoshl): Likewise.
28209 * math/s_casinh.c (__casinh): Set signs of result from argument.
28210 * math/s_casinhf.c (__casinhf): Likewise.
28211 * math/s_casinhl.c (__casinhl): Likewise.
28212 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28213 (casinh_test): Add more tests.
28214 * sysdeps/i386/fpu/libm-test-ulps: Update.
28215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28216
282172012-03-07 Ulrich Drepper <drepper@gmail.com>
28218
28219 * po/zh_TW.po: Update from translation team.
28220
28221 * login/Makefile (distribute): Remove variable.
28222 * catgets/Makefile: Likewise.
28223 * mach/Makefile: Likewise.
28224 * malloc/Makefile: Likewise.
28225 * misc/Makefile: Likewise.
28226 * iconv/Makefile: Likewise.
28227 * nscd/Makefile: Likewise.
28228 * hurd/Makefile: Likewise.
28229 * manual/Makefile: Likewise.
28230 * locale/Makefile: Likewise.
28231 * intl/Makefile: Likewise.
28232 * conform/Makefile: Likewise.
28233 * nss/Makefile: Likewise.
28234 * time/Makefile: Likewise.
28235 * soft-fp/Makefile: Likewise.
28236 * dirent/Makefile: Likewise.
28237 * gmon/Makefile: Likewise.
28238 * po/Makefile: Likewise.
28239 * rt/Makefile: Likewise.
28240 * socket/Makefile: Likewise.
28241 * math/Makefile: Likewise.
28242 * signal/Makefile: Likewise.
28243 * debug/Makefile: Likewise.
28244 * elf/Makefile: Likewise.
28245 * timezone/Makefile: Likewise.
28246 * stdlib/Makefile: Likewise.
28247 * iconvdata/Makefile: Likewise.
28248 * sunrpc/Makefile: Likewise.
28249 * io/Makefile: Likewise.
28250 * argp/Makefile: Likewise.
28251 * inet/Makefile: Likewise.
28252 * hesiod/Makefile: Likewise.
28253 * grp/Makefile: Likewise.
28254 * csu/Makefile: Likewise.
28255 * wctype/Makefile: Likewise.
28256 * crypt/Makefile: Likewise.
28257 * libio/Makefile: Likewise.
28258 * string/Makefile: Likewise.
28259 * nis/Makefile: Likewise.
28260 * resolv/Makefile: Likewise.
28261 * stdio-common/Makefile: Likewise.
28262 * wcsmbs/Makefile: Likewise.
28263 * dlfcn/Makefile: Likewise.
28264 * posix/Makefile: Likewise.
28265
28266 [BZ #6959]
28267 * timezone/Makefile: Don't install timezone files, just the programs
28268 and scripts.
28269
282702012-03-06 Ulrich Drepper <drepper@gmail.com>
28271
28272 * nss/databases.def: Add missing gshadow entry.
28273
28274 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28275
282762012-03-06 Marek Polacek <polacek@redhat.com>
28277
28278 [BZ #13726]
28279 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28280 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28281 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28282 * stdio-common/tst-long-dbl-fphex.c: New file.
28283
282842012-03-06 David S. Miller <davem@davemloft.net>
28285
28286 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28287 (set_obp_int): New function.
28288 (get_obp_int): New function.
28289 (__get_clockfreq_via_dev_openprom): Likewise.
28290 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28291 Avoid unused variable warnings on 'val' and use builtin_expect.
28292 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28293 __builtin_expect.
28294 (INLINE_CLONE_SYSCALL): Likewise.
28295
282962012-03-05 David S. Miller <davem@davemloft.net>
28297
28298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28299
283002012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28301
28302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28303
28304 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28305 only for |x| >= 40.
28306 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28307
283082012-03-05 H.J. Lu <hongjiu.lu@intel.com>
28309
28310 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28311 Replace gettimeofday with __vdso_gettimeofday.
28312
28313 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28314 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28315 __vdso_clock_gettime and __vdso_getcpu.
28316
28317 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28318 time with __vdso_time.
28319
283202012-03-05 Joseph Myers <joseph@codesourcery.com>
28321
28322 * manual/lang.texi (size_t): Note types to which size_t may be
28323 equivalent with the GNU C Library, but do not describe when
28324 differences between them are significant.
28325
283262012-03-05 Andreas Jaeger <aj@suse.de>
28327
28328 * sysdeps/i386/fpu/libm-test-ulps: Update.
28329
283302012-03-05 Joseph Myers <joseph@codesourcery.com>
28331
28332 [BZ #3976]
28333 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28334 (__ieee754_pow): Save and restore rounding mode and use
28335 round-to-nearest for main computations.
28336 * math/libm-test.inc (pow_test_tonearest): New function.
28337 (pow_test_towardzero): Likewise.
28338 (pow_test_downward): Likewise.
28339 (pow_test_upward): Likewise.
28340 (main): Call the new functions.
28341 * sysdeps/i386/fpu/libm-test-ulps: Update.
28342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28343
28344 [BZ #3976]
28345 * math/libm-test.inc (cosh_test_tonearest): New function.
28346 (cosh_test_towardzero): Likewise.
28347 (cosh_test_downward): Likewise.
28348 (cosh_test_upward): Likewise.
28349 (sinh_test_tonearest): Likewise.
28350 (sinh_test_towardzero): Likewise.
28351 (sinh_test_downward): Likewise.
28352 (sinh_test_upward): Likewise.
28353 (main): Call the new functions.
28354 * sysdeps/i386/fpu/libm-test-ulps: Update.
28355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28356
283572012-03-05 Tom de Vries <tom@codesourcery.com>
28358
28359 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28360 default stack guard is set in last bytes.
28361 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28362
283632012-03-05 Kees Cook <keescook@chromium.org>
28364
28365 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28366
28367 [BZ #13656]
28368 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28369 possibly allocate from heap instead of stack.
28370 * stdio-common/bug-vfprintf-nargs.c: New file.
28371 * stdio-common/Makefile (tests): Add nargs overflow test.
28372
283732012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28374
28375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28376
283772012-03-03 Marek Polacek <polacek@redhat.com>
28378
28379 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28380 * math/math_private.h: Likewise.
28381 * stdlib/tst-strtod.c: Likewise.
28382 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28383 * sysdeps/x86_64/bits/atomic.h: Likewise.
28384
283852012-03-02 David S. Miller <davem@davemloft.net>
28386
28387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28391 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28392 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28393 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28394 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28395
283962012-03-02 Roland McGrath <roland@hack.frob.com>
28397
28398 [BZ #13792]
28399 * manual/examples/README: New file, says the example source files
28400 can be used under GPL>=2.
28401 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28402 line containing just "*/".
28403 * manual/examples/add.c: Add copyright header (GPL>=2).
28404 * manual/examples/argp-ex1.c: Likewise.
28405 * manual/examples/argp-ex2.c: Likewise.
28406 * manual/examples/argp-ex3.c: Likewise.
28407 * manual/examples/argp-ex4.c: Likewise.
28408 * manual/examples/atexit.c: Likewise.
28409 * manual/examples/db.c: Likewise.
28410 * manual/examples/dir.c: Likewise.
28411 * manual/examples/dir2.c: Likewise.
28412 * manual/examples/execinfo.c: Likewise.
28413 * manual/examples/filecli.c: Likewise.
28414 * manual/examples/filesrv.c: Likewise.
28415 * manual/examples/fmtmsgexpl.c: Likewise.
28416 * manual/examples/genpass.c: Likewise.
28417 * manual/examples/inetcli.c: Likewise.
28418 * manual/examples/inetsrv.c: Likewise.
28419 * manual/examples/isockad.c: Likewise.
28420 * manual/examples/longopt.c: Likewise.
28421 * manual/examples/memopen.c: Likewise.
28422 * manual/examples/memstrm.c: Likewise.
28423 * manual/examples/mkfsock.c: Likewise.
28424 * manual/examples/mkisock.c: Likewise.
28425 * manual/examples/mygetpass.c: Likewise.
28426 * manual/examples/pipe.c: Likewise.
28427 * manual/examples/popen.c: Likewise.
28428 * manual/examples/rprintf.c: Likewise.
28429 * manual/examples/search.c: Likewise.
28430 * manual/examples/select.c: Likewise.
28431 * manual/examples/setjmp.c: Likewise.
28432 * manual/examples/sigh1.c: Likewise.
28433 * manual/examples/sigusr.c: Likewise.
28434 * manual/examples/stpcpy.c: Likewise.
28435 * manual/examples/strdupa.c: Likewise.
28436 * manual/examples/strftim.c: Likewise.
28437 * manual/examples/strncat.c: Likewise.
28438 * manual/examples/subopt.c: Likewise.
28439 * manual/examples/swapcontext.c: Likewise.
28440 * manual/examples/termios.c: Likewise.
28441 * manual/examples/testopt.c: Likewise.
28442 * manual/examples/testpass.c: Likewise.
28443 * manual/examples/timeval_subtract.c: Likewise.
28444
28445 [BZ #13792]
28446 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28447 function to ...
28448 * manual/timeval_subtract.c.texi: ... here, new file.
28449
284502012-03-02 David S. Miller <davem@davemloft.net>
28451
28452 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28453
284542012-03-02 Joseph Myers <joseph@codesourcery.com>
28455
28456 [BZ #3976]
28457 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28458 (__sin): Save and restore rounding mode and use round-to-nearest
28459 for all computations.
28460 (__cos): Save and restore rounding mode and use round-to-nearest
28461 for all computations.
28462 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28463 <fenv.h>.
28464 (tan): Save and restore rounding mode and use round-to-nearest for
28465 all computations.
28466 * math/libm-test.inc (cos_test_tonearest): New function.
28467 (cos_test_towardzero): Likewise.
28468 (cos_test_downward): Likewise.
28469 (cos_test_upward): Likewise.
28470 (sin_test_tonearest): Likewise.
28471 (sin_test_towardzero): Likewise.
28472 (sin_test_downward): Likewise.
28473 (sin_test_upward): Likewise.
28474 (tan_test_tonearest): Likewise.
28475 (tan_test_towardzero): Likewise.
28476 (tan_test_downward): Likewise.
28477 (tan_test_upward): Likewise.
28478 (main): Call the new functions.
28479 * sysdeps/i386/fpu/libm-test-ulps: Update.
28480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28481
28482 [BZ #10135]
28483 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28484 small n, then large n, before computing and testing k+n.
28485 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28486 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28487 Likewise.
28488 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28489 Likewise.
28490 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28491 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28492 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28493 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28494 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28495 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28496 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28497 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28498 * math/libm-test.inc (scalbn_test): Add more tests.
28499 (scalbln_test): Likewise.
28500
28501 * manual/filesys.texi (mode_t): Describe constraints on size and
28502 signedness, not exact equivalence to a particular type.
28503 (ino_t): Likewise.
28504 (ino64_t): Likewise.
28505 (dev_t): Likewise.
28506 (nlink_t): Likewise.
28507 (blkcnt_t): Likewise.
28508 (blkcnt64_t): Likewise.
28509 * manual/llio.texi (off_t): Likewise.
28510
28511 [BZ #3976]
28512 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28513 (__ieee754_exp): Save and restore rounding mode and use
28514 round-to-nearest for all computations.
28515 * math/libm-test.inc (exp_test_tonearest): New function.
28516 (exp_test_towardzero): Likewise.
28517 (exp_test_downward): Likewise.
28518 (exp_test_upward): Likewise.
28519 (main): Call the new functions.
28520 * sysdeps/i386/fpu/libm-test-ulps: Update.
28521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28522
285232012-03-01 Chris Demetriou <cgd@google.com>
28524
28525 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28526 have predictable order.
28527
285282012-03-01 David S. Miller <davem@davemloft.net>
28529
28530 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28531
28532 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28533 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28534 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28535 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28536
28537 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28538 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28539 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28541 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28542 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28543 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28544 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28545 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28546
28547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28548
28549 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28550 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28551 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28552
28553 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28554 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28555 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28556 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28557 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28558 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28559 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28560 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28561 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28562 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28563 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28564 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28565 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28566 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28567 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28568 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28569 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28570 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28571 * sysdeps/sparc/elf/configure: Regenerated.
28572
285732012-03-01 Joseph Myers <joseph@codesourcery.com>
28574
28575 * configure.in (AS, LD): Require binutils 2.20 or later.
28576 * configure: Regenerated.
28577 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28578 as required minimum version.
28579 * INSTALL: Regenerated.
28580
28581 [BZ #2541]
28582 [BZ #4108]
28583 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28584 before squaring exponent.
28585 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28586 bottom long double and 27 bits of top long double before squaring
28587 exponent.
28588 * math/libm-test.inc (erfc_test): Add more tests.
28589 * sysdeps/i386/fpu/libm-test-ulps: Update.
28590 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28592
285932012-03-01 Kai Tietz <ktietz@redhat.com>
28594
28595 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28596 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28597 containing bit-fields.
28598 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28599 * soft-fp/single.h (_FP_UNION_S): Likewise.
28600 * soft-fp/double.h (_FP_UNION_D): Likewise.
28601
286022012-02-29 Joseph Myers <joseph@codesourcery.com>
28603
28604 [BZ #13786]
28605 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28606 not include ../strcmp.S.
28607 [USE_AS_STRNCASECMP_L]: Likewise.
28608 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28609 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28610 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28611 (__strncasecmp_l_ia32): Define as alias to
28612 __strncasecmp_l_nonascii.
28613
28614 [BZ #5794]
28615 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28616 * sysdeps/i386/fpu/libm-test-ulps: Update.
28617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28618
28619 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28621
286222012-02-29 Jeff Law <law@redhat.com>
28623
28624 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28625 out of bounds read.
28626
286272012-02-29 Marek Polacek <polacek@redhat.com>
28628
28629 [BZ #13706]
28630 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28631 * elf/Makefile: Add rules to run tst-unused-dep.out.
28632
286332012-02-28 David S. Miller <davem@davemloft.net>
28634
28635 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28636 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28637 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28638 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28639 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28640 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28641
286422012-02-29 Joseph Myers <joseph@codesourcery.com>
28643
28644 * math/libm-test.inc (llround_test): Move one test from
28645 lround_test. Use TEST_f_L in moved test.
28646 (lround_test): Move misplaced test to llround_test. Add testcase
28647 from bug 2561.
28648
286492012-02-28 Ulrich Drepper <drepper@gmail.com>
28650
28651 * sysdeps/x86_64/fpu/e_expf.S: New file.
28652 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28653
286542012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28655
28656 [BZ #13637]
28657 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28658 of remain_len that may cause incomplete multi-byte character and
28659 false match.
28660 * posix/bug-regex33.c: New file.
28661 * posix/Makefile (tests): Add bug-regex33.
28662
286632012-02-28 Joseph Myers <joseph@codesourcery.com>
28664
28665 * manual/macros.texi: New file.
28666 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28667 * manual/libc.texinfo: Include macros.texi.
28668 * manual/creatute.texi: Likewise.
28669 * manual/install.texi: Likewise.
28670 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28671 @glibcadj{} in references to the GNU C Library.
28672 * manual/charset.texi: Likewise.
28673 * manual/conf.texi: Likewise.
28674 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28675 when not using those macros.
28676 * manual/creature.texi: Likewise.
28677 * manual/crypt.texi: Likewise.
28678 * manual/errno.texi: Likewise.
28679 * manual/filesys.texi: Likewise.
28680 * manual/header.texi: Likewise.
28681 * manual/install.texi: Likewise.
28682 * manual/intro.texi: Likewise.
28683 * manual/io.texi: Likewise.
28684 * manual/job.texi: Likewise.
28685 * manual/lang.texi: Likewise.
28686 * manual/libc.texiinfo: Likewise.
28687 * manual/llio.texi: Likewise.
28688 * manual/locale.texi: Likewise.
28689 * manual/maint.texi: Likewise.
28690 * manual/math.texi: Likewise.
28691 * manual/memory.texi: Likewise.
28692 * manual/message.texi: Likewise.
28693 * manual/nss.texi: Likewise.
28694 * manual/pattern.texi: Likewise.
28695 * manual/process.texi: Likewise.
28696 * manual/resource.texi: Likewise.
28697 * manual/search.texi: Likewise.
28698 * manual/setjmp.texi: Likewise.
28699 * manual/signal.texi: Likewise.
28700 * manual/socket.texi: Likewise.
28701 * manual/startup.texi: Likewise.
28702 * manual/stdio.texi: Likewise.
28703 * manual/string.texi: Likewise.
28704 * manual/sysinfo.texi: Likewise.
28705 * manual/syslog.texi: Likewise.
28706 * manual/terminal.texi: Likewise.
28707 * manual/time.texi: Likewise.
28708 * manual/users.texi: Likewise.
28709 * INSTALL: Regenerated.
28710 * NOTES: Regenerated.
28711 * sysdeps/gnu/errlist.c: Regenerated.
28712
287132012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28714
28715 * include/dirent.h: Include <dirstream.h> before
28716 <dirent/dirent.h>.
28717
287182012-02-28 David S. Miller <davem@davemloft.net>
28719
28720 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28721 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28722 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28723 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28724
287252012-02-27 David S. Miller <davem@davemloft.net>
28726
28727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28729 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28730 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28731
28732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28733 frame pointer instead of stack pointer relative arg slot.
28734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28735 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28736 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28737
287382012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28739
28740 [BZ #3992]
28741 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28742
287432012-02-27 David S. Miller <davem@davemloft.net>
28744
28745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28749 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28750 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28751 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28752 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28753
287542012-02-27 Joseph Myers <joseph@codesourcery.com>
28755
28756 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28757 later. Allow versions 5-9.
28758 * configure: Regenerated.
28759 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28760 required minimum version and 4.6 as recommended version. Do not
28761 mention bugs in GCC 2.7 and 2.8.
28762 * INSTALL: Regenerated.
28763
287642012-02-27 David S. Miller <davem@davemloft.net>
28765
28766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28770 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28771 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28772 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28773 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28774
28775 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28776 manipulate bits before adding and subtracting TWO112[sx].
28777 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28778
287792012-02-27 Roland McGrath <roland@hack.frob.com>
28780
28781 [BZ #13775]
28782 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28783 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28784 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28785 being in POSIX, because they are in 1003.1-2008.
28786
28787 * rt/tst-aio.c: Include <fcntl.h>.
28788 * rt/tst-aio7.c: Likewise.
28789 * rt/tst-aio64.c: Likewise.
28790
28791 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28792
287932012-02-27 Joseph Myers <joseph@codesourcery.com>
28794
28795 * manual/install.texi (--with-headers): Describe headers as
28796 interface headers, not private headers.
28797 (Specific advice for GNU/Linux systems): Describe use of headers
28798 from "make headers_install", not private headers from older
28799 kernels.
28800 * INSTALL: Regenerated.
28801 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28802 Change to 2.6.19.
28803 * sysdeps/unix/sysv/linux/configure: Regenerated.
28804
28805 * manual/llio.texi (fclean): Remove documentation.
28806
28807 * manual/Makefile (libc-texi-generated): New variable. Include
28808 version.texi.
28809 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28810 $(libc-texi-generated), not duplicated list of files.
28811 (version.texi, stamp-version): New rules.
28812 (realclean): Remove $(libc-texi-generated), not individual files
28813 from that list. Do not remove dir-add.texinfo.
28814 * manual/libc.texinfo: Comment out uses of edition numbers and
28815 references to printed manual. Remove last-updated dates.
28816 (EDITION): Comment out.
28817 (ISBN): Likewise.
28818 (VERSION, UPDATED): Remove.
28819 (version.texi): Include.
28820
288212012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28822
28823 * sysdeps/posix/spawni.c: Include <signal.h>.
28824 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28825 * sysdeps/pthread/aio_fsync.c: Likewise.
28826
288272012-02-26 Ulrich Drepper <drepper@gmail.com>
28828
28829 * conform/Makefile (tests): Run only when not cross-compiling and
28830 when fast-check is not defined.
28831
28832 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28833 * conform/data/limits.h-data: Fixes for POSIX2008.
28834 * conform/run-conformtest.sh: Run all tests.
28835 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28836 headers.
28837 * include/bits/dlfcn.h: Likewise.
28838 * include/langinfo.h: Likewise.
28839 * include/monetary.h: Likewise.
28840 * include/sys/poll.h: Likewise.
28841
28842 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28843 for __USE_GNU.
28844 * posix/spawn.h: Define __need_sigset_t.
28845 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28846 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28847 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28848 to get sigevent_t only.
28849 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28850 only for __USE_GNU.
28851 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28852 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28853 process_vm_writev only for __USE_GNU.
28854 * termios/termios.h: Declare tcgetsid also for POSIX2008.
28855
28856 * conform/Makefile: For now ignore errors from run-conformtest.
28857 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28858 POSIX to avoid namespace pollution. Don't prepend headers.
28859 * conform/data/aio.h-data: Fixes for POSIX testing.
28860 * conform/data/fcntl.h-data: Likewise.
28861 * conform/data/glob.h-data: Likewise.
28862 * conform/data/grp.h-data: Likewise.
28863 * conform/data/pthread.h-data: Likewise.
28864 * conform/data/pwd.h-data: Likewise.
28865 * conform/data/signal.h-data: Likewise.
28866 * conform/data/spawn.h-data: Likewise.
28867 * conform/data/stdio.h-data: Likewise.
28868 * conform/data/stdlib.h-data: Likewise.
28869 * conform/data/stropts.h-data: Likewise.
28870 * conform/data/sys/mman.h-data: Likewise.
28871 * conform/data/sys/stat.h-data: Likewise.
28872 * conform/data/sys/types.h-data: Likewise.
28873 * conform/data/sys/wait.h-data: Likewise.
28874 * conform/data/time.h-data: Likewise.
28875 * conform/data/unistd.h-data: Likewise.
28876 * conform/data/utime.h-data: Likewise.
28877
28878 * io/sys/stat.h: fchmod was always in POSIX.
28879 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28880 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28881 * rt/aio.h: Define __need_timespec before including <time.h>.
28882 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28883 struct. Add forward declaration of pthread_attr_t and use it in
28884 sigevent.
28885 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28886 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28887 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28888 always remove CLK_TCK definition.
28889
288902012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28891
28892 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28893
288942012-02-25 Ulrich Drepper <drepper@gmail.com>
28895
28896 * conform/run-conformtest.sh: New file.
28897 * conform/Makefile: Run run-conformtest for tests.
28898 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28899 support.
28900
28901 * conform/data/uchar.h-data: New file.
28902 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28903 * conform/data/arpa/inet.h-data: Likewise.
28904 * conform/data/assert.h-data: Likewise.
28905 * conform/data/complex.h-data: Likewise.
28906 * conform/data/cpio.h-data: Likewise.
28907 * conform/data/ctype.h-data: Likewise.
28908 * conform/data/dirent.h-data: Likewise.
28909 * conform/data/dlfcn.h-data: Likewise.
28910 * conform/data/errno.h-data: Likewise.
28911 * conform/data/fcntl.h-data: Likewise.
28912 * conform/data/float.h-data: Likewise.
28913 * conform/data/fmtmsg.h-data: Likewise.
28914 * conform/data/fnmatch.h-data: Likewise.
28915 * conform/data/ftw.h-data: Likewise.
28916 * conform/data/glob.h-data: Likewise.
28917 * conform/data/grp.h-data: Likewise.
28918 * conform/data/iconv.h-data: Likewise.
28919 * conform/data/inttypes.h-data: Likewise.
28920 * conform/data/langinfo.h-data: Likewise.
28921 * conform/data/libgen.h-data: Likewise.
28922 * conform/data/limits.h-data: Likewise.
28923 * conform/data/locale.h-data: Likewise.
28924 * conform/data/math.h-data: Likewise.
28925 * conform/data/monetary.h-data: Likewise.
28926 * conform/data/mqueue.h-data: Likewise.
28927 * conform/data/ndbm.h-data: Likewise.
28928 * conform/data/net/if.h-data: Likewise.
28929 * conform/data/netdb.h-data: Likewise.
28930 * conform/data/netinet/in.h-data: Likewise.
28931 * conform/data/nl_types.h-data: Likewise.
28932 * conform/data/poll.h-data: Likewise.
28933 * conform/data/pthread.h-data: Likewise.
28934 * conform/data/pwd.h-data: Likewise.
28935 * conform/data/regex.h-data: Likewise.
28936 * conform/data/sched.h-data: Likewise.
28937 * conform/data/search.h-data: Likewise.
28938 * conform/data/semaphore.h-data: Likewise.
28939 * conform/data/setjmp.h-data: Likewise.
28940 * conform/data/signal.h-data: Likewise.
28941 * conform/data/spawn.h-data: Likewise.
28942 * conform/data/stdarg.h-data: Likewise.
28943 * conform/data/stdio.h-data: Likewise.
28944 * conform/data/stdlib.h-data: Likewise.
28945 * conform/data/string.h-data: Likewise.
28946 * conform/data/strings.h-data: Likewise.
28947 * conform/data/stropts.h-data: Likewise.
28948 * conform/data/sys/ipc.h-data: Likewise.
28949 * conform/data/sys/mman.h-data: Likewise.
28950 * conform/data/sys/msg.h-data: Likewise.
28951 * conform/data/sys/resource.h-data: Likewise.
28952 * conform/data/sys/select.h-data: Likewise.
28953 * conform/data/sys/sem.h-data: Likewise.
28954 * conform/data/sys/shm.h-data: Likewise.
28955 * conform/data/sys/socket.h-data: Likewise.
28956 * conform/data/sys/stat.h-data: Likewise.
28957 * conform/data/sys/statvfs.h-data: Likewise.
28958 * conform/data/sys/time.h-data: Likewise.
28959 * conform/data/sys/timeb.h-data: Likewise.
28960 * conform/data/sys/times.h-data: Likewise.
28961 * conform/data/sys/types.h-data: Likewise.
28962 * conform/data/sys/uio.h-data: Likewise.
28963 * conform/data/sys/un.h-data: Likewise.
28964 * conform/data/sys/utsname.h-data: Likewise.
28965 * conform/data/sys/wait.h-data: Likewise.
28966 * conform/data/syslog.h-data: Likewise.
28967 * conform/data/tar.h-data: Likewise.
28968 * conform/data/termios.h-data: Likewise.
28969 * conform/data/utime.h-data: Likewise.
28970 * conform/data/utmpx.h-data: Likewise.
28971 * conform/data/varargs.h-data: Likewise.
28972 * conform/data/wchar.h-data: Likewise.
28973 * conform/data/wctype.h-data: Likewise.
28974 * conform/data/wordexp.h-data: Likewise.
28975
28976 * include/stropts.h: New file.
28977 * include/uchar.h: New file.
28978 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28979 * include/assert.h: Likewise.
28980 * include/ctype.h: Likewise.
28981 * include/dirent.h: Likewise.
28982 * include/dlfcn.h: Likewise.
28983 * include/fcntl.h: Likewise.
28984 * include/fnmatch.h: Likewise.
28985 * include/glob.h: Likewise.
28986 * include/grp.h: Likewise.
28987 * include/libio.h: Likewise.
28988 * include/locale.h: Likewise.
28989 * include/math.h: Likewise.
28990 * include/net/if.h: Likewise.
28991 * include/netdb.h: Likewise.
28992 * include/netinet/in.h: Likewise.
28993 * include/pthread.h: Likewise.
28994 * include/pwd.h: Likewise.
28995 * include/regex.h: Likewise.
28996 * include/sched.h: Likewise.
28997 * include/search.h: Likewise.
28998 * include/setjmp.h: Likewise.
28999 * include/signal.h: Likewise.
29000 * include/stdio.h: Likewise.
29001 * include/stdlib.h: Likewise.
29002 * include/string.h: Likewise.
29003 * include/sys/cdefs.h: Likewise.
29004 * include/sys/mman.h: Likewise.
29005 * include/sys/msg.h: Likewise.
29006 * include/sys/resource.h: Likewise.
29007 * include/sys/select.h: Likewise.
29008 * include/sys/socket.h: Likewise.
29009 * include/sys/stat.h: Likewise.
29010 * include/sys/statvfs.h: Likewise.
29011 * include/sys/time.h: Likewise.
29012 * include/sys/times.h: Likewise.
29013 * include/sys/uio.h: Likewise.
29014 * include/sys/utsname.h: Likewise.
29015 * include/sys/wait.h: Likewise.
29016 * include/termios.h: Likewise.
29017 * include/time.h: Likewise.
29018 * include/ulimit.h: Likewise.
29019 * include/unistd.h: Likewise.
29020 * include/utime.h: Likewise.
29021 * include/wchar.h: Likewise.
29022 * include/wctype.h: Likewise.
29023 * include/wordexp.h: Likewise.
29024
29025 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29026
29027 * time/time.h: TIME_UTC must be a macro.
29028 Make timespec_get available for ISO C11 only as well.
29029
290302012-02-24 Ulrich Drepper <drepper@gmail.com>
29031
29032 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29033 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29034
290352012-02-24 Joseph Myers <joseph@codesourcery.com>
29036
29037 * configure.in: Use -o not -a in test for unsupported multi-arch.
29038
290392012-02-24 Joseph Myers <joseph@codesourcery.com>
29040
29041 * manual/texinfo.tex: Update to version 2012-01-19.16.
29042
290432012-02-24 Joseph Myers <joseph@codesourcery.com>
29044
29045 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29046
290472012-02-24 Roland McGrath <roland@hack.frob.com>
29048
29049 [BZ #13738]
29050 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29051 * manual/fdl-1.3.texi: New file.
29052 * manual/fdl-1.1.texi: File removed.
29053
29054 [BZ #13738]
29055 * manual/libc.texinfo (FDL_VERSION): New @set.
29056 Use it for mention of FDL in cover text.
29057 (Documentation License): Use it in @include file name.
29058
290592012-02-22 Joseph Myers <joseph@codesourcery.com>
29060 Roland McGrath <roland@hack.frob.com>
29061
29062 [BZ #5461]
29063 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29064 not LONG_LONG_MAX and LONG_LONG_MIN.
29065 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29066 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29067 name.
29068 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29069
290702012-02-22 Joseph Myers <joseph@codesourcery.com>
29071
29072 [BZ #2547]
29073 [BZ #11365]
29074 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29075 manipulate bits before adding and subtracting TWO23[sx].
29076 * math/libm-test.inc (nearbyint_test): Add more tests.
29077
290782012-02-22 Joseph Myers <joseph@codesourcery.com>
29079
29080 [BZ #2548]
29081 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29082 bits before adding and subtracting TWO23[sx].
29083 * math/libm-test.inc (rint_test): Add more tests.
29084 (rint_test_tonearest): Likewise.
29085 (rint_test_towardzero): Likewise.
29086 (rint_test_downward): Likewise.
29087 (rint_test_upward: Likewise.
29088
290892012-02-22 Joseph Myers <joseph@codesourcery.com>
29090
29091 [BZ #10110]
29092 * include/stdc-predef.h: New file. Extracted from features.h.
29093 * include/features.h: Include stdc-predef.h.
29094 * Makefile (headers): Add stdc-predef.h.
29095 * CONFORMANCE (Compiler limitations): Update.
29096
290972012-02-22 Joseph Myers <joseph@codesourcery.com>
29098
29099 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29100
291012012-02-21 David S. Miller <davem@davemloft.net>
29102
29103 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29104 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29105
291062012-02-20 David S. Miller <davem@davemloft.net>
29107
29108 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29109 using a normal save/restore sequence, rather than allocating a
29110 dummy stack frame just to store a frame pointer and restore.
29111 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29112
291132012-02-21 Joseph Myers <joseph@codesourcery.com>
29114
29115 * manual/install.texi: Fix stray word in line-wrapped comment.
29116
291172012-02-20 David S. Miller <davem@davemloft.net>
29118
29119 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29120 both binutils and gcc support GOTDATA.
29121
29122 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29123 "rd %pc" in the PIC register setup sequences.
29124
29125 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29126 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29127 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29128 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29129 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29130 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29131 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29132 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29133 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29134 (SYSCALL_ERROR_HANDLER): Likewise.
29135 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29136 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29137 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29138 (SYSCALL_ERROR_HANDLER): Likewise.
29139
29140 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29141 (HAVE_GCC_GOTDATA): New.
29142 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29143 relocation support in both binutils and gcc.
29144 * sysdeps/sparc/elf/configure: Regenerate.
29145
29146 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29147 * sysdeps/sparc/sparc32/elf/configure: Delete.
29148 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29149 * sysdeps/sparc/sparc64/elf/configure: Delete.
29150 * sysdeps/sparc/elf/configure.in: New file.
29151 * sysdeps/sparc/elf/configure: Generate.
29152
29153 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29154 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29155 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29156 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29157 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29158
291592012-02-21 Joseph Myers <joseph@codesourcery.com>
29160
29161 * manual/install.texi: Do not mention specific glibc version
29162 numbers.
29163 * manual/libc.texinfo (VERSION, UPDATED): Update.
29164 (@copying): Use @copyright{} and range of years.
29165
291662012-02-21 Joseph Myers <joseph@codesourcery.com>
29167
29168 [BZ #13695]
29169 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29170 [crti.S not in sysdirs] (generated): Do not append.
29171 [crti.S not in sysdirs] (omit-deps): Likewise.
29172 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29173 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29174 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29175 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29176 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29177 Likewise.
29178 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29179 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29180 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29181 * csu/defs.awk: Remove file.
29182 * sysdeps/generic/initfini.c: Likewise.
29183 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29184 variable.
29185 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29186 Likewise.
29187
291882012-02-20 Joseph Myers <joseph@codesourcery.com>
29189
29190 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29191 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29192 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29193 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29194 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29195 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29196 <bits/epoll.h>.
29197 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29198 (__EPOLL_PACKED): Define to empty if not defined by
29199 <bits/epoll.h>.
29200 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29201 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29202 bits/epoll.h.
29203
292042012-02-20 Joseph Myers <joseph@codesourcery.com>
29205
29206 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29207 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29208 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29209 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29210 <bits/timerfd.h>.
29211 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29213 bits/timerfd.h.
29214
292152012-02-20 Joseph Myers <joseph@codesourcery.com>
29216
29217 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29218 in C locale.
29219 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29220 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29221 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29223
292242012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29225
29226 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29227 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29228
292292012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29230
29231 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29232 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29233 defined.
29234 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29235 Likewise.
29236 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29237 entry for 2.16.
29238
292392012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29240
29241 * math/w_acos.c: Use non-signaling floating-point comparisons.
29242 * math/w_acosf.c: Likewise.
29243 * math/w_acosh.c: Likewise.
29244 * math/w_acoshf.c: Likewise.
29245 * math/w_acoshl.c: Likewise.
29246 * math/w_acosl.c: Likewise.
29247 * math/w_asin.c: Likewise.
29248 * math/w_asinf.c: Likewise.
29249 * math/w_asinl.c: Likewise.
29250 * math/w_atanh.c: Likewise.
29251 * math/w_atanhf.c: Likewise.
29252 * math/w_atanhl.c: Likewise.
29253 * math/w_exp2.c: Likewise.
29254 * math/w_exp2f.c: Likewise.
29255 * math/w_exp2l.c: Likewise.
29256 * math/w_j0.c: Likewise.
29257 * math/w_j0f.c: Likewise.
29258 * math/w_j0l.c: Likewise.
29259 * math/w_j1.c: Likewise.
29260 * math/w_j1f.c: Likewise.
29261 * math/w_j1l.c: Likewise.
29262 * math/w_jn.c: Likewise.
29263 * math/w_jnf.c: Likewise.
29264 * math/w_log.c: Likewise.
29265 * math/w_log10.c: Likewise.
29266 * math/w_log10f.c: Likewise.
29267 * math/w_log10l.c: Likewise.
29268 * math/w_log2.c: Likewise.
29269 * math/w_log2f.c: Likewise.
29270 * math/w_log2l.c: Likewise.
29271 * math/w_logf.c: Likewise.
29272 * math/w_logl.c: Likewise.
29273 * math/w_sqrt.c: Likewise.
29274 * math/w_sqrtf.c: Likewise.
29275 * math/w_sqrtl.c: Likewise.
29276 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29277 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29278 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29279 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29280 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29281
292822012-02-19 Joseph Myers <joseph@codesourcery.com>
29283
29284 [BZ #9739]
29285 * manual/string.texi (strnlen): Use correct parameter name in
29286 equivalent expression.
29287
292882012-02-19 Joseph Myers <joseph@codesourcery.com>
29289
29290 [BZ #11174]
29291 * manual/users.texi (seteuid): Consistently use neweuid for
29292 argument name.
29293
292942012-02-19 Joseph Myers <joseph@codesourcery.com>
29295
29296 [BZ #13704]
29297 * manual/nss.texi (Services in the NSS configuration): Correct
29298 list of services in example configuration file.
29299
293002012-02-19 Nick Bowler <nbowler@draconx.ca>
29301
29302 [BZ #11322]
29303 * manual/arith.texi: Remove statements about negative zero
29304 behaving identically to zero.
29305
293062012-02-18 Joseph Myers <joseph@codesourcery.com>
29307
29308 [BZ #5993]
29309 * manual/install.texi: Do not document upgrading from libc5.
29310
293112012-02-18 Joseph Myers <joseph@codesourcery.com>
29312
29313 [BZ #4596]
29314 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29315
293162012-02-18 David S. Miller <davem@davemloft.net>
29317
29318 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29319 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29320 %o7 across the call.
29321 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29322 instead.
29323 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29324 SETUP_PIC_REG_LEAF.
29325 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29326 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29327 * sysdeps/sparc/crtn.S: Likewise.
29328
293292012-02-17 Ulrich Drepper <drepper@gmail.com>
29330
29331 * aout/Makefile: Remove.
29332
293332012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29334
29335 [BZ #13058]
29336 * manual/examples/argp-ex1.c (main): Format definition in GNU
29337 style.
29338 * manual/examples/argp-ex2.c (main): Likewise.
29339 * manual/examples/argp-ex3.c (main): Likewise.
29340 * manual/examples/argp-ex4.c (main): Likewise.
29341 * manual/examples/longopt.c (main): Use new-style prototype
29342 definition.
29343 * manual/examples/strncat.c (main): Specify return type and use
29344 (void) for arguments.
29345 * manual/examples/subopt.c (main): Use char **argv argument.
29346
293472012-02-17 Joseph Myers <joseph@codesourcery.com>
29348
29349 [BZ #5077]
29350 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29351 rounding modes.
29352
293532012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29354
29355 [BZ #6907]
29356 * manual/string.texi (strchr): Change when strchrnul is
29357 recommended.
29358
293592012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29360
29361 [BZ #174]
29362 * manual/locale.texi (setlocale): Document LOCPATH.
29363
293642012-02-17 Joseph Myers <joseph@codesourcery.com>
29365
29366 [BZ #10210]
29367 * manual/process.texi (execle): Move @dots{} before last argument.
29368
293692012-02-17 Paul Bolle <pebolle@tiscali.nl>
29370
29371 [BZ #12047]
29372 * manual/charset.texi (Generic Charset Conversion): Fix typo
29373 (LC_TYPE -> LC_CTYPE).
29374
293752012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29376
29377 [BZ #5805]
29378 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29379 (scalbnf): Likewise.
29380 (scalbnl): Likewise.
29381 (scalbln): Likewise.
29382 (scalblnf): Likewise.
29383 (scalblnl): Likewise.
29384 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29385 (vwarnx): Likewise.
29386 (verr): Likewise.
29387 (verrx): Likewise.
29388 * manual/filesys.texi (telldir): Use braces around return type.
29389 * manual/llio.texi (mmap): Add space after comma.
29390 (mmap64): Likewise.
29391 * manual/math.texi (jn): Use @var{} on parameter names.
29392 (jnf): Likewise.
29393 (jnl): Likewise.
29394 (yn): Likewise.
29395 (ynf): Likewise.
29396 (ynl): Likewise.
29397 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29398 line.
29399 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29400 "...".
29401 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29402 (sched_get_priority_max): Likewise.
29403 * manual/signal.texi (sigvec): Add space after comma.
29404 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29405 names.
29406 (if_indextoname): Likewise.
29407 (if_freenameindex): Likewise.
29408 (sendto): Use ',' instead of '.' in prototype.
29409 * manual/startup.texi (syscall): Use @dots{} instead of literal
29410 "...".
29411 * manual/stdio.texi (__fpending): Separate initial words of
29412 paragraph from @deftypefun line.
29413 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29414 "...".
29415 (vsyslog): Use @var{} on parameter names.
29416 * manual/terminal.texi (stty): Use @var{} on parameter names.
29417 * manual/users.texi (getutmp): Use @var{} on parameter names.
29418 (getutmpx): Likewise.
29419
294202012-02-17 Joseph Myers <joseph@codesourcery.com>
29421
29422 [BZ #6884]
29423 * manual/stdio.texi (fopen): Fix typos in description of
29424 ",ccs=STRING".
29425
294262012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29427
29428 [BZ #4026]
29429 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29430 get clock_id definition.
29431
294322012-02-17 Thomas Schwinge <thomas@schwinge.name>
29433
29434 [BZ #4822]
29435 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29436 (madvise): Cast every argument to void on its own.
29437
294382012-02-17 Joseph Myers <joseph@codesourcery.com>
29439
29440 [BZ #9902]
29441 * manual/startup.texi (Exit Status): Fix typo.
29442
294432012-02-17 Joseph Myers <joseph@codesourcery.com>
29444
29445 [BZ #10140]
29446 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29447 * manual/examples/argp-ex2.c: Likewise.
29448 * manual/examples/argp-ex3.c: Likewise.
29449
294502012-02-16 Richard Henderson <rth@redhat.com>
29451
29452 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29453 * sysdeps/s390/s390-32/initfini.c: Remove.
29454 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29455 * sysdeps/s390/s390-64/initfini.c: Remove.
29456
294572012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29458
29459 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29460 compiler output for sysdeps/generic/initfini.c.
29461 * sysdeps/sh/elf/initfini.c: Remove file.
29462
294632012-02-16 David S. Miller <davem@davemloft.net>
29464
29465 [BZ #11494]
29466 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29467
29468 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29469 * sysdeps/sparc/crti.S: New file.
29470 * sysdeps/sparc/crtn.S: New file.
29471 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29472 * sysdeps/sparc/sparc64/Makefile: Likewise.
29473
294742012-02-15 Mike Frysinger <vapier@gentoo.org>
29475
29476 [BZ #3335]
29477 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29478
294792012-02-15 Roland McGrath <roland@hack.frob.com>
29480
29481 [BZ #4822]
29482 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29483
29484 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29485 (write, read, close): Likewise.
29486 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29487
294882012-02-15 Joseph Myers <joseph@codesourcery.com>
29489
29490 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29491 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29492 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29493 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29494 <bits/signalfd.h>.
29495 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29497 bits/signalfd.h.
29498
294992012-02-14 Marek Polacek <polacek@redhat.com>
29500
29501 * sysdeps/x86_64/crti.S: New file.
29502 * sysdeps/x86_64/crtn.S: New file.
29503 * sysdeps/x86_64/elf/initfini.c: Remove file.
29504
295052012-02-13 Joseph Myers <joseph@codesourcery.com>
29506
29507 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29508 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29509 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29510 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29511 <bits/inotify.h>.
29512 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29513 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29514 bits/inotify.h.
29515
295162012-02-13 Joseph Myers <joseph@codesourcery.com>
29517
29518 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29519 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29520 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29521 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29522 <bits/eventfd.h>.
29523 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29524 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29525 bits/eventfd.h.
29526
295272012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29528
29529 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29530 __feraiseexcept instead of feraiseexcept.
29531
29532 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29533 nanosleep invocations.
29534 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29535 strings, and add error checking for a nanosleep invocations.
29536
295372012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29538
29539 Replace FSF snail mail address with URLs, as per GNU coding standards.
29540 Most of the snail mail addresses were wrong anyway, and omitting
29541 them makes the source code easier to maintain. Almost all of the
29542 changes are to license notices and to locale LC_IDENTIFICATION
29543 addresses, except for this one:
29544 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29545 not its snail mail address.
29546
295472012-02-09 Richard Henderson <rth@twiddle.net>
29548
29549 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29550 of kernel-features.h.
29551
29552 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29553
295542012-02-08 Marek Polacek <polacek@redhat.com>
29555
29556 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29557 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29558 * sysdeps/gnu/_G_config.h: Likewise.
29559 * sysdeps/generic/_G_config.h: Likewise.
29560
295612012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29562
29563 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29564 tests.
29565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29566
29567 * sysdeps/powerpc/powerpc32/crti.S: New file.
29568 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29569 * sysdeps/powerpc/powerpc64/crti.S: New file.
29570 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29571
29572 * Makeconfig (have-initfini): Don't set.
29573 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29574 * configure.in (nopic_initfini): Don't substitute.
29575 * config.h.in (HAVE_INITFINI): Don't #undef.
29576 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29577 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29578
295792012-02-08 Joseph Myers <joseph@codesourcery.com>
29580
29581 Support crti.S and crtn.S provided directly by architectures.
29582 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29583 [crti.S in sysdirs] (omit-deps): Likewise.
29584 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29585 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29586 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29587 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29588 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29589 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29590 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29591 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29592 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29593 compiler output for sysdeps/generic/initfini.c.
29594 * sysdeps/i386/elf/Makefile: Remove file.
29595 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29596
295972012-02-07 Marek Polacek <polacek@redhat.com>
29598
29599 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29600 * sysdeps/gnu/_G_config.h: Likewise.
29601 * sysdeps/mach/hurd/_G_config.h: Likewise.
29602
296032012-02-07 Marek Polacek <polacek@redhat.com>
29604
29605 * math/Makefile (tests): Add tst-CMPLX2.
29606 * math/tst-CMPLX2.c: New file.
29607
296082012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29609
29610 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29611
29612 * math/libm-test.inc (jn_test): Add missing L suffix.
29613
296142012-02-06 Marek Polacek <polacek@redhat.com>
29615
29616 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29617 * sysdeps/i386/fpu/e_powf.S: Likewise.
29618 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29619 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29620 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29621 * sysdeps/i386/fpu/e_pow.S: Likewise.
29622 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29623 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29624 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29625 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29626 * sysdeps/i386/fpu/e_log2.S: Likewise.
29627 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29628 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29629 * sysdeps/i386/fpu/e_powl.S: Likewise.
29630 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29631 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29632 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29633 * sysdeps/i386/fpu/e_logl.S: Likewise.
29634 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29635 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29636 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29637 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29638 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29639 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29640 * sysdeps/i386/fpu/e_log.S: Likewise.
29641 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29642 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29643 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29644 * sysdeps/i386/fpu/e_logf.S: Likewise.
29645 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29646 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29647 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29648 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29649 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29650 * sysdeps/i386/fpu/e_log10.S: Likewise.
29651 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29652 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29653 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29654 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29655 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29656 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29657 * sysdeps/i386/asm-syntax.h: Likewise.
29658 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29659 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29660 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29661 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29662 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29663 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29664 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29665 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29666 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29667 * sysdeps/powerpc/sysdep.h: Likewise.
29668 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29669 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29670
296712012-02-06 Joseph Myers <joseph@codesourcery.com>
29672
29673 [BZ #411]
29674 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29675
296762012-02-06 Joseph Myers <joseph@codesourcery.com>
29677
29678 * sysdeps/i386/sysdep.h: Include <features.h>.
29679 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29680 version.
29681
296822012-02-05 Joseph Myers <joseph@codesourcery.com>
29683
29684 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29685 Define.
29686 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29687 LOAD_PIC_REG_STR.
29688
296892012-02-03 Joseph Myers <joseph@codesourcery.com>
29690
29691 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29692 (SETUP_PIC_REG): Use GET_PC_THUNK.
29693 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29694 macro.
29695
296962012-02-03 Joseph Myers <joseph@codesourcery.com>
29697
29698 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29699 for non-PIC compilation.
29700 (SETUP_PIC_REG): Add .p2align directive.
29701 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29702 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29703 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29704 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29705 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29706 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29707 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29708 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29709 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29710 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29711 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29712 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29713 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29714 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29715 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29716 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29717 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29718 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29719 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29720 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29721 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29722 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29723 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29724 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29725 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29726 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29727 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29728 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29729 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29730 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29731 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29732 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29733 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29734 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29735 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29736 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29737 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29738 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29739 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29740 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29741 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29742
297432012-02-03 Joseph Myers <joseph@codesourcery.com>
29744
29745 * math/tst-CMPLX.c: Include <stdio.h>.
29746
297472012-01-31 Joseph Myers <joseph@codesourcery.com>
29748
29749 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29750 float.
29751 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29752 * sysdeps/sparc/bits/mathdef.h: Likewise.
29753
297542012-01-31 Marek Polacek <polacek@redhat.com>
29755
29756 * libio/libio.h: Don't define _PARAMS.
29757 * locale/programs/config.h: Don't define PARAMS.
29758 * stdlib/strtol_l.c: Likewise.
29759 (__strtol_l): Remove PARAMS from the prototype.
29760
297612012-01-31 Ulrich Drepper <drepper@gmail.com>
29762
29763 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29764 names. Just use the correct names. Remove unnecessary wrapper
29765 functions.
29766 * malloc/arena.c: Likewise.
29767 * malloc/hooks.c: Likewise.
29768
29769 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29770 ARENA_TEST says not to. Simplify test for creation of a new arena.
29771 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29772
297732012-01-30 Ulrich Drepper <drepper@gmail.com>
29774
29775 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29776 into tail calls.
29777 (update_get_addr): New function.
29778 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29779 GET_ADDR_MODULE parameter.
29780
297812012-01-30 Joseph Myers <joseph@codesourcery.com>
29782
29783 * crypt/cert.c: Remove __STDC__ conditionals.
29784 * crypt/crypt-entry.c: Likewise.
29785 * crypt/crypt_util.c: Likewise.
29786 * libio/filedoalloc.c: Likewise.
29787 * libio/fileops.c: Likewise.
29788 * libio/genops.c: Likewise.
29789 * libio/iofclose.c: Likewise.
29790 * libio/iofdopen.c: Likewise.
29791 * libio/iofopen.c: Likewise.
29792 * libio/iofopen64.c: Likewise.
29793 * libio/iogetdelim.c: Likewise.
29794 * libio/iopopen.c: Likewise.
29795 * libio/obprintf.c: Likewise.
29796 * libio/oldfileops.c: Likewise.
29797 * libio/oldiofclose.c: Likewise.
29798 * libio/oldiofdopen.c: Likewise.
29799 * libio/oldiofopen.c: Likewise.
29800 * libio/oldiopopen.c: Likewise.
29801 * libio/wfiledoalloc.c: Likewise.
29802 * libio/wgenops.c: Likewise.
29803 * locale/programs/xmalloc.c: Likewise.
29804 * misc/syslog.c: Likewise.
29805 * stdio-common/xbug.c: Likewise.
29806 * string/memchr.c: Likewise.
29807 * string/memcmp.c: Likewise.
29808 * string/memrchr.c: Likewise.
29809 * string/rawmemchr.c: Likewise.
29810 * sysdeps/posix/getcwd.c: Likewise.
29811 * time/strftime_l.c: Likewise.
29812
298132012-01-30 Joseph Myers <joseph@codesourcery.com>
29814
29815 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
29816 * config.make.in (config-cflags-sse2avx): Define.
29817 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29818 Fix typo.
29819
298202012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29821
29822 * scripts/config.guess: Update from upstream config git repository.
29823 * scripts/config.sub: Likewise.
29824
298252012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29826
29827 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29828 (EM_NUM): Update.
29829 (R_TILEPRO_*, R_TILEGX_*): New macros.
29830
29831 * scripts/firstversions.awk: Fix bug in version range handling.
29832
29833 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29834
29835 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29836
29837 * include/sys/epoll.h: New file.
29838 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29839 libc_hidden_def.
29840
298412012-01-28 Ulrich Drepper <drepper@gmail.com>
29842
29843 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29844 Avoid unnecessary __WORDSIZE == 64 test.
29845 (fmaxf): Use VEX format if possible.
29846 (fmax): Likewise.
29847 (fminf): Likewise.
29848 (fmin): Likewise.
29849
29850 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29851 * math/math_private.h: Remove libc_fegetround* and
29852 libc_fesetround*.
29853 * sysdeps/i386/configure.in: Check for -msse2avx.
29854 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29855 also if SSE2AVX is defined.
29856 Remove libc_fegetround* and libc_fesetround*.
29857 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29858 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29859 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29860 of HAS_YMM_USABLE.
29861 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29862 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29863 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29864 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29865 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29866
29867 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29868
298692012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29870
29871 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29872 size is not set.
29873 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29874
298752012-01-27 Ulrich Drepper <drepper@gmail.com>
29876
29877 [BZ #13618]
29878 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29879 relocation.
29880 * Makeconfig (libm): Define.
29881 * elf/Makefile: Add rules to build and run tst-relsort1.
29882 * elf/tst-relsort1.c: New file.
29883 * elf/tst-relsort1mod1.c: New file.
29884 * elf/tst-relsort1mod2.c: New file.
29885
298862012-01-27 Joseph Myers <joseph@codesourcery.com>
29887
29888 * math/s_ldexp.c: Remove __STDC__ conditionals.
29889 * math/s_ldexpf.c: Likewise.
29890 * math/s_ldexpl.c: Likewise.
29891 * math/s_nextafter.c: Likewise.
29892 * math/s_nexttowardf.c: Likewise.
29893 * math/s_significand.c: Likewise.
29894 * math/s_significandf.c: Likewise.
29895 * math/s_significandl.c: Likewise.
29896 * math/w_jnl.c: Likewise.
29897 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29898 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29899 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29900 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29901 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29902 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29903 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29904 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29905 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29906 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29907 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29908 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29909 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29910 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29911 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29912 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29913 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29914 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29915 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29916 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29917 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29918 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29919 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29920 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29921 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29922 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29923 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29924 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29925 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29926 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29927 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29928 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29929 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29930 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29931 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29932 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29933 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29934 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29935 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29936 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29937 * sysdeps/ieee754/k_standard.c: Likewise.
29938 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29939 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29940 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29941 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29942 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29943 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29944 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29945 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29946 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29947 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29948 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29949 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29950 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29951 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29952 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29953 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29954 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29955 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29956 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29957 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29958 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29959 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29960 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29961 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29962 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29963 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29964 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29965 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29966 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29967 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29968 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29969 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29970 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29971 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29972 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29973 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29974 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29975 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29976 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29977 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29978 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29979 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29980 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29981 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29982 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29983 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29984 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29985 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29986 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29987 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29988 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29989 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29990 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29991 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29992 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29993 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29994 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29995 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29996 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29997 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29998 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29999 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30000 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30001 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30002 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30003 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30004 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30005 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30006 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30007 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30008 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30009 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30010 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30011 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30012 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30013 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30014 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30015 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30016 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30017 * sysdeps/ieee754/s_matherr.c: Likewise.
30018 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30019 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30020 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30021 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30022
300232012-01-26 Joseph Myers <joseph@codesourcery.com>
30024
30025 * crypt/md5.h: Remove __STDC__ conditionals.
30026 * libio/libioP.h: Likewise.
30027 * locale/programs/config.h: Likewise.
30028 * sysdeps/generic/sysdep.h: Likewise.
30029 * sysdeps/i386/asm-syntax.h: Likewise.
30030 * sysdeps/s390/asm-syntax.h: Likewise.
30031 * sysdeps/unix/sysdep.h: Likewise.
30032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30034
300352012-01-26 Joseph Myers <joseph@codesourcery.com>
30036
30037 * libio/libio.h: Remove __STDC__ conditionals.
30038 * malloc/obstack.h: Likewise.
30039 * math/complex.h: Likewise.
30040 * math/math.h: Likewise.
30041 * sysdeps/generic/_G_config.h: Likewise.
30042 * sysdeps/gnu/_G_config.h: Likewise.
30043 * sysdeps/mach/hurd/_G_config.h: Likewise.
30044 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30045 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30046 * sysdeps/sparc/bits/mathdef.h: Likewise.
30047
300482012-01-26 Ulrich Drepper <drepper@gmail.com>
30049
30050 [BZ #13583]
30051 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30052 Clean up HAS_* macros.
30053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30054 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30055 possible.
30056 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30057 HAS_AVX.
30058 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30059 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30060 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30061 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30062 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30063
300642012-01-25 Joseph Myers <joseph@codesourcery.com>
30065
30066 * elf/tst-unique3.cc (gets): Remove declaration.
30067 * elf/tst-unique3lib.cc (gets): Likewise.
30068 * elf/tst-unique3lib2.cc (gets): Likewise.
30069 * elf/tst-unique4.cc (gets): Likewise.
30070
300712012-01-24 Ulrich Drepper <drepper@gmail.com>
30072
30073 * include/stdio.h: Add C++ protection. Add gets declarations and
30074 definitions.
30075 * debug/tst-chk1.c: Don't declare gets here.
30076 * stdio-common/tst-gets.c: Likewise.
30077
300782012-01-24 Joseph Myers <joseph@codesourcery.com>
30079
30080 * posix/glob: Remove directory.
30081
300822012-01-24 Joseph Myers <joseph@codesourcery.com>
30083
30084 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30085
300862012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30087
30088 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30089 of the non-standard EPFNOSUPPORT.
30090
300912011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30092
30093 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30094 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30095 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30096
300972012-01-21 Ulrich Drepper <drepper@gmail.com>
30098
30099 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30100
301012012-01-20 Ulrich Drepper <drepper@gmail.com>
30102
30103 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30104 transient errors.
30105 * nscd/grpcache.c (cache_addgr): Likewise.
30106 * nscd/hstcache.c (cache_addhst): Likewise.
30107 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30108 * nscd/pwdcache.c (cache_addpw): Likewise.
30109 * nscd/servicescache.c (cache_addserv): Likewise.
30110
301112012-01-16 Ulrich Drepper <drepper@gmail.com>
30112
30113 * malloc/malloc.c: Various cleanups.
30114 * malloc/hooks.c: Likewise.
30115
30116 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30117 * stdlib/bug-fmtmsg1.c: New file.
30118
30119 * stdlib/fmtmsg.c (init): Add missing unlock.
30120 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30121
301222012-01-12 Marek Polacek <polacek@redhat.com>
30123
30124 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30125 and _GNU_SOURCE.
30126
301272012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30128
30129 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30130 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30131 macro to ensure uniqueness of label name.
30132 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30133 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30134
301352012-01-11 Ulrich Drepper <drepper@gmail.com>
30136
30137 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30138
30139 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30140 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30141 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30142 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30143
301442012-01-10 Ulrich Drepper <drepper@gmail.com>
30145
30146 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30147
30148 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30149 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30150 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30151
30152 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30153
30154 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30155 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30156 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30157 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30158
30159 * math/bits/math-finite.h: Add ldexp support.
30160
301612012-01-10 Marek Polacek <polacek@redhat.com>
30162
30163 * locale/programs/localedef.h (show_archive_content): Add noreturn
30164 attribute.
30165
301662012-01-09 Ulrich Drepper <drepper@gmail.com>
30167
30168 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30169
301702012-01-08 Ulrich Drepper <drepper@gmail.com>
30171
30172 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30173
30174 * io/Makefile (headers): Add bits/poll2.h.
30175
301762011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30177
30178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30179 typo #include statement.
30180
301812012-01-08 Ulrich Drepper <drepper@gmail.com>
30182
30183 * include/sys/cdefs.h: Define __attribute_alloc_size.
30184 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30185 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30186 * elf/pldd.c: Likewise.
30187 * iconv/iconv_charmap.c: Likewise.
30188 * iconv/iconvconfig.c: Likewise.
30189 * iconv/strtab.c: Likewise.
30190 * locale/programs/locale.c: Likewise.
30191 * locale/programs/localedef.h: Likewise.
30192 * locale/programs/simple-hash.c: Likewise.
30193 * nscd/nscd.h: Likewise.
30194 * nss/makedb.c: Likewise.
30195 * sysdeps/generic/ldconfig.h: Likewise.
30196 * locale/programs/localedef.c: Remove xmalloc prototype.
30197 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30198
301992012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30200
30201 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30202 appropriate.
30203
302042012-01-08 Ulrich Drepper <drepper@gmail.com>
30205
30206 * math/Makefile (tests): Add tst-CMPLX.
30207 * math/tst-CMPLX.c: New file.
30208
30209 * math/complex.h (CMPLXL): Fix typo.
30210
30211 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30212 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30213 GLIBC_2.16.
30214 * debug/tst-chk1.c: Add poll and ppoll tests.
30215 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30216 * include/sys/poll.h: Add hidden proto for ppoll.
30217 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30218 * sysdeps/mach/hurd/ppoll.c: Likewise.
30219 * io/ppoll.c: Likewise.
30220 * debug/poll_chk.c: New file.
30221 * debug/ppoll_chk.c: New file.
30222 * include/bits/poll2.h: New file.
30223 * io/bits/poll2.h: New file.
30224
30225 [BZ #1350]
30226 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30227
30228 * configure.in: static is always set to yes. Remove.
30229 * config.make.in: Don't set build-static.
30230 * Makeconfig: Remove use of build-static.
30231 * dlfcn/Makefile: Likewise.
30232 * elf/Makefile: Likewise.
30233 * math/Makefile: Likewise.
30234 * misc/Makefile: Likewise.
30235 * nptl/Makefile: Likewise.
30236 * sysdeps/mach/hurd/Makefile: Likewise.
30237
30238 * configure.in: PWD_P is not used anymore.
30239 * config.make.in: Remove PWD_P entry.
30240
30241 * configure.in: Remove last remnants of RANLIB.
30242 No need to check for signed size_t anymore.
30243 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30244 and IA-64.
30245 Remove __builtin_expect test because we require at least gcc 3.4.
30246 * aclocal.m4: Likewise.
30247
30248 * wcsmbs/mbrtoc16.c: Implement using towc function.
30249 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30250 * wcsmbs/wcsmbsload.c: Likewise.
30251 * iconv/gconv_simple.c: Likewise.
30252 * iconv/gconv_int.h: Likewise.
30253 * iconv/gconv_builtin.h: Likewise.
30254 * iconv/iconv_prog.c: Remove CHAR16 handling.
30255
30256 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30257
30258 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30259
30260 * configure.in: Remove --with-elf and --enable-bounded options.
30261 Dont set base_machine for ia64. More non-ELF conditions removed.
30262 Remove testing and setting of leading underscore information.
30263 * config.make.in (build-bounded): Set to no.
30264 * config.h.in: Remove NO_UNDERSCORES entry.
30265 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30266 them.
30267 * csu/start.c: Remove !NO_UNDERSCORE code.
30268 * locale/localeinfo.h: Likewise.
30269 * sysdeps/generic/machine-gmon.h: Likewise.
30270 * sysdeps/generic/sysdep.h: Likewise.
30271 * sysdeps/i386/sysdep.h: Likewise.
30272 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30273 * sysdeps/mach/sysdep.h: Likewise.
30274 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30275 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30276 * sysdeps/sh/sysdep.h: Likewise.
30277 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30278 * sysdeps/unix/i386/sysdep.S: Likewise.
30279 * sysdeps/unix/sparc/start.c: Likewise.
30280 * sysdeps/unix/sparc/sysdep.S: Likewise.
30281 * sysdeps/unix/sparc/sysdep.h: Likewise.
30282 * sysdeps/unix/start.c: Likewise.
30283 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30284 * sysdeps/x86_64/sysdep.h: Likewise.
30285
302862012-01-07 Ulrich Drepper <drepper@gmail.com>
30287
30288 [BZ #13553]
30289 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30290 for non-gcc.
30291 * argp/argp-fmtstream.h: Use const instead __const.
30292 * argp/argp.h: Likewise.
30293 * assert/assert.h: Likewise.
30294 * bits/fenv.h: Likewise.
30295 * bits/sched.h: Likewise.
30296 * bits/sigset.h: Likewise.
30297 * bits/sigthread.h: Likewise.
30298 * catgets/nl_types.h: Likewise.
30299 * conform/data/pthread.h-data: Likewise.
30300 * crypt/crypt-private.h: Likewise.
30301 * crypt/crypt.h: Likewise.
30302 * crypt/crypt_util.c: Likewise.
30303 * ctype/ctype.h: Likewise.
30304 * debug/execinfo.h: Likewise.
30305 * debug/mbsnrtowcs_chk.c: Likewise.
30306 * debug/mbsrtowcs_chk.c: Likewise.
30307 * debug/wcsnrtombs_chk.c: Likewise.
30308 * debug/wcsrtombs_chk.c: Likewise.
30309 * debug/wcstombs_chk.c: Likewise.
30310 * dirent/dirent.h: Likewise.
30311 * dlfcn/dlfcn.h: Likewise.
30312 * elf/neededtest4.c: Likewise.
30313 * grp/grp.h: Likewise.
30314 * gshadow/gshadow.h: Likewise.
30315 * iconv/gconv.h: Likewise.
30316 * iconv/gconv_int.h: Likewise.
30317 * iconv/gconv_simple.c: Likewise.
30318 * iconv/iconv.h: Likewise.
30319 * iconv/loop.c: Likewise.
30320 * iconv/skeleton.c: Likewise.
30321 * include/aio.h: Likewise.
30322 * include/aliases.h: Likewise.
30323 * include/argz.h: Likewise.
30324 * include/arpa/inet.h: Likewise.
30325 * include/assert.h: Likewise.
30326 * include/dirent.h: Likewise.
30327 * include/dlfcn.h: Likewise.
30328 * include/execinfo.h: Likewise.
30329 * include/fcntl.h: Likewise.
30330 * include/fenv.h: Likewise.
30331 * include/glob.h: Likewise.
30332 * include/grp.h: Likewise.
30333 * include/libintl.h: Likewise.
30334 * include/mntent.h: Likewise.
30335 * include/netdb.h: Likewise.
30336 * include/pwd.h: Likewise.
30337 * include/rpc/netdb.h: Likewise.
30338 * include/sched.h: Likewise.
30339 * include/search.h: Likewise.
30340 * include/shadow.h: Likewise.
30341 * include/signal.h: Likewise.
30342 * include/stdio.h: Likewise.
30343 * include/stdlib.h: Likewise.
30344 * include/string.h: Likewise.
30345 * include/sys/socket.h: Likewise.
30346 * include/sys/stat.h: Likewise.
30347 * include/sys/statfs.h: Likewise.
30348 * include/sys/statvfs.h: Likewise.
30349 * include/sys/syslog.h: Likewise.
30350 * include/sys/time.h: Likewise.
30351 * include/sys/uio.h: Likewise.
30352 * include/time.h: Likewise.
30353 * include/unistd.h: Likewise.
30354 * include/utmp.h: Likewise.
30355 * include/wchar.h: Likewise.
30356 * include/wctype.h: Likewise.
30357 * inet/aliases.h: Likewise.
30358 * inet/arpa/inet.h: Likewise.
30359 * inet/netinet/ether.h: Likewise.
30360 * inet/netinet/in.h: Likewise.
30361 * intl/libintl.h: Likewise.
30362 * io/bits/fcntl2.h: Likewise.
30363 * io/fcntl.h: Likewise.
30364 * io/ftw.h: Likewise.
30365 * io/sys/poll.h: Likewise.
30366 * io/sys/stat.h: Likewise.
30367 * io/sys/statfs.h: Likewise.
30368 * io/sys/statvfs.h: Likewise.
30369 * io/utime.h: Likewise.
30370 * libio/bits/stdio.h: Likewise.
30371 * libio/bits/stdio2.h: Likewise.
30372 * libio/libio.h: Likewise.
30373 * libio/libioP.h: Likewise.
30374 * libio/stdio.h: Likewise.
30375 * locale/lc-ctype.c: Likewise.
30376 * locale/locale.h: Likewise.
30377 * login/utmp.h: Likewise.
30378 * malloc/arena.c: Likewise.
30379 * malloc/malloc.c: Likewise.
30380 * malloc/malloc.h: Likewise.
30381 * malloc/mcheck.c: Likewise.
30382 * malloc/mtrace.c: Likewise.
30383 * math/bits/mathcalls.h: Likewise.
30384 * math/fenv.h: Likewise.
30385 * math/math_private.h: Likewise.
30386 * misc/bits/error.h: Likewise.
30387 * misc/bits/syslog.h: Likewise.
30388 * misc/err.h: Likewise.
30389 * misc/error.h: Likewise.
30390 * misc/fstab.h: Likewise.
30391 * misc/mntent.h: Likewise.
30392 * misc/regexp.h: Likewise.
30393 * misc/search.h: Likewise.
30394 * misc/sgtty.h: Likewise.
30395 * misc/sys/mman.h: Likewise.
30396 * misc/sys/syslog.h: Likewise.
30397 * misc/sys/uio.h: Likewise.
30398 * misc/sys/xattr.h: Likewise.
30399 * misc/ttyent.h: Likewise.
30400 * nis/rpcsvc/ypclnt.h: Likewise.
30401 * nss/nss.h: Likewise.
30402 * posix/bits/unistd.h: Likewise.
30403 * posix/fnmatch.h: Likewise.
30404 * posix/glob.h: Likewise.
30405 * posix/sched.h: Likewise.
30406 * posix/spawn.h: Likewise.
30407 * posix/sys/wait.h: Likewise.
30408 * posix/unistd.h: Likewise.
30409 * posix/wordexp.h: Likewise.
30410 * pwd/pwd.h: Likewise.
30411 * resolv/netdb.h: Likewise.
30412 * resource/sys/resource.h: Likewise.
30413 * rt/aio.h: Likewise.
30414 * rt/bits/mqueue2.h: Likewise.
30415 * rt/mqueue.h: Likewise.
30416 * shadow/shadow.h: Likewise.
30417 * signal/signal.h: Likewise.
30418 * socket/send.c: Likewise.
30419 * socket/sendto.c: Likewise.
30420 * socket/sys/socket.h: Likewise.
30421 * stdio-common/printf.h: Likewise.
30422 * stdlib/bits/stdlib.h: Likewise.
30423 * stdlib/fmtmsg.h: Likewise.
30424 * stdlib/monetary.h: Likewise.
30425 * stdlib/stdlib.h: Likewise.
30426 * stdlib/ucontext.h: Likewise.
30427 * streams/stropts.h: Likewise.
30428 * string/argz.h: Likewise.
30429 * string/bits/string2.h: Likewise.
30430 * string/string.h: Likewise.
30431 * string/strings.h: Likewise.
30432 * sunrpc/rpc/auth.h: Likewise.
30433 * sunrpc/rpc/auth_des.h: Likewise.
30434 * sunrpc/rpc/clnt.h: Likewise.
30435 * sunrpc/rpc/netdb.h: Likewise.
30436 * sunrpc/rpc/pmap_clnt.h: Likewise.
30437 * sunrpc/rpc/xdr.h: Likewise.
30438 * sysdeps/generic/inttypes.h: Likewise.
30439 * sysdeps/generic/net/if.h: Likewise.
30440 * sysdeps/generic/sys/swap.h: Likewise.
30441 * sysdeps/gnu/net/if.h: Likewise.
30442 * sysdeps/gnu/utmpx.h: Likewise.
30443 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30444 * sysdeps/i386/i486/bits/string.h: Likewise.
30445 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30446 * sysdeps/s390/bits/string.h: Likewise.
30447 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30448 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30449 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30450 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30451 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30452 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30453 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30454 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30455 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30456 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30457 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30458 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30459 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30460 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30461 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30462 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30463 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30464 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30465 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30466 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30467 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30468 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30469 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30470 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30471 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30472 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30473 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30474 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30475 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30476 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30477 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30478 * sysvipc/sys/ipc.h: Likewise.
30479 * sysvipc/sys/msg.h: Likewise.
30480 * sysvipc/sys/sem.h: Likewise.
30481 * sysvipc/sys/shm.h: Likewise.
30482 * termios/termios.h: Likewise.
30483 * time/sys/time.h: Likewise.
30484 * time/time.h: Likewise.
30485 * wcsmbs/bits/wchar2.h: Likewise.
30486 * wcsmbs/uchar.h: Likewise.
30487 * wcsmbs/wchar.h: Likewise.
30488 * wctype/wctype.h: Likewise.
30489
30490 [BZ #13551]
30491 * Makeconfig: Remove all but ELF support including AIX support.
30492 * Makerules: Likewise.
30493 * config.h.in: Likewise.
30494 * config.make.in: Likewise.
30495 * configure: Likewise.
30496 * configure.in: Likewise.
30497 * csu/Makefile: Likewise.
30498 * csu/version.c: Likewise.
30499 * debug/Makefile: Likewise.
30500 * dlfcn/Makefile: Likewise.
30501 * elf/Makefile: Likewise.
30502 * extra-lib.mk: Likewise.
30503 * iconv/Makefile: Likewise.
30504 * include/libc-symbols.h: Likewise.
30505 * include/shlib-compat.h: Likewise.
30506 * resolv/Makefile: Likewise.
30507 * resolv/res_libc.c: Likewise.
30508 * rt/Makefile: Likewise.
30509 * sysdeps/i386/asm-syntax.h: Likewise.
30510 * sysdeps/i386/sysdep.h: Likewise.
30511 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30512 * sysdeps/mach/sysdep.h: Likewise.
30513 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30514 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30515 * sysdeps/s390/asm-syntax.h: Likewise.
30516 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30517 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30518 * sysdeps/sh/sysdep.h: Likewise.
30519 * sysdeps/unix/sparc/sysdep.h: Likewise.
30520 * sysdeps/wordsize-32/divdi3.c: Likewise.
30521 * sysdeps/x86_64/sysdep.h: Likewise.
30522
30523 * argp/Versions: Remove _argp_unlock_xxx.
30524
30525 [BZ #13559]
30526 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30527 * abilist/libBrokenLocale.abilist: Likewise.
30528 * abilist/libanl.abilist: Likewise.
30529 * abilist/libc.abilist: Likewise.
30530 * abilist/libcrypt.abilist: Likewise.
30531 * abilist/libdl.abilist: Likewise.
30532 * abilist/libm.abilist: Likewise.
30533 * abilist/libnsl.abilist: Likewise.
30534 * abilist/libpthread.abilist: Likewise.
30535 * abilist/libresolv.abilist: Likewise.
30536 * abilist/librt.abilist: Likewise.
30537 * abilist/libthread_db.abilist: Likewise.
30538 * abilist/libutil.abilist: Likewise.
30539 * abilist/libnss_db.abilist: New file.
30540
30541 * scripts/abilist.awk: Add support for indirect functions.
30542
30543 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30544
30545 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30546
30547 * shlib-versions: Remove entries for ports architectures.
30548
30549 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30550 files in ports.
30551 * elf/stackguard-macros.h: Remove support for IA-64.
30552 * elf/tst-auditmod1.c: Likewise.
30553 * sysdeps/generic/ldsodefs.h: Likewise.
30554
30555 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30556 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30557 configure files.
30558
30559 [BZ #13552]
30560 * configure.in: Remove --enable-omitfp support.
30561 * FAQ.in: Adjust.
30562 * config.make.in: Likewise.
30563 * Makeconfig: Likewise.
30564 * manual/install.texi: Likewise.
30565
30566 In case anyone cares, the IA-64 architecture could move to ports.
30567 * sysdeps/ia64/*: Removed.
30568 * sysdeps/unix/sysv/linux/ia64/*: Removed.
30569 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30570
30571 [BZ #13555]
30572 * configure.in: Remove entries for unsupported architectures.
30573
30574 [BZ #13533]
30575 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30576 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30577 routines.
30578 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30579 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30580 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30581 fall back to using wcrtomb.
30582 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30583 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30584 renaming.
30585 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30586 * wcsmbs/tst-c16c32-1.c: New file.
30587
30588 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30589 local variable.
30590
30591 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30592
30593 * elf/tst-unique3.cc: Add explicit declaration of gets.
30594 * elf/tst-unique3lib.cc: Likewise.
30595 * elf/tst-unique3lib2.cc: Likewise.
30596 * elf/tst-unique4.cc: Likewise.
30597
30598 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30599
306002012-01-06 Joseph Myers <joseph@codesourcery.com>
30601
30602 [BZ #13566]
30603 * assert/assert.h (static_assert): Don't define for C++.
30604 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30605 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30606
306072012-01-03 Ulrich Drepper <drepper@gmail.com>
30608
30609 * iconv/loop.c (single loop): Fix assertion in storing of
30610 remaining bytes.
30611
30612 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30613
306142012-01-01 Ulrich Drepper <drepper@gmail.com>
30615
30616 * posix/getconf.c: Update copyright year.
30617 * nss/getent.c: Likewise.
30618 * nss/makedb.c: Likewise.
30619 * iconv/iconvconfig.c: Likewise.
30620 * iconv/iconv_prog.c: Likewise.
30621 * elf/ldconfig.c: Likewise.
30622 * elf/pldd.c: Likewise.
30623 * elf/sotruss.ksh: Likewise.
30624 * catgets/gencat.c: Likewise.
30625 * csu/version.c: Likewise.
30626 * elf/ldd.bash.in: Likewise.
30627 * elf/sprof.c (print_version): Likewise.
30628 * locale/programs/locale.c: Likewise.
30629 * locale/programs/localedef.c: Likewise.
30630 * login/programs/pt_chown.c: Likewise.
30631 * nscd/nscd.c (print_version): Likewise.
30632 * debug/xtrace.sh: Likewise.
30633 * malloc/memusage.sh: Likewise.
30634 * malloc/mtrace.pl: Likewise.
30635 * debug/catchsegv.sh: Likewise.
30636
306372011-12-30 Jakub Jelinek <jakub@redhat.com>
30638
30639 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30640 pure attribute.
30641
306422011-12-24 Ulrich Drepper <drepper@gmail.com>
30643
30644 [BZ #13533]
30645 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30646 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30647 transformations.
30648 * iconv/gconv_int.h: Likewise.
30649 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30650 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30651 from libc for GLIBC_2.16.
30652 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30653 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30654 * wcsmbs/uchar.h: Really define mbstate_t.
30655 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30656 * wcsmbs/c16rtomb.c: New file.
30657 * wcsmbs/mbrtoc16.c: New file.
30658 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30659 for C/POSIX locale.
30660 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30661 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30662
30663 * wcsmbs/wchar.h: Add missing __restrict.
30664
306652011-12-23 Ulrich Drepper <drepper@gmail.com>
30666
30667 [BZ #13532]
30668 * time/Makefile (routines): Add timespec_get.
30669 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30670 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30671 timespec for ISO C11.
30672 * time/timespec_get.c: New file.
30673 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30674 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30675
30676 [BZ #13531]
30677 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30678 * stdlib/stdlib.h: Declare aligned_alloc.
30679 * Versions.def: Add GLIBC_2.16 for libc.
30680 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30681
30682 [BZ 13527]
30683 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30684 ISO C11.
30685
30686 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30687 code.
30688
30689 [BZ #13528]
30690 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30691
30692 [BZ #13529]
30693 * assert/assert.h (static_assert): Define.
30694
30695 * version.h: Update for 2.16 development version.
30696
30697 [BZ #13526]
30698 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30699 _ISOC11_SOURCE.
30700
30701 * version.h (RELEASE): Bump for 2.15 release.
30702 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30703
30704 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30705 Patch by Marek Polacek <mpolacek@redhat.com>.
30706
30707 * bits/byteswap.h: Protect long long constants with __extension__.
30708 * sysdeps/i386/bits/byteswap.h: Likewise.
30709 * sysdeps/ia64/bits/byteswap.h: Likewise.
30710 * sysdeps/s390/bits/byteswap.h: Likewise.
30711 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30712
307132011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30714
30715 [BZ #13540]
30716 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30717 destination buffer.
30718 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30719
307202011-12-23 Marek Polacek <polacek@redhat.com>
30721
30722 * elf/dl-addr.c (determine_info): Add inline keyword.
30723 * elf/tst-auditmod4b.c (check_avx): Likewise.
30724 * elf/tst-auditmod6b.c (check_avx): Likewise.
30725 * elf/tst-auditmod6c.c (check_avx): Likewise.
30726 * elf/tst-auditmod7b.c (check_avx): Likewise.
30727
307282011-12-23 Ulrich Drepper <drepper@gmail.com>
30729
30730 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30731 !__SSE_MATH__.
30732
307332011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30734
30735 [BZ #13540]
30736 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30737 processing for last bytes.
30738
307392011-08-06 Bruno Haible <bruno@clisp.org>
30740
30741 [BZ #13061]
30742 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30743 U+0385, not to U+1FEE.
30744
30745 [BZ #13062]
30746 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30747 entry for U+00A5 U+0301.
30748
307492011-12-22 Ulrich Drepper <drepper@gmail.com>
30750
30751 [BZ #13166]
30752 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30753 buffer for the output is too small.
30754
30755 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30756 optimization.
30757
30758 [BZ #13185]
30759 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30760 SSE flags if possible.
30761
307622011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30763
30764 [BZ #13540]
30765 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30766 processing for last bytes.
30767
307682011-12-22 Joseph Myers <joseph@codesourcery.com>
30769
30770 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30771 (syscall-list-default-options, syscall-list-default-condition)
30772 (syscall-list-includes): Define.
30773 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30774 list of ABIs and options and #if conditions for each ABI. Do not
30775 handle common syscalls between ABIs specially.
30776 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30777 Remove.
30778 (syscall-list-variants, syscall-list-32bit-options)
30779 (syscall-list-32bit-condition, syscall-list-64bit-options)
30780 (syscall-list-64bit-condition): Define.
30781 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30782 (syscall-list-variants, syscall-list-32bit-options)
30783 (syscall-list-32bit-condition, syscall-list-64bit-options)
30784 (syscall-list-64bit-condition): Define.
30785 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30786 Remove.
30787 (syscall-list-variants, syscall-list-32bit-options)
30788 (syscall-list-32bit-condition, syscall-list-64bit-options)
30789 (syscall-list-64bit-condition): Define.
30790 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30791 Remove.
30792 (syscall-list-variants, syscall-list-32bit-options)
30793 (syscall-list-32bit-condition, syscall-list-64bit-options)
30794 (syscall-list-64bit-condition): Define.
30795
307962011-12-22 Ulrich Drepper <drepper@gmail.com>
30797
30798 * locale/iso-639.def: Add brx entry.
30799
30800 [BZ #13328]
30801 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30802 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30803
30804 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30805 __feraiseexcept_renamed.
30806
308072011-12-21 Ulrich Drepper <drepper@gmail.com>
30808
30809 [BZ #13538]
30810 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30811 EPOLLET with unsigned values.
30812 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30813 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30814
30815 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30816 to large cancellation.
30817 * math/s_cacoshf.c: Likewise.
30818 * math/s_cacoshl.c: Likewise.
30819
308202011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30821
30822 [BZ #13305]
30823 [BZ #12786]
30824 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30825 * math/s_cacoshf.c: Likewise.
30826 * math/s_cacoshl.c: Likewise.
30827
308282011-12-21 Ulrich Drepper <drepper@gmail.com>
30829
30830 [BZ #13439]
30831 * iconv/gconv.h: Define __GCONV_SWAP.
30832 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30833 * iconvdata/utf-16.c: Likewise.
30834 * iconvdata/utf-32.c: Likewise.
30835
308362011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30837
30838 [BZ #13524]
30839 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30840 numerator after shifting it by one limb.
30841
308422011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30843
30844 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30845 under [__USE_EXTERN_INLINES].
30846
308472011-12-17 Ulrich Drepper <drepper@gmail.com>
30848
30849 [BZ #13446]
30850 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30851
308522011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30853
30854 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30855 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30856 optimized code.
30857 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30858 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30859 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30860 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30861 for strncasecmp/strncasecmp_l compilation.
30862 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30863 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30864
308652011-12-08 Marek Polacek <mpolacek@redhat.com>
30866
30867 [BZ #13484]
30868 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30869 of __asm__.
30870
308712011-12-17 Ulrich Drepper <drepper@gmail.com>
30872
30873 [BZ #13506]
30874 * time/tzfile.c (__tzfile_read): Check values from file header.
30875
308762011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30877
30878 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30879 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30880 * powerpc/powerpc32/dl-start.S: Likewise.
30881 * powerpc/powerpc32/elf/start.S: Likewise.
30882 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30883 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30884 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30885 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30886 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30887 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30888 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30889 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30890 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30891 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30892 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30893 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30894 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30895 * powerpc/powerpc32/memset.S: Likewise.
30896 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30897 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30898 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30899 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30900 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30901 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30902 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30903 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30904 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30905 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30906 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30907 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30908 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30909
309102011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30911
30912 * math/libm-test.inc: Added more nearbyint tests.
30913 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30914 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30915 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30916 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30917
309182011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30919
30920 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30921 FD_CLOEXEC.
30922
309232011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30924
30925 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30926 Add wcscpy-ssse3 wcscpy-c.
30927 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30928 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30929 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30930 * sysdeps/x86_64/wcschr.S: New file.
30931 * sysdeps/x86_64/wcsrchr.S: New file.
30932 * string/test-strcmp.c: Remove checking of wcscmp function for
30933 wrong alignments.
30934 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30935 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30936 wcsrchr-sse2 wcsrchr-c.
30937 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30938 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30939 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30940 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30941 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30942 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30943 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30944 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30945 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30946 * wcsmbc/wcschr.c (WCSCHR): New macro.
30947
309482011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30949
30950 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30951 * wcsmbs/test-wcsrchr.c: New file.
30952 * string/test-strrchr.c: Add wcsrchr support.
30953 (WIDE): New macro.
30954 * wcsmbs/test-wcscpy.c: New file.
30955 * string/test-strcpy.c: Add wcscpy support.
30956 (WIDE): New macro.
30957
309582011-12-10 Ulrich Drepper <drepper@gmail.com>
30959
30960 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30961 the inner loop.
30962
309632011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30964
30965 [BZ #13472]
30966 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30967
309682011-12-04 Ulrich Drepper <drepper@gmail.com>
30969
30970 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
30971 Minor optimizations.
30972
30973 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30974 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30975 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30976
309772011-12-03 Ulrich Drepper <drepper@gmail.com>
30978
30979 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30980 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30981 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30982 for gcc to avoid warnings.
30983 * inet/Makefile (tests): Add tst-checks.
30984 * inet/tst-checks.c: New file.
30985
30986 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30987 warning.
30988
30989 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30990 __wmemcmp_sse2.
30991
30992 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30993 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30994
30995 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30996
309972011-12-02 Ulrich Drepper <drepper@gmail.com>
30998
30999 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31000 problem.
31001
31002 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31003
310042011-11-29 Joseph Myers <joseph@codesourcery.com>
31005
31006 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31007 conditional on GCC version.
31008 (__arch_compare_and_exchange_val_8_acq)
31009 (__arch_compare_and_exchange_val_16_acq)
31010 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31011 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31012 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31013
310142011-12-02 Joseph Myers <joseph@codesourcery.com>
31015
31016 * sysdeps/sh/backtrace.c: New file.
31017
310182011-12-02 Andreas Schwab <schwab@redhat.com>
31019
31020 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31021 parenthesis.
31022
310232011-12-01 Andreas Schwab <schwab@redhat.com>
31024
31025 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31026 falling back to utime.
31027
310282011-11-30 Andreas Schwab <schwab@redhat.com>
31029
31030 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31031 expectations for float.
31032
310332011-11-29 Andreas Schwab <schwab@redhat.com>
31034
31035 * locale/weight.h (findidx): Add parameter len.
31036 * locale/weightwc.h (findidx): Likewise.
31037 * posix/fnmatch_loop.c (FCT): Adjust caller.
31038 * posix/regcomp.c (build_equiv_class): Likewise.
31039 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31040 * posix/regexec.c (check_node_accept_bytes): Likewise.
31041 * string/strcoll_l.c (STRCOLL): Likewise.
31042 * string/strxfrm_l.c (STRXFRM): Likewise.
31043
310442011-11-17 Ulrich Drepper <drepper@gmail.com>
31045
31046 * Makefile.in: Remove CVSOPT handling.
31047 * configure.in: Remove use of AC_REVISION.
31048 * iconvdata/Makefile (distribute): No need to filter out CVS.
31049 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31050 handling.
31051
310522011-11-16 Andreas Schwab <schwab@redhat.com>
31053
31054 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31055 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31056 [USE_AS_STRNCASECMP_L]: Likewise.
31057 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31058 NO_TLS_DIRECT_SEG_REFS.
31059 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31060 Fix argument offsets for non-PIC.
31061 [USE_AS_STRNCASECMP_L]: Likewise.
31062 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31063 NO_TLS_DIRECT_SEG_REFS.
31064
310652011-11-15 Ulrich Drepper <drepper@gmail.com>
31066
31067 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31068 O_CLOEXEC.
31069 * locale/loadlocale.c (_nl_load_locale): Likewise.
31070
310712011-11-15 Andreas Schwab <schwab@redhat.com>
31072
31073 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31074 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31075 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31076 (SYSCALL_GETTIME): Set errno on error.
31077
31078 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31079 count references to noai6ai_cached.
31080
310812011-11-15 Ulrich Drepper <drepper@gmail.com>
31082
31083 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31084
31085 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31086 FD_CLOEXEC for /proc/self/maps.
31087
31088 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31089 FD_CLOEXEC for /proc/meminfo.
31090
31091 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31092 gai.conf.
31093
31094 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31095 FD_CLOEXEC for given file.
31096
31097 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31098
31099 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31100 FD_CLOEXEC for /etc/hosts.
31101 (_gethtent): Likewise.
31102
31103 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31104
31105 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31106 cancellation and set FD_CLOEXEC for /etc/netgroup.
31107
31108 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31109 reading /etc/publickey.
31110
31111 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31112 allow cancellation when reading /etc/group.
31113
31114 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31115 cancellation.
31116 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31117
31118 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31119 when using data file.
31120
31121 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31122
31123 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31124 (write_nis_obj): Use "c" and "e" in fopen.
31125
31126 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31127
31128 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31129
31130 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31131
31132 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31133
31134 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31135 locale.alias.
31136
31137 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31138
31139 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31140
31141 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31142
31143 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31144 file parsing and set FD_CLOEXEC.
31145
311462011-11-14 Ulrich Drepper <drepper@gmail.com>
31147
31148 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31149
311502011-11-14 Andreas Schwab <schwab@redhat.com>
31151
31152 * malloc/arena.c (arena_get2): Don't call reused_arena when
31153 _int_new_arena failed.
31154
311552011-11-14 Ulrich Drepper <drepper@gmail.com>
31156
31157 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31158 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31159 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31160 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31161 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31162 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31163 to compile strcasecmp and strncasecmp.
31164 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31165 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31166
31167 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31168
311692011-11-13 Ulrich Drepper <drepper@gmail.com>
31170
31171 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31172 locale-defines.sym to gen-as-const-headers.
31173 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31174 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31175 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31176 to compile strcasecmp and strncasecmp.
31177 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31178 strcasecmp_l and strncasecmp_l.
31179 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31180 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31181 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31182 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31183 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31184 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31185 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31186 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31187 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31188 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31189 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31190
311912011-11-12 Ulrich Drepper <drepper@gmail.com>
31192
31193 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31194 result of SYSDEP_GETTIME_CPU to retval.
31195 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31196 parameter list to macro. Remove trailing semicolon. Adjust users.
31197
31198 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31199 variable.
31200
31201 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31202 mantissa words.
31203 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31204
31205 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31206 from unused variable.
31207
31208 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31209 DWARF definitions.
31210 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31211 for assembling.
31212
31213 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31214 over namespaces.
31215
31216 * sunrpc/rpc_prot.c (rejected): Fix case value.
31217
31218 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31219 unsigned long long int to avoid warnings in shift.
31220
31221 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31222 of use of trans.
31223 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31224 variable tmp.
31225
31226 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31227 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31228 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31229
31230 * nis/nis_table.c (nis_list): Use variable of correct type for
31231 result of __follow_path call.
31232
312332011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31234
31235 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31236 of math functions ceil, trunc, floor, round, and sqrt, when
31237 avaliable on the platform.
31238 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31239 name clash.
31240 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31241 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31242 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31243
312442011-10-30 Marek Polacek <mpolacek@redhat.com>
31245
31246 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31247 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31248
312492011-11-11 Roland McGrath <roland@hack.frob.com>
31250
31251 * include/unistd.h: Fix __readlink return type.
31252 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31253
312542011-11-11 Ulrich Drepper <drepper@gmail.com>
31255
31256 * stdlib/ucontext.h: Undo last change for makecontext.
31257
312582011-11-11 Andreas Schwab <schwab@redhat.com>
31259
31260 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31261
31262 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31263 * setjmp/setjmp.h: Mark functions as non-leaf.
31264 * setjmp/bits/setjmp2.h: Likewise.
31265 * stdlib/ucontext.h: Likewise.
31266
312672011-11-10 Andreas Schwab <schwab@redhat.com>
31268
31269 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31270 (reused_arena): Don't check arena limit.
31271 (arena_get2): Atomically check arena limit.
31272
312732011-11-08 Ulrich Drepper <drepper@gmail.com>
31274
31275 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31276 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31277
31278 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31279 instructions.
31280
312812011-11-07 Andreas Schwab <schwab@redhat.com>
31282
31283 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31284 handler when locking.
31285
31286 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31287 Fix size of allocated buffer.
31288
312892011-11-04 Andreas Schwab <schwab@redhat.com>
31290
31291 [BZ #10103]
31292 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31293 declarations for long double functions.
31294 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31295
31296 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31297
312982011-11-03 Andreas Schwab <schwab@redhat.com>
31299
31300 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31301 installed.
31302
31303 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31304 is disabled.
31305
313062011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31307
31308 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31309
313102011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31311
31312 * include/alloca.h (stackinfo_alloca_round): Define.
31313 (extend_alloca): Use it.
31314 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31315 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31316 here.
31317
31318 * scripts/check-local-headers.sh: Ignore libaudit.h.
31319
31320 * nscd/Makefile (extra-objs): Make recursively expanded.
31321
313222011-11-01 Ulrich Drepper <drepper@gmail.com>
31323
31324 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31325 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31326
31327 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31328 * posix/tst-rfc3484-2.c: Likewise.
31329 * posix/tst-rfc3484-3.c: Likewise.
31330
31331 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31332 process_vm_writev.
31333 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31334 process_vm_writev.
31335 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31336 process_vm_writev from libc using GLIBC_2.15 version.
31337
31338 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31339
313402011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31341
31342 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31343 stack usage.
31344
313452011-10-31 Ulrich Drepper <drepper@gmail.com>
31346
31347 [BZ #13367]
31348 * nss/getent.c (initgroups_keys): Show error message in case no group
31349 names are given.
31350
31351 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31352 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31353 __bump_nl_timestamp.
31354 * nscd/connections (nscd_init): When host database is served open
31355 netlink socket and request notification about configuration changes.
31356 (main_loop_poll): Track netlink file descriptor and bump timestamp
31357 in case data becomes available.
31358 (main_loop_epoll): Likewise.
31359 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31360 (database_pers_head): Add extra_data fileds.
31361 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31362 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31363 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31364 Adjust caller.
31365 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31366 in6ai data, call __free_in6ai.
31367 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31368 Add -DHAVE_NETLINK.
31369 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31370 interface information. Reuse previous data if netlink timestamp
31371 is not changed.
31372 (__bump_nl_timestamp): New function.
31373 (__free_in6ai): New function.
31374
313752011-10-30 Ulrich Drepper <drepper@gmail.com>
31376
31377 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31378 close_not_cancel_no_status here.
31379 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31380
313812011-10-29 Ulrich Drepper <drepper@gmail.com>
31382
31383 [BZ #13276]
31384 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31385 return value.
31386
31387 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
31388 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31389 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31390
313912011-07-03 Andreas Jaeger <aj@suse.de>
31392
31393 [BZ #10709]
31394 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31395 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31396 * math/libm-test.inc (sin_test): Add test case.
31397
313982011-10-29 Ulrich Drepper <drepper@gmail.com>
31399
31400 [BZ #13337]
31401 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31402 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31403
31404 * elf/chroot_canon.c (chroot_canon): Cleanups.
31405
31406 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31407
31408 [BZ #13335]
31409 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31410 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31411
31412 * string/test-strchr.c: Make usable for strchrnul testing.
31413 * string/test-strchrnul.c: New file.
31414 * string/Makefile (strop-tests): Add strchrnul.
31415
31416 * po/it.po: Update from translation team.
31417 * po/es.po: Likewise.
31418
314192011-10-28 Ulrich Drepper <drepper@gmail.com>
31420
31421 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31422 the three constants needed as parameters. Drop the others.
31423 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31424 __m128i_strloadu_tolower.
31425 Create and initialize variable zero and use it in all the places
31426 where _mm_setzero_si128 was used.
31427
31428 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31429 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31430 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31431 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31432 anymore.
31433 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31434 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31435 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31436 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31437 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31438 __mpranred, __mptan.
31439 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31440 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31441 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31442 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31443 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31444 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31445 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31446 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31447 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31448
314492011-10-28 Andreas Schwab <schwab@redhat.com>
31450
31451 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31452 redefine if SHARED.
31453 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31454
31455 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31456 wide char related routines to wcsmbs subdir.
31457
314582011-10-27 Andreas Schwab <schwab@redhat.com>
31459
31460 [BZ #13344]
31461 * misc/sys/cdefs.h (__THROWNL): Define.
31462 * posix/unistd.h: Use __THREADNL instead of __THREAD
31463 for memory synchronization functions.
31464
314652011-10-26 Roland McGrath <roland@hack.frob.com>
31466
31467 [BZ #13349]
31468 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31469 doesn't exist.
31470 * manual/stdio.texi (Obstack Streams): Node removed.
31471
314722011-10-26 Andreas Schwab <schwab@redhat.com>
31473
31474 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31475 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31476 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31477
31478 * math/math_private.h (math_force_eval): Allow non-addressable
31479 arguments.
31480 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31481
314822011-10-25 Ulrich Drepper <drepper@gmail.com>
31483
31484 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31485 file is not needed.
31486
31487 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31488 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31489 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31490 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31491 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31492 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31493 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31494 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31495 Add AVX variants.
31496 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31497 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31498 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31499 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31500 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31501 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31502 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31503 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31504 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31505 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31506 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31507 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31508 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31509 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31510 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31511 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31512 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31513 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31514 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31515
31516 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31517 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31518
31519 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31520 place. Use VEX encoding when compiling for AVX.
31521
315222011-10-25 Andreas Schwab <schwab@redhat.com>
31523
31524 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31525 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31526
31527 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31528
315292011-10-25 Ulrich Drepper <drepper@gmail.com>
31530
31531 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31532 useless if() expression.
31533 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31534 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31535 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31536 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31537 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31538 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31539 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31540 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31541 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31542 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31543 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31544 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31545 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31546 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31547 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31548 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31549 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31550 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31551 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31552
31553 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31554
315552011-10-25 Andreas Schwab <schwab@redhat.com>
31556
31557 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31558 condition.
31559 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31560
315612011-10-25 Ulrich Drepper <drepper@gmail.com>
31562
31563 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31564 .text section. Avoid duplicate constants.
31565 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31566 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31567 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31568 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31569 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31570 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31571 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31572 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31573 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31574 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31575 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31576 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31577 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31578 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31579 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31580 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31581 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31582 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31583 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31584 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31585 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31586 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31587 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31588 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31589 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31590 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31591 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31592 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31593 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31594 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31595 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31596 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31597 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31598 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31599 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31600 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31601 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31602 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31603 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31604 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31605 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31606 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31607 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31608 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31609 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31610
316112011-10-24 Ulrich Drepper <drepper@gmail.com>
31612
31613 * sysdeps/x86_64/dla.h: Move to ...
31614 * sysdeps/x86_64/fpu/dla.h: ...here.
31615 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31616 situations. Use __builtin_fma only for gcc 4.6 and up.
31617
31618 * config.make.in: Add have-mfma4 entry.
31619 * configure.in: Substitute libc_cv_cc_fma4.
31620 * math/Makefile (dbl-only-routines): Add sincostab.
31621 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31622 Use __sincostab not sincos.
31623 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31624 name is a macro.
31625 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31626 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31627 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31628 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31629 using __copysign.
31630 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31631 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31632 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31633 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31634 and __inv.
31635 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31636 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31637 __copysign.
31638 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31639 define aliases when function name is a macro.
31640 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31641 sysdeps/ieee754/dbl-64/sincos.tbl.
31642 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31643 fma4-enabled routines.
31644 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31645 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31646 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31647 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31648 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31649 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31650 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31651 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31652 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31653 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31654 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31655 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31656 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31657 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31658 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31659 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31660 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31661 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31662 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31663 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31664 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31665 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31666 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31667 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31668 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31669 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31670 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31671 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31672 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31673 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31674
31675 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31676 rename.
31677 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31678 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31679 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31680 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31681 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31682 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31683 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31684 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31685
316862011-10-24 Andreas Schwab <schwab@redhat.com>
31687
31688 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31689
316902011-10-23 Ulrich Drepper <drepper@gmail.com>
31691
31692 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31693
31694 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31695 prediction.
31696 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31697
31698 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31699 Remove unused variable magic_bits.
31700 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31701
31702 * string/strnlen.c: Define and use STRNLEN macro.
31703 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31704 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31705 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31706 * wcsmbs/wcslen.c: Define and use WCSLEN.
31707 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31708 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31709 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31710 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31711 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31712 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31713 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31714
317152011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31716
31717 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31718 strnlen-sse2-no-bsf.
31719 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31720 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31721 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31722 Add strnlen support.
31723 (USE_AS_STRNLEN): New macro.
31724 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31725 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31726 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31727 * sysdeps/x86_64/wcslen.S: New file.
31728
317292011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31730
31731 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31732 XMM-moves are used for copying on small sizes.
31733
317342011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31735
31736 * wcsmbs/Makefile (strop-tests): Add wcschr.
31737 * wcsmbs/test-wcschr.c: New file.
31738 * string/test-strchr.c: Update.
31739 Add wcschr support.
31740 (WIDE): New macro.
31741
317422011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31743
31744 * wcsmbs/Makefile (strop-tests): Add wcslen.
31745 * wcsmbs/test-wcslen.c: New file.
31746 * string/test-strlen.c: Update.
31747 Add wcslen support.
31748 (WIDE): New macro.
31749
317502011-10-23 Ulrich Drepper <drepper@gmail.com>
31751
31752 * po/it.po: Update from translation team.
31753
317542011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31755
31756 * sysdeps/x86_64/wcscmp.S: Update.
31757 Fix wrong comparison semantics.
31758 wcscmp shall use signed comparison not unsigned.
31759 Don't use substraction to avoid overflow bug.
31760 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31761 * wcsmbc/wcscmp.c: Likewise.
31762 * string/test-strcmp.c: Likewise.
31763 Add new tests to check cases with negative values.
31764
317652011-10-23 Ulrich Drepper <drepper@gmail.com>
31766
31767 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31768 * sysdeps/x86_64/dla.h: ...here. New file.
31769 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31770 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31771 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31772 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31773 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31774 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31775 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31776 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31777 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31778
317792011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31780
31781 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31782 __ynl_finite aliases.
31783
317842011-10-22 Ulrich Drepper <drepper@gmail.com>
31785
31786 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31787
31788 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31789 define DLA_FMA.
31790 [DLA_FMA] (EMULV): Use DLA_FMA.
31791 [DLA_FMA] (MUL12): Use EMULV.
31792 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31793 that are not needed.
31794 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31795 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31796 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31797 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31798 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31799 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31800 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31801
318022011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31803
31804 * math/s_nan.c: Undef __nan.
31805 * math/s_nanf.c: Undef __nanf.
31806 * math/s_nanl.c: Undef __nanl.
31807 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31808 "math_private.h".
31809
318102011-10-22 Ulrich Drepper <drepper@gmail.com>
31811
31812 * math/s_catan.c: Add branch predictions.
31813 * math/s_catanf.c: Likewise.
31814 * math/s_catanh.c: Likewise.
31815 * math/s_catanhf.c: Likewise.
31816 * math/s_catanhl.c: Likewise.
31817 * math/s_catanl.c: Likewise.
31818 * math/s_cexp.c: Likewise.
31819 * math/s_cexpf.c: Likewise.
31820 * math/s_cexpl.c: Likewise.
31821 * math/s_clog.c: Likewise.
31822 * math/s_clog10.c: Likewise.
31823 * math/s_clog10f.c: Likewise.
31824 * math/s_clog10l.c: Likewise.
31825 * math/s_clogf.c: Likewise.
31826 * math/s_clogl.c: Likewise.
31827 * math/s_csqrt.c: Likewise.
31828 * math/s_csqrtf.c: Likewise.
31829 * math/s_csqrtl.c: Likewise.
31830 * math/s_ctanf.c: Likewise.
31831 * math/s_ctanh.c: Likewise.
31832 * math/s_ctanhf.c: Likewise.
31833 * math/s_ctanhl.c: Likewise.
31834 * math/s_ctanl.c: Likewise.
31835
31836 * math/math_private.h: Define __nan, __nanf, __nanl.
31837 * math/s_cacosh.c: Include <math_private.h>.
31838 * math/s_cacoshl.c: Likewise.
31839 * math/s_casinh.c: Likewise.
31840 * math/s_casinhf.c: Likewise.
31841 * math/s_casinhl.c: Likewise.
31842 * math/s_ccos.c: Rely entire on ccosh.
31843 * math/s_ccosf.c: Rely entire on ccoshf.
31844 * math/s_ccosl.c: Rely entirely on ccoshl.
31845 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31846 Remove tests for FE_INVALID.
31847 * math/s_ccoshf.c: Likewise.
31848 * math/s_ccoshl.c: Likewise.
31849 * math/s_csin.c: Likewise.
31850 * math/s_csinf.c: Likewise.
31851 * math/s_csinh.c Likewise.
31852 * math/s_csinhf.c: Likewise.
31853 * math/s_csinhl.c: Likewise.
31854 * math/s_csinl.c: Likewise.
31855 * math/s_ctan.c: Likewise.
31856 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31857 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31858 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31859
318602011-10-21 Ulrich Drepper <drepper@gmail.com>
31861
31862 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31863 compilation problems.
31864
31865 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31866 __builtin_expect.
31867
318682011-10-20 Ulrich Drepper <drepper@gmail.com>
31869
31870 * sysdeps/i386/configure.in: Test for -mfma4 option.
31871 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31872 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31873 COMMON_CPUID_INDEX_80000001.
31874 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31875 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31876 use it if FMA3 is not supported.
31877 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31878
31879 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31880 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31881
318822011-10-20 Andreas Schwab <schwab@redhat.com>
31883
31884 [BZ #12892]
31885 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31886 it would create a cycle with a link time dependency.
31887
318882011-10-19 Ulrich Drepper <drepper@gmail.com>
31889
31890 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31891 instruction.
31892 * string/Makefile (strop-tests): Add rawmemchr.
31893 * string/test-rawmemchr.c: New file.
31894
31895 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31896 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31897 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31898 when compiling str{,n}casecmp and when AVX is available. Hook up
31899 new optimized code in initializers.
31900
319012011-10-19 Andreas Schwab <schwab@redhat.com>
31902
31903 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31904 __feraiseexcept instead of feraiseexcept.
31905
319062011-10-18 Ulrich Drepper <drepper@gmail.com>
31907
31908 * math/math_private.h: Define defaults for libc_fetestexcept and
31909 libc_feupdateenv.
31910 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31911 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31912 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31913 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31914 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31915 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31916 libc_fetestexcept and libc_feupdateenv.
31917
31918 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31919 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31920 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31921 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31922 libc_feholdexcept_setround.
31923
31924 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31925 Add s_nearbyint-c and s_nearbyintf-c.
31926 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31927 nearbyintf inlines.
31928 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31929 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31930 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31931 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31932
31933 * math/math_private.h: Define defaults for libc_fegetround,
31934 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31935 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31936 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31937 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31938 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31939 standard functions.
31940 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31941 Remove comments and hacks for old compiler versions.
31942 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31943 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31944 libc_feholdexceptl.
31945
319462011-10-18 Andreas Schwab <schwab@redhat.com>
31947
31948 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
31949 (__feraiseexcept_renamed): Add __NTH.
31950 (feraiseexcept): Add __NTH. Rename local variables to fix
31951 namespace violations.
31952
319532011-10-17 Ulrich Drepper <drepper@gmail.com>
31954
31955 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31956
31957 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31958
31959 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31960 recently added interfaces.
31961 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31962
31963 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31964 about macro parameter expansion.
31965
31966 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31967 __NO_MATH_INLINES is defined. Cleanups.
31968
31969 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31970 and __floorf is target has SSE4.1.
31971 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31972 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31973 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31974 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31975
31976 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31977 name.
31978 (floorf): Likewise.
31979
31980 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31981
319822011-10-17 Andreas Schwab <schwab@redhat.com>
31983
31984 * misc/sys/cdefs.h: Fix last change.
31985
31986 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31987 database lookup.
31988
319892011-10-16 Ulrich Drepper <drepper@gmail.com>
31990
31991 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31992
31993 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31994 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31995 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31996 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31997 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31998 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31999 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32000 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32001 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32002 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32003 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32004 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32005 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32006 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32007 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32008 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32009 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32010 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32011 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32012 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32013 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32014 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32015
32016 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32017 ceil, ceilf, floor, floorf.
32018
32019 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32020 Perform IRELATIVE relocations last.
32021
32022 * elf/do-rel.h: Add another parameter nrelative, replacing the
32023 local variable with the same name. Change name of the function
32024 to end in Rel or Rela (uppercase).
32025 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32026 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32027 elf_dynamic_do_##reloc function.
32028
320292011-10-15 Ulrich Drepper <drepper@gmail.com>
32030
32031 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32032 is sufficient, at least on modern CPUs.
32033
32034 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32035
32036 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32037 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32038
32039 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32040 __expl_finite.
32041 * math/bits/math-finite.h: Add entries for exp.
32042 * math/e_expl.c: Add __*_finite alias.
32043 * sysdeps/i386/fpu/e_exp.S: Likewise.
32044 * sysdeps/i386/fpu/e_expf.S: Likewise.
32045 * sysdeps/i386/fpu/e_expl.c: Likewise.
32046 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32047 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32048 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32049 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32050 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32051 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32052 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32053
32054 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32055 is sufficient, at least on modern CPUs.
32056
32057 * ctype/ctype-info.c (__ctype_init): Define.
32058 * include/ctype.h (__ctype_init): Declare.
32059 (__ctype_b_loc): The variable is always initialized.
32060 (__ctype_toupper_loc): Likewise.
32061 (__ctype_tolower_loc): Likewise.
32062 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32063 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32064
320652011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32066
32067 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32068
32069 * configure.in: Also look in $cxxmachine/include for C++ system
32070 headers.
32071
320722011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32073
32074 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32075 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32076 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32077 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32078 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32079 (USE_AS_WMEMCMP): New macro.
32080 Fixing indents.
32081 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32082 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32083 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32084 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32085 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32086 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32087 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32088 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32089 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32090 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32091 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32092 (USE_AS_WMEMCMP): New macro.
32093 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32094 * sysdeps/string/test-memcmp.c: Update.
32095 Fix simple_wmemcmp.
32096 Add new tests.
32097 * wcsmbs/wmemcmp.c: Update.
32098 (WMEMCMP): New macro.
32099 Fix overflow bug.
32100
321012011-10-12 Andreas Jaeger <aj@suse.de>
32102
32103 [BZ #13268]
32104 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32105
321062011-10-15 Ulrich Drepper <drepper@gmail.com>
32107
32108 * libio/iofwide.c (do_length): Avoid warning.
32109
32110 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32111
321122011-10-14 Ulrich Drepper <drepper@gmail.com>
32113
32114 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32115
32116 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32117 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32118 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32119 * sysdeps/i386/i686/fpu/e_log.S: New file.
32120 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32121 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32122
32123 * ctype/ctype.h: Add support for inlined isXXX functions when
32124 compiling C++ code.
32125
321262011-10-14 Andreas Schwab <schwab@redhat.com>
32127
32128 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32129
32130 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32131
321322011-10-13 Roland McGrath <roland@hack.frob.com>
32133
32134 [BZ #13291]
32135 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32136
321372011-10-13 Andreas Schwab <schwab@redhat.com>
32138
32139 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32140 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32141 feraiseexcept.
32142
32143 * sysdeps/x86_64/memrchr.S: Check for zero size.
32144
32145 * string/stratcliff.c: Add memrchr tests.
32146
321472011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32148
32149 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32150 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32151 rawmemchr-sse2 rawmemchr-sse2-bsf.
32152 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32153 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32154 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32155 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32156 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32157 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32158 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32159 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32160 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32161 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32162 * string/memrchr.c (MEMRCHR): New macro.
32163
321642011-10-12 Ulrich Drepper <drepper@gmail.com>
32165
32166 Add integration with gcc's -ffinite-math-only and optimize wrapper
32167 functions in libm.
32168 * Versions.def: Define GLIBC_2.15 version for libm.
32169 * math/Makefile (headers): Add bits/math-finite.h.
32170 * math/bits/math-finite.h: New file.
32171 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32172 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32173 * math/e_acoshl.c: Add __*_finite alias.
32174 * math/e_acosl.c: Likewise.
32175 * math/e_asinl.c: Likewise.
32176 * math/e_atan2l.c: Likewise.
32177 * math/e_atanhl.c: Likewise.
32178 * math/e_coshl.c: Likewise.
32179 * math/e_exp10.c: Likewise.
32180 * math/e_exp10f.c: Likewise.
32181 * math/e_exp10l.c: Likewise.
32182 * math/e_exp2l.c: Likewise.
32183 * math/e_fmodl.c: Likewise.
32184 * math/e_gammal_r.c: Likewise.
32185 * math/e_hypotl.c: Likewise.
32186 * math/e_j0l.c: Likewise.
32187 * math/e_j1l.c: Likewise.
32188 * math/e_jnl.c: Likewise.
32189 * math/e_lgammal_r.c: Likewise.
32190 * math/e_log10l.c: Likewise.
32191 * math/e_log2l.c: Likewise.
32192 * math/e_logl.c: Likewise.
32193 * math/e_powl.c: Likewise.
32194 * math/e_sinhl.c: Likewise.
32195 * math/e_sqrtl.c: Likewise.
32196 * math/e_scalb.c: Completely rewritten and optimized.
32197 * math/e_scalbf.c: Likewise.
32198 * math/e_scalbl.c: Likewise.
32199 * math/w_acos.c: Likewise.
32200 * math/w_acosf.c: Likewise.
32201 * math/w_acosl.c: Likewise.
32202 * math/w_acosh.c: Likewise.
32203 * math/w_acoshf.c: Likewise.
32204 * math/w_acoshl.c: Likewise.
32205 * math/w_asin.c: Likewise.
32206 * math/w_asinf.c: Likewise.
32207 * math/w_asinl.c: Likewise.
32208 * math/w_atan2.c: Likewise.
32209 * math/w_atan2f.c: Likewise.
32210 * math/w_atan2l.c: Likewise.
32211 * math/w_atanh.c: Likewise.
32212 * math/w_atanhf.c: Likewise.
32213 * math/w_atanhl.c: Likewise.
32214 * math/w_exp10.c: Likewise.
32215 * math/w_exp10f.c: Likewise.
32216 * math/w_exp10l.c: Likewise.
32217 * math/w_fmod.c: Likewise.
32218 * math/w_fmodf.c: Likewise.
32219 * math/w_fmodl.c: Likewise.
32220 * math/w_j0.c: Likewise.
32221 * math/w_j0f.c: Likewise.
32222 * math/w_j0l.c: Likewise.
32223 * math/w_j1.c: Likewise.
32224 * math/w_j1f.c: Likewise.
32225 * math/w_j1l.c: Likewise.
32226 * math/w_jn.c: Likewise.
32227 * math/w_jnf.c: Likewise.
32228 * math/w_log.c: Likewise.
32229 * math/w_logf.c: Likewise.
32230 * math/w_logl.c: Likewise.
32231 * math/w_log10.c: Likewise.
32232 * math/w_log10f.c: Likewise.
32233 * math/w_log10l.c: Likewise.
32234 * math/w_log2.c: Likewise.
32235 * math/w_log2f.c: Likewise.
32236 * math/w_log2l.c: Likewise.
32237 * math/w_pow.c: Likewise.
32238 * math/w_powf.c: Likewise.
32239 * math/w_powl.c: Likewise.
32240 * math/w_remainder.c: Likewise.
32241 * math/w_remainderf.c: Likewise.
32242 * math/w_remainderl.c: Likewise.
32243 * math/w_scalb.c: Likewise.
32244 * math/w_scalbf.c: Likewise.
32245 * math/w_scalbl.c: Likewise.
32246 * math/w_sqrt.c: Likewise.
32247 * math/w_sqrtf.c: Likewise.
32248 * math/w_sqrtl.c: Likewise.
32249 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32250 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32251 used.
32252 * math/math_private.h: Declare __kernel_standard_f.
32253 * math/w_cosh.c: Remove cruft and optimize a bit.
32254 * math/w_coshf.c: Likewise.
32255 * math/w_coshl.c: Likewise.
32256 * math/w_exp2.c: Likewise.
32257 * math/w_exp2f.c: Likewise.
32258 * math/w_exp2l.c: Likewise.
32259 * math/w_hypot.c: Likewise.
32260 * math/w_hypotf.c: Likewise.
32261 * math/w_hypotl.c: Likewise.
32262 * math/w_lgamma.c: Likewise.
32263 * math/w_lgamma_r.c: Likewise.
32264 * math/w_lgammaf.c: Likewise.
32265 * math/w_lgammaf_r.c: Likewise.
32266 * math/w_lgammal.c: Likewise.
32267 * math/w_lgammal_r.c: Likewise.
32268 * math/w_sinh.c: Likewise.
32269 * math/w_sinhf.c: Likewise.
32270 * math/w_sinhl.c: Likewise.
32271 * math/w_tgamma.c: Likewise.
32272 * math/w_tgammaf.c: Likewise.
32273 * math/w_tgammal.c: Likewise.
32274 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32275 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32276 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32277 Minor optimizations. Pretty printing. Remove cruft.
32278 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32279 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32280 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32281 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32282 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32283 * sysdeps/i386/fpu/e_asin.S: Likewise.
32284 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32285 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32286 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32287 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32288 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32289 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32290 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32291 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32292 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32293 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32294 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32295 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32296 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32297 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32298 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32299 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32300 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32301 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32302 * sysdeps/i386/fpu/e_log.S: Likewise.
32303 * sysdeps/i386/fpu/e_log10.S: Likewise.
32304 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32305 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32306 * sysdeps/i386/fpu/e_log2.S: Likewise.
32307 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32308 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32309 * sysdeps/i386/fpu/e_logf.S: Likewise.
32310 * sysdeps/i386/fpu/e_logl.S: Likewise.
32311 * sysdeps/i386/fpu/e_pow.S: Likewise.
32312 * sysdeps/i386/fpu/e_powf.S: Likewise.
32313 * sysdeps/i386/fpu/e_powl.S: Likewise.
32314 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32315 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32316 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32317 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32318 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32319 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32320 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32321 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32322 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32323 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32324 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32325 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32326 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32327 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32328 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32329 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32330 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32331 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32332 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32333 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32334 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32335 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32336 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32337 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32338 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32339 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32340 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32341 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32342 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32343 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32344 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32345 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32346 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32347 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32348 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32349 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32350 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32351 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32352 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32353 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32354 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32355 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32356 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32357 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32358 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32359 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32360 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32361 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32362 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32363 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32364 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32365 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32366 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32367 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32368 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32369 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32370 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32371 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32372 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32373 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32374 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32375 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32376 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32377 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32378 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32379 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32380 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32381 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32382 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32383 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32384 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32385 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32386 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32387 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32388 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32389 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32390 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32391 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32392 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32393 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32394 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32395 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32396 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32397 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32398 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32399 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32400 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32401 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32402 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32403 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32404 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32405 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32406 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32407 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32408 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32409 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32410 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32411 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32412 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32413 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32414 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32415 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32416 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32417 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32418 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32419 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32420 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32421 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32422 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32423 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32424 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32425 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32426 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32427 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32428 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32429 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32430 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32431 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32432 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32433 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32434 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32435 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32436 (__isnanf): Likewise.
32437 (__isinf_ns): Likewise.
32438 (__isinf_nsf): Likewise.
32439 (__finite): Likewise.
32440 (__finitef): Likewise.
32441 (__ieee754_sqrt): Define as macro.
32442 (__ieee754_sqrtf): Define as macro.
32443 (__ieee754_sqrtl): Define as macro.
32444 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32445 inlined copy.
32446 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32447 __FINITE_MATH_ONLY__ consistent.
32448 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32449
324502011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32451
32452 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32453 of rawmemchr.
32454
32455 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32456
324572011-10-09 Ulrich Drepper <drepper@gmail.com>
32458
32459 * po/ja.po: Update from translation team.
32460
324612011-10-08 Roland McGrath <roland@hack.frob.com>
32462
32463 * locale/programs/locarchive.c (prepare_address_space): New function.
32464 (create_archive, enlarge_archive, open_archive): Use it.
32465
32466 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32467 inside [SHARED], where it is used.
32468
32469 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32470
32471 * nss/getent.c (netgroup_keys): Remove unused variable.
32472 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32473
324742011-10-08 Ulrich Drepper <drepper@gmail.com>
32475
32476 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32477 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32478 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32479 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32480 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32481 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32482 * math/Makefile (libm-calls): Add s_isinf_ns.
32483 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32484 * math/multc3.c: Likewise.
32485 * math/s_casin.c: Likewise.
32486 * math/s_casinf.c: Likewise.
32487 * math/s_casinl.c: Likewise.
32488 * math/s_ccos.c: Likewise.
32489 * math/s_ccosf.c: Likewise.
32490 * math/s_ccosl.c: Likewise.
32491 * math/s_ctan.c: Likewise.
32492 * math/s_ctanf.c: Likewise.
32493 * math/s_ctanh.c: Likewise.
32494 * math/s_ctanhf.c: Likewise.
32495 * math/s_ctanhl.c: Likewise.
32496 * math/s_ctanl.c: Likewise.
32497 * math/w_fmod.c: Likewise.
32498 * math/w_fmodf.c: Likewise.
32499 * math/w_fmodl.c: Likewise.
32500 * math/w_remainder.c: Likewise.
32501 * math/w_remainderf.c: Likewise.
32502 * math/w_remainderl.c: Likewise.
32503 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32504 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32505 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32506 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32507 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32508 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32509 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32510 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32511
32512 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32513 of the number.
32514 * stdio-common/printf_fphex.c: Likewise.
32515 * stdio-common/printf_size.c: Likewise.
32516
32517 * math/e_exp10.c: Include math_private.h using <...> not "...".
32518 * math/e_exp10f.c: Likewise.
32519 * math/e_exp10l.c: Likewise.
32520 * math/e_exp2l.c: Likewise.
32521 * math/e_j0l.c: Likewise.
32522 * math/e_j1l.c: Likewise.
32523 * math/e_jnl.c: Likewise.
32524 * math/e_lgammal_r.c: Likewise.
32525 * math/e_rem_pio2l.c: Likewise.
32526 * math/e_scalb.c: Likewise.
32527 * math/e_scalbf.c: Likewise.
32528 * math/e_scalbl.c: Likewise.
32529 * math/k_cosl.c: Likewise.
32530 * math/k_sinl.c: Likewise.
32531 * math/k_tanl.c: Likewise.
32532 * math/s_cacoshf.c: Likewise.
32533 * math/s_catan.c: Likewise.
32534 * math/s_catanf.c: Likewise.
32535 * math/s_catanh.c: Likewise.
32536 * math/s_catanhf.c: Likewise.
32537 * math/s_catanhl.c: Likewise.
32538 * math/s_catanl.c: Likewise.
32539 * math/s_ccosh.c: Likewise.
32540 * math/s_ccoshf.c: Likewise.
32541 * math/s_ccoshl.c: Likewise.
32542 * math/s_cexp.c: Likewise.
32543 * math/s_cexpf.c: Likewise.
32544 * math/s_cexpl.c: Likewise.
32545 * math/s_clog.c: Likewise.
32546 * math/s_clog10.c: Likewise.
32547 * math/s_clog10f.c: Likewise.
32548 * math/s_clog10l.c: Likewise.
32549 * math/s_clogf.c: Likewise.
32550 * math/s_clogl.c: Likewise.
32551 * math/s_csin.c: Likewise.
32552 * math/s_csinf.c: Likewise.
32553 * math/s_csinh.c: Likewise.
32554 * math/s_csinhf.c: Likewise.
32555 * math/s_csinhl.c: Likewise.
32556 * math/s_csinl.c: Likewise.
32557 * math/s_csqrt.c: Likewise.
32558 * math/s_csqrtf.c: Likewise.
32559 * math/s_csqrtl.c: Likewise.
32560 * math/s_ctan.c: Likewise.
32561 * math/s_ctanf.c: Likewise.
32562 * math/s_ctanh.c: Likewise.
32563 * math/s_ctanhf.c: Likewise.
32564 * math/s_ctanhl.c: Likewise.
32565 * math/s_ctanl.c: Likewise.
32566 * math/s_ldexp.c: Likewise.
32567 * math/s_ldexpf.c: Likewise.
32568 * math/s_ldexpl.c: Likewise.
32569 * math/s_significand.c: Likewise.
32570 * math/s_significandf.c: Likewise.
32571 * math/s_significandl.c: Likewise.
32572 * math/w_acos.c: Likewise.
32573 * math/w_acosf.c: Likewise.
32574 * math/w_acosh.c: Likewise.
32575 * math/w_acoshf.c: Likewise.
32576 * math/w_acoshl.c: Likewise.
32577 * math/w_acosl.c: Likewise.
32578 * math/w_asin.c: Likewise.
32579 * math/w_asinf.c: Likewise.
32580 * math/w_asinl.c: Likewise.
32581 * math/w_atan2.c: Likewise.
32582 * math/w_atan2f.c: Likewise.
32583 * math/w_atan2l.c: Likewise.
32584 * math/w_atanh.c: Likewise.
32585 * math/w_atanhf.c: Likewise.
32586 * math/w_atanhl.c: Likewise.
32587 * math/w_cosh.c: Likewise.
32588 * math/w_coshf.c: Likewise.
32589 * math/w_coshl.c: Likewise.
32590 * math/w_dremf.c: Likewise.
32591 * math/w_exp10.c: Likewise.
32592 * math/w_exp10f.c: Likewise.
32593 * math/w_exp10l.c: Likewise.
32594 * math/w_exp2.c: Likewise.
32595 * math/w_exp2f.c: Likewise.
32596 * math/w_fmod.c: Likewise.
32597 * math/w_fmodf.c: Likewise.
32598 * math/w_fmodl.c: Likewise.
32599 * math/w_hypot.c: Likewise.
32600 * math/w_hypotf.c: Likewise.
32601 * math/w_hypotl.c: Likewise.
32602 * math/w_j0.c: Likewise.
32603 * math/w_j0f.c: Likewise.
32604 * math/w_j0l.c: Likewise.
32605 * math/w_j1.c: Likewise.
32606 * math/w_j1f.c: Likewise.
32607 * math/w_j1l.c: Likewise.
32608 * math/w_jn.c: Likewise.
32609 * math/w_jnf.c: Likewise.
32610 * math/w_jnl.c: Likewise.
32611 * math/w_lgamma.c: Likewise.
32612 * math/w_lgamma_r.c: Likewise.
32613 * math/w_lgammaf.c: Likewise.
32614 * math/w_lgammaf_r.c: Likewise.
32615 * math/w_lgammal.c: Likewise.
32616 * math/w_lgammal_r.c: Likewise.
32617 * math/w_log.c: Likewise.
32618 * math/w_log10.c: Likewise.
32619 * math/w_log10f.c: Likewise.
32620 * math/w_log10l.c: Likewise.
32621 * math/w_log2.c: Likewise.
32622 * math/w_log2f.c: Likewise.
32623 * math/w_log2l.c: Likewise.
32624 * math/w_logf.c: Likewise.
32625 * math/w_logl.c: Likewise.
32626 * math/w_pow.c: Likewise.
32627 * math/w_powf.c: Likewise.
32628 * math/w_powl.c: Likewise.
32629 * math/w_remainder.c: Likewise.
32630 * math/w_remainderf.c: Likewise.
32631 * math/w_remainderl.c: Likewise.
32632 * math/w_scalb.c: Likewise.
32633 * math/w_scalbf.c: Likewise.
32634 * math/w_scalbl.c: Likewise.
32635 * math/w_sinh.c: Likewise.
32636 * math/w_sinhf.c: Likewise.
32637 * math/w_sinhl.c: Likewise.
32638 * math/w_sqrt.c: Likewise.
32639 * math/w_sqrtf.c: Likewise.
32640 * math/w_sqrtl.c: Likewise.
32641 * math/w_tgamma.c: Likewise.
32642 * math/w_tgammaf.c: Likewise.
32643 * math/w_tgammal.c: Likewise.
32644
32645 * po/ja.po: Update from translation team.
32646
326472011-09-29 Andreas Jaeger <aj@suse.de>
32648
32649 [BZ #13179]
32650 * sunrpc/netname.c (netname2host): Fix logic.
32651
32652 [BZ #6779]
32653 [BZ #6783]
32654 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32655 correctly.
32656 * math/w_remainder.c (__remainder): Likewise.
32657 * math/w_remainderf.c (__remainderf): Likewise.
32658 * math/libm-test.inc (remainder_test): Add test cases.
32659
326602011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32661
32662 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32663 sdiv_qrnnd.
32664
326652011-10-07 Ulrich Drepper <drepper@gmail.com>
32666
32667 * string/test-memcmp.c: Avoid unncessary #defines.
32668 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32669
326702011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32671
32672 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32673 Use new sse2 version for core i3 - i7 as it's faster
32674 than sse42 version.
32675 (bit_Prefer_PMINUB_for_stringop): New.
32676 * sysdeps/x86_64/rawmemchr.S: Update.
32677 Replace with faster SSE2 version.
32678 * sysdeps/x86_64/memrchr.S: New file.
32679 * sysdeps/x86_64/memchr.S: Update.
32680 Replace with faster SSE2 version.
32681
326822011-09-12 Marek Polacek <mpolacek@redhat.com>
32683
32684 * elf/dl-load.c (lose): Add cast to avoid warning.
32685
326862011-10-07 Ulrich Drepper <drepper@gmail.com>
32687
32688 * po/ca.po: Update from translation team.
32689
32690 * inet/getnetgrent_r.c: Hook up nscd.
32691 * nscd/Makefile (routines): Add nscd_netgroup.
32692 (nscd-modules): Add netgroupcache.
32693 (CFLAGS-netgroupcache.c): Define.
32694 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32695 (cache_search): Add const to second parameter.
32696 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32697 INNETGR.
32698 (dbs): Add netgrdb entry.
32699 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32700 (verify_persistent_db): Handle netgrdb.
32701 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32702 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32703 GETFDNETGR.
32704 (netgroup_response_header): Define.
32705 (innetgroup_response_header): Define.
32706 (datahead): Add netgroup_response_header and innetgroup_response_header
32707 elements.
32708 * nscd/nscd.conf: Add entries for netgroup cache.
32709 * nscd/nscd.h (dbtype): Add netgrdb.
32710 (_PATH_NSCD_NETGROUP_DB): Define.
32711 (netgroup_iov_disabled): Declare.
32712 (xmalloc, xcalloc, xrealloc): Move declarations here.
32713 (cache_search): Adjust prototype.
32714 Add netgroup-related prototypes.
32715 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32716 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32717 (__nscd_innetgr): Declare.
32718 * nscd/selinux.c (perms): Use access_vector_t as element type and
32719 add netgroup-related initializers.
32720 * nscd/netgroupcache.c: New file.
32721 * nscd/nscd_netgroup.c: New file.
32722 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32723 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32724 For four parameters use innetgr.
32725 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32726 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32727 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32728 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32729
32730 * nscd/connections.c (register_traced_file): Don't register file
32731 for disabled databases.
32732
327332011-10-06 Ulrich Drepper <drepper@gmail.com>
32734
32735 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32736
32737 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32738 from tree and freeing node.
32739
327402011-09-25 Jiri Olsa <jolsa@redhat.com>
32741
32742 * nss/nsswitch.c (__nss_database_lookup): Handle
32743 nss_parse_service_list out of memory case.
32744
327452011-09-15 Jiri Olsa <jolsa@redhat.com>
32746
32747 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32748 out of memory case.
32749
327502011-10-04 Andreas Schwab <schwab@redhat.com>
32751
32752 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32753 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32754 pass it down.
32755 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32756 elf_machine_rela, elf_machine_lazy_rel.
32757 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32758 (ELF_DYNAMIC_DO_REL): Likewise.
32759 (ELF_DYNAMIC_DO_RELA): Likewise.
32760 (ELF_DYNAMIC_RELOCATE): Likewise.
32761 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32762 to ELF_DYNAMIC_DO_REL.
32763 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32764 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32765 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32766 elf_machine_rela.
32767 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32768 skip_ifunc, don't call ifunc function if non-zero.
32769 (elf_machine_rela): Likewise.
32770 (elf_machine_lazy_rel): Likewise.
32771 (elf_machine_lazy_rela): Likewise.
32772 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32773 (elf_machine_lazy_rel): Likewise.
32774 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32775 Likewise.
32776 (elf_machine_lazy_rel): Likewise.
32777 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32778 Likewise.
32779 (elf_machine_lazy_rel): Likewise.
32780 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32781 (elf_machine_lazy_rel): Likewise.
32782 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32783 (elf_machine_lazy_rel): Likewise.
32784 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32785 (elf_machine_lazy_rel): Likewise.
32786 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32787 (elf_machine_lazy_rel): Likewise.
32788 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32789 (elf_machine_lazy_rel): Likewise.
32790 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32791 (elf_machine_lazy_rel): Likewise.
32792
327932011-09-28 Ulrich Drepper <drepper@gmail.com>
32794
32795 * nss/nss_files/files-init.c (_nss_files_init): Use static
32796 initialization for all the *_traced_file variables.
32797
327982011-09-28 Andreas Schwab <schwab@redhat.com>
32799
32800 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32801
328022011-09-27 Roland McGrath <roland@hack.frob.com>
32803
32804 [BZ #13226]
32805 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32806
328072011-09-27 Andreas Schwab <schwab@redhat.com>
32808
32809 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32810 Reread the line before reparsing it.
32811
328122011-09-26 Andreas Schwab <schwab@redhat.com>
32813
32814 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32815
328162011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32817 Maxim Kuvyrkov <maxim@codesourcery.com>
32818 Joseph Myers <joseph@codesourcery.com>
32819
32820 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32821 if needed for __stack_chk_guard.
32822
328232011-09-19 Roland McGrath <roland@hack.frob.com>
32824
32825 * sysdeps/posix/spawni.c (script_execute): Always define it.
32826 It will be optimized away if unused.
32827 (maybe_script_execute): New function.
32828 (__spawni): Call it.
32829
32830 * Makerules: Don't include tls.make.
32831 (config-tls): Always set to thread.
32832 * tls.make.c: File removed.
32833
328342011-09-19 Mike Frysinger <vapier@gentoo.org>
32835
32836 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32837 * config.make.in (CPPFLAGS-config): New substituted variable.
32838
328392011-09-15 Ulrich Drepper <drepper@gmail.com>
32840
32841 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32842
32843 [BZ #13192]
32844 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32845 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32846
328472011-09-15 Roland McGrath <roland@hack.frob.com>
32848
32849 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32850 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32851 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32852 (CALL_FAIL): Likewise.
32853 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32854 (CALL_FAIL): Macro removed.
32855 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32856
328572011-09-15 Ulrich Drepper <drepper@gmail.com>
32858
32859 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32860 for __FINITE_MATH_ONLY__ == 1.
32861
328622011-09-15 Andreas Schwab <schwab@redhat.com>
32863
32864 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32865 __ieee754_sqrt instead of sqrt.
32866 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32867 __ieee754_sqrtf instead of sqrtf.
32868 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32869 __floorf instead of floorf.
32870 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32871 __floorf, __truncf instead of floorf, truncf.
32872
328732011-09-14 Ulrich Drepper <drepper@gmail.com>
32874
32875 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32876
32877 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32878 __extern_always_inline.
32879 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32880 32-bit.
32881
328822011-09-14 Andreas Schwab <schwab@redhat.com>
32883
32884 * elf/rtld.c (dl_main): Also relocate in dependency order when
32885 doing symbol dependency testing.
32886
328872011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32888
32889 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32890 Always define `refsym'.
32891
328922011-09-13 Andreas Schwab <schwab@redhat.com>
32893
32894 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32895 (__FD_ELT): Renamed from __FDELT.
32896 * misc/bits/select2.h (__FD_ELT): Likewise.
32897 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32898 __FD_MASK instead of __FDELT, __FDMASK.
32899 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32900 Likewise.
32901 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32902 Likewise.
32903
32904 * elf/Makefile (gen-ldd): Fix pattern.
32905
32906 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32907 (init_tls): Likewise.
32908
329092011-09-12 Ulrich Drepper <drepper@gmail.com>
32910
32911 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32912
329132011-09-12 Andreas Schwab <schwab@redhat.com>
32914
32915 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32916 `struct cmsghdr *' instead of `void *'.
32917 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32918 Likewise.
32919
329202011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32921
32922 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32923 if non-absolute.
32924 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32925 ldd_rewrite_script.
32926
329272011-09-11 Ulrich Drepper <drepper@gmail.com>
32928
32929 * configure.in: Remove --with-tls option.
32930 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32931 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32932 out in case it is missing.
32933 * sysdeps/ia64/elf/configure.in: Likewise.
32934 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32935 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32936 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32937 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32938 * sysdeps/sh/elf/configure.in: Likewise.
32939 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32940 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32941 * sysdeps/x86_64/elf/configure.in: Likewise.
32942 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32943 * sysdeps/mach/hurd/tls.h: Likewise.
32944
32945 [BZ #13067]
32946 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32947
32948 [BZ #13090]
32949 * configure.in: Fix use of AC_INIT.
32950
32951 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32952
329532011-09-10 Ulrich Drepper <drepper@gmail.com>
32954
32955 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32956 __set_errno.
32957 * malloc/hooks.c: Likewise.
32958
32959 [BZ #11929]
32960 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32961 variables statically.
32962 (narenas): Initialize.
32963 (list_lock): Initialize.
32964 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32965 initializtion of main_arena and list_lock. Small cleanups.
32966 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32967 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32968 Add initializers to main_arena and mp_.
32969 (malloc_state): Remove pagesize member. Change all users to use
32970 GLRO(dl_pagesize).
32971
32972 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32973 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32974 is always initialized.
32975
32976 * malloc/malloc.c: Removed unused configurations and dead code.
32977 * malloc/arena.c: Likewise.
32978 * malloc/hooks.c: Likewise.
32979 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
32980
32981 * include/tls.h: Removed. USE___THREAD must always be defined.
32982 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32983 * elf/dl-libc.c: Likewise.
32984 * elf/dl-tsd.c: Likewise.
32985 * include/errno.h: Likewise.
32986 * include/netdb.h: Likewise.
32987 * include/resolv.h: Likewise.
32988 * inet/herrno-loc.c: Likewise.
32989 * inet/herrno.c: Likewise.
32990 * malloc/arena.c: Likewise.
32991 * malloc/hooks.c: Likewise.
32992 * malloc/malloc.c: Likewise.
32993 * resolv/res-state.c: Likewise.
32994 * resolv/res_libc.c: Likewise.
32995 * sysdeps/i386/dl-machine.h: Likewise.
32996 * sysdeps/ia64/dl-machine.h: Likewise.
32997 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32998 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32999 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33000 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33001 * sysdeps/sh/dl-machine.h: Likewise.
33002 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33003 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33004 * sysdeps/unix/i386/sysdep.S: Likewise.
33005 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33006 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33007 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33008 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33009 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33010 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33011 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33012 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33013 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33014 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33015 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33016 * sysdeps/x86_64/dl-machine.h: Likewise.
33017 * tls.make.c: Likewise.
33018
33019 * configure.in: Remove --with-__thread option. Make tests for
33020 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33021 tls_model attribute fail if no support is available. Remove
33022 USE_IN_LIBIO.
33023 * Makeconfig: Adjust for dropped configure option. All features are
33024 now mandatory.
33025 * Makerules: Likewise.
33026 * Versions.def: Likewise.
33027 * argp/argp-fmtstream.c: Likewise.
33028 * argp/argp-fmtstream.h: Likewise.
33029 * argp/argp-help.c: Likewise.
33030 * assert/assert.c: Likewise.
33031 * config.h.in: Likewise.
33032 * config.make.in: Likewise.
33033 * configure: Likewise.
33034 * configure.in: Likewise.
33035 * csu/Versions: Likewise.
33036 * csu/init.c: Likewise.
33037 * elf/tst-audit2.c: Likewise.
33038 * elf/tst-tls10.c: Likewise.
33039 * elf/tst-tls10.h: Likewise.
33040 * elf/tst-tls11.c: Likewise.
33041 * elf/tst-tls12.c: Likewise.
33042 * elf/tst-tls14.c: Likewise.
33043 * elf/tst-tlsmod11.c: Likewise.
33044 * elf/tst-tlsmod12.c: Likewise.
33045 * elf/tst-tlsmod13.c: Likewise.
33046 * elf/tst-tlsmod13a.c: Likewise.
33047 * elf/tst-tlsmod14a.c: Likewise.
33048 * elf/tst-tlsmod15b.c: Likewise.
33049 * elf/tst-tlsmod16a.c: Likewise.
33050 * elf/tst-tlsmod16b.c: Likewise.
33051 * elf/tst-tlsmod7.c: Likewise.
33052 * elf/tst-tlsmod8.c: Likewise.
33053 * elf/tst-tlsmod9.c: Likewise.
33054 * gmon/gmon.c: Likewise.
33055 * grp/fgetgrent_r.c: Likewise.
33056 * grp/putgrent.c: Likewise.
33057 * hurd/fopenport.c: Likewise.
33058 * include/libc-symbols.h: Likewise.
33059 * include/tls.h: Likewise.
33060 * intl/gettextP.h: Likewise.
33061 * intl/loadinfo.h: Likewise.
33062 * locale/global-locale.c: Likewise.
33063 * locale/localeinfo.h: Likewise.
33064 * mach/devstream.c: Likewise.
33065 * malloc/arena.c: Likewise.
33066 * malloc/set-freeres.c: Likewise.
33067 * misc/err.c: Likewise.
33068 * misc/getttyent.c: Likewise.
33069 * misc/mntent_r.c: Likewise.
33070 * posix/getopt.c: Likewise.
33071 * posix/wordexp.c: Likewise.
33072 * pwd/fgetpwent_r.c: Likewise.
33073 * resolv/Versions: Likewise.
33074 * resolv/res_hconf.c: Likewise.
33075 * shadow/fgetspent_r.c: Likewise.
33076 * shadow/putspent.c: Likewise.
33077 * stdio-common/printf_fphex.c: Likewise.
33078 * stdio-common/tmpfile.c: Likewise.
33079 * stdlib/abort.c: Likewise.
33080 * stdlib/fmtmsg.c: Likewise.
33081 * sunrpc/auth_unix.c: Likewise.
33082 * sunrpc/clnt_perr.c: Likewise.
33083 * sunrpc/clnt_tcp.c: Likewise.
33084 * sunrpc/clnt_udp.c: Likewise.
33085 * sunrpc/clnt_unix.c: Likewise.
33086 * sunrpc/openchild.c: Likewise.
33087 * sunrpc/svc_simple.c: Likewise.
33088 * sunrpc/svc_tcp.c: Likewise.
33089 * sunrpc/svc_udp.c: Likewise.
33090 * sunrpc/svc_unix.c: Likewise.
33091 * sunrpc/xdr.c: Likewise.
33092 * sunrpc/xdr_array.c: Likewise.
33093 * sunrpc/xdr_rec.c: Likewise.
33094 * sunrpc/xdr_ref.c: Likewise.
33095 * sunrpc/xdr_stdio.c: Likewise.
33096
330972011-09-09 Ulrich Drepper <drepper@gmail.com>
33098
33099 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33100
331012011-07-03 Andreas Jaeger <aj@suse.de>
33102
33103 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33104 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33105 regenerate with gen-libm-tests.pl.
33106
331072010-05-12 Petr Baudis <pasky@suse.cz>
33108
33109 [BZ #11589]
33110 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33111 around j0() zero points by switching to j1().
33112 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33113 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33114 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33115 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33116
331172011-09-09 Ulrich Drepper <drepper@gmail.com>
33118
33119 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33120 instead of 0.
33121 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33122 instead of 0.
33123 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33124 Patch in part by Pavel Roskin <proski@gnu.org>.
33125
33126 [BZ #13138]
33127 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33128 realloc.
33129 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33130 Free memory block if necessary.
33131
33132 [BZ #12847]
33133 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33134 be NULL. Don't lock in this case.
33135
331362011-09-09 Roland McGrath <roland@hack.frob.com>
33137
33138 * elf/elf.h (ELFOSABI_GNU): New macro.
33139 (ELFOSABI_LINUX): Define to that.
33140
331412011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33142
33143 * string/strncat.c (strncat): Undef the symbol in case it has been
33144 defined in bits/string.h.
33145
331462011-09-09 Ulrich Drepper <drepper@gmail.com>
33147
33148 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33149
33150 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33151 link map.
33152
331532011-08-17 Andreas Jaeger <aj@suse.de>
33154
33155 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33156
331572011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33158 Ian Lance Taylor <iant@google.com>
33159
33160 * math/libm-test.inc (lround_test): New testcase.
33161 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33162
331632011-09-08 Ulrich Drepper <drepper@gmail.com>
33164
33165 * Makefile: Remove support for automatic cvs check-ins.
33166 * Makerules: Likewise.
33167 * config.make.in: Likewise.
33168 * configure.in: Likewise.
33169 * intl/Makefile: Likewise.
33170 * locale/Makefile: Likewise.
33171 * po/Makefile: Likewise.
33172 * posix/Makefile: Likewise.
33173 * sysdeps/gnu/Makefile: Likewise.
33174 * sysdeps/mach/hurd/Makefile: Likewise.
33175 * sysdeps/sparc/sparc32/Makefile: Likewise.
33176
33177 [BZ #13118]
33178 * posix/Makefile (bug-regex32-ENV): Define.
33179 Patch by John Stanley <jpsinthemix@verizon.net>.
33180
33181 * misc/Makefile (headers): Add bits/select2.h.
33182 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33183 * misc/bits/select2.h: New file.
33184 * include/bits/select2.h: New file.
33185 * debug/Makefile (routines): Add fdelt_chk.
33186 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33187 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33188 FD_ISSET.
33189 * debug/fdelt_chk.c: New file.
33190
33191 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33192 * wcsmbs/test-wmemcmp.c: Likewise.
33193 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33194 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33195
331962011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33197
33198 * string/Makefile (strop-tests): Add memcmp.
33199 * string/test-wmemcmp.c: New file.
33200 * string/test-memcmp.c: Add wmemcmp support.
33201
332022011-09-08 Roland McGrath <roland@hack.frob.com>
33203
33204 [BZ #13153]
33205 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33206 2011-07-19 change.
33207
33208 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33209 garbage value in a __mach_port_mod_refs call in the cases of the
33210 task-self and thread-self ports.
33211
332122011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33213
33214 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33215
332162011-09-08 Andreas Schwab <schwab@redhat.com>
33217
33218 * elf/dl-load.c (lose): Check for non-null L.
33219
332202011-09-07 Ulrich Drepper <drepper@gmail.com>
33221
33222 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33223
33224 * elf/dl-libc.c (dlerror_run): Pass back error code from
33225 dl_catch_error.
33226
33227 [BZ #13123]
33228 * elf/dl-load.c (lose): Free l_origin if it is valid.
33229
33230 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33231 names.
33232 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33233 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33234 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33235 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33236 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33237 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33238
332392011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33240
33241 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33242 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33243 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33244 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33245 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33246 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33247 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33248 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33249 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33250 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33251
332522011-08-15 Alan Modra <amodra@gmail.com>
33253
33254 [BZ #13092]
33255 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33256 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33257 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33258 ppc_mcount to static-only-routines.
33259 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33260 __mcount_internal.
33261 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33262 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33263
332642011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33265
33266 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33267 for finite and infinity parameters.
33268
332692011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33270
33271 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33272 and add nop instructions for throughput optimization.
33273 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33274
332752011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33276
33277 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33278 aligned copy for power7 with vector-scalar instructions.
33279 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33280
332812011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33282
33283 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33284 AVX check.
33285
332862011-09-07 Andreas Schwab <schwab@redhat.com>
33287
33288 [BZ #13144]
33289 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33290 last change.
33291
332922011-09-07 Ulrich Drepper <drepper@gmail.com>
33293
33294 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33295 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33296 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33297 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33298 clock_gettime.
33299
333002011-09-06 Ulrich Drepper <drepper@gmail.com>
33301
33302 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33303 Forgot to demangle the pointer.
33304
33305 * sysdeps/i386/sysdep.h: Define atom_text_section.
33306 * sysdeps/x86_64/sysdep.h: Likewise.
33307 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33308 section with atom_text_section.
33309 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33310 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33311 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33312 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33313 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33314
33315 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33316 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33317 already be defined. Change to take two parameters and don't assign
33318 result to variable. Adjust all users.
33319 Define INTERNAL_GETTIME if not already defined.
33320 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33321 call.
33322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33323 HAVE_CLOCK_GETTIME_VSYSCALL.
33324 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33325
33326 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33327 gettimeofday vsyscall, just use time.
33328
333292011-09-06 Andreas Schwab <schwab@redhat.com>
33330
33331 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33332 <errno.h>.
33333
333342011-09-06 Ulrich Drepper <drepper@gmail.com>
33335
33336 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33337 syscall on x86-64.
33338 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33339 syscall.
33340 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33341 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33342 syscall if possible.
33343
333442011-09-05 Ulrich Drepper <drepper@gmail.com>
33345
33346 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33347 e_ident. Don't pass to find_mapsXX.
33348 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33349
333502011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33351
33352 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33353 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33354 * sysdeps/x86_64/multiarch/strchr.S: Update.
33355 Check bit_slow_BSF bit.
33356 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33357 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33358 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33359
333602011-09-05 Ulrich Drepper <drepper@gmail.com>
33361
33362 [BZ #13134]
33363 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33364 before glibc 2.15.
33365 (tryshell): Define.
33366 (__spawni): Change last parameter to be flag. Test
33367 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33368 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33369 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33370 * posix/spawni.c: Likewise.
33371 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33372 * posix/spawnp.c: Likewise. Change normal version to use
33373 SPAWN_XFLAGS_USE_PATH.
33374 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33375 SPAWN_XFLAGS_TRY_SHELL.
33376
33377 [BZ #13150]
33378 * posix/glob.h: Remove gcc 1.x support.
33379
33380 [BZ #13068]
33381 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33382
333832011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33384
33385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33386 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33387 strrchr-sse2-bsf
33388 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33389 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33390 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33391 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33392 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33393 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33394
333952011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33396
33397 * sysdeps/x86_64/wcscmp.S: New file.
33398
33399 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33400 wcscmp-c wcscmp-sse2
33401 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33402 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33403 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33404 * wcsmbs/wcscmp.c: Allow renaming.
33405
334062011-09-05 David S. Miller <davem@davemloft.net>
33407
33408 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33409 stack slot, rather than the struct return pointer slot.
33410 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33411 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33413 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33414
334152011-09-05 Ulrich Drepper <drepper@gmail.com>
33416
33417 * po/ja.po: Update from translation team.
33418
33419 [BZ #13144]
33420 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33421 kernel in 64-bit binaries.
33422
334232011-09-01 David S. Miller <davem@davemloft.net>
33424
33425 * elf/elf.h (HWCAP_SPARC_*): Move to..
33426 * sysdeps/sparc/sysdep.h: this new file and add new values.
33427 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33428 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33429 _DL_HWCAP_COUNT to 24.
33430 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33431 entries.
33432 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33433 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33434 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33435 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33436 instead of magic constants.
33437 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33438
334392011-08-31 David S. Miller <davem@davemloft.net>
33440
33441 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33442 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33443 Reimplement to do errno handling inline.
33444 (SYSCALL_ERROR_HANDLER): New macro.
33445 (__SYSCALL_STRING): Do not do errno handling in asm.
33446 (__CLONE_SYSCALL_STRING): Delete.
33447 (__INTERNAL_SYSCALL_STRING): Delete.
33448 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33449 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33450 (PSEUDO): Reimplement to do errno handling inline.
33451 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33452 (SYSCALL_ERROR_HANDLER): New macro.
33453 (__SYSCALL_STRING): Do not do errno handling in asm.
33454 (__CLONE_SYSCALL_STRING): Delete.
33455 (__INTERNAL_SYSCALL_STRING): Delete.
33456 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33457 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33458 i386.
33459 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33460 (inline_syscall*): Add 'err' argument.
33461 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33462 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33463 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33464 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33465
33466 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33467 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33468
334692011-08-30 Andreas Schwab <schwab@redhat.com>
33470
33471 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33472
334732011-08-29 Jiri Olsa <jolsa@redhat.com>
33474
33475 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33476 directive.
33477
334782011-08-24 David S. Miller <davem@davemloft.net>
33479
33480 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33481
334822011-08-24 Andreas Schwab <schwab@redhat.com>
33483
33484 * elf/Makefile: Add rules to build and run unload8 test.
33485 * elf/unload8.c: New file.
33486 * elf/unload8mod1.c: New file.
33487 * elf/unload8mod1x.c: New file.
33488 * elf/unload8mod2.c: New file.
33489 * elf/unload8mod3.c: New file.
33490
33491 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33492 it wasn't used.
33493
334942011-08-23 David S. Miller <davem@davemloft.net>
33495
33496 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33497 subtract stack bias.
33498 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33499 %sp not %fp in calculations.
33500 (_JMPBUF_UNWINDS_ADJ): Likewise.
33501
33502 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33503 (aio_suspend): Call it to force an exception region around the
33504 AIO_MISC_WAIT() invocation.
33505
335062011-08-23 Andreas Schwab <schwab@redhat.com>
33507
33508 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33509 backslash.
33510
335112011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33512
33513 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33514 protection macro.
33515 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33516 and <dl-machine.h>.
33517 (Elf64_FuncDesc): Remove.
33518
335192011-08-22 David S. Miller <davem@davemloft.net>
33520
33521 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33522 sigaltstack check, add missing cfi directives.
33523 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33524 missing cfi directives, and sigaltstack handling.
33525
335262011-08-16 Andreas Schwab <schwab@redhat.com>
33527
33528 [BZ #11724]
33529 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33530 object is seen twice.
33531 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33532
33533 * elf/Makefile (distribute): Add tst-initorder2.c.
33534 (tests): Add tst-initorder2.
33535 (modules-names): Add tst-initorder2a tst-initorder2b
33536 tst-initorder2c tst-initorder2d. Add rules to build them.
33537 ($(objpfx)tst-initorder2.out): New rule.
33538 * elf/tst-initorder2.c: New file.
33539 * elf/tst-initorder2.exp: New file.
33540
335412011-08-22 Andreas Schwab <schwab@redhat.com>
33542
33543 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33544
33545 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33546 dependencies back to end of function.
33547
33548 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33549 $(elfobjdir)/ld.so.
33550
335512011-08-21 Ulrich Drepper <drepper@gmail.com>
33552
33553 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33554 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33555 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33556 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33557 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33558 of __vdso_gettimeofday.
33559 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33560 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33561 attribute_hidden.
33562 (_libc_vdso_platform_setup): Remove initialization of
33563 __vdso_gettimeofday and __vdso_time.
33564
335652011-08-20 Ulrich Drepper <drepper@gmail.com>
33566
33567 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33568 and fgetc_unlocked.
33569 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33570 getc_unlocked.
33571
33572 * elf/dl-open.c (add_to_global): Report additions to the global scope
33573 for LD_DEBUG=scopes.
33574 (dl_open_worker): Also print scope of newly loaded dependencies.
33575 (_dl_show_scope): Indicate if there is no scope.
33576
33577 [BZ #13114]
33578 * stdio-common/Makefile (tests): Add bug24.
33579 * stdio-common/bug24.c: New file.
33580
335812011-08-19 Andreas Jaeger <aj@suse.de>
33582
33583 [BZ #13114]
33584 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33585 non-existant file when using close-on-exec mode.
33586
335872011-08-20 Ulrich Drepper <drepper@gmail.com>
33588
33589 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33590 the very first instruction.
33591
33592 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33593 the CFI state in the end.
33594 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33595 inclusion of dl-trampoline.h.
33596 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33597
335982011-08-19 Andreas Schwab <schwab@redhat.com>
33599
33600 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33601 expectations for long double.
33602
33603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33604 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33605
336062011-08-14 David S. Miller <davem@davemloft.net>
33607
33608 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33609 artificual limit depends upon the system page size.
33610
336112011-08-17 Ulrich Drepper <drepper@gmail.com>
33612
33613 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33614 * resolv/Makefile: Define CFLAGS-libresolv.
33615
336162011-08-17 Andreas Schwab <schwab@redhat.com>
33617
33618 * nss/makedb.c (compute_tables): Make variables used in nested
33619 function static.
33620
336212011-08-17 Ulrich Drepper <drepper@gmail.com>
33622
33623 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33624 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33625 if buffer was too small.
33626
33627 * elf/pldd.c (main): Attach to all threads in the process.
33628 Rewrite /proc handling to use *at functions.
33629
336302011-08-16 Ulrich Drepper <drepper@gmail.com>
33631
33632 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33633 specifies first scope to show.
33634 (dl_open_worker): Update callers. Move printing scope of new
33635 object to before the relocation.
33636 * elf/rtld.c (dl_main): Update _dl_show_scope call.
33637 * sysdeps/generic/ldsodefs.h: Update declaration.
33638
33639 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33640 string for the scope number.
33641
336422011-08-14 Ulrich Drepper <drepper@gmail.com>
33643
33644 * nscd/servicescache.c (cache_addserv): Make sure written is always
33645 initialized.
33646
336472011-08-14 Roland McGrath <roland@hack.frob.com>
33648
33649 * sysdeps/i386/i486/bits/atomic.h
33650 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33651 statement expression, so as to suppress "set but not used" warning.
33652 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33653
33654 * string/strncat.c (STRNCAT): Use prototype definition.
33655
33656 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33657 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33658 -Iprograms here.
33659 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33660 (localedef-modules): Add localedef.
33661 (locale-modules): Add locale.
33662
33663 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33664 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33665 to avoid a warning.
33666
336672011-08-14 David S. Miller <davem@davemloft.net>
33668
33669 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33670 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33671
336722011-08-13 Ulrich Drepper <drepper@gmail.com>
33673
33674 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33675 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33676 * elf/rtld.c (dl_main): Set l_name of vDSO.
33677 Call _dl_show_scope when DL_DEBUG_SCOPES.
33678 (process_dl_debug): Recognize scopes flag and also set it for all.
33679 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33680 Declare _dl_show_scope.
33681
33682 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33683 (do_dlopen): Pass caller_dlopen to dl_open.
33684 (__libc_dlopen_mode): Initialize caller_dlopen.
33685
33686 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33687 of libc. Make tolower call locale-independent. Optimize a bit by
33688 using isdigit instead of isalnum.
33689 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33690
336912011-08-12 Ulrich Drepper <drepper@gmail.com>
33692
33693 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33694 was a dependency or dynamically loaded.
33695
336962011-08-11 Ulrich Drepper <drepper@gmail.com>
33697
33698 * intl/l10nflist.c: Allow architecture-specific pop function.
33699 * sysdeps/x86_64/l10nflist.c: New file.
33700
33701 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33702 classification.
33703
337042011-08-10 Andreas Schwab <schwab@redhat.com>
33705
33706 * include/dirent.h: Add libc_hidden_proto for scandirat and
33707 scandirat64. Don't declare __scandirat64.
33708 * dirent/scandirat.c: Add libc_hidden_def.
33709 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33710 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33711
337122011-08-10 David S. Miller <davem@davemloft.net>
33713
33714 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33715 enum.
33716 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33717 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33718 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33719
337202011-08-09 Ulrich Drepper <drepper@gmail.com>
33721
33722 * Versions.def [libc]: Add GLIBC_2.15.
33723 * dirent/Makefile (routines): Add scandirat and scandirat64.
33724 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33725 GLIBC_2.15.
33726 * dirent/dirent.h: Declare scandirat and scandirat64.
33727 * dirent/scandirat.c: New file.
33728 * dirent/scandirat64.c: New file.
33729 * sysdeps/wordsize-64/scandirat.c: New file.
33730 * sysdeps/wordsize-64/scandirat64.c: New file.
33731 * dirent/opendir.c: Define opendirat.
33732 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33733 using scandirat.
33734 * dirent/scandir64.c: Adjust for scandir.c change.
33735 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33736 __scandirat64, and __scandir_cancel_handler.
33737 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33738 additional parameter and use openat instead of open (outside of ld.so).
33739 Add new __opendir as wrapper around __opendirat.
33740 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33741 here without requiring old scandirat implementation.
33742
337432011-08-08 Ulrich Drepper <drepper@gmail.com>
33744
33745 * dirent/scandir.c (cancel_handler): Renamed to
33746 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33747 defined. Adjust users.
33748 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33749 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33750
337512011-08-04 Ulrich Drepper <drepper@gmail.com>
33752
33753 * string/test-string.h (IMPL): Use __STRING to expand name and then
33754 stringify it.
33755
33756 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33757 of cleanups.
33758
337592011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33760
33761 * string/Makefile: Update.
33762 (strop-tests): Append strncat.
33763 * string/test-wcscmp.c: New file.
33764 New comprehensive test for wcscmp.
33765 * string/test-strcmp.c: Update.
33766 (WIDE): New define.
33767
337682011-07-22 Andreas Schwab <schwab@redhat.com>
33769
33770 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33771 line.
33772
337732011-07-26 Andreas Schwab <schwab@redhat.com>
33774
33775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33776 encoding to ACE if AI_IDN.
33777
337782011-08-01 Jakub Jelinek <jakub@redhat.com>
33779
33780 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33781 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33782
337832011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33784
33785 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33786 Fix overflow bug in strncat.
33787 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33788
33789 * string/test-strncat.c: Update.
33790 Add new tests for checking overflow bugs.
33791
337922011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33793
33794 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33795 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33796 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33797 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33798 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33799 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33800 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33801 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33802 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33803
33804 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33805 (USE_AS_STRCAT): Define.
33806 Add strcat and strncat support.
33807 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33808
338092011-07-25 Andreas Schwab <schwab@redhat.com>
33810
33811 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33812 __n bigger than INT_MAX+1.
33813 (__strncmp_g): Likewise.
33814
338152011-07-23 Ulrich Drepper <drepper@gmail.com>
33816
33817 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33818 * libio/stido.h: Likewise.
33819
33820 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33821 (AF_NFC): Define.
33822 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33823 (AF_NFC): Define.
33824
33825 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33826 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33827 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33828 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33829 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33830
33831 [BZ #13021]
33832 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33833 installed.
33834
33835 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33836 typo.
33837 (_dl_x86_64_save_sse): Likewise.
33838
338392011-07-22 Ulrich Drepper <drepper@gmail.com>
33840
33841 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33842 OSXSAVE.
33843 (_dl_x86_64_save_sse): Likewise.
33844
33845 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33846
33847 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33848
338492011-07-21 Andreas Schwab <schwab@redhat.com>
33850
33851 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33852 change.
33853 (_dl_x86_64_save_sse): Use correct AVX check.
33854
338552011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33856
33857 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33858 bug in strncpy/strncat.
33859 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33860
338612011-07-21 Ulrich Drepper <drepper@gmail.com>
33862
33863 * string/tester.c (test_strcat): Add tests for different alignments
33864 of source and destination.
33865 (test_strncat): Likewise.
33866
338672011-07-20 Ulrich Drepper <drepper@gmail.com>
33868
33869 [BZ #12852]
33870 * posix/glob.c (glob): Check passed in values before using them in
33871 expressions to avoid some overflows.
33872 (glob_in_dir): Likewise.
33873
33874 [BZ #13007]
33875 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33876 check for AVX enablement so that we don't crash with old kernels and
33877 new hardware.
33878 * elf/tst-audit4.c: Add same checks here.
33879 * elf/tst-audit6.c: Likewise.
33880
33881 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
33882
338832011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33884
33885 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33886
338872011-07-20 Ulrich Drepper <drepper@gmail.com>
33888
33889 * po/cs.po: Update from translation team.
33890 * po/bg.po: Likewise.
33891
338922011-07-12 Marek Polacek <mpolacek@redhat.com>
33893
33894 * misc/sys/cdefs.h: Add support for const attribute.
33895 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33896 to gnu_dev_{major,minor,makedev} functions.
33897
338982011-07-20 Marek Polacek <mpolacek@redhat.com>
33899
33900 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33901
339022011-07-20 Andreas Schwab <schwab@redhat.com>
33903
33904 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33905 strlen results.
33906
339072011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33908
33909 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33910 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33911 register in order to avoid conflicts with the soft frame pointer
33912 being held in r11 when necessary.
33913 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33914 (INTERNAL_VSYSCALL_NCS): Likewise.
33915
339162011-07-14 Marek Polacek <mpolacek@redhat.com>
33917
33918 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33919 * elf/dl-fini.c (_dl_fini): Adjust caller.
33920 * elf/dl-close.c (_dl_close_worker): Likewise.
33921 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33922
339232011-07-15 Marek Polacek <mpolacek@redhat.com>
33924
33925 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33926 "aux_cache->nlibs < 0".
33927
33928 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33929 in the reload-count case.
33930
339312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33932
33933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33934 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33935 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33936 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33937 * sysdeps/x86_64/multiarch/strcat.S: New file.
33938 * sysdeps/x86_64/multiarch/strncat.S: New file.
33939 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33940 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33941 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33942 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33943 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33944 (USE_AS_STRCAT): Define.
33945 Add strcat and strncat support.
33946 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33947 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33948 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33949 * string/strncat.c: Update.
33950 (USE_AS_STRNCAT): Define.
33951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33952 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33953 and i7.
33954 * sysdeps/x86_64/multiarch/init-arch.h
33955 (bit_Prefer_PMINUB_for_stringop): New.
33956 (index_Prefer_PMINUB_for_stringop): Likewise.
33957 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33958 bit_Prefer_PMINUB_for_stringop.
33959
339602011-07-19 Ulrich Drepper <drepper@gmail.com>
33961
33962 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33963 buffer64.
33964 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33965 of casting of buffer.
33966 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33967 buffer32 and buffer64.
33968 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33969 writes instead of casting of buffer.
33970 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33971 buffer32.
33972 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33973 casting of buffer.
33974
339752011-07-19 Andreas Schwab <schwab@redhat.com>
33976
33977 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33978
339792011-07-19 Ulrich Drepper <drepper@gmail.com>
33980
33981 * nscd/nscd.c (termination_handler): Don't do anything for a database
33982 if it has not yet been initialized.
33983
339842011-07-18 Ulrich Drepper <drepper@gmail.com>
33985
33986 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33987
339882011-07-15 Marek Polacek <mpolacek@redhat.com>
33989
33990 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33991
339922011-07-18 Ulrich Drepper <drepper@gmail.com>
33993
33994 * po/nl.po: Update from translation team.
33995 * po/sv.po: Likewise.
33996
339972011-07-16 Roland McGrath <roland@hack.frob.com>
33998
33999 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34000 now disallowed by GCC.
34001
34002 * configure.in (use-default-link): Default to yes if a test -shared
34003 link meets our qualifications.
34004 * configure: Regenerated.
34005
34006 * config.make.in (output-format): New variable.
34007 * configure.in: Check for ld --print-output-format support.
34008 * configure: Regenerated.
34009 * Makerules ($(common-objpfx)format.lds)
34010 [$(output-format) != unknown]: Just use $(output-format),
34011 instead of the linker-script munging.
34012
340132011-07-14 Roland McGrath <roland@hack.frob.com>
34014
34015 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34016 of $(common-objpfx)shlib.lds.
34017 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34018
34019 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34020 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34021
34022 * configure.in (-z relro check): Adjust test code to add a large
34023 writable data section after it.
34024 * configure: Regenerated.
34025
340262011-07-11 Roland McGrath <roland@hack.frob.com>
34027
34028 * configure.in (-z relro check): Fix test code to make the variable
34029 truly const.
34030 * configure: Regenerated.
34031
340322011-07-11 Ulrich Drepper <drepper@gmail.com>
34033
34034 * nscd/nscd.h (struct traced_file): Define.
34035 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34036 elements. Add traced_files.
34037 (inotify_fd): Declare.
34038 (register_traced_file): Declare.
34039 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34040 (inotify_fd): Export.
34041 (resolv_conf_descr): Remove.
34042 (nscd_init): Move inotify descriptor creation to main.
34043 Don't register files for notification here.
34044 (register_traced_file): New function.
34045 (invalidate_cache): Don't use reset_res to determine whether to call
34046 res_init, go through the list of registered files.
34047 (main_loop_poll): The inotify descriptors are now stored in the
34048 structures for the traced files.
34049 (main_loop_epoll): Likewise
34050 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34051 to __nss_disable_nscd.
34052 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34053 for a database anymore. Check the records for all the registered
34054 files instead.
34055 * nss/Makefile (libnss_files-routines): Add files-init.
34056 (libnss_db-routines): Add db-init.
34057 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34058 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34059 * nss/nss_db/db-init.c: New file.
34060 * nss/nss_files/files-init.c: New file.
34061 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34062 __nss_lookup_function.
34063 (__nss_lookup_function): Call nss_load_library.
34064 (nss_load_all_libraries): New function.
34065 (__nss_disable_nscd): Take parameter with callback function for files
34066 to register. Set is_nscd. Load all the DSOs for the NSS modules
34067 used for the cached services.
34068 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34069 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34070 options for features to all the files in nscd.
34071
34072 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34073
340742011-07-10 Roland McGrath <roland@hack.frob.com>
34075
34076 * csu/elf-init.c (__libc_csu_init): Comment typo.
34077
340782011-07-09 Ulrich Drepper <drepper@gmail.com>
34079
34080 * po/pl.po: Update from translation team.
34081 * po/ja.po: Likewise.
34082 * po/ru.po: Likewise.
34083 * po/ko.po: Likewise.
34084 * po/fr.po: Likewise.
34085
340862011-07-09 Roland McGrath <roland@hack.frob.com>
34087
34088 * configure.in (.ctors/.dtors header and trailer check):
34089 Use an empirical test on a built program.
34090 * configure: Regenerated.
34091
34092 * configure.in (-z relro check): Use an empirical test on a built DSO.
34093 Detect, but do not require, on ia64.
34094 * configure: Regenerated.
34095
34096 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34097 Update tests that use readelf to use $READELF instead.
34098 * configure: Regenerated.
34099
341002011-07-08 Ulrich Drepper <drepper@gmail.com>
34101
34102 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34103 if the result is not used.
34104
341052011-07-05 Andreas Jaeger <aj@suse.de>
34106
34107 [BZ#9696]
34108 * stdlib/tst-strtod.c: Add testcase.
34109
341102011-07-07 Ulrich Drepper <drepper@gmail.com>
34111
34112 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34113 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34114 The latter has a higher limit. Take additional parameter to pass to
34115 the new function.
34116 (__pathconf): Pass file to __statfs_link_max.
34117 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34118 __statfs_link_max.
34119 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34120 __statfs_link_max.
34121
34122 [BZ #12868]
34123 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34124 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34125 Handle Lustre.
34126 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34127 (__statfs_filesize_max): Likewise.
34128 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34129
341302011-07-05 Andreas Jaeger <aj@suse.de>
34131
34132 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34133
341342011-07-06 Marek Polacek <mpolacek@redhat.com>
34135
34136 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34137 `status' variable.
34138 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34139 Likewise.
34140
341412011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34142
34143 * Makefile (strop-tests): Add strncat.
34144 * string/test-strncat.c: New file.
34145
341462011-06-30 Marek Polacek <mpolacek@redhat.com>
34147
34148 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34149
341502011-06-21 Andreas Jaeger <aj@suse.de>
34151
34152 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34153 Copy rule from iconvdata/Makefile.
34154
341552011-07-06 Ulrich Drepper <drepper@gmail.com>
34156
34157 [BZ #12922]
34158 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34159 but no long options are defined, just return 'W'.
34160
341612011-06-22 Marek Polacek <mpolacek@redhat.com>
34162
34163 [BZ #9696]
34164 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34165
341662011-07-06 Ulrich Drepper <drepper@gmail.com>
34167
34168 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34169 netgroups to read.
34170 (innetgr): Likewise.
34171
341722011-07-05 Roland McGrath <roland@hack.frob.com>
34173
34174 * config.make.in (install_root): Default to $(DESTDIR).
34175
341762011-07-05 Ulrich Drepper <drepper@gmail.com>
34177
34178 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34179
341802011-07-02 Roland McGrath <roland@hack.frob.com>
34181
34182 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34183
34184 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34185 containing directory rather than embedding absolute directory names.
34186
34187 * scripts/check-local-headers.sh: Rewritten using awk.
34188 Match by word, not by line. Print error messages for matches.
34189 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34190
34191 * Makerules [shlib-lds-flags empty]:
34192 ($(common-objpfx)libc_pic.opts): New target.
34193 ($(common-objpfx)libc_pic.os.clean): New target.
34194 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34195
34196 * config.make.in (OBJCOPY): New variable.
34197 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34198 * configure: Regenerated.
34199
34200 * config.make.in (use-default-link): New variable.
34201 * configure.in (use_default_link): Grok --with-default-link to set it.
34202 * configure: Regenerated.
34203 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34204 (shlib-lds, shlib-lds-flags): Define to empty.
34205
34206 * Makerules (shlib-lds): New variable.
34207 (shlib-lds-flags): New variable.
34208 (build-shlib, build-moduile, build-module-asneeded): Use it.
34209 ($(common-objpfx)libc.so): Use $(shlib-lds).
34210 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34211 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34212
34213 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34214 DT_FLAGS/DT_FLAGS_1 with zero flags.
34215
34216 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34217 linker script munging.
34218
342192011-07-02 Ulrich Drepper <drepper@gmail.com>
34220
34221 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34222 as 128-bit value.
34223 * crypt/sha512.c (sha512_process_block): Perform total addition using
34224 128-bit if possible.
34225 (__sha512_finish_ctx): Likewise.
34226 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34227 as 64-bit value.
34228 * crypt/sha256.c (SWAP64): Define.
34229 (sha256_process_block): Perform total addition using 64-bit if
34230 possible.
34231 (__sha256_finish_ctx): Likewise.
34232
342332011-07-01 Ulrich Drepper <drepper@gmail.com>
34234
34235 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34236 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34237 * nscd/hstcache.c (cache_addhst): Likewise.
34238 * nscd/grpcache.c (cache_addgr): Likewise.
34239 * nscd/aicache.c (addhstaiX): Likewise
34240 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34241
342422011-07-01 Thorsten Kukuk <kukuk@suse.de>
34243
34244 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34245 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34246 * nscd/hstcache.c (cache_addhst): Likewise.
34247 * nscd/grpcache.c (cache_addgr): Likewise.
34248 * nscd/aicache.c (addhstaiX): Likewise
34249
342502011-07-01 Andreas Schwab <schwab@redhat.com>
34251
34252 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34253 domain only when needed.
34254
342552011-06-30 Andreas Schwab <schwab@redhat.com>
34256
34257 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34258 is always restored.
34259
342602011-06-29 Ulrich Drepper <drepper@gmail.com>
34261
34262 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34263 are re-adding the entry.
34264 * nscd/servicescache.c (cache_addserv): Likewise.
34265
342662011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34267
34268 * sysdeps/generic/dl-irel.h: fix protection against multiple
34269 inclusions.
34270 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34271
342722011-06-28 Ulrich Drepper <drepper@gmail.com>
34273
34274 [BZ #12935]
34275 * malloc/memusage.sh: Fix quoting in message.
34276 * debug/xtrace.sh: Likewise.
34277
34278 * configure.in: Remove support for --experimental-malloc option, make
34279 it the default.
34280 * config.make.in: Likewise.
34281 * malloc/Makefile: Likewise.
34282
342832011-06-27 Andreas Schwab <schwab@redhat.com>
34284
34285 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34286 two-byte characters.
34287
342882011-06-27 Roland McGrath <roland@hack.frob.com>
34289
34290 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34291 AC_CACHE_CHECK invocation.
34292 * configure: Regenerated.
34293
34294 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34295
342962011-06-27 Ulrich Drepper <drepper@gmail.com>
34297
34298 [BZ #12350]
34299 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34300 bit from old_res_options.
34301
34302 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34303
34304 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34305 value type for setfct.
34306
343072011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34308
34309 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34310 __gettimeofday instead of gettimeofday.
34311
343122011-06-26 Ulrich Drepper <drepper@gmail.com>
34313
34314 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34315
343162011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34317
34318 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34319
34320 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34321 info.
34322
343232011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34324
34325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34326 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34327 strcpy-sse2-unaligned strncpy-sse2-unaligned
34328 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34329 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34330 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34331 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34332 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34333 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34334 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34335 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34336 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34337 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34338 (STRCPY): Support SSE2 and SSSE3 versions.
34339
343402011-06-24 Ulrich Drepper <drepper@gmail.com>
34341
34342 [BZ #12874]
34343 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34344 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34345 kernels which artificially limit size of requests.
34346
343472011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34348
34349 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34350 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34351 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34352 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34353 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34354 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34355 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34356 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34357 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34358 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34359 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34360 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34361 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34362 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34363 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34364 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34365 Enable unaligned load optimization for Intel Core i3, i5 and i7
34366 processors.
34367 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34368 Define.
34369 (index_Fast_Unaligned_Load): Define.
34370 (HAS_FAST_UNALIGNED_LOAD): Define.
34371
343722011-06-23 Marek Polacek <mpolacek@redhat.com>
34373
34374 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34375
343762011-06-22 Ulrich Drepper <drepper@gmail.com>
34377
34378 [BZ #12907]
34379 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34380 until it is clear that the information is realy needed.
34381 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34382
343832011-06-22 Andreas Schwab <schwab@redhat.com>
34384
34385 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34386
343872011-06-22 Ulrich Drepper <drepper@gmail.com>
34388
34389 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34390 /sys/devices/system/cpu/online if it is usable.
34391
34392 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34393 reading the information from the /proc filesystem to once a second.
34394
343952011-06-21 Andreas Jaeger <aj@suse.de>
34396
34397 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34398 NULL after inclusion of kernel headers.
34399
344002011-06-21 Ulrich Drepper <drepper@gmail.com>
34401
34402 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34403 calls to internal_setent.
34404
34405 [BZ #12885]
34406 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34407 addresses using gethostbyname4_r ignore IPv4 addresses.
34408
34409 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34410 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34411
34412 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34413
344142011-06-20 David S. Miller <davem@davemloft.net>
34415
34416 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34417 inclusions.
34418 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34419
34420 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34421 (elf_irel): Use it.
34422 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34423 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34424 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34425 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34426 * sysdeps/x86_64/dl-irel.h: Likewise.
34427
34428 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34429 * elf/dl-sym.c: Likewise.
34430
344312011-06-15 Ulrich Drepper <drepper@gmail.com>
34432
34433 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34434 need to dereference resplen2.
34435
344362011-06-14 Andreas Schwab <schwab@redhat.com>
34437
34438 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34439
344402011-06-15 Ulrich Drepper <drepper@gmail.com>
34441
34442 * Makeconfig: Define vardbdir and inst_vardbdir.
34443 * nss/Makefile: Add rules to install db-Makefile.
34444
34445 * nss/nss_db/db-XXX.c: Cleanup.
34446
34447 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34448 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34449 GLIBC_PRIVATE.
34450 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34451 * nss/makedb.c: Implement -g option to specify that value strings
34452 are generated and should not be added to table iterated over for
34453 get*ent calls.
34454 * nss/nss_db/db-initgroups.c: New file.
34455
34456 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34457 interface.
34458
34459 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34460 (internal_getgrouplist): Adjust to name change.
34461 Update use_initgroups_entry if this is not the first call.
34462 * nss/databases.def: Add initgroups entry.
34463
34464 * nss/makedb.c (compute_tables): Check result of multiple hash table
34465 sizes to minimize maximum chain length.
34466
344672011-06-14 Ulrich Drepper <drepper@gmail.com>
34468
34469 * Versions.def: Add entry for libnss_db.
34470 * shlib-versions: Likewise.
34471 * nss/Makefile: Add rules to build libnss_db.
34472 * nss/Versions: Add libnss_db information. Organize libnss_files
34473 entries better.
34474 * nss/db-Makefile: Add gshadow support. Change rules for the new
34475 makedb progra. Some minor improvements to generate smaller files.
34476 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34477 here from...
34478 * nss/makedb.c: ...here.
34479 Improve database format to be smaller and require less memory at
34480 runtime.
34481 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34482 db anymore.
34483 * nss/nss_db/db-netgrp.c: Likewise.
34484 * nss/nss_db/db-open.c: Likewise.
34485 * nss/nss_files/flies-XXX.x: Adjust comments.
34486 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34487 * nss/nss_files/files-grp.c: Likewise.
34488 * nss/nss_files/files-hosts.c: Likewise.
34489 * nss/nss_files/files-network.c: Likewise.
34490 * nss/nss_files/files-proto.c: Likewise.
34491 * nss/nss_files/files-pwd.c: Likewise.
34492 * nss/nss_files/files-rpc.c: Likewise.
34493 * nss/nss_files/files-service.c: Likewise.
34494 * nss/nss_files/files-sgrp.c: Likewise.
34495 * nss/nss_files/files-spwd.c: Likewise.
34496 * nss/nss_db/db-alias.c: Removed.
34497 * nss/nss_db/dummy-db.h: Removed.
34498
344992011-06-02 Ulrich Drepper <drepper@gmail.com>
34500
34501 * nss/makedb.c: Rewritten to not use database library.
34502 * nss/Makefile: Update to build new makedb program.
34503
345042011-06-14 Andreas Jaeger <aj@suse.de>
34505
34506 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34507 memset declaration.
34508
345092011-06-10 Andreas Schwab <schwab@redhat.com>
34510
34511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34512 tmpbuf.
34513
345142011-06-10 Roland McGrath <roland@hack.frob.com>
34515
34516 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34517 * elf/Makefile ($(objpfx)ld.so): Likewise.
34518
34519 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34520 Don't list ld.so twice in dependencies.
34521
34522 * posix/bug-regex31.c: Include <stdlib.h>.
34523
34524 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34525
34526 * nis/nss_compat/compat-spwd.c
34527 (getspent_next_nss_netgr): Remove unused variable.
34528 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34529
34530 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34531 nonmembers" output to use the right array.
34532
34533 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34534
34535 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34536
34537 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34538 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34539 * catgets/gencat.c (read_input_file): Likewise.
34540 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34541
34542 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34543 variable definition inside #if's controlling its use.
34544
34545 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34546
34547 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34548
34549 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34550
34551 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34552 unreachable code.
34553
34554 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34555
34556 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34557 * configure: Regenerated.
34558
34559 * Makerules: Revert last change.
34560 * elf/Makefile: Likewise.
34561
345622011-06-09 Roland McGrath <roland@hack.frob.com>
34563
34564 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34565 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34566 (reloc-link): Likewise.
34567
345682011-06-09 Ulrich Drepper <drepper@gmail.com>
34569
34570 * elf/Makefile: Add rules to build pldd.
34571 * elf/pldd.c: New file.
34572 * elf/pldd-xx.c: New file.
34573
345742011-06-07 Ulrich Drepper <drepper@gmail.com>
34575
34576 * version.h: Update for 2.15 development version.
34577
345782011-06-07 David S. Miller <davem@davemloft.net>
34579
34580 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34581 ifuncs.
34582 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34583 elf_machine_lazy_rel): Likewise.
34584 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34585 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34586 elf_machine_lazy_rel): Likewise.
34587 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34588 dl_hwcap via passed in argument.
34589 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34590 Likewise.
34591
345922011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34593
34594 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34595
345962011-06-06 Roland McGrath <roland@hack.frob.com>
34597
34598 [BZ #12849]
34599 * manual/fdl-1.1.texi: New file, verbatim from:
34600 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34601 * manual/lgpl-2.1.texi: New file, verbatim from:
34602 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34603 * manual/Makefile (licenses): New variable, list those new file names.
34604 (texis): Use it.
34605 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34606
34607 * manual/fdl.texi: File removed.
34608 * manual/lesser.texi: File removed.
34609 * manual/libc.texinfo (Copying, Documentation License):
34610 Use new @include file names, put @appendix directive before @include.
34611
346122011-06-04 Jakub Jelinek <jakub@redhat.com>
34613
34614 [BZ #12841]
34615 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34616 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34617 (mq_open): Add __NTH.
34618
346192011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34620
34621 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34622 Assume Intel Core i3/i5/i7 processor if AVX is available.
34623
346242011-05-31 Ulrich Drepper <drepper@gmail.com>
34625
34626 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34627 typo.
34628
346292011-05-31 Andreas Schwab <schwab@redhat.com>
34630
34631 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34632 memory. Use alloca_account. Fix memory leak when retrying.
34633
346342011-05-31 Ulrich Drepper <drepper@gmail.com>
34635
34636 * version.h (RELEASE): Bump for 2.14 release.
34637 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34638
34639 * config.make.in (RANLIB): Remove entry.
34640
346412011-05-30 Ulrich Drepper <drepper@gmail.com>
34642
34643 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34644 (libc.pot): Work around missing support for .ksh extension in xgettext.
34645
34646 [BZ #12684]
34647 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34648 if both request failed.
34649 (send_dg): In case of server errors clear resplen or *resplen2.
34650
34651 [BZ #12454]
34652 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34653 when there are multiple maps.
34654 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34655 (_dl_fini): Remove test here.
34656
34657 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34658
346592011-05-29 Ulrich Drepper <drepper@gmail.com>
34660
34661 [BZ #12350]
34662 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34663 bit from old_res_options.
34664 (gaih_inet): Likewise.
34665
34666 [BZ #11099]
34667 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34668 as signed.
34669
34670 * resolv/res_init.c (res_setoptions): Make the code more compact.
34671
34672 [BZ #11558]
34673 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34674 set RES_USEVC.
34675
34676 [BZ #11634]
34677 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34678
34679 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34680
34681 [BZ #11781]
34682 * malloc/malloc.h: Declare malloc hook variables as volatile.
34683
34684 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34685 in last patch.
34686
34687 [BZ #11799]
34688 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34689 raise in the comment.
34690 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34691 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34692 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34693
346942011-05-28 Ulrich Drepper <drepper@gmail.com>
34695
34696 [BZ #12811]
34697 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34698 grow the buffers more if it already has to be sufficient.
34699 (build_wcs_upper_buffer): Likewise.
34700 * posix/regexec.c (check_matching): Likewise.
34701 (clean_state_log_if_needed): Likewise.
34702 (extend_buffers): Don't enlarge buffers beyond size of the input
34703 buffer.
34704 Patches mostly by Emil Wojak <emil@wojak.eu>.
34705 * posix/bug-regex32.c: New file.
34706 * posix/Makefile (tests): Add bug-regex32.
34707
34708 * locale/findlocale.c (_nl_find_locale): Return right away if
34709 _nl_explode_name failed.
34710 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34711
34712 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34713
34714 * debug/xtrace.sh: Unify messages.
34715 * malloc/memusage.sh: Likewise.
34716
34717 [BZ #12813]
34718 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34719 time symbol from vDSO. Substitute with vsyscall if not available.
34720 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34721 __vdso_time.
34722
34723 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34724 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34725 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34726 Add sendmmsg and internal_sendmmsg.
34727 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34728 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34729 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34730
34731 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34732 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34733 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34734
347352011-05-27 Ulrich Drepper <drepper@gmail.com>
34736
34737 [BZ #12813]
34738 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34739 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34740 available.
34741 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34742 __vdso_getcpu.
34743
34744 [BZ #12814]
34745 * iconvdata/Makefile (tests): Add bug-iconv9.
34746 * iconvdata/bug-iconv9.c: New file.
34747
347482011-05-27 Andreas Schwab <schwab@redhat.com>
34749
34750 [BZ #12814]
34751 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34752
347532011-05-25 Jakub Jelinek <jakub@redhat.com>
34754
34755 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34756 (struct user_regs_struct): Change intcs field back to cs.
34757
347582011-05-25 Ulrich Drepper <drepper@gmail.com>
34759
34760 * po/ja.po: Update from translation team.
34761
347622011-05-23 Ulrich Drepper <drepper@gmail.com>
34763
34764 [BZ #12795]
34765 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34766 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34767
347682011-05-20 Andreas Schwab <schwab@redhat.com>
34769
34770 * stdlib/longlong.h: Update from GCC.
34771
347722011-05-23 Andreas Schwab <schwab@redhat.com>
34773
34774 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34775 parameter name.
34776 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34777 Add parameter name.
34778 (__sysconf): Pass it down.
34779
347802011-05-22 Ulrich Drepper <drepper@gmail.com>
34781
34782 [BZ #12671]
34783 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34784 some situations.
34785 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34786 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34787 add in in __libc_use_alloca calls. Adjust callers.
34788 (glob): Use malloc in some situations.
34789
34790 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34791 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34792 pltexit.
34793
347942011-05-21 Ulrich Drepper <drepper@gmail.com>
34795
34796 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34797 and CLOCK_BOOTTIME_ALARM.
34798
34799 [BZ #12782]
34800 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34801 is returned.
34802
34803 * string/_strerror.c (__strerror_r): Print negative errors as signed
34804 numbers.
34805
34806 [BZ #12777]
34807 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34808 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34809 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34810
34811 * configure.in: Fix typo in redirection and correct removal of test
34812 files in two cases.
34813
34814 [BZ #12788]
34815 * locale/setlocale.c (new_composite_name): Fix test to check for
34816 identical name of all categories.
34817
34818 [BZ #12792]
34819 * libio/filedoalloc.c (local_isatty): New function.
34820 (_IO_file_doallocate): Use local_isatty.
34821 * stdio-common/perror.c (perror): In case a new stream is used
34822 forward the stream error.
34823 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34824 error flag.
34825
348262011-05-20 Ulrich Drepper <drepper@gmail.com>
34827
34828 [BZ #11869]
34829 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34830 alloca.
34831 * include/alloca.h (extend_alloca_account): Define.
34832
34833 [BZ #11857]
34834 * posix/regex.h: Fix comments with documentation of user-accessible
34835 fields after compilation and describe correct free'ing of pattern
34836 after re_compile_pattern.
34837 Patch by Reuben Thomas <rrt@sc3d.org>.
34838
348392011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34840
34841 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34842 and -mno-altivec to prevent the compiler from using Altivec and/or
34843 VSX instructions when the corresponding registers are not available.
34844
348452011-05-19 Andreas Schwab <schwab@redhat.com>
34846
34847 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34848
348492011-05-19 Ulrich Drepper <drepper@gmail.com>
34850
34851 * libio/freopen.c (freopen): Use __dup2, not dup2.
34852 * libio/freopen64.c (freopen64): Likewise.
34853
348542011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34855
34856 [BZ #12775]
34857 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34858 * math/Makefile (tests): Add test-powl.
34859 (CFLAGS-test-powl.c): Define.
34860 * math/test-powl.c: New file.
34861
348622011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34863
34864 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34865
348662011-05-17 Ulrich Drepper <drepper@gmail.com>
34867
34868 [BZ #11837]
34869 * iconvdata/gb18030.c: Update to GB18020-2005.
34870
348712011-05-16 Ulrich Drepper <drepper@gmail.com>
34872
34873 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34874 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34875 Patch by Aharon Robbins <arnold@skeeve.com>.
34876
34877 [BZ #11892]
34878 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34879 on the stack.
34880
34881 [BZ #11895]
34882 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34883 through underflows.
34884
34885 [BZ #12766]
34886 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34887 point to strings before performing equality test for error_one_per_line
34888 mode.
34889
34890 [BZ #11697]
34891 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34892
34893 [BZ #11820]
34894 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34895 (struct user_fpregs_struct): Avoid __uint*_t types.
34896
34897 [BZ #6420]
34898 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34899 symbol info. Use it instead of calling _dl_addr locally.
34900 (lock_and_info): New function.
34901 (tr_freehook): Call lock_and_info and pass symbol info as additional
34902 parameter to tr_where.
34903 (tr_mallochook): Likewise.
34904 (tr_reallochook): Likewise.
34905 (tr_memalignhook): Likewise.
34906
34907 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34908 used and couldn't be at all thread-safe.
34909
349102011-05-15 Ulrich Drepper <drepper@gmail.com>
34911
34912 * libio/freopen.c (freopen): Don't close old file descriptor
34913 before the new one is opened. Instead dup the new file descriptor
34914 to the old one after the new stream is created.
34915 * libio/freopen64.c (freopen64): Likewise.
34916 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34917 * libio/fileops.c (_IO_new_file_close_it): Handle new
34918 _IO_FLAGS2_NOCLOSE flag.
34919 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34920 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34921 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34922 _IO_FLAGS2_NOCLOSE flag.
34923 * include/unistd.h: Add hidden_proto for dup3.
34924 Define __have_dup3.
34925 * io/dup3.c: Define hidden symbol.
34926 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34927
34928 [BZ #7101]
34929 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34930 when an incomplete long option is used.
34931 * posix/tst-getopt_long1.c: New file.
34932 * posix/Makefile (tests): Add tst-getopt_long1.
34933
34934 [BZ #10138]
34935 * scripts/config.guess: Update from autoconf-2.68.
34936 * scripts/config.sub: Likewise.
34937
34938 [BZ #10157]
34939 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34940 tests into ...
34941 (has_cpuclock): ...this. New function.
34942 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34943 macro here based on has_cpuclock code.
34944
34945 [BZ #10149]
34946 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34947 First byte (not low byte) is now always NUL.
34948 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34949
34950 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34951 Use non-cancelable interfaces.
34952
34953 [BZ #9809]
34954 * locale/iso-639.def: Add entry for Sorani.
34955
34956 [BZ #11901]
34957 * include/stdlib.h: Move include protection to the right place.
34958 Define abort_msg_s. Declare __abort_msg with it.
34959 * stdlib/abort.c (__abort_msg): Adjust type.
34960 * assert/assert.c (__assert_fail_base): New function. Majority
34961 of code from __assert_fail. Allocate memory for __abort_msg with
34962 mmap.
34963 (__assert_fail): Now call __assert_fail_base.
34964 * assert/assert-perr.c: Remove bulk of implementation. Use
34965 __assert_fail_base.
34966 * include/assert.hL Declare __assert_fail_base.
34967 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34968 mmap.
34969 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34970
349712011-05-14 Ulrich Drepper <drepper@gmail.com>
34972
34973 [BZ #11952]
34974 [BZ #12453]
34975 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34976 until all modules are registered in the DTV.
34977 * elf/Makefile: Add rules to build and run tst-tls19.
34978 * elf/tst-tls19.c: New file.
34979 * elf/tst-tls19mod1.c: New file.
34980 * elf/tst-tls19mod2.c: New file.
34981 * elf/tst-tls19mod3.c: New file.
34982 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34983
34984 [BZ #12083]
34985 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34986 correctly.
34987
34988 [BZ #12601]
34989 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34990 two-byte sequence errors.
34991 * iconvdata/Makefile (tests): Add bug-iconv8.
34992 * iconvdata/bug-iconv8.c: New file.
34993
34994 [BZ #12626]
34995 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34996 buf2 definition.
34997
34998 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34999
35000 [BZ #12432]
35001 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35002 (dummy_getcfa): New function.
35003 (init): Get _Unwind_GetCFA address, use dummy if not found.
35004 (backtrace_helper): In recursion check, also check whether CFA changes.
35005 (__backtrace): Completely initialize arg.
35006
35007 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35008 storing incomplete byte sequence in state object. Avoid testing for
35009 guaranteed too small input if we know there is enough data available.
35010
350112011-05-11 Andreas Schwab <schwab@redhat.com>
35012
35013 * Makeconfig (+link-pie): Indent.
35014 * Rules (binaries-pie): Define if $(have-fpie) and
35015 $(build-shared).
35016 (binaries-shared): Also filter out $(binaries-pie).
35017 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35018 * nscd/Makefile (others-pie): Add nscd.
35019 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35020 ($(objpfx)nscd): Remove command override.
35021 * login/Makefile (others-pie): Add pt_chown.
35022 ($(objpfx)pt_chown): Remove command override.
35023 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35024 remove command overrides.
35025
350262011-05-13 Ulrich Drepper <drepper@gmail.com>
35027
35028 * libio/tst_putwc.c: Fix error messages.
35029
35030 [BZ #12724]
35031 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35032 currently writing and seek to current position when not.
35033 * libio/Makefile (tests): Add bug-fclose1.
35034 * libio/bug-fclose1.c: New file.
35035
350362011-05-12 Ulrich Drepper <drepper@gmail.com>
35037
35038 [BZ #12511]
35039 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35040 don't set DF_1_NODELETE here.
35041 (do_lookup_x): When entering new entry test for copy relocation
35042 and if necessary set DF_1_NODELETE flag.
35043 * elf/tst-unique4.cc: New file.
35044 * elf/tst-unique4.h: New file.
35045 * elf/tst-unique4lib.cc: New file.
35046 * elf/Makefile: Add rules to build and run tst-unique4.
35047 Patch by Piotr Bury <pbury@goahead.com>.
35048
350492011-05-11 Ulrich Drepper <drepper@gmail.com>
35050
35051 [BZ #12052]
35052 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35053
35054 [BZ #12625]
35055 * misc/mntent_r.c (addmntent): Flush the stream after the output
35056
35057 [BZ #12393]
35058 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35059 (is_trusted_path_normalize): Skip initial colon. Append slash
35060 to empty buffer. Duplicate is_trusted_path code but allow
35061 constructed patch to be prefix.
35062 (is_dst): Allow $ORIGIN followed by /.
35063 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35064 Correct testing of result of is_trusted_path_normalize
35065 (decompose_rpath): Fix warning.
35066
350672011-05-10 Ulrich Drepper <drepper@gmail.com>
35068
35069 [BZ #11257]
35070 * grp/initgroups.c (internal_getgrouplist): When we found the service
35071 list through the initgroups entry in nsswitch.conf do not always
35072 continue on a successful lookup. Don't always use the
35073 __nss_group_database value if it is set.
35074 * nss/nsswitch.conf (initgroups): Change action for successful db
35075 lookup to continue for compatibility.
35076
350772011-05-09 Ulrich Drepper <drepper@gmail.com>
35078
35079 [BZ #11532]
35080 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35081 and CP774 modules.
35082 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35083 and CP774 modules.
35084 * iconvdata/tst-tables.sh: Likewise.
35085 * iconvdata/cp770.c: New file.
35086 * iconvdata/cp771.c: New file.
35087 * iconvdata/cp772.c: New file.
35088 * iconvdata/cp773.c: New file.
35089 * iconvdata/cp774.c: New file.
35090 * iconvdata/testdata/CP770: New file.
35091 * iconvdata/testdata/CP770..UTF8: New file.
35092 * iconvdata/testdata/CP771: New file.
35093 * iconvdata/testdata/CP771..UTF8: New file.
35094 * iconvdata/testdata/CP772: New file.
35095 * iconvdata/testdata/CP772..UTF8: New file.
35096 * iconvdata/testdata/CP773: New file.
35097 * iconvdata/testdata/CP773..UTF8: New file.
35098 * iconvdata/testdata/CP774: New file.
35099 * iconvdata/testdata/CP774..UTF8: New file.
35100
35101 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35102 END CHARMAP line.
35103 * iconvdata/gen-8bit-gap.sh: Likewise.
35104 * iconvdata/gen-8bit.sh: Likewise.
35105
35106 * locale/iso-639.def: Add ary entry.
35107
35108 [BZ #11258]
35109 * locale/C-translit.h.in: Add U20A1 transliteration.
35110
35111 [BZ #12178]
35112 * locale/iso-639.def: Add wae entry.
35113 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35114
35115 [BZ #12545]
35116 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35117 for n.
35118
35119 [BZ #12711]
35120 * locale/C-translit.h.in: Add entry for U20B9.
35121 Patch by pravin.d.s@gmail.com.
35122
351232011-05-08 Ulrich Drepper <drepper@gmail.com>
35124
35125 [BZ #12713]
35126 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35127 ENAMETOOLONG use generic getcwd.
35128 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35129 in rtld. Use *stat64.
35130 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35131 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35132 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35133 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35134 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35135 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35136 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35137 __fstatat64 macros.
35138 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35139 * dirent/rewinddir.c: Add libc_hidden_def.
35140 * sysdeps/mach/hurd/rewinddir.c: Likewise.
35141 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
35142
35143 * include/dirent.h (__alloc_dir): Add flags parameter.
35144 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35145 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35146 __alloc_dir.
35147 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35148 from fdopendir if O_CLOEXEC is already set.
35149
351502011-03-15 Alan Modra <amodra@gmail.com>
35151
35152 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35153 l_tls_firstbyte_offset non-zero. Save padding offset in
35154 l_tls_firstbyte_offset for later use.
35155 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35156 freeing static tls block.
35157
351582011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35159
35160 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35161 where #ifdef was intended. The intent is to prevent ARG_MAX from
35162 being defined by the kernel headers.
35163
351642011-05-07 Ulrich Drepper <drepper@gmail.com>
35165
35166 [BZ #12734]
35167 * resolv/resolv.h: Define RES_NOTLDQUERY.
35168 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35169 no-tld-query and set RES_NOTLDQUERY.
35170 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35171 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35172 modern BIND to search name as TLD unless forbidden.
35173
351742011-05-07 Petr Baudis <pasky@suse.cz>
35175 Ulrich Drepper <drepper@gmail.com>
35176
35177 [BZ #12393]
35178 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35179 (is_trusted_path): ...to here.
35180 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35181 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35182 using is_trusted_path_normalize() in setuid scripts.
35183
351842011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35185
35186 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35187 __BEGIN/__END_DECLS.
35188
351892011-05-06 Ulrich Drepper <drepper@gmail.com>
35190
35191 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35192 NSS_STATUS_NOTFOUND if no record was found.
35193
351942011-05-05 Andreas Schwab <schwab@redhat.com>
35195
35196 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35197 (headers-not-in-tirpc): Remove rpc/netdb.h
35198 * resolv/netdb.h: Revert last change.
35199
352002011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35201
35202 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35203 circular dependency between libgcc.a and libc.a.
35204
352052011-05-05 Andreas Schwab <schwab@redhat.com>
35206
35207 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35208 * nis/Makefile: Don't install rpcsvc/*.
35209 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35210 instead of <rpc/types.h>.
35211 (MAXHOSTNAMELEN): Define.
35212
352132011-05-03 Andreas Schwab <schwab@redhat.com>
35214
35215 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35216
352172011-04-28 Maciej Babinski <mbabinski@google.com>
35218
35219 [BZ #12714]
35220 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35221 gethostbyname4_r when IPv6 results are possible.
35222
352232011-05-02 Ulrich Drepper <drepper@gmail.com>
35224
35225 [BZ #12723]
35226 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35227 _PC_PIPE_BUF handling.
35228
352292011-04-30 Bruno Haible <bruno@clisp.org>
35230
35231 [BZ #12717]
35232 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35233 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35234 to 'int'.
35235 * inet/getnameinfo.c (getnameinfo): Likewise.
35236
352372011-04-29 Ulrich Drepper <drepper@gmail.com>
35238
35239 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35240 to groups setting in database lookup.
35241 * nss/nsswitch.conf: Add initgroups entry.
35242
352432011-04-22 Ulrich Drepper <drepper@gmail.com>
35244
35245 [BZ #12685]
35246 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35247 mode string.
35248 Patch by Eric Blake <eblake@redhat.com>.
35249
352502011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35251
35252 * sunrpc/Makefile (need-export-routines): Add svc_run.
35253 (routines): Remove svc_run.
35254 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35255 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35256 * sunrpc/svc_run.c (svc_run): Likewise.
35257 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35258
352592011-04-21 Ulrich Drepper <drepper@gmail.com>
35260
35261 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35262 problem in reallocation in last patch.
35263
352642011-04-20 Ulrich Drepper <drepper@gmail.com>
35265
35266 * sunrpc/Makefile: Move inclusion of Rules.
35267
352682011-04-19 Ulrich Drepper <drepper@gmail.com>
35269
35270 * nss/nss_files/files-initgroups.c: New file.
35271 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35272 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35273 _nss_files_initgroups_dyn.
35274
352752011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35276
35277 * elf/elf.h (R_ARM_IRELATIVE): Define.
35278
352792011-04-19 Ulrich Drepper <drepper@gmail.com>
35280
35281 * po/ru.po: Update from translation team.
35282
352832011-04-17 Ulrich Drepper <drepper@gmail.com>
35284
35285 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35286 dependencies.
35287
352882011-02-06 Mike Frysinger <vapier@gentoo.org>
35289
35290 [BZ #12653]
35291 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35292 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35293 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35294 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35295 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35296
352972011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35298
35299 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35300 differing bytes.
35301 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35302 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35303 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35304
353052011-04-17 Ulrich Drepper <drepper@gmail.com>
35306
35307 [BZ #12420]
35308 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35309 storing it.
35310 * stdlib/bug-getcontext.c: New file.
35311 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35312
353132011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35314
35315 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35316 instructions into .machine "z9-109".
35317 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35318 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35319
353202011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35321
35322 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35323 between environment variables and auxiliary vector.
35324
353252011-04-16 Ulrich Drepper <drepper@gmail.com>
35326
35327 * Makefile: Add rules to build linkobj/libc.so.
35328 * include/libc-symbols.h: Define libc_hidden_nolink.
35329 * include/rpc/auth.h: Mark functions which are to be hidden.
35330 * include/rpc/auth_des.h: Likewise.
35331 * include/rpc/auth_unix.h: Likewise.
35332 * include/rpc/clnt.h: Likewise.
35333 * include/rpc/des_crypt.h: Likewise.
35334 * include/rpc/key_prot.h: Likewise.
35335 * include/rpc/pmap_clnt.h: Likewise.
35336 * include/rpc/pmap_prot.h: Likewise.
35337 * include/rpc/pmap_rmt.h: Likewise.
35338 * include/rpc/rpc_msg.h: Likewise.
35339 * include/rpc/svc.h: Likewise.
35340 * include/rpc/svc_auth.h: Likewise.
35341 * include/rpc/xdr.h: Likewise.
35342 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35343 * nss/Makefile: Likewise.
35344 * sunrpc/Makefile: Don't install headers. Build library with normal
35345 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35346 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35347 for the compat linking library. Remove use of INTDEF/INTUSE.
35348 * sunrpc/auth_none.c: Likewise.
35349 * sunrpc/auth_unix.c: Likewise.
35350 * sunrpc/authdes_prot.c: Likewise.
35351 * sunrpc/authuxprot.c: Likewise.
35352 * sunrpc/clnt_gen.c: Likewise.
35353 * sunrpc/clnt_perr.c: Likewise.
35354 * sunrpc/clnt_raw.c: Likewise.
35355 * sunrpc/clnt_simp.c: Likewise.
35356 * sunrpc/clnt_tcp.c: Likewise.
35357 * sunrpc/clnt_udp.c: Likewise.
35358 * sunrpc/clnt_unix.c: Likewise.
35359 * sunrpc/des_crypt.c: Likewise.
35360 * sunrpc/des_soft.c: Likewise.
35361 * sunrpc/get_myaddr.c: Likewise.
35362 * sunrpc/key_call.c: Likewise.
35363 * sunrpc/key_prot.c: Likewise.
35364 * sunrpc/netname.c: Likewise.
35365 * sunrpc/pm_getmaps.c: Likewise.
35366 * sunrpc/pm_getport.c: Likewise.
35367 * sunrpc/pmap_clnt.c: Likewise.
35368 * sunrpc/pmap_prot.c: Likewise.
35369 * sunrpc/pmap_prot2.c: Likewise.
35370 * sunrpc/pmap_rmt.c: Likewise.
35371 * sunrpc/publickey.c: Likewise.
35372 * sunrpc/rpc_cmsg.c: Likewise.
35373 * sunrpc/rpc_common.c: Likewise.
35374 * sunrpc/rpc_dtable.c: Likewise.
35375 * sunrpc/rpc_prot.c: Likewise.
35376 * sunrpc/rpc_thread.c: Likewise.
35377 * sunrpc/rtime.c: Likewise.
35378 * sunrpc/svc.c: Likewise.
35379 * sunrpc/svc_auth.c: Likewise.
35380 * sunrpc/svc_authux.c: Likewise.
35381 * sunrpc/svc_raw.c: Likewise.
35382 * sunrpc/svc_run.c: Likewise.
35383 * sunrpc/svc_simple.c: Likewise.
35384 * sunrpc/svc_tcp.c: Likewise.
35385 * sunrpc/svc_udp.c: Likewise.
35386 * sunrpc/svc_unix.c: Likewise.
35387 * sunrpc/svcauth_des.c: Likewise.
35388 * sunrpc/xcrypt.c: Likewise.
35389 * sunrpc/xdr.c: Likewise.
35390 * sunrpc/xdr_array.c: Likewise.
35391 * sunrpc/xdr_float.c: Likewise.
35392 * sunrpc/xdr_intXX_t.c: Likewise.
35393 * sunrpc/xdr_mem.c: Likewise.
35394 * sunrpc/xdr_rec.c: Likewise.
35395 * sunrpc/xdr_ref.c: Likewise.
35396 * sunrpc/xdr_sizeof.c: Likewise.
35397 * sunrpc/xdr_stdio.c: Likewise.
35398
353992011-04-10 Ulrich Drepper <drepper@gmail.com>
35400
35401 [BZ #12650]
35402 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35403 * sysdeps/ia64/dl-tls.h: Likewise.
35404 * sysdeps/powerpc/dl-tls.h: Likewise.
35405 * sysdeps/s390/dl-tls.h: Likewise.
35406 * sysdeps/sh/dl-tls.h: Likewise.
35407 * sysdeps/sparc/dl-tls.h: Likewise.
35408 * sysdeps/x86_64/dl-tls.h: Likewise.
35409 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35410
354112011-03-14 Andreas Schwab <schwab@redhat.com>
35412
35413 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35414 rpath element also skip the following colon.
35415 (expand_dynamic_string_token): Add is_path parameter and pass
35416 down to DL_DST_REQUIRED and _dl_dst_substitute.
35417 (decompose_rpath): Call expand_dynamic_string_token with
35418 non-zero is_path. Ignore empty rpaths.
35419 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35420 with zero is_path.
35421
354222011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35423
35424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35425 Make cancelable.
35426
354272011-04-09 Ulrich Drepper <drepper@gmail.com>
35428
35429 [BZ #12655]
35430 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35431 Patch by Filipe David Manana <fdmanana@apache.org>.
35432
354332011-04-07 Andreas Schwab <schwab@redhat.com>
35434
35435 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35436 Maintain aligned stack.
35437 (CHECK_RSP): Remove unused macro.
35438
354392011-04-03 Ulrich Drepper <drepper@gmail.com>
35440
35441 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35442 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35443
354442011-04-02 Ulrich Drepper <drepper@gmail.com>
35445
35446 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35447
35448 * include/features.h: Mention __USE_XOPEN2K8 in comment.
35449
354502011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35451
35452 [BZ #12518]
35453 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35454 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35455 * sysdeps/x86_64/memmove.c: New file.
35456 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35457 (memcpy): Renamed to ...
35458 (__new_memcpy): This.
35459 (memcpy): Provide GLIBC_2_14 memcpy.
35460 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35461 (memcpy): Provide GLIBC_2_2_5 memcpy.
35462
354632011-04-01 Ulrich Drepper <drepper@gmail.com>
35464
35465 [BZ #12631]
35466 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35467
354682011-03-30 Andreas Schwab <schwab@redhat.com>
35469
35470 * misc/syncfs.c: New file.
35471 * misc/Makefile (routines): Add syncfs.
35472 * posix/unistd.h: Declare syncfs.
35473 * sysdeps/unix/syscalls.list: Add syncfs.
35474
354752011-04-01 Andreas Schwab <schwab@redhat.com>
35476
35477 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35478 open_by_handle_at.
35479 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35480 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35481 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35482 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35483 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35484 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35485 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35486
354872011-04-01 Ulrich Drepper <drepper@gmail.com>
35488
35489 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35490 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35491 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35492 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35493 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35494 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35495 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35496
35497 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35498 sync_file_range.c with -fexceptions.
35499 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35500 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35501 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35502 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35503 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35504 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35505 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35506 sync_file_range as cancellation point
35507 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35508 now a wrapper around __call_sync_file_range with cancellation handling.
35509 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35510 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35511 function name to __call_sync_file_range.
35512 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35513 Add call_sync_file_range.
35514
355152011-04-01 Andreas Schwab <schwab@redhat.com>
35516
35517 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35518 bits/timex.h.
35519
355202011-04-01 Ulrich Drepper <drepper@gmail.com>
35521
35522 * iconv/iconv.h: Fix typo in comment.
35523 * io/fcntl.h: Likewise.
35524 * libio/stdio.h: Likewise.
35525 * posix/spawn.h: Likewise.
35526 * posix/unistd.h: Likewise.
35527 * stdlib/stdlib.h: Likewise.
35528 * time/time.h: Likewise.
35529 * wcsmbs/wchar.h: Likewise.
35530
35531 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35532 open_by_handle): Add.
35533 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35534 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35535 Augment a few comments.
35536 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35537 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35538 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35539 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35540 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35541 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35542 open_by_handle.
35543
35544 * io/fcntl.h (AT_EMPTY_PATH): Define.
35545
355462011-03-30 Ulrich Drepper <drepper@gmail.com>
35547
35548 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35549 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35550 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35551 to...
35552 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
35553 * Versions.def: Add GLIBC_2.14.
35554 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35555 Export.
35556
355572011-03-22 Ulrich Drepper <drepper@gmail.com>
35558
35559 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35560 round counter.
35561 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35562
355632011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35564
35565 [BZ #12597]
35566 * string/test-strncmp.c (do_page_test): New function.
35567 (check2): Likewise.
35568 (test_main): Call check2.
35569 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35570
355712011-03-20 Ulrich Drepper <drepper@gmail.com>
35572
35573 [BZ #12587]
35574 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35575 Handle cache information in CPU leaf 4.
35576 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35577
355782011-03-18 Ulrich Drepper <drepper@gmail.com>
35579
35580 [BZ #12583]
35581 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35582 character representation.
35583 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35584
355852011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35586
35587 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35588 END(__isnan) to END(__isnanf) to match function entry point/label
35589 EALIGN(__isnanf,...).
35590
355912011-03-10 Jakub Jelinek <jakub@redhat.com>
35592
35593 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35594
355952011-03-10 Ulrich Drepper <drepper@gmail.com>
35596
35597 [BZ #12510]
35598 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35599 copy from the symbol referenced in the relocation to initialize the
35600 used variable.
35601 Patch by Piotr Bury <pbury@goahead.com>.
35602 * elf/Makefile: Add rules to build and tst-unique3.
35603 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35604 * elf/tst-unique3.cc: New file.
35605 * elf/tst-unique3.h: New file.
35606 * elf/tst-unique3lib.cc: New file.
35607 * elf/tst-unique3lib2.cc: New file.
35608
35609 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35610
356112011-03-10 Mike Frysinger <vapier@gentoo.org>
35612
35613 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35614 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35615 to _start.
35616
356172011-03-06 Ulrich Drepper <drepper@gmail.com>
35618
35619 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35620 to-be-loaded object along a path to loader is ld.so.
35621
356222011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35623 Ulrich Drepper <drepper@gmail.com>
35624
35625 * sysdeps/x86_64/memset.S: After aligning destination, code
35626 branches to different locations depending on the value of
35627 misalignment, when multiarch is enabled. Fix this.
35628
356292011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35630
35631 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35632 Set _x86_64_preferred_memory_instruction for AMD processsors.
35633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35634 Set bit_Prefer_SSE_for_memop for AMD processors.
35635
356362011-03-04 Ulrich Drepper <drepper@gmail.com>
35637
35638 * libio/fmemopen.c (fmemopen): Optimize a bit.
35639
356402011-03-03 Andreas Schwab <schwab@redhat.com>
35641
35642 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35643
356442011-03-03 Roland McGrath <roland@redhat.com>
35645
35646 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35647
356482011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35649
35650 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35651 __bzero_ultra1 instead of __memset_ultra1.
35652
356532011-02-23 Andreas Schwab <schwab@redhat.com>
35654 Ulrich Drepper <drepper@gmail.com>
35655
35656 [BZ #12509]
35657 * include/link.h (struct link_map): Add l_orig_initfini.
35658 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35659 returning unsuccessfully.
35660 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35661 close of a file loaded at startup, restore the original l_initfini
35662 list.
35663 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35664 list, store the pointer.
35665 * elf/Makefile ($(objpfx)noload-mem): New rule.
35666 (noload-ENV): Define.
35667 (tests): Add $(objpfx)noload-mem.
35668 * elf/noload.c: Include <memcheck.h>.
35669 (main): Call mtrace. Close all opened handles.
35670
356712011-02-17 Andreas Schwab <schwab@redhat.com>
35672
35673 [BZ #12454]
35674 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35675 dependencies are missing.
35676
356772011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35678
35679 Fix __if_freereq crash: Unlike the generic version which uses free,
35680 Hurd needs munmap.
35681 * sysdeps/mach/hurd/ifreq.h: New file.
35682
356832011-01-27 Petr Baudis <pasky@suse.cz>
35684 Ulrich Drepper <drepper@gmail.com>
35685
35686 [BZ 12445]#
35687 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35688 to extend_alloca().
35689 * stdio-common/bug23.c: New file.
35690 * stdio-common/Makefile (tests): Add bug23.
35691
356922010-09-28 Andreas Schwab <schwab@redhat.com>
35693 Ulrich Drepper <drepper@gmail.com>
35694
35695 [BZ #12489]
35696 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35697 before performing relro protection. At old place add assertion
35698 to make sure nothing changed.
35699
357002011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35701 Glauber de Oliveira Costa <glommer@gmail.com>
35702
35703 * elf/elf.h: Add new ARM TLS relocs.
35704
357052011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35706
35707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35708 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35709 cast from r3.
35710 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35711 'tests' variable.
35712 * sysdeps/wordsize-64/tst-writev.c: New file.
35713
357142011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35715
35716 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35717 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35718 insns in _dl_start to prevent a TOC reference before relocs are
35719 resolved.
35720
357212011-02-15 Ulrich Drepper <drepper@gmail.com>
35722
35723 [BZ #12469]
35724 * Makeconfig: Remove RANLIB definition.
35725 * Makerules: Don't use RANLIB.
35726 * aclocal.m4: Remove ranlib test.
35727 * configure.in: No need to check for ranlib.
35728 * elf/rtld-Rules: Don't use RANLIB.
35729
357302011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35731
35732 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35733 protection macro.
35734 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35735 inclusion protection macro.
35736
35737 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35738 SIGRTMIN and SIGRTMAX and print information in that case only when
35739 SIGRTMIN is defined.
35740
357412011-02-11 Jakub Jelinek <jakub@redhat.com>
35742
35743 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35744 arginfo fn returning -1.
35745
35746 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35747 and thousands string is zero terminated.
35748
357492011-02-03 Andreas Schwab <schwab@redhat.com>
35750
35751 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35752 sysdeps/unix/sysv/linux/bits/socket.h.
35753
357542011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35755
35756 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35757 (__CPU_COUNT): Remove old macros.
35758 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35759 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35760 (__CPU_ALLOC, __CPU_FREE): Add macros.
35761 (__sched_cpualloc, __sched_cpufree): Add declarations.
35762
357632011-02-05 Ulrich Drepper <drepper@gmail.com>
35764
35765 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35766 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35767 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35768 (readdhstai): Return value of addhstaiX call.
35769 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35770 (addgrbyX): Return value returned by cache_addgr.
35771 (readdgrbyname): Return value returned by addgrbyX.
35772 (readdgrbygid): Likewise.
35773 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35774 (addpwbyX): Return value returned by cache_addpw.
35775 (readdpwbyname): Return value returned by addhstbyX.
35776 (readdpwbyuid): Likewise.
35777 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35778 (addservbyX): Return value returned by cache_addserv.
35779 (readdservbyname): Return value returned by addservbyX:
35780 (readdservbyport): Likewise.
35781 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35782 (addhstbyX): Return value returned by cache_addhst.
35783 (readdhstbyname): Return value returned by addhstbyX.
35784 (readdhstbyaddr): Likewise.
35785 (readdhstbynamev6): Likewise.
35786 (readdhstbyaddrv6): Likewise.
35787 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35788 (readdinitgroups): Return value returned by addinitgroupsX.
35789 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35790 (prune_cache): Keep track of timeout value of re-added entries.
35791 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35792 * nscd/nscd.h: Adjust prototypes of readd* functions.
35793
357942011-02-04 Roland McGrath <roland@redhat.com>
35795
35796 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35797 (nis_stats): Likewise.
35798 * nis/nis_modify.c (nis_modify): Likewise.
35799 * nis/nis_remove.c (nis_remove): Likewise.
35800 * nis/nis_add.c (nis_add): Likewise.
35801
35802 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35803
35804 * posix/fnmatch_loop.c: Add some consts.
35805
35806 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35807
358082011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35809
35810 [BZ #12460]
35811 * config.make.in (config-cflags-novzeroupper): Define.
35812 * configure.in: Substitute libc_cv_cc_novzeroupper.
35813 * elf/Makefile (AVX-CFLAGS): Define.
35814 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35815 (CFLAGS-tst-auditmod4a.c): Likewise.
35816 (CFLAGS-tst-auditmod4b.c): Likewise.
35817 (CFLAGS-tst-auditmod6b.c): Likewise.
35818 (CFLAGS-tst-auditmod6c.c): Likewise.
35819 (CFLAGS-tst-auditmod7b.c): Likewise.
35820 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35821
358222011-02-02 Ulrich Drepper <drepper@gmail.com>
35823
35824 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35825 function to the callback.
35826 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35827
358282011-02-02 Andreas Schwab <schwab@redhat.com>
35829
35830 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35831 of errno.
35832
358332011-01-19 Ulrich Drepper <drepper@gmail.com>
35834
35835 [BZ #11724]
35836 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35837 of constructors.
35838 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35839 of destructors.
35840 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35841
35842 [BZ #11724]
35843 * elf/Makefile: Add rules to build and run new test.
35844 * elf/tst-initorder.c: New file.
35845 * elf/tst-initorder.exp: New file.
35846 * elf/tst-initordera1.c: New file.
35847 * elf/tst-initordera2.c: New file.
35848 * elf/tst-initordera3.c: New file.
35849 * elf/tst-initordera4.c: New file.
35850 * elf/tst-initorderb1.c: New file.
35851 * elf/tst-initorderb2.c: New file.
35852 * elf/tst-order-a1.c: New file.
35853 * elf/tst-order-a2.c: New file.
35854 * elf/tst-order-a3.c: New file.
35855 * elf/tst-order-a4.c: New file.
35856 * elf/tst-order-b1.c: New file.
35857 * elf/tst-order-b2.c: New file.
35858 * elf/tst-order-main.c: New file.
35859 New test case by George Gensure <werkt0@gmail.com>.
35860
358612010-10-01 Andreas Schwab <schwab@redhat.com>
35862
35863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35864 decoding ACE if AI_CANONIDN.
35865
358662011-01-18 Ulrich Drepper <drepper@gmail.com>
35867
35868 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35869
358702011-01-17 Ulrich Drepper <drepper@gmail.com>
35871
35872 * version.h (RELEASE): Bump for 2.13 release.
35873 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35874
35875 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35876
35877 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35878 MADV_NOHUGEPAGE.
35879 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35880 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35881 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35882 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35883 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35884 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35885
35886 * posix/getconf.c: Update copyright year.
35887 * catgets/gencat.c: Likewise.
35888 * csu/version.c: Likewise.
35889 * debug/catchsegv.sh: Likewise.
35890 * debug/xtrace.sh: Likewise.
35891 * elf/ldconfig.c: Likewise.
35892 * elf/ldd.bash.in: Likewise.
35893 * elf/sprof.c (print_version): Likewise.
35894 * iconv/iconv_prog.c: Likewise.
35895 * iconv/iconvconfig.c: Likewise.
35896 * locale/programs/locale.c: Likewise.
35897 * locale/programs/localedef.c: Likewise.
35898 * malloc/memusage.sh: Likewise.
35899 * malloc/mtrace.pl: Likewise.
35900 * nscd/nscd.c (print_version): Likewise.
35901 * nss/getent.c: Likewise.
35902
35903 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35904 PF_CAIF, and PF_ALG.
35905 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35906
359072011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35908
35909 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35910 (modules-names): Use them.
35911 (ifunc-test-modules, ifunc-pie-tests): Define.
35912 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35913 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35914 (test-extras): Likewise.
35915 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35916 $(compile-command.c).
35917 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35918 (all-built-dso): Define.
35919 (check-textrel.out, check-execstack.out): Depend on it.
35920
35921 * configure.in: Don't override --enable-multi-arch.
35922
359232011-01-15 Ulrich Drepper <drepper@gmail.com>
35924
35925 [BZ #6812]
35926 * nscd/hstcache.c (tryagain): Define.
35927 (cache_addhst): Return tryagain not notfound for temporary errors.
35928 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35929 failed.
35930
359312011-01-14 Ulrich Drepper <drepper@gmail.com>
35932
35933 [BZ #10563]
35934 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35935 to make the syscall.
35936 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35937
35938 [BZ #12378]
35939 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35940 and fall back to matching as normal character if the string ends before
35941 the matching ']' is found. This is what POSIX requires.
35942 * posix/testfnm.c: Adjust test result.
35943 * posix/globtest.sh: Adjust test result. Add new test.
35944 * posix/tst-fnmatch.input: Likewise.
35945 * posix/tst-fnmatch2.c: Add new test.
35946
359472010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35948
35949 * elf/Makefile (check-execstack): Revert last change. Depend on
35950 check-execstack.h.
35951 (check-execstack.h): New target.
35952 (generated): Add check-execstack.h.
35953 * elf/check-execstack.c: Include "check-execstack.h".
35954 (main): Revert last change.
35955 (handle_file): Return zero if GNU_STACK is absent and
35956 DEFAULT_STACK_PERMS doesn't include PF_X.
35957
359582011-01-13 Ulrich Drepper <drepper@gmail.com>
35959
35960 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35961 in child fails because the descriptor is already closed.
35962 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35963 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35964 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
35965
35966 [BZ #12397]
35967 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35968 syscall.
35969
35970 [BZ #10484]
35971 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35972 temporary buffer used to handle multi lookups locally.
35973 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
35974
359752011-01-12 Ulrich Drepper <drepper@gmail.com>
35976
35977 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35978 loader is ld.so.
35979
359802011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35981
35982 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35983 alignment for SSE2.
35984
359852011-01-12 Ulrich Drepper <drepper@gmail.com>
35986
35987 [BZ #12394]
35988 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35989 characters. When rounding increased number of integer digits recompute
35990 number of groups.
35991 * stdio-common/tst-grouping.c: New file.
35992 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35993
359942011-01-09 Ulrich Drepper <drepper@gmail.com>
35995
35996 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35997 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35998
35999 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36000 void.
36001 * bits/select.h: Likewise.
36002
360032011-01-08 Ulrich Drepper <drepper@gmail.com>
36004
36005 * po/ja.po: Update from translation team.
36006
360072011-01-04 David S. Miller <davem@sunset.davemloft.net>
36008
36009 [BZ #11155]
36010 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36011 implementation just like for lxstat, fxstatat, et al.
36012
360132010-12-27 Jim Meyering <meyering@redhat.com>
36014
36015 [BZ #12348]
36016 * posix/regexec.c (build_trtable): Return failure indication upon
36017 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36018
360192010-12-25 Ulrich Drepper <drepper@gmail.com>
36020
36021 [BZ #12201]
36022 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36023 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36024 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36025 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36026
36027 [BZ #12207]
36028 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36029
36030 [BZ #12204]
36031 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36032 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36033
360342010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36035
36036 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36037 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36038 script has SORT_BY_INIT_PRIORITY.
36039 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36040 NO_CTORS_DTORS_SECTIONS is defined.
36041 * elf/soinit.c: Likewise.
36042 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36043 NO_CTORS_DTORS_SECTIONS is defined.
36044 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36045 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36046 * sysdeps/sh/init-first.c: Likewise.
36047 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36048
360492010-12-24 Ulrich Drepper <drepper@gmail.com>
36050
36051 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36052 always use the slow path.
36053
360542010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36055
36056 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36057 similar rule which adds the sysdep directories to the header search in
36058 order to pick up the correct platform stackinfo.h.
36059 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36060 perform test if it is, otherwise return successfully without testing.
36061 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36062 DEFAULT_STACK_PERMS define in stackinfo.h.
36063 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36064 defined in stackinfo.h.
36065 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36066 DEFAULT_STACK_PERMS defined in stackinfo.h.
36067 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36068 * sysdeps/ia64/stackinfo.h: Likewise.
36069 * sysdeps/s390/stackinfo.h: Likewise.
36070 * sysdeps/sh/stackinfo.h: Likewise.
36071 * sysdeps/sparc/stackinfo.h: Likewise.
36072 * sysdeps/x86_64/stackinfo.h: Likewise.
36073 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36074 PF_X for powerpc64. Retain PF_X for powerpc32.
36075
360762010-12-19 Ulrich Drepper <drepper@gmail.com>
36077
36078 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36079 accurately.
36080 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36081 GETDENTS_64BIT_ALIGNED.
36082
360832010-12-14 Ulrich Drepper <dreper@gmail.com>
36084
36085 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36086
360872010-12-10 Andreas Schwab <schwab@redhat.com>
36088
36089 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36090 _GNU_SOURCE.
36091
36092 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36093 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36094 Remove __restrict.
36095 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36096 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36097
360982010-12-09 Ulrich Drepper <drepper@gmail.com>
36099
36100 [BZ #11655]
36101 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36102 are initialized.
36103
361042010-12-09 Jakub Jelinek <jakub@redhat.com>
36105
36106 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36107
361082010-12-03 Ulrich Drepper <drepper@gmail.com>
36109
36110 * po/it.po: Update from translation team.
36111
361122010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36113
36114 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36115 unused codes.
36116
361172010-11-30 Ulrich Drepper <drepper@gmail.com>
36118
36119 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36120
361212010-11-24 Andreas Schwab <schwab@redhat.com>
36122
36123 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36124 specially.
36125 (gaih_getanswer_slice): Likewise.
36126
361272010-10-20 Jakub Jelinek <jakub@redhat.com>
36128
36129 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36130
361312010-05-31 Petr Baudis <pasky@suse.cz>
36132
36133 [BZ #11149]
36134 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36135 silently even in the chroot mode.
36136
361372010-11-22 Ulrich Drepper <drepper@gmail.com>
36138
36139 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36140 last patch a bit. Pretty printing
36141
361422010-05-31 Petr Baudis <pasky@suse.cz>
36143
36144 [BZ #10085]
36145 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36146 initialization of skip_initgroups_dyn.
36147
361482010-11-19 Ulrich Drepper <drepper@gmail.com>
36149
36150 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36151 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36152
361532010-11-16 Ulrich Drepper <drepper@gmail.com>
36154
36155 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36156
361572010-11-11 Andreas Schwab <schwab@redhat.com>
36158
36159 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36160 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36161 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36162 ($(objpfx)tst-fnmatch-mem): New rule.
36163 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36164 * posix/tst-fnmatch.c (main): Call mtrace.
36165
361662010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36167
36168 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36169 Support Intel processor model 6 and model 0x2c.
36170
361712010-11-10 Luis Machado <luisgpm@br.ibm.com>
36172
36173 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36174 signed comparison.
36175
361762010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36177
36178 [BZ #12205]
36179 * string/test-strncasecmp.c (check_result): New function.
36180 (do_one_test): Use it.
36181 (check1): New function.
36182 (test_main): Use it.
36183 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36184 Support strcasecmp and strncasecmp.
36185
361862010-11-08 Ulrich Drepper <drepper@gmail.com>
36187
36188 [BZ #12194]
36189 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36190 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36191
361922010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36193
36194 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36195 IFUNC support.
36196 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36197 memset-x86-64.
36198 * sysdeps/x86_64/multiarch/bzero.S: New file.
36199 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36200 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36201 * sysdeps/x86_64/multiarch/memset.S: New file.
36202 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36204 Set bit_Prefer_SSE_for_memop for Intel processors.
36205 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36206 Define.
36207 (index_Prefer_SSE_for_memop): Define.
36208 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36209
362102010-11-04 Luis Machado <luisgpm@br.ibm.com>
36211
36212 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36213 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36214
362152010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36216
36217 [BZ #12191]
36218 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36219 (__x86_64_raw_data_cache_size_half): Likewise.
36220 (__x86_64_raw_shared_cache_size): Likewise.
36221 (__x86_64_raw_shared_cache_size_half): Likewise.
36222
36223 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36224 (__x86_64_raw_data_cache_size_half): Likewise.
36225 (__x86_64_raw_shared_cache_size): Likewise.
36226 (__x86_64_raw_shared_cache_size_half): Likewise.
36227 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36228 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36229 and __x86_64_raw_shared_cache_size_half. Round
36230 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36231 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36232 to multiple of 256 bytes.
36233
362342010-11-03 Ulrich Drepper <drepper@gmail.com>
36235
36236 [BZ #12167]
36237 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36238 of inacessible symlinks. Verify result of symlink before returning it.
36239 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36240 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36241
362422010-10-28 Erich Ritz <erichritz@gmail.com>
36243
36244 * math/math.h (isinf): Fix typo in comment.
36245
362462010-11-01 Ulrich Drepper <drepper@gmail.com>
36247
36248 * po/da.po: Update from translation team.
36249
362502010-10-26 Ulrich Drepper <drepper@gmail.com>
36251
36252 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36253 is added to the list.
36254
362552010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36256 Ulrich Drepper <drepper@gmail.com>
36257
36258 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36259 the global list here. Move code to...
36260 (_dl_add_to_namespace_list): ...here. New function.
36261 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36262 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36263 * elf/dl-load.c (lose): Don't remove the element from the list.
36264 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36265 (_dl_map_object): Likewise.
36266
362672010-10-25 Ulrich Drepper <drepper@gmail.com>
36268
36269 [BZ #12159]
36270 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36271 into all bytes of SSE register.
36272 Patch by Richard Li <richardpku@gmail.com>.
36273
362742010-10-24 Ulrich Drepper <drepper@gmail.com>
36275
36276 [BZ #12140]
36277 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36278 perturbing.
36279
362802010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36281
36282 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36283 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36284 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36285 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36287 submachine.
36288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36289
362902010-10-22 Andreas Schwab <schwab@redhat.com>
36291
36292 * include/dlfcn.h (__RTLD_SECURE): Define.
36293 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36294 mode & __RTLD_SECURE instead.
36295 (open_path): Rename preloaded parameter to secure.
36296 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36297 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36298 * elf/dl-deps.c (openaux): Likewise.
36299 * elf/rtld.c (struct map_args): Remove is_preloaded.
36300 (map_doit): Don't use it.
36301 (dl_main): Likewise.
36302 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36303 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36304
363052010-09-09 Andreas Schwab <schwab@redhat.com>
36306
36307 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36308 (sysd-rules-targets): Remove duplicates.
36309 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36310 rtld-%.$o dependency.
36311
363122010-10-18 Andreas Schwab <schwab@redhat.com>
36313
36314 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36315 _dl_map_object do it.
36316
363172010-10-19 Ulrich Drepper <drepper@gmail.com>
36318
36319 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36320 fast fma builtins, define the macros in the C99 standard.
36321 (FP_FAST_FMAF): Likewise.
36322 (FP_FAST_FMAL): Likewise.
36323 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36324
36325 * bits/mathdef.h: Update copyright year.
36326 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36327
363282010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36329
36330 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36331 builtins, define the macros in the C99 standard.
36332 (FP_FAST_FMAF): Likewise.
36333 (FP_FAST_FMAL): Likewise.
36334 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36335 multiply/add.
36336 (FP_FAST_FMAF): Likewise.
36337
363382010-10-15 Jakub Jelinek <jakub@redhat.com>
36339
36340 [BZ #3268]
36341 * math/libm-test.inc (fma_test): Some new testcases.
36342 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36343 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36344 y and infinite z. Do multiplication by C already in long double.
36345 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36346 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36347 y and infinite z. Do bitwise or of inexact bit into u.d.
36348 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36349 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36350 * sysdeps/i386/fpu/s_fma.S: Removed.
36351 * sysdeps/i386/fpu/s_fmal.S: Removed.
36352
363532010-10-16 Jakub Jelinek <jakub@redhat.com>
36354
36355 [BZ #3268]
36356 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36357 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36358 computation is not scheduled after fetestexcept. Fix value
36359 of minimum denormal long double.
36360
363612010-10-14 Jakub Jelinek <jakub@redhat.com>
36362
36363 [BZ #3268]
36364 * math/libm-test.inc (fma_test): Add some more tests.
36365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36366 correctly.
36367
363682010-10-15 Andreas Schwab <schwab@redhat.com>
36369
36370 * scripts/data/localplt-s390-linux-gnu.data: New file.
36371 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36372
363732010-10-13 Jakub Jelinek <jakub@redhat.com>
36374
36375 [BZ #3268]
36376 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36377 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36378 instead of dbl-64.
36379 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36380 inlines.
36381 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36382 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36383 if one of x and y is very large and the other is subnormal.
36384 * sysdeps/s390/fpu/s_fmaf.c: New file.
36385 * sysdeps/s390/fpu/s_fma.c: New file.
36386 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36387 * sysdeps/powerpc/fpu/s_fma.S: New file.
36388 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36389 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36390 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36391
363922010-10-12 Jakub Jelinek <jakub@redhat.com>
36393
36394 [BZ #3268]
36395 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36396 fma tests.
36397 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36398 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36399 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36400 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36401 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36402 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36403 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36404
364052010-10-12 Ulrich Drepper <drepper@redhat.com>
36406
36407 [BZ #12078]
36408 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36409 * posix/bug-regex31.input: Add test case.
36410
364112010-10-11 Ulrich Drepper <drepper@gmail.com>
36412
36413 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36414 * posix/bug-regex31.input: New file.
36415
36416 [BZ #12078]
36417 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36418 (parse_sub_exp): Fix last change, use postorder.
36419
36420 * posix/bug-regex31.c: New file.
36421 * posix/Makefile: Add rules to build and run bug-regex31.
36422
36423 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36424
36425 [BZ #12078]
36426 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36427
36428 [BZ #12108]
36429 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36430 to have entries in sys_siglist.
36431
36432 [BZ #12093]
36433 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36434 be NULL.
36435
364362010-10-07 Jakub Jelinek <jakub@redhat.com>
36437
36438 [BZ #3268]
36439 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36440 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36441 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36442 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36443 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36444 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36445 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36446 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36447 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36448 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36449 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36450 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36451 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36452 * math/ftestexcept.c (fetestexcept): Likewise.
36453 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36454 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36455 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36456 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36457 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36458 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36459 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36460
364612010-10-11 Ulrich Drepper <drepper@gmail.com>
36462
36463 [BZ #12107]
36464 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36465 newline.
36466
364672010-10-06 Ulrich Drepper <drepper@gmail.com>
36468
36469 * string/bug-strstr1.c: New file.
36470 * string/Makefile: Add rules to build and run bug-strstr1.
36471
364722010-10-05 Eric Blake <eblake@redhat.com>
36473
36474 [BZ #12092]
36475 * string/str-two-way.h (two_way_long_needle): Always clear memory
36476 when skipping input due to the shift table.
36477
364782010-10-03 Ulrich Drepper <drepper@gmail.com>
36479
36480 [BZ #12005]
36481 * malloc/mcheck.c: Handle large requests.
36482
36483 [BZ #12077]
36484 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36485 for strncmp and strncasecmp.
36486 * string/stratcliff.c: Add tests for strcmp and strncmp.
36487 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36488
364892010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36490
36491 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36492 __set_fpscr.
36493
364942010-09-30 Andreas Jaeger <aj@suse.de>
36495
36496 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36497 (CGROUP_SUPER_MAGIC): Define.
36498 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36499 Handle btrfs and cgroup file systems.
36500 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36501 Likewise.
36502
365032010-09-27 Luis Machado <luisgpm@br.ibm.com>
36504
36505 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36506 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36507
365082010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36509
36510 [BZ #12067]
36511 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36512 trying to locate the ELF header.
36513
365142010-09-27 Andreas Schwab <schwab@redhat.com>
36515
36516 [BZ #11611]
36517 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36518 Mask out sign-bit copies when constructing f_fsid.
36519
365202010-09-24 Petr Baudis <pasky@suse.cz>
36521
36522 * debug/stack_chk_fail_local.c: Add missing licence exception.
36523 * debug/warning-nop.c: Likewise.
36524
365252010-09-15 Joseph Myers <joseph@codesourcery.com>
36526
36527 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36528 implementing getdents64 using getdents syscall, set d_type if
36529 __ASSUME_GETDENTS32_D_TYPE.
36530
365312010-09-16 Andreas Schwab <schwab@redhat.com>
36532
36533 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36534 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36535
365362010-09-21 Ulrich Drepper <drepper@redhat.com>
36537
36538 [BZ #12037]
36539 * posix/unistd.h: Undo change of feature selection for ftruncate from
36540 2010-01-11.
36541
365422010-09-20 Ulrich Drepper <drepper@redhat.com>
36543
36544 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36545 detection.
36546
365472010-09-20 Andreas Schwab <schwab@redhat.com>
36548
36549 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36550 fanotify_mark.
36551 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36552
365532010-09-14 Andreas Schwab <schwab@redhat.com>
36554
36555 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36556 variables after CHECK_SP call.
36557 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36558
365592010-09-13 Andreas Schwab <schwab@redhat.com>
36560 Ulrich Drepper <drepper@redhat.com>
36561
36562 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36563 re-relocationg ld.so.
36564 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36565 _dl_init_paths call.
36566 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36567 here anymore.
36568
365692010-09-14 Ulrich Drepper <drepper@redhat.com>
36570
36571 * resolv/res_init.c (__res_vinit): Count the default server we added.
36572
365732010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36574 Ulrich Drepper <drepper@redhat.com>
36575
36576 [BZ #11968]
36577 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36578 (____longjmp_chk): Use %ebx for saving value across system call.
36579 Add unwind info.
36580
365812010-09-06 Andreas Schwab <schwab@redhat.com>
36582
36583 * manual/Makefile: Don't mix pattern rules with normal rules.
36584
365852010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36586
36587 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36588 operation.
36589 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36590 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36591 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36592 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36593 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36594 Likewise.
36595
365962010-09-04 Ulrich Drepper <drepper@redhat.com>
36597
36598 [BZ #11979]
36599 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36600 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36601
366022010-09-02 Ulrich Drepper <drepper@redhat.com>
36603
36604 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36605 * sysdeps/x86_64/addmul_1.S: Likewise.
36606 * sysdeps/x86_64/lshift.S: Likewise.
36607 * sysdeps/x86_64/mul_1.S: Likewise.
36608 * sysdeps/x86_64/rshift.S: Likewise.
36609 * sysdeps/x86_64/sub_n.S: Likewise.
36610 * sysdeps/x86_64/submul_1.S: Likewise.
36611
366122010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36613
36614 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36615 Define __sched_param instead of SCHED_* and sched_param when
36616 <bits/sched.h> is included with __need_schedparam defined.
36617 * bits/sched.h [__need_schedparam]
36618 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36619 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36620 (__defined_schedparam): Define to 1.
36621 (__sched_param): New structure, identical to sched_param.
36622 (__need_schedparam): Undefine.
36623
366242010-08-31 Mike Frysinger <vapier@gentoo.org>
36625
36626 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36627 (epoll_create1): Declare.
36628
36629 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36630
366312010-08-31 Andreas Schwab <schwab@redhat.com>
36632
36633 [BZ #7066]
36634 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36635 shifting retval into place.
36636
366372010-09-01 Ulrich Drepper <drepper@redhat.com>
36638
36639 * nis/rpcsvc/nis.h: Update copyright notice.
36640 * nis/rpcsvc/nis.x: Likewise.
36641 * nis/rpcsvc/nis_callback.h: Likewise.
36642 * nis/rpcsvc/nis_callback.x: Likewise.
36643 * nis/rpcsvc/nis_object.x: Likewise.
36644 * nis/rpcsvc/nis_tags.h: Likewise.
36645 * nis/rpcsvc/yp.h: Likewise.
36646 * nis/rpcsvc/yp.x: Likewise.
36647 * nis/rpcsvc/ypupd.h: Likewise.
36648 * nis/yp_xdr.c: Likewise.
36649 * nis/ypupdate_xdr.c: Likewise.
36650
36651 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36652 mainly the body of pmap_getport. Add parameters to specify timeouts.
36653 (pmap_getport): Use __libc_rpc_getport.
36654 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36655 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36656 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36657
366582010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36659
36660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36661 fanotify_mark.
36662
366632010-08-27 Roland McGrath <roland@redhat.com>
36664
36665 * sysdeps/i386/i686/multiarch/Makefile
36666 (CFLAGS-varshift.c): New variable.
36667
366682010-08-27 Ulrich Drepper <drepper@redhat.com>
36669
36670 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36671 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36672
36673 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36674
36675 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36676
366772010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36678
36679 * sysdeps/x86_64/strlen.S: Unroll the loop.
36680 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36681 strlen-sse2 strlen-sse2-bsf.
36682 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36683 __strlen_no_bsf if bit_Slow_BSF is set.
36684 (__strlen_sse42): Removed.
36685 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36686 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36687
366882010-08-25 Roland McGrath <roland@redhat.com>
36689
36690 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36691 * sysdeps/x86_64/multiarch/varshift.c: New file.
36692 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36693 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36694 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36695 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36696
366972010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36698
36699 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36700 strlen-sse2 strlen-sse2-bsf.
36701 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36702 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36703 (__strlen_sse2): Removed.
36704 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36705 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36707 bit_Slow_BSF for Atom.
36708 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36709 (index_Slow_BSF): Define.
36710 (HAS_SLOW_BSF): Define.
36711
367122010-08-25 Ulrich Drepper <drepper@redhat.com>
36713
36714 [BZ #10851]
36715 * resolv/res_init.c (__res_vinit): When no server address at all
36716 is given default to loopback.
36717
367182010-08-24 Roland McGrath <roland@redhat.com>
36719
36720 * configure.in: Remove config-name.h generation.
36721 * configure: Regenerated.
36722 * config-name.in: File removed.
36723 * scripts/config-uname.sh: New file.
36724 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36725 ($(objdir)config-name.h): New target.
36726
36727 * sunrpc/rpc_parse.h: Avoid nested comment.
36728
367292010-08-24 Richard Henderson <rth@redhat.com>
36730 Ulrich Drepper <drepper@redhat.com>
36731 H.J. Lu <hongjiu.lu@intel.com>
36732
36733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36734 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36735 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36736 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36737 _mm_alignr_epi8 with _mm_loadu_si128.
36738 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36739 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36740 (__m128i_shift_right): Removed.
36741 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36742 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36743 * sysdeps/x86_64/multiarch/varshift.h: New file.
36744 * sysdeps/x86_64/multiarch/varshift.S: New file.
36745
367462010-08-21 Mike Frysinger <vapier@gentoo.org>
36747
36748 * configure.in: Move assembler checks to before sysdep dir checking.
36749
367502010-08-20 Petr Baudis <pasky@suse.cz>
36751
36752 * LICENSES: Sync the sunrpc license.
36753
367542010-08-19 Ulrich Drepper <drepper@redhat.com>
36755
36756 * sunrpc/auth_des.c: Update copyright notice once again.
36757 * sunrpc/auth_none.c: Likewise.
36758 * sunrpc/auth_unix.c: Likewise.
36759 * sunrpc/authdes_prot.c: Likewise.
36760 * sunrpc/authuxprot.c: Likewise.
36761 * sunrpc/bindrsvprt.c: Likewise.
36762 * sunrpc/clnt_gen.c: Likewise.
36763 * sunrpc/clnt_perr.c: Likewise.
36764 * sunrpc/clnt_raw.c: Likewise.
36765 * sunrpc/clnt_simp.c: Likewise.
36766 * sunrpc/clnt_tcp.c: Likewise.
36767 * sunrpc/clnt_udp.c: Likewise.
36768 * sunrpc/clnt_unix.c: Likewise.
36769 * sunrpc/des_crypt.c: Likewise.
36770 * sunrpc/des_soft.c: Likewise.
36771 * sunrpc/get_myaddr.c: Likewise.
36772 * sunrpc/getrpcport.c: Likewise.
36773 * sunrpc/key_call.c: Likewise.
36774 * sunrpc/key_prot.c: Likewise.
36775 * sunrpc/openchild.c: Likewise.
36776 * sunrpc/pm_getmaps.c: Likewise.
36777 * sunrpc/pm_getport.c: Likewise.
36778 * sunrpc/pmap_clnt.c: Likewise.
36779 * sunrpc/pmap_prot.c: Likewise.
36780 * sunrpc/pmap_prot2.c: Likewise.
36781 * sunrpc/pmap_rmt.c: Likewise.
36782 * sunrpc/rpc/auth.h: Likewise.
36783 * sunrpc/rpc/auth_unix.h: Likewise.
36784 * sunrpc/rpc/clnt.h: Likewise.
36785 * sunrpc/rpc/des_crypt.h: Likewise.
36786 * sunrpc/rpc/key_prot.h: Likewise.
36787 * sunrpc/rpc/netdb.h: Likewise.
36788 * sunrpc/rpc/pmap_clnt.h: Likewise.
36789 * sunrpc/rpc/pmap_prot.h: Likewise.
36790 * sunrpc/rpc/pmap_rmt.h: Likewise.
36791 * sunrpc/rpc/rpc.h: Likewise.
36792 * sunrpc/rpc/rpc_des.h: Likewise.
36793 * sunrpc/rpc/rpc_msg.h: Likewise.
36794 * sunrpc/rpc/svc.h: Likewise.
36795 * sunrpc/rpc/svc_auth.h: Likewise.
36796 * sunrpc/rpc/types.h: Likewise.
36797 * sunrpc/rpc/xdr.h: Likewise.
36798 * sunrpc/rpc_clntout.c: Likewise.
36799 * sunrpc/rpc_cmsg.c: Likewise.
36800 * sunrpc/rpc_common.c: Likewise.
36801 * sunrpc/rpc_cout.c: Likewise.
36802 * sunrpc/rpc_dtable.c: Likewise.
36803 * sunrpc/rpc_hout.c: Likewise.
36804 * sunrpc/rpc_main.c: Likewise.
36805 * sunrpc/rpc_parse.c: Likewise.
36806 * sunrpc/rpc_parse.h: Likewise.
36807 * sunrpc/rpc_prot.c: Likewise.
36808 * sunrpc/rpc_sample.c: Likewise.
36809 * sunrpc/rpc_scan.c: Likewise.
36810 * sunrpc/rpc_scan.h: Likewise.
36811 * sunrpc/rpc_svcout.c: Likewise.
36812 * sunrpc/rpc_tblout.c: Likewise.
36813 * sunrpc/rpc_util.c: Likewise.
36814 * sunrpc/rpc_util.h: Likewise.
36815 * sunrpc/rpcinfo.c: Likewise.
36816 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36817 * sunrpc/rpcsvc/key_prot.x: Likewise.
36818 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36819 * sunrpc/rpcsvc/mount.x: Likewise.
36820 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36821 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36822 * sunrpc/rpcsvc/rex.x: Likewise.
36823 * sunrpc/rpcsvc/rstat.x: Likewise.
36824 * sunrpc/rpcsvc/rusers.x: Likewise.
36825 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36826 * sunrpc/rpcsvc/spray.x: Likewise.
36827 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36828 * sunrpc/rtime.c: Likewise.
36829 * sunrpc/svc.c: Likewise.
36830 * sunrpc/svc_auth.c: Likewise.
36831 * sunrpc/svc_authux.c: Likewise.
36832 * sunrpc/svc_raw.c: Likewise.
36833 * sunrpc/svc_run.c: Likewise.
36834 * sunrpc/svc_simple.c: Likewise.
36835 * sunrpc/svc_tcp.c: Likewise.
36836 * sunrpc/svc_udp.c: Likewise.
36837 * sunrpc/svc_unix.c: Likewise.
36838 * sunrpc/svcauth_des.c: Likewise.
36839 * sunrpc/xcrypt.c: Likewise.
36840 * sunrpc/xdr.c: Likewise.
36841 * sunrpc/xdr_array.c: Likewise.
36842 * sunrpc/xdr_float.c: Likewise.
36843 * sunrpc/xdr_mem.c: Likewise.
36844 * sunrpc/xdr_rec.c: Likewise.
36845 * sunrpc/xdr_ref.c: Likewise.
36846 * sunrpc/xdr_sizeof.c: Likewise.
36847 * sunrpc/xdr_stdio.c: Likewise.
36848
36849 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36850 handling.
36851
368522010-08-19 Andreas Schwab <schwab@redhat.com>
36853
36854 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36855
368562010-08-19 Luis Machado <luisgpm@br.ibm.com>
36857
36858 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36859 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36860 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36861 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36862 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36863 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36864 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36865 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36866 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36867 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36868 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36869 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36870 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36871 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36872
368732010-07-26 Anton Blanchard <anton@samba.org>
36874
36875 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36876 * malloc/arena.c (heap_trim): Likewise.
36877
368782010-08-16 Ulrich Drepper <drepper@redhat.com>
36879
36880 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36881 here. Not...
36882 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36883 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36884
368852010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36886
36887 * sysdeps/i386/elf/Makefile: New file.
36888
368892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36890
36891 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36892 from fanotify_init.
36893 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36894 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36895
368962010-08-15 Ulrich Drepper <drepper@redhat.com>
36897
36898 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36899 of strncasecmp_l.
36900 * sysdeps/multiarch/strcmp.S: Likewise.
36901
369022010-08-14 Ulrich Drepper <drepper@redhat.com>
36903
36904 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36905 strncase_l-nonascii.
36906 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36907 Add strncase_l-ssse3.
36908 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36909 * sysdeps/x86_64/strcmp.S: Likewise.
36910 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36911 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36912 * sysdeps/x86_64/strncase.S: New file.
36913 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36914 * sysdeps/x86_64/strncase_l.S: New file.
36915 * string/Makefile (strop-tests): Add strncasecmp.
36916 * string/test-strncasecmp.c: New file.
36917
36918 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36919 warning.
36920
36921 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36922 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36923
369242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36925
36926 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36927
369282010-08-12 Ulrich Drepper <drepper@redhat.com>
36929
36930 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36931 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36932 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36933
369342010-05-01 Alan Modra <amodra@gmail.com>
36935
36936 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36937 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36938 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36939 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36940 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36941 tidying. Don't tail-call __sigjmp_save for static lib.
36942 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36943 save location.
36944 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36945 (CALL_MCOUNT): Add eh info, and nop after bl.
36946 (TAIL_CALL_SYSCALL_ERROR): New macro.
36947 (PSEUDO_RET): Use it.
36948 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36949 Correct save location of integer regs and cr.
36950 (_dl_profile_resolve): Correct cr save location. Delete nops
36951 after bl when SHARED. Reduce cfi size a little by better
36952 placement of cfi directives.
36953 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36954 make a stack frame. Instead use parm save area as a temp.
36955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36956 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36958 Don't make a stack frame for parent, use parm save area.
36959 Increase child stack frame to 112 bytes. Don't save unused reg,
36960 and adjust reg usage. Set up cfi on error recovery and
36961 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36963 (__makecontext): Add dummy nop after jump to exit.
36964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36965 Use correct parm save area and cr save, reduce stack frame.
36966 Correct cfi for possible PSEUDO_RET frame setup.
36967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36968 Branch to local label emitted by PSEUDO_RET rather than
36969 __syscall_error.
36970
369712010-08-12 Andreas Schwab <schwab@redhat.com>
36972
36973 [BZ #11904]
36974 * locale/programs/locale.c (print_assignment): New function.
36975 (show_locale_vars): Use it.
36976
369772010-08-11 Ulrich Drepper <drepper@redhat.com>
36978
36979 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36980 field.
36981 (struct statfs64): Likewise.
36982 (_STATFS_F_FLAGS): Define.
36983 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36984 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36985 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36986 (ST_VALID): Define locally.
36987 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36988 __statvfs_getflags, use the provided value.
36989 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36990 __ASSUME_STATFS_F_FLAGS.
36991
36992 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36993
36994 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36995 Add sys/fanotify.h.
36996 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36997 fanotify_mask for GLIBC_2.13.
36998 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36999 fanotify_init and fanotify_mark.
37000 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37001 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37002
37003 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37004 Add prlimit.
37005 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37006 prlimit64 for GLIBC_2.13.
37007 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37008 prlimit64.
37009 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37010 syscall.
37011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37012 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37013 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37014 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37015 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37016 add prlimit alias.
37017 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37018
37019 [BZ #11903]
37020 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37021 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37022
37023 * nss/Makefile: Add rules to build and run tst-nss-test1.
37024 * shlib-versions: Add entry for libnss_test1.
37025 * nss/nss_test1.c: New file.
37026 * nss/tst-nss-test1.c: New file.
37027
37028 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37029 (__nss_configure_lookup): Set appropriate entry in
37030 __nss_configure_lookup to true.
37031 * nss/nsswitch.h: Define enum with indeces of databases in
37032 databases and __nss_database_custom arrays. Declare
37033 __nss_database_custom.
37034 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37035 to avoid using nscd when custom rules are installed.
37036 * nss/getXXbyYY_r.c: Likewise.
37037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37038
37039 * nss/nss_files/files-parse.c: Whitespace fixes.
37040
370412010-08-09 Ulrich Drepper <drepper@redhat.com>
37042
37043 [BZ #11883]
37044 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37045 * posix/fnmatch_loop.c: Likewise.
37046
370472010-07-17 Andi Kleen <ak@linux.intel.com>
37048
37049 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37050 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37051 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37052 * Versions.def [GLIBC_2.13]: Add.
37053
370542010-08-06 Ulrich Drepper <drepper@redhat.com>
37055
37056 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37057 Also fail if tpwd after pwuid call is NULL.
37058
370592010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37060
37061 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37062 when converting to ms.
37063
370642010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37065
37066 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37067 EOPNOTSUPP errors with ENOTTY.
37068 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37069 EOPNOTSUPP errors with ENOTTY.
37070
370712010-07-31 Ulrich Drepper <drepper@redhat.com>
37072
37073 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37074 Add strcasecmp_l-ssse3.
37075 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37076 strcasecmp.
37077 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37078 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37079 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37080
370812010-07-30 Ulrich Drepper <drepper@redhat.com>
37082
37083 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37084
37085 * string/Makefile (strop-tests): Add strcasecmp.
37086 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37087 strcasecmp_l-nonascii.
37088 (gen-as-const-headers): Add locale-defines.sym.
37089 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37090 * sysdeps/x86_64/strcasecmp.S: New file.
37091 * sysdeps/x86_64/strcasecmp_l.S: New file.
37092 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37093 * sysdeps/x86_64/locale-defines.sym: New file.
37094 * string/test-strcasecmp.c: New file.
37095
37096 * string/test-strcasestr.c: Test both ends of the range of characters.
37097 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37098
370992010-07-29 Roland McGrath <roland@redhat.com>
37100
37101 [BZ #11856]
37102 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37103
371042010-07-27 Ulrich Drepper <drepper@redhat.com>
37105
37106 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37107 for ld.so.
37108
371092010-07-27 Andreas Schwab <schwab@redhat.com>
37110
37111 * manual/memory.texi (Malloc Tunable Parameters): Document
37112 M_PERTURB.
37113
371142010-07-26 Roland McGrath <roland@redhat.com>
37115
37116 [BZ #11840]
37117 * configure.in (-fgnu89-inline check): Set and substitute
37118 gnu89_inline, not libc_cv_gnu89_inline.
37119 * configure: Regenerated.
37120 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37121
371222010-07-26 Ulrich Drepper <drepper@redhat.com>
37123
37124 * string/test-strnlen.c: New file.
37125 * string/Makefile (strop-tests): Add strnlen.
37126 * string/tester.c (test_strnlen): Add a few more test cases.
37127 * string/tst-strlen.c: Better error reporting.
37128
37129 * sysdeps/x86_64/strnlen.S: New file.
37130
371312010-07-24 Ulrich Drepper <drepper@redhat.com>
37132
37133 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37134 lower-latency instructions.
37135
371362010-07-23 Ulrich Drepper <drepper@redhat.com>
37137
37138 * string/test-strcasestr.c: New file.
37139 * string/test-strstr.c: New file.
37140 * string/Makefile (strop-tests): Add strstr and strcasestr.
37141 * string/str-two-way.h: Don't undefine MAX.
37142 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37143
371442010-07-21 Andreas Schwab <schwab@redhat.com>
37145
37146 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37147 strcasestr-nonascii.
37148 (CFLAGS-strcasestr-nonascii.c): Define.
37149 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37150 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37151 Remove unused attribute.
37152
371532010-07-20 Roland McGrath <roland@redhat.com>
37154
37155 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37156 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37157 ld.so.cache was broken. With it, there is no way to disable dsocaps
37158 like LD_HWCAP_MASK can disable hwcaps.
37159
371602010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37161
37162 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37163
371642010-07-16 Ulrich Drepper <drepper@redhat.com>
37165
37166 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37167 call in strcasestr.
37168 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37169 __strcasestr_sse42_nonascii.
37170 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37171 strcasestr-nonascii.c.
37172 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37173
371742010-06-15 Luis Machado <luisgpm@br.ibm.com>
37175
37176 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37177 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37178 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37179 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37180
371812010-07-09 Ulrich Drepper <drepper@redhat.com>
37182
37183 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37184 fcntl.
37185
371862010-07-06 Andreas Schwab <schwab@redhat.com>
37187
37188 [BZ #11577]
37189 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37190 dl_signal_cerror.
37191
371922010-07-06 Ulrich Drepper <drepper@redhat.com>
37193
37194 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37195 _PC_PIPE_BUF using F_GETPIPE_SZ.
37196
371972010-07-05 Roland McGrath <roland@redhat.com>
37198
37199 * manual/arith.texi (Rounding Functions): Fix rint description
37200 implicit in round description.
37201
372022010-07-02 Ulrich Drepper <drepper@redhat.com>
37203
37204 * elf/Makefile: Fix linking for a few tests to make recent linker
37205 happy.
37206
372072010-06-30 Andreas Schwab <schwab@redhat.com>
37208
37209 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37210 $(common-objpfx)libc_nonshared.a.
37211
372122010-06-21 Luis Machado <luisgpm@br.ibm.com>
37213
37214 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37215 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37216 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37217 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37218 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37219 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37220 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37221 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37236 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37237 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37238 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37239 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37240 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37241 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37242 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37243 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37244 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37245 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37246 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37247 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37262
372632010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37264
37265 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37266 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37267 * string/memmove.c (memmove): Renamed to ...
37268 (MEMMOVE): ...this. Default to memmove.
37269 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37270 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37271 (END_CHK): Define.
37272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37273 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37274 mempcpy-ssse3-back memmove-ssse3-back.
37275 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37276 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37277 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37278 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37279 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37280 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37281 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37282 * sysdeps/x86_64/multiarch/memmove.c: New file.
37283 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37284 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37285 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37286 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37287 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37288 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37289 Define.
37290 (index_Fast_Copy_Backward): Define.
37291 (HAS_ARCH_FEATURE): Define.
37292 (HAS_FAST_REP_STRING): Define.
37293 (HAS_FAST_COPY_BACKWARD): Define.
37294
372952010-06-21 Andreas Schwab <schwab@redhat.com>
37296
37297 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37298 Restore proper fallback handling.
37299
373002010-06-19 Ulrich Drepper <drepper@redhat.com>
37301
37302 [BZ #11701]
37303 * posix/group_member.c (__group_member): Correct checking loop.
37304
37305 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37306 OOM in getpwuid_r correctly. Return error number when the caller
37307 should return, otherwise -1.
37308 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37309 call returning > 0 value.
37310 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37311
373122010-06-07 Andreas Schwab <schwab@redhat.com>
37313
37314 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37315 libc_nonshared.a from targets in modules-names.
37316
373172010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37318
37319 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37320 requires it.
37321
373222010-06-10 Luis Machado <luisgpm@br.ibm.com>
37323
37324 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37325 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37326 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37327 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37328
373292010-06-02 Andreas Schwab <schwab@redhat.com>
37330
37331 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37332
373332010-06-14 Ulrich Drepper <drepper@redhat.com>
37334
37335 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37336 and F_GETPIPE_SZ.
37337 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37338 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37339 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37340 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37341 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37342 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37343
373442010-06-14 Roland McGrath <roland@redhat.com>
37345
37346 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37347
373482010-06-07 Jakub Jelinek <jakub@redhat.com>
37349
37350 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37351 __REDIRECT followed by __THROW.
37352 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37353 * posix/getopt.h (getopt): Likewise.
37354
373552010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37356
37357 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37358 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37359 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37360 in AT_FLAGS.
37361 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37362 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37363
373642010-05-28 Luis Machado <luisgpm@br.ibm.com>
37365
37366 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37367
373682010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37369
37370 [BZ #11640]
37371 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37372 Properly check family and model.
37373
373742010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37375
37376 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37377
373782010-05-24 Luis Machado <luisgpm@br.ibm.com>
37379
37380 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37381
373822010-05-21 Ulrich Drepper <drepper@redhat.com>
37383
37384 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37385 symbol reference.
37386
373872010-05-19 Andreas Schwab <schwab@redhat.com>
37388
37389 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37390 symbol reference.
37391
373922010-05-21 Andreas Schwab <schwab@redhat.com>
37393
37394 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37395 and internal_recvmmsg.
37396 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37397 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37398 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37399 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37400
37401 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37402 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37403 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37404
374052010-05-20 Andreas Schwab <schwab@redhat.com>
37406
37407 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37408
374092010-05-17 Luis Machado <luisgpm@br.ibm.com>
37410
37411 POWER7 optimizations.
37412 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37413 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37414
374152010-05-19 Ulrich Drepper <drepper@redhat.com>
37416
37417 * version.h: Update for 2.13 development version.
37418
374192010-05-12 Andrew Stubbs <ams@codesourcery.com>
37420
37421 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37422 exceptions. Return 0.
37423
374242010-05-07 Roland McGrath <roland@redhat.com>
37425
37426 * elf/ldconfig.c (main): Add a const.
37427
374282010-05-06 Ulrich Drepper <drepper@redhat.com>
37429
37430 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37431 (args_options): Add no-idn option.
37432 (ahosts_keys_int): Add idn_flags to ai_flags.
37433 (parse_option): Handle 'i' option to clear idn_flags.
37434
37435 * malloc/malloc.c (_int_free): Possible race in the most recently
37436 added check. Only act on the data if no current modification
37437 happened.
37438
37439See ChangeLog.17 for earlier changes.