]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC: multiarch __ieee754_hypot[f] for PowerPC32
[thirdparty/glibc.git] / ChangeLog
CommitLineData
2e973d99
AZ
12013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
4 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6 New file.
7 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8 New file.
9 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10 multiarch __ieee754_hypot for PowerPC32.
11 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12 New file.
13 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14 New file.
15 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
16 multiarch __ieee754_hypotf for PowerPC32.
17
2d9470b2
AZ
182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19
20 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21 long_double_symbol only if __logbl is defined.
22 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
23 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
24 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
26 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
28 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
29 path for implementation.
30 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
31 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
32 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
33 logb, and logbl multiarch implementations for PowerPC32.
34 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
35 file.
36 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
37 file.
38 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
39 multiarch logb for PowerPC32.
40 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
41 file.
42 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
43 file.
44 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
45 multiarch logbf for PowerPC32.
46 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
47 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
48 file.
49 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
50 multiarch logbl implementation for PowerPC32.
51
5212ffce
AZ
522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53
54 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
55 and modff multiarch implementations.
56 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
57 New file.
58 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
59 New file.
60 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
61 multiarch modf for PowerPC32.
62 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
63 New file.
64 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
65 New file.
66 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
67 multiarch modff for PowerPC32.
68
79dccf31
AZ
692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70
71 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
72 and lrintf multiarch implementations.
73 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
74 New file.
75 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
76 New file.
77 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
78 multiarch lrint for PowerPC32.
79 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
80 file: multiarch lrintf for PowerPC32.
81
deb66480
AZ
822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83
84 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
85 and lroundf multiarch implementations.
86 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
87 New file.
88 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
89 New file.
90 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
91 New file.
92 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
93 multiarch lround for PowerPC32.
94 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
95 file: multiarch lroundf for PowerPC32.
96
264b036b
AZ
972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
98
99 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
100 copysign and copysignf multiarch implementations.
101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
102 New file.
103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
104 New file.
105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
106 file: multiarch copysign for PowerPC32.
107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
108 file: multiarch copysignf for PowerPC32.
109
d47db6c9
AZ
1102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
111
112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
113 and truncf multiarch implementations.
114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
115 New file.
116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
117 file.
118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
119 multiarch trunc for PowerPC32.
120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
121 New file.
122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
123 New file.
124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
125 multiarch truncf for PowerPC32.
126
ddb60b5a
AZ
1272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
128
129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
130 and roundf multiarch implementations.
131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
132 New file.
133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
134 file.
135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
136 multiarch round for PowerPC32.
137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
138 New file.
139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
140 New file.
141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
142 multiarch roundf for PowerPC32.
143
bedcf49b
AZ
1442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
145
146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
147 and floorf multiarch implementations.
148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
149 New file.
150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
151 file.
152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
153 multiarch floor for PowerPC32.
154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
155 New file.
156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
157 New file.
158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
159 multiarch floorf for PowerPC32.
160
35ae5b40
AZ
1612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
162
163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
164 and ceilf multiarch implementations.
165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
166 New file.
167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
168 file.
169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
170 multiarch ceil for PowerPC32.
171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
172 New file.
173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
174 file.
175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
176 multiarch ceilf for PowerPC32.
177
ae1a4cd9
AZ
1782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
179
180 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
181 is defined.
182 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
183 FINITEF is defined.
184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
185 and finitef multiarch implementations.
186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
187 New file.
188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
189 file.
190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
191 multiarch finite for PowerPC32.
192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
193 New file.
194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
195 file: multiarch finitef for PowerPC32.
196
64fffd65
AZ
1972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
198
199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
200 and isinff multiarch implementations.
201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
202 file.
203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
204 file.
205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
206 multiarch isinf for PowerPC32.
207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
208 New file.
209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
210 multiarch isinff for PowerPC32.
211
8e4e7ba2
AZ
2122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
213
214 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
215 alias when __isnan is defined.
216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
217 and isnanf multiarch implementations.
218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
219 file.
220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
221 file.
222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
223 file.
224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
225 file.
226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
227 multiarch isnan for PowerPC32.
228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
229 New file.
230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
231 New file.
232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
233 multiarch isnanf for PowerPC32.
234
ddba588e
AZ
2352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
236
237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
238 and sqrtf multiarch implementations.
239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
240 file.
241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
242 file.
243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
244 multiarch sqrt for PowerPC32.
245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
246 file.
247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
248 file.
249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
250 multiarch sqrtf for PowerPC32.
251
0f96a2f0
AZ
2522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
253
254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
255 and llroundf multiarch implementations.
256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
257 New file.
258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
259 New file.
260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
261 New file.
262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
263 file: multiarch llround for PowerPC32.
264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
265 file: multiarch llroundf for PowerPC32.
266
c9b5d79e
AZ
2672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
268
269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
270 multiarch PowerPC32 fpu implementations.
271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
272 New file.
273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
274 New file.
275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
276 multiarch llrint for PowerPC32.
277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
278 New file.
279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
280 New file.
281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
282 file.
283
9cbb3aab
AZ
2842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
285
286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
287
ea5a72f8
AZ
2882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
289
290 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
291 file.
292 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
293 file.
294 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
295 file.
296 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
297 multiarch wordcopy for PPC32.
298 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
299 wordcopy objects.
300 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
301 (__libc_ifunc_impl_list): Likewise.
302 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
303 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
304 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
305 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
306 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
307 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
308
93be09e7
AZ
3092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
310
311 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
312 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
313 file.
314 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
315 file.
316 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
317 file.
318 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
319 multiarch wcscpy for PPC32.
320 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
321 multiarch objects.
322 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
323 (__libc_ifunc_impl_list): Likewise.
324 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
325 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
326 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
327 sysdeps/powerpc/power6/wcscpy.c.
328
bb04e529
AZ
3292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
330
331 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
332 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
333 file.
334 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
335 file.
336 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
337 file.
338 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
339 multiarch wcsrchr for PPC32.
340 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
341 multiarch objects.
342 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
343 (__libc_ifunc_impl_list): Likewise.
344 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
345 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
346 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
347 sysdeps/powerpc/power6/wcsrchr.c.
348
05b5cd1c
AZ
3492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
350
351 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
352 file.
353 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
354 file.
355 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
356 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
357 multiarch wcschr for PPc32.
358 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
359 multiarch objects.
360 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
361 (__libc_ifunc_impl_list): Likewise.
362 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
363 * sysdeps/powerpc/power6/wcschr.c: ... to here.
364 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
365 sysdeps/powerpc/power6/wcschr.c.
366
ba964147
AZ
3672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
368
369 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
370 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
371 file.
372 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
373 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
374 file: multiarch strchr for PPC32.
375 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
376 multiarch objects.
377 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
378 (__libc_ifunc_impl_list): Likewise.
379
31c81aaa
AZ
3802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
381
382 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
383 name.
384 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
385 file.
386 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
387 file.
388 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
389 multiarch strchrnul for PPC32.
390 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
391 multiarch objects.
392 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
393 (__libc_ifunc_impl_list): Likewise.
394
0d0607d9
AZ
3952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
396
397 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
398 file.
399 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
400 multiarch strncasecmp for PPC32.
401 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
402 file.
403 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
404 multiarch strncasecmp_l for PPC32.
405 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
406 strncasecmp multiarch objects.
407 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
408 (__libc_ifunc_impl_list): Likewise.
409
4dfd5c86
AZ
4102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
411
412 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
413 file.
414 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
415 multiarch strncasecmp for PPC32.
416 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
417 New file.
418 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
419 multiarch strcasecmp_l for PPC32.
420 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
421 multiarch objects.
422 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
423 (__libc_ifunc_impl_list): Likewise.
424
a19e01a3
AZ
4252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
426
427 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
428 file.
429 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
430 file.
431 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
432 multiarch strncmp for PPC32.
433 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
434 multiarch objects.
435 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
436 (__libc_ifunc_impl_list): Likewise.
437
ae9cf7a2
AZ
4382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
439
440 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
441 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
442 file.
443 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
444 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
445 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
446 multiarch objects.
447 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
448 (__libc_ifunc_impl_list): Likewise.
449
3148bb7d
AZ
4502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
451
452 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
453 file.
454 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
455 file.
456 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
457 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
458 multiarch objects.
459 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
460 (__libc_ifunc_impl_list): Likewise.
461
7af8b946
AZ
4622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
463
464 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
465 file.
466 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
467 file.
468 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
469 multiarch rawmemchr for PPC32.
470 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
471 multiarch objects.
472 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
473 (__libc_ifunc_impl_list): Likewise.
474
03a6aa6a
AZ
4752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
476
477 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
478 file.
479 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
480 file.
481 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
482 file: memrchr multiarch for PPC32.
483 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
484 multiarch objects.
485 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
486 (__libc_ifunc_impl_list): Likewise.
487
1c62e6d9
AZ
4882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
489
490 * string/memchr.c (__memchr): Using macro to redefine symbol name.
491 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
492 file.
493 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
494 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
495 multiarch memchr for PPC32.
496 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
497 multiarch objects.
498 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
499 (__libc_ifunc_impl_list): Likewise.
500
87da8bdb
AZ
5012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
502
503 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
504 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
505 file.
506 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
507 file.
508 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
509 file: multiarch mempcpy for PPC32.
510 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
511 multiarch objects.
512 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
513 (__libc_ifunc_impl_list): Likewise.
514
20ed4714
AZ
5152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
516
517 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
518 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
519 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
520 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
521 multiarch bzero for PPC32.
522 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
523 file.
524 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
525 file.
526 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
527 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
528 file: multiarch memset for PPC32.
529 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
530 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
531 memset multiarch objects.
532 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
533 (__libc_ifunc_impl_list): Likewise.
534
ab3e3a46
AZ
5352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
536
537 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
538 file.
539 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
540 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
541 memcmp for PPC32.
542 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
543 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
544 multiarch objects.
545 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
546 (__libc_ifunc_impl_list): Likewise.
547
930de6f0
AZ
5482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
549
550 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
551 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
552 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
553 file.
554 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
555 file.
556 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
557 file.
558 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
559 multiarch memcpy for PPC32.
560 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
561 multiarch objects.
562 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
563 (__libc_ifunc_impl_list): Likewise.
564
4c628e00
AZ
5652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
566
567 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
568 support multiarch for POWER/PPC32.
569 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
570 Likewise.
571 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
573 Implies file to make multiarch folder appers before the fpu and
574 default folder for power4 configuration.
575
f4479220
SP
5762013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
577
578 * scripts/bench.pl: Append volatile keyword to type.
579
8517800f
KK
5802013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
581
582 * sysdeps/sh/sotruss-lib.c: New file.
583 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
584
180138f1
AZ
5852013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
586
587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
588
bbf37bdc
JM
5892013-12-05 Joseph Myers <joseph@codesourcery.com>
590
e47cc4e0
JM
591 [BZ #6810]
592 * math/w_tgamma.c: Include <errno.h>.
593 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
594 * math/w_tgammaf.c: Include <errno.h>.
595 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
596 * math/w_tgammal.c: Include <errno.h>.
597 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
598 * math/auto-libm-test-in: Do not allow missing errno on tgamma
599 underflow. Add more tgamma tests.
600 * math/auto-libm-test-out: Regenerated.
601 * sysdeps/i386/fpu/libm-test-ulps: Update.
602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
603
bbf37bdc
JM
604 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
605 sin, sinh, tan, tanh, tgamma, y0 and y1.
606 * math/auto-libm-test-out: Regenerated.
607 * math/libm-test.inc (TEST_COND_x86_64): New macro.
608 (TEST_COND_x86): Likewise.
609 (M_E2l): Remove macro.
610 (M_E3l): Likewise.
611 (M_2_SQRT_PIl): Likewise.
612 (M_SQRT_PIl): Likewise.
613 (M_1_DIV_El): Likewise.
614 (log_test_data): Use AUTO_TESTS_f_f.
615 (log10_test_data): Likewise.
616 (log1p_test_data): Likewise.
617 (log2_test_data): Likewise.
618 (sin_test_data): Likewise.
619 (sin_tonearest_test_data): Likewise.
620 (sin_towardzero_test_data): Likewise.
621 (sin_downward_test_data): Likewise.
622 (sin_upward_test_data): Likewise.
623 (sinh_test_data): Likewise.
624 (sinh_tonearest_test_data): Likewise.
625 (sinh_towardzero_test_data): Likewise.
626 (sinh_downward_test_data): Likewise.
627 (sinh_upward_test_data): Likewise.
628 (tan_test_data): Likewise.
629 (tan_tonearest_test_data): Likewise.
630 (tan_towardzero_test_data): Likewise.
631 (tan_downward_test_data): Likewise.
632 (tan_upward_test_data): Likewise.
633 (tanh_test_data): Likewise.
634 (tgamma_test_data): Likewise.
635 (y0_test_data): Likewise.
636 (y1_test_data): Likewise.
637 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
638 (special_real_inputs): Add pi/4.
639 * sysdeps/i386/fpu/libm-test-ulps: Update.
640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
641
eb5ad6b9
AZ
6422013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
643
644 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
645 "longjmp_target" static probes.
646 (__longjmp): Rename to __longjmp_symbol.
647 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
648 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
649 on which longjmp to generate.
650 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
651 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
652 probe.
653 (__sigsetjmp): Rename to __sigsetjmp_symbol.
654 (__sigjmp_save): Rename to __sigjmp_save_symbol.
655 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
656 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
657 and __sigjmp_save_symbol based on which sigsetjmp to generated.
658 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
660 __longjmp_symbol based on which __longjmp to generate.
661 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
662 probe.
663 (setjmp): Rename to setjmp_symbol.
664 (__sigsetjmp): Rename to __sigsetjmp_symbol.
665 (_setjmp): Rename to _setjmp_symbol.
666 (__sigsetjmp): Rename to __sigsetjmp_symbol.
667 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
668 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
669 which setjmp to generate.
670 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
671 "longjmp_target" static probes.
672
d136c6dc
SP
6732013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
674
9298ecba
SP
675 * benchtests/README: Add note about output arguments.
676 * benchtests/bench-sincos.c: Remove file.
677 * benchtests/sincos-inputs: New file.
678 * scripts/bench.pl: Identify output arguments and define
679 static variables for them.
680
232983e9
SP
681 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
682
d136c6dc
SP
683 [BZ #15941]
684 * Makefile (INSTALL): Add install-plain.texi as the primary
685 dependency.
686 * manual/install-plain.texi: New file.
687 * manual/install.texi: Include node directive only for
688 non-plaintext output.
689
699ff837
JM
6902013-12-04 Joseph Myers <joseph@codesourcery.com>
691
ab07cea8
JM
692 * stdlib/longlong.h: Update from GCC.
693
699ff837
JM
694 [BZ #6807]
695 [BZ #15901]
696 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
697 * math/w_j0f.c (y0f): Likewise.
698 * math/w_j0l.c (__y0l): Likewise.
699 * math/w_j1.c (y1): Likewise.
700 * math/w_j1f.c (y1f): Likewise.
701 * math/w_j1l.c (__y1l): Likewise
702 * math/w_jn.c (yn): Likewise.
703 * math/w_jnf.c (ynf): Likewise.
704 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
705 Bessel function pole errors in _POSIX_ mode. Use NAN as return
706 value for Bessel function domain errors outside _SVID_ mode.
707 Adjust sign of return value for yn (negative integer, 0).
708 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
709 by zero in return for negative x and set sign appropriately for
710 negative n.
711 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
712 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
713 * math/libm-test.inc (y0_test_data): Add more tests and adjust
714 expectations in error cases.
715 (y1_test_data): Likewise.
716 (yn_test_data): Likewise.
717 * sysdeps/i386/fpu/libm-test-ulps: Update.
718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
719
5b118558
UW
7202013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
721
722 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
723 "64" to "64-v1". Add "64-v2".
724 (abi-64-options): Rename to ...
725 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
726 (abi-64-condition): Rename to ...
727 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
728 (abi-64-ld-soname): Rename to ...
729 (abi-64-v1-ld-soname): ... this.
730 (abi-64-v2-options): Define.
731 (abi-64-v2-condition): Likewise.
732 (abi-64-v2-ld-soname): Likewise.
733 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
734 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
738
61cd8fe4
UW
7392013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
740 Alan Modra <amodra@gmail.com>
741
742 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
743 New versions for use with the ELFv2 ABI.
744 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
745 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
746 declaration.
747 (struct La_ppc64v2_retval): Likewise.
748 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
749 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
750 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
751 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
752 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
753 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
754 Do not save or restore CR.
755 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
756 (_dl_profile_resolve): Do no save or restore CR. Support extended
757 return values for ELFv2 ABI. Fix location of FPR return registers.
758 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
759 updated values for _CALL_ELF == 2.
760 (La_regs, La_retval, int_retval): Likewise.
761
8b8a692c
UW
7622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
763
764 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
765 (FRAME_MIN_SIZE_PARM): Likewise.
766 (FRAME_BACKCHAIN): Likewise.
767 (FRAME_CR_SAVE): Likewise.
768 (FRAME_LR_SAVE): Likewise.
769 (FRAME_TOC_SAVE): Likewise.
770 (FRAME_PARM_SAVE): Likewise.
771 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
772 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
773 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
774 (call_mcount_parm_offset): New macro.
775 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
776 (PROF): Use symbolic stack frame offsets.
777 (TAIL_CALL_SYSCALL_ERROR): Likewise.
778 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
779 Redefine in terms of FRAME_MIN_SIZE.
780 (_dl_runtime_resolve): Use symbolic stack frame offsets.
781 (_dl_profile_resolve): Likewise. Update comment.
782 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
783 symbols stack frame offsets.
784 (__sigsetjmp): Likewise.
785 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
786 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
787 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
788 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
789
790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
791 (FRAME_BACKCHAIN): Remove.
792 (FRAME_CR_SAVE): Likewise.
793 (FRAME_LR_SAVE): Likewise.
794 (FRAME_COMPILER_DW): Likewise.
795 (FRAME_LINKER_DW): Likewise.
796 (FRAME_TOC_SAVE): Likewise.
797 (FRAME_PARM_SAVE): Likewise.
798 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
799 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
800 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
802 (CHECK_SP): Use symbolic stack frame offsets.
803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
804 zone" instead of caller's parameter save area for temp storage.
805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
806 Likewise. Also, use symbolic stack frame offsets.
807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
808 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
809 our own stack frame instead of the caller's.
810 (__socket): Use symbolic stack frame offsets.
811
122b66de
UW
8122013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
813 Alan Modra <amodra@gmail.com>
814
815 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
816 Define.
817 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
818 PPC64_LOCAL_ENTRY_OFFSET): Define.
819 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
820 New function.
821 (elf_machine_fixup_plt): Call it.
822 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
823 reloc arguments.
824 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
825 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
826 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
827 r2 before calling target.
828
696caf1d
UW
8292013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
830 Alan Modra <amodra@gmail.com>
831
832 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
833 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
834 versions of macros to support ELFv2 ABI.
835 (LOCALENTRY): New macro.
836 (ENTRY, EALIGN): Use it.
837 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
838 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
839 fall through into ENTRY entry point.
840 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
841 Only define if _CALL_ELF != 2.
842
843 (elf_machine_matches_host): Verify ABI version matches.
844 (RTLD_START): Use LOCALENTRY.
845 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
846 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
847 (PLT_ENTRY_WORDS): New macro.
848 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
849 (elf_machine_runtime_setup): Support ELFv2 ABI.
850 (elf_machine_fixup_plt): Likewise.
851 (elf_machine_plt_conflict): Likewise.
852 (resolve_ifunc): Likewise.
853 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
854 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
855 Likewise.
856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
857 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
859 (makecontext): Support ELFv2 ABI.
860 * elf/elf.h (EF_PPC64_ABI): Define.
861
d31beafa
UW
8622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
863
864 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
865 New assembler macro.
866 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
867 [ASSEMBLER] (ENTRY): ... but instead here ...
868 [ASSEMBLER] (EALIGN): ... and here.
869 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
870 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
871 [!ASSEMBLER] (ENTRY_2): Use it.
872 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
873 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
874 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
875 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
876 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
878 Use PPC64_LOAD_FUNCPTR.
879
b525166b
UW
8802013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
881
882 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
883
7ec07d9a
AM
8842013-12-04 Alan Modra <amodra@gmail.com>
885
886 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
887 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
888 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
889 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
890
891 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
892 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
893 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
894 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
895 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
896 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
897
5162e7dd
UW
8982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
899
900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
901 (__makecontext): Fix incorrect CFI when backtracing out of
902 context created via makecontext.
903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
904 (__setcontext): Fix incorrect CFI during switch to new context.
905 (__novec_setcontext): Likewise.
906
19e3372b
OB
9072013-12-04 Ondřej Bílka <neleai@seznam.cz>
908
909 [BZ #4772]
910 * time/strptime_l.c (__strptime_internal): Allow modifiers
911 in strptime.
912 * time/tst-strptime.c (day_tests): Add testcase.
913
914
ecaf142d
SP
9152013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
916
917 * scripts/bench.pl: Skip over blank lines.
918
fbf964ae
PE
9192013-12-04 Paul Eggert <eggert@cs.ucla.edu>
920
921 [BZ #926]
922 * manual/time.texi (Calendar Time): Clarify what timezone functions
923 use.
924
fa60a674
AZ
9252013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
926
927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
928
d674f0ef
OB
9292013-12-04 Ondřej Bílka <neleai@seznam.cz>
930
931 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
932 implementation.
933 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
934 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
935 * debug/memset_chk.c (__memset_chk): Likewise.
936 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
937 * debug/strncpy_chk.c: Likewise.
938
17dea188
JM
9392013-12-03 Joseph Myers <joseph@codesourcery.com>
940
749008ff
JM
941 [BZ #15268]
942 [BZ #15425]
943 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
944 (__ieee754_exp): For possibly underflowing results, check size of
945 result and force underflow exception if required.
946 * math/auto-libm-test-in: Add more tests of exp.
947 * math/auto-libm-test-out: Regenerated.
948 * sysdeps/i386/fpu/libm-test-ulps: Update.
949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
950
17dea188
JM
951 [BZ #16283]
952 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
953 * math/w_exp2f.c (__exp2f): Likewise.
954 * math/w_exp2l.c (__exp2l): Likewise.
955 * math/auto-libm-test-in: Do not allow missing errno on exp2
956 underflow.
957 * math/auto-libm-test-out: Regenerated.
958
b20de2c3
OB
9592013-12-03 Ondřej Bílka <neleai@seznam.cz>
960
961 [BZ #16274]
962 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
963 handle filename validation.
964 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
965 (do_open): Delete.
966
d8e2dbe3
JM
9672013-12-03 Joseph Myers <joseph@codesourcery.com>
968
34e16df5
JM
969 [BZ #6786]
970 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
971 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
972 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
973 <float.h>.
974 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
975 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
976 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
977 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
978 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
979 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
980 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
981 * math/auto-libm-test-in: Don't allow missing errno from erfc.
982 Add more erfc tests.
983 * math/auto-libm-test-out: Regenerated.
984 * sysdeps/i386/fpu/libm-test-ulps: Update.
985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
986
d8e2dbe3
JM
987 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
988 exp2, expm1, j0 and j1.
989 * math/auto-libm-test-out: Regenerated.
990 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
991 (erfc_test_data): Likewise.
992 (exp_test_data): Likewise.
993 (exp_tonearest_test_data): Likewise.
994 (exp_towardzero_test_data): Likewise.
995 (exp_downward_test_data): Likewise.
996 (exp_upward_test_data): Likewise.
997 (exp10_test_data): Likewise.
998 (exp2_test_data): Likewise.
999 (expm1_test_data): Likewise.
1000 (j0_test_data): Likewise.
1001 (j1_test_data): Likewise.
1002 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1003 (input_flag_type): Add flag_xfail_rounding.
1004 (input_flags): Add xfail-rounding.
1005 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1006 (output_for_one_input_case): Handle flag_xfail_rounding.
1007 * sysdeps/i386/fpu/libm-test-ulps: Update.
1008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1009
18d14251
AJ
10102013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1011
3d2e6075 1012 [BZ #16289]
18d14251
AJ
1013 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1014 division by 0.
1015
520d437b
SP
10162013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1017
1018 [BZ #16195]
1019 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1020 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1021 (STAP_PROBE0): New macro.
1022 (STAP_PROBE1): Likewise.
1023 (STAP_PROBE2): Likewise.
1024 (STAP_PROBE3): Likewise.
1025 (STAP_PROBE4): Likewise.
1026
416e0145
OB
10272013-12-02 Ondřej Bílka <neleai@seznam.cz>
1028
1029 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1030
9d17796a
SE
10312013-12-02 Steve Ellcey <sellcey@mips.com>
1032
1033 * benchtests/Makefile (bench): Add sqrt.
1034 (LDLIBS-bench-sqrt): New.
1035 * benchtests/sqrt-input: New.
1036
f524d6a8
PS
10372013-12-02 Pavel Simerda <psimerda@redhat.com>
1038
639a0ef8
PS
1039 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1040 (GAIH_EAI): Likewise.
1041 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1042 (gaih_inet): Likewise.
1043 (getaddrinfo): Don't use GAIH_EAI.
1044
f524d6a8
PS
1045 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1046 (struct gaih): Remove definition.
1047
df3aedaf
SP
10482013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1049
1050 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1051 Use HERRNOP directly.
1052
1ab19dec
AZ
10532013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1054
b42ad38d 1055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 1056
176b0c79
JM
10572013-11-30 Joseph Myers <joseph@codesourcery.com>
1058
1059 * math/gen-auto-libm-tests.c (test_functions): Add more
1060 single-argument functions.
1061 (special_fill_pi_2): New function.
1062 (special_fill_minus_pi_2): Likewise.
1063 (special_fill_pi_6): Likewise.
1064 (special_fill_minus_pi_6): Likewise.
1065 (special_fill_pi_3): Likewise.
1066 (special_fill_2pi_3): Likewise.
1067 (special_fill_e): Likewise.
1068 (special_fill_1_e): Likewise.
1069 (special_fill_e_minus_1): Likewise.
1070 (special_real_inputs): Add more special inputs.
1071 (output_for_one_input_case): Do not require ERANGE on underflow to
1072 zero if round-to-nearest result does not underflow to zero, unless
1073 exact results required.
1074 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1075 atan, atanh, cbrt, cos and cosh.
1076 * math/auto-libm-test-out: Regenerated.
1077 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1078 (acos_tonearest_test_data): Likewise.
1079 (acos_towardzero_test_data): Likewise.
1080 (acos_downward_test_data): Likewise.
1081 (acos_upward_test_data): Likewise.
1082 (acosh_test_data): Likewise.
1083 (asin_test_data): Likewise.
1084 (asin_tonearest_test_data): Likewise.
1085 (asin_towardzero_test_data): Likewise.
1086 (asin_upward_test_data): Likewise.
1087 (asinh_test_data): Likewise.
1088 (atan_test_data): Likewise.
1089 (atanh_test_data): Likewise.
1090 (cbrt_test_data): Likewise.
1091 (cos_test_data): Likewise.
1092 (cos_tonearest_test_data): Likewise.
1093 (cos_towardzero_test_data): Likewise.
1094 (cos_downward_test_data): Likewise.
1095 (cos_upward_test_data): Likewise.
1096 (cosh_test_data): Likewise.
1097 (cosh_tonearest_test_data): Likewise.
1098 (cosh_towardzero_test_data): Likewise.
1099 (cosh_downward_test_data): Likewise.
1100 (cosh_upward_test_data): Likewise.
1101 * sysdeps/i386/fpu/libm-test-ulps: Update.
1102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1103
ffb536d0
JM
11042013-11-29 Joseph Myers <joseph@codesourcery.com>
1105
2a77a467
JM
1106 [BZ #6787]
1107 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1108 * math/w_exp10f.c (__exp10f): Likewise.
1109 * math/w_exp10l.c (__exp10l): Likewise.
1110 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1111 errno settings in existing tests.
1112
ea3bc4e8
JM
1113 [BZ #14032]
1114 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1115 precision control set to double precision.
1116 * sysdeps/i386/fpu/w_sqrt.c: New file.
1117 * math/auto-libm-test-in: Add more tests.
1118 * math/auto-libm-test-out: Update.
1119
0712c9d8
JM
1120 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1121 (sqrt_test_tonearest): New function.
1122 (sqrt_towardzero_test_data): New variable.
1123 (sqrt_test_towardzero): New function.
1124 (sqrt_downward_test_data): New variable.
1125 (sqrt_test_downward): New function.
1126 (sqrt_upward_test_data): New variable.
1127 (sqrt_test_upward): New function.
1128 (main): Call the new functions.
1129
ffb536d0
JM
1130 * math/gen-auto-libm-tests.c: New file.
1131 * math/auto-libm-test-in: Likewise.
1132 * math/auto-libm-test-out: New generated file.
1133 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1134 variables.
1135 (%beautify): Add generated representations of zero.
1136 (top level): Set $auto_input and call parse_auto_input.
1137 (beautify): Remove trailing "f" from hex float constants.
1138 (parse_args): Handle XFAIL_TEST.
1139 (convert_condition): New function.
1140 (or_value): Likewise.
1141 (or_cond_value): Likewise.
1142 (generate_testfile): Handle AUTO_TESTS_* lines.
1143 (parse_auto_input): New function.
1144 * math/libm-test.inc (XFAIL_TEST): New macro.
1145 (ERRNO_UNCHANGED): Update value.
1146 (ERRNO_EDOM): Likewise.
1147 (ERRNO_ERANGE): Likewise.
1148 (IGNORE_RESULT): Likewise.
1149 (TEST_COND_flt_32): New macro.
1150 (TEST_COND_dbl_64): Likewise.
1151 (TEST_COND_ldbl_96_intel): Likewise.
1152 (TEST_COND_ldbl_96_m68k): Likewise.
1153 (TEST_COND_ldbl_128): Likewise.
1154 (TEST_COND_ldbl_128ibm): Likewise.
1155 (TEST_COND_long32): Likewise.
1156 (TEST_COND_long64): Likewise.
1157 (TEST_COND_before_rounding): Likewise.
1158 (TEST_COND_after_rounding): Likewise.
1159 (enable_test): Handle XFAIL_TEST flag.
1160 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1161 with finite results.
1162 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1163 auto-libm-test-out.
1164
acd98a8e
AK
11652013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1166 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1167
1168 [BZ #16214]
1169 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1170 __tls_get_addr_internal instead of __tls_get_offset in order to
1171 avoid GOT pointer dependency. Make rtld export
1172 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1173 __tls_get_addr since we are a __tls_get_offset platform.
1174 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1175 GOT pointer being set up before.
1176 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1177
3c1c46a6
JM
11782013-11-28 Joseph Myers <joseph@codesourcery.com>
1179
7475aef5
JM
1180 * manual/math.texi (Errors in Math Functions): Document accuracy
1181 goals.
1182
8bca7cd8
JM
1183 [BZ #15004]
1184 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1185 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1186 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1187 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1188 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1189 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1190 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1191 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1192 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1193 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1194 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1195 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1196 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1197 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1198 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1199 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1200
91a1f3fe
JM
1201 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1202 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1203 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1204 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1205 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1206 Likewise.
1207 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1208 Likewise.
1209 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1210 Likewise.
1211 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1212 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1213 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1214 atomic-feupdateenv and flt-rounds.
1215 * sysdeps/powerpc/nofpu/Versions (libc): Add
1216 __atomic_feholdexcept, __atomic_feclearexcept,
1217 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1218 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1219 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1220 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1221 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1222 here.
1223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1224 Update.
1225
c5df7609
JM
1226 * manual/arith.texi (FP Exceptions): Document that exceptions may
1227 not be raised when matherr is used.
1228 (Math Error Reporting): Document overflow in directed rounding
1229 modes. Document that errno may not be set when finite values are
1230 returned on overflow. Document intent to set errno on underflow
1231 only for underflow to zero.
1232
3c1c46a6
JM
1233 [BZ #16271]
1234 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1235 round-to-nearest then adjust result for other rounding modes.
1236 * include/fenv.h (fegetround): Use libm_hidden_proto.
1237 * math/fegetround.c (fegetround): Use libm_hidden_def.
1238 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1239 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1240 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1241 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1242 Likewise.
1243 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1244 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1245 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1246 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1247
5a4c6d53
SP
12482013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1249
1250 [BZ #16077]
1251 * nss/Versions (libnss_files): Add
1252 _nss_files_gethostbyname3_r.
1253 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1254 New function.
1255 (HOST_DB_LOOKUP): Remove macro.
1256 (_nss_files_gethostbyname_r): Implement function without the
1257 HOST_DB_LOOKUP macro.
1258 (_nss_files_gethostbyname2_r): Likewise.
1259
897b98ba
OB
12602013-11-28 Ondřej Bílka <neleai@seznam.cz>
1261
1262 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1263
6f476861
UB
12642013-11-26 Uros Bizjak <ubizjak@gmail.com>
1265
1266 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1267 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1268 warning.
1269
bd12ab55
AZ
12702013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1271
1272 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1273 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1274 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1275 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1276 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1277 __fe_nomask_env_priv and attribute_hidden.
1278 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1279 (libc_feupdateenv_test_ppc): Likewise.
1280 (libc_feresetround_ppc): Likewise.
1281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1282 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1283 compat_symbol macro.
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1285 (__fe_nomask_env): Likewise.
1286 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1287
52bb6543
OB
12882013-11-26 Ondřej Bílka <neleai@seznam.cz>
1289
1290 * string/Makefile: Remove ifunc tests.
1291 * string/test-string.h: Define TEST_IFUNC.
1292 * string/test-bcopy-ifunc.c: Remove.
1293 * string/test-bzero-ifunc.c: Likewise.
1294 * string/test-memccpy-ifunc.c: Likewise.
1295 * string/test-memchr-ifunc.c: Likewise.
1296 * string/test-memcmp-ifunc.c: Likewise.
1297 * string/test-memcpy-ifunc.c: Likewise.
1298 * string/test-memmem-ifunc.c: Likewise.
1299 * string/test-memmove-ifunc.c: Likewise.
1300 * string/test-mempcpy-ifunc.c: Likewise.
1301 * string/test-memrchr-ifunc.c: Likewise.
1302 * string/test-memset-ifunc.c: Likewise.
1303 * string/test-rawmemchr-ifunc.c: Likewise.
1304 * string/test-stpcpy-ifunc.c: Likewise.
1305 * string/test-stpncpy-ifunc.c: Likewise.
1306 * string/test-strcasecmp-ifunc.c: Likewise.
1307 * string/test-strcasestr-ifunc.c: Likewise.
1308 * string/test-strcat-ifunc.c: Likewise.
1309 * string/test-strchr-ifunc.c: Likewise.
1310 * string/test-strchrnul-ifunc.c: Likewise.
1311 * string/test-strcmp-ifunc.c: Likewise.
1312 * string/test-strcpy-ifunc.c: Likewise.
1313 * string/test-strcspn-ifunc.c: Likewise.
1314 * string/test-strlen-ifunc.c: Likewise.
1315 * string/test-strncasecmp-ifunc.c: Likewise.
1316 * string/test-strncat-ifunc.c: Likewise.
1317 * string/test-strncmp-ifunc.c: Likewise.
1318 * string/test-strncpy-ifunc.c: Likewise.
1319 * string/test-strnlen-ifunc.c: Likewise.
1320 * string/test-strpbrk-ifunc.c: Likewise.
1321 * string/test-strrchr-ifunc.c: Likewise.
1322 * string/test-strspn-ifunc.c: Likewise.
1323 * string/test-strstr-ifunc.c: Likewise.
1324
ab260039 13252013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
1326
1327 * benchtests/Makefile: Remove ifunc tests.
1328 * benchtests/bench-string.h: Define TEST_IFUNC.
1329 * benchtests/bench-bcopy-ifunc.c: Remove.
1330 * benchtests/bench-bzero-ifunc.c: Likewise.
1331 * benchtests/bench-memccpy-ifunc.c: Likewise.
1332 * benchtests/bench-memchr-ifunc.c: Likewise.
1333 * benchtests/bench-memcmp-ifunc.c: Likewise.
1334 * benchtests/bench-memcpy-ifunc.c: Likewise.
1335 * benchtests/bench-memmem-ifunc.c: Likewise.
1336 * benchtests/bench-memmove-ifunc.c: Likewise.
1337 * benchtests/bench-mempcpy-ifunc.c: Likewise.
1338 * benchtests/bench-memrchr-ifunc.c: Likewise.
1339 * benchtests/bench-memset-ifunc.c: Likewise.
1340 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1341 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1342 * benchtests/bench-stpcpy-ifunc.c: Likewise.
1343 * benchtests/bench-stpncpy-ifunc.c: Likewise.
1344 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1345 * benchtests/bench-strcasestr-ifunc.c: Likewise.
1346 * benchtests/bench-strcat-ifunc.c: Likewise.
1347 * benchtests/bench-strchr-ifunc.c: Likewise.
1348 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1349 * benchtests/bench-strcmp-ifunc.c: Likewise.
1350 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1351 * benchtests/bench-strcpy-ifunc.c: Likewise.
1352 * benchtests/bench-strcspn-ifunc.c: Likewise.
1353 * benchtests/bench-strlen-ifunc.c: Likewise.
1354 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1355 * benchtests/bench-strncat-ifunc.c: Likewise.
1356 * benchtests/bench-strncmp-ifunc.c: Likewise.
1357 * benchtests/bench-strncpy-ifunc.c: Likewise.
1358 * benchtests/bench-strnlen-ifunc.c: Likewise.
1359 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1360 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 1361 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
1362 * benchtests/bench-strspn-ifunc.c: Likewise.
1363 * benchtests/bench-strstr-ifunc.c: Likewise.
1364
13652013-11-26 Ondřej Bílka <neleai@seznam.cz>
1366
ab260039
OB
1367 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1368
d1d9eaf4 13692013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 1370
d1d9eaf4
OB
1371 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1372 * rt/aio.h: Likewise.
1373 * sysdeps/gnu/bits/utmp.h: Likewise.
1374 * sysdeps/gnu/bits/utmpx.h: Likewise.
1375 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1376 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1377 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1378 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1379 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1380 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1381 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1382 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1383 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1384 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1385 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1386 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1387 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1389 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1390 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1391 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1392 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1393 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1394 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1395 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1396 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1397 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1398 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1399 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1401 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1402 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1403 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1404 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1405 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1406 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1407 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1408 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1409 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1410 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1411 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1412 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1413 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1414 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1415 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1416 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1417
a7624ed9
CD
14182013-11-25 Carlos O'Donell <carlos@redhat.com>
1419
1420 [BZ #16245]
1421 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1422 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1423
63cfe52b
JM
14242013-11-25 Joseph Myers <joseph@codesourcery.com>
1425
1426 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1427 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1428 Likewise.
1429
41e8926a
AZ
14302013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1431
1432 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1433 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1434 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1435 (__fesetround): Remove define.
1436 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1437 rounding and exceptions handling.
1438 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1439 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1440 (__fe_nomask_env): Likewise.
1441 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1442 __fegetround instead of fegetround.
1443 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1444 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1445
6851bd4d
RM
14462013-11-21 Roland McGrath <roland@hack.frob.com>
1447
070906ff
RM
1448 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1449 it's there.
1450
6851bd4d
RM
1451 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1452
84ae135d
MI
14532013-11-21 Meador Inge <meadori@codesourcery.com>
1454
1455 [BZ #11157]
1456 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1457 (encrypt_r): Likewise.
1458 * malloc/obstack.h (obstack_free): Likewise.
1459 * posix/unistd.h (encrypt): Likewise.
1460
daf75146
GM
14612013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1462
1463 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1464 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1465 DL_CALL_DT_FINI() that call the functions directly.
1466 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1467 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1468 * elf/dl-fini.c: Likewise.
1469
10ad46bc
OB
14702013-11-20 Ondřej Bílka <neleai@seznam.cz>
1471
1472 * malloc/hooks.c (memalign_check): Add alignment rounding.
1473 * malloc/malloc.c (_mid_memalign): New function.
1474 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1475 Implement by calling _mid_memalign.
1476 * manual/probes.texi (Memory Allocation Probes): Remove
1477 memory_valloc_retry and memory_pvalloc_retry.
1478
f3fd2628
SP
14792013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1480
4712799f
SP
1481 * locale/programs/locarchive.c (open_archive): Add const
1482 qualifier to ARCHIVEFNAME and copy default fname to
1483 DEFAULT_FNAME.
1484
0417b20f
SP
1485 [BZ #15601]
1486 * libio/tst-widetext.input: Rename Oriya to Odia.
1487 * locale/iso-639.def: Likewise.
1488
f3fd2628
SP
1489 * manual/probes.texi (Mathematical Function Probes): Add
1490 documentation for sin, cos, asin and acos probes.
1491 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1492 (__sin32): Add slowasin probe.
1493 (__cos32): Add slowacos probe.
1494 (__mpsin): Add slowsin probe.
1495 (__mpcos): Add slowcos probe.
1496
73c1ce4f
JM
14972013-11-19 Joseph Myers <joseph@codesourcery.com>
1498
1499 [BZ #15483]
1500 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1501 thread-local __sim_exceptions_thread and global
1502 __sim_exceptions_global.
1503 (__sim_disabled_exceptions): Change to thread-local
1504 __sim_disabled_exceptions_thread and global
1505 __sim_disabled_exceptions_global.
1506 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1507 and global __sim_round_mode_global.
1508 (__simulate_exceptions): Use thread-local floating-point state and
1509 set global state from it as needed.
1510 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1511 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1512 __sim_round_mode_thread.
1513 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1514 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1515 and global __sim_exceptions_global.
1516 (__sim_disabled_exceptions): Change to thread-local
1517 __sim_disabled_exceptions_thread and global
1518 __sim_disabled_exceptions_global.
1519 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1520 and global __sim_round_mode_global.
1521 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1522 (SIM_SET_GLOBAL): Likewise.
1523 * sysdeps/powerpc/soft-fp/sfp-machine.h
1524 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1525 __sim_round_mode_thread.
1526 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1527 __sim_disabled_exceptions_thread.
1528 (__sim_exceptions): Change to __sim_exceptions_thread.
1529 (__sim_disabled_exceptions): Change to
1530 __sim_disabled_exceptions_thread.
1531 (__sim_round_mode): Change to __sim_round_mode_thread.
1532 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1533 thread-local floating-point state and set global state from it as
1534 needed.
1535 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1536 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1537 (__sim_disabled_exceptions): Remove extern declaration.
1538 (feenableexcept): Use thread-local floating-point state and set
1539 global state from it as needed.
1540 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1541 extern declaration.
1542 (__sim_disabled_exceptions): Likewise.
1543 (__sim_round_mode): Likewise.
1544 (__fegetenv): Use thread-local floating-point state.
1545 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1546 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1547 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1548 floating-point state and set global state from it as needed.
1549 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1550 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1551 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1552 Likewise.
1553 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1554 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1555 Likewise.
1556 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1557 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1558 Use __sim_round_mode_thread.
1559 * math/test-fenv-tls.c: New file.
1560 * math/Makefile (tests): Add test-fenv-tls.
1561 ($(objpfx)test-fenv-tls): Depend on
1562 $(common-objpfx)nptl/libpthread.so.
1563
b5449b12
AS
15642013-11-19 Andreas Schwab <schwab@suse.de>
1565
1566 * locale/programs/locale.c (show_info): Decode wordarray elements.
1567 * locale/categories.def (LC_MONETARY): Add element for
1568 _NL_MONETARY_CRNCYSTR.
1569 * locale/C-monetary.c (conversion_rate): New variable.
1570 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1571 element.
1572
e186536b
CM
15732013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1574
1575 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1576 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1577
5c349950
PP
15782013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1579
1580 * elf/Makefile (tst-auxv): New test.
1581 * elf/tst-auxv.c: New
1582 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1583
699df45b
JM
15842013-11-18 Joseph Myers <joseph@codesourcery.com>
1585
1586 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1587 (hidden_proto): Caller changed.
1588 (hidden_tls_proto): New macro.
1589 (libc_hidden_tls_proto): Likewise.
1590 (rtld_hidden_tls_proto): Likewise.
1591 (libm_hidden_tls_proto): Likewise.
1592 (libresolv_hidden_tls_proto): Likewise.
1593 (librt_hidden_tls_proto): Likewise.
1594 (libdl_hidden_tls_proto): Likewise.
1595 (libnss_files_hidden_tls_proto): Likewise.
1596 (libnsl_hidden_tls_proto): Likewise.
1597 (libnss_nisplus_hidden_tls_proto): Likewise.
1598 (libutil_hidden_tls_proto): Likewise.
1599
b7589107
OB
16002013-11-18 Ondřej Bílka <neleai@seznam.cz>
1601
1602 [BZ #10253]
1603 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1604 (decompose_rpath): Defer expansion to fillin_rpath.
1605 (_dl_init_paths): Pass linkmap to fillin_rpath.
1606
250c23bd
RS
16072013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1608
1609 * benchtests/Makefile: Add strsep.
1610 * benchtests/bench-strsep.c: New file: strsep benchtest.
1611 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1612
a7931fcf
AS
16132013-11-18 Andreas Schwab <schwab@suse.de>
1614
1615 * locale/programs/locale.c (show_info) [case byte]: Check for
1616 '\377' instead of '\177'.
1617 * locale/C-monetary.c (not_available): Always use "\377".
1618 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1619 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1620 detect unavailable sign_posn locale elements.
1621 * locale/localeconv.c (__localeconv): For grouping and
1622 mon_grouping handle "\177" and "\377" like no grouping.
1623 (INT_ELEM): New macro. Use it to set all numeric members.
1624 * locale/programs/ld-monetary.c (monetary_read)
1625 <tok_mon_grouping>: Normalize single -1 to the empty string.
1626 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1627 Likewise.
1628
728dab0e
OB
16292013-11-07 Ondřej Bílka <neleai@seznam.cz>
1630
1631 [BZ #16055]
1632 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1633 when we match (nil).
1634 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1635
66294491
JM
16362013-11-16 Joseph Myers <joseph@codesourcery.com>
1637
ce665817
JM
1638 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1639 (NO_TEST_INLINE): Update value.
1640 (ERRNO_UNCHANGED): Likewise.
1641 (ERRNO_EDOM): Likewise.
1642 (ERRNO_ERANGE): Likewise.
1643 (IGNORE_RESULT): Likewise.
1644 (check_float_internal): Check signs of NaN results if
1645 TEST_NAN_SIGN used.
1646 (check_complex): Pass TEST_NAN_SIGN flag through to second
1647 check_float_internal call.
1648 (copysign_test_data): Add tests with quiet NaNs as second
1649 argument. Use TEST_NAN_SIGN.
1650 (fabs_test_data): Add test of negative quiet NaN argument. Use
1651 TEST_NAN_SIGN.
1652 (signbit_test_data): Add tests of quiet NaN argument.
1653 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1654
ee1466a9
JM
1655 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1656 $ignore_result.
1657 (parse_args): Handle function results specified as IGNORE.
1658 * math/libm-test.inc (IGNORE_RESULT): New macro.
1659 (check_float_internal): Do not check numerical result if flag
1660 IGNORE_RESULT set.
1661 (check_complex): Pass through IGNORE_RESULT to second
1662 check_float_internal call.
1663 (check_int): Do not check numerical result if flag IGNORE_RESULT
1664 set.
1665 (check_long): Likewise.
1666 (check_bool): Likewise.
1667 (check_longlong): Likewise.
1668 (lrint_test_data): Add tests of infinite and NaN arguments.
1669 (lrint_tonearest_test_data): Likewise.
1670 (lrint_towardzero_test_data): Likewise.
1671 (lrint_downward_test_data): Likewise.
1672 (lrint_upward_test_data): Likewise.
1673 (llrint_test_data): Likewise.
1674 (llrint_tonearest_test_data): Likewise.
1675 (llrint_towardzero_test_data): Likewise.
1676 (llrint_downward_test_data): Likewise.
1677 (llrint_upward_test_data): Likewise.
1678 (lround_test_data): Likewise.
1679 (llround_test_data): Likewise.
1680
14407b7e
JM
1681 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1682 (ERRNO_UNCHANGED): Update value.
1683 (ERRNO_EDOM): Likewise.
1684 (ERRNO_ERANGE): Likewise.
1685 (NO_TEST_INLINE_FLOAT): New macro.
1686 (NO_TEST_INLINE_DOUBLE): Likewise.
1687 (enable_test): New function.
1688 (RUN_TEST_f_f): Check enable_test before running test.
1689 (RUN_TEST_2_f): Likewise.
1690 (RUN_TEST_fff_f): Likewise.
1691 (RUN_TEST_c_f): Likewise.
1692 (RUN_TEST_f_f1): Likewise.
1693 (RUN_TEST_fF_f1): Likewise.
1694 (RUN_TEST_fI_f1): Likewise.
1695 (RUN_TEST_ffI_f1): Likewise.
1696 (RUN_TEST_c_c): Likewise.
1697 (RUN_TEST_cc_c): Likewise.
1698 (RUN_TEST_f_i): Likewise.
1699 (RUN_TEST_f_i_tg): Likewise.
1700 (RUN_TEST_ff_i_tg): Likewise.
1701 (RUN_TEST_f_b): Likewise.
1702 (RUN_TEST_f_b_tg): Likewise.
1703 (RUN_TEST_f_l): Likewise.
1704 (RUN_TEST_f_L): Likewise.
1705 (RUN_TEST_fFF_11): Likewise.
1706 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1707 conditionals.
1708 (cosh_test_data): Likewise.
1709 (exp_test_data): Likewise.
1710 (expm1_test_data): Likewise.
1711 (hypot_test_data): Likewise.
1712 (pow_test_data): Likewise.
1713 (sinh_test_data): Likewise.
1714 (tanh_test_data): Likewise.
1715 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1716 flags argument.
1717
ca07f197
JM
1718 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1719 tests with quiet NaN input and output.
1720 (acosh_test_data): Likewise.
1721 (asin_test_data): Likewise.
1722 (asinh_test_data): Likewise.
1723 (atan_test_data): Likewise.
1724 (atanh_test_data): Likewise.
1725 (atan2_test_data): Likewise.
1726 (cbrt_test_data): Likewise.
1727 (cos_test_data): Likewise.
1728 (cosh_test_data): Likewise.
1729 (erf_test_data): Likewise.
1730 (erfc_test_data): Likewise.
1731 (exp_test_data): Likewise.
1732 (exp10_test_data): Likewise.
1733 (exp2_test_data): Likewise.
1734 (expm1_test_data): Likewise.
1735 (hypot_test_data): Likewise.
1736 (j0_test_data): Likewise.
1737 (j1_test_data): Likewise.
1738 (jn_test_data): Likewise.
1739 (lgamma_test_data): Likewise.
1740 (log_test_data): Likewise.
1741 (log10_test_data): Likewise.
1742 (log1p_test_data): Likewise.
1743 (log2_test_data): Likewise.
1744 (pow_test_data): Likewise.
1745 (scalb_test_data): Likewise.
1746 (sin_test_data): Likewise.
1747 (sincos_test_data): Likewise.
1748 (sinh_test_data): Likewise.
1749 (tan_test_data): Likewise.
1750 (tanh_test_data): Likewise.
1751 (tgamma_test_data): Likewise.
1752 (y0_test_data): Likewise.
1753 (y1_test_data): Likewise.
1754 (yn_test_data): Likewise.
1755
66294491
JM
1756 [BZ #16167]
1757 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1758 argument being NaN and avoid computations with second argument in
1759 that case.
1760 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1761 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1762 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1763
1820b143
CL
17642013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1765
1766 * locale/iso-639.def: Add Chitwani Tharu (the).
1767
714bd261
AS
17682013-11-14 Andreas Schwab <schwab@suse.de>
1769
1770 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1771 word instead of empty string.
1772
7ab44563
AZ
17732013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1774
1775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1776 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1778 (__fe_nomask_env): Likewise.
1779
e8470ea2
SE
17802013-11-13 Steve Ellcey <sellcey@mips.com>
1781
1782 * benchtests/bench-timing.h: Include time.h.
1783
17c1d9f0
L
17842013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1785
1786 [BZ #15997]
1787 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1788 to 3.4.0 for x32.
1789 * sysdeps/unix/sysv/linux/configure: Regenerated.
1790
9310c284
JM
17912013-11-13 Joseph Myers <joseph@codesourcery.com>
1792
1793 [BZ #16151]
1794 * stdlib/strtod_l.c (round_and_return): Do not consider
1795 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1796 exponent one less than half the least subnormal exponent.
1797 * stdlib/test-strtod-round-data: Add more tests.
1798 * stdlib/tst-strtod-round.c (tests): Regenerated.
1799
7a2ad8cf
AZ
18002013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1801
1802 [BZ #14143]
1803 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1804 (__fe_mask_env): Likewise.
1805 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1806 libm_hidden_proto and add function prototype.
1807 (__fe_mask_env): Add function prototype.
1808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1809 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1811 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1813 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1814
50727aa7
MS
18152013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1816
b2f386c1 1817 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
1818 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1819
a615be46
MS
18202013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1821
1822 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1823 of htab_find_slot().
1824
7ddace62
DM
18252013-11-11 David S. Miller <davem@davemloft.net>
1826
1827 [BZ #16150]
1828 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1829 symbol in the non-vis3 case in static builds.
1830 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1831 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1832 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1833 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1834
9182aa67
JK
18352013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1836
1837 [BZ #387]
1838 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1839 it is empty.
1840
450a2e2d
AZ
18412013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1842
b2f386c1
SP
1843 * benchtests/Makefile: Add bench-strtod.
1844 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 1845
8ec3f656
AS
18462013-11-11 Andreas Schwab <schwab@suse.de>
1847
1848 [BZ #16153]
1849 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1850 terminating NUL in key length.
1851
76a9b998
AZ
18522013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1853
1854 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1855 Add artificial ODP entry for vDSO symbol for PPC64.
1856 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1857 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1858
e4368156
OB
18592013-11-07 Ondřej Bílka <neleai@seznam.cz>
1860
1861 [BZ #15374]
1862 * nss/getent.c (services_keys): Recognize services starting with digit.
1863
8d6bb57c
DM
18642013-11-06 David S. Miller <davem@davemloft.net>
1865
1866 [BZ #15985]
1867 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1868 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1869
e256c421
WN
18702013-11-06 Will Newton <will.newton@linaro.org>
1871
1872 * manual/memory.texi (Malloc Examples): Remove register
1873 keyword from examples.
1874
f6e12daa 18752013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 1876
f6e12daa 1877 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 1878
9d880655
AS
18792013-11-04 Joseph Myers <joseph@codesourcery.com>
1880
1881 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1882 depending on [__GCC_IEC_559 > 0].
1883 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1884 depending on [__GCC_IEC_559_COMPLEX > 0].
1885
ae129d3c
CL
18862013-11-03 Chris Leonard <cjl@sugarlabs.org>
1887
1888 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1889 to iso-639.def.
1890
4a15c2a4 18912013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
1892
1893 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1894
8b35e35d
OB
18952013-11-01 Ondřej Bílka <neleai@seznam.cz>
1896
1897 [BZ #16112]
1898 * malloc/malloc (malloc_info): Do not handle first bin as
1899 special case.
1900
1d70fd6c
CL
19012013-11-01 Chris Leonard <cjl@sugarlabs.org>
1902
1903 * locale/iso-639.def: Add Central Nahuatl (nhn).
1904
8c5c2600
BH
19052013-11-01 Bruno Haible <bruno@clisp.org>
1906
1907 [BZ #7003]
1908 * manual/math.texi (BSD Random): Specify range upper bound as
1909 in POSIX.
1910
da5579c2
CL
19112013-10-31 Chris Leonard <cjl@sugarlabs.org>
1912
1913 * locale/iso-639.def: Add Meadow Mari (mhr).
1914
5d30d853
OB
19152013-10-31 Ondřej Bílka <neleai@seznam.cz>
1916
1917 [BZ #14752], [BZ #15763]
1918 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1919 Validate name.
1920 * rt/tst_shm.c: Add test for escaping directory.
1921
a4966c61
AS
19222013-10-31 Andreas Schwab <schwab@suse.de>
1923
8a43e768 1924 [BZ #15917]
a4966c61
AS
1925 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1926 followed by 'x' as part of digit sequence.
1927 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1928
28d708c4
MAP
19292013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1930
1931 [BZ #16037]
1932 * configure.ac: allow GNU Make 4.0 and greater.
1933 * configure: Regenerated.
1934
a56ee40b
WN
19352013-10-30 Will Newton <will.newton@linaro.org>
1936
1937 [BZ #16038]
1938 * malloc/hooks.c (memalign_check): Limit alignment to the
1939 maximum representable power of two.
1940 * malloc/malloc.c (__libc_memalign): Likewise.
1941 * malloc/tst-memalign.c (do_test): Add test for very
1942 large alignment values.
1943 * malloc/tst-posix_memalign.c (do_test): Likewise.
1944
c6e4925d
OB
19452013-10-30 Ondřej Bílka <neleai@seznam.cz>
1946
1947 [BZ #11087]
1948 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1949 (munmap_chunk): Likewise.
1950 (mremap_chunk): Likewise.
1951
19522013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 1953
8a43e768 1954 [BZ #15799]
bbea82f7
OB
1955 * stdlib/div.c (div): Remove obsolete code.
1956 * stdlib/ldiv.c (ldiv): Likewise.
1957 * stdlib/lldiv.c (lldiv): Likewise.
1958
977f4b31
SP
19592013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1960
1961 [BZ #16071]
1962 * nss/nss_files/files-XXX.c (get_contents_ret): New
1963 enumerator.
1964 (get_contents): New function.
1965 (internal_getent): Use it. Expand size of LINEBUFLEN.
1966
cb8a6dbd
MF
19672013-10-30 Mike Frysinger <vapier@gentoo.org>
1968
1969 * configure.in: Moved to ...
1970 * configure.ac: ... here. Change reference to configure.in
1971 to configure.ac.
1972 * sysdeps/arm/preconfigure.ac: ... here.
1973 configure.in to configure.ac.
1974 * sysdeps/gnu/configure.in: Moved to ...
1975 * sysdeps/gnu/configure.ac: ... here.
1976 * sysdeps/i386/configure.in: Moved to ...
1977 * sysdeps/i386/configure.ac: ... here.
1978 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1979 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1980 * sysdeps/mach/configure.in: Moved to ...
1981 * sysdeps/mach/configure.ac: ... here.
1982 * sysdeps/mach/hurd/configure.in: Moved to ...
1983 * sysdeps/mach/hurd/configure.ac: ... here.
1984 * sysdeps/powerpc/configure.in: Moved to ...
1985 * sysdeps/powerpc/configure.ac: ... here.
1986 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1987 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1988 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1989 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1990 * sysdeps/s390/s390-32/configure.in: Moved to ...
1991 * sysdeps/s390/s390-32/configure.ac: ... here.
1992 * sysdeps/s390/s390-64/configure.in: Moved to ...
1993 * sysdeps/s390/s390-64/configure.ac: ... here.
1994 * sysdeps/sh/configure.in: Moved to ...
1995 * sysdeps/sh/configure.ac: ... here.
1996 * sysdeps/sparc/configure.in: Moved to ...
1997 * sysdeps/sparc/configure.ac: ... here.
1998 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1999 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2000 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2001 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2002 * sysdeps/x86_64/configure.in: Moved to ...
2003 * sysdeps/x86_64/configure.ac: ... here.
2004 * sysdeps/x86_64/preconfigure.in: Moved to ...
2005 * sysdeps/x86_64/preconfigure.ac: ... here.
2006 * aclocal.m4: Change reference to configure.in to configure.ac.
2007 * config.h.in: Likewise.
2008 * manual/install.texi: Likewise.
2009 * manual/maint.texi: Likewise.
2010 * Makefile: Likewise.
2011 * malloc/Makefile: Likewise.
2012 * nscd/Makefile: Likewise.
2013 * Makeconfig: Change reference to configure.in and
2014 preconfigure.in to configure.ac and preconfigure.ac
2015 respectively.
2016 * INSTALL: Regenerated.
2017 * configure: Likewise.
2018 * sysdeps/gnu/configure: Likewise.
2019 * sysdeps/i386/configure: Likewise.
2020 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2021 * sysdeps/mach/configure: Likewise.
2022 * sysdeps/mach/hurd/configure: Likewise.
2023 * sysdeps/powerpc/configure: Likewise.
2024 * sysdeps/powerpc/powerpc32/configure: Likewise.
2025 * sysdeps/powerpc/powerpc64/configure: Likewise.
2026 * sysdeps/s390/s390-32/configure: Likewise.
2027 * sysdeps/s390/s390-64/configure: Likewise.
2028 * sysdeps/sh/configure: Likewise.
2029 * sysdeps/sparc/configure: Likewise.
2030 * sysdeps/unix/sysv/linux/configure: Likewise.
2031 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2032 * sysdeps/x86_64/configure: Likewise.
2033 * sysdeps/x86_64/preconfigure: Likewise.
2034
36a4953a
AS
20352013-10-29 Andreas Schwab <schwab@suse.de>
2036
2037 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2038
c79a1204
SP
20392013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2040
dfa1b402
SP
2041 * benchtests/pow-inputs: Add new inputs.
2042
54f73d9c
SP
2043 * benchtests/exp-inputs: Add new inputs.
2044
c79a1204
SP
2045 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2046 conditional check for return value.
2047 (__cos32): Likewise.
2048
67beb545 20492013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
2050
2051 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2052 to provide a boost for large inputs with word alignment.
2053 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2054 implementation based on optimized PPC64 strcpy.
2055 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2056 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2057 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2058 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2059
151659f6
OB
20602013-10-25 Ondřej Bílka <neleai@seznam.cz>
2061
482a077e 2062 [BZ #2801]
151659f6
OB
2063 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2064
10b0f26b
OB
20652013-10-25 Ondřej Bílka <neleai@seznam.cz>
2066
2067 [BZ #14876]
2068 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2069 * time/tst-strptime.c (day_tests): Add testcase.
2070
ca42d35e
OB
20712013-10-25 Ondřej Bílka <neleai@seznam.cz>
2072
482a077e 2073 [BZ #14029]
ca42d35e
OB
2074 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2075
52e6d801
FB
20762013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2077
2078 [BZ #16074]
2079 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2080 MAP_FAILED on error.
2081
7cbcdb36
SP
20822013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2083
2084 [BZ #16072]
2085 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2086 heap for large requests.
2087
894f3f10
AM
20882013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2089
2090 [BZ #9954]
2091 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2092 result if the result has no associated interface.
2093 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2094 interface for all 127.X.Y.Z addresses.
2095
b85545a6
CL
20962013-10-24 Chris Leonard <cjl@sugarlabs.org>
2097
2098 * locale/iso-639.def: Add Ligurian (lij)
2099
d1f23d46
OB
21002013-10-21 Ondřej Bílka <neleai@seznam.cz>
2101
2102 [BZ #15825]
2103 * sunrpc/rpc_main.c: Document rpcgen -5.
2104
4db5b08f
MS
21052013-10-19 Michael Stahl <mstahl@redhat.com>
2106
2107 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2108
a471e96a
OB
21092013-10-19 Ondřej Bílka <neleai@seznam.cz>
2110
d1f23d46 2111 [BZ #10278]
a471e96a
OB
2112 * posix/glob.c: Match only directories when trailing slash is present.
2113 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2114 (main): Add testcase.
2115
45c30c61
OB
21162013-10-19 Ondřej Bílka <neleai@seznam.cz>
2117
2118 [BZ #15670]
2119 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2120
484c12fb
CD
21212013-10-18 Carlos O'Donell <carlos@redhat.com>
2122
3d7dc513
CD
2123 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2124 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2125 AUTH_DES and cindex for FIPS 140-2.
2126 (DES Encryption): Add cindex FIPS 46-3.
2127
484c12fb
CD
2128 * locale/locarchive.h (struct locarhandle): Add fname.
2129 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2130 if an optional argument was specified to --list-archive,
2131 otherwise NULL.
2132 * locale/programs/locarchive.c (show_archive_content): Take new
2133 argument fname and pass it via ah.fname to open_archive.
2134 * locale/programs/localedef.h: Update decl.
2135 (open_archive): If AH->fname is non-null, open that file
2136 rather than the default file name, and don't ignore ENOENT.
2137 (create_archive): Set AH.fname to NULL.
2138 (delete_locales_from_archive): Likewise.
2139 (add_locales_to_archive): Likewise.
2140 * locale/programs/locfile.c (write_all_categories): Likewise.
2141
3c8325fb
JM
21422013-10-18 Joseph Myers <joseph@codesourcery.com>
2143 Aldy Hernandez <aldyh@redhat.com>
2144
2145 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2146 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2147 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2148 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2149 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2150 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2151 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2152 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2153 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2154 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2155 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2156 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2157 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2158 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2159 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2160 Likewise.
2161 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2162 Likewise.
2163 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2164 Likewise.
2165 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2166 Likewise.
2167 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2168 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2169 Likewise.
2170 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2171 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2172 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2173 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2174 Likewise.
2175 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2176 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2177 * sysdeps/powerpc/preconfigure: Likewise.
2178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2179 Likewise.
2180 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2181 Replace contents of file by #include of <fenv_libc.h>.
2182 * sysdeps/powerpc/soft-fp/sfp-machine.h
2183 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2184 and <sys/prctl.h>.
2185 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2186 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2187 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2188 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2189 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2190 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2191 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2192 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2193 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2194 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2195 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2196 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2198 Allow copysignl PLT reference to be missing.
2199
5abe0682
RS
22002013-10-18 Richard Sandiford <richard@codesourcery.com>
2201 Joseph Myers <joseph@codesourcery.com
2202
2203 [BZ #15948]
2204 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2205 single character.
2206 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2207
c7738d08
SP
22082013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2209
2210 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2211 * elf/tst-tls1.c: Likewise.
2212 * elf/tst-tls10.h: Likewise.
2213 * elf/tst-tls14.c: Likewise.
2214 * elf/tst-tls2.c: Likewise.
2215 * elf/tst-tls3.c: Likewise.
2216 * elf/tst-tls4.c: Likewise.
2217 * elf/tst-tls5.c: Likewise.
2218 * elf/tst-tls6.c: Likewise.
2219 * elf/tst-tls7.c: Likewise.
2220 * elf/tst-tls8.c: Likewise.
2221 * elf/tst-tls9.c: Likewise.
2222 * elf/tst-tlsmod1.c: Likewise.
2223 * elf/tst-tlsmod13.c: Likewise.
2224 * elf/tst-tlsmod13a.c: Likewise.
2225 * elf/tst-tlsmod14a.c: Likewise.
2226 * elf/tst-tlsmod16a.c: Likewise.
2227 * elf/tst-tlsmod16b.c: Likewise.
2228 * elf/tst-tlsmod2.c: Likewise.
2229 * elf/tst-tlsmod3.c: Likewise.
2230 * elf/tst-tlsmod4.c: Likewise.
2231 * elf/tst-tlsmod5.c: Likewise.
2232 * elf/tst-tlsmod6.c: Likewise.
2233
0bfcf2c7
OB
22342013-10-18 Ondřej Bílka <neleai@seznam.cz>
2235
2236 [BZ #12486]
2237 * malloc/malloc.c: remove checks for statistics.
2238
264aad1e
OB
22392013-10-17 Ondřej Bílka <neleai@seznam.cz>
2240
2241 [BZ #15277]
2242 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2243 * inet/tst-network.c: Add testcase.
2244
b957ced8
AS
22452013-10-17 Andreas Schwab <schwab@suse.de>
2246
2247 [BZ #15218]
2248 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2249 to determine canonical name.
2250
c5d5d574
OB
22512013-10-17 Ondřej Bílka <neleai@seznam.cz>
2252
2253 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2254 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2255 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2256 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2257 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2258 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2259 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2260 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2261 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2262 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2263 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2264 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2265 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2266 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2267 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2268 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2269 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2270 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2271 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2272 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2273 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2274 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2275 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2276 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2277 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2278 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2279 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2280 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2281 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2282 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2283 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2284 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2285 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2286 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2287 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2288 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2289 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2290 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2291 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2292 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2293 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2294 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2295 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2296 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2297 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2298 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2299 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2300 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2301 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2302 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2303 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2304 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2305 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2306 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2307 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2308 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2309 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2310 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2311
e5c2c2d0
JM
23122013-10-17 Joseph Myers <joseph@codesourcery.com>
2313
2314 [BZ #16041]
2315 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2316 make result into a quiet NaN.
2317
51ca9e29
JM
23182013-10-16 Joseph Myers <joseph@codesourcery.com>
2319
2320 * soft-fp/adddf3.c: Fix horizontal whitespace.
2321 * soft-fp/addsf3.c: Likewise.
2322 * soft-fp/addtf3.c: Likewise.
2323 * soft-fp/divdf3.c: Likewise.
2324 * soft-fp/divsf3.c: Likewise.
2325 * soft-fp/divtf3.c: Likewise.
2326 * soft-fp/double.h: Likewise.
2327 * soft-fp/eqdf2.c: Likewise.
2328 * soft-fp/eqsf2.c: Likewise.
2329 * soft-fp/eqtf2.c: Likewise.
2330 * soft-fp/extenddftf2.c: Likewise.
2331 * soft-fp/extended.h: Likewise.
2332 * soft-fp/extendsfdf2.c: Likewise.
2333 * soft-fp/extendsftf2.c: Likewise.
2334 * soft-fp/extendxftf2.c: Likewise.
2335 * soft-fp/fixdfdi.c: Likewise.
2336 * soft-fp/fixdfsi.c: Likewise.
2337 * soft-fp/fixdfti.c: Likewise.
2338 * soft-fp/fixsfdi.c: Likewise.
2339 * soft-fp/fixsfsi.c: Likewise.
2340 * soft-fp/fixsfti.c: Likewise.
2341 * soft-fp/fixtfdi.c: Likewise.
2342 * soft-fp/fixtfsi.c: Likewise.
2343 * soft-fp/fixtfti.c: Likewise.
2344 * soft-fp/fixunsdfdi.c: Likewise.
2345 * soft-fp/fixunsdfsi.c: Likewise.
2346 * soft-fp/fixunsdfti.c: Likewise.
2347 * soft-fp/fixunssfdi.c: Likewise.
2348 * soft-fp/fixunssfsi.c: Likewise.
2349 * soft-fp/fixunssfti.c: Likewise.
2350 * soft-fp/fixunstfdi.c: Likewise.
2351 * soft-fp/fixunstfsi.c: Likewise.
2352 * soft-fp/fixunstfti.c: Likewise.
2353 * soft-fp/floatdidf.c: Likewise.
2354 * soft-fp/floatdisf.c: Likewise.
2355 * soft-fp/floatditf.c: Likewise.
2356 * soft-fp/floatsidf.c: Likewise.
2357 * soft-fp/floatsisf.c: Likewise.
2358 * soft-fp/floatsitf.c: Likewise.
2359 * soft-fp/floattidf.c: Likewise.
2360 * soft-fp/floattisf.c: Likewise.
2361 * soft-fp/floattitf.c: Likewise.
2362 * soft-fp/floatundidf.c: Likewise.
2363 * soft-fp/floatundisf.c: Likewise.
2364 * soft-fp/floatunditf.c: Likewise.
2365 * soft-fp/floatunsidf.c: Likewise.
2366 * soft-fp/floatunsisf.c: Likewise.
2367 * soft-fp/floatunsitf.c: Likewise.
2368 * soft-fp/floatuntidf.c: Likewise.
2369 * soft-fp/floatuntisf.c: Likewise.
2370 * soft-fp/floatuntitf.c: Likewise.
2371 * soft-fp/fmadf4.c: Likewise.
2372 * soft-fp/fmasf4.c: Likewise.
2373 * soft-fp/fmatf4.c: Likewise.
2374 * soft-fp/gedf2.c: Likewise.
2375 * soft-fp/gesf2.c: Likewise.
2376 * soft-fp/getf2.c: Likewise.
2377 * soft-fp/ledf2.c: Likewise.
2378 * soft-fp/lesf2.c: Likewise.
2379 * soft-fp/letf2.c: Likewise.
2380 * soft-fp/muldf3.c: Likewise.
2381 * soft-fp/mulsf3.c: Likewise.
2382 * soft-fp/multf3.c: Likewise.
2383 * soft-fp/negdf2.c: Likewise.
2384 * soft-fp/negsf2.c: Likewise.
2385 * soft-fp/negtf2.c: Likewise.
2386 * soft-fp/op-1.h: Likewise.
2387 * soft-fp/op-2.h: Likewise.
2388 * soft-fp/op-4.h: Likewise.
2389 * soft-fp/op-8.h: Likewise.
2390 * soft-fp/op-common.h: Likewise.
2391 * soft-fp/quad.h: Likewise.
2392 * soft-fp/single.h: Likewise.
2393 * soft-fp/soft-fp.h: Likewise.
2394 * soft-fp/sqrtdf2.c: Likewise.
2395 * soft-fp/sqrtsf2.c: Likewise.
2396 * soft-fp/sqrttf2.c: Likewise.
2397 * soft-fp/subdf3.c: Likewise.
2398 * soft-fp/subsf3.c: Likewise.
2399 * soft-fp/subtf3.c: Likewise.
2400 * soft-fp/truncdfsf2.c: Likewise.
2401 * soft-fp/trunctfdf2.c: Likewise.
2402 * soft-fp/trunctfsf2.c: Likewise.
2403 * soft-fp/trunctfxf2.c: Likewise.
2404 * soft-fp/unorddf2.c: Likewise.
2405 * soft-fp/unordsf2.c: Likewise.
2406 * soft-fp/unordtf2.c: Likewise.
2407
9ebb0332
JM
24082013-10-15 Joseph Myers <joseph@codesourcery.com>
2409
2410 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2411 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2412
4b1a6d8b
OB
24132013-10-15 Ondřej Bílka <neleai@seznam.cz>
2414
2415 * elf/dl-libc.c: Clear initfini list after freeing.
2416
1e145589
JM
24172013-10-14 Joseph Myers <joseph@codesourcery.com>
2418
2419 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2420 * soft-fp/addsf3.c: Likewise.
2421 * soft-fp/addtf3.c: Likewise.
2422 * soft-fp/divdf3.c: Likewise.
2423 * soft-fp/divsf3.c: Likewise.
2424 * soft-fp/divtf3.c: Likewise.
2425 * soft-fp/double.h: Likewise.
2426 * soft-fp/eqdf2.c: Likewise.
2427 * soft-fp/eqsf2.c: Likewise.
2428 * soft-fp/eqtf2.c: Likewise.
2429 * soft-fp/extenddftf2.c: Likewise.
2430 * soft-fp/extended.h: Likewise.
2431 * soft-fp/extendsfdf2.c: Likewise.
2432 * soft-fp/extendsftf2.c: Likewise.
2433 * soft-fp/extendxftf2.c: Likewise.
2434 * soft-fp/fixdfdi.c: Likewise.
2435 * soft-fp/fixdfsi.c: Likewise.
2436 * soft-fp/fixdfti.c: Likewise.
2437 * soft-fp/fixsfdi.c: Likewise.
2438 * soft-fp/fixsfsi.c: Likewise.
2439 * soft-fp/fixsfti.c: Likewise.
2440 * soft-fp/fixtfdi.c: Likewise.
2441 * soft-fp/fixtfsi.c: Likewise.
2442 * soft-fp/fixtfti.c: Likewise.
2443 * soft-fp/fixunsdfdi.c: Likewise.
2444 * soft-fp/fixunsdfsi.c: Likewise.
2445 * soft-fp/fixunsdfti.c: Likewise.
2446 * soft-fp/fixunssfdi.c: Likewise.
2447 * soft-fp/fixunssfsi.c: Likewise.
2448 * soft-fp/fixunssfti.c: Likewise.
2449 * soft-fp/fixunstfdi.c: Likewise.
2450 * soft-fp/fixunstfsi.c: Likewise.
2451 * soft-fp/fixunstfti.c: Likewise.
2452 * soft-fp/floatdidf.c: Likewise.
2453 * soft-fp/floatdisf.c: Likewise.
2454 * soft-fp/floatditf.c: Likewise.
2455 * soft-fp/floatsidf.c: Likewise.
2456 * soft-fp/floatsisf.c: Likewise.
2457 * soft-fp/floatsitf.c: Likewise.
2458 * soft-fp/floattidf.c: Likewise.
2459 * soft-fp/floattisf.c: Likewise.
2460 * soft-fp/floattitf.c: Likewise.
2461 * soft-fp/floatundidf.c: Likewise.
2462 * soft-fp/floatundisf.c: Likewise.
2463 * soft-fp/floatunsidf.c: Likewise.
2464 * soft-fp/floatunsisf.c: Likewise.
2465 * soft-fp/floatuntidf.c: Likewise.
2466 * soft-fp/floatuntisf.c: Likewise.
2467 * soft-fp/floatuntitf.c: Likewise.
2468 * soft-fp/fmadf4.c: Likewise.
2469 * soft-fp/fmasf4.c: Likewise.
2470 * soft-fp/fmatf4.c: Likewise.
2471 * soft-fp/gedf2.c: Likewise.
2472 * soft-fp/gesf2.c: Likewise.
2473 * soft-fp/getf2.c: Likewise.
2474 * soft-fp/ledf2.c: Likewise.
2475 * soft-fp/lesf2.c: Likewise.
2476 * soft-fp/letf2.c: Likewise.
2477 * soft-fp/muldf3.c: Likewise.
2478 * soft-fp/mulsf3.c: Likewise.
2479 * soft-fp/multf3.c: Likewise.
2480 * soft-fp/negdf2.c: Likewise.
2481 * soft-fp/negsf2.c: Likewise.
2482 * soft-fp/negtf2.c: Likewise.
2483 * soft-fp/op-1.h: Likewise.
2484 * soft-fp/op-2.h: Likewise.
2485 * soft-fp/op-4.h: Likewise.
2486 * soft-fp/op-8.h: Likewise.
2487 * soft-fp/op-common.h: Likewise.
2488 * soft-fp/quad.h: Likewise.
2489 * soft-fp/single.h: Likewise.
2490 * soft-fp/soft-fp.h: Likewise.
2491 * soft-fp/sqrtdf2.c: Likewise.
2492 * soft-fp/sqrtsf2.c: Likewise.
2493 * soft-fp/sqrttf2.c: Likewise.
2494 * soft-fp/subdf3.c: Likewise.
2495 * soft-fp/subsf3.c: Likewise.
2496 * soft-fp/subtf3.c: Likewise.
2497 * soft-fp/truncdfsf2.c: Likewise.
2498 * soft-fp/trunctfdf2.c: Likewise.
2499 * soft-fp/trunctfsf2.c: Likewise.
2500 * soft-fp/trunctfxf2.c: Likewise.
2501 * soft-fp/unorddf2.c: Likewise.
2502 * soft-fp/unordsf2.c: Likewise.
2503 * soft-fp/unordtf2.c: Likewise.
2504
17c48a60
OB
25052013-10-14 Ondřej Bílka <neleai@seznam.cz>
2506
2507 [BZ #15672]
2508 * misc/error.c (error_tail): Fix possible buffer overflow.
2509
cabba934
OB
25102013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2511
2512 [BZ #13028]
2513 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2514 address.
2515
94bf958a
PM
25162013-10-14 P. J. McDermott <pj@pehjota.net>
2517
2518 [BZ #832]
2519 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2520 testing pipefail option.
2521
71b4dea7
JM
25222013-10-12 Joseph Myers <joseph@codesourcery.com>
2523
2524 * soft-fp/double.h: Indent preprocessor directives inside #if.
2525 * soft-fp/extended.h: Likewise.
2526 * soft-fp/op-2.h: Likewise.
2527 * soft-fp/op-4.h: Likewise.
2528 * soft-fp/op-common.h: Likewise.
2529 * soft-fp/quad.h: Likewise.
2530 * soft-fp/single.h: Likewise.
2531 * soft-fp/soft-fp.h: Likewise.
2532
55602758
YC
25332013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2534
2535 * iconv/iconv_prog.c: Fix typos.
2536 * stdio-common/psiginfo-data.h: Likewise.
2537
9cd83302
RT
25382013-10-12 Reuben Thomas <rrt@sc3d.org>
2539
2540 [BZ #15764]
2541 * locale/setlocale.c: Fix typo.
2542
99fd9f47
JM
25432013-10-12 Joseph Myers <joseph@codesourcery.com>
2544
b7ea74f0
JM
2545 [BZ #16036]
2546 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2547 signaling NaN arguments.
2548 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2549 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2550
8a509447
JM
2551 [BZ #14910]
2552 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2553 unordered operands.
2554 * soft-fp/gesf2.c (__gesf2): Likewise.
2555 * soft-fp/getf2.c (__getf2): Likewise.
2556 * soft-fp/ledf2.c (__ledf2): Likewise.
2557 * soft-fp/lesf2.c (__lesf2): Likewise.
2558 * soft-fp/letf2.c (__letf2): Likewise.
2559
98998e9f
JM
2560 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2561 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2562 * soft-fp/eqtf2.c (__eqtf2): Likewise.
2563 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2564 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2565 * soft-fp/fixdfti.c (__fixdfti): Likewise.
2566 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2567 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2568 * soft-fp/fixsfti.c (__fixsfti): Likewise.
2569 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2570 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2571 * soft-fp/fixtfti.c (__fixtfti): Likewise.
2572 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2573 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2574 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2575 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2576 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2577 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2578 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2579 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2580 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2581 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2582 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2583 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2584 * soft-fp/floattidf.c (__floattidf): Likewise.
2585 * soft-fp/floattisf.c (__floattisf): Likewise.
2586 * soft-fp/floattitf.c (__floattitf): Likewise.
2587 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2588 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2589 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2590 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2591 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2592 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2593 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2594 * soft-fp/gesf2.c (__gesf2): Likewise.
2595 * soft-fp/getf2.c (__getf2): Likewise.
2596 * soft-fp/ledf2.c (__ledf2): Likewise.
2597 * soft-fp/lesf2.c (__lesf2): Likewise.
2598 * soft-fp/letf2.c (__letf2): Likewise.
2599
8edc4a11
JM
2600 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2601 Undefine and redefine.
2602 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2603 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2604 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2605 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2606 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2607 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2608 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2609 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2610 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2611 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2612 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2613 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2614 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2615 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2616 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2617
8399acaf
JM
2618 [BZ #16032]
2619 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2620 without decrementing exponent if mantissa >= that for the
2621 denominator, not >.
2622 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2623 denominator, not >. Decrement exponent in < case instead of
2624 incrementing in >= case.
2625 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2626 without decrementing exponent if mantissa >= that for the
2627 denominator, not >.
2628
99fd9f47
JM
2629 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2630 computing saturated result for unsigned overflow.
2631
10e1cf6b
SP
26322013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2633 Jeff Law <law@redhat.com>
2634
2635 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2636 (atan2Mp): Add systemtap probe marker.
2637 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2638 (__ieee754_log): Add systemtap probe marker.
2639 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2640 (atanMp): Add systemtap probe marker.
2641 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2642 (tanMp): Add systemtap probe marker.
2643 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2644 (__slowexp): Add systemtap probe marker.
2645 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2646 (__slowpow): Add systemtap probe marker.
2647 * manual/probes.texi: Document probes.
2648
3d110c7c
EB
26492013-10-11 Eric Biggers <ebiggers3@gmail.com>
2650
2651 [BZ #15362]
2652 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2653 written.
2654 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2655 written.
2656 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2657 written to buffer but not flushed.
2658 * libio/iofwrite_u.c: Likewise.
2659 * libio/iopadn.c: Return bytes returned even if EOF was
2660 encountered.
2661 * libio/iowpadn.c: Likewise.
2662 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2663 if _IO_padn does not write the whole buffer.
2664 [!COMPILE_WPRINTF] (PAD): Likewise.
2665
75b4202a
DM
26662013-10-10 David S. Miller <davem@davemloft.net>
2667
2668 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2669 directory block.
2670
6c6352e6
JM
26712013-10-10 Joseph Myers <joseph@codesourcery.com>
2672
33b853c3
JM
2673 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2674 instead of FSF address.
2675 * soft-fp/fixdfti.c: Likewise.
2676 * soft-fp/fixsfti.c: Likewise.
2677 * soft-fp/fixtfti.c: Likewise.
2678 * soft-fp/fixunsdfti.c: Likewise.
2679 * soft-fp/fixunssfti.c: Likewise.
2680 * soft-fp/fixunstfti.c: Likewise.
2681 * soft-fp/floattidf.c: Likewise.
2682 * soft-fp/floattisf.c: Likewise.
2683 * soft-fp/floattitf.c: Likewise.
2684 * soft-fp/floatuntidf.c: Likewise.
2685 * soft-fp/floatuntisf.c: Likewise.
2686 * soft-fp/floatuntitf.c: Likewise.
2687 * soft-fp/trunctfxf2.c: Likewise.
2688
6c6352e6
JM
2689 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2690 * soft-fp/fixdfti.c: Likewise.
2691 * soft-fp/fixsfti.c: Likewise.
2692 * soft-fp/fixtfti.c: Likewise.
2693 * soft-fp/fixunsdfti.c: Likewise.
2694 * soft-fp/fixunssfti.c: Likewise.
2695 * soft-fp/fixunstfti.c: Likewise.
2696 * soft-fp/floattidf.c: Likewise.
2697 * soft-fp/floattisf.c: Likewise.
2698 * soft-fp/floattitf.c: Likewise.
2699 * soft-fp/floatuntidf.c: Likewise.
2700 * soft-fp/floatuntisf.c: Likewise.
2701 * soft-fp/floatuntitf.c: Likewise.
2702 * soft-fp/trunctfxf2.c: Likewise.
2703
3bf78b71
DM
27042013-10-10 David S. Miller <davem@davemloft.net>
2705
2706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2707
6f10289e
JM
27082013-10-10 Joseph Myers <joseph@codsourcery.com>
2709
bd878fc0
JM
2710 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2711 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2712 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2713 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2714 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2715 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2716 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2717
6f10289e
JM
2718 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2719 for NaNs before doing comparisons on argument.
2720 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2721 Likewise.
2722
321e2684
WN
27232013-10-10 Will Newton <will.newton@linaro.org>
2724
2725 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2726 passed to _int_memalign does not overflow.
2727
40fefba1
TR
27282013-10-10 Torvald Riegel <triegel@redhat.com>
2729
2730 * scripts/bench.pl: Add include-sources directive.
2731 * benchtests/README: Update documentation.
2732
2ae21ed2
JM
27332013-10-10 Joseph Myers <joseph@codesourcery.com>
2734
dcc2dd3f
JM
2735 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2736 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2737 instead of FP_INIT_ROUNDMODE.
2738 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2739 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2740
2ae21ed2
JM
2741 [BZ #16034]
2742 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2743 copy class of input value.
2744 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2745 not handle exceptions.
2746 * soft-fp/negsf2.c (__negsf2): Likewise.
2747 * soft-fp/negtf2.c (__negtf2): Likewise.
2748 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2749
cb8f9562
JM
27502013-10-09 Joseph Myers <joseph@codesourcery.com>
2751
2752 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2753 semicolon. From Linux kernel.
2754
5b60c59d
AB
27552013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2756
2757 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2758
b86835ca
YC
27592013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2760
2761 [BZ #156]
2762 * manual/socket.texi: Added statement about buffer
2763 for gethostbyname2_r.
2764
e7044ea7
OB
27652013-10-08 Ondřej Bílka <neleai@seznam.cz>
2766
2767 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2768 Use .p2align directive instead, throughout.
2769 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2770 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2771 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2772 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2773 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2774 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2775 * sysdeps/x86_64/strchr.S: Likewise.
2776 * sysdeps/x86_64/strrchr.S: Likewise.
2777
09544cbc
SP
27782013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2779
88576635
SP
2780 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2781
e7b2d1dd
SP
2782 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2783
09544cbc
SP
2784 * sysdeps/generic/math_private.h (__mpsin1): Remove
2785 declaration.
2786 (__mpcos1): Likewise.
2787 (__mpsin): New argument __range_reduce.
2788 (__mpcos): Likewise.
2789 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2790 (slow): Use __mpsin and __mpcos.
2791 (slow1): Likewise.
2792 (slow2): Likewise.
2793 (sloww): Likewise.
2794 (sloww1): Likewise.
2795 (sloww2): Likewise.
2796 (bsloww): Likewise.
2797 (bsloww1): Likewise.
2798 (bsloww2): Likewise.
2799 (cslow2): Likewise.
2800 (csloww): Likewise.
2801 (csloww1): Likewise.
2802 (csloww2): Likewise.
2803 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2804 range_reduce. Merge in __mpsin1.
2805 (__mpcos): Likewise.
2806 (__mpsin1): Remove.
2807 (__mpcos1): Likewise.
2808
7602d070
JM
28092013-10-07 Joseph Myers <joseph@codesourcery.com>
2810
2811 * locale/loadlocale.c (_nl_intern_locale_data): Use
2812 LOCFILE_ALIGNED_P.
2813 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2814 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2815 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2816 obstack data is appropriately aligned.
2817 (obstack_int32_grow_fast): Likewise.
2818 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2819 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2820 (add_locale_uint32_array): Likewise.
2821
a357259b
SP
28222013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2823
2824 * benchtests/Makefile: Remove ARGLIST and RET variables.
2825 ($(objpfx)bench-%.c): Pass only function name to the script.
2826 * benchtests/README: Update documentation.
2827 * benchtests/acos-inputs: Add new directives.
2828 * benchtests/acosh-inputs: Likewise.
2829 * benchtests/asin-inputs: Likewise.
2830 * benchtests/asinh-inputs: Likewise.
2831 * benchtests/atan-inputs: Likewise.
2832 * benchtests/atanh-inputs: Likewise.
2833 * benchtests/cos-inputs: Likewise.
2834 * benchtests/cosh-inputs: Likewise.
2835 * benchtests/exp-inputs: Likewise.
2836 * benchtests/log-inputs: Likewise.
2837 * benchtests/pow-inputs: Likewise.
2838 * benchtests/rint-inputs: Likewise.
2839 * benchtests/sin-inputs: Likewise.
2840 * benchtests/sinh-inputs: Likewise.
2841 * benchtests/tan-inputs: Likewise.
2842 * benchtests/tanh-inputs: Likewise.
2843 * scripts/bench.pl: Add support for new directives.
2844
9ec1b13d
AM
28452013-10-07 Alan Modra <amodra@gmail.com>
2846
2847 * README: Fix careless merge.
2848
8b7d57cd
AM
28492013-10-05 Alan Modra <amodra@gmail.com>
2850
2851 * NEWS: Mention powerpc64le support and bugs fixed.
2852 * README: Both big-endian and little-endian powerpc64 supported.
2853
7b7bab13
ST
28542013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2855
2856 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2857 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2858 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2859 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2860
d39baad1
RA
28612013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
2862
2863 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2864 match prototype.
2865
cd78f7e7
JM
28662013-10-04 Joseph Myers <joseph@codesourcery.com>
2867
29d73d86
JM
2868 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2869 Move -mhard-float appending from
2870 ports/sysdeps/powerpc/powerpc32/Makefile.
2871 [$(with-fp) = yes] (ASFLAGS): Likewise.
2872 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2873 * sysdeps/powerpc/nofpu: Move directory from
2874 ports/sysdeps/powerpc/nofpu.
2875 * sysdeps/powerpc/soft-fp: Move directory from
2876 ports/sysdeps/powerpc/soft-fp.
2877 * sysdeps/powerpc/powerpc32/405: Move directory from
2878 ports/sysdeps/powerpc/powerpc32/405.
2879 * sysdeps/powerpc/powerpc32/440: Move directory from
2880 ports/sysdeps/powerpc/powerpc32/440.
2881 * sysdeps/powerpc/powerpc32/464: Move directory from
2882 ports/sysdeps/powerpc/powerpc32/464.
2883 * sysdeps/powerpc/powerpc32/476: Move directory from
2884 ports/sysdeps/powerpc/powerpc32/476.
2885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2886 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2888 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2890 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2892 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2894 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2895 * README: Update for powerpc-*-linux-gnu software floating point
2896 support in libc.
2897
e246b347
JM
2898 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2899 case to powerpc/powerpc32*.
2900 * sysdeps/unix/sysv/linux/configure: Regenerated.
2901
89c2003e
JM
2902 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2903 (_FPU_MASK_OM): Define as 0x04.
2904 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2905 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2906 0x00c10080.
2907 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2908 0x0000003c.
2909 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2910
cd78f7e7
JM
2911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2912 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2913 getcontext_e500.
2914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2915 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2916 setcontext_e500.
2917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2918 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2919 and setcontext_e500.
2920
c755294d
CL
29212013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2922
2923 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2924
e16d221c
SP
29252013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2926
2927 * manual/threads.texi (Default Thread Attributes): Fix typo.
2928
215c7d43
WN
29292013-10-04 Will Newton <will.newton@linaro.org>
2930
2931 * malloc/Makefile: Add tst-memalign.
2932 * malloc/tst-memalign.c: New file.
2933
27d0461b
WN
2934 * malloc/tst-posix_memalign.c: Add comments.
2935 (do_test): Add comments and call free on all potentially
2936 allocated pointers. Add space after cast.
2937
1bc92709
WN
2938 * malloc/tst-pvalloc.c: Add comments.
2939 (do_test): Add comments and call free on all potentially
2940 allocated pointers. Remove duplicate check for NULL pointer.
2941 Add space after cast.
2942
66a9be9d
WN
2943 * malloc/tst-valloc.c: Add comments.
2944 (do_test): Add comments and call free on all potentially
2945 allocated pointers. Remove duplicate check for NULL pointer.
2946 Add space after cast.
2947
4cb81307
AM
29482013-10-04 Alan Modra <amodra@gmail.com>
2949
2950 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2951 Use stdint types in rather than __attribute__((mode())).
2952 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2953
f8e3e9f3
AM
29542013-10-04 Alan Modra <amodra@gmail.com>
2955
2956 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2957 Correct handling of unaligned relocs for little-endian.
2958 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2959
8f9ebb08
AM
29602013-10-04 Alan Modra <amodra@gmail.com>
2961
2962 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2963 * configure: Regenerate.
2964 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2965 * shlib-versions: Likewise.
2966
0edf96c2
AM
29672013-10-04 Alan Modra <amodra@gmail.com>
2968
2969 * string/tester.c (test_memrchr): Increment reported test cycle.
2970
e0f7a380
AM
29712013-10-04 Alan Modra <amodra@gmail.com>
2972
2973 * string/test-memcpy.c (do_one_test): When reporting errors, print
2974 string address and don't overrun end of string.
2975
466b0393
AM
29762013-10-04 Alan Modra <amodra@gmail.com>
2977
2978 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2979 insrdi. Make better use of reg selection to speed exit slightly.
2980 Schedule entry path a little better. Remove useless "are we done"
2981 checks on entry to main loop. Handle wrapping around zero address.
2982 Correct main loop count. Handle single left-over word from main
2983 loop inline rather than by using loop_small. Remove extra word
2984 case in loop_small caused by wrong loop count. Add little-endian
2985 support.
2986 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2987 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2988 cache hint.
2989 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2990 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2991 support. Avoid rlwimi.
2992 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2993
3be87c77
AM
29942013-10-04 Alan Modra <amodra@gmail.com>
2995
2996 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 2997 insrdi. Formatting.
3be87c77
AM
2998 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2999 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3000 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3001 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3002 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3003 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3004
759cfef3
AM
30052013-10-04 Alan Modra <amodra@gmail.com>
3006
3007 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3008 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3009 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3010 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3011 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3012 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3013 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3014 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3015 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3016 use of regs. Use power7 mtocrf. Tidy function tails.
3017
fe6e95d7
AM
30182013-10-04 Alan Modra <amodra@gmail.com>
3019
3020 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3021 Formatting. Consistently use rXXX register defines or rN defines.
3022 Use early exit labels that avoid restoring unused non-volatile regs.
3023 Make cr field use more consistent with rWORDn compares. Rename
3024 regs used as shift registers for unaligned loop, using rN defines
3025 for short lifetime/multiple use regs.
3026 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3027 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3028 addi 1,1,64 to pop stack frame. Simplify return value code.
3029 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3030
664318c3
AM
30312013-10-04 Alan Modra <amodra@gmail.com>
3032
3033 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3034 support. Correct typos, formatting. Optimize tail. Use insrdi
3035 rather than rlwimi.
3036 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3037 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3038 little-endian support. Correct typos.
3039 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3040 rather than rlwimi.
3041 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3042 in loop and entry code to keep "and." results.
3043 (strchr): Add little-endian support. Comment. Move cntlzd
3044 earlier in tail.
3045 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3046
43b84013
AM
30472013-10-04 Alan Modra <amodra@gmail.com>
3048
3049 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3050 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3051 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3052 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3053
8a7413f9
AM
30542013-10-04 Alan Modra <amodra@gmail.com>
3055
3056 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3057 (rTMP): Define as r11.
3058 (strcmp): Add little-endian support. Optimise tail.
3059 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3060 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3061 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3062 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3063 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3064 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3065 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3066
33ee81de
AM
30672013-10-04 Alan Modra <amodra@gmail.com>
3068
3069 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3070 little-endian support. Remove unnecessary "are we done" tests.
3071 Handle "s" wrapping around zero and extremely large "size".
3072 Correct main loop count. Handle single left-over word from main
3073 loop inline rather than by using small_loop. Correct comments.
3074 Delete "zero" tail, use "end_max" instead.
3075 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3076
db9b4570
AM
30772013-10-04 Alan Modra <amodra@gmail.com>
3078
3079 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3080 support. Don't branch over align.
3081 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3082 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3083 support. Rearrange tmp reg use to suit. Comment.
3084 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3085
f7c399cf
AM
30862013-10-04 Alan Modra <amodra@gmail.com>
3087
3088 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3089
0b2c2ace
AM
30902013-10-04 Alan Modra <amodra@gmail.com>
3091
3092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3093 conditional form of branch and link when obtaining pc.
3094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3095
02f04a6c
AM
30962013-10-04 Alan Modra <amodra@gmail.com>
3097
3098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3099 HIWORD/LOWORD.
3100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3102
9b874b2f
AM
31032013-10-04 Alan Modra <amodra@gmail.com>
3104
3105 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3106 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3107 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3108 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3109 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3110 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3111 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3112 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3113 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3114 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3115
be1e5d31
AB
31162013-10-04 Anton Blanchard <anton@au1.ibm.com>
3117 Alistair Popple <alistair@ozlabs.au.ibm.com>
3118 Alan Modra <amodra@gmail.com>
3119
3120 [BZ #15723]
3121 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3122 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3123 _dl_hwcap access for little-endian.
3124 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3125 destroy vmx regs when saving unaligned.
3126 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3127 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3128 destroy vmx regs when saving unaligned.
3129
fef13a78
AM
31302013-10-04 Alan Modra <amodra@gmail.com>
3131
3132 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3133 Don't use a union to pack hi/low value.
3134
76a66d51
AB
31352013-10-04 Anton Blanchard <anton@au1.ibm.com>
3136
3137 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3138 for little-endian.
3139 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3140 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3141 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3142 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3143 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3144
6a31fe7f
AM
31452013-10-04 Alan Modra <amodra@gmail.com>
3146
3147 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3148 constants to usual value for .cst8 section, and remove redundant
3149 high address load.
3150 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3151 constant for 0x1p52. Load little-endian words of double from
3152 correct stack offsets.
3153
7b88401f
AM
31542013-10-04 Alan Modra <amodra@gmail.com>
3155
3156 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3157 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3158 words of double from correct stack offsets.
3159 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3160 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3161 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3162 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3163 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3164 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3165 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3166 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3167 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3168 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3169 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3170 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3171 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3172 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3173 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3174 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3175 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3176
9c008155
AM
31772013-10-04 Alan Modra <amodra@gmail.com>
3178
3179 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3180 64-bit int/double union.
3181 (_FPU_SETCW): Likewise.
3182 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3183 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3184
da13146d
AM
31852013-10-04 Alan Modra <amodra@gmail.com>
3186
3187 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3188 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3189
603e8410
AM
31902013-10-04 Alan Modra <amodra@gmail.com>
3191
3192 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3193 use vector int constants.
3194 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3195
4a28b3ca
AB
31962013-10-04 Anton Blanchard <anton@au1.ibm.com>
3197
3198 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3199 array with long long.
3200 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3201 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3202 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3203 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3204 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3205 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3206 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3207 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3208 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3209 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3210 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3211 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3212 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3213
2ca85d2b
AB
32142013-10-04 Anton Blanchard <anton@au1.ibm.com>
3215
3216 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3217 (__signbit): Likewise. Correct for little-endian.
3218 (__signbitl): Call __signbit.
3219 (lrint): Correct for little-endian.
3220 (lrintf): Call lrint.
3221
62a728ae
AM
32222013-10-04 Alan Modra <amodra@gmail.com>
3223
3224 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3225 union 32-bit int array member with 64-bit int array.
3226 (t515, tm256): Double rather than long double.
3227 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3228
32c301df
AM
32292013-10-04 Alan Modra <amodra@gmail.com>
3230
3231 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3232 Delete.
3233 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3234 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3235 version of math_ldbl.h.
3236
650ef4bd
AM
32372013-10-04 Alan Modra <amodra@gmail.com>
3238
3239 [BZ #15734], [BZ #15735]
3240 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3241 all uses of ieee875 long double macros and unions. Simplify test
3242 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3243 ldbl_extract_mantissa value for ix,iy exponents. Properly
3244 normalize after ldbl_extract_mantissa, and don't add hidden bit
3245 already handled. Don't treat low word of ieee854 mantissa like
3246 low word of IBM long double and mask off bit when testing for
3247 zero.
3248 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3249 all uses of ieee875 long double macros and unions. Simplify tests
3250 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3251 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3252 two1022, instead use their values. Recognise that tests for large
3253 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3254 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3255 Rewrite all uses of ieee875 long double macros and unions. Simplify
3256 test for 0.0L and nan. Correct negation.
3257 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3258 ieee875 long double macros and unions. Correct output for large
3259 magnitude x. Correct absolute value calculation.
3260 (__erfcl): Likewise.
3261 * math/libm-test.inc: Add tests for errors discovered in IBM long
3262 double versions of fmodl, remainderl, erfl and erfcl.
3263
765714ca
AM
32642013-10-04 Alan Modra <amodra@gmail.com>
3265
3266 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3267 all uses of ieee854 long double macros and unions. Simplify tests
3268 for long doubles that are fully specified by the high double.
3269 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3270 Likewise.
3271 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3272 Remove dead code too.
3273 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3274 (__ieee754_ynl): Likewise.
3275 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3276 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3277 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3278 Remove dead code too.
3279 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3280 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3281 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3282 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3283 Simplify.
3284 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3285 Simplify.
3286 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3287 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3288 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3289 Comment on variable precision.
3290 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3291 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3292 Likewise.
3293 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3294 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3295 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3296 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3297 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3298
4ebd120c
AM
32992013-10-04 Alan Modra <amodra@gmail.com>
3300
3301 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3302 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3303 all uses of ieee854 long double macros and unions.
3304 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3305 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3306 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3307 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3308 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3309 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3310 Likewise.
3311 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3312 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3313 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3314 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3315 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3316 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3317 Simplify sign and nan test too.
3318 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3319 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3320 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3321 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3322 Likewise.
3323 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3324 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3325 Likewise.
3326 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3327 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3328 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3329 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3330 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3331 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3332
1b6adf88
AM
33332013-10-04 Alan Modra <amodra@gmail.com>
3334
3335 * stdio-common/printf_size.c (__printf_size): Don't use
3336 union ieee854_long_double in fpnum union.
3337 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
3338 signbit macro to retrieve sign from long double.
3339 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3340 retrieve sign from long double.
3341 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3342 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3343 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3344 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3345 * math/test-misc.c (main): Don't use union ieee854_long_double.
3346
4cf69995
AM
33472013-10-04 Alan Modra <amodra@gmail.com>
3348
3349 [BZ #15680]
3350 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3351 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3352 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3353 calculation. Remove unnecessary test for denormal exponent.
3354 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3355 Correct handling of denormals. Avoid undefined shift behaviour.
3356 Correct normalisation of low mantissa when low double is denormal.
3357 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3358 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3359 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3360 Correct normalisation of low mantissa. Test for overflow of high
3361 mantissa and normalise.
3362 (ldbl_nearbyint): Use more readable constant for two52.
3363 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3364 (__mpn_construct_long_double): Fix test for overflow of high
3365 mantissa and correct normalisation. Avoid undefined shift.
3366
9605ca6c
AM
33672013-10-04 Alan Modra <amodra@gmail.com>
3368
3369 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3370 (union ibm_extended_long_double): Define as an array of ieee754_double.
3371 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3372 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3373 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3374 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3375 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3376 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3377 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3378 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3379 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3380 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3381 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3382
975569d0
JM
33832013-10-03 Joseph Myers <joseph@codesourcery.com>
3384
d3d23756
JM
3385 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3386 page size instead of calling getpagesize.
3387
975569d0
JM
3388 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3389 (LOCFILE_ALIGN_MASK): Likewise.
3390 (LOCFILE_ALIGN_UP): Likewise.
3391 (LOCFILE_ALIGNED_P): Likewise.
3392 * locale/programs/ld-collate.c (collate_output): Use the new
3393 macros instead of __alignof__ (int32_t).
3394 * locale/weight.h (findidx): Likewise.
3395
b1fe1f2b
OB
33962013-10-03 Ondřej Bílka <neleai@seznam.cz>
3397
3398 [BZ #431]
3399 * manual/string.texi: Fix strncat and wcsncat.
3400
5f855e35
BM
34012013-10-03 Brooks Moses <bmoses@google.com>
3402
3403 [BZ #15915]
3404 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3405 * Makerules: ...here, and adjust associated comments.
3406
3cef6009
WN
34072013-10-02 Will Newton <will.newton@linaro.org>
3408
3409 * malloc/Makefile: Add tst-pvalloc.
3410 * malloc/tst-pvalloc.c: New file.
3411
7815420b
WN
34122013-10-02 Will Newton <will.newton@linaro.org>
3413
3414 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3415 improve test coverage.
3416
4868b204
WN
34172013-10-02 Will Newton <will.newton@linaro.org>
3418
3419 * malloc/Makefile: Add tst-posix_memalign.
3420 * malloc/tst-posix_memalign.c: New file.
3421
29c793b3
EB
34222013-10-01 Eric Blake <eblake@redhat.com>
3423
3424 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3425 Use __THROWNL rather than __THROW on static functions.
3426
fd967522
PM
34272013-09-30 Petr Machata <pmachata@redhat.com>
3428
3429 * elf/elf.h (R_AARCH64_ABS16): New macro.
3430 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3431 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3432 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3433 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3434 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3435 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3436 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3437 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3438 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3439 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3440 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3441 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3442 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3443 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3444 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3445 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3446 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3447 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3448 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3449 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3450 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3451 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3452 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3453 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3454 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3455 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3456 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3457 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3458 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3459 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3460 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3461 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3462 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3463 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3464 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3465 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3466 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3467 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3468 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3469 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3470 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3471 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3472 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3473 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3474 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3475 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3476 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3477 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3478 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3479 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3480 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3481 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3482 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3483 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3484 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3485 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3486 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3487 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3488 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3489 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3490 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3491 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3492 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3493 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3494 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3495 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3496 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3497 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3498 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3499 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3500 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3501 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3502 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3503 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3504 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3505 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3506 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3507 (R_AARCH64_TLSDESC_LDR): Likewise.
3508 (R_AARCH64_TLSDESC_ADD): Likewise.
3509 (R_AARCH64_TLSDESC_CALL): Likewise.
3510
b2179107
AS
35112013-09-30 Andreas Schwab <schwab@suse.de>
3512
3513 [BZ #15048]
3514 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3515 the nss database lookup.
3516 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3518
47f28d0a
MF
35192013-09-28 Mike Frysinger <vapier@gentoo.org>
3520
3521 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3522
35232013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
3524
3525 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3526 ${Bash-specific parameter/pattern/string} parameter expansion.
3527 * sysdeps/unix/make-syscalls.sh: Likewise.
3528
f4518a17
KK
35292013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3530
3531 * sysdeps/sh/stackguard-macros.h: New file.
3532
dc1a95c7
OB
35332013-09-26 Ondřej Bílka <neleai@seznam.cz>
3534
3535 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3536 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3537 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3538 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3539 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3540 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3541
5ebbff8f
AZ
35422013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3543
3544 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3545 Fix thread ID register.
3546
4fd2cf9f
JM
35472013-09-25 Joseph Myers <joseph@codesourcery.com>
3548
3549 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3550 [POSIX || UNIX98]: Require rather than permitting all symbols from
3551 <time.h>.
3552 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3553 element of struct sched_param.
3554 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3555 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3556 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3557 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3558 constant.
3559
12c22bc4
OL
35602013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3561
3562 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3563 argument calculation.
3564
a03d8ea7
JM
35652013-09-24 Joseph Myers <joseph@codesourcery.com>
3566
3567 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3568 Expect macro.
3569 [POSIX] (pthread_attr_t): Do not require type.
3570 [POSIX] (pthread_cond_t): Likewise.
3571 [POSIX] (pthread_condattr_t): Likewise.
3572 [POSIX] (pthread_key_t): Likewise.
3573 [POSIX] (pthread_mutex_t): Likewise.
3574 [POSIX] (pthread_mutexattr_t): Likewise.
3575 [POSIX] (pthread_once_t): Likewise.
3576 [POSIX] (pthread_t): Likewise.
3577 [POSIX-based standards] (pthread_atfork): Expect function.
3578
6055173a
JM
35792013-09-24 Joseph Myers <joseph@codesourcery.com>
3580 Richard Sandiford <richard@codesourcery.com>
3581
3582 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3583 (swap_endianness_p): New extern variable.
3584 (set_big_endian): New inline function.
3585 (maybe_swap_uint32): Likewise.
3586 (maybe_swap_uint32_array): Likewise.
3587 (maybe_swap_uint32_obstack): Likewise.
3588 * locale/programs/locfile.c: Include <stdbool.h>.
3589 (swap_endianness_p): New variable.
3590 (add_locale_uint32): Call maybe_swap_uint32.
3591 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3592 (write_locale_data): Call maybe_swap_uint32_array.
3593 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3594 maybe_swap_uint32.
3595 (obstack_int32_grow_fast): Likewise.
3596 (output_weightwc): Call maybe_swap_uint32_obstack.
3597 (collate_output): Likewise.
3598 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3599 (OPT_LITTLE_ENDIAN): Likewise.
3600 (options): Add --little-endian and --big-endian options.
3601 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3602 * locale/programs/locarchive.c: Include "locfile.h".
3603 (GET): New macro.
3604 (SET): Likewise.
3605 (INC): Likewise.
3606 (create_archive): Use the new macros to access fields of
3607 structures directly mapped from or written to locale archives.
3608 (oldlocrecentcmp): Likewise.
3609 (enlarge_archive): Likewise.
3610 (insert_name): Likewise.
3611 (add_alias): Likewise.
3612 (add_locale): Likewise.
3613 (delete_locales_from_archive): Likewise.
3614 (show_archive_content): Likewise.
3615 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3616 locale data.
3617
39bf0bb4
RM
36182013-09-24 Roland McGrath <roland@hack.frob.com>
3619
3620 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3621 http://www.gnu.org/doc/freemanuals.texi.
3622 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3623
f02eed10
WN
36242013-09-24 Will Newton <will.newton@linaro.org>
3625
3626 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3627 macro.
3628
a3a6c312
JM
36292013-09-23 Joseph Myers <joseph@codesourcery.com>
3630
3631 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3632 unsigned char.
3633
107375ac
MR
36342013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3635
3636 * manual/threads.texi (POSIX Threads): Fix a typo.
3637
141f3a77
SP
36382013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3639
303e567a
SP
3640 [BZ #14547]
3641 * string/tst-strcoll-overflow.c: New test case.
3642 * string/Makefile (xtests): Add tst-strcoll-overflow.
3643 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3644 cache if string sizes may cause integer overflow.
3645
141f3a77
SP
3646 [BZ #14547]
3647 * string/strcoll_l.c (coll_seq): New members rule, idx,
3648 save_idx and back_us.
3649 (get_next_seq_nocache): New function.
3650 (do_compare_nocache): New function.
3651 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3652 when malloc fails.
3653
c61b4d41
CD
36542013-09-23 Carlos O'Donell <carlos@redhat.com>
3655
0b1f8e35
CD
3656 [BZ #15754]
3657 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3658 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3659 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3660
c61b4d41
CD
3661 [BZ #15754]
3662 * elf/Makefile (tests): Add tst-ptrguard1.
3663 (tests-static): Add tst-ptrguard1-static.
3664 (tst-ptrguard1-ARGS): Define.
3665 (tst-ptrguard1-static-ARGS): Define.
3666 * elf/tst-ptrguard1.c: New file.
3667 * elf/tst-ptrguard1-static.c: New file.
3668 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3669 * sysdeps/i386/stackguard-macros.h: Likewise.
3670 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3671 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3672 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3673 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3674 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3675 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3676
36772013-09-23 Hector Marco <hecmargi@upv.es>
3678 Ismael Ripoll <iripoll@disca.upv.es>
3679 Carlos O'Donell <carlos@redhat.com>
3680
3681 [BZ #15754]
3682 * sysdeps/generic/stackguard-macros.h: Define
3683 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3684 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3685 Define __pointer_chk_guard_local.
3686 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3687 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3688
f5f4e7b4
VV
36892013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3690
3691 [BZ #15859]
3692 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3693
5bb43a43
AS
36942013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3695
3696 * include/string.h (__ffs): Declare as hidden.
3697 * string/ffs.c (__ffs): Define as hidden.
3698 * sysdeps/i386/ffs.c (__ffs): Likewise.
3699 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3700 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3701 * sysdeps/s390/ffs.c (__ffs): Likewise.
3702 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3703
3ea5be54
AO
37042013-09-20 Alexandre Oliva <aoliva@redhat.com>
3705
ffb89e53
AO
3706 * NEWS: Mention malloc probes.
3707
322dea08
AO
3708 * malloc/arena.c (new_heap): New memory_heap_new probe.
3709 (grow_heap): New memory_heap_more probe.
3710 (shrink_heap): New memory_heap_less probe.
3711 (heap_trim): New memory_heap_free probe.
3712 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3713 (systrim): New memory_sbrk_less probe.
3714 * manual/probes.texi: Document them.
3715
655673f3
AO
3716 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3717 * manual/probes.texi: Document it.
3718
35fed6f1
AO
3719 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3720 (__libc_realloc): Add memory_realloc_retry probe.
3721 (__libc_memalign): Add memory_memalign_retry probe.
3722 (__libc_valloc): Add memory_valloc_retry probe.
3723 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3724 (__libc_calloc): Add memory_calloc_retry probe.
3725 * manual/probes.texi: Document them.
3726
6999d38c
AO
3727 * malloc/arena.c (get_free_list): Add probe
3728 memory_arena_reuse_free_list.
3729 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3730 and memory_arena_reuse.
3731 (arena_get2) [!PER_THREAD]: Likewise.
3732 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3733 memory_arena_reuse_realloc.
3734 * manual/probes.texi: Document them.
3735
0653427f
AO
3736 * malloc/malloc.c (__libc_free): Add
3737 memory_mallopt_free_dyn_thresholds probe.
3738 (__libc_mallopt): Add multiple memory_mallopt probes.
3739 * manual/probes.texi: Document them.
3740
3ea5be54
AO
3741 * malloc/malloc.c: Include stap-probe.h.
3742 (__libc_mallopt): Add memory_mallopt probe.
3743 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3744 * manual/probes.texi: New.
3745 * manual/Makefile (chapters): Add probes.
3746 * manual/threads.texi: Set next node.
3747
e35696c3 37482013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 3749
e35696c3
CL
3750 [BZ #15963, #13985]
3751 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3752 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3753 Add `Chinese' to `nan' entry name.
3754
4aafb73c
SP
37552013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3756
3757 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3758 (POLYNOMIAL): Likewise.
3759 (TAYLOR_SINCOS): Likewise.
3760 (TAYLOR_SLOW): Likewise.
3761 (__sin): Use TAYLOR_SINCOS.
3762 (__cos): Likewise.
3763 (slow): Use TAYLOR_SLOW.
3764 (sloww): Likewise.
3765 (bsloww): Likewise.
3766 (csloww): Likewise.
3767
d84f25c7
LD
37682013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3769
3770 * stdlib/strtod_l.c: Fix buffer overrun.
3771
5eea0404
SP
37722013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3773
7849ff93
SP
3774 * benchtests/Makefile (bench): Add sincos.
3775 * benchtests/bench-sincos.c: New file.
3776
cfa3c886
SP
3777 * math/libm-test.inc (cos_test_data): New test inputs.
3778 (sin_test_data): Likewise.
3779
b348e1e3
SP
3780 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3781 macro.
3782 (__sin): Use it.
3783 (__cos): Likewise.
3784 (slow1): Likewise.
3785 (slow2): Likewise.
3786 (sloww1): Likewise.
3787 (sloww2): Likewise.
3788 (bsloww1): Likewise.
3789 (bsloww2): Likewise.
3790 (cslow2): Likewise.
3791 (csloww1): Likewise.
3792 (csloww2): Likewise.
3793
6cce25f8
SP
3794 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3795 function.
3796 (__sin): Use it.
3797 (__cos): Likewise.
3798
5eea0404
SP
3799 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3800 gotos.
3801 (__cos): Likewise.
3802
9c21573c
MR
38032013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3804
3805 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3806 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3807 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3808 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3809 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3810 * elf/cache.c (print_entry): Handle the new cache flags.
3811
24d22e65
JM
38122013-09-18 Joseph Myers <joseph@codesourcery.com>
3813 Aldy Hernandez <aldyh@redhat.com>
3814
3815 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3816 Change condition to [_SOFT_FLOAT].
3817 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3818 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3819 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3820 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3821 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3822 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3823 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3824 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3825 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3826 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3827 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3828 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3829 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3830 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3831 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3832 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3833 declaration.
3834
d13ef066
JM
38352013-09-18 Joseph Myers <joseph@codesourcery.com>
3836
2e071de0
JM
3837 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3838 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3839 (__longjmp): Use LOAD_GP to load saved GPRs.
3840 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3841 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3842 (__sigsetjmp): Use SAVE_GP to save GPRs.
3843
d13ef066
JM
3844 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3845 Do not append -msoft-float.
3846 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3847
97a0650b
SP
38482013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3849
3850 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3851
11ca09e9
JM
38522013-09-17 Joseph Myers <joseph@codesourcery.com>
3853
3854 [BZ #15966]
3855 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3856 (_FPU_GETCW): Use initial "__" on variable and field names but not
3857 on macro parameter name.
3858 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
3859 parentheses around reference to macro parameter.
3860
08ffcf34
RS
38612013-09-13 Richard Sandiford <richard@codesourcery.com>
3862
3863 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3864 prototype.
3865 (ctype_startup): Use uint32_t in cast and sizeof for
3866 ctype->charnames.
3867
ae7080d3
JL
38682013-09-11 Jia Liu <proljc@gmail.com>
3869
3870 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3871 __daddr_t_defined.
3872 [__FreeBSD__]: Likewise.
3873
5905e7b3
OB
38742013-09-11 Ondřej Bílka <neleai@seznam.cz>
3875
3876 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3877 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3878 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3879 (strchr): Remove __strchr_sse42 ifunc selection.
3880 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3881 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3882
b987c776
WN
38832013-09-11 Will Newton <will.newton@linaro.org>
3884
3885 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3886 parameter to RES. Remove hardcoded 1000 value.
3887 * benchtests/bench-skeleton.c (main): Pass RES parameter
3888 to TIMING_INIT and multiply result by 1000.
3889
ddf985af
AZ
38902013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3891
3892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3893
ffdd3181
AS
38942013-09-11 Andreas Schwab <schwab@suse.de>
3895
3896 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3897 if not defined.
3898 (O_TMPFILE) [__USE_GNU]: Define.
3899 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3900 Define.
3901
b73ed247
WN
39022013-09-11 Will Newton <will.newton@linaro.org>
3903
3904 [BZ #15857]
3905 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3906 does not overflow.
3907
55e17aad
WN
39082013-09-11 Will Newton <will.newton@linaro.org>
3909
3910 [BZ #15856]
3911 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3912 does not overflow.
3913
1159a193
WN
39142013-09-11 Will Newton <will.newton@linaro.org>
3915
3916 [BZ #15855]
3917 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3918 does not overflow.
3919
5905e7b3 39202013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
3921
3922 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3923 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3924 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3925 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3926 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3927
cdfc721b
AM
39282013-09-10 Allan McRae <allan@archlinux.org>
3929
aa04af00
AM
3930 [BZ #15748]
3931 * manual/arith.texi (Parsing of Floats): Clarify
3932 cross-reference.
3933
cdfc721b
AM
3934 [BZ #15849]
3935 * manual/install.texi (Running make install): Mention
3936 --enable-pt-chown.
3937 * INSTALL: Regenerated.
3938
95e7cf29
MR
39392013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3940
3941 * csu/init-first.c (_init): Remove the !SHARED condition around
3942 FPU control word initialization.
3943 * elf/dl-support.c (_dl_fpu_control): New variable.
3944 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3945 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3946 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3947 * math/test-fpucw-static.c: New file.
3948 * math/test-fpucw-ieee.c: New file.
3949 * math/test-fpucw-ieee-static.c: New file.
3950 * math/Makefile (tests): Add `test-fpucw-ieee' and
3951 `$(tests-static)'.
3952 (tests-static): New variable.
3953 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3954 dependency to...
3955 [($(build-shared),yes)]
3956 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3957 ... this.
3958 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3959 New dependency.
3960
83e43bf0
AM
39612013-09-09 Allan McRae <allan@archlinux.org>
3962
a9f5ce09
AM
3963 [BZ #15939]
3964 * manual/string.texi (Collation Functions): Fix typo in
3965 strcoll example.
3966 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3967
34829bc2
AM
3968 [BZ #15893]
3969 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3970
3932737d
AM
3971 [BZ #15892]
3972 * libio/memstream.c (open_memstream): Fix memory leak.
3973 * libio/wmemstream.c (open_wmemstream): Likewise.
3974
83e43bf0
AM
3975 [BZ #15895]
3976 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3977
0c66b8e9
WN
39782013-09-09 Will Newton <will.newton@linaro.org>
3979
3980 * malloc/Makefile: Add tst-realloc to tests.
3981 * malloc/tst-realloc.c: New file.
3982
f6b00fd1
AM
39832013-09-09 Allan McRae <allan@archlinux.org>
3984
3985 [BZ #15844]
3986 * COPYING: Update from GNU website to fix FSF address.
3987 * COPYING.LIB: Likewise.
3988
eec55e16
DM
39892013-09-06 David S. Miller <davem@davemloft.net>
3990
3991 * po/zh_TW.po: Update Chinese (traditional) translation from
3992 translation project.
3993
1ecbb381
RS
39942013-09-06 Richard Sandiford <richard@codesourcery.com>
3995 Joseph Myers <joseph@codesourcery.com>
3996
3997 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3998 "localeinfo.h".
3999 (obstack_chunk_alloc): New macro.
4000 (obstack_chunk_free): Likewise.
4001 (record_offset): New function.
4002 (init_locale_data): Likewise.
4003 (align_locale_data): Likewise.
4004 (add_locale_empty): Likewise.
4005 (add_locale_raw_data): Likewise.
4006 (add_locale_raw_obstack): Likewise.
4007 (add_locale_string): Likewise.
4008 (add_locale_wstring): Likewise.
4009 (add_locale_uint32): Likewise.
4010 (add_locale_uint32_array): Likewise.
4011 (add_locale_char): Likewise.
4012 (start_locale_structure): Likewise.
4013 (end_locale_structure): Likewise.
4014 (start_locale_prelude): Likewise.
4015 (end_locale_prelude): Likewise.
4016 (write_locale_data): Take locale_file structure rather than an
4017 iovec.
4018 * locale/programs/locfile.h: Include "obstack.h".
4019 (struct locale_file): Change to store locale file contents instead
4020 of header.
4021 (init_locale_data): New prototype.
4022 (align_locale_data): Likewise.
4023 (add_locale_empty): Likewise.
4024 (add_locale_raw_data): Likewise.
4025 (add_locale_raw_obstack): Likewise.
4026 (add_locale_string): Likewise.
4027 (add_locale_wstring): Likewise.
4028 (add_locale_uint32): Likewise.
4029 (add_locale_uint32_array): Likewise.
4030 (add_locale_char): Likewise.
4031 (start_locale_structure): Likewise.
4032 (end_locale_structure): Likewise.
4033 (start_locale_prelude): Likewise.
4034 (end_locale_prelude): Likewise.
4035 (write_locale_data): Update prototype.
4036 * locale/programs/3level.h (struct TABLE): Remove result field.
4037 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4038 Use new locale_file interface.
4039 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4040 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4041 * locale/programs/ld-address.c (address_output): Use new
4042 locale_file interface.
4043 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4044 NO_ADD_LOCALE.
4045 (collate_finish): Don't call collseq_table_finalize.
4046 (collate_output): Use new locale_file interface.
4047 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4048 in file.
4049 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4050 (TABLE): Move defines earlier in file.
4051 (ELEMENT): Likewise.
4052 (DEFAULT): Likewise.
4053 (wctrans_table_add): Move macro and inline function earlier in
4054 file.
4055 (struct wctype_table): Move type earlier in file.
4056 (add_locale_wctype_table): New static prototype.
4057 (struct locale_ctype_t): Use logical types instead of struct iovec
4058 pointers for members.
4059 (ctype_output): Use new locale_file interface.
4060 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4061 new locale_file interface.
4062 (allocate_arrays): Update for use of new locale_file interface.
4063 * locale/programs/ld-identification.c (identification_output): Use
4064 new locale_file interface.
4065 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4066 * locale/programs/ld-messages.c (messages_output): Likewise.
4067 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4068 * locale/programs/ld-name.c (name_output): Likewise.
4069 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4070 * locale/programs/ld-paper.c (paper_output): Likewise.
4071 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4072 * locale/programs/ld-time.c (time_output): Likewise.
4073
e029e2e5
AZ
40742013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4075
4076 * benchtests/Makefile: Add memrchr benchmark.
4077 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4078 benchmark as memrchr.
4079 * benchtests/bench-memrchr-ifunc.c: New file.
4080 * benchtests/bench-memrchr.c: New file.
4081
bbf6e8e4
WN
40822013-09-06 Will Newton <will.newton@linaro.org>
4083
4084 * benchtests/Makefile (string-bench): Add memcpy.
4085
6c82a2f8
CD
40862013-09-05 Carlos O'Donell <carlos@redhat.com>
4087 Cong Wang <amwang@redhat.com>
4088
4089 * sysdeps/unix/sysv/linux/bits/in.h
4090 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4091 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4092 before __USE_KERNEL_IPV6_DEFS uses.
4093 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4094 IPPROTO_BEETPH.
4095 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4096 sockaddr_in6, or ipv6_mreq.
4097
5430fc65
AZ
40982013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4099
4100 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4101 memory access for final bytes in some large inputs.
4102 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4103
4660856c
AZ
41042013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4105
4106 * string/test-memrchr.c: New file.
4107 * string/test-memrchr-ifunc.c: New file.
4108 * string/Makefile: Add new memrchr testcase.
4109
bb8ea713
MF
41102013-09-05 Mike Frysinger <vapier@gentoo.org>
4111
4112 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4113 fanotify_init returns EPERM.
4114
b92a20b5
JM
41152013-09-04 Joseph Myers <joseph@codesourcery.com>
4116
4117 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4118 errors.
4119 (top level): Treat second token from macro or constant entries for
4120 allowed headers as allowed.
4121 * include/complex.h: Condition internal declarations on
4122 [!_ISOMAC].
4123 * include/fenv.h: Condition include of <stdbool.h> and internal
4124 declarations on [!_ISOMAC].
7447ccd9
CL
4125
41262013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4127
3e181dda 4128 [BZ #15923]
7447ccd9
CL
4129 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4130
3f2e46a4
JM
41312013-09-04 Joseph Myers <joseph@codesourcery.com>
4132
4133 * configure.in (--enable-versioning): Remove configure option.
4134 (libc_cv_asm_symver_directive): Remove configure test.
4135 (libc_cv_ld_version_script_option): Likewise.
4136 (VERSIONING): Remove variable and AC_SUBST.
4137 (DO_VERSIONING): Remove AC_DEFINE.
4138 * configure: Regenerated.
4139 * config.h.in (DO_VERSIONING): Remove macro.
4140 * Makerules [$(versioning) = yes]: Change conditionals to
4141 [$(build-shared) = yes].
4142 * config.make.in (versioning): Remove variable.
4143 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4144 [$(build-shared) = yes].
4145 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4146 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4147 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4148 [$(build-shared) = yes].
4149 * extra-lib.mk [$(versioning) = yes]: Likewise.
4150 * hurd/Makefile [$(versioning) = yes]: Likewise.
4151 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4152 [SHARED].
4153 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4154 [SHARED].
4155 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4156 [SHARED && !NO_HIDDEN].
4157 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4158 [SHARED].
4159 [SHARED && DO_VERSIONING]: Likewise..
4160 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4161 [$(build-shared) = yes].
4162 * manual/install.texi (--disable-versioning): Remove
4163 documentation.
4164 * INSTALL: Regenerated.
4165 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4166 to [SHARED].
4167 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4168 [$(build-shared) = yes].
4169 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4170 * sysdeps/i386/i686/multiarch/strstr-c.c
4171 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4172 [SHARED && !NO_HIDDEN].
4173 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4174 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4175 * sysdeps/powerpc/powerpc32/dl-machine.c
4176 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4177 * sysdeps/powerpc/powerpc32/sysdep.h
4178 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4179 to [SHARED && PIC && !NO_HIDDEN].
4180 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4181 conditional to [SHARED].
4182
44558701
WN
41832013-09-04 Will Newton <will.newton@linaro.org>
4184
4185 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4186 * benchtests/bench-string.h: Include bench-timing.h instead
4187 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4188 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4189 call to HP_TIMING_DIFF_INIT.
4190 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4191 instead of hp-timing.h macros.
4192 * benchtests/bench-memchr.c: Likewise.
4193 * benchtests/bench-memcmp.c: Likewise.
4194 * benchtests/bench-memcpy.c: Likewise.
4195 * benchtests/bench-memmem.c: Likewise.
4196 * benchtests/bench-memmove.c: Likewise.
4197 * benchtests/bench-memset.c: Likewise.
4198 * benchtests/bench-rawmemchr.c: Likewise.
4199 * benchtests/bench-strcasecmp.c: Likewise.
4200 * benchtests/bench-strcasestr.c: Likewise.
4201 * benchtests/bench-strcat.c: Likewise.
4202 * benchtests/bench-strchr.c: Likewise.
4203 * benchtests/bench-strcmp.c: Likewise.
4204 * benchtests/bench-strcpy.c: Likewise.
4205 * benchtests/bench-strcpy_chk.c: Likewise.
4206 * benchtests/bench-strlen.c: Likewise.
4207 * benchtests/bench-strncasecmp.c: Likewise.
4208 * benchtests/bench-strncat.c: Likewise.
4209 * benchtests/bench-strncmp.c: Likewise.
4210 * benchtests/bench-strncpy.c: Likewise.
4211 * benchtests/bench-strnlen.c: Likewise.
4212 * benchtests/bench-strpbrk.c: Likewise.
4213 * benchtests/bench-strrchr.c: Likewise.
4214 * benchtests/bench-strspn.c: Likewise.
4215 * benchtests/bench-strstr.c: Likewise.
4216
cae16d66
WN
42172013-09-04 Will Newton <will.newton@linaro.org>
4218
4219 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4220
ffa3cd7f
JM
42212013-09-03 Joseph Myers <joseph@codesourcery.com>
4222
4223 [BZ #15427]
4224 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4225 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4226 * math/libm-test.inc (lgamma_test_data): Add more tests.
4227 * sysdeps/i386/fpu/libm-test-ulps: Update.
4228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4229
8f02859f
OB
42302013-09-03 Ondřej Bílka <neleai@seznam.cz>
4231
4232 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4233 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4234 Add ifunc.
4235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4236 Add strcmp-sse2-unaligned
4237 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4238
18d43716
MF
42392013-09-02 Mike Frysinger <vapier@gentoo.org>
4240
4241 * Versions.def (libc): Add GLIBC_2.19.
4242
ac444012
MF
42432013-09-02 Mike Frysinger <vapier@gentoo.org>
4244
4245 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4246 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4247
b7835e32
JM
42482013-09-02 Joseph Myers <joseph@codesourcery.com>
4249
4250 [BZ #14155]
4251 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4252 intermediate calculations in recurrence.
4253 (__ieee754_ynf): Likewise.
4254 * math/libm-test.inc (jn_test_data): Do not allow spurious
4255 underflow exception. Add more tests.
4256 (yn_test_data): Add more tests.
4257 * sysdeps/i386/fpu/libm-test-ulps: Update.
4258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4259
8220f4f0
OB
42602013-09-02 Ondřej Bílka <neleai@seznam.cz>
4261
4262 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4263
f24a6d08
OB
42642013-08-30 Ondřej Bílka <neleai@seznam.cz>
4265
4266 * csu/init-first.c: Fix then/than typos.
4267 * locale/programs/ld-collate.c: Likewise.
4268 * locale/programs/linereader.h: Likewise.
4269 * manual/charset.texi: Likewise.
4270 * manual/filesys.texi: Likewise.
4271 * manual/stdio.texi: Likewise.
4272 * manual/string.texi: Likewise.
4273 * stdlib/fmtmsg.c: Likewise.
4274 * sysdeps/i386/stpncpy.S: Likewise.
4275 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4276 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4277 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4278 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4279
382466e0
OB
42802013-08-30 Ondřej Bílka <neleai@seznam.cz>
4281
4282 * elf/dl-open.c: Fix typos.
4283 * iconvdata/gbbig5.c: Likewise.
4284 * iconvdata/iso-2022-jp.c: Likewise.
4285 * iconv/gconv_int.h: Likewise.
4286 * iconv/loop.c: Likewise.
4287 * nis/rpcsvc/nis.h: Likewise.
4288 * resolv/ns_name.c: Likewise.
4289 * stdio-common/vfscanf.c: Likewise.
4290 * streams/stropts.h: Likewise.
4291 * sunrpc/rpc_thread.c: Likewise.
4292 * sysdeps/i386/strpbrk.S: Likewise.
4293 * sysdeps/ieee754/k_standard.c: Likewise.
4294 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4295 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4296 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4297 * sysdeps/mach/hurd/profil.c: Likewise.
4298 * sysdeps/s390/dl-procinfo.h: Likewise.
4299 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4300 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4301 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4302 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4303 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4304
0186c6e9
OB
43052013-08-30 Ondřej Bílka <neleai@seznam.cz>
4306
4307 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4308 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4309
d4e16af1
OB
43102013-08-29 Ondřej Bílka <neleai@seznam.cz>
4311
4312 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4313 aix specific files.
4314 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4315 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4316 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4317 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4318 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4319 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4320 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4321 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4322
88335980
TS
43232013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4324 Roland McGrath <roland@hack.frob.com>
4325
4326 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4327 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4328
ed479b02
ST
43292013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4330
4331 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4332 __executable_start symbol instead of _start.
4333
f1cc4c86
TS
43342013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4335
d821f07c
TS
4336 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4337 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4338 Move macros to...
4339 * sysdeps/gnu/ldsodefs.h: ... this new file.
4340
c54290cf
TS
4341 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4342 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4343 instead of ELFOSABI_LINUX.
4344
0007fc9b 4345 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
4346 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4347 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4348 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4349 Likewise.
4350 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4351 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4352 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4353 Likewise.
4354 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4355 (ibm_extended_long_double): Add ieee_nan member.
4356 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4357 (do_test): New function.
4358
f1cc4c86
TS
4359 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4360 TEST_TRUNC.
4361 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4362 functions, renamed from truncdfsf_test, trunctfsf_test,
4363 trunctfdf_test.
4364 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4365 functions.
4366 (do_test): Run all these.
4367
6f65e668
OB
43682013-08-29 Ondřej Bílka <neleai@seznam.cz>
4369
4370 * argp/argp-help.c: Fix typos.
4371 * argp/argp-parse.c: Likewise.
4372 * debug/backtracesyms.c: Likewise.
4373 * elf/elf.h: Likewise.
4374 * malloc/malloc.c: Likewise.
4375 * nis/nis_print.c: Likewise.
4376 * resolv/res_comp.c: Likewise.
4377 * stdlib/stdlib.h: Likewise.
4378 * sunrpc/clnt_tcp.c: Likewise.
4379 * sunrpc/clnt_udp.c: Likewise.
4380 * sunrpc/clnt_unix.c: Likewise.
4381 * sysdeps/unix/bsd/ptsname.c: Likewise.
4382 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4383 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
4384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4385 Likewise.
4386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4387 Likewise.
4388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4389 Likewise.
6f65e668
OB
4390 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4391
3a309239
SP
43922013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4393
4394 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4396
3b813b29
MF
43972013-08-27 Mike Frysinger <vapier@gentoo.org>
4398
4399 [BZ #15897]
4400 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4401 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4402 ($(objpfx)bug-dl-leaf): New rule.
4403 ($(objpfx)bug-dl-leaf.so): Likewise.
4404 ($(objpfx)bug-dl-leaf.out): Likewise.
4405 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4406 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4407 * dlfcn/bug-dl-leaf.c: New test.
4408 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4409 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4410 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4411 (dlclose): Likewise.
4412 (dlmopen): Likewise.
4413
8cc3269f
RM
44142013-08-27 Roland McGrath <roland@hack.frob.com>
4415
7f9d0034
RM
4416 * include/netdb.h [!_ISOMAC]:
4417 Don't include <tls.h>.
4418 (h_errno, __libc_h_errno): Move declaration and macros out of
4419 [_LIBC_REENTRANT].
4420
fb431262
RM
4421 * include/resolv.h [_RESOLV_H_]:
4422 Don't include <tls.h>.
4423 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4424 * resolv/res_libc.c: Don't include <tls.h>.
4425 (_res): Use __attribute__ ((nocommon)) in place of
4426 __attribute__ ((section (".bss"))).
4427
bd81123a
RM
4428 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4429 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4430
c4e42566
RM
4431 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4432
f890a59b
RM
4433 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4434 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4435
4436 * resolv/res_mkquery.c: Include <sys/time.h>.
4437
5d1f0a09
RM
4438 * inet/ifreq.c: Moved to ...
4439 * sysdeps/unix/ifreq.c: ... here.
4440 * inet/ifreq.c: New file, true stub version.
4441
6fcf28b3
RM
4442 * socket/sa_len.c: New file.
4443 * socket/Makefile (aux): Add it.
4444 * sysdeps/unix/sysv/linux/Makefile
4445 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4446 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4447 and #include <socket/sa_len.c>.
4448 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4449 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4450
e041fb8b
RM
4451 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4452 * bits/socket.h: ... here.
4453
8cc3269f
RM
4454 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4455 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4456 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4457
5d228a43
AS
44582013-08-27 Andreas Schwab <schwab@suse.de>
4459
45b8accc
AS
4460 [BZ #15736]
4461 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4462 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4463 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4464 * string/test-strcasecmp.c (test_main): Run tests in several
4465 locales.
4466 * string/test-strncasecmp.c (test_main): Likewise.
4467
5d228a43
AS
4468 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4469 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4470 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4471 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4472 (__strncasecmp_ssse3) [PIC]: Likewise.
4473
59d112a4
RM
44742013-08-26 Roland McGrath <roland@hack.frob.com>
4475
53234cc3
RM
4476 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4477
59d112a4
RM
4478 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4479 instead of explicitly declaring xdecrypt.
4480 * nis/nss_nis/nis-publickey.c: Likewise.
4481
595aba70
SP
44822013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4483
4484 [BZ #15890]
4485 * nscd/aicache.c: Include res_hconf.h.
4486 (addhstaiX): Initialize res_hconf.
4487
ffabd393
AS
44882013-08-26 Andreas Schwab <schwab@suse.de>
4489
4490 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4491 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4492
e0a69f5c
SP
44932013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4494
4495 * nscd/aicache.c (addhstaiX): Fix indentation.
4496
8c12f01d
MF
44972013-08-25 Mike Frysinger <vapier@gentoo.org>
4498
4499 * configure.ac: Quote $build_pt_chown test.
4500 * configure: Regenerated.
4501
8fe89494
JM
45022013-08-23 Joseph Myers <joseph@codesourcery.com>
4503
4504 [BZ #15532]
4505 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4506 * math/s_cexpf.c (__cexpf): Likewise.
4507 * math/s_cexpl.c (__cexpl): Likewise.
4508 * math/libm-test.inc (cexp_test_data): Correct expected return
4509 value for NaN + i0. Add another test.
4510
75b181d6
DM
45112013-08-22 David S. Miller <davem@davemloft.net>
4512
4513 * po/ca.po: Update Catalan translation from translation project.
936241e4 4514 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 4515
acd06bb1
JM
45162013-08-21 Joseph Myers <joseph@codesourcery.com>
4517
4518 [BZ #15797]
4519 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4520 is infinite, not alongside NaN test.
4521 * math/s_fdimf.c (__fdimf): Likewise.
4522 * math/s_fdiml.c (__fdiml): Likewise.
4523 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4524 errno is unchanged.
4525
c0c3f78a
OB
45262013-08-21 Ondřej Bílka <neleai@seznam.cz>
4527
4528 * argp/argp-help.c: Fix typos.
4529 * crypt/speeds.c: Likewise.
4530 * csu/check_fds.c: Likewise.
4531 * elf/dl-load.c: Likewise.
4532 * elf/dl-open.c: Likewise.
4533 * elf/reldep3.c: Likewise.
4534 * elf/reldep.c: Likewise.
4535 * elf/sprof.c: Likewise.
4536 * iconv/iconv_charmap.c: Likewise.
4537 * iconv/skeleton.c: Likewise.
4538 * iconv/strtab.c: Likewise.
4539 * io/lockf64.c: Likewise.
4540 * libio/libioP.h: Likewise.
4541 * resolv/gai_notify.c: Likewise.
4542 * resolv/ns_name.c: Likewise.
4543 * resolv/ns_samedomain.c: Likewise.
4544 * resolv/res_send.c: Likewise.
4545 * stdlib/random.c: Likewise.
4546 * sunrpc/rpc/xdr.h: Likewise.
4547 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4548 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4549 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4550 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4551 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4552 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4553 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4554 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4555 * sysdeps/mach/hurd/check_fds.c: Likewise.
4556 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4557 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4558 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4559 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4560 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4561 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4562 * sysdeps/pthread/aio_notify.c: Likewise.
4563 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4564 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4565 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4566 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4567 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4568
46ed1038
LD
45692013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4570
4571 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4572 version if bit_Slow_SSE4_2 is set.
4573 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4574 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4575
d400dcac
AZ
45762013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4577
4578 [BZ #15867]
4579 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4580 trampoline stack frame information.
4581 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4582 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4583 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4584 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4585 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4586 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4587 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4588 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4589 sa_flags value.
4590 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4591 interrupting a syscall and set with option SA_SIGINFO.
4592
42c8fdd8
JM
45932013-08-20 Joseph Myers <joseph@codesourcery.com>
4594
c980f2f4
JM
4595 [BZ #15531]
4596 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4597 argument is infinite.
4598 * math/s_cprojf.c (__cprojf): Likewise.
4599 * math/s_cprojl.c (__cprojl): Likewise.
4600 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4601 * math/libm-test.inc (cproj_test_data): Add more tests.
4602
0716c4fc
JM
4603 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4604
42c8fdd8
JM
4605 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4606 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4607 size. Use __ffs to determine corresponding shift.
4608
b31469d0
JM
46092013-08-20 Joseph Myers <joseph@codesourcery.com>
4610 Roland McGrath <roland@hack.frob.com>
4611
4612 * Makefile (INSTALL): Remove trailing blank lines from output of
4613 makeinfo.
4614
4e39af6e
AK
46152013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4616
4617 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4618 Align 32 bit compat elf_greg to 8 bytes.
4619
f315524e
AA
46202013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4621
4622 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4623
1326ba1a
SP
46242013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4625
4626 * string/strcoll_l.c (coll_seq): New structure.
4627 (get_next_seq_cached): New function.
4628 (get_next_seq): New function.
4629 (do_compare): New function.
4630 (STRCOLL): Use GNU style definition. Simplify implementation
4631 by using get_next_seq, get_next_seq_cached and do_compare.
4632
91ce4085
FW
46332013-08-16 Florian Weimer <fweimer@redhat.com>
4634
4635 [BZ #14699]
4636 CVE-2013-4237
4637 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4638 member.
4639 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4640 member.
4641 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4642 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4643 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4644 conditional.
4645 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4646 GETDENTS_64BIT_ALIGNED.
4647 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4648 * manual/filesys.texi (Reading/Closing Directory): Document
4649 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4650 strongly.
4651 * manual/conf.texi (Limits for Files): Add portability note to
4652 NAME_MAX, PATH_MAX.
4653 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4654
ca0a6bc4
AS
46552013-08-13 Andreas Schwab <schwab@suse.de>
4656
4657 [BZ #15749]
4658 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4659 of fabs.
4660 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4661 LDBL_MAX_EXP >= 16384]: Add tests for it.
4662
6c1fd795
DM
46632013-08-12 David S. Miller <davem@davemloft.net>
4664
4665 * version.h (RELEASE): Set to "development".
4666 (VERSION): Set to "2.18.90".
4667 * NEWS: Add 2.19 section.
4668
31ad488d
DM
46692013-08-03 David S. Miller <davem@davemloft.net>
4670
4671 * po/ko.po: Update Korean translation from translation project.
4672
db24e684
DM
46732013-08-01 David S. Miller <davem@davemloft.net>
4674
4675 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4676 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4677 Bilka.
4678
f723285b
DM
46792013-07-30 David S. Miller <davem@davemloft.net>
4680
4681 * po/fr.po: Update French translation from translation project.
4682
3cbc52db
DM
46832013-07-28 David S. Miller <davem@davemloft.net>
4684
30bbc0cc
DM
4685 * po/cs.po: Update Czech translation from translation project.
4686
3cbc52db
DM
4687 * po/sv.po: Update Swedish translation from translation project.
4688
d492e6d0
DM
46892013-07-27 David S. Miller <davem@davemloft.net>
4690
f1a7f492
DM
4691 * po/eo.po: Update Esperanto translation from translation project.
4692
90e62a4a
DM
4693 * po/vi.po: Update Vietnamese translation from translation project.
4694
d492e6d0
DM
4695 * po/de.po: Update German translation from translation project.
4696
d4baa62d
DM
46972013-07-26 David S. Miller <davem@davemloft.net>
4698
641aa7b4
DM
4699 * po/bg.po: Update Bulgarian translation from translation project.
4700
d4baa62d
DM
4701 * po/nl.po: Update Dutch translation from translation project.
4702 * po/pl.po: Update Polish translation from translation project.
4703 * po/ru.po: Update Russian translation from translation project.
4704
61a9dcb9
DM
47052013-07-24 David S. Miller <davem@davemloft.net>
4706
4707 * po/libc.pot: Update.
4708
7b1f8b58
AZ
47092013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4710
4711 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4712 variable page size.
4713 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4714 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4715 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4716
a8fc7a03
AK
47172013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4718
4719 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4720
e4608715
CD
47212013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4722 Andreas Schwab <schwab@suse.de>
4723 Roland McGrath <roland@hack.frob.com>
4724 Joseph Myers <joseph@codesourcery.com>
4725 Carlos O'Donell <carlos@redhat.com>
4726
4727 [BZ #15755]
4728 * config.h.in: Define HAVE_PT_CHOWN.
4729 * config.make.in (build-pt-chown): New variable.
4730 * configure.in (--enable-pt_chown): New configure option.
4731 * configure: Regenerate.
4732 * login/Makefile: Include Makeconfig. Build pt_chown only if
4733 build-pt-chown is enabled.
4734 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4735 pt_chown to fix pty ownership.
4736 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4737 CLOSE_ALL_FDS.
4738 * manual/install.texi (Configuring and compiling): Mention
4739 --enable-pt_chown. Add @findex for grantpt.
4740 * INSTALL: Regenerate.
4741
da2d62df
DM
47422013-07-20 David S. Miller <davem@davemloft.net>
4743
4744 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4745 difference between 32-bit and 64-bit.
4746
d7e06450
CD
47472013-07-15 Carlos O'Donell <carlos@redhat.com>
4748
4749 [BZ #15711]
4750 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4751 Avoid system header dependency with -ffreestanding.
4752 ($(objpfx)bits/syscall%d): Likewise.
4753
f959cfd7
DM
47542013-07-13 David S. Miller <davem@davemloft.net>
4755
4756 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4757 underflows from atanl/atan2l due to bug 15319.
4758 (casinh_test_data): Likewise.
4759
c61f8513
DM
47602013-07-07 David S. Miller <davem@davemloft.net>
4761
4762 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4763
72c90ed0
JA
47642013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4765
4766 * sysdeps/i386/fpu/libm-test-ulps: Update.
4767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4768
52dfbe13
SP
47692013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4770
4771 * configure.in (--enable-lock-elision): Fix message text.
4772 * INSTALL: Regenerate.
4773 * configure: Regenerate.
4774
3f169543
AZ
47752013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4776
4777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4778
521c6785
AJ
47792013-07-03 Andreas Jaeger <aj@suse.de>
4780
4781 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4782 define.
4783 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4784 (ptrace_peeksiginfo_args): Add.
4785 (__ptrace_peeksiginfo_flags): Add.
4786 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4787 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4788 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4789
d2cc15cb
AM
47902013-07-03 Allan McRae <allan@archlinux.org>
4791
4792 * sysdeps/i386/fpu/libm-test-ulps: Update.
4793
3aaeeca7
DM
47942013-07-02 David S. Miller <davem@davemloft.net>
4795
4796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4797
5314ed1a
MT
47982013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4799
4800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4801
67338156
JM
48022013-07-02 Joseph Myers <joseph@codesourcery.com>
4803
4804 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4806
1717da59
AK
48072013-07-02 Andi Kleen <ak@linux.intel.com>
4808
4809 * config.h.in (ENABLE_LOCK_ELISION): Add.
4810 * configure.in (--enable-lock-elision): Add option.
4811 * manual/install.texi: Document --enable lock elision.
4812 * configure: Regenerate
4813 * INSTALL: Regenerate.
4814
1c81621c
L
48152013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4816
4817 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4818 SSE4.2 strcasecmp for libc.a.
4819 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4820
77f01ab5
JM
48212013-07-02 Joseph Myers <joseph@codesourcery.com>
4822
4823 [BZ #13304]
4824 * soft-fp/op-common.h (_FP_FMA): New macro.
4825 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4826 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4827 (_FP_MUL_MEAT_1_imm): ... here.
4828 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4829 (_FP_MUL_MEAT_1_wide): ... here.
4830 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4831 (_FP_MUL_MEAT_1_hard): ... here.
4832 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4833 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4834 (_FP_MUL_MEAT_2_wide): ... here.
4835 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4836 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4837 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4838 (_FP_MUL_MEAT_2_gmp): ... here.
4839 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4840 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
4841 (_FP_MUL_MEAT_4_wide): ... here.
4842 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
4843 (_FP_MUL_MEAT_4_gmp): ... here.
4844 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4845 (_FP_WFRACBITS_DW_S): Likewise.
4846 (_FP_WFRACXBITS_DW_S): Likewise.
4847 (_FP_HIGHBIT_DW_S): Likewise.
4848 (FP_FMA_S): Likewise.
4849 (_FP_FRAC_HIGH_DW_S): Likewise.
4850 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4851 (_FP_WFRACBITS_DW_D): Likewise.
4852 (_FP_WFRACXBITS_DW_D): Likewise.
4853 (_FP_HIGHBIT_DW_D): Likewise.
4854 (FP_FMA_D): Likewise.
4855 (_FP_FRAC_HIGH_DW_D): Likewise.
4856 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4857 (_FP_WFRACBITS_DW_E): Likewise.
4858 (_FP_WFRACXBITS_DW_E): Likewise.
4859 (_FP_HIGHBIT_DW_E): Likewise.
4860 (FP_FMA_E): Likewise.
4861 (_FP_FRAC_HIGH_DW_E): Likewise.
4862 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4863 (_FP_WFRACBITS_DW_Q): Likewise.
4864 (_FP_WFRACXBITS_DW_Q): Likewise.
4865 (_FP_HIGHBIT_DW_Q): Likewise.
4866 (FP_FMA_Q): Likewise.
4867 (_FP_FRAC_HIGH_DW_Q): Likewise.
4868 * soft-fp/fmasf4.c: New file.
4869 * soft-fp/fmadf4.c: Likewise.
4870 * soft-fp/fmatf4.c: Likewise.
4871
6308fd9a
LD
48722013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4873
4874 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4875 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4876 Silvermont.
4877 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4878 macro.
4879 (index_Slow_SSE4_2): Likewise.
4880 (index_Prefer_PMINUB_for_stringop): Likewise.
4881 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4882 bit_Slow_SSE4_2 is set.
4883 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4884 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4885
89cd9569
RA
48862013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4887
4888 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4889 rtld_global._dl_hwcap2.
4890 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4891 POWER8.
4892 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4893 POWER8 feature descriptions defined in _dl_hwcap2.
4894 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4895 string handling for POWER8 feature bits.
4896 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4897 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4898 _dl_powerpc_cap_flags.
4899 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4900 * sysdeps/powerpc/rtld-global-offsets.sym
4901 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4902 _dl_hwcap2 in the rtld_global_ro structure.
4903
1ae8bfe0
RA
49042013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4905
4906 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4907 hardware capabilities in support of AT_HWCAP2.
4908 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4909 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4910 GLRO(dl_hwcap2).
4911 (_dl_show_auxv): Add support for calling _dl_procinfo to display
4912 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
4913 explicitly the unknown a_type display mechanism is used.
4914 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4915 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4916 struct member.
4917 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4918 to macro prototype for AT_HWCAP2 support.
4919 * sysdeps/i386/dl-procinfo.h: Likewise.
4920 * sysdeps/s390/dl-procinfo.h: Likewise.
4921 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4922 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4923 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4924 return -1 for unknown a_type display fallback.
4925 * sysdeps/sparc/dl-procinfo.h: Likewise.
4926 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4927 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4928
8fbec010
JM
49292013-06-28 Joseph Myers <joseph@codesourcery.com>
4930
4931 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4932 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4933
0432680e
PY
49342013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4935
4936 [BZ #12492]
4937 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4938 mprotect making __stack_prot writable.
4939
ce61a2ad
NF
49402013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4941 Joseph Myers <joseph@codesourcery.com>
4942
4943 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4944 as being properly aligned.
4945
f91f1c0f
MR
49462013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4947
3d0f5d0c
MR
4948 * dlfcn/modstatic5.c: New file.
4949 * dlfcn/tststatic5.c: New file.
4950 * dlfcn/Makefile (tests): Add tststatic5.
4951 (tests-static): Likewise.
4952 (modules-names): Add modstatic5.
4953 (tststatic5-ENV): New variable.
4954 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4955
f91f1c0f
MR
4956 [BZ #15022]
4957 * elf/dl-support.c (_dl_main_map): New variable.
4958 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4959 (_dl_nns, _dl_load_adds): Set to 1.
4960 (_dl_initial_searchlist): Refer to _dl_main_map.
4961 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4962 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4963 call to _dl_get_origin.
4964 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4965 around call_map.
4966 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4967 * dlfcn/modstatic3.c: New file.
4968 * dlfcn/tststatic3.c: New file.
4969 * dlfcn/tststatic4.c: New file.
4970 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4971 (tests-static): Likewise.
4972 (modules-names): Add modstatic3.
4973 (tststatic3-ENV, tststatic4-ENV): New variables.
4974 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4975 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4976
cbe7d24b
JM
49772013-06-26 Joseph Myers <joseph@codesourcery.com>
4978
4979 * configure.in (CC): Require GCC version 4.4 or later.
4980 * configure: Regenerated.
4981 * manual/install.texi (Tools for Compilation): Update GCC version
4982 requirement.
4983 * INSTALL: Regenerated.
4984
11b8a0e1
LD
49852013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4986
4987 [BZ #15674]
bb5bb87c
L
4988 * string/test-memcmp.c (check2): New.
4989 (main): Call check2.
4990
11b8a0e1
LD
4991 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4992
b0037103
MR
49932013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4994
4995 [BZ #15022]
4996 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4997 over to...
4998 (dl_open_worker) [!SHARED]: ... here.
4999
c18c701d
RA
50002013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5001
5002 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5003
1d17fa5f
RH
50042013-06-25 Richard Henderson <rth@redhat.com>
5005
5006 * locale/programs/locarchive.c: Include <libc-internal.h>
5007
8fcb833a
JM
50082013-06-25 Joseph Myers <joseph@codesourcery.com>
5009
5010 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5011 trailing whitespace removed.
5012
17db6e8d
MF
50132013-06-24 Mike Frysinger <vapier@gentoo.org>
5014
5015 [BZ #10283]
17db6e8d
MF
5016 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5017 * locale/programs/locarchive.c: Include libc-mmap.h.
5018 (prepare_address_space): Take two new outputs (the mmap base and len).
5019 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5020 values.
5021 (create_archive): Declare new mmap base and len values for
5022 prepare_address_space, and store the result in ah.
5023 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5024 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5025 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5026 Declare new mmap base and len values for
5027 prepare_address_space, and store the result in new_ah.
5028 (open_archive): Declare new mmap base and len values for
5029 prepare_address_space, and store the result in ah.
5030 (close_archive): If ah->mmap_base is not NULL, use that and
5031 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5032 * sysdeps/generic/libc-mmap.h: New file.
5033
d605071e
MF
50342013-06-24 Mike Frysinger <vapier@gentoo.org>
5035
5036 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5037 (ALIGN_UP): Likewise.
5038 (PTR_ALIGN_DOWN): Likewise.
5039 (PTR_ALIGN_UP): Likewise.
5040
2f063a6e
RA
50412013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5042
5043 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5044 entry mapped to PPC_PLATFORM_POWER8.
5045 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5046 POWER8.
5047 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5048 (_dl_string_platform): Add case for exporting platform position for
5049 POWER8.
5050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5051 search path to sysdeps/powerpc/powerpc32/power8 directory.
5052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5053 search path to sysdeps/powerpc/powerpc64/power8 directory.
5054 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5055 power7 directories.
5056 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5057 power7 directories.
5058
a31ee4b3
SP
50592013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5060
a74ca98f
SP
5061 * INSTALL: Regenerate.
5062
a31ee4b3
SP
5063 * nscd/connections.c (nscd_init): Fix comment.
5064
695c378f
JM
50652013-06-22 Joseph Myers <joseph@codesourcery.com>
5066
d8412221
JM
5067 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5068
695c378f
JM
5069 [BZ #15667]
5070 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5071 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5072
d1d54715
MR
50732013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5074
5075 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5076 DL_DST_REQ_STATIC.
5077 (DL_DST_REQ_STATIC): Remove macro.
5078
8fdda7af
JM
50792013-06-21 Joseph Myers <joseph@codesourcery.com>
5080
5081 [BZ #7006]
5082 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5083 with a shift of 0 bits.
5084
f3bc5e5a
MR
50852013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5086
5087 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5088 $(tststatic-ENV).
5089
be09e8c9
KK
50902013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5091
5092 [BZ #15655]
5093 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5094
85c2e611
AZ
50952013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5096
5097 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5098 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5099 accepts -fno-tree-loop-distribute-patterns.
5100 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5101 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5102 recursive call.
5103 * string/memset.c (memset): Likewise.
5104 * string/test-memmove.c (simple_memmove): Disable loop transformation
5105 to library calls.
5106 * string/test-memset.c (simple_memset): Likewise.
5107 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5108 * benchtests/bench-memset.c (simple_memset): Likewise.
5109 * configure: Regenerated.
5110
c91e0825
JM
51112013-06-20 Joseph Myers <joseph@codesourcery.com>
5112
b8c792af
JM
5113 * math/test-misc.c (main): Ignore fesetround failure when failures
5114 of subsequent rounding tests would be ignored.
5115
c91e0825
JM
5116 [BZ #15654]
5117 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5118 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5119 * math/fegetenv.c (__fegetenv): Return 0.
5120 * math/fegetexcept.c (fegetexcept): Return 0.
5121 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5122 FE_TONEAREST.
5123 * math/feholdexcpt.c (feholdexcept): Return 0.
5124 * math/fesetenv.c (__fesetenv): Return 0.
5125 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5126 argument FE_TONEAREST.
5127 * math/feupdateenv.c (__feupdateenv): Return 0.
5128 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5129
bfcacbde
RM
51302013-06-18 Roland McGrath <roland@hack.frob.com>
5131
5132 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5133 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5134 ($(objpfx)rtld-%.os rules): Use them.
5135
e55a9b25
AZ
51362013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5137
5138 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5139 fields.
5140
346d65b3
RM
51412013-06-17 Roland McGrath <roland@hack.frob.com>
5142
12086fb4
RM
5143 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5144 length of target pattern, then descending length of dependency pattern.
5145 * configure.in (AWK): Require gawk 3.1.2 or newer.
5146 * manual/install.texi (Tools for Compilation): Say that we do.
5147 * configure: Regenerated.
5148
346d65b3
RM
5149 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5150 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5151 * scripts/sysd-rules.awk: ... this new script.
5152 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5153 than a glob-style pattern.
5154
1a846317
JM
51552013-06-17 Joseph Myers <joseph@codesourcery.com>
5156
5157 * math/test-misc.c (main): Do not treat incorrectly rounded
5158 conversions as failure unless ROUNDING_TESTS passes.
5159
8fc75e6f
JM
51602013-06-15 Joseph Myers <joseph@codesourcery.com>
5161
3711a167
JM
5162 [BZ #15631]
5163 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5164 restore exception state around main square root computation, then
5165 check for inexactness explicitly.
5166
8fc75e6f
JM
5167 * math/libm-test.inc (fma_test_data): Add another test.
5168
61dd6208
SP
51692013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5170
adf23d2c
SP
5171 * manual/threads.texi (Non-POSIX Extensions): New document
5172 node. Document pthread_getattr_default_np and
5173 pthread_setattr_default_np.
5174
61dd6208
SP
5175 * Versions.def (libpthread): Add GLIBC_2.18.
5176 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5178 Likewise.
5179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5180 Likewise.
5181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5182 Likewise.
5183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5184 Likewise.
5185 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5186 Likewise.
5187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5188 Likewise.
5189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5190 Likewise.
5191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5192 Likewise.
5193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5194 Likewise.
5195
d086fc7b
LD
51962013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5197
5198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5199 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5200
747ef469
SP
52012013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5202 H.J. Lu <hjl.tools@gmail.com>
5203
5204 [BZ #15627]
5205 * sysdeps/x86_64/rtld-memset.c: Remove file.
5206 * sysdeps/x86_64/rtld-memset.S: New file.
5207
1b2feed2
JM
52082013-06-14 Joseph Myers <joseph@codesourcery.com>
5209
5210 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5211 (test_in_one_mode): Take arguments for whether the rounding mode
5212 is supported for each floating-point type.
5213 (do_test): Pass new arguments to test_in_one_mode using
5214 ROUNDING_TESTS.
5215
a58ad3f8
RM
52162013-06-13 Roland McGrath <roland@hack.frob.com>
5217
5218 * posix/tst-waitid.c (do_test): Distinguish different instances of
5219 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5220 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5221 before entering the kernel for waitpid.
5222
c204ab28
SP
52232013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5224
5225 * NEWS: Fix note on clock function precision. Text by Roland
5226 McGrath.
5227
f4a29fba
RM
52282013-06-13 Roland McGrath <roland@hack.frob.com>
5229
5230 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5231 it into place only when and if the sanity check passes.
5232
1f24b9ad
JM
52332013-06-13 Joseph Myers <joseph@codesourcery.com>
5234
5235 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5236 output for whether conversion result is exact. Take argument
5237 indicating whether type is IBM long double.
5238 (round_for_all): Change need_exact field to ibm_ld.
5239 * stdlib/tst-strtod-round.c (struct exactness): New type.
5240 (struct test): Change bool ld_ok field to struct exactness exact.
5241 (TEST): Update all definitions for change to field.
5242 (tests): Regenerate array contents.
5243 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5244 field value. Check for IBM long double here.
5245 (do_test): Update calls to test_in_one_mode.
5246
58206c68
SP
52472013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5248
5249 [BZ #12515]
5250 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5251 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5252
2d6f4c5b 52532013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
5254
5255 [BZ #15605]
5256 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5257 generated by the compiler on loop optimizations.
5258 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5259 general definitions.
5260
94f2c076
JM
52612013-06-12 Joseph Myers <joseph@codesourcery.com>
5262
5263 * math/bug-nextafter.c: Include <math-tests.h>.
5264 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5265 the relevant type.
5266 * math/bug-nexttoward.c: Include <math-tests.h>.
5267 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5268 the relevant type.
5269 * math/test-misc.c: Include <math-tests.h>.
5270 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5271 the relevant type.
5272
e0e50a0a
AJ
52732013-06-12 Andreas Jaeger <aj@suse.de>
5274
5275 * po/ia.po: Update Interlingua translation from translation
5276 project.
5277
25061094
SP
52782013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5279
5280 * include/fenv.h: Include stdbool.h.
5281 (struct rm_ctx): New structure.
5282 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5283 Define macro.
5284 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5285 (SET_RESTORE_ROUNDF): Likewise.
5286 (SET_RESTORE_ROUNDL): Likewise.
5287 (SET_RESTORE_ROUND_NOEX): Likewise.
5288 (SET_RESTORE_ROUND_NOEXF): Likewise.
5289 (SET_RESTORE_ROUND_NOEXL): Likewise.
5290 (SET_RESTORE_ROUND_53BIT): Likewise.
5291 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5292 (libc_feresetround_noexf_ctx): Likewise.
5293 (libc_feresetround_noexl_ctx): Likewise.
5294 (libc_feholdsetround_53bit_ctx): Likewise.
5295 (libc_feresetround_53bit_ctx): Likewise.
5296 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5297 (libc_feholdexcept_setround_sse_ctx): New function.
5298 (libc_fesetenv_sse_ctx): Likewise.
5299 (libc_feupdateenv_sse_ctx): Likewise.
5300 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5301 (libc_feholdexcept_setround_387_ctx): Likewise.
5302 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5303 (libc_feholdsetround_387_prec_ctx): Likewise.
5304 (libc_feholdsetround_387_ctx): Likewise.
5305 (libc_feholdsetround_387_53bit_ctx): Likewise.
5306 (libc_feholdsetround_sse_ctx): Likewise.
5307 (libc_feresetround_sse_ctx): Likewise.
5308 (libc_feresetround_387_ctx): Likewise.
5309 (libc_feupdateenv_387_ctx): Likewise.
5310 (libc_feholdexcept_setroundf_ctx): Define macro.
5311 (libc_fesetenvf_ctx): Likewise.
5312 (libc_feupdateenvf_ctx): Likewise.
5313 (libc_feholdsetroundf_ctx): Likewise.
5314 (libc_feresetroundf_ctx): Likewise.
5315 (libc_feholdexcept_setround_ctx): Likewise.
5316 (libc_fesetenv_ctx): Likewise.
5317 (libc_feupdateenv_ctx): Likewise.
5318 (libc_feholdsetround_ctx): Likewise.
5319 (libc_feresetround_ctx): Likewise.
5320 (libc_feholdexcept_setroundl_ctx): Likewise.
5321 (libc_feupdateenvl_ctx): Likewise.
5322 (libc_feholdsetroundl_ctx): Likewise.
5323 (libc_feresetroundl_ctx): Likewise.
5324 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5325 (libc_feresetround_53bit_ctx): Likewise.
5326
59b30555
SP
53272013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5328
5329 * locale/iso-639.def: Convert to UTF-8.
5330
f1d73d30
JM
53312013-06-11 Joseph Myers <joseph@codesourcery.com>
5332
5333 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5334 (EXCEPTION_TESTS_double): Likewise.
5335 (EXCEPTION_TESTS_long_double): Likewise.
5336 (EXCEPTION_TESTS): Likewise.
5337 * math/libm-test.inc (test_exceptions): Only test exceptions if
5338 EXCEPTION_TESTS (FLOAT).
5339
94aca5e7
SP
53402013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5341
5342 * benchtests/Makefile (string-bench): Add strcpy_chk and
5343 stpcpy_chk.
5344 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5345 * benchtests/bench-stpcpy_chk.c: New file.
5346 * benchtests/bench-strcpy_chk-ifunc.c: New file.
5347 * benchtests/bench-strcpy_chk.c: New file.
5348 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5349 code.
5350 (do_test): Likewise.
5351
fac0c5f2
RA
53522013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5353
5354 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5355 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5356 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5357 with tabs where appropriate.
5358 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5359 dl-procinfo.h.
5360 [PPC_PLATFORM_PPC440]: Likewise.
5361 [PPC_PLATFORM_PPC464]: Likewise.
5362 [PPC_PLATFORM_PPC476]: Likewise.
5363 (_dl_string_platform): Add support for detecting ppc405, ppc440,
5364 ppc464, and ppc476 platform strings merging from ports/
5365 dl-procinfo.h.
5366
f22bc486
AS
53672013-06-11 Andreas Schwab <schwab@suse.de>
5368
5369 [BZ #14991]
5370 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5371 (from_ucs4_idx): Regenerate.
5372 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5373 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5374 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5375 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5376 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5377 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5378 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5379 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5380 from FROM_LOOP and TO_LOOP specific macros.
5381 (BODY): Handle combining characters.
5382 * iconvdata/BIG5HKSCS.irreversible: Update.
5383 * iconvdata/BIG5HKSCS.precomposed: New file.
5384 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5385 characters.
5386 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5387
c1f75dc3
SP
53882013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5389
4eacded2
SP
5390 * include/sys/time.h: Fix indentation and add copyright header.
5391
fec799f8
SP
5392 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5393 (do_test): Likewise.
5394 * string/test-memchr.c (do_one_test): Likewise.
5395 (do_test): Likewise.
5396 * string/test-memcmp.c (do_one_test): Likewise.
5397 (do_test): Likewise.
5398 * string/test-memcpy.c (do_one_test): Likewise.
5399 (do_test): Likewise.
5400 * string/test-memmem.c (do_one_test): Likewise.
5401 (do_test): Likewise.
5402 (do_random_tests): Likewise.
5403 * string/test-memmove.c (do_one_test): Likewise.
5404 (do_test): Likewise.
5405 * string/test-memset.c (do_one_test): Likewise.
5406 (do_test): Likewise.
5407 * string/test-rawmemchr.c (do_one_test): Likewise.
5408 (do_test): Likewise.
5409 * string/test-strcasecmp.c (do_one_test): Likewise.
5410 (do_test): Likewise.
5411 * string/test-strcasestr.c (do_one_test): Likewise.
5412 (do_test): Likewise.
5413 * string/test-strcat.c (do_one_test): Likewise.
5414 (do_test): Likewise.
5415 * string/test-strchr.c (do_one_test): Likewise.
5416 (do_test): Likewise.
5417 * string/test-strcmp.c (do_one_test): Likewise.
5418 (do_test): Likewise.
5419 * string/test-strcpy.c (do_one_test): Likewise.
5420 (do_test): Likewise.
5421 * string/test-string.h: Likewise.
5422 (test_init): Likewise.
5423 * string/test-strlen.c (do_one_test): Likewise.
5424 (do_test): Likewise.
5425 * string/test-strncasecmp.c (do_one_test): Likewise.
5426 (do_test): Likewise.
5427 * string/test-strncat.c (do_one_test): Likewise.
5428 (do_test): Likewise.
5429 * string/test-strncmp.c (do_one_test): Likewise.
5430 (do_test_limit): Likewise.
5431 (do_test): Likewise.
5432 * string/test-strncpy.c (do_one_test): Likewise.
5433 (do_test): Likewise.
5434 * string/test-strnlen.c (do_one_test): Likewise.
5435 (do_test): Likewise.
5436 * string/test-strpbrk.c (do_one_test): Likewise.
5437 (do_test): Likewise.
5438 * string/test-strrchr.c (do_one_test): Likewise.
5439 (do_test): Likewise.
5440 * string/test-strspn.c (do_one_test): Likewise.
5441 (do_test): Likewise.
5442 * string/test-strstr.c (do_one_test): Likewise.
5443 (do_test): Likewise.
5444
97020474
SP
5445 * benchtests/Makefile (string-bench): Add string benchmarks.
5446 * benchtests/bench-bcopy-ifunc.c: New file.
5447 * benchtests/bench-bcopy.c: New file.
5448 * benchtests/bench-bzero-ifunc.c: New file.
5449 * benchtests/bench-bzero.c: New file.
5450 * benchtests/bench-memccpy-ifunc.c: New file.
5451 * benchtests/bench-memccpy.c: New file.
5452 * benchtests/bench-memchr-ifunc.c: New file.
5453 * benchtests/bench-memchr.c: New file.
5454 * benchtests/bench-memcmp-ifunc.c: New file.
5455 * benchtests/bench-memcmp.c: New file.
5456 * benchtests/bench-memmem-ifunc.c: New file.
5457 * benchtests/bench-memmem.c: New file.
5458 * benchtests/bench-memmove-ifunc.c: New file.
5459 * benchtests/bench-memmove.c: New file.
5460 * benchtests/bench-mempcpy-ifunc.c: New file.
5461 * benchtests/bench-mempcpy.c: New file.
5462 * benchtests/bench-memset-ifunc.c: New file.
5463 * benchtests/bench-memset.c: New file.
5464 * benchtests/bench-rawmemchr-ifunc.c: New file.
5465 * benchtests/bench-rawmemchr.c: New file.
5466 * benchtests/bench-stpcpy-ifunc.c: New file.
5467 * benchtests/bench-stpcpy.c: New file.
5468 * benchtests/bench-stpncpy-ifunc.c: New file.
5469 * benchtests/bench-stpncpy.c: New file.
5470 * benchtests/bench-strcasecmp-ifunc.c: New file.
5471 * benchtests/bench-strcasecmp.c: New file.
5472 * benchtests/bench-strcasestr-ifunc.c: New file.
5473 * benchtests/bench-strcasestr.c: New file.
5474 * benchtests/bench-strcat-ifunc.c: New file.
5475 * benchtests/bench-strcat.c: New file.
5476 * benchtests/bench-strchr-ifunc.c: New file.
5477 * benchtests/bench-strchr.c: New file.
5478 * benchtests/bench-strchrnul-ifunc.c: New file.
5479 * benchtests/bench-strchrnul.c: New file.
5480 * benchtests/bench-strcmp-ifunc.c: New file.
5481 * benchtests/bench-strcmp.c: New file.
5482 * benchtests/bench-strcpy-ifunc.c: New file.
5483 * benchtests/bench-strcpy.c: New file.
5484 * benchtests/bench-strcspn-ifunc.c: New file.
5485 * benchtests/bench-strcspn.c: New file.
5486 * benchtests/bench-strlen-ifunc.c: New file.
5487 * benchtests/bench-strlen.c: New file.
5488 * benchtests/bench-strncasecmp-ifunc.c: New file.
5489 * benchtests/bench-strncasecmp.c: New file.
5490 * benchtests/bench-strncat-ifunc.c: New file.
5491 * benchtests/bench-strncat.c: New file.
5492 * benchtests/bench-strncmp-ifunc.c: New file.
5493 * benchtests/bench-strncmp.c: New file.
5494 * benchtests/bench-strncpy-ifunc.c: New file.
5495 * benchtests/bench-strncpy.c: New file.
5496 * benchtests/bench-strnlen-ifunc.c: New file.
5497 * benchtests/bench-strnlen.c: New file.
5498 * benchtests/bench-strpbrk-ifunc.c: New file.
5499 * benchtests/bench-strpbrk.c: New file.
5500 * benchtests/bench-strrchr-ifunc.c: New file.
5501 * benchtests/bench-strrchr.c: New file.
5502 * benchtests/bench-strspn-ifunc.c: New file.
5503 * benchtests/bench-strspn.c: New file.
5504 * benchtests/bench-strstr-ifunc.c: New file.
5505 * benchtests/bench-strstr.c: New file.
5506
c1f75dc3
SP
5507 * benchtests/Makefile: Disable parallel execution of targets.
5508 (string-bench): Add memcpy.
5509 (benchset): New variable to store a list of benchmark sets.
5510 (bench-func): Renamed from bench.
5511 (bench-set): New target.
5512 (bench): Depend on bench-func and bench-set.
5513 * benchtests/README: Add section on benchmark sets.
5514 * benchtests/bench-memcpy-ifunc.c: New file.
5515 * benchtests/bench-memcpy.c: New file.
5516 * benchtests/bench-string.h: New file.
5517
50fd745b
AS
55182013-06-11 Andreas Schwab <schwab@suse.de>
5519
5520 [BZ #15577]
5521 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5522 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5523 values in the triple.
5524 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5525 terminator in the group key.
5526
3ee7e9fe
AJ
55272013-06-11 Andreas Jaeger <aj@suse.de>
5528
5529 * po/zh_TW.po: Update Chinese (traditional) translation from
5530 translation project.
5531
89fb6835
SP
55322013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5533
5534 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5535 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5536 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5537 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5538 (clock_getcpuclockid): Likewise.
5539 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5540 Add weak_alias and libc_hidden_def.
5541 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5542 * rt/clock_gettime.c (clock_gettime): Rename to
5543 __clock_gettime. Add weak_alias and libc_hidden_def.
5544 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5545 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5546 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5547 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5548 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5549 Likewise.
5550 * rt/clock_settime.c (clock_settime): Rename to
5551 __clock_settime. Add weak_alias and libc_hidden_def.
5552 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5553
0efa6f8b
JM
55542013-06-10 Joseph Myers <joseph@codesourcery.com>
5555
b8c61b4b
JM
5556 * mach/err_boot.sub: Remove trailing whitespace.
5557 * mach/err_ipc.sub: Likewise.
5558 * mach/err_mach.sub: Likewise.
5559
0efa6f8b
JM
5560 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5561 (ROUNDING_TESTS_double): Likewise.
5562 (ROUNDING_TESTS_long_double): Likewise.
5563 (ROUNDING_TESTS): Likewise.
5564 * math/libm-test.inc: Include <math-tests.h>.
5565 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5566 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5567 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5568 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5569
50b818bf
SP
55702013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5571
5572 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5573 of assigning.
5574
60d2f8f3
JM
55752013-06-08 Joseph Myers <joseph@codesourcery.com>
5576
4902d2c3
JM
5577 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5578 otherwise empty TRANS lines.
5579 * sysdeps/gnu/errlist.c: Regenerated.
5580
60d2f8f3
JM
5581 * catgets/gencat.c (error_print): Use (void) in function
5582 definition.
5583 * crypt/crypt_util.c (__init_des): Likewise.
5584 * crypt/speeds.c (Stop): Likewise.
5585 (main): Likewise.
5586 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5587 * inet/ruserpass.c (token): Likewise.
5588 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5589 * intl/localealias.c (extend_alias_table): Likewise.
5590 * intl/plural-exp.c (init_germanic_plural): Likewise.
5591 * libio/fcloseall.c (__fcloseall): Likewise.
5592 * libio/genops.c (_IO_flush_all): Likewise.
5593 (_IO_flush_all_linebuffered): Likewise.
5594 (_IO_cleanup): Likewise.
5595 (_IO_iter_begin): Likewise.
5596 (_IO_iter_end): Likewise.
5597 (_IO_list_lock): Likewise.
5598 (_IO_list_unlock): Likewise.
5599 (_IO_list_resetlock): Likewise.
5600 * libio/getchar.c (getchar): Likewise.
5601 * libio/getchar_u.c (getchar_unlocked): Likewise.
5602 * libio/getwchar.c (getwchar): Likewise.
5603 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5604 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5605 * login/getpt.c (__getpt): Likewise.
5606 * login/tst-utmp.c (main): Likewise.
5607 * malloc/hooks.c (__malloc_check_init): Likewise.
5608 * malloc/malloc.c (__malloc_stats): Likewise.
5609 * malloc/mtrace.c (tr_break): Likewise.
5610 (mtrace): Likewise.
5611 (muntrace): Likewise.
5612 * misc/fstab.c (endfsent): Likewise.
5613 * misc/getclktck.c (__getclktck): Likewise.
5614 * misc/getdtsz.c (__getdtablesize): Likewise.
5615 * misc/gethostid.c (gethostid): Likewise.
5616 * misc/getpagesize.c (__getpagesize): Likewise.
5617 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5618 (__get_nprocs): Likewise.
5619 (__get_phys_pages): Likewise.
5620 (__get_avphys_pages): Likewise.
5621 * misc/getttyent.c (getttyent): Likewise.
5622 (setttyent): Likewise.
5623 (endttyent): Likewise.
5624 * misc/getusershell.c (getusershell): Likewise.
5625 (endusershell): Likewise.
5626 (setusershell): Likewise.
5627 (initshells): Likewise.
5628 * misc/hsearch.c (__hdestroy): Likewise.
5629 * misc/sync.c (sync): Likewise.
5630 * misc/syslog.c (closelog_internal): Likewise.
5631 (closelog): Likewise.
5632 * misc/ttyslot.c (ttyslot): Likewise.
5633 * misc/vhangup.c (vhangup): Likewise.
5634 * posix/fork.c (__fork): Likewise.
5635 * posix/getegid.c (__getegid): Likewise.
5636 * posix/geteuid.c (__geteuid): Likewise.
5637 * posix/getgid.c (__getgid): Likewise.
5638 * posix/getpid.c (__getpid): Likewise.
5639 * posix/getppid.c (__getppid): Likewise.
5640 * posix/getuid.c (__getuid): Likewise.
5641 * posix/pause.c (pause): Likewise.
5642 * posix/setpgrp.c (setpgrp): Likewise.
5643 * posix/setsid.c (__setsid): Likewise.
5644 * posix/test-vfork.c (noop): Likewise.
5645 * resolv/gethnamaddr.c (_endhtent): Likewise.
5646 (_gethtent): Likewise.
5647 (ht_endhostent): Likewise.
5648 (gethostent): Likewise.
5649 (dns_service): Likewise.
5650 * stdlib/drand48.c (drand48): Likewise.
5651 * stdlib/lrand48.c (lrand48): Likewise.
5652 * stdlib/mrand48.c (mrand48): Likewise.
5653 * stdlib/rand.c (rand): Likewise.
5654 * stdlib/random.c (__random): Likewise.
5655 * stdlib/setenv.c (clearenv): Likewise.
5656 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5657 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5658 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5659 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5660 (__get_nprocs): Likewise.
5661 (__get_phys_pages): Likewise.
5662 (__get_avphys_pages): Likewise.
5663 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5664 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5665 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5666 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5667 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5668 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5669 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5670 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5671 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5672 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5673 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5674 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5675 * sysdeps/posix/clock.c (clock): Likewise.
5676 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5677 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5678 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5679 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5680 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5681 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5682 (__get_nprocs_conf): Likewise.
5683 (__get_phys_pages): Likewise.
5684 (__get_avphys_pages): Likewise.
5685 * time/clock.c (clock): Likewise.
5686 * time/tzset.c (__tzname_max): Likewise.
5687
2e09a79a
JM
56882013-06-07 Joseph Myers <joseph@codesourcery.com>
5689
5690 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5691 (__bswap_32): Do not use "register".
5692 * crypt/crypt.c (_ufc_doit_r): Likewise.
5693 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5694 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5695 * gmon/gmon.c (__monstartup): Likewise.
5696 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5697 * hurd/hurdmalloc.c (more_memory): Likewise.
5698 (malloc): Likewise.
5699 (free): Likewise.
5700 (realloc): Likewise.
5701 (malloc_fork_prepare): Likewise.
5702 (malloc_fork_parent): Likewise.
5703 (malloc_fork_child): Likewise.
5704 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5705 (_svcauth_des): Likewise.
5706 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5707 * inet/inet_net.c (inet_network): Likewise.
5708 * inet/inet_netof.c (inet_netof): Likewise.
5709 * inet/rcmd.c (__validuser2_sa): Likewise.
5710 * io/fts.c (fts_open): Likewise.
5711 (fts_load): Likewise.
5712 (fts_close): Likewise.
5713 (fts_read): Likewise.
5714 (fts_children): Likewise.
5715 (fts_build): Likewise.
5716 (fts_stat): Likewise.
5717 (fts_sort): Likewise.
5718 (fts_alloc): Likewise.
5719 (fts_lfree): Likewise.
5720 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5721 (_IO_file_xsgetn): Likewise.
5722 (_IO_file_xsgetn_mmap): Likewise.
5723 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5724 (_IO_cookie_write): Likewise.
5725 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5726 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5727 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5728 * malloc/obstack.c (_obstack_begin): Likewise.
5729 (_obstack_begin_1): Likewise.
5730 (_obstack_newchunk): Likewise.
5731 (_obstack_allocated_p): Likewise.
5732 (obstack_free): Likewise.
5733 (_obstack_memory_used): Likewise.
5734 * misc/getttyent.c (getttynam): Likewise.
5735 (getttyent): Likewise.
5736 (skip): Likewise.
5737 (value): Likewise.
5738 * misc/getusershell.c (initshells): Likewise.
5739 * misc/syslog.c (__vsyslog_chk): Likewise.
5740 * misc/ttyslot.c (ttyslot): Likewise.
5741 * nis/nis_hash.c (__nis_hash): Likewise.
5742 * posix/fnmatch_loop.c (FCT): Likewise.
5743 * posix/getconf.c (print_all): Likewise.
5744 (main): Likewise.
5745 * posix/getopt.c (exchange): Likewise.
5746 * posix/glob.c (globfree): Likewise.
5747 (prefix_array): Likewise.
5748 (__glob_pattern_type): Likewise.
5749 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5750 (NS_GET32): Likewise.
5751 (NS_PUT16): Likewise.
5752 (NS_PUT32): Likewise.
5753 * resolv/gethnamaddr.c (getanswer): Likewise.
5754 (gethostbyname2): Likewise.
5755 (gethostbyaddr): Likewise.
5756 (_gethtent): Likewise.
5757 (_gethtbyname2): Likewise.
5758 (_gethtbyaddr): Likewise.
5759 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5760 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5761 * resolv/res_init.c (__res_vinit): Likewise.
5762 (net_mask): Likewise.
5763 * resolv/res_mkquery.c (outchar): Likewise.
5764 (PRINT): Likewise.
5765 * stdio-common/printf_fp.c (outchar): Likewise.
5766 (PRINT): Likewise.
5767 * stdio-common/printf_fphex.c (outchar): Likewise.
5768 (PRINT): Likewise.
5769 * stdio-common/printf_size.c (outchar): Likewise.
5770 (PRINT): Likewise.
5771 * stdio-common/test_rdwr.c (main): Likewise.
5772 * stdio-common/tfformat.c (matches): Likewise.
5773 * stdio-common/vfprintf.c (outchar): Likewise.
5774 (printf_unknown): Likewise.
5775 (buffered_vfprintf): Likewise.
5776 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5777 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5778 (ReadFile): Likewise.
5779 * stdlib/qsort.c (SWAP): Likewise.
5780 (_quicksort): Likewise.
5781 * stdlib/setenv.c (__add_to_environ): Likewise.
5782 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5783 * stdlib/strtol_l.c (__strtol_l): Likewise.
5784 * stdlib/tst-strtod.c (main): Likewise.
5785 * stdlib/tst-strtol.c (main): Likewise.
5786 * stdlib/tst-strtoll.c (main): Likewise.
5787 * string/bits/string2.h (__strcmp_cc): Likewise.
5788 (__strcmp_cg): Likewise.
5789 (__strcspn_c1): Likewise.
5790 (__strcspn_c2): Likewise.
5791 (__strcspn_c3): Likewise.
5792 (__strspn_c1): Likewise.
5793 (__strspn_c2): Likewise.
5794 (__strspn_c3): Likewise.
5795 (__strsep_1c): Likewise.
5796 (__strsep_2c): Likewise.
5797 (__strsep_3c): Likewise.
5798 * string/memccpy.c (__memccpy): Likewise.
5799 * string/stpcpy.c (__stpcpy): Likewise.
5800 * string/strcmp.c (strcmp): Likewise.
5801 * string/strrchr.c (strrchr): Likewise.
5802 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5803 Likewise.
5804 * sysdeps/mach/hurd/getcwd.c
5805 (_hurd_canonicalize_directory_name_internal): Likewise.
5806 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5807 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5808 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5809 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5810 Likewise, in both definitions.
5811 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5812 definitions.
5813 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5814 64] (__bswap_64): Likewise.
5815 * time/test_time.c (main): Likewise.
5816 * time/tzfile.c (__tzfile_read): Likewise.
5817 (__tzfile_compute): Likewise.
5818 * time/tzset.c (__tzset_parse_tz): Likewise.
5819 (tzset_internal): Likewise.
5820 (compute_change): Likewise.
5821 * wcsmbs/wcscat.c (__wcscat): Likewise.
5822 * wcsmbs/wcschr.c (wcschr): Likewise.
5823 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5824 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5825 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5826 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5827 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5828 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5829 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5830 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5831 * wcsmbs/wmemset.c (wmemset): Likewise.
5832
9e54314b
JM
58332013-06-06 Joseph Myers <joseph@codesourcery.com>
5834
5835 * scripts/config.guess: Update to version 2013-05-16.
5836 * scripts/config.sub: Update to version 2013-04-24.
5837 * scripts/install-sh: Update to version 2011-11-20.07.
5838 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5839 * scripts/move-if-change: Update to version 2012-01-06 07:23.
5840
350635a5
OB
58412013-06-06 Ondřej Bílka <neleai@seznam.cz>
5842
5843 * debug/fgetws_u_chk.c: Fix leading whitespaces.
5844 * elf/sln.c: Likewise.
5845 * hurd/hurd/ioctl.h: Likewise.
5846 * hurd/hurdmalloc.c: Likewise.
5847 * hurd/xattr.c: Likewise.
5848 * include/shlib-compat.h: Likewise.
5849 * inet/ruserpass.c: Likewise.
5850 * libio/iofgets_u.c: Likewise.
5851 * libio/iofgetws_u.c: Likewise.
5852 * locale/programs/ld-identification.c: Likewise.
5853 * locale/programs/ld-time.c: Likewise.
5854 * mach/msg-destroy.c: Likewise.
5855 * nss/nss_files/files-netgrp.c: Likewise.
5856 * resolv/res_data.c: Likewise.
5857 * soft-fp/op-1.h: Likewise.
5858 * soft-fp/op-2.h: Likewise.
5859 * soft-fp/op-4.h: Likewise.
5860 * soft-fp/op-common.h: Likewise.
5861 * stdio-common/printf_fphex.c: Likewise.
5862 * stdlib/strtod_l.c: Likewise.
5863 * sunrpc/rpc/clnt.h: Likewise.
5864 * sysdeps/generic/framestate.c: Likewise.
5865 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5866 * sysdeps/i386/bsd-setjmp.S: Likewise.
5867 * sysdeps/i386/__longjmp.S: Likewise.
5868 * sysdeps/i386/setjmp.S: Likewise.
5869 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5870 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5871 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5872 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5873 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5874 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5875 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5876 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5877 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5878 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5879 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5880 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5881 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5882 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5883 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5884 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5885 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5886 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5887 * sysdeps/ieee754/support.c: Likewise.
5888 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5889 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5890 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5891 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5892 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5893 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5894 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5895 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5896 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5897 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5898 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5899 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5900 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5901 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5902 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5903 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5904 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5906
44a988af
OB
59072013-06-05 Ondřej Bílka <neleai@seznam.cz>
5908
25506f09 5909 * posix/transbug.c: Remove executable mode.
44a988af 5910
9c84384c
JM
59112013-06-05 Joseph Myers <joseph@codesourcery.com>
5912
5913 * crypt/speeds.c: Remove trailing whitespace.
5914 * dlfcn/default.c: Likewise.
5915 * elf/ifuncdep2.c: Likewise.
5916 * elf/ifuncmain1.c: Likewise.
5917 * elf/ifuncmain1vis.c: Likewise.
5918 * elf/testobj.h: Likewise.
5919 * elf/tst-stackguard1.c: Likewise.
5920 * gmon/sys/gmon.h: Likewise.
5921 * hurd/hurdmsg.c: Likewise.
5922 * hurd/new-fd.c: Likewise.
5923 * hurd/ports-get.c: Likewise.
5924 * iconvdata/ibm1008_420.c: Likewise.
5925 * inet/tst-getni1.c: Likewise.
5926 * inet/tst-getni2.c: Likewise.
5927 * libio/ioungetc.c: Likewise.
5928 * libio/wfiledoalloc.c: Likewise.
5929 * manual/libm-err-tab.pl: Likewise.
5930 * math/w_dremf.c: Likewise.
5931 * misc/ftruncate.c: Likewise.
5932 * posix/bug-glob2.c: Likewise.
5933 * posix/tst-pcre.c: Likewise.
5934 * posix/wait4.c: Likewise.
5935 * resolv/README: Likewise.
5936 * resolv/res_debug.h: Likewise.
5937 * resolv/tst-inet_ntop.c: Likewise.
5938 * setjmp/bug269-setjmp.c: Likewise.
5939 * soft-fp/extended.h: Likewise.
5940 * soft-fp/op-1.h: Likewise.
5941 * soft-fp/op-2.h: Likewise.
5942 * soft-fp/op-4.h: Likewise.
5943 * soft-fp/op-8.h: Likewise.
5944 * soft-fp/testit.c: Likewise.
5945 * stdio-common/bug16.c: Likewise.
5946 * stdlib/random.c: Likewise.
5947 * sunrpc/rpcsvc/rquota.x: Likewise.
5948 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5949 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5950 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5951 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5952 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5953 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5954 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5955 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5956 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5957 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5958 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5959 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5960 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5961 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5962 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5963 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5964 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5965 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5966 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5967 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5968 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5969 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5970 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5971 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5972 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5973 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5974 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5975 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5976 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5977 * sysdeps/ieee754/s_lib_version.c: Likewise.
5978 * sysdeps/mach/hurd/check_fds.c: Likewise.
5979 * sysdeps/mach/hurd/getsockname.c: Likewise.
5980 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5981 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5982 * sysdeps/powerpc/bits/link.h: Likewise.
5983 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5984 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5985 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5986 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5987 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5988 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5989 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5990 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5991 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5992 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5993 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5994 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5995 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5996 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5997 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5998 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5999 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6000 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6001 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6002 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6003 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6004 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6005 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6006 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6007 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6008 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6009 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6010 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6011 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6012 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6013 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6014 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6015 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6016 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6017 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6018 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6019 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6020 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6021 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6022 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6023 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6024 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6025 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6026 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6027 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6028 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6029 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6030 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6031 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6032 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6033 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6034 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6035 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6036 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6037 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6038 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6039 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6040 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6041 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6042 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6043 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6044 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6045 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6046 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6047 * sysdeps/powerpc/sysdep.h: Likewise.
6048 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6049 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6050 * sysdeps/sh/dl-trampoline.S: Likewise.
6051 * sysdeps/sh/memset.S: Likewise.
6052 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6053 * sysdeps/sh/strlen.S: Likewise.
6054 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6055 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6056 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6057 * sysdeps/sparc/sparc32/rem.S: Likewise.
6058 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6059 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6060 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6061 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6062 * sysdeps/sparc/sparc32/urem.S: Likewise.
6063 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6064 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6065 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6066 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6067 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6068 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6069 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6070 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6071 * sysdeps/unix/bsd/times.c: Likewise.
6072 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6073 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6077 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6078 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6079 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6080 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6081 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6082 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6083 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6084 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6085 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6086 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6087 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6088 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6089 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6090 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6091 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6092 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6093 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6094 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6095 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6096 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6097 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6098 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6099 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6100 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6101 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6102 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6103 * sysdeps/x86_64/strcspn.S: Likewise.
6104
869378a5
RA
61052013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6106
6107 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6108 generated file. Regenerate properly from gen-translit.pl.
6109 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6110 locale/C-translit.h.
6111
840e2943
AS
61122013-06-05 Andreas Schwab <schwab@suse.de>
6113
6114 [BZ #15100]
6115 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6116 week as 6 instead of -1.
6117 * time/tst-strptime.c (day_tests): Add test case.
6118
4c60cb0c
SP
61192013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6120
6121 * sysdeps/generic/math_private.h
6122 (libc_feholdexcept_setround_53bit): Replace with
6123 libc_feholdsetround_53bit.
6124 (libc_feupdateenv_53bit): Replace with
6125 libc_feresetround_53bit.
6126 (SET_RESTORE_ROUND_53BIT): Adjust.
6127
d180203e
SP
61282013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6129
96df079a
SP
6130 * string/test-strchrnul.c: Add copyright header.
6131
d180203e
SP
6132 * posix/tst-getaddrinfo4.c: Increase test timeout.
6133
8b0ccb2d
CD
61342013-06-03 Carlos O'Donell <carlos@redhat.com>
6135
6136 [BZ #15536]
6137 * math/libm-test.inc (MAX_EXP): Remove
6138 (MIN_EXP): Define.
6139 (ulp): Use MIN_EXP - MANT_DIG.
6140 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6141
3b3c4d40
CD
61422013-05-31 Carlos O'Donell <carlos@redhat.com>
6143
6144 * po/be.po: Revert last change.
6145 * po/zh_CN.po: Likewise.
6146 * po/header.pot: Likewise.
6147
fab7ce3f
JM
61482013-05-31 Joseph Myers <joseph@codesourcery.com>
6149
6150 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6151 link-libc-deps to empty as target-specific variable.
6152 * Makerules (link-libc-args): New variable.
6153 (libc-for-link): Likewise.
6154 (link-libc-deps): Likewise.
6155 (lib%.so): Depend on $(link-libc-deps). Link with
6156 $(link-libc-args).
6157 (build-module): Link with $(link-libc-args).
6158 (build-module-asneeded): Likewise.
6159 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6160 list of objects.
6161 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6162 target-specific variable.
6163 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6164 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6165 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6166 libc.
6167 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6168 libc and ld.so.
6169 ($(objpfx)libpcprofile.so): Likewise.
6170 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6171 libc_nonshared.a.
6172 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6173 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6174 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6175 $(link-libc-deps).
6176 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6177 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6178 * login/Makefile ($(objpfx)libutil.so): Likewise.
6179 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6180 * math/Makefile ($(objpfx)libm.so): Likewise.
6181 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6182 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6183 variable instead of depending directly on libc.
6184 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6185 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6186 $(link-libc-deps).
6187 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6188 libc.
6189 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6190 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6191 ($(objpfx)libanl.so): Likewise.
6192 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6193 ld.so.
6194 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6195 $(link-libc-deps).
6196 * sysdeps/i386/fpu/Makefile: Remove file.
6197 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6198 ($(objpfx)libm.so): Remove dependency on ld.so.
6199
eca5920c
PF
62002013-05-30 Patsy Franklin <pfrankli@redhat.com>
6201
6202 [BZ # 15553]
6203 * nis/yp_xdr.c (XDRMAXNAME): Define.
6204 (XDRMAXRECORD): Define.
6205 (xdr_domainname): Use XDRMAXNAME.
6206 (xdr_mapname): Likewise.
6207 (xdr_peername): Likewise.
6208 (xdr_keydat): Use XDRMAXRECORD.
6209 (xdr_valdat): Likewise.
6210
62112013-05-30 Jeff Law <law@redhat.com>
96945714
JL
6212
6213 [BZ #14256]
6214 * manual/errno.texi (ESTALE): Update to account for more than
6215 just NFS file systems.
6216 * sysdeps/gnu/errlist.c: Regenerated.
6217
b9375348
SP
62182013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6219
6220 [BZ #15465]
6221 * elf/Makefile (tests): Add tst-null-argv.
6222 (modules-names): Add tst-null-argv-lib.
6223 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6224 (tst-null-argv-ENV): Set environment for tst-null-argv.
6225 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6226 (RTLD_PROGNAME): New macro.
6227 * elf/tst-null-argv.c: New test case.
6228 * elf/tst-null-argv-lib.c: Library for test case.
6229 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6230 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6231 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6232 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6233 * elf/dl-init.c (call_init): Likewise.
6234 (_dl_init): Likewise.
6235 * elf/dl-load.c (print_search_path): Likewise.
6236 (_dl_map_object): Likewise.
6237 * elf/dl-lookup.c (do_lookup_x): Likewise.
6238 (add_dependency): Likewise.
6239 (_dl_lookup_symbol_x): Likewise.
6240 (_dl_debug_bindings): Likewise.
6241 * elf/dl-open.c (_dl_show_scope): Likewise.
6242 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6243 * elf/dl-version.c (match_symbol): Likewise.
6244 (_dl_check_map_versions): Likewise.
6245 * elf/rtld.c (dl_main): Likewise.
6246 (print_unresolved): Use RTLD_PROGNAME.
6247 (print_missing_version): Likewise.
6248 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6249 (elf_machine_rela): Likewise.
6250 * sysdeps/powerpc/powerpc32/dl-machine.c
6251 (__process_machine_rela): Likewise.
6252 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6253 Likewise.
6254 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6255 Likewise.
6256 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6257 Likewise.
6258 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6259 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6260 Likewise.
6261 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6262 Likewise.
6263 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6264
8a9f20c8
CD
62652013-05-28 Carlos O'Donell <carlos@redhat.com>
6266
6267 * po/be.po: Add descriptive title.
6268 * po/zh_CN.po: Likewise.
6269 * po/header.pot: Likewise.
6270
0e60d68e
MF
62712013-05-28 Mike Frysinger <vapier@gentoo.org>
6272
6273 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6274 error message.
6275 (enlarge_archive): Likewise.
6276
56b672e9
BN
62772013-05-28 Ben North <ben@redfrontdoor.org>
6278
6279 * manual/arith.texi (frexp): It is the magnitude of the return
6280 value which lies in [0.5, 1), not the return value itself.
6281
5e056687
AZ
62822013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6283
6284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6285
2b66ef5d
TS
62862013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6287
528c2405
TS
6288 * stdio-common/bug26.c (main): Correct fscanf template.
6289
07b4c13d
TS
6290 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6291 declare _dl_skip_args.
6292
ec9dd97c
TS
6293 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6294 Don't declare.
6295
2b66ef5d
TS
6296 * manual/platform.texi: Add missing @end deftypefun.
6297
4f8dfe27
JM
62982013-05-24 Joseph Myers <joseph@codesourcery.com>
6299
0323d086
JM
6300 [BZ #15529]
6301 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6302 bit of mantissa of 2^16382.
6303 * math/libm-test.inc (hypot_test_data): Add more tests.
6304
dd4259b9
JM
6305 * math/libm-test.inc: Add drem and pow10 to list of tested
6306 functions.
6307 (pow10_test): New function.
6308 (drem_test): Likewise.
6309 (drem_test_tonearest): Likewise.
6310 (drem_test_towardzero): Likewise.
6311 (drem_test_downward): Likewise.
6312 (drem_test_upward): Likewise.
6313 (main): Call the new functions.
6314
4f8dfe27
JM
6315 * math/libm-test.inc (finite_test_data): Remove.
6316 (finite_test): Run tests from isfinite_test_data.
6317 (gamma_test_data): Remove.
6318 (gamma_test): Run tests from lgamma_test_data.
6319 * sysdeps/i386/fpu/libm-test-ulps: Update.
6320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6321
d116b7c4
AZ
63222013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6323
6324 * manual/platform.texi: Add PowerPC PPR function set documentation.
6325 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6326 implementation.
6327
e96e3767
CD
63282013-05-24 Carlos O'Donell <carlos@redhat.com>
6329
6330 * math/libm-test.inc (MAX_EXP): Define.
6331 (ULPDIFF): Define.
6332 (ulp): New function.
6333 (check_float_internal): Use ULPDIFF.
6334 (cpow_test): Disable failing test.
6335 (check_ulp): Test ulp() implemetnation.
6336 (main): Call check_ulp before starting tests.
6337
b679a606
JM
63382013-05-24 Joseph Myers <joseph@codesourcery.com>
6339
e8bdba36
JM
6340 * math/gen-libm-test.pl (generate_testfile): Do not handle
6341 START_DATA and END_DATA.
6342 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6343 END_DATA.
6344 (acos_tonearest_test_data): Likewise.
6345 (acos_towardzero_test_data): Likewise.
6346 (acos_downward_test_data): Likewise.
6347 (acos_upward_test_data): Likewise.
6348 (acosh_test_data): Likewise.
6349 (asin_test_data): Likewise.
6350 (asin_tonearest_test_data): Likewise.
6351 (asin_towardzero_test_data): Likewise.
6352 (asin_downward_test_data): Likewise.
6353 (asin_upward_test_data): Likewise.
6354 (asinh_test_data): Likewise.
6355 (atan_test_data): Likewise.
6356 (atanh_test_data): Likewise.
6357 (atan2_test_data): Likewise.
6358 (cabs_test_data): Likewise.
6359 (cacos_test_data): Likewise.
6360 (cacosh_test_data): Likewise.
6361 (carg_test_data): Likewise.
6362 (casin_test_data): Likewise.
6363 (casinh_test_data): Likewise.
6364 (catan_test_data): Likewise.
6365 (catanh_test_data): Likewise.
6366 (cbrt_test_data): Likewise.
6367 (ccos_test_data): Likewise.
6368 (ccosh_test_data): Likewise.
6369 (ceil_test_data): Likewise.
6370 (cexp_test_data): Likewise.
6371 (cimag_test_data): Likewise.
6372 (clog_test_data): Likewise.
6373 (clog10_test_data): Likewise.
6374 (conj_test_data): Likewise.
6375 (copysign_test_data): Likewise.
6376 (cos_test_data): Likewise.
6377 (cos_tonearest_test_data): Likewise.
6378 (cos_towardzero_test_data): Likewise.
6379 (cos_downward_test_data): Likewise.
6380 (cos_upward_test_data): Likewise.
6381 (cosh_test_data): Likewise.
6382 (cosh_tonearest_test_data): Likewise.
6383 (cosh_towardzero_test_data): Likewise.
6384 (cosh_downward_test_data): Likewise.
6385 (cosh_upward_test_data): Likewise.
6386 (cpow_test_data): Likewise.
6387 (cproj_test_data): Likewise.
6388 (creal_test_data): Likewise.
6389 (csin_test_data): Likewise.
6390 (csinh_test_data): Likewise.
6391 (csqrt_test_data): Likewise.
6392 (ctan_test_data): Likewise.
6393 (ctan_tonearest_test_data): Likewise.
6394 (ctan_towardzero_test_data): Likewise.
6395 (ctan_downward_test_data): Likewise.
6396 (ctan_upward_test_data): Likewise.
6397 (ctanh_test_data): Likewise.
6398 (ctanh_tonearest_test_data): Likewise.
6399 (ctanh_towardzero_test_data): Likewise.
6400 (ctanh_downward_test_data): Likewise.
6401 (ctanh_upward_test_data): Likewise.
6402 (erf_test_data): Likewise.
6403 (erfc_test_data): Likewise.
6404 (exp_test_data): Likewise.
6405 (exp_tonearest_test_data): Likewise.
6406 (exp_towardzero_test_data): Likewise.
6407 (exp_downward_test_data): Likewise.
6408 (exp_upward_test_data): Likewise.
6409 (exp10_test_data): Likewise.
6410 (exp2_test_data): Likewise.
6411 (expm1_test_data): Likewise.
6412 (fabs_test_data): Likewise.
6413 (fdim_test_data): Likewise.
6414 (finite_test_data): Likewise.
6415 (floor_test_data): Likewise.
6416 (fma_test_data): Likewise.
6417 (fma_towardzero_test_data): Likewise.
6418 (fma_downward_test_data): Likewise.
6419 (fma_upward_test_data): Likewise.
6420 (fmax_test_data): Likewise.
6421 (fmin_test_data): Likewise.
6422 (fmod_test_data): Likewise.
6423 (fpclassify_test_data): Likewise.
6424 (frexp_test_data): Likewise.
6425 (gamma_test_data): Likewise.
6426 (hypot_test_data): Likewise.
6427 (ilogb_test_data): Likewise.
6428 (isfinite_test_data): Likewise.
6429 (isgreater_test_data): Likewise.
6430 (isgreaterequal_test_data): Likewise.
6431 (isinf_test_data): Likewise.
6432 (isless_test_data): Likewise.
6433 (islessequal_test_data): Likewise.
6434 (islessgreater_test_data): Likewise.
6435 (isnan_test_data): Likewise.
6436 (isnormal_test_data): Likewise.
6437 (issignaling_test_data): Likewise.
6438 (isunordered_test_data): Likewise.
6439 (j0_test_data): Likewise.
6440 (j1_test_data): Likewise.
6441 (jn_test_data): Likewise.
6442 (ldexp_test_data): Likewise.
6443 (lgamma_test_data): Likewise.
6444 (lrint_test_data): Likewise.
6445 (lrint_tonearest_test_data): Likewise.
6446 (lrint_towardzero_test_data): Likewise.
6447 (lrint_downward_test_data): Likewise.
6448 (lrint_upward_test_data): Likewise.
6449 (llrint_test_data): Likewise.
6450 (llrint_tonearest_test_data): Likewise.
6451 (llrint_towardzero_test_data): Likewise.
6452 (llrint_downward_test_data): Likewise.
6453 (llrint_upward_test_data): Likewise.
6454 (log_test_data): Likewise.
6455 (log10_test_data): Likewise.
6456 (log1p_test_data): Likewise.
6457 (log2_test_data): Likewise.
6458 (logb_test_data): Likewise.
6459 (logb_downward_test_data): Likewise.
6460 (lround_test_data): Likewise.
6461 (llround_test_data): Likewise.
6462 (modf_test_data): Likewise.
6463 (nearbyint_test_data): Likewise.
6464 (nextafter_test_data): Likewise.
6465 (nexttoward_test_data): Likewise.
6466 (pow_test_data): Likewise.
6467 (pow_tonearest_test_data): Likewise.
6468 (pow_towardzero_test_data): Likewise.
6469 (pow_downward_test_data): Likewise.
6470 (pow_upward_test_data): Likewise.
6471 (remainder_test_data): Likewise.
6472 (remainder_tonearest_test_data): Likewise.
6473 (remainder_towardzero_test_data): Likewise.
6474 (remainder_downward_test_data): Likewise.
6475 (remainder_upward_test_data): Likewise.
6476 (remquo_test_data): Likewise.
6477 (rint_test_data): Likewise.
6478 (rint_tonearest_test_data): Likewise.
6479 (rint_towardzero_test_data): Likewise.
6480 (rint_downward_test_data): Likewise.
6481 (rint_upward_test_data): Likewise.
6482 (round_test_data): Likewise.
6483 (scalb_test_data): Likewise.
6484 (scalbn_test_data): Likewise.
6485 (scalbln_test_data): Likewise.
6486 (signbit_test_data): Likewise.
6487 (sin_test_data): Likewise.
6488 (sin_tonearest_test_data): Likewise.
6489 (sin_towardzero_test_data): Likewise.
6490 (sin_downward_test_data): Likewise.
6491 (sin_upward_test_data): Likewise.
6492 (sincos_test_data): Likewise.
6493 (sinh_test_data): Likewise.
6494 (sinh_tonearest_test_data): Likewise.
6495 (sinh_towardzero_test_data): Likewise.
6496 (sinh_downward_test_data): Likewise.
6497 (sinh_upward_test_data): Likewise.
6498 (sqrt_test_data): Likewise.
6499 (tan_test_data): Likewise.
6500 (tan_tonearest_test_data): Likewise.
6501 (tan_towardzero_test_data): Likewise.
6502 (tan_downward_test_data): Likewise.
6503 (tan_upward_test_data): Likewise.
6504 (tanh_test_data): Likewise.
6505 (tgamma_test_data): Likewise.
6506 (trunc_test_data): Likewise.
6507 (y0_test_data): Likewise.
6508 (y1_test_data): Likewise.
6509 (yn_test_data): Likewise.
6510 (significand_test_data): Likewise.
6511
b679a606
JM
6512 * math/gen-libm-test.pl (@functions): Remove variable.
6513 (generate_testfile): Don't handle START and END lines.
6514 * math/libm-test.inc (START): New macro.
6515 (END): Likewise.
6516 (END_COMPLEX): Likewise.
6517 (acos_test): Use END macro without arguments.
6518 (acos_test_tonearest): Likewise.
6519 (acos_test_towardzero): Likewise.
6520 (acos_test_downward): Likewise.
6521 (acos_test_upward): Likewise.
6522 (acosh_test): Likewise.
6523 (asin_test): Likewise.
6524 (asin_test_tonearest): Likewise.
6525 (asin_test_towardzero): Likewise.
6526 (asin_test_downward): Likewise.
6527 (asin_test_upward): Likewise.
6528 (asinh_test): Likewise.
6529 (atan_test): Likewise.
6530 (atanh_test): Likewise.
6531 (atan2_test): Likewise.
6532 (cabs_test): Likewise.
6533 (cacos_test): Use END_COMPLEX macro without arguments.
6534 (cacosh_test): Likewise.
6535 (carg_test): Use END macro without arguments.
6536 (casin_test): Use END_COMPLEX macro without arguments.
6537 (casinh_test): Likewise.
6538 (catan_test): Likewise.
6539 (catanh_test): Likewise.
6540 (cbrt_test): Use END macro without arguments.
6541 (ccos_test): Use END_COMPLEX macro without arguments.
6542 (ccosh_test): Likewise.
6543 (ceil_test): Use END macro without arguments.
6544 (cexp_test): Use END_COMPLEX macro without arguments.
6545 (cimag_test): Use END macro without arguments.
6546 (clog_test): Use END_COMPLEX macro without arguments.
6547 (clog10_test): Likewise.
6548 (conj_test): Likewise.
6549 (copysign_test): Use END macro without arguments.
6550 (cos_test): Likewise.
6551 (cos_test_tonearest): Likewise.
6552 (cos_test_towardzero): Likewise.
6553 (cos_test_downward): Likewise.
6554 (cos_test_upward): Likewise.
6555 (cosh_test): Likewise.
6556 (cosh_test_tonearest): Likewise.
6557 (cosh_test_towardzero): Likewise.
6558 (cosh_test_downward): Likewise.
6559 (cosh_test_upward): Likewise.
6560 (cpow_test): Use END_COMPLEX macro without arguments.
6561 (cproj_test): Likewise.
6562 (creal_test): Use END macro without arguments.
6563 (csin_test): Use END_COMPLEX macro without arguments.
6564 (csinh_test): Likewise.
6565 (csqrt_test): Likewise.
6566 (ctan_test): Likewise.
6567 (ctan_test_tonearest): Likewise.
6568 (ctan_test_towardzero): Likewise.
6569 (ctan_test_downward): Likewise.
6570 (ctan_test_upward): Likewise.
6571 (ctanh_test): Likewise.
6572 (ctanh_test_tonearest): Likewise.
6573 (ctanh_test_towardzero): Likewise.
6574 (ctanh_test_downward): Likewise.
6575 (ctanh_test_upward): Likewise.
6576 (erf_test): Use END macro without arguments.
6577 (erfc_test): Likewise.
6578 (exp_test): Likewise.
6579 (exp_test_tonearest): Likewise.
6580 (exp_test_towardzero): Likewise.
6581 (exp_test_downward): Likewise.
6582 (exp_test_upward): Likewise.
6583 (exp10_test): Likewise.
6584 (exp2_test): Likewise.
6585 (expm1_test): Likewise.
6586 (fabs_test): Likewise.
6587 (fdim_test): Likewise.
6588 (finite_test): Likewise.
6589 (floor_test): Likewise.
6590 (fma_test): Likewise.
6591 (fma_test_towardzero): Likewise.
6592 (fma_test_downward): Likewise.
6593 (fma_test_upward): Likewise.
6594 (fmax_test): Likewise.
6595 (fmin_test): Likewise.
6596 (fmod_test): Likewise.
6597 (fpclassify_test): Likewise.
6598 (frexp_test): Likewise.
6599 (gamma_test): Likewise.
6600 (hypot_test): Likewise.
6601 (ilogb_test): Likewise.
6602 (isfinite_test): Likewise.
6603 (isgreater_test): Likewise.
6604 (isgreaterequal_test): Likewise.
6605 (isinf_test): Likewise.
6606 (isless_test): Likewise.
6607 (islessequal_test): Likewise.
6608 (islessgreater_test): Likewise.
6609 (isnan_test): Likewise.
6610 (isnormal_test): Likewise.
6611 (issignaling_test): Likewise.
6612 (isunordered_test): Likewise.
6613 (j0_test): Likewise.
6614 (j1_test): Likewise.
6615 (jn_test): Likewise.
6616 (ldexp_test): Likewise.
6617 (lgamma_test): Likewise.
6618 (lrint_test): Likewise.
6619 (lrint_test_tonearest): Likewise.
6620 (lrint_test_towardzero): Likewise.
6621 (lrint_test_downward): Likewise.
6622 (lrint_test_upward): Likewise.
6623 (llrint_test): Likewise.
6624 (llrint_test_tonearest): Likewise.
6625 (llrint_test_towardzero): Likewise.
6626 (llrint_test_downward): Likewise.
6627 (llrint_test_upward): Likewise.
6628 (log_test): Likewise.
6629 (log10_test): Likewise.
6630 (log1p_test): Likewise.
6631 (log2_test): Likewise.
6632 (logb_test): Likewise.
6633 (logb_test_downward): Likewise.
6634 (lround_test): Likewise.
6635 (llround_test): Likewise.
6636 (modf_test): Likewise.
6637 (nearbyint_test): Likewise.
6638 (nextafter_test): Likewise.
6639 (nexttoward_test): Likewise.
6640 (pow_test): Likewise.
6641 (pow_test_tonearest): Likewise.
6642 (pow_test_towardzero): Likewise.
6643 (pow_test_downward): Likewise.
6644 (pow_test_upward): Likewise.
6645 (remainder_test): Likewise.
6646 (remainder_test_tonearest): Likewise.
6647 (remainder_test_towardzero): Likewise.
6648 (remainder_test_downward): Likewise.
6649 (remainder_test_upward): Likewise.
6650 (remquo_test): Likewise.
6651 (rint_test): Likewise.
6652 (rint_test_tonearest): Likewise.
6653 (rint_test_towardzero): Likewise.
6654 (rint_test_downward): Likewise.
6655 (rint_test_upward): Likewise.
6656 (round_test): Likewise.
6657 (scalb_test): Likewise.
6658 (scalbn_test): Likewise.
6659 (scalbln_test): Likewise.
6660 (signbit_test): Likewise.
6661 (sin_test): Likewise.
6662 (sin_test_tonearest): Likewise.
6663 (sin_test_towardzero): Likewise.
6664 (sin_test_downward): Likewise.
6665 (sin_test_upward): Likewise.
6666 (sincos_test): Likewise.
6667 (sinh_test): Likewise.
6668 (sinh_test_tonearest): Likewise.
6669 (sinh_test_towardzero): Likewise.
6670 (sinh_test_downward): Likewise.
6671 (sinh_test_upward): Likewise.
6672 (sqrt_test): Likewise.
6673 (tan_test): Likewise.
6674 (tan_test_tonearest): Likewise.
6675 (tan_test_towardzero): Likewise.
6676 (tan_test_downward): Likewise.
6677 (tan_test_upward): Likewise.
6678 (tanh_test): Likewise.
6679 (tgamma_test): Likewise.
6680 (trunc_test): Likewise.
6681 (y0_test): Likewise.
6682 (y1_test): Likewise.
6683 (yn_test): Likewise.
6684 (significand_test): Likewise.
6685
bae143d2
OB
66862013-05-24 Ondřej Bílka <neleai@seznam.cz>
6687
6688 [BZ #15381]
6689 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6690
9323d39b
EM
66912013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6692
d4ea44a0 6693 [BZ #14894]
9323d39b
EM
6694 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6695 __ppc_mdoio and __ppc_mdoom.
6696 * manual/platform.texi: Document new functions __ppc_yield,
6697 __ppc_mdoio and __ppc_mdoom.
6698
13e23af7
CD
66992013-05-22 Carlos O'Donell <carlos@redhat.com>
6700
6701 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6702 (main): Mention "tls" pseudo-hwcap is legacy.
6703 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6704
351fe550
JM
67052013-05-22 Joseph Myers <joseph@codesourcery.com>
6706
6707 * math/gen-libm-test.pl (parse_args): Output only string of
6708 arguments as text for test name, not full call or descriptions of
6709 tests for extra outputs.
6710 (generate_testfile): Do not pass function name to parse_args.
6711 Generate this_func variable from START.
6712 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6713 field to arg_str.
6714 (struct test_ff_f_data): Likewise.
6715 (test_ff_f_data_nexttoward): Likewise.
6716 (struct test_fi_f_data): Likewise.
6717 (struct test_fl_f_data): Likewise.
6718 (struct test_if_f_data): Likewise.
6719 (struct test_fff_f_data): Likewise.
6720 (struct test_c_f_data): Likewise.
6721 (struct test_f_f1_data): Likewise. Remove field extra_name.
6722 (struct test_fF_f1_data): Likewise.
6723 (struct test_ffI_f1_data): Likewise.
6724 (struct test_c_c_data): Rename test_name field to arg_str.
6725 (struct test_cc_c_data): Likewise.
6726 (struct test_f_i_data): Likewise.
6727 (struct test_ff_i_data): Likewise.
6728 (struct test_f_l_data): Likewise.
6729 (struct test_f_L_data): Likewise.
6730 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6731 and extra2_name.
6732 (COMMON_TEST_SETUP): New macro.
6733 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6734 (COMMON_TEST_CLEANUP): Likewise.
6735 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6736 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6737 macros.
6738 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6739 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6740 macros.
6741 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6742 (RUN_TEST_fff_f): Take argument string. Call new setup and
6743 cleanup macros.
6744 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6745 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6746 macros.
6747 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6748 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6749 macros.
6750 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6751 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6752 cleanup macros.
6753 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6754 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6755 cleanup macros.
6756 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6757 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6758 cleanup macros.
6759 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6760 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6761 macros.
6762 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6763 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6764 macros.
6765 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6766 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6767 macros.
6768 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6769 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6770 cleanup macros.
6771 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6772 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6773 cleanup macros.
6774 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6775 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6776 macros.
6777 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6778 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6779 cleanup macros.
6780 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6781 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6782 macros.
6783 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6784 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6785 macros.
6786 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6787 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6788 cleanup macros.
6789 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6790
85118d4d
EBM
67912013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6792
6793 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6794 to _sifields.sigfault.
6795 (si_addr_lsb): Define new macro.
6796 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6797 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6798 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6799
7a44c18f
CD
68002013-05-03 Carlos O'Donell <carlos at redhat.com>
6801
6802 [BZ #15441]
6803 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6804 returns -1.
6805 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6806 null return -1.
6807 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6808 loading the domain.
6809
b50a7181
JM
68102013-05-22 Joseph Myers <joseph@codesourcery.com>
6811
6812 * math/gen-libm-test.pl (parse_args): Do not include expected
6813 result in test name.
6814 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6815 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6816 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6817 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6818 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6820
051063c8
SP
68212013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6822
3ce9e010
SP
6823 * benchtests/Makefile: Sort function entries.
6824
051063c8
SP
6825 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6826 tanh, asinh, acosh, atanh.
6827 * benchtests/acos-inputs: New file.
6828 * benchtests/acosh-inputs: New file.
6829 * benchtests/asin-inputs: New file.
6830 * benchtests/asinh-inputs: New file.
6831 * benchtests/atanh-inputs: New file.
6832 * benchtests/cosh-inputs: New file.
6833 * benchtests/log-inputs: New file.
6834 * benchtests/sinh-inputs: New file.
6835 * benchtests/tanh-inputs: New file.
6836
47c22455
DL
68372013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6838
6839 [BZ #15339]
6840 * posix/tst-getaddrinfo4.c: New test.
6841 * posix/Makefile (tests): Add it.
6842
3d04f5db
SP
68432013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6844
6845 [BZ #15339]
6846 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6847 when no services were used.
6848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6849 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6850
d5dd6189
AS
68512013-05-21 Andreas Schwab <schwab@suse.de>
6852
6853 [BZ #15014]
6854 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6855 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6856 successful.
6857 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6858 redundant variable declarations and reallocation of buffer when
6859 parsing as IPv6 address. Always set NSS status when called from
6860 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
6861 buffer too small. Correct computation of needed size.
6862 * nss/Makefile (tests): Add test-digits-dots.
6863 * nss/test-digits-dots.c: New test.
6864
fef94eab
SP
68652013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6866
6867 * benchtests/Makefile: Remove instructions for adding
6868 benchmark tests.
6869 * benchtests/README: New file to explain how to execute and
6870 enhance the benchmark tests.
6871
e39adf43
AS
68722013-05-21 Andreas Schwab <schwab@suse.de>
6873
6874 [BZ #15493]
6875 * setjmp/Makefile (tests): Add tst-sigsetjmp.
6876 * setjmp/tst-sigsetjmp.c: New test.
6877
b2b671b6
OB
68782013-05-20 Ondřej Bílka <neleai@seznam.cz>
6879
6880 * sysdeps/x86_64/memset.S (memset): New implementation.
6881 (__bzero): Likewise.
6882 (__memset_tail): New function.
6883
2d48b41c
OB
68842013-05-20 Ondřej Bílka <neleai@seznam.cz>
6885
6886 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6887 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6888 __memcpy_sse2_unaligned ifunc selection.
6889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6890 Add memcpy-sse2-unaligned.S.
6891 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6892 Add: __memcpy_sse2_unaligned.
6893
f16cc3eb
JM
68942013-05-19 Joseph Myers <joseph@codesourcery.com>
6895
3e694268
JM
6896 [BZ #15490]
6897 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6898 math_force_eval before restoring floating-point envrionment.
6899 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6900 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6901 Likewise.
6902 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6903 <math_private.h>.
6904 (__nearbyintl): Use math_force_eval before restoring
6905 floating-point environment.
6906 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6907
db62a907
JM
6908 * math/gen-libm-test.pl (special_functions): Remove.
6909 (parse_args): Don't handle TEST_extra. Handle functions with no
6910 return value.
6911 * math/libm-test.inc (struct test_sincos_data): Replace with
6912 struct test_fFF_11_data.
6913 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6914 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6915 (sincos_test_data): Change element type to struct
6916 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
6917 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6918 RUN_TEST_LOOP_sincos.
6919 * math/README.libm-test: Don't mention special handling of
6920 individual functions.
6921 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6922 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6923 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6924 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6925 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6927
f16cc3eb
JM
6928 * math/gen-libm-test.pl (get_variable): Remove function.
6929 (parse_args): Don't show pointer parameters to call in test
6930 names. Use "extra output N" in test names for extra outputs
6931 rather than naming variables.
6932
3779b5b6
JM
69332013-05-18 Joseph Myers <joseph@codesourcery.com>
6934
2ee094ff
JM
6935 [BZ #15488]
6936 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6937 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6938 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6939 double tests.
6940 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6941 disable.
6942 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6943 check_long_double.
6944
3779b5b6
JM
6945 * math/gen-libm-test.pl (@tests): Remove variable.
6946 ($count): Likewise.
6947 (new_test): Remove function.
6948 (show_exceptions): New function.
6949 (special_functions): Use show_exceptions instead of new_test.
6950 (parse_args): Likewise.
6951 (generate_testfile): Pass only function name in generated call to
6952 print_max_error or print_complex_max_error.
6953 (get_ulps): Do not handle complex tests specially.
6954 (output_test): Rename to ...
6955 (get_all_ulps_for_test): ... this. Return a string rather than
6956 printing to a file. Require ulps to be present.
6957 (output_ulps): Generate arrays rather than #defines.
6958 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6959 (struct ulp_data): New type.
6960 (BUILD_COMPLEX_ULP): Remove macro.
6961 (compare_ulp_data): New function.
6962 (find_ulps): Likewise.
6963 (find_test_ulps): Likewise.
6964 (find_function_ulps): Likewise.
6965 (find_complex_function_ulps): Likewise.
6966 (print_max_error): Determine allowed ulps using
6967 find_function_ulps.
6968 (print_complex_max_error): Determine allowed ulps using
6969 find_complex_function_ulps.
6970 (check_float_internal): Determine max ulps using find_test_ulps.
6971 (check_float): Do not take max_ulp parameter. Update call to
6972 check_float_internal.
6973 (check_complex): Likewise.
6974 (check_int): Do not take max_ulp parameter.
6975 (check_long): Likewise.
6976 (check_bool): Likewise.
6977 (check_longlong): Likewise.
6978 (struct test_f_f_data): Remove max_ulp field.
6979 (struct test_ff_f_data): Likewise.
6980 (struct test_ff_f_data_nexttoward): Likewise.
6981 (struct test_fi_f_data): Likewise.
6982 (struct test_fl_f_data): Likewise.
6983 (struct test_if_f_data): Likewise.
6984 (struct test_fff_f_data): Likewise.
6985 (struct test_c_f_data): Likewise.
6986 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6987 (struct test_fF_f1_data): Likewise.
6988 (struct test_ffI_f1_data): Likewise.
6989 (struct test_c_c_data): Remove max_ulp field.
6990 (struct test_cc_c_data): Likewise.
6991 (struct test_f_i_data): Likewise.
6992 (struct test_ff_i_data): Likewise.
6993 (struct test_f_l_data): Likewise.
6994 (struct test_f_L_data): Likewise.
6995 (struct test_sincos_data): Likewise.
6996 (RUN_TEST_f_f): Do not handle ulps.
6997 (RUN_TEST_LOOP_f_f): Likewise.
6998 (RUN_TEST_2_f): Likewise.
6999 (RUN_TEST_LOOP_2_f): Likewise.
7000 (RUN_TEST_fff_f): Likewise.
7001 (RUN_TEST_LOOP_fff_f): Likewise.
7002 (RUN_TEST_c_f): Likewise.
7003 (RUN_TEST_LOOP_c_f): Likewise.
7004 (RUN_TEST_f_f1): Likewise.
7005 (RUN_TEST_LOOP_f_f1): Likewise.
7006 (RUN_TEST_fF_f1): Likewise.
7007 (RUN_TEST_LOOP_fF_f1): Likewise.
7008 (RUN_TEST_fI_f1): Likewise.
7009 (RUN_TEST_LOOP_fI_f1): Likewise.
7010 (RUN_TEST_ffI_f1): Likewise.
7011 (RUN_TEST_LOOP_ffI_f1): Likewise.
7012 (RUN_TEST_c_c): Likewise.
7013 (RUN_TEST_LOOP_c_c): Likewise.
7014 (RUN_TEST_cc_c): Likewise.
7015 (RUN_TEST_LOOP_cc_c): Likewise.
7016 (RUN_TEST_f_i): Likewise.
7017 (RUN_TEST_LOOP_f_i): Likewise.
7018 (RUN_TEST_f_i_tg): Likewise.
7019 (RUN_TEST_LOOP_f_i_tg): Likewise.
7020 (RUN_TEST_ff_i_tg): Likewise.
7021 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7022 (RUN_TEST_f_b): Likewise.
7023 (RUN_TEST_LOOP_f_b): Likewise.
7024 (RUN_TEST_f_b_tg): Likewise.
7025 (RUN_TEST_LOOP_f_b_tg): Likewise.
7026 (RUN_TEST_f_l): Likewise.
7027 (RUN_TEST_LOOP_f_l): Likewise.
7028 (RUN_TEST_f_L): Likewise.
7029 (RUN_TEST_LOOP_f_L): Likewise.
7030 (RUN_TEST_sincos): Likewise.
7031 (RUN_TEST_LOOP_sincos): Likewise.
7032
8269107f
JM
70332013-05-17 Joseph Myers <joseph@codesourcery.com>
7034
bb38759d
JM
7035 [BZ #15480]
7036 [BZ #15485]
7037 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7038 main case of finite arguments, set rounding mode to FE_TONEAREST
7039 and discard exceptions.
7040 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7041 exceptions.
7042 (remainder_tonearest_test_data): New variable.
7043 (remainder_test_tonearest): New function.
7044 (remainder_towardzero_test_data): New variable.
7045 (remainder_test_towardzero): New function.
7046 (remainder_downward_test_data): New variable.
7047 (remainder_test_downward): New function.
7048 (remainder_upward_test_data): New variable.
7049 (remainder_test_upward): New function.
7050 (main): Call the new test functions.
7051
a00bdcf0
JM
7052 * math/libm-test.inc (struct test_f_f1_data): Remove field
7053 extra_init.
7054 (struct test_fF_f1_data): Likewise.
7055 (struct test_ffI_f1_data): Likewise.
7056 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7057 based on value of EXTRA_EXPECTED.
7058 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7059 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7060 EXTRA_VAR based on value of EXTRA_EXPECTED.
7061 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7062 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7063 EXTRA_VAR based on value of EXTRA_EXPECTED.
7064 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7065 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7066 EXTRA_VAR based on value of EXTRA_EXPECTED.
7067 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7068 * math/gen-libm-test.pl (parse_args): Don't output initializers
7069 for extra output values.
7070
de407f79
JM
7071 * math/libm-test.inc (check_int): Expect result to be exactly
7072 equal to expected value and do not handle ulps.
7073 (check_long): Likewise.
7074 (check_longlong): Likewise.
7075
8269107f
JM
7076 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7077 exceptions.
7078 (cimag_test_data): Likewise.
7079 (conj_test_data): Likewise.
7080 (copysign_test_data): Likewise.
7081 (cproj_test_data): Likewise.
7082 (creal_test_data): Likewise.
7083 (fabs_test_data): Likewise.
7084 (fdim_test_data): Likewise.
7085 (finite_test_data): Likewise.
7086 (floor_test_data): Likewise.
7087 (fmax_test_data): Likewise.
7088 (fmin_test_data): Likewise.
7089 (fmod_test_data): Likewise.
7090 (fpclassify_test_data): Likewise.
7091 (frexp_test_data): Likewise.
7092 (ilogb_test_data): Likewise.
7093 (isfinite_test_data): Likewise.
7094 (isgreater_test_data): Likewise.
7095 (isgreaterequal_test_data): Likewise.
7096 (isinf_test_data): Likewise.
7097 (isless_test_data): Likewise.
7098 (islessequal_test_data): Likewise.
7099 (islessgreater_test_data): Likewise.
7100 (isnan_test_data): Likewise.
7101 (isnormal_test_data): Likewise.
7102 (issignaling_test_data): Likewise.
7103 (isunordered_test_data): Likewise.
7104 (ldexp_test_data): Likewise.
7105 (lrint_test_data): Likewise.
7106 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7107 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7108 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7109 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7110 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7111 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7112 test input.
7113 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7114 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7115 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7116 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7117 that test input.
7118 (lrint_downward_test_data): Test for "inexact" exceptions.
7119 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7120 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7121 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7122 test input.
7123 (lrint_upward_test_data): Test for "inexact" exceptions.
7124 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7125 test input.
7126 (llrint_test_data): Test for "inexact" exceptions.
7127 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7128 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7129 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7130 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7131 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7132 (llrint_downward_test_data): Test for "inexact" exceptions.
7133 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7134 (llrint_upward_test_data): Test for "inexact" exceptions.
7135 (logb_test_data): Likewise.
7136 (logb_downward_test_data): Likewise.
7137 (nextafter_test_data): Likewise.
7138 (nexttoward_test_data): Likewise.
7139 (remainder_test_data): Likewise.
7140 (remquo_test_data): Likewise.
7141 (scalbn_test_data): Likewise.
7142 (scalbln_test_data): Likewise.
7143 (signbit_test_data): Likewise.
7144 (sqrt_test_data): Likewise.
7145 (significand_test_data): Likewise.
7146
48a18de1
SP
71472013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7148
7149 [BZ #15424]
7150 * benchtests/bench-modf.c (struct args): Mark arg0 as
7151 volatile.
7152 * scripts/bench.pl: Mark members of struct args as volatile.
7153
13d3b41a
AZ
71542013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7155
68191c1d 7156 [BZ # 15497]
13d3b41a
AZ
7157 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7158 negative infinity on POWER6 or lower.
7159 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7160
2848b105
MR
71612013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7162
7163 [BZ #15442]
7164 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7165 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7166 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7167 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7168 (_FP_SETQNAN): New macro.
7169 (_FP_SETQNAN_SEMIRAW): Likewise.
7170 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7171 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7172 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7173 (FP_EXTEND): Use _FP_FRAC_SNANP.
7174 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7175 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7176 into account.
7177 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7178 New macro.
7179 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7180 Likewise.
7181
323e5cb7
JM
71822013-05-16 Joseph Myers <joseph@codesourcery.com>
7183
c58b274f
JM
7184 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7185 with DIVIDE_BY_ZERO_EXCEPTION.
7186 (gamma_test_data): Likewise.
7187 (lgamma_test_data): Likewise.
7188 (log_test_data): Likewise.
7189 (log10_test_data): Likewise.
7190 (log2_test_data): Likewise.
7191 (tgamma_test_data): Likewise.
7192
0ab34904
JM
7193 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7194 (acos_test_tonearest): Likewise.
7195 (acos_test_towardzero): Likewise.
7196 (acos_test_downward): Likewise.
7197 (acos_test_upward): Likewise.
7198 (acosh_test): Likewise.
7199 (asin_test): Likewise.
7200 (asin_test_tonearest): Likewise.
7201 (asin_test_towardzero): Likewise.
7202 (asin_test_downward): Likewise.
7203 (asin_test_upward): Likewise.
7204 (asinh_test): Likewise.
7205 (atan_test): Likewise.
7206 (atanh_test): Likewise.
7207 (atan2_test): Likewise.
7208 (cabs_test): Likewise.
7209 (cacos_test): Likewise.
7210 (cacosh_test): Likewise.
7211 (casin_test): Likewise.
7212 (casinh_test): Likewise.
7213 (catan_test): Likewise.
7214 (catanh_test): Likewise.
7215 (cbrt_test): Likewise.
7216 (ccos_test): Likewise.
7217 (ccosh_test): Likewise.
7218 (cexp_test): Likewise.
7219 (clog_test): Likewise.
7220 (clog10_test): Likewise.
7221 (cos_test): Likewise.
7222 (cos_test_tonearest): Likewise.
7223 (cos_test_towardzero): Likewise.
7224 (cos_test_downward): Likewise.
7225 (cos_test_upward): Likewise.
7226 (cosh_test): Likewise.
7227 (cosh_test_tonearest): Likewise.
7228 (cosh_test_towardzero): Likewise.
7229 (cosh_test_downward): Likewise.
7230 (cosh_test_upward): Likewise.
7231 (cpow_test): Likewise.
7232 (csin_test): Likewise.
7233 (csinh_test): Likewise.
7234 (csqrt_test): Likewise.
7235 (ctan_test): Likewise.
7236 (ctan_test_tonearest): Likewise.
7237 (ctan_test_towardzero): Likewise.
7238 (ctan_test_downward): Likewise.
7239 (ctan_test_upward): Likewise.
7240 (ctanh_test): Likewise.
7241 (ctanh_test_tonearest): Likewise.
7242 (ctanh_test_towardzero): Likewise.
7243 (ctanh_test_downward): Likewise.
7244 (ctanh_test_upward): Likewise.
7245 (erf_test): Likewise.
7246 (erfc_test): Likewise.
7247 (exp_test): Likewise.
7248 (exp_test_tonearest): Likewise.
7249 (exp_test_towardzero): Likewise.
7250 (exp_test_downward): Likewise.
7251 (exp_test_upward): Likewise.
7252 (exp10_test): Likewise.
7253 (exp2_test): Likewise.
7254 (expm1_test): Likewise.
7255 (fmod_test): Likewise.
7256 (gamma_test): Likewise.
7257 (hypot_test): Likewise.
7258 (j0_test): Likewise.
7259 (j1_test): Likewise.
7260 (jn_test): Likewise.
7261 (lgamma_test): Likewise.
7262 (log_test): Likewise.
7263 (log10_test): Likewise.
7264 (log1p_test): Likewise.
7265 (log2_test): Likewise.
7266 (logb_test_downward): Likewise.
7267 (pow_test): Likewise.
7268 (pow_test_tonearest): Likewise.
7269 (pow_test_towardzero): Likewise.
7270 (pow_test_downward): Likewise.
7271 (pow_test_upward): Likewise.
7272 (remainder_test): Likewise.
7273 (remquo_test): Likewise.
7274 (sin_test): Likewise.
7275 (sin_test_tonearest): Likewise.
7276 (sin_test_towardzero): Likewise.
7277 (sin_test_downward): Likewise.
7278 (sin_test_upward): Likewise.
7279 (sincos_test): Likewise.
7280 (sinh_test): Likewise.
7281 (sinh_test_tonearest): Likewise.
7282 (sinh_test_towardzero): Likewise.
7283 (sinh_test_downward): Likewise.
7284 (sinh_test_upward): Likewise.
7285 (sqrt_test): Likewise.
7286 (tan_test): Likewise.
7287 (tan_test_tonearest): Likewise.
7288 (tan_test_towardzero): Likewise.
7289 (tan_test_downward): Likewise.
7290 (tan_test_upward): Likewise.
7291 (tanh_test): Likewise.
7292 (tgamma_test): Likewise.
7293 (y0_test): Likewise.
7294 (y1_test): Likewise.
7295 (yn_test): Likewise.
7296
323e5cb7
JM
7297 * math/gen-libm-test.pl (adjust_arg): Remove function.
7298 (special_function): Remove argument $in_func. Only handle
7299 generating output for tables of tests, not inside functions.
7300 (parse_args): Likewise.
7301 (generate_testfile): Remove variable $in_func. Update call to
7302 parse_args.
7303 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7304 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7305 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7306 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7307 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7308 (MAX_VALUE_INIT): Rename macro to max_value.
7309 (MIN_VALUE_INIT): Rename macro to min_value.
7310 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7311 (plus_zero): Remove variable.
7312 (minus_zero): Likewise.
7313 (plus_infty): Likewise.
7314 (minus_infty): Likewise.
7315 (qnan_value): Likewise.
7316 (max_value): Likewise.
7317 (min_value): Likewise.
7318 (min_subnorm_value): Likewise.
7319
e054f494
RA
73202013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7321
7322 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7323 uint64_t or uint32_t usage.
7324 * crypt/sha256-block.c: Likewise.
7325 * crypt/sha256-crypt.c: Likewise.
7326 * crypt/sha256.c: Likewise.
7327 * crypt/sha512-block.c: Likewise.
7328 * crypt/sha512-crypt.c: Likewise.
7329 * crypt/sha512.c: Likewise.
7330 * debug/backtrace-tst.c: Likewise.
7331 * debug/pcprofiledump.c: Likewise.
7332 * elf/cache.c: Likewise.
7333 * elf/dl-cache.c: Likewise.
7334 * elf/dl-misc.c: Likewise.
7335 * elf/dl-profile.c: Likewise.
7336 * elf/dl-support.c: Likewise.
7337 * elf/ldconfig.c: Likewise.
7338 * elf/sprof.c: Likewise.
7339 * iconv/dummy-repertoire.c: Likewise.
7340 * iconv/iconv_charmap.c: Likewise.
7341 * iconv/skeleton.c: Likewise.
7342 * iconvdata/8bit-generic.c: Likewise.
7343 * iconvdata/cp737.h: Likewise.
7344 * iconvdata/cp775.h: Likewise.
7345 * iconvdata/ibm1008.h: Likewise.
7346 * iconvdata/ibm1025.h: Likewise.
7347 * iconvdata/ibm1046.h: Likewise.
7348 * iconvdata/ibm1097.h: Likewise.
7349 * iconvdata/ibm1112.h: Likewise.
7350 * iconvdata/ibm1122.h: Likewise.
7351 * iconvdata/ibm1123.h: Likewise.
7352 * iconvdata/ibm1124.h: Likewise.
7353 * iconvdata/ibm1129.h: Likewise.
7354 * iconvdata/ibm1130.h: Likewise.
7355 * iconvdata/ibm1132.h: Likewise.
7356 * iconvdata/ibm1133.h: Likewise.
7357 * iconvdata/ibm1137.h: Likewise.
7358 * iconvdata/ibm1140.h: Likewise.
7359 * iconvdata/ibm1141.h: Likewise.
7360 * iconvdata/ibm1142.h: Likewise.
7361 * iconvdata/ibm1143.h: Likewise.
7362 * iconvdata/ibm1144.h: Likewise.
7363 * iconvdata/ibm1145.h: Likewise.
7364 * iconvdata/ibm1146.h: Likewise.
7365 * iconvdata/ibm1147.h: Likewise.
7366 * iconvdata/ibm1148.h: Likewise.
7367 * iconvdata/ibm1149.h: Likewise.
7368 * iconvdata/ibm1153.h: Likewise.
7369 * iconvdata/ibm1154.h: Likewise.
7370 * iconvdata/ibm1155.h: Likewise.
7371 * iconvdata/ibm1156.h: Likewise.
7372 * iconvdata/ibm1157.h: Likewise.
7373 * iconvdata/ibm1158.h: Likewise.
7374 * iconvdata/ibm1160.h: Likewise.
7375 * iconvdata/ibm1161.h: Likewise.
7376 * iconvdata/ibm1162.h: Likewise.
7377 * iconvdata/ibm1163.h: Likewise.
7378 * iconvdata/ibm1164.h: Likewise.
7379 * iconvdata/ibm1166.h: Likewise.
7380 * iconvdata/ibm1167.h: Likewise.
7381 * iconvdata/ibm12712.h: Likewise.
7382 * iconvdata/ibm1390.h: Likewise.
7383 * iconvdata/ibm1399.h: Likewise.
7384 * iconvdata/ibm16804.h: Likewise.
7385 * iconvdata/ibm4517.h: Likewise.
7386 * iconvdata/ibm4899.h: Likewise.
7387 * iconvdata/ibm4909.h: Likewise.
7388 * iconvdata/ibm4971.h: Likewise.
7389 * iconvdata/ibm5347.h: Likewise.
7390 * iconvdata/ibm803.h: Likewise.
7391 * iconvdata/ibm856.h: Likewise.
7392 * iconvdata/ibm901.h: Likewise.
7393 * iconvdata/ibm902.h: Likewise.
7394 * iconvdata/ibm9030.h: Likewise.
7395 * iconvdata/ibm9066.h: Likewise.
7396 * iconvdata/ibm921.h: Likewise.
7397 * iconvdata/ibm922.h: Likewise.
7398 * iconvdata/ibm9448.h: Likewise.
7399 * iconvdata/isiri-3342.h: Likewise.
7400 * iconvdata/jis0201.h: Likewise.
7401 * include/link.h: Likewise.
7402 * include/netdb.h: Likewise.
7403 * inet/check_native.c: Likewise.
7404 * inet/check_pf.c: Likewise.
7405 * inet/getipv4sourcefilter.c: Likewise.
7406 * inet/getnameinfo.c: Likewise.
7407 * inet/getsourcefilter.c: Likewise.
7408 * inet/htonl.c: Likewise.
7409 * inet/setipv4sourcefilter.c: Likewise.
7410 * inet/setsourcefilter.c: Likewise.
7411 * inet/test-inet6_opt.c: Likewise.
7412 * inet/tst-network.c: Likewise.
7413 * locale/C-collate.c: Likewise.
7414 * locale/C-ctype.c: Likewise.
7415 * locale/C-time.c: Likewise.
7416 * locale/C-translit.h: Likewise.
7417 * locale/loadarchive.c: Likewise.
7418 * locale/programs/3level.h: Likewise.
7419 * locale/programs/charmap.c: Likewise.
7420 * locale/programs/charmap.h: Likewise.
7421 * locale/programs/ld-address.c: Likewise.
7422 * locale/programs/ld-collate.c: Likewise.
7423 * locale/programs/ld-ctype.c: Likewise.
7424 * locale/programs/ld-identification.c: Likewise.
7425 * locale/programs/ld-measurement.c: Likewise.
7426 * locale/programs/ld-messages.c: Likewise.
7427 * locale/programs/ld-monetary.c: Likewise.
7428 * locale/programs/ld-name.c: Likewise.
7429 * locale/programs/ld-numeric.c: Likewise.
7430 * locale/programs/ld-paper.c: Likewise.
7431 * locale/programs/ld-telephone.c: Likewise.
7432 * locale/programs/ld-time.c: Likewise.
7433 * locale/programs/linereader.c: Likewise.
7434 * locale/programs/locale.c: Likewise.
7435 * locale/programs/locarchive.c: Likewise.
7436 * locale/programs/locfile.h: Likewise.
7437 * locale/programs/repertoire.c: Likewise.
7438 * locale/programs/simple-hash.c: Likewise.
7439 * locale/programs/simple-hash.h: Likewise.
7440 * malloc/memusage.c: Likewise.
7441 * malloc/memusagestat.c: Likewise.
7442 * nis/nis_defaults.c: Likewise.
7443 * nis/nis_hash.c: Likewise.
7444 * nis/nis_print.c: Likewise.
7445 * nis/nis_xdr.c: Likewise.
7446 * nscd/connections.c: Likewise.
7447 * nscd/hstcache.c: Likewise.
7448 * nscd/nscd_gethst_r.c: Likewise.
7449 * nscd/nscd_getserv_r.c: Likewise.
7450 * nscd/nscd_helper.c: Likewise.
7451 * nscd/servicescache.c: Likewise.
7452 * nss/makedb.c: Likewise.
7453 * nss/nss_db/db-XXX.c: Likewise.
7454 * nss/nss_db/db-initgroups.c: Likewise.
7455 * nss/nss_db/db-netgrp.c: Likewise.
7456 * nss/nss_files/files-network.c: Likewise.
7457 * nss/nss_files/files-parse.c: Likewise.
7458 * posix/bug-regex5.c: Likewise.
7459 * posix/fnmatch_loop.c: Likewise.
7460 * posix/regcomp.c: Likewise.
7461 * posix/regexec.c: Likewise.
7462 * posix/tst-rfc3484-2.c: Likewise.
7463 * posix/tst-rfc3484-3.c: Likewise.
7464 * posix/tst-rfc3484.c: Likewise.
7465 * resolv/nss_dns/dns-canon.c: Likewise.
7466 * resolv/nss_dns/dns-network.c: Likewise.
7467 * resolv/res_init.c: Likewise.
7468 * resolv/res_mkquery.c: Likewise.
7469 * resolv/tst-aton.c: Likewise.
7470 * stdlib/cxa_atexit.c: Likewise.
7471 * stdlib/cxa_finalize.c: Likewise.
7472 * stdlib/gen-fpioconst.c: Likewise.
7473 * stdlib/strtol_l.c: Likewise.
7474 * string/tst-endian.c: Likewise.
7475 * sunrpc/auth_des.c: Likewise.
7476 * sunrpc/clnt_udp.c: Likewise.
7477 * sunrpc/rtime.c: Likewise.
7478 * sunrpc/svcauth_des.c: Likewise.
7479 * sunrpc/xdr.c: Likewise.
7480 * sunrpc/xdr_intXX_t.c: Likewise.
7481 * sunrpc/xdr_rec.c: Likewise.
7482 * sysdeps/generic/ldconfig.h: Likewise.
7483 * sysdeps/generic/ldsodefs.h: Likewise.
7484 * sysdeps/generic/memusage.h: Likewise.
7485 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7486 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7487 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7488 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7489 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7490 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7491 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7492 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7493 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7494 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7495 * sysdeps/posix/getaddrinfo.c: Likewise.
7496 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7497 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7498 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7499 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7500 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7501 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7502 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7503 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7504 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7505 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7506 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7507 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7508 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7509 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7510 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7511 * sysdeps/x86_64/dl-tls.h: Likewise.
7512 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7513 * time/alt_digit.c: Likewise.
7514 * time/era.c: Likewise.
7515 * wcsmbs/tst-c16c32-1.c: Likewise.
7516
8c75f674
JM
75172013-05-16 Joseph Myers <joseph@codesourcery.com>
7518
7519 * math/libm-test.inc (struct test_sincos_data): New type.
7520 (RUN_TEST_LOOP_sincos): New macro.
7521 (sincos_test_data): New variable.
7522 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7523
e6e49e59
RH
75242013-05-16 Richard Henderson <rth@redhat.com>
7525
7526 * math/atest-exp2.c (LIMB64): New macro.
7527 (CONSTSZ): New macro.
7528 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7529 (hexdig): Move ...
7530 (print_mpn_fp): ... to function scope.
7531 (read_mpn_hex): Remove.
7532 (get_log2): Remove.
7533 (exp2_mpn): Use mp_log2.
7534 (main): Use mp_exp1.
7535
15c7c18d
JM
75362013-05-16 Joseph Myers <joseph@codesourcery.com>
7537
105a07df
JM
7538 * math/libm-test.inc: Remove comment about not testing "inexact"
7539 exceptions.
7540 (INEXACT_EXCEPTION): New macro.
7541 (NO_INEXACT_EXCEPTION): Likewise.
7542 (INVALID_EXCEPTION_OK): Update value.
7543 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7544 (OVERFLOW_EXCEPTION_OK): Likewise.
7545 (UNDERFLOW_EXCEPTION_OK): Likewise.
7546 (IGNORE_ZERO_INF_SIGN): Likewise.
7547 (ERRNO_UNCHANGED): Likewise.
7548 (ERRNO_EDOM): Likewise.
7549 (ERRNO_ERANGE): Likewise.
7550 (test_exceptions): Handle testing "inexact" exceptions.
7551 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7552 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7553 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7554 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7555 INEXACT_EXCEPTION.
7556 (rint_towardzero_test_data): Likewise.
7557 (rint_downward_test_data): Likewise.
7558 (rint_upward_test_data): Likewise.
7559
e9eee333
JM
7560 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7561 with OVERFLOW_EXCEPTION.
7562 (exp10_test_data): Likewise.
7563 (exp2_test_data): Likewise.
7564 (expm1_test_data): Likewise.
7565 (lgamma_test_data): Likewise.
7566 (pow_test_data): Likewise.
7567 (tgamma_test_data): Likewise.
7568 (yn_test_data): Remove duplicate test of overflow.
7569
1c38ff73
JM
7570 * math/libm-test.inc (struct test_cc_c_data): New type.
7571 (RUN_TEST_LOOP_cc_c): New macro.
7572 (cpow_test_data): New variable.
7573 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7574
15c7c18d
JM
7575 * math/libm-test.inc (struct test_f_L_data): New type.
7576 (RUN_TEST_LOOP_f_L): New macro.
7577 (llrint_test_data): New variable.
7578 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7579 (llrint_tonearest_test_data): New variable.
7580 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7581 (llrint_towardzero_test_data): New variable.
7582 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7583 (llrint_downward_test_data): New variable.
7584 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7585 (llrint_upward_test_data): New variable.
7586 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7587 (llround_test_data): New variable.
7588 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7589
f137ff13
PC
75902013-05-13 Peter Collingbourne <pcc@google.com>
7591
7592 * math/atest-exp2.c (get_log2): Remove const attribute.
7593
3608cb24
JM
75942013-05-15 Joseph Myers <joseph@codesourcery.com>
7595
7596 * math/libm-test.inc (struct test_f_l_data): New type.
7597 (RUN_TEST_LOOP_f_l): New macro.
7598 (lrint_test_data): New variable.
7599 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7600 (lrint_tonearest_test_data): New variable.
7601 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7602 (lrint_towardzero_test_data): New variable.
7603 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7604 (lrint_downward_test_data): New variable.
7605 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7606 (lrint_upward_test_data): New variable.
7607 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7608 (lround_test_data): New variable.
7609 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7610
39b1f617
PC
76112013-05-15 Peter Collingbourne <pcc@google.com>
7612
1deff3dc
PC
7613 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7614 (EXTRACT_WORDS64) Use where appropriate.
7615 (INSERT_WORDS64) Likewise.
7616
791f3ba0
PC
7617 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7618 constraints with x constraints.
7619 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7620
39b1f617
PC
7621 * malloc/obstack.c (_obstack_compat): Add initializer.
7622
12fba011
EM
76232013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7624
7625 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7626 si_trapno and add si_addr_lsb to _sifields.sigfault.
7627 (si_trapno): Remove macro.
7628 (si_addr_lsb): Define new macro.
7629 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7630
d369f531
JM
76312013-05-15 Joseph Myers <joseph@codesourcery.com>
7632
b861c6c4
JM
7633 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7634 instead of TEST_f_l.
7635 (llrint_test_tonearest): Likewise.
7636 (llrint_test_towardzero): Likewise.
7637 (llrint_test_downward): Likewise.
7638 (llrint_test_upward): Likewise.
7639 (llround_test): Likewise.
7640
7abeee12
JM
7641 * math/libm-test.inc (struct test_f_i_data): Add comment.
7642 (RUN_TEST_LOOP_f_b): New macro.
7643 (RUN_TEST_LOOP_f_b_tg): Likewise.
7644 (finite_test_data): New variable.
7645 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7646 (isfinite_test_data): New variable.
7647 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7648 (isinf_test_data): New variable.
7649 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7650 (isnan_test_data): New variable.
7651 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7652 (isnormal_test_data): New variable.
7653 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7654 (issignaling_test_data): New variable.
7655 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7656 (signbit_test_data): New variable.
7657 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7658
cbe8c4d3
JM
7659 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7660 with INVALID_EXCEPTION.
7661 (acosh_test_data): Likewise.
7662 (asin_test_data): Likewise.
7663 (atanh_test_data): Likewise.
7664 (fmod_test_data): Likewise.
7665 (log_test_data): Likewise.
7666 (log10_test_data): Likewise.
7667 (log2_test_data): Likewise.
7668 (pow_test_data): Likewise.
7669 (sqrt_test_data): Likewise.
7670 (y0_test_data): Likewise.
7671 (y1_test_data): Likewise.
7672 (yn_test_data): Likewise.
7673
5575c0e5
JM
7674 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7675 function contents.
7676
d369f531
JM
7677 * math/libm-test.inc (struct test_ff_i_data): New type.
7678 (RUN_TEST_LOOP_ff_i_tg): New macro.
7679 (isgreater_test_data): New variable.
7680 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7681 (isgreaterequal_test_data): New variable.
7682 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7683 (isless_test_data): New variable.
7684 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7685 (islessequal_test_data): New variable.
7686 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7687 (islessgreater_test_data): New variable.
7688 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7689 (isunordered_test_data): New variable.
7690 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7691
781fd748
DM
76922013-05-14 David S. Miller <davem@davemloft.net>
7693
7694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7695
87aa21df
JM
76962013-05-14 Joseph Myers <joseph@codesourcery.com>
7697
5e908270
JM
7698 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7699
f71172e5
JM
7700 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7701 extra_test to int.
7702 (struct test_f_i_data): Change type of max_ulp to int.
7703
8cfa635a
JM
7704 * math/libm-test.inc (test_ffI_f1_data): New type.
7705 (RUN_TEST_LOOP_ffI_f1): New macro.
7706 (remquo_test_data): New variable.
7707 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7708
2bcb36b2
JM
7709 * setjmp/tst-setjmp-fp.c: New file.
7710 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7711 (link-libm): New variable.
7712 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7713
acbd839a
JM
7714 * math/libm-test.inc (struct test_f_i_data): New type.
7715 (RUN_TEST_LOOP_f_i): New macro.
7716 (RUN_TEST_LOOP_f_i_tg): Likewise.
7717 (fpclassify_test_data): New variable.
7718 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7719 (ilogb_test_data): New variable.
7720 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7721
e414d745
JM
7722 * math/libm-test.inc (scalbln_test): Correct function name in END
7723 call.
7724
d9c2a0fd
JM
7725 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7726 (RUN_TEST_LOOP_fI_f1): New macro.
7727 (frexp_test_data): New variable.
7728 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7729
9dc9095d
JM
7730 * math/libm-test.inc (struct test_fF_f1_data): New type.
7731 (RUN_TEST_LOOP_fF_f1): New macro.
7732 (modf_test_data): New variable.
7733 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7734
87aa21df
JM
7735 * math/libm-test.inc (struct test_f_f1_data): New type.
7736 (RUN_TEST_LOOP_f_f1): New macro.
7737 (gamma_test_data): New variable.
7738 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7739 (lgamma_test_data): New variable.
7740 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7741
141af660
CD
77422013-05-13 Carlos O'Donell <carlos@redhat.com>
7743
7744 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7745 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7746 (main): Comment "tls" pseudo-hwcap.
7747
6d33265c
JM
77482013-05-13 Joseph Myers <joseph@codesourcery.com>
7749
68fc074c
JM
7750 * math/libm-test.inc (struct test_fl_f_data): New type.
7751 (RUN_TEST_LOOP_fl_f): New variable.
7752 (scalbln_test_data): New variable.
7753 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7754
243216e1
JM
7755 * math/libm-test.inc (struct test_fi_f_data): New type.
7756 (RUN_TEST_LOOP_fi_f): New macro.
7757 (ldexp_test_data): New variable.
7758 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7759 (scalbn_test_data): New variable.
7760 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7761
6a1992e2
JM
7762 * math/libm-test.inc (struct test_c_f_data): New type.
7763 (RUN_TEST_LOOP_c_f): New macro.
7764 (cabs_test_data): New variable.
7765 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7766 (carg_test_data): New variable.
7767 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7768 (cimag_test_data): New variable.
7769 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7770 (creal_test_data): New variable.
7771 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7772
0e400df5
JM
7773 * math/libm-test.inc (struct test_if_f_data): New type.
7774 (RUN_TEST_LOOP_if_f): New macro.
7775 (jn_test_data): New variable.
7776 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7777 (yn_test_data): New variable.
7778 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7779
6d33265c
JM
7780 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7781
f98ece5f
AZ
77822013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7783
7784 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7785 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7786
0f7d347b
SP
77872013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7788
43fe811b
SP
7789 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7790 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7791 (bench-deps): Add bench-timing.h.
7792 * benchtests-bench-skeleton.c: Include bench-timing.h.
7793 (main): Use TIMING_* macros instead of clock_gettime.
7794 * benchtests/bench-timing.h: New file.
7795
0f7d347b
SP
7796 [BZ #14582]
7797 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7798 Renamed from _LIB_VERSION.
7799 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7800
601a3a5f
JM
78012013-05-12 Joseph Myers <joseph@codesourcery.com>
7802
4f184d30
JM
7803 * math/libm-test.inc (struct test_fff_f_data): New type.
7804 (RUN_TEST_LOOP_fff_f): New macro.
7805 (fma_test_data): New variable.
7806 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7807 (fma_towardzero_test_data): New variable.
7808 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7809 (fma_downward_test_data): New variable.
7810 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7811 (fma_upward_test_data): New variable.
7812 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7813
08198877
JM
7814 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7815 (struct test_c_c_data): New type.
7816 (RUN_TEST_LOOP_c_c): New macro.
7817 (cacos_test_data): New variable.
7818 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7819 (cacosh_test_data): New variable.
7820 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7821 (casin_test_data): New variable.
7822 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7823 (casinh_test_data): New variable.
7824 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7825 (catan_test_data): New variable.
7826 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7827 (catanh_test_data): New variable.
7828 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7829 (ccos_test_data): New variable.
7830 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7831 (ccosh_test_data): New variable.
7832 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7833 (cexp_test_data): New variable.
7834 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7835 (clog_test_data): New variable.
7836 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7837 (clog10_test_data): New variable.
7838 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7839 (conj_test_data): New variable.
7840 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7841 (cproj_test_data): New variable.
7842 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7843 (csin_test_data): New variable.
7844 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7845 (csinh_test_data): New variable.
7846 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7847 (csqrt_test_data): New variable.
7848 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7849 (ctan_test_data): New variable.
7850 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7851 (ctan_tonearest_test_data): New variable.
7852 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7853 (ctan_towardzero_test_data): New variable.
7854 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7855 (ctan_downward_test_data): New variable.
7856 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7857 (ctan_upward_test_data): New variable.
7858 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7859 (ctanh_test_data): New variable.
7860 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7861 (ctanh_tonearest_test_data): New variable.
7862 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7863 (ctanh_towardzero_test_data): New variable.
7864 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7865 (ctanh_downward_test_data): New variable.
7866 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7867 (ctanh_upward_test_data): New variable.
7868 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7869 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7870 of BUILD_COMPLEX.
7871
601a3a5f
JM
7872 * math/libm-test.inc (struct test_ff_f_data): New type.
7873 (struct test_ff_f_data_nexttoward): Likewise.
7874 (RUN_TEST_LOOP_2_f): New macro.
7875 (RUN_TEST_LOOP_ff_f): Likewise.
7876 (atan2_test_data): New variable.
7877 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7878 (copysign_test_data): New variable.
7879 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7880 (fdim_test_data): New variable.
7881 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7882 (fmax_test_data): New variable.
7883 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7884 (fmin_test_data): New variable.
7885 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7886 (fmod_test_data): New variable.
7887 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7888 (hypot_test_data): New variable.
7889 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7890 (nextafter_test_data): New variable.
7891 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7892 (nexttoward_test_data): New variable.
7893 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7894 (pow_test_data): New variable.
7895 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7896 (pow_tonearest_test_data): New variable.
7897 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7898 (pow_towardzero_test_data): New variable.
7899 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7900 (pow_downward_test_data): New variable.
7901 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7902 (pow_upward_test_data): New variable.
7903 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7904 (remainder_test_data): New variable.
7905 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7906 (scalb_test_data): New variable.
7907 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7908 * sysdeps/i386/fpu/libm-test-ulps: Update.
7909
74c57478
JM
79102013-05-11 Joseph Myers <joseph@codesourcery.com>
7911
8329e4da
JM
7912 * math/libm-test.inc (fma_test): Use max_value instead of local
7913 variable fltmax.
7914 (nextafter_test): Likewise.
7915
74c57478
JM
7916 * math/libm-test.inc (acos_towardzero_test_data): New variable.
7917 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7918 (acos_downward_test_data): New variable.
7919 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7920 (acos_upward_test_data): New variable.
7921 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7922 (acosh_test_data): New variable.
7923 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7924 (asin_test_data): New variable.
7925 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7926 (asin_tonearest_test_data): New variable.
7927 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7928 (asin_towardzero_test_data): New variable.
7929 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7930 (asin_downward_test_data): New variable.
7931 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7932 (asin_upward_test_data): New variable.
7933 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7934 (asinh_test_data): New variable.
7935 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7936 (atan_test_data): New variable.
7937 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7938 (atanh_test_data): New variable.
7939 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7940 (cbrt_test_data): New variable.
7941 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7942 (ceil_test_data): New variable.
7943 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7944 (cos_test_data): New variable.
7945 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7946 (cos_tonearest_test_data): New variable.
7947 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7948 (cos_towardzero_test_data): New variable.
7949 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7950 (cos_downward_test_data): New variable.
7951 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7952 (cos_upward_test_data): New variable.
7953 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7954 (cosh_test_data): New variable.
7955 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7956 (cosh_tonearest_test_data): New variable.
7957 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7958 (cosh_towardzero_test_data): New variable.
7959 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7960 (cosh_downward_test_data): New variable.
7961 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7962 (cosh_upward_test_data): New variable.
7963 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7964 (erf_test_data): New variable.
7965 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7966 (erfc_test_data): New variable.
7967 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7968 (exp_test_data): New variable.
7969 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7970 (exp_tonearest_test_data): New variable.
7971 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7972 (exp_towardzero_test_data): New variable.
7973 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7974 (exp_downward_test_data): New variable.
7975 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7976 (exp_upward_test_data): New variable.
7977 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7978 (exp10_test_data): New variable.
7979 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7980 (exp2_test_data): New variable.
7981 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7982 (expm1_test_data): New variable.
7983 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7984 (fabs_test_data): New variable.
7985 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7986 (floor_test_data): New variable.
7987 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7988 (j0_test_data): New variable.
7989 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7990 (j1_test_data): New variable.
7991 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7992 (log_test_data): New variable.
7993 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7994 (log10_test_data): New variable.
7995 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7996 (log1p_test_data): New variable.
7997 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7998 (log2_test_data): New variable.
7999 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8000 (logb_test_data): New variable.
8001 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8002 (logb_downward_test_data): New variable.
8003 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8004 (nearbyint_test_data): New variable.
8005 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8006 (rint_test_data): New variable.
8007 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8008 (rint_tonearest_test_data): New variable.
8009 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8010 (rint_towardzero_test_data): New variable.
8011 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8012 (rint_downward_test_data): New variable.
8013 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8014 (rint_upward_test_data): New variable.
8015 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8016 (round_test_data): New variable.
8017 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8018 (sin_test_data): New variable.
8019 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8020 (sin_tonearest_test_data): New variable.
8021 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8022 (sin_towardzero_test_data): New variable.
8023 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8024 (sin_downward_test_data): New variable.
8025 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8026 (sin_upward_test_data): New variable.
8027 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8028 (sinh_test_data): New variable.
8029 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8030 (sinh_tonearest_test_data): New variable.
8031 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8032 (sinh_towardzero_test_data): New variable.
8033 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8034 (sinh_downward_test_data): New variable.
8035 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8036 (sinh_upward_test_data): New variable.
8037 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8038 (sqrt_test_data): New variable.
8039 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8040 (tan_test_data): New variable.
8041 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8042 (tan_tonearest_test_data): New variable.
8043 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8044 (tan_towardzero_test_data): New variable.
8045 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8046 (tan_downward_test_data): New variable.
8047 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8048 (tan_upward_test_data): New variable.
8049 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8050 (tanh_test_data): New variable.
8051 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8052 (tgamma_test_data): New variable.
8053 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8054 (trunc_test_data): New variable.
8055 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8056 (y0_test_data): New variable.
8057 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8058 (y1_test_data): New variable.
8059 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8060 (significand_test_data): New variable.
8061 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8062
7187d844
CG
80632013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8064
8065 [BZ #12387]
8066 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8067
f63fae73
PT
80682013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8069
8070 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8071
8a67a4b3
AJ
80722013-05-10 Andreas Jaeger <aj@suse.de>
8073
8074 [BZ #15448]
8075 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8076 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8077
51df539d
JM
80782013-05-10 Joseph Myers <joseph@codesourcery.com>
8079
8080 * math/gen-libm-test.pl (adjust_arg): New function.
8081 (special_functions): Handle generating output in both functions
8082 and arrays.
8083 (parse_args): Likewise.
8084 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8085 $in_func argument to parse_args.
8086 * math/libm-test.inc (struct test_f_f_data): New type.
8087 (IF_ROUND_INIT_): New macro.
8088 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8089 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8090 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8091 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8092 (ROUND_RESTORE_): Likewise.
8093 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8094 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8095 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8096 (ROUND_RESTORE_FE_UPWARD): Likewise.
8097 (RUN_TEST_LOOP_f_f): New macro.
8098 (acos_test_data): New variable.
8099 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8100 (acos_tonearest_test_data): New variable.
8101 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8102
5c637fe5
SP
81032013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8104
8105 * benchtests/bench-skeleton.c (startup): Fix coding style.
8106
ab2b9461
JM
81072013-05-10 Joseph Myers <joseph@codesourcery.com>
8108
8109 [BZ #6809]
8110 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8111 negative infinity argument.
8112 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8113 negative infinity argument.
8114 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8115 negative infinity argument.
8116 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8117 domain errors.
8118
4c0fe6fe
FW
81192013-05-10 Florian Weimer <fweimer@redhat.com>
8120
8121 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8122 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8123 * iconv/iconv_prog.c (main): Likewise.
8124 * locale/programs/charmap-dir.c (charmap_readdir)
8125 (fopen_uncompressed): Likewise.
8126 * locale/programs/locfile.c (siblings_uncached)
8127 (write_locale_data): Use lstat64 instead of lstat.
8128 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8129 stat.
8130
a3375d29
AJ
81312013-05-10 Andreas Jaeger <aj@suse.de>
8132
8133 [BZ #15395]
8134 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8135 localization.
8136 Include <locale.h>.
8137
36129722
CD
81382013-05-09 Carlos O'Donell <carlos@redhat.com>
8139
8140 * elf/dl-close.c (_dl_close_worker): Add comments.
8141
faa7f811
JM
81422013-05-09 Joseph Myers <joseph@codesourcery.com>
8143
ed41ffef
JM
8144 [BZ #15359]
8145 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8146 high part of pi/2.
8147 (__ieee754_rem_pio2l): Update comments.
8148
d0213cd0
JM
8149 [BZ #15429]
8150 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8151 high part of pi/2.
8152 (__ieee754_rem_pio2l): Update comments.
8153
0d3e777a
JM
8154 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8155 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8156
24f56066
JM
8157 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8158 M_PI_4l.
8159
faa7f811
JM
8160 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8161 (M_PI_34_LOG10El): Likewise.
8162 (M_PI2_LOG10El): Likewise.
8163 (M_PI4_LOG10El): Likewise.
8164 (M_PI_LOG10El): Likewise.
8165
e9a5e0fd
AZ
81662013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8167
8168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8169
d8cd06db
JM
81702013-05-08 Joseph Myers <joseph@codesourcery.com>
8171
a0d9f9d7
JM
8172 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8173 (MINUS_ZERO_INIT): Likewise.
8174 (PLUS_INFTY_INIT): Likewise.
8175 (MINUS_INFTY_INIT): Likewise.
8176 (QNAN_VALUE_INIT): Likewise.
8177 (MAX_VALUE_INIT): Likewise.
8178 (MIN_VALUE_INIT): Likewise.
8179 (MIN_SUBNORM_VALUE_INIT): Likewise.
8180 (plus_zero): Initialize with PLUS_ZERO_INIT.
8181 (minus_zero): Initialize with MINUS_ZERO_INIT.
8182 (plus_infty): Initialize with PLUS_INFTY_INIT.
8183 (minus_infty): Initialize with MINUS_INFTY_INIT.
8184 (qnan_value): Initialize with QNAN_VALUE_INIT.
8185 (max_value): Initialize with MAX_VALUE_INIT.
8186 (min_value): Initialize with MIN_VALUE_INIT.
8187 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8188
ae08db3b
JM
8189 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8190 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8191 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8192 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8193
f44bf14a
JM
8194 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8195 (RUN_TEST_2_f): Likewise.
8196 (RUN_TEST_ff_f): Likewise.
8197 (RUN_TEST_fi_f): Likewise.
8198 (RUN_TEST_fl_f): Likewise.
8199 (RUN_TEST_fff_f): Likewise.
8200 (RUN_TEST_c_f): Likewise.
8201 (RUN_TEST_f_f1): Likewise.
8202 (RUN_TEST_fF_f1): Likewise.
8203 (RUN_TEST_fI_f1): Likewise.
8204 (RUN_TEST_ffI_f1): Likewise.
8205 (RUN_TEST_c_c): Likewise.
8206 (RUN_TEST_cc_c): Likewise.
8207 (RUN_TEST_f_i): Likewise.
8208 (RUN_TEST_f_i_tg): Likewise.
8209 (RUN_TEST_ff_i_tg): Likewise.
8210 (RUN_TEST_f_b): Likewise.
8211 (RUN_TEST_f_b_tg): Likewise.
8212 (RUN_TEST_f_l): Likewise.
8213 (RUN_TEST_f_L): Likewise.
8214 (RUN_TEST_sincos): Likewise.
8215 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8216 whether to show exceptions. Do not include ");\n" in return
8217 value.
8218 (special_functions): Output call to RUN_TEST_sincos instead of
8219 check_float calls. Update calls to new_test.
8220 (parse_args): Output call to single RUN_TEST_* macro instead of
8221 check_* calls and other assignments. Update calls to new_test.
8222
d8cd06db
JM
8223 [BZ #2546]
8224 [BZ #2560]
8225 [BZ #5159]
8226 [BZ #15426]
8227 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8228 input to result for tgamma overflow.
8229 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8230 (gamma_coeff): New variable.
8231 (NCOEFF): New macro.
8232 (gamma_positive): New function.
8233 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8234 underflow here. Use gamma_positive instead of exp (lgamma) for
8235 other arguments.
8236 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8237 (gamma_coeff): New variable.
8238 (NCOEFF): New macro.
8239 (gammaf_positive): New function.
8240 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8241 underflow here. Use gamma_positive instead of exp (lgamma) for
8242 other arguments.
8243 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8244 (gamma_coeff): New variable.
8245 (NCOEFF): New macro.
8246 (gammal_positive): New function.
8247 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8248 underflow here. Use gamma_positive instead of exp (lgamma) for
8249 other arguments.
8250 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8251 (gamma_coeff): New variable.
8252 (NCOEFF): New macro.
8253 (gammal_positive): New function.
8254 (__ieee754_gammal_r): Handle positive infinity, overflow and
8255 underflow here. Handle NaN the same as positive infinity. Remove
8256 check x < 0xffffffff for negative integers. Use gamma_positive
8257 instead of exp (lgamma) for other arguments.
8258 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8259 (gamma_coeff): New variable.
8260 (NCOEFF): New macro.
8261 (gammal_positive): New function.
8262 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8263 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8264 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8265 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8266 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8267 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8268 * sysdeps/generic/math_private.h (__gamma_productf): New
8269 prototype.
8270 (__gamma_product): Likewise.
8271 (__gamma_productl): Likewise.
8272 * math/Makefile (libm-calls): Add gamma_product.
8273 * math/libm-test.inc (tgamma_test): Add more tests.
8274 * sysdeps/i386/fpu/libm-test-ulps: Update.
8275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8276
bb7cf681
OB
82772013-05-08 Ondřej Bílka <neleai@seznam.cz>
8278
8279 * benchtests/bench-skeleton.c (main): Preheat CPU.
8280
ba853947
AJ
82812013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8282
8283 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8284
8347c74c
RM
82852013-05-07 Roland McGrath <roland@hack.frob.com>
8286
8287 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8288 and _dl_skip_args_internal.
8289
e8dd4791
CD
82902013-05-07 Carlos O'Donell <carlos@redhat.com>
8291
8292 * manual/message.texi (Message Translation): Talk about users.
8293 Message to key mapping impacts design.
8294
c7405830
RM
82952013-05-06 Roland McGrath <roland@hack.frob.com>
8296
a9173057
RM
8297 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8298
976e2f03
RM
8299 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8300
9723ffc5
RM
8301 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8302 * sysdeps/wordsize-64/glob64.c: ... here.
8303
962e6658
RM
8304 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8305 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8306 New macros.
8307
ee586a6d
RM
8308 * debug/getlogin_r_chk.c: Moved to ...
8309 * login/getlogin_r_chk.c: ... here.
8310 * debug/Makefile (routines): Move getlogin_r_chk to ...
8311 * login/Makefile (routines): ... here.
8312 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8313 * login/Versions (libc: GLIBC_2.4): ... here.
8314
355f9165
RM
8315 * io/poll.c (__poll): Renamed from poll.
8316 Add libc_hidden_def.
8317 (poll): Define as weak alias.
8318
bd9ffde6
RM
8319 * debug/ptsname_r_chk.c: Moved to ...
8320 * login/ptsname_r_chk.c: ... here.
8321 * debug/Makefile (routines): Move ptsname_r_chk to ...
8322 * login/Makefile (routines): ... here.
8323 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8324 * login/Versions (libc: GLIBC_2.4): ... here.
8325
8fb16a04
RM
8326 * posix/getlogin.c: Moved to ...
8327 * login/getlogin.c: ... here.
8328 * posix/getlogin_r.c: Moved to ...
8329 * login/getlogin_r.c: ... here.
8330 * posix/getlogin_r.c: Moved to ...
8331 * login/getlogin_r.c: ... here.
8332 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8333 * login/Makefile (routines): ... here.
8334 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8335 * login/Versions (libc: GLIBC_2.0): ... here.
8336
b99b892f
RM
8337 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8338 (setrlimit): Define as weak alias.
8339
c7405830
RM
8340 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8341 Call __ names for open, ftruncate, and close.
8342 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8343 (truncate): Define as weak alias.
8344
5bf96de5
JM
83452013-05-06 Joseph Myers <joseph@codesourcery.com>
8346
9ea3513c
JM
8347 * math/gen-libm-test.pl (parse_args): Initialize x before each
8348 test of frexp, modf and remquo.
8349
5bf96de5
JM
8350 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8351 test signgam value.
8352
16e616a7
AZ
83532013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8354
8355 [BZ #15418]
8356 [BZ #15419]
8357 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8358 internal tests.
8359 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8360
d5e82754
RM
83612013-05-06 Roland McGrath <roland@hack.frob.com>
8362
8363 * elf/dl-writev.h: New file.
8364 * elf/dl-misc.c: Include it.
8365 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8366 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8367
a7548d41
JM
83682013-05-04 Joseph Myers <joseph@codesourcery.com>
8369
b7dab1e4
JM
8370 * math/libm-test.inc (noXFails): Remove variable.
8371 (noXPasses): Likewise.
8372 (BUILD_COMPLEX_INT): Remove macro.
8373 (print_screen): Remove xfail argument.
8374 (print_screen_max_error): Likewise.
8375 (update_stats): Likewise.
8376 (print_max_error): Likewise. Update calls to other affected
8377 functions.
8378 (print_complex_max_error): Likewise.
8379 (test_single_exception): Update calls to print_screen.
8380 (test_single_errno): Likewise.
8381 (check_float_internal): Remove xfail argument. Update calls to
8382 other affected functions.
8383 (check_float): Likewise.
8384 (check_complex): Likewise.
8385 (check_int): Likewise.
8386 (check_long): Likewise.
8387 (check_bool): Likewise.
8388 (check_longlong): Likewise.
8389 (main): Don't print noXFails and noXPasses.
8390 * math/gen-libm-test.pl (top level): Don't mention expected
8391 failure handling in comment.
8392 (new_test): Don't handle expected failures.
8393 (parse_args): Don't mention expected failure handling in comment.
8394 (generate_testfile): Don't handle expected failures.
8395 (parse_ulps): Likewise.
8396 (print_ulps_file): Likewise.
8397 (get_failure): Remove function.
8398 (output_test): Don't handle expected failures.
8399 * make/README.libm-test: Don't mention expected failure handling.
8400
a7548d41
JM
8401 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8402 (minus_zero): Likewise.
8403 (plus_infty): Likewise.
8404 (minus_infty): Likewise.
8405 (qnan_value): Likewise.
8406 (max_value): Likewise.
8407 (min_value): Likewise.
8408 (min_subnorm_value): Likewise.
8409 (initialize): Do not initialize those variables dynamically.
8410
60bfd54c
RM
84112013-05-03 Roland McGrath <roland@hack.frob.com>
8412
cc0e6ed8
RM
8413 * io/open.c (__open_2): Moved to ...
8414 * io/open_2.c: ... this new file.
8415 * io/open64.c (__open64_2): Moved to ...
8416 * io/open64_2.c: ... this new file.
8417 * io/openat.c (__openat_2): Moved to ...
8418 * io/openat_2.c: ... this new file.
8419 * io/openat64.c (__openat64_2): Moved to ...
8420 * io/openat64_2.c: ... this new file.
8421 * io/Makefile (routines): Add them.
8422 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8423 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8424 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8425 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8426 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8427 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8428 (__openat64): Add hidden_ver.
8429 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8430 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8431
60bfd54c
RM
8432 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8433 Separately conditionalize setting of GLRO(dl_sysinfo) so
8434 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8435 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8436
83e7640f
AZ
84372013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8438
8439 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8440 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8441 definition.
8442 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8443 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8444 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8445 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8446 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8447
d5dc2af3
JM
84482013-05-03 Joseph Myers <joseph@codesourcery.com>
8449
c31a5b1e
JM
8450 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8451 test signgam value.
8452
d5dc2af3
JM
8453 * math/libm-test.inc (hypot_test): Do not use
8454 IGNORE_ZERO_INF_SIGN.
8455
164fd39d
AJ
84562013-05-03 Andreas Jaeger <aj@suse.de>
8457
8458 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8459 Linux 3.9.
8460 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8461 (PF_MAX): Adjust for VSOCK change.
8462
8237f48c
AZ
84632013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8464
8465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8466
9df02941
CD
84672013-05-02 Carlos O'Donell <carlos@redhat.com>
8468
8469 [BZ #15264]
8470 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8471 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8472 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8473
d422395e
DM
84742013-05-02 David S. Miller <davem@davemloft.net>
8475
8476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8477
a07c5731
OB
84782013-05-01 Ondřej Bílka <neleai@seznam.cz>
8479
8480 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8481
1324e37f
RM
84822013-05-01 Roland McGrath <roland@hack.frob.com>
8483
8484 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8485
0695940b
RS
84862013-05-01 Richard Smith <richard@metafoo.co.uk>
8487
bb5f27ad 8488 [BZ #14952]
0695940b
RS
8489 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8490 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8491 Use __attribute__ ((__gnu_inline__)).
8492 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8493 Don't use __attribute__ ((__gnu_inline__)).
8494
10de07f5
JM
84952013-05-01 Joseph Myers <joseph@codesourcery.com>
8496
8497 [BZ #15423]
8498 * math/s_catan.c (__catan): Handle small real or imaginary part of
8499 input specially to avoid spurious underflow.
8500 * math/s_catanf.c (__catanf): Likewise.
8501 * math/s_catanh.c (__catanh): Likewise.
8502 * math/s_catanhf.c (__catanhf): Likewise.
8503 * math/s_catanhl.c (__catanhl): Likewise.
8504 * math/s_catanl.c (__catanl): Likewise.
8505 * math/libm-test.inc (catan_test): Add more tests.
8506 (catanh_test): Likewise.
8507 * sysdeps/i386/fpu/libm-test-ulps: Update.
8508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8509
cb4d5414
AZ
85102013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8511
8512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8513
caf84319
JM
85142013-04-30 Joseph Myers <joseph@codesourcery.com>
8515
8516 [BZ #15416]
8517 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8518 accurately for denominator in atan2.
8519 * math/s_catanf.c (__catanf): Likewise.
8520 * math/s_catanh.c (__catanh): Likewise.
8521 * math/s_catanhf.c (__catanhf): Likewise.
8522 * math/s_catanhl.c (__catanhl): Likewise.
8523 * math/s_catanl.c (__catanl): Likewise.
8524 * math/libm-test.inc (catan_test): Add more tests.
8525 (catanh_test): Likewise.
8526 * sysdeps/i386/fpu/libm-test-ulps: Update.
8527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8528
d569c6ee
SP
85292013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8530
6dbe713d
SP
8531 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8532
f0ee064b
SP
8533 * benchtests/Makefile (bench): Remove slow benchmarks.
8534 * benchtests/atan-inputs: Add slow benchmark inputs.
8535 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8536 (BENCH_FUNC): Accept variant offset.
8537 (VARIANT): Define.
8538 * benchtests/bench-skeleton.c (main): Run benchmark for each
8539 variant.
8540 * benchtests/cos-inputs: Add slow benchmark inputs.
8541 * benchtests/exp-inputs: Likewise.
8542 * benchtests/pow-inputs: Likewise.
8543 * benchtests/sin-inputs: Likewise.
8544 * benchtests/slowatan-inputs: Remove.
8545 * benchtests/slowatan.c: Remove.
8546 * benchtests/slowcos-inputs: Remove.
8547 * benchtests/slowcos.c: Remove.
8548 * benchtests/slowexp-inputs: Remove.
8549 * benchtests/slowexp.c: Remove.
8550 * benchtests/slowpow-inputs: Remove.
8551 * benchtests/slowpow.c: Remove.
8552 * benchtests/slowsin-inputs: Remove.
8553 * benchtests/slowsin.c: Remove.
8554 * benchtests/slowtan-inputs: Remove.
8555 * benchtests/slowtan.c: Remove.
8556 * benchtests/tan-inputs: Add slow benchmark inputs.
8557 * scripts/bench.pl: Parse comments and directives.
8558
d569c6ee
SP
8559 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8560 in CPPFLAGS.
8561 ($(objpfx)bench-%.c): Remove *-ITER.
8562 * benchtests/bench-modf.c: Remove definition of ITER.
8563 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8564 (main): Loop for DURATION seconds instead of fixed number of
8565 iterations.
8566 * scripts/bench.pl: Don't expect iterations in parameters.
8567
a6a242fe
RM
85682013-04-29 Roland McGrath <roland@hack.frob.com>
8569
8570 * io/fchdir.c (__fchdir): Renamed from fchdir.
8571 (fchdir): Define as weak alias.
8572
f2da7793
JM
85732013-04-29 Joseph Myers <joseph@codesourcery.com>
8574
8575 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8576 (ERRNO_EDOM): Likewise.
8577 (ERRNO_ERANGE): Likewise.
8578 (noErrnoTests): New variable.
8579 (init_max_error): Set errno to 0.
8580 (test_single_errno): New function.
8581 (test_errno): Likewise.
8582 (check_float_internal): Call test_errno. Set errno to 0.
8583 (check_complex): Refer to errno tests in comment.
8584 (check_int): Call test_errno. Set errno to 0.
8585 (check_long): Likewise.
8586 (check_bool): Likewise.
8587 (check_longlong): Likewise.
8588 (cos_test): Use ERRNO_* flags for errno tests instead of
8589 check_int.
8590 (expm1_test): Likewise.
8591 (fmod_test): Likewise.
8592 (ilogb_test): Likewise.
8593 (lgamma_test): Likewise.
8594 (pow_test): Likewise.
8595 (remainder_test): Likewise.
8596 (sin_test): Likewise.
8597 (tan_test): Likewise.
8598 (yn_test): Likewise.
8599 (initialize): Set errno to 0.
8600 (main): Print number of errno tests.
8601 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8602
b1a36ceb
AJ
86032013-04-29 Andreas Jaeger <aj@suse.de>
8604
c3ed8088
AJ
8605 [BZ #15084]
8606 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8607 and RES_USEVC.
8608
f1a24198
AJ
8609 [BZ #15085]
8610 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8611 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8612 unimplemented.
8613
9ce3b2cb
AJ
8614 [BZ #15380]
8615 * stdlib/random.c (__initstate): Return NULL if
8616 __initstate fails.
8617
f1a24198 8618 [BZ #15086]
b1a36ceb
AJ
8619 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8620 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8621 RES_SNGLKUPREOP.
8622
7e7b6f36
AZ
86232013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8624
8625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8626
4d14f449
JM
86272013-04-29 Joseph Myers <joseph@codesourcery.com>
8628
8629 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8630 of individual tests.
8631 (casin_test): Likewise.
8632 (casinh_test): Likewise.
8633
5b4217d7
JM
86342013-04-27 Joseph Myers <joseph@codesourcery.com>
8635
8636 [BZ #15409]
8637 * math/s_catan.c (__catan): Handle arguments with large real or
8638 imaginary part separately without squaring.
8639 * math/s_catanf.c (__catanf): Likewise.
8640 * math/s_catanh.c (__catanh): Likewise.
8641 * math/s_catanhf.c (__catanhf): Likewise.
8642 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8643 and redefine.
8644 (__catanhl): Handle arguments with large real or imaginary part
8645 separately without squaring.
8646 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8647 and redefine.
8648 (__catanl): Handle arguments with large real or imaginary part
8649 separately without squaring.
8650 * math/libm-test.inc (catan_test): Add more tests.
8651 (catanh_test): Likewise.
8652 * sysdeps/i386/fpu/libm-test-ulps: Update.
8653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8654
4220c3ef
AJ
86552013-04-27 Andreas Jaeger <aj@suse.de>
8656
8657 [BZ #15007]
8658 * stdlib/stdlib.h: Update guards for qecvt.
8659 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8660 <stdlib.h>.
8661
4721b2d1
AM
86622013-04-27 Allan McRae <allan@archlinux.org>
8663
8664 * sysdeps/i386/fpu/libm-test-ulps: Update.
8665
f0302940
JM
86662013-04-26 Joseph Myers <joseph@codesourcery.com>
8667
9457fd95
JM
8668 [BZ #15406]
8669 * math/s_catan.c: Include <float.h>.
8670 (__catan): Ensure underflow exception occurs for underflowed
8671 result.
8672 * math/s_catanf.c: Include <float.h>.
8673 (__catanf): Ensure underflow exception occurs for underflowed
8674 result.
8675 * math/s_catanh.c: Include <float.h>.
8676 (__catanh): Ensure underflow exception occurs for underflowed
8677 result.
8678 * math/s_catanhf.c: Include <float.h>.
8679 (__catanhf): Ensure underflow exception occurs for underflowed
8680 result.
8681 * math/s_catanhl.c: Include <float.h>.
8682 (__catanhl): Ensure underflow exception occurs for underflowed
8683 result.
8684 * math/s_catanl.c: Include <float.h>.
8685 (__catanl): Ensure underflow exception occurs for underflowed
8686 result.
8687 * math/libm-test.inc (catan_test): Add more tests.
8688 (catanh_test): Likewise.
8689
f0302940
JM
8690 [BZ #15405]
8691 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8692 underflowed result.
8693 * math/s_ccoshf.c (__ccoshf): Likewise.
8694 * math/s_ccoshl.c (__ccoshl): Likewise.
8695 * math/s_csin.c (__csin): Likewise.
8696 * math/s_csinf.c (__csinf): Likewise.
8697 * math/s_csinh.c (__csinh): Likewise.
8698 * math/s_csinhf.c (__csinhf): Likewise.
8699 * math/s_csinhl.c (__csinhl): Likewise.
8700 * math/s_csinl.c (__csinl): Likewise.
8701 * math/libm-test.inc (ccos_test): Add more tests.
8702 (ccosh_test): Likewise.
8703 (csin_test): Likewise.
8704 (csinh_test): Likewise.
8705
aa630f59
AZ
87062013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8707
8708 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8709 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8710 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8711 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8712 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8713 powerpc/power5+/fpu folders.
8714 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8715
8716
1b835983
MT
87172013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8718
8719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8720
73709b26
JM
87212013-04-25 Joseph Myers <joseph@codesourcery.com>
8722
8723 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8724 additions to variable.
8725 [$(config-machine) = x86_64] (modules-names): Likewise.
8726 ($(objpfx)tst-audit3): Remove dependency.
8727 ($(objpfx)tst-audit3.out): Likewise.
8728 ($(objpfx)tst-audit4): Likewise.
8729 ($(objpfx)tst-audit4.out): Likewise.
8730 ($(objpfx)tst-audit5): Likewise.
8731 ($(objpfx)tst-audit5.out): Likewise.
8732 ($(objpfx)tst-audit6): Likewise.
8733 ($(objpfx)tst-audit6.out): Likewise.
8734 ($(objpfx)tst-audit7): Likewise.
8735 ($(objpfx)tst-audit7.out): Likewise.
8736 (tst-audit3-ENV): Remove variable.
8737 (tst-audit4-ENV): Likewise.
8738 (tst-audit5-ENV): Likewise.
8739 (tst-audit6-ENV): Likewise.
8740 (tst-audit7-ENV): Likewise.
8741 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8742 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8743 addition to variable.
8744 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8745 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8746 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8747 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8748 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8749 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8750 tst-audit3, tst-audit4 and tst-audit5.
8751 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8752 tst-audit6 and tst-audit7.
8753 [$(subdir) = elf] (modules-names): Add audit modules for those
8754 tests.
8755 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8756 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8757 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8758 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8759 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8760 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8761 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8762 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8763 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8764 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8765 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8766 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8767 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8768 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8769 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8770 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8771 Likewise.
8772 [$(subdir) = elf && $(config-cflags-avx) = yes]
8773 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8774 [$(subdir) = elf && $(config-cflags-avx) = yes]
8775 (CFLAGS-tst-auditmod4a.c): Likewise.
8776 [$(subdir) = elf && $(config-cflags-avx) = yes]
8777 (CFLAGS-tst-auditmod4b.c): Likewise.
8778 [$(subdir) = elf && $(config-cflags-avx) = yes]
8779 (CFLAGS-tst-auditmod6b.c): Likewise.
8780 [$(subdir) = elf && $(config-cflags-avx) = yes]
8781 (CFLAGS-tst-auditmod6c.c): Likewise.
8782 [$(subdir) = elf && $(config-cflags-avx) = yes]
8783 (CFLAGS-tst-auditmod7b.c): Likewise.
8784 * elf/tst-audit3.c: Move to ...
8785 * sysdeps/x86_64/tst-audit3.c: ... here.
8786 * elf/tst-audit4.c: Move to ...
8787 * sysdeps/x86_64/tst-audit4.c: ... here.
8788 * elf/tst-audit5.c: Move to ...
8789 * sysdeps/x86_64/tst-audit5.c: ... here.
8790 * elf/tst-audit6.c: Move to ...
8791 * sysdeps/x86_64/tst-audit6.c: ... here.
8792 * elf/tst-audit7.c: Move to ...
8793 * sysdeps/x86_64/tst-audit7.c: ... here.
8794 * elf/tst-auditmod3a.c: Move to ...
8795 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8796 * elf/tst-auditmod3b.c: Move to ...
8797 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8798 * elf/tst-auditmod4a.c: Move to ...
8799 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8800 * elf/tst-auditmod4b.c: Move to ...
8801 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8802 * elf/tst-auditmod5a.c: Move to ...
8803 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8804 * elf/tst-auditmod5b.c: Move to ...
8805 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8806 * elf/tst-auditmod6a.c: Move to ...
8807 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8808 * elf/tst-auditmod6b.c: Move to ...
8809 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8810 * elf/tst-auditmod6c.c: Move to ...
8811 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8812 * elf/tst-auditmod7a.c: Move to ...
8813 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8814 * elf/tst-auditmod7b.c: Move to ...
8815 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8816
1ef74943
PP
88172013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8818
8819 [BZ #15366]
8820 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8821 define unconditionally.
8822 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8823 define unconditionally.
8824 (INT8_C, INT16_C, etc.): Likewise.
8825
93fd48c5
MR
88262013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8827
ae9552cf
MR
8828 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8829 __ehdr_start with hidden visibility.
8830
93fd48c5
MR
8831 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8832
418601aa
CD
88332013-04-24 Carlos O'Donell <carlos@redhat.com>
8834
8835 * math/libm-test.inc (cos_test): Use accurate hex constants.
8836 (sincost_test): Likewise.
8837
2f38fbfe
JM
88382013-04-24 Joseph Myers <joseph@codesourcery.com>
8839
5e221800
JM
8840 * math/libm-test.inc (catan_test): Add more tests.
8841 (catanh_test): Likewise.
8842
77f143fd
JM
8843 * math/s_catanf.c (__catanf): Use suffixed floating-point
8844 constants.
8845 * math/s_catanhf.c (__catanhf): Likewise.
8846 * math/s_catanhl.c (__catanhl): Likewise.
8847 * math/s_catanl.c (__catanl): Likewise.
8848
2f38fbfe
JM
8849 [BZ #15394]
8850 * math/s_catan.c (__catan): Calculate imaginary part of result
8851 with log1p not log unless computing log of number close to 0.
8852 * math/s_catanf.c (__catanf): Likewise.
8853 * math/s_catanl.c (__catanl): Likewise.
8854 * math/s_catanh.c (__catanh): Calculate real part of result with
8855 log1p not log unless computing log of number close to 0.
8856 * math/s_catanhf.c (__catanhf): Likewise.
8857 * math/s_catanhl.c (__catanhl): Likewise.
8858 * math/libm-test.inc (catan_test): Add more tests.
8859 (catanh_test): Likewise.
8860 * sysdeps/i386/fpu/libm-test-ulps: Update.
8861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8862
45d69176
SP
88632013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8864
8865 * benchtests/Makefile: Mention files in which fast and slow
8866 paths of math functions are implemented.
8867
87f51853
RM
88682013-04-23 Roland McGrath <roland@hack.frob.com>
8869
8870 * sysdeps/posix/timespec_get.c: New file.
8871
3c026539
AZ
88722013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8873
8874 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8875 POWER.
8876 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8877 for POWER.
8878 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8879 powerpc/power5/fpu folders.
8880 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8881 * benchtests/Makefile: Add modf testcase.
8882 * benchtests/bench-modf.c: New file: Benchmark test for mo
8883
ff491d14
SP
88842013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8885
8886 [BZ #14888]
8887 * time/Makefile (tests): Add tst-strptime-whitespace.
8888 * time/strptime_l.c (get_number): Use ISSPACE.
8889 (__strptime_internal): Likewise.
8890 * time/tst-strptime-whitespace.c: New test case.
8891
7ed3f4e8
AS
88922013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8893
8894 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8895 member.
8896 (_nss_files_init): Set it here.
8897
5c95f7b6
HC
88982013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8899
8900 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8901 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8902 unsigned.
8903
d34c9158
JBG
89042013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8905
8906 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8907
2169712d
SP
89082013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8909
8910 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8911 size just once.
8912
29c5de99
DM
89132013-04-21 David S. Miller <davem@davemloft.net>
8914
8915 * po/ru.po: Update Russion translation from translation project.
8916
ccdad15d
AC
89172013-04-17 Adam Conrad <adconrad@0c3.net>
8918
8919 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8920 and setfsgid.
8921
0f122b8d
CD
89222013-04-17 Carlos O'Donell <carlos@redhat.com>
8923
5c5b07da 8924 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 8925 * configure: Regenerate.
5c5b07da 8926 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
8927 Add example to error message.
8928 * sysdeps/i386/configure: Regenerate.
8929
037714dd
SP
89302013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8931
8932 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8933 slowtan.
8934 * benchtests/cos-inputs: New file.
8935 * benchtests/slowcos-inputs: New file.
8936 * benchtests/slowcos.c: New file.
8937 * benchtests/slowtan-inputs: New file.
8938 * benchtests/slowtan.c: New file.
8939 * benchtests/tan-inputs: New file.
8940
e913141d
RM
89412013-04-16 Roland McGrath <roland@hack.frob.com>
8942
8943 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8944 considered kosher.
8945
a2964074
SP
89462013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8947
4856bcd2
SP
8948 * benchtests/Makefile: Include cppflags-iterator.mk to add
8949 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8950
a2964074
SP
8951 * Makefile.in (bench-clean): New target.
8952 * benchtests/Makefile (bench-clean): Likewise.
8953
9fbf9aca
DH
89542013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8955
8956 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8957
207d1e2a
TS
89582013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8959
8960 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8961
306dfba9
AS
89622013-04-15 Andreas Schwab <schwab@suse.de>
8963
8964 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8965 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8966 * nscd/pwdcache.c (cache_addpw): Likewise.
8967 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8968 more than recsize.
8969
206a6699
SP
89702013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8971
8972 * benchtests/Makefile (bench): Write all output to
8973 bench-out.tmp together.
8974
0582f6b3
AS
89752013-04-15 Andreas Schwab <schwab@suse.de>
8976
8977 * nscd/nscd.c (main): Don't fork again after closing files.
8978
acb4325f
SP
89792013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8980
5cb26d0a
SP
8981 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8982
acb4325f
SP
8983 * benchtests/Rules (bench-deps): Collect dependencies into a
8984 single variable. Add Makefile to dependencies.
8985 ($(objpfx)bench-%.c): Depend on bench-deps.
8986
47792506
RM
89872013-04-12 Roland McGrath <roland@hack.frob.com>
8988 Xavier Roche <roche+kml2@exalead.com>
8989
8990 [BZ #15361]
8991 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8992 just that it's a file descriptor.
8993 * manual/llio.texi (Synchronizing AIO Operations): Update description
8994 for EBADF error from aio_fsync.
8995
8fc1bee5
SP
89962013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8997
8998 * Rules (bench): Move target definition...
8999 * benchtests/Makefile: ... here.
9000
aba5e333
CD
90012013-04-11 Carlos O'Donell <carlos@redhat.com>
9002
9003 * math/libm-test.inc (cos_test): Fix PI/2 test.
9004 (sincos_test): Likewise.
9005 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9006 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9007
273cdee8
AS
90082013-04-11 Andreas Schwab <schwab@suse.de>
9009
6ecec3b6
AS
9010 [BZ #13988]
9011 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9012 accept exponent character only when digits were seen.
9013 * stdio-common/Makefile (tests): Add bug26.
9014 * stdio-common/bug26.c: New file.
9015
273cdee8
AS
9016 [BZ #14293]
9017 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9018 non-freeable.
9019
8da491f5
SP
90202013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9021
01dc6df9
SP
9022 * Makeconfig (rtld-prefix): Define built linker prefix.
9023 * Rules (run-bench): Use it.
9024 * math/Makefile (run-regen-ulps): Likewise.
9025
8da491f5
SP
9026 * Rules (bench): Remove eval.
9027
abe7f530
SP
90282013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9029 Roland McGrath <roland@hack.frob.com>
9030 Ondrej Bilka <neleai@seznam.cz>
9031
9032 [BZ #15346]
9033 * time/getdate.c: Include ctype.h and alloca.h.
9034 (__getdate_r): Trim leading and trailing spaces of input.
9035 * time/tst-getdate.c (tests): Add tests with leading and
9036 trailing spaces.
9037
61c23e62
RM
90382013-04-08 Roland McGrath <roland@hack.frob.com>
9039
9040 [BZ #14280]
9041 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9042 when computing value.
9043
7208a313
CD
90442013-04-06 Carlos O'Donell <carlos@redhat.com>
9045
085b2d41
CD
9046 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9047 Use testrun.sh to run libm tests.
9048
7208a313
CD
9049 [BZ #15309]
9050 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9051
872c0acd
MM
90522013-04-06 Marko Myllynen <myllynen@redhat.com>
9053
9054 [BZ #15264]
9055 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9056
26510bdd
CD
90572013-04-06 Carlos O'Donell <carlos@redhat.com>
9058
9059 * Makefile.in (regen-ulps): New target.
9060 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9061 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9062 [ifneq (no,$(PERL)] (regen-ulps): New target.
9063 [ifeq (no,$(PERL)] (regen-ulps): New target.
9064 * math/libm-test.inc (ulps_file_name): Define.
9065 (output_dir): New variable.
9066 (options): Add "output-dir" option.
9067 (parse_opt): Handle 'o' case.
9068 (main): If output_dir is non-NULL use it as a prefix
9069 otherwise use "".
9070 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9071
a01f19c8
CD
90722013-04-06 Carlos O'Donell <carlos@redhat.com>
9073
9074 [BZ #10060, #10062]
9075 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9076 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9077 fail configure if __sync_val_compare_and_swap is not inlined.
9078 * sysdeps/i386/configure: Regenerate.
9079 * configure.in: Build for i686 when configured for i386.
9080 * configure: Regenerate.
9081 * README: Remove i386 reference.
9082
b7a329a5
CD
90832013-04-06 Carlos O'Donell <carlos@redhat.com>
9084
9085 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9086 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9087
bf0f50df
TS
90882013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9089
ee091edf
TS
9090 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9091 (lmsnanval): New variables.
9092 (F): Add conversion tests.
9093 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9094 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9095
a8b792d6
TS
9096 * stdio-common/tstdiomisc.c (F): Properly collect individual
9097 tests' results.
9098
a1cbf437
TS
9099 [BZ #14686, #15336]
9100 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9101 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9102 Instead, use input NaN values or generate a qNaN by arithmetic
9103 operation. Also fix bugs to comply with the standard.
9104 * math/libm-test.inc (remainder_test): Add more tests.
9105
8b43a0c9
TS
9106 [BZ #15335, #15342]
9107 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9108 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9109 input NaN values or generate a qNaN by arithmetic operation.
9110
d91da4ce
TS
9111 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9112 unreachable code.
9113
bf0f50df
TS
9114 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9115 definitions.
9116
05e166c8
JM
91172013-04-03 Joseph Myers <joseph@codesourcery.com>
9118
9119 [BZ #14478]
9120 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9121 underflowed result.
9122 * math/s_cexpf.c (__cexpf): Likewise.
9123 * math/s_cexpl.c (__cexpl): Likewise.
9124 * math/libm-test.inc (cexp_test): Add more tests.
9125
1cef1b19
AS
91262013-04-03 Andreas Schwab <schwab@suse.de>
9127
9128 [BZ #15330]
9129 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9130 order arrays from heap if bigger than alloca cutoff.
9131
74d87055
TS
91322013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9133
9134 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9135 (SNAN_TESTS_double): Refer to GCC PR56831.
9136 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9137 GCC PR56828.
9138
d755bba4
SP
91392013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9140
90d5d5bb
SP
9141 * Rules (bench): Move bench.out after the run is complete.
9142
73e0cd5d
SP
9143 * Rules (bench): Echo currently running benchmark.
9144
64aabd4b
SP
9145 * benchtests/Makefile (bench): Add atan and slowatan.
9146 * benchtests/atan-inputs: New file.
9147 * benchtests/slowatan-inputs: New file.
9148 * benchtests/slowatan.c: New file.
9149
c871eccd
SP
9150 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9151 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9152 its value.
9153
d755bba4
SP
9154 [BZ #15305]
9155 * sysdeps/unix/sysv/linux/kernel-features.h
9156 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9157 __ASSUME_XFS_RESTRICTED_CHOWN.
9158 * sysdeps/unix/sysv/linux/pathconf.c
9159 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9160 Save and restore errno.
9161
52ce4860
JM
91622013-04-02 Joseph Myers <joseph@codesourcery.com>
9163
9164 [BZ #15327]
9165 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9166 arguments using __kernel_casinh.
9167 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9168 arguments using __kernel_casinhf.
9169 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9170 arguments using __kernel_casinhl.
9171 * math/libm-test.inc (cacosh_test): Add more tests.
9172 * sysdeps/i386/fpu/libm-test-ulps: Update.
9173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9174
81f311c2
SP
91752013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9176
e7906a47
SP
9177 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9178 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9179
92e3664b
SP
9180 * bench/Makefile (bench): Add sin and slowsin.
9181 * benchtests/sin-inputs: New file.
9182 * benchtests/slowsin-inputs: New file.
9183 * benchtests/slowsin.c: New file.
9184
81f311c2
SP
9185 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9186 (bench): Add slowexp and slowpow.
9187 (exp-ITER): Increase iterations.
9188 (pow-ITER): Likewise.
9189 * benchtests/exp-inputs: Change input.
9190 * benchtests/pow-inputs: Likewise.
9191 * benchtests/slowexp-inputs: New file.
9192 * benchtests/slowexp.c: New file.
9193 * benchtests/slowpow-inputs: New file.
9194 * benchtests/slowpow.c: New file.
9195
ab0f1aa9
AZ
91962013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9197
9198 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9199 instructions.
9200 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9201 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9202 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9203 * benchtests/Makefile: Add rint benchtest.
9204 * benchtests/rint-inputs: Input for rint benchtest.
9205
57267616
TS
92062013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9207
9208 * Versions.def (libm): Add GLIBC_2.18.
9209 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9210 hidden libm prototypes.
9211 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9212 * math/Makefile (libm-calls): Add s_issignaling.
9213 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9214 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9215 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9216 declaration.
9217 * math/math.h [__USE_GNU] (issignaling): New macro.
9218 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9219 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9220 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9221 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9222 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9223 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9224 * manual/arith.texi (issignaling): New section.
9225 * manual/libm-err-tab.pl (@all_functions): Update comment.
9226 * math/gen-libm-test.pl (parse_args): Apply special handling for
9227 issignaling.
9228 * math/libm-test.inc (print_float, issignaling_test): New
9229 functions.
9230 (check_float_internal): Add issignaling checks.
9231 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9232 default definition.
9233 * sysdeps/powerpc/math-tests.h: New file.
9234 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9235 tests.
9236 * math/test-snan.c (TEST_FUNC): Likewise.
9237
6142896d
DM
92382013-03-30 David S. Miller <davem@davemloft.net>
9239
9240 * po/de.po: Update from translation team.
9241
ccc8cadf
JM
92422013-03-30 Joseph Myers <joseph@codesourcery.com>
9243
9244 [BZ #10357]
9245 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9246 imaginary part less than 1.0 and real part less than 0.5
9247 specially.
9248 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9249 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9250 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9251 (cacos_test): Add more tests.
9252 (casin_test): Likewise.
9253 (casinh_test): Likewise.
9254 * sysdeps/i386/fpu/libm-test-ulps: Update.
9255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9256
0f6a8d4b
SP
92572013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9258
0d1029de
SP
9259 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9260 ONE with its value.
9261
c2d94018
SP
9262 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9263 (__pow_mp): Replace ONE and MONE with their values.
9264 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9265 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9266 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9267 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9268 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9269 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9270
27ec37f1
SP
9271 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9272
a64d7e0e
SP
9273 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9274 (__pow_mp): Replace ZERO and MZERO with their values.
9275 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9276 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9277 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9278 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9279 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9280 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9281 (__sqr): Likewise.
9282
d26dd3eb
SP
9283 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9284
0f6a8d4b
SP
9285 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9286
e57b0c61
RM
92872013-03-28 Roland McGrath <roland@hack.frob.com>
9288
9289 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9290 Declare with __attribute__ ((weak)).
9291 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9292 Call __call_tls_dtors only if it's not NULL.
9293
356b3480
RM
92942013-03-28 Roland McGrath <roland@hack.frob.com>
9295
288f7d79
RM
9296 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9297 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9298 magic __ehdr_start linker symbol if it's defined.
9299 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9300 them up here if it was already done.
9301
dc0a0263
RM
9302 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9303 (_dl_aux_init): Use const in cast when setting it.
9304 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9305 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9306 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9307
3d3436ae
RM
9308 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9309 Declare them here.
9310 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9311 * csu/libc-tls.c: Nor here.
9312 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9313
356b3480
RM
9314 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9315 (__libc_message): Never call vsyslog.
9316
b0f1246a
AM
93172013-03-28 Alan Modra <amodra@gmail.com>
9318
9319 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9320 Define as empty.
9321 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9322 Likewise.
9323
fbbe2b9a
AZ
93242013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9325
9326 [BZ #15214]
9327 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9328 underflow.
9329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9330
1728ab37
SP
93312013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9332
7a86be6e
SP
9333 [BZ #15304]
9334 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9335 Don't add gid passed as argument.
9336
1728ab37
SP
9337 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9338
3a7182a1
JM
93392013-03-27 Joseph Myers <joseph@codesourcery.com>
9340
9341 [BZ #15307]
9342 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9343 imaginary part between 1.0 and 1.5 and real part less than 0.5
9344 specially.
9345 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9346 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9347 * math/libm-test.inc (cacos_test): Add more tests.
9348 (casin_test): Likewise.
9349 (casinh_test): Likewise.
9350 * sysdeps/i386/fpu/libm-test-ulps: Update.
9351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9352
6f2e90e7
SP
93532013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9354
5739f705
SP
9355 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9356 constants.
9357 (norm): Likewise.
9358 (denorm): Likewise.
9359 (__dbl_mp): Likewise.
9360 (add_magnitudes): Likewise.
9361 (sub_magnitudes): Likewise.
9362 (__add): Likewise.
9363 (__sub): Likewise.
9364 (__mul): Likewise.
9365 (__sqr): Likewise.
9366 (__inv): Likewise.
9367 (__dvd): Likewise.
9368
e375e83d
SP
9369 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9370 commented code.
9371 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9372 (__dubcos): Likewise.
9373 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9374 (__ieee754_acos): Likewise.
9375 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9376 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9377 (__exp1): Likewise.
9378 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9379 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9380 (log1): Likewise.
9381 (my_log2): Likewise.
9382 (checkint): Likewise.
9383 * sysdeps/ieee754/dbl-64/e_remainder.c
9384 (__ieee754_remainder): Likewise.
9385 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9386 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9387 (bsloww): Likewise.
9388 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9389
6f2e90e7
SP
9390 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9391 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9392 MANTISSA_STORE_T to store computations on mantissa. Use
9393 macros for rounding and division.
9394 (denorm): Likewise.
9395 (__dbl_mp): Likewise.
9396 (add_magnitudes): Likewise.
9397 (sub_magnitudes): Likewise.
9398 (__mul): Likewise.
9399 (__sqr): Likewise.
9400 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9401 powers of two in terms of TWOPOW macro.
9402 (mp_no): Make type of mantissa as MANTISSA_T.
9403 [!RADIXI]: Define RADIXI.
9404 [!TWO52]: Define TWO52.
9405 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9406
fce14d4e
AZ
94072013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9408
9409 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9410 llroundl symbol when building for PPC32.
9411
9ad027fb
MW
94122013-03-24 Mark H Weaver <mhw@netris.org>
9413
9414 * manual/arith.texi (Normalization Functions): Fix prototypes for
9415 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9416
e42a38dd
AZ
94172013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9418
9419 [BZ #13889]
9420 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9421 high value to check if expl overflow.
9422 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9423 to check for underflow and overflow.
9424 * math/libm-test.inc: Add exp test.
9425
2e0fb521
DL
94262013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9427
9428 [BZ #11120]
9429 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9430 with NOT_IN_libc.
9431
b5784d95
AZ
94322013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9433
9434 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9435 symbol.
9436
5aa4a1a1
TS
94372013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9438
bdef0be7
TS
9439 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9440 wrap blocks consisting of several statements.
9441
5aa4a1a1
TS
9442 * sysdeps/generic/math-tests.h: New file.
9443 * sysdeps/i386/fpu/math-tests.h: Likewise.
9444 * math/test-snan.c: Include it.
9445 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9446
98c48fe5
JM
94472013-03-21 Joseph Myers <joseph@codesourcery.com>
9448
9449 [BZ #15285]
9450 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9451 (__ieee754_j0l): Do not improve calculations using cos of twice
9452 input for inputs above LDBL_MAX / 2.0L.
9453 (__ieee754_y0l): Likewise.
9454 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9455 (__ieee754_j1l): Do not improve calculations using cos of twice
9456 input for inputs above LDBL_MAX / 2.0L.
9457 (__ieee754_y1l): Likewise.
9458 * math/libm-test.inc (j0_test): Add another test.
9459 (j1_test): Likewise.
9460 (y0_test): Likewise.
9461 (y1_test): Likewise.
9462 * sysdeps/i386/fpu/libm-test-ulps: Update.
9463
3775a8bc
SP
94642013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9465
9466 * Rules ($(objpfx)bench-%.c): Include code from a C source
9467 file.
9468
0a1b2ae6
JM
94692013-03-21 Joseph Myers <joseph@codesourcery.com>
9470
9471 [BZ #15287]
9472 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9473 imaginary part 1.0 and real part less than 0.5 specially.
9474 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9475 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9476 * math/libm-test.inc (cacos_test): Add more tests.
9477 (casin_test): Likewise.
9478 (casinh_test): Likewise.
9479 * sysdeps/i386/fpu/libm-test-ulps: Update.
9480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9481
b33d4ce4
SP
94822013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9483
9484 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9485 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9486
bef0b507
JM
94872013-03-20 Joseph Myers <joseph@codesourcery.com>
9488
9489 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9490 * config.make.in (config-cflags-sse4): Remove variable.
9491 (config-cflags-avx): Likewise.
9492 (config-cflags-sse2avx): Likewise.
9493 (config-cflags-novzeroupper): Likewise.
9494 (config-asflags-i686): Likewise.
9495 (have-mfma4): Likewise.
9496 (have-as-vis3): Likewise.
9497 (MIG): Likewise.
9498 * configure.in (MIG): Do not AC_SUBST.
9499 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9500 (libc_cv_cc_sse4): Do not AC_SUBST.
9501 (libc_cv_cc_avx): Likewise.
9502 (libc_cv_cc_sse2avx): Likewise.
9503 (libc_cv_cc_novzeroupper): Likewise.
9504 (libc_cv_cc_fma4): Likewise.
9505 (libc_cv_as_i686): Likewise.
9506 (libc_cv_sparc_as_vis3): Likewise.
9507 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9508 LIBC_CONFIG_VAR.
9509 (config-asflags-i686): Likewise.
9510 (config-cflags-avx): Likewise.
9511 (config-cflags-sse2avx): Likewise.
9512 (have-mfma4): Likewise.
9513 (config-cflags-novzeroupper): Likewise.
9514 * sysdeps/mach/configure.in (MIG): Likewise.
9515 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9516 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9517 LIBC_CONFIG_VAR.
9518 (config-cflags-avx): Likewise.
9519 (config-cflags-sse2avx): Likewise.
9520 (have-mfma4): Likewise.
9521 (config-cflags-novzeroupper): Likewise.
9522 * configure: Regenerated.
9523 * sysdeps/i386/configure: Likewise.
9524 * sysdeps/mach/configure: Likewise.
9525 * sysdeps/sparc/configure: Likewise.
9526 * sysdeps/x86_64/configure: Likewise.
9527
912cc4b3
RM
95282013-03-20 Roland McGrath <roland@hack.frob.com>
9529
9530 [BZ #14812]
9531 * locale/programs/localedef.c (options): Put N_ translation marker
9532 on argument names, not just descriptions.
9533
04eed2b0
MS
95342013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9535
9536 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9537
a065ceff
OB
95382013-03-20 Ondřej Bílka <neleai@seznam.cz>
9539
9bb2a810 9540 [BZ #14176]
a065ceff
OB
9541 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9542
a600e5ce
RM
95432013-03-19 Roland McGrath <roland@hack.frob.com>
9544
9545 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9546 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9547 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9548 [!BEFORE_ABORT] (before_abort): New function.
9549 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9550 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9551 (writev_for_fatal): New function.
9552 (WRITEV_FOR_FATAL): New macro; call that.
9553 (backtrace_and_maps): New function.
9554 (BEFORE_ABORT): New macro; call that.
9555 (struct str_list): Type removed.
9556 (__libc_message, __libc_fatal): Functions removed.
9557 Include <sysdeps/posix/libc_fatal.c> instead.
9558
6b18bea6
JM
95592013-03-19 Joseph Myers <joseph@codesourcery.com>
9560
9561 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9562 constants.
9563 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9564 double constants.
9565
aaa8cb4b
AS
95662013-03-19 Andreas Schwab <schwab@suse.de>
9567
44673770
AS
9568 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9569 * sysdeps/gnu/configure: Regenerate.
9570
aaa8cb4b
AS
9571 * configure.in: Substitute libc_cv_rtlddir.
9572 * configure: Regenerate.
9573 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9574 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9575 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9576 * elf/Makefile (install-others, CFLAGS-interp.c)
9577 (ldso_install, common-ldd-rewrite): Likewise.
9578 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9579 $(inst_slibdir)/$(rtld-installed-name).
9580 * scripts/rellns-sh: Add -p option.
9581 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9582 for source.
9583
d3cfc668
SP
95842013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9585
9586 * manual/nptl.texi: Renamed to ...
9587 * manual/threads.texi: ... this.
9588 * manual/Makefile (chapters): Update.
9589
0e2b9cdd
RM
95902013-03-18 Roland McGrath <roland@hack.frob.com>
9591
9592 [BZ #14812]
9593 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9594 on argument names, not just descriptions.
0e2b9cdd
RM
9595 * malloc/memusagestat.c (options): Likewise.
9596 * nss/getent.c (options): Likewise.
63270c24
RM
9597
95982013-03-18 Benno Schulenberg <bensberg@justemail.net>
9599
9600 [BZ #14812]
9601 * iconv/iconv_prog.c (options): Put N_ translation marker
9602 on argument names, not just descriptions.
9603 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 9604
b2e1393c
OB
96052013-03-18 Ondrej Bilka <neleai@seznam.cz>
9606
9607 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9608 implementation which is faster on all x86_64 architectures.
9609 Tested on AMD, Intel Nehalem, SNB, IVB.
9610 * sysdeps/x86_64/strnlen.S: Likewise.
9611
9612 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9613 Remove all multiarch strlen and strnlen versions.
9614 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9615 Remove strlen and strnlen related parts.
9616
9617 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9618 Inline strlen part.
9619 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9620
9621 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9622 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9623 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9624 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9625 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9626 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9627
ec4ff04d
CD
96282013-03-17 Carlos O'Donell <carlos@redhat.com>
9629
9630 * manual/memory.texi (Malloc Tunable Parameters):
9631 Sort parameters alphabetically. Add comments for missing entries.
9632
cd18e90a
DM
96332013-03-17 David S. Miller <davem@davemloft.net>
9634
9635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9636
2a185d32
JM
96372013-03-16 Joseph Myers <joseph@codesourcery.com>
9638
d2f9799e
JM
9639 [BZ #15283]
9640 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9641 for arguments at most half maximum finite value.
9642 * math/libm-test.inc (j0_test): Add more tests.
9643 (j1_test): Likewise.
9644 (y0_test): Likewise.
9645 (y1_test): Likewise.
9646 * sysdeps/i386/fpu/libm-test-ulps: Update.
9647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9648
2a185d32
JM
9649 [BZ #14155]
9650 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9651 1 / x and functions P and Q for arguments above 0x1p256L.
9652 (__ieee754_y0l): Likewise.
9653 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9654 (__ieee754_y1l): Likewise.
9655 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9656 (j1_test): Likewise.
9657 (y0_test): Likewise.
9658 (y1_test): Likewise.
9659
6cbec759
TS
96602013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9661
9662 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9663 variable.
9664
bc16e260
RM
96652013-03-15 Roland McGrath <roland@hack.frob.com>
9666
aefc9b8c
RM
9667 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9668 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9669 zero since it's initialized to EXEC_PAGESIZE.
9670
bc16e260
RM
9671 * sysdeps/unix/sysv/linux/ldsodefs.h
9672 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9673 * sysdeps/generic/ldsodefs.h: ... here.
9674
a57da955
TS
96752013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9676
af00a34d
TS
9677 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9678
495ded2c
TS
9679 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9680 math/test-snan.c.
9681 * math/test-snan.c: Renamed from
9682 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9683 * math/Makefile (tests): Add test-snan.
9684 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9685 test-powerpc-snan.
9686
777b0332
TS
9687 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9688 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9689 functions.
9690 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9691 __builtin_nan family of functions.
9692 * math/libm-test.inc (initialize): Initialize qnan_value with
9693 __builtin_nan family of functions.
9694 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9695 Remove variables.
9696 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9697 Remove functions.
9698 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9699 storage class. Initialize qNaN_var and sNaN_var with
9700 __builtin_nan and __builtin_nans families of functions,
9701 respectively.
9702
64d063b8
TS
9703 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9704 (sqrt_test): Remove duplicate test with qNaN input.
9705 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9706 (round_test, signbit_test, significand_test): Note missing +/-Inf
9707 as well as qNaN tests.
9708
67e971f1
TS
9709 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9710 qNaN_var. Fix a few strings, too.
9711 * math/libm-test.inc (nan_value): Rename to qnan_value.
9712 * math/gen-libm-test.pl (%beautify): Adjust to that.
9713 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9714 * math/test-misc.c (main): Likewise.
9715 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9716 to __qnan_bytes, and __qnan_union, respectively.
9717 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9718 Likewise.
9719 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9720 and lqnanval, respectively.
9721 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9722 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9723 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9724 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9725
64487e12
TS
9726 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9727 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9728 doubles.
9729
e015e27b
TS
9730 * math/test-misc.c (main): Fix copy'n'pastos.
9731 * misc/tst-efgcvt.c (special): Likewise.
9732
a57da955
TS
9733 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9734 Remove declarations.
9735
1e380345
SP
97362013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9737
9738 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9739 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9740 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9741 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9742
ef26eece
AZ
97432013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9744
9745 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9746 macro to return vdso values correctly in IFUNC implementations.
9747 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9748 Optimization by using IFUNC.
9749
8cfdb7e0
SP
97502013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9751 Richard Henderson <rth@redhat.com>
9752 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9753
9754 * Makefile.in (bench): New target.
9755 * NEWS: Mention the benchmark framework.
9756 * Rules (bench): Likewise.
9757 (binaries-bench): Generate binaries for functions to
9758 benchmark.
9759 * benchtests/Makefile: New makefile for benchmark tests.
9760 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9761 programs.
9762 * benchtests/exp-inputs: New input file for EXP function.
9763 * benchtests/pow-inputs: New input file for POW function.
9764 * scripts/bench.pl: New script to generate source files for
9765 benchmark programs.
9766
bcda9880
SP
97672013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9768
d22ca8cd
SP
9769 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9770 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9771 computations on mantissa. Use macros for rounding and
9772 division.
9773 (denorm): Likewise.
9774 (__dbl_mp): Likewise.
9775 (add_magnitudes): Likewise.
9776 (sub_magnitudes): Likewise.
9777 (__mul): Likewise.
9778 (__sqr): Likewise.
9779 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9780 powers of two in terms of TWOPOW macro.
9781 (mp_no): Make type of mantissa as MANTISSA_T.
9782 [!RADIXI]: Define RADIXI.
9783 [!TWO52]: Define TWO52.
9784 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9785
bcda9880
SP
9786 * manual/nptl.texi (cindex): Modify threads to pthreads.
9787
06d5adfb
JM
97882013-03-15 Joseph Myers <joseph@codesourcery.com>
9789
9790 * sysdeps/x86_64/preconfigure: Regenerated.
9791
41c7328e
JM
97922013-03-14 Joseph Myers <joseph@codesourcery.com>
9793
9794 [BZ #14155]
9795 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9796 0x1p28 and above.
9797 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9798 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9799 0x1p28 and above.
9800 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9801 * math/libm-test.inc (j0_test): Do not allow one spurious
9802 underflow exception.
9803 (y1_test): Likewise.
9804
e25cfa60
SP
98052013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9806
0409959c
SP
9807 * manual/Makefile (chapters): Add nptl.
9808 * manual/debug.texi (Debugging Support): Add link to Threads
9809 chapter.
9810 * manual/nptl.texi: New file.
9811
e25cfa60
SP
9812 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9813
58a1335e
PB
98142013-03-14 Petr Baudis <pasky@ucw.cz>
9815
9816 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9817 for non-NULL pointer before the memory validity test. Pointed
9818 out by Holger Brunck <holger.brunck@keymile.com>.
9819
9dc7c64f
AS
98202013-03-13 Andreas Schwab <schwab@suse.de>
9821
9822 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9823 instead of .os.
9824
54206aa6
JM
98252013-03-13 Joseph Myers <joseph@codesourcery.com>
9826
9827 * timezone/zic.c: Update from tzcode 2013b.
9828
e98cdb38
CD
98292013-03-12 Carlos O'Donell <carlos@redhat.com>
9830
9831 * manual/install.texi (Configuring and compiling):
9832 Mention i686 and i586.
9833 * INSTALL: Regenerate.
9834
9967e003
RM
98352013-03-12 Roland McGrath <roland@hack.frob.com>
9836
9837 * sysdeps/init_array/elf-init.c: New file.
9838 * csu/elf-init.c
9839 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9840 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9841
9842 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9843 __gmon_start__ as global, but as static with a .preinit_array pointer.
9844 * sysdeps/init_array/gmon-start.c: New file. Use that.
9845 * sysdeps/init_array/crti.S: New file, empty except for comments.
9846 * sysdeps/init_array/crtn.S: Likewise.
9847
e6b5a293 98482013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
9849
9850 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9851 definining bcopy.
80f844c9
OB
9852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9853 Remove Prefer_SSE_for_memop.
9854 * sysdeps/x86_64/multiarch/init-arch.h: Remove
9855 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9856 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
9857 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9858 memset-x86-64.
80f844c9 9859 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 9860 Remove bzero, memset ifunc support.
80f844c9
OB
9861 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9862 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9863 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9864 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9865
fb6b0fcb
AS
98662013-03-11 Andreas Schwab <schwab@suse.de>
9867
9868 [BZ #15234]
9869 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9870 by SHLIB_COMPAT.
9871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9872 (GLIBC_2.16): Remove pthread_atfork.
9873
3e6bd4b1
PP
98742013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9875
9876 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9877 (ptestcases.h): Likewise.
9878
222d7f00
RM
98792013-03-08 Roland McGrath <roland@hack.frob.com>
9880
9881 * Makeconfig ($(common-objpfx)config.status): Depend on
9882 sysdeps/*/preconfigure{,.in} too.
9883
1ba4f030
JM
98842013-03-08 Joseph Myers <joseph@codesourcery.com>
9885
a222d91a
JM
9886 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9887 (__free_hook): Use void * instead of __malloc_ptr_t.
9888 (__malloc_hook): Likewise.
9889 (__realloc_hook): Likewise.
9890 (__memalign_hook): Likewise.
9891 (__after_morecore_hook): Likewise.
9892 * malloc/arena.c (save_malloc_hook): Likewise.
9893 (save_free_hook): Likewise.
9894 * malloc/hooks.c (malloc_hook_ini): Likewise.
9895 (realloc_hook_ini): Likewise.
9896 (memalign_hook_ini): Likewise.
9897 * malloc/malloc.c (malloc_hook_ini): Likewise.
9898 (realloc_hook_ini): Likewise.
9899 (memalign_hook_ini): Likewise.
9900 (__free_hook): Likewise.
9901 (__malloc_hook): Likewise.
9902 (__realloc_hook): Likewise.
9903 (__memalign_hook): Likewise.
9904 (__libc_malloc): Likewise.
9905 (__libc_free): Likewise.
9906 (__libc_realloc): Likewise.
9907 (__libc_memalign): Likewise.
9908 (__libc_valloc): Likewise.
9909 (__libc_pvalloc): Likewise.
9910 (__libc_calloc): Likewise.
9911 (__posix_memalign): Likewise.
9912 * malloc/morecore.c (__sbrk): Likewise.
9913 (__default_morecore): Likewise.
9914
5cc45e10
JM
9915 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9916
dd54b864
JM
9917 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9918 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9919 __malloc_ptrdiff_t.
9920
1ba4f030
JM
9921 * malloc/malloc.h (__malloc_size_t): Remove macro.
9922 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9923 __malloc_size_t.
9924 (old_memalign_hook): Likewise.
9925 (old_realloc_hook): Likewise.
9926 (struct hdr): Likewise.
9927 (flood): Likewise.
9928 (mallochook): Likewise.
9929 (memalignhook): Likewise.
9930 (reallochook): Likewise.
9931 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9932 (tr_old_realloc_hook): Likewise.
9933 (tr_old_memalign_hook): Likewise.
9934 (tr_mallochook): Likewise.
9935 (tr_reallochook): Likewise.
9936 (tr_memalignhook): Likewise.
9937
edf66e57
AZ
99382013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9939
9940 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9941 default_ldbl_pack and using as default implementation.
9942 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9943 implementation.
9944 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9945 redundant definition.
9946 (ldbl_insert_mantissa): Likewise.
9947 (ldbl_canonicalize): Likewise.
9948 (ldbl_nearbyint): Likewise.
9949 (ldbl_pack): Rename to ldbl_pack_ppc.
9950 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9951 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9952 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9953
6d9145d8
SP
99542013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9955
9956 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9957 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9958 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9959 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9961 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9962 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9963 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9964
4dd4e157
AJ
99652013-03-07 Andreas Jaeger <aj@suse.de>
9966
9967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9968 bits/mman-linux.h.
9969
adbb8027
SP
99702013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9971
ce544b5b
SP
9972 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9973 Include mpa.h and declare __MPEXP.
9974 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9975 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9976 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9977 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9978 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9979 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9980 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9981
4cc149fd
SP
9982 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9983 (__slowpow): Use long double EXPL and LOGL functions to
9984 compute POW.
9985 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9986 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9987 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9988 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9989 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9990 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9991
e6ebd4a7
SP
9992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9993 intermediate variable to calculate exponent.
9994 (__sqr): Likewise.
9995 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9996 Likewise.
9997 (__sqr): Likewise.
9998
82a9811d
SP
9999 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10000 [!NO__SQR]: Define __sqr.
10001 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10002 and NO__SQR. Remove all code except __mul and __sqr. Include
10003 sysdeps/ieee754/dbl-64/mpa.c.
10004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10005
adbb8027
SP
10006 [BZ #12723]
10007 * posix/Makefile (tests): Add tst-pathconf.
10008 * posix/tst-pathconf.c: New test case.
10009 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10010 _PC_PIPE_BUF.
10011 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10012
39120df9
PF
100132013-03-06 Patsy Franklin <pfrankli@redhat.com>
10014
10015 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10016
67525cb8
AJ
100172013-03-06 Andreas Jaeger <aj@suse.de>
10018
664a9ce4
AJ
10019 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10020 definition via __MAP_ANONYMOUS.
10021
8e39047d
AJ
10022 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10023 it's not part of Linux headers.
10024
67525cb8
AJ
10025 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10026 (MAP_HUGE_MASK): Define.
10027
10028 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10029 Define.
10030 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10031 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10032 Define.
10033 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10034 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10035 Define.
10036 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10037 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10038 Define.
10039 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10040
10041 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10042 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10043 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10044 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10045 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10046 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10047
10048 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10049 Handle f2fs.
10050
10051 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10052 Handle f2fs and efivarfs.
10053
10054 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10055 f2fs.
10056
10057 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10058 (EFIVARFS_MAGIC): Add.
10059 (F2FS_LINK_MAX): Add.
10060
e1b42695
PP
100612013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10062
10063 * stdio-common/vfprintf.c: Replace __builtin_expect with
10064 __glibc_unlikely.
10065
2d67d91a
JM
100662013-03-06 Joseph Myers <joseph@codesourcery.com>
10067
10068 [BZ #13550]
10069 * sysdeps/generic/bp-sym.h: Remove file.
10070 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10071 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10072 <bp-sym.h> and <bp-asm.h>.
10073 (__longjmp): Don't use BP_SYM.
10074 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10075 and <bp-asm.h>.
10076 (memcpy): Don't use BP_SYM.
10077 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10078 <bp-sym.h> and <bp-asm.h>.
10079 (memcpy): Don't use BP_SYM.
10080 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10081 <bp-asm.h>.
10082 (memcpy): Don't use BP_SYM.
10083 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10084 <bp-asm.h>.
10085 (memset): Don't use BP_SYM.
10086 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10087 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10088 (__bzero): Don't use BP_SYM.
10089 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10090 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10091 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10092 <bp-sym.h> and <bp-asm.h>.
10093 (memcmp): Don't use BP_SYM. Remove comment about bounded
10094 pointers.
10095 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10096 <bp-sym.h> and <bp-asm.h>.
10097 (memcpy): Don't use BP_SYM.
10098 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10099 <bp-sym.h> and <bp-asm.h>.
10100 (memset): Don't use BP_SYM.
10101 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10102 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10103 (__bzero): Don't use BP_SYM.
10104 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10105 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10106 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10107 <bp-sym.h> and <bp-asm.h>.
10108 (strncmp): Don't use BP_SYM. Remove comment about bounded
10109 pointers.
10110 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10111 <bp-sym.h> and <bp-asm.h>.
10112 (memcpy): Don't use BP_SYM.
10113 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10114 <bp-sym.h> and <bp-asm.h>.
10115 (memset): Don't use BP_SYM.
10116 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10117 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10118 (__bzero): Don't use BP_SYM.
10119 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10120 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10121 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10122 <bp-sym.h> and <bp-asm.h>.
10123 (__memchr): Don't use BP_SYM.
10124 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10125 <bp-sym.h> and <bp-asm.h>.
10126 (memcmp): Don't use BP_SYM. Remove comment about bounded
10127 pointers.
10128 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10129 <bp-sym.h> and <bp-asm.h>.
10130 (memcpy): Don't use BP_SYM.
10131 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10132 <bp-sym.h> and <bp-asm.h>.
10133 (__mempcpy): Don't use BP_SYM.
10134 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10135 <bp-sym.h> and <bp-asm.h>.
10136 (__memrchr): Don't use BP_SYM.
10137 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10138 <bp-sym.h> and <bp-asm.h>.
10139 (memset): Don't use BP_SYM.
10140 (__bzero): Likewise.
10141 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10142 <bp-sym.h> and <bp-asm.h>.
10143 (__rawmemchr): Don't use BP_SYM.
10144 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10145 <bp-sym.h> and <bp-asm.h>.
10146 (__STRCMP): Don't use BP_SYM.
10147 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10148 <bp-sym.h> and <bp-asm.h>.
10149 (strchr): Don't use BP_SYM.
10150 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10151 <bp-sym.h> and <bp-asm.h>.
10152 (__strchrnul): Don't use BP_SYM.
10153 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10154 <bp-sym.h> and <bp-asm.h>.
10155 (strlen): Don't use BP_SYM.
10156 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10157 <bp-sym.h> and <bp-asm.h>.
10158 (strncmp): Don't use BP_SYM. Remove comment about bounded
10159 pointers.
10160 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10161 <bp-sym.h> and <bp-asm.h>.
10162 (__strnlen): Don't use BP_SYM.
10163 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10164 <bp-sym.h> and <bp-asm.h>.
10165 (__GI__setjmp): Don't use BP_SYM.
10166 (_setjmp): Likewise.
10167 (__sigsetjmp): Likewise.
10168 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10169 (L(start_addresses)): Don't use BP_SYM.
10170 (_start): Likewise.
10171 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10172 <bp-asm.h>.
10173 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10174 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10175 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10176 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10177 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10178 <bp-asm.h>.
10179 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10180 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10181 about bounded pointers.
10182 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10183 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10184 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10185 <bp-asm.h>.
10186 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10187 about bounded pointers. Remove GKM FIXME comments.
10188 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10189 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10190 <bp-asm.h>.
10191 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10192 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10193 Remove GKM FIXME comments.
10194 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10195 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10196 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10197 <bp-asm.h>.
10198 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10199 about bounded pointers. Remove GKM FIXME comment.
10200 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10201 and <bp-asm.h>.
10202 (strncmp): Don't use BP_SYM. Remove comment about bounded
10203 pointers.
10204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10205 <bp-sym.h> and <bp-asm.h>.
10206 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10208 <bp-sym.h> and <bp-asm.h>.
10209 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10210 comment.
10211
cdcf361f
PP
102122013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10213
10214 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10215 call free(NULL).
10216
3c4a2b15
DM
102172013-03-05 David S. Miller <davem@davemloft.net>
10218
10219 * po/es.po: Update from translation team.
10220
cdcf361f 102212013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
10222
10223 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10224 <bits/mman-linux.h>.
10225 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10226 is fine.
10227 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10228 <bits/mman-linux.h> to end of file.
10229 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10230 is fine.
10231 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10232 <bits/mman-linux.h> to end of file.
10233 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10234 is fine.
10235 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10236 <bits/mman-linux.h> to end of file.
10237
10238 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10239 (MCL_CURRENT, MCL_FUTURE): Define here.
10240
5f67c04f
AK
102412013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10242
8a4473cc 10243 [BZ #15232]
5f67c04f
AK
10244 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10245 attribute_hidden.
10246 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10247
c3e94a95
AK
102482013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10249
10250 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10251 fourth parameter needed for rt_sigprocmask syscall.
10252 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10253 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10254 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10255 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10256 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10257 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10258
cfb6382a
JM
102592013-03-04 Joseph Myers <joseph@codesourcery.com>
10260
10261 [BZ #13550]
10262 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10263 comment about bounded pointers.
10264 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10265 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10266
539d8e01
AJ
102672013-03-04 Andreas Jaeger <aj@suse.de>
10268
10269 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10270 common definitions.
10271
10272 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10273 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10274 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10275 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10276 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
10277 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10278
2e167a70 102792013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
10280
10281 [BZ #15055]
10282 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10283 __ieee754_sqrl instead of __sqrl.
10284
68508633
JM
102852013-03-01 Joseph Myers <joseph@codesourcery.com>
10286
10287 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10288 * sysdeps/powerpc/fpu_control.h: ... here.
10289 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10290 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10291 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10292 * sysdeps/powerpc/bits/mathinline.h: ... here.
10293
7775448e
RM
102942013-03-01 Roland McGrath <roland@hack.frob.com>
10295
10296 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10297 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10298 to just [NEED_DL_SYSINFO_DSO].
10299 * elf/dl-support.c: Likewise.
10300 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10301 * elf/rtld.c (dl_main): Likewise.
10302 * elf/setup-vdso.h (setup_vdso): Likewise.
10303 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10304 * sysdeps/unix/sysv/linux/dl-sysdep.c
10305 (_dl_discover_osversion): Likewise.
10306
4e9b5995
CD
103072013-03-01 Carlos O'Donell <carlos@redhat.com>
10308
10309 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10310 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10311
e23872c8
SP
103122013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10313
e5c74c63
SP
10314 * NEWS: Mention libm performance improvements and non-x86 PI
10315 futex support.
10316
e23872c8
SP
10317 * csu/libc-start.c (__pthread_initialize_minimal): Change
10318 function arguments.
10319 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10320
b5510883
JM
103212013-02-28 Joseph Myers <joseph@codesourcery.com>
10322
10323 [BZ #13550]
10324 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10325 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10326 <bp-sym.h> and <bp-asm.h>.
10327 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10328 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10329 and <bp-asm.h>.
10330 (memcpy): Don't use BP_SYM.
10331 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10332 <bp-asm.h>.
10333 (__mpn_add_n): Don't use BP_SYM.
10334 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10335 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10336 and <bp-asm.h>.
10337 (__mpn_addmul_1): Don't use BP_SYM.
10338 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10339 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10340 <bp-sym.h>.
10341 (_setjmp): Don't use BP_SYM.
10342 (__novmx_setjmp): Likewise.
10343 (__GI__setjmp): Likewise.
10344 (__vmx_setjmp): Likewise.
10345 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10346 <bp-sym.h>.
10347 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10348 (__bzero): Don't use BP_SYM.
10349 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10350 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10351 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10352 <bp-sym.h> and <bp-asm.h>.
10353 (memcpy): Don't use BP_SYM.
10354 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10355 <bp-sym.h> and <bp-asm.h>.
10356 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10357 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10358 <bp-sym.h> and <bp-asm.h>.
10359 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10360 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10361 <bp-asm.h>.
10362 (__mpn_lshift): Don't use BP_SYM.
10363 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10364 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10365 <bp-asm.h>.
10366 (memset): Don't use BP_SYM.
10367 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10368 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10369 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10370 <bp-asm.h>.
10371 (__mpn_mul_1): Don't use BP_SYM.
10372 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10373 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10374 <bp-sym.h> and <bp-asm.h>.
10375 (memcmp): Don't use BP_SYM.
10376 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10377 <bp-sym.h> and <bp-asm.h>.
10378 (memcpy): Don't use BP_SYM.
10379 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10380 <bp-sym.h> and <bp-asm.h>.
10381 (memset): Don't use BP_SYM.
10382 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10383 <bp-sym.h> and <bp-asm.h>.
10384 (strncmp): Don't use BP_SYM.
10385 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10386 <bp-sym.h> and <bp-asm.h>.
10387 (memcpy): Don't use BP_SYM.
10388 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10389 <bp-sym.h> and <bp-asm.h>.
10390 (memset): Don't use BP_SYM.
10391 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10392 <bp-sym.h> and <bp-asm.h>.
10393 (__memchr): Don't use BP_SYM.
10394 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10395 <bp-sym.h> and <bp-asm.h>.
10396 (memcmp): Don't use BP_SYM.
10397 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10398 <bp-sym.h> and <bp-asm.h>.
10399 (memcpy): Don't use BP_SYM.
10400 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10401 <bp-sym.h> and <bp-asm.h>.
10402 (__mempcpy): Don't use BP_SYM.
10403 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10404 <bp-sym.h> and <bp-asm.h>.
10405 (__memrchr): Don't use BP_SYM.
10406 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10407 <bp-sym.h> and <bp-asm.h>.
10408 (memset): Don't use BP_SYM.
10409 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10410 <bp-sym.h> and <bp-asm.h>.
10411 (__rawmemchr): Don't use BP_SYM.
10412 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10413 <bp-sym.h> and <bp-asm.h>.
10414 (__STRCMP): Don't use BP_SYM.
10415 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10416 <bp-sym.h> and <bp-asm.h>.
10417 (strchr): Don't use BP_SYM.
10418 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10419 <bp-sym.h> and <bp-asm.h>.
10420 (__strchrnul): Don't use BP_SYM.
10421 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10422 <bp-sym.h> and <bp-asm.h>.
10423 (strlen): Don't use BP_SYM.
10424 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10425 <bp-sym.h> and <bp-asm.h>.
10426 (strncmp): Don't use BP_SYM.
10427 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10428 <bp-sym.h> and <bp-asm.h>.
10429 (__strnlen): Don't use BP_SYM.
10430 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10431 <bp-asm.h>.
10432 (__mpn_rshift): Don't use BP_SYM.
10433 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10434 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10435 <bp-sym.h> and <bp-asm.h>.
10436 (__sigsetjmp): Don't use BP_SYM.
10437 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10438 (L(start_addresses)): Don't use BP_SYM.
10439 (_start): Likewise.
10440 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10441 <bp-asm.h>.
10442 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10443 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10444 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10445 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10446 <bp-asm.h>.
10447 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10448 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10449 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10450 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10451 <bp-asm.h>.
10452 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10453 comments.
10454 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10455 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10456 <bp-asm.h>.
10457 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
10458 FIXME comments.
10459 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10460 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10461 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10462 <bp-asm.h>.
10463 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10464 comment.
10465 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10466 and <bp-asm.h>.
10467 (strncmp): Don't use BP_SYM,
10468 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10469 <bp-asm.h>.
10470 (__mpn_sub_n): Don't use BP_SYM.
10471 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10472 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10473 and <bp-asm.h>.
10474 (__mpn_submul_1): Don't use BP_SYM.
10475 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10477 <bp-sym.h> and <bp-asm.h>.
10478 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10480 <bp-sym.h> and <bp-asm.h>.
10481 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10482 comment.
10483
8d19fe64
SP
104842013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10485
10486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10487 Use ZK to minimize writes to Z.
10488 (sub_magnitudes): Simplify code a bit.
10489 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10490 Use ZK to minimize writes to Z.
10491 (sub_magnitudes): Simplify code a bit.
10492
85bd816a
RM
104932013-02-27 Roland McGrath <roland@hack.frob.com>
10494
10495 * csu/gmon-start.c: Add special exception to license text.
10496
b5977bf2
RH
104972013-02-27 Richard Henderson <rth@redhat.com>
10498
10499 * scripts/config.guess: Update from config.git.
10500 * scripts/config.sub: Likewise.
10501
11d6e2f2
SP
105022013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10503
09c14ed2
SP
10504 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10505
a688864e
SP
10506 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10507
6295157a
SP
10508 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10509
b8de2202
SP
10510 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10511
11d6e2f2
SP
10512 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10513
7e80ddb8
RM
105142013-02-26 Roland McGrath <roland@hack.frob.com>
10515
10516 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10517 [$(build-shared = yes].
7e80ddb8 10518
7da6d9ed
SP
105192013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10520
45f05884
SP
10521 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10522 (__mul): Reduce iterations for calculating mantissa.
10523
2236d359
SP
10524 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10525 MPTWO.
10526 (__mpranred): Likewise.
10527
7da6d9ed
SP
10528 [BZ #15160]
10529 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10530 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10531
b7688c42
PE
105322013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10533
10534 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10535 Define __attribute__.
10536
53a5c423
SP
105372013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10538
10539 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10540 unused.
10541 * posix/regex_internal.h (__attribute): Remove.
10542 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10543 (re_string_context_at): Likewise.
10544 (bitset_not): Use __attribute__ and mark function as possibly
10545 unused.
10546 (bitset_merge): Likewise.
10547 (bitset_mask): Likewise.
10548 (re_string_char_size_at): Likewise.
10549 (re_string_wchar_at): Likewise.
10550 (re_string_elem_size_at): Likewise.
10551
60f5a8b5
SP
105522013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10553
2a983a2e
SP
10554 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10555 code.
10556 (cc32): Likewise.
10557
e69804d1
SP
10558 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10559 (__acr): Likewise.
10560 (__cpy): Likewise.
10561 (norm): Likewise.
10562 (denorm): Likewise.
10563 (__dbl_mp): Likewise.
10564 (add_magnitudes): Likewise.
10565 (sub_magnitudes): Likewise.
10566 (__mul): Likewise.
10567 (__inv): Likewise.
10568
2f22a1e8
SP
10569 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10570 style.
10571
8930ddc7
SP
10572 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10573 style.
10574
dc60cb11
SP
10575 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10576 code.
10577
60f5a8b5
SP
10578 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10579 up changes with default code.
10580 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10581 Likewise.
10582
b4d1fd33
AM
105832013-02-24 Allan McRae <allan@archlinux.org>
10584
faf6f8bc
AM
10585 * manual/socket.texi (The Internet Namespace): Order menu items
10586 to match that in the file.
10587
b4d1fd33
AM
10588 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10589 node listing of the info page menu.
10590
2366713d
JM
105912013-02-21 Joseph Myers <joseph@codesourcery.com>
10592
10593 [BZ #13550]
10594 * sysdeps/i386/bp-asm.h: Remove file.
10595 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10596 (PARMS): Do not use macros from bp-asm.h.
10597 (S1): Likewise.
10598 (S2): Likewise.
10599 (SIZE): Likewise.
10600 (__mpn_add_n): Do not use BP_SYM
10601 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10602 "bp-asm.h".
10603 (PARMS): Do not use macros from bp-asm.h.
10604 (S1): Likewise.
10605 (SIZE): Likewise.
10606 (__mpn_addmul_1): Do not use BP_SYM
10607 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10608 "bp-asm.h".
10609 (PARMS): Do not use macros from bp-asm.h.
10610 (SIGMSK): Likewise.
10611 (_setjmp): Likewise. Do not use BP_SYM.
10612 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10613 "bp-asm.h".
10614 (PARMS): Do not use macros from bp-asm.h.
10615 (SIGMSK): Likewise.
10616 (setjmp): Likewise. Do not use BP_SYM.
10617 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10618 "bp-asm.h".
10619 (PARMS): Do not use macros from bp-asm.h.
10620 (__frexp): Do not use BP_SYM.
10621 (frexp): Likewise.
10622 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10623 "bp-asm.h".
10624 (PARMS): Do not use macros from bp-asm.h.
10625 (__frexpf): Do not use BP_SYM.
10626 (frexpf): Likewise.
10627 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10628 "bp-asm.h".
10629 (PARMS): Do not use macros from bp-asm.h.
10630 (__frexpl): Do not use BP_SYM.
10631 (frexpl): Likewise.
10632 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10633 "bp-asm.h".
10634 (PARMS): Do not use macros from bp-asm.h.
10635 (__remquo): Do not use BP_SYM.
10636 (remquo): Likewise.
10637 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10638 "bp-asm.h".
10639 (PARMS): Do not use macros from bp-asm.h.
10640 (__remquof): Do not use BP_SYM.
10641 (remquof): Likewise.
10642 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10643 "bp-asm.h".
10644 (PARMS): Do not use macros from bp-asm.h.
10645 (__remquol): Do not use BP_SYM.
10646 (remquol): Likewise.
10647 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10648 "bp-asm.h".
10649 (PARMS): Do not use macros from bp-asm.h.
10650 (DEST): Likewise.
10651 (SRC): Likewise.
10652 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10653 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10654 "bp-asm.h".
10655 (PARMS): Do not use macros from bp-asm.h.
10656 (strlen): Do not use BP_SYM.
10657 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10658 "bp-asm.h".
10659 (PARMS): Do not use macros from bp-asm.h.
10660 (S1): Likewise.
10661 (S2): Likewise.
10662 (SIZE): Likewise.
10663 (__mpn_add_n): Do not use BP_SYM.
10664 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10665 "bp-asm.h".
10666 (PARMS): Do not use macros from bp-asm.h.
10667 (S1): Likewise.
10668 (SIZE): Likewise.
10669 (__mpn_addmul_1): Do not use BP_SYM.
10670 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10671 weak_alias.
10672 (bzero): Likewise.
10673 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10674 "bp-asm.h".
10675 (PARMS): Do not use macros from bp-asm.h.
10676 (S): Likewise.
10677 (SIZE): Likewise.
10678 (__mpn_lshift): Do not use BP_SYM.
10679 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10680 "bp-asm.h".
10681 (PARMS): Do not use macros from bp-asm.h.
10682 (DEST): Likewise.
10683 (SRC): Likewise.
10684 (LEN): Likewise.
10685 (memcpy): Likewise. Do not use BP_SYM.
10686 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10687 libc_hidden_def and weak_alias.
10688 (mempcpy): Do not use BP_SYM in weak_alias.
10689 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10690 "bp-asm.h".
10691 (PARMS): Do not use macros from bp-asm.h.
10692 (DEST): Likewise.
10693 (LEN): Likewise.
10694 [!BZERO_P] (CHR): Likewise.
10695 (memset): Likewise. Do not use BP_SYM.
10696 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10697 "bp-asm.h".
10698 (PARMS): Do not use macros from bp-asm.h.
10699 (S1): Likewise.
10700 (SIZE): Likewise.
10701 (__mpn_mul_1): Do not use BP_SYM.
10702 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10703 "bp-asm.h".
10704 (PARMS): Do not use macros from bp-asm.h.
10705 (S): Likewise.
10706 (SIZE): Likewise.
10707 (__mpn_rshift): Do not use BP_SYM.
10708 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10709 "bp-asm.h".
10710 (PARMS): Do not use macros from bp-asm.h.
10711 (STR): Likewise.
10712 (CHR): Likewise.
10713 (strchr): Likewise. Do not use BP_SYM.
10714 (index): Do not use BP_SYM in weak_alias.
10715 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10716 "bp-asm.h".
10717 (PARMS): Do not use macros from bp-asm.h.
10718 (DEST): Likewise.
10719 (SRC): Likewise.
10720 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10721 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10722 "bp-asm.h".
10723 (PARMS): Do not use macros from bp-asm.h.
10724 (strlen): Do not use BP_SYM.
10725 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10726 "bp-asm.h".
10727 (PARMS): Do not use macros from bp-asm.h.
10728 (S1): Likewise.
10729 (S2): Likewise.
10730 (SIZE): Likewise.
10731 (__mpn_sub_n): Do not use BP_SYM.
10732 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10733 "bp-asm.h".
10734 (PARMS): Do not use macros from bp-asm.h.
10735 (S1): Likewise.
10736 (SIZE): Likewise.
10737 (__mpn_submul_1): Do not use BP_SYM.
10738 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10739 "bp-asm.h".
10740 (PARMS): Do not use macros from bp-asm.h.
10741 (S1): Likewise.
10742 (S2): Likewise.
10743 (SIZE): Likewise.
10744 (__mpn_add_n): Do not use BP_SYM.
10745 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10746 weak_alias.
10747 (bzero): Likewise.
10748 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10749 "bp-asm.h".
10750 (PARMS): Do not use macros from bp-asm.h.
10751 (BLK2): Likewise.
10752 (LEN): Likewise.
10753 (memcmp): Do not use BP_SYM.
10754 (bcmp): Do not use BP_SYM in weak_alias.
10755 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10756 "bp-asm.h".
10757 (PARMS): Do not use macros from bp-asm.h.
10758 (DEST): Likewise.
10759 (SRC): Likewise.
10760 (LEN): Likewise.
10761 (memcpy): Likewise. Do not use BP_SYM.
10762 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10763 "bp-asm.h".
10764 (PARMS): Do not use macros from bp-asm.h.
10765 (DEST): Likewise.
10766 (SRC): Likewise.
10767 (LEN): Likewise.
10768 (memmove): Likewise. Do not use BP_SYM.
10769 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10770 "bp-asm.h".
10771 (PARMS): Do not use macros from bp-asm.h.
10772 (DEST): Likewise.
10773 (SRC): Likewise.
10774 (LEN): Likewise.
10775 (__mempcpy): Likewise. Do not use BP_SYM.
10776 (mempcpy): Do not use BP_SYM in weak_alias.
10777 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10778 "bp-asm.h".
10779 (PARMS): Do not use macros from bp-asm.h.
10780 (DEST): Likewise.
10781 (LEN): Likewise.
10782 [!BZERO_P] (CHR): Likewise.
10783 (memset): Likewise. Do not use BP_SYM.
10784 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10785 "bp-asm.h".
10786 (PARMS): Do not use macros from bp-asm.h.
10787 (STR2): Likewise.
10788 (strcmp): Do not use BP_SYM.
10789 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10790 "bp-asm.h".
10791 (PARMS): Do not use macros from bp-asm.h.
10792 (STR): Likewise.
10793 (DELIM): Likewise.
10794 [USE_AS_STRTOK_R] (SAVE): Likewise.
10795 (FUNCTION): Likewise. Do not use BP_SYM.
10796 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10797 aliases.
10798 (strtok_r): Likewise.
10799 (__GI___strtok_r): Likewise.
10800 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10801 (PARMS): Do not use macros from bp-asm.h.
10802 (S): Likewise.
10803 (SIZE): Likewise.
10804 (__mpn_lshift): Do not use BP_SYM.
10805 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10806 (PARMS): Do not use macros from bp-asm.h.
10807 (STR): Likewise.
10808 (CHR): Likewise.
10809 (__memchr): Do not use BP_SYM.
10810 (memchr): Do not use BP_SYM in weak_alias.
10811 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10812 (PARMS): Do not use macros from bp-asm.h.
10813 (BLK2): Likewise.
10814 (LEN): Likewise.
10815 (memcmp): Do not use BP_SYM.
10816 (bcmp): Do not use BP_SYM in weak_alias.
10817 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10818 (PARMS): Do not use macros from bp-asm.h.
10819 (S1): Likewise.
10820 (SIZE): Likewise.
10821 (__mpn_mul_1): Do not use BP_SYM.
10822 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10823 "bp-asm.h".
10824 (PARMS): Do not use macros from bp-asm.h.
10825 (STR): Likewise.
10826 (CHR): Likewise.
10827 (__rawmemchr): Do not use BP_SYM.
10828 (rawmemchr): Do not use BP_SYM in weak_alias.
10829 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10830 (PARMS): Do not use macros from bp-asm.h.
10831 (S): Likewise.
10832 (SIZE): Likewise.
10833 (__mpn_rshift): Do not use BP_SYM.
10834 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10835 (PARMS): Do not use macros from bp-asm.h.
10836 (SIGMSK): Likewise.
10837 (__sigsetjmp): Likewise. Do not use BP_SYM.
10838 * sysdeps/i386/start.S: Do not include "bp-sym.h".
10839 (_start): Do not use BP_SYM.
10840 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10841 (PARMS): Do not use macros from bp-asm.h.
10842 (DEST): Likewise.
10843 (SRC): Likewise.
10844 (__stpcpy): Likewise. Do not use BP_SYM.
10845 (stpcpy): Do not use BP_SYM in weak_alias.
10846 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10847 "bp-asm.h".
10848 (PARMS): Do not use macros from bp-asm.h.
10849 (DEST): Likewise.
10850 (SRC): Likewise.
10851 (LEN): Likewise.
10852 (__stpncpy): Likewise. Do not use BP_SYM.
10853 (stpncpy): Do not use BP_SYM in weak_alias.
10854 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10855 (PARMS): Do not use macros from bp-asm.h.
10856 (STR): Likewise.
10857 (CHR): Likewise.
10858 (strchr): Likewise. Do not use BP_SYM.
10859 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10860 "bp-asm.h".
10861 (PARMS): Do not use macros from bp-asm.h.
10862 (STR): Likewise.
10863 (CHR): Likewise.
10864 (__strchrnul): Likewise. Do not use BP_SYM.
10865 (strchrnul): Do not use BP_SYM in weak_alias.
10866 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10867 "bp-asm.h".
10868 (PARMS): Do not use macros from bp-asm.h.
10869 (STOP): Likewise.
10870 (strcspn): Do not use BP_SYM.
10871 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10872 "bp-asm.h".
10873 (PARMS): Do not use macros from bp-asm.h.
10874 (STR): Likewise.
10875 (STOP): Likewise.
10876 (strpbrk): Likewise. Do not use BP_SYM.
10877 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10878 "bp-asm.h".
10879 (PARMS): Do not use macros from bp-asm.h.
10880 (STR): Likewise.
10881 (CHR): Likewise.
10882 (strrchr): Likewise. Do not use BP_SYM.
10883 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10884 (PARMS): Do not use macros from bp-asm.h.
10885 (SKIP): Likewise.
10886 (strspn): Do not use BP_SYM.
10887 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10888 (PARMS): Do not use macros from bp-asm.h.
10889 (STR): Likewise.
10890 (DELIM): Likewise.
10891 (SAVE): Likewise.
10892 (FUNCTION): Likewise. Do not use BP_SYM.
10893 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10894 aliases.
10895 (strtok_r): Likewise.
10896 (__GI___strtok_r): Likewise.
10897 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10898 (PARMS): Do not use macros from bp-asm.h.
10899 (S1): Likewise.
10900 (S2): Likewise.
10901 (SIZE): Likewise.
10902 (__mpn_sub_n): Do not use BP_SYM.
10903 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10904 "bp-asm.h".
10905 (PARMS): Do not use macros from bp-asm.h.
10906 (S1): Likewise.
10907 (SIZE): Likewise.
10908 (__mpn_submul_1): Do not use BP_SYM.
10909 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10910 <bp-sym.h>.
10911 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10912 and <bp-asm.h>.
10913 (PARMS): Do not use macros from bp-asm.h.
10914 (FLAGS): Likewise.
10915 (PTID): Likewise.
10916 (TLS): Likewise.
10917 (CTID): Likewise.
10918 (__clone): Do not use BP_SYM.
10919 (clone): Do not use BP_SYM in weak_alias.
10920 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10921 and <bp-asm.h>.
10922 (PARMS): Do not use macros from bp-asm.h.
10923 (LEN): Likewise.
10924 (__mmap64): Do not use BP_SYM.
10925 (mmap64): Do not use BP_SYM in weak_alias.
10926 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10927 <bp-sym.h> and <bp-asm.h>.
10928 (PARMS): Do not use macros from bp-asm.h.
10929 (__posix_fadvise64_l64): Do not use BP_SYM.
10930 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10931 (PARMS): Do not use macros from bp-asm.h.
10932 (NSOPS): Likewise.
10933 (semtimedop): Do not use BP_SYM.
10934 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10935 and <bp-asm.h>.
10936
582a3cff
AM
109372013-02-21 Allan McRae <allan@archlinux.org>
10938
10939 * manual/message.texi (Charset conversion in gettext):
10940 Move @end statement to beginning of line.
10941
bab8a695
SP
109422013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10943
80945231
SP
10944 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10945 static.
10946 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10947 Likewise.
10948
bab8a695
SP
10949 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10950 (denorm): Likewise.
10951 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10953
e21d7aa7
AK
109542013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10955
10956 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10957 tail-call to the resolved function if pltexit isn't needed.
10958
4c7a4263
SP
109592013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10960
10961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10962 or Y being zero as being unlikely.
10963 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10964 Likewise.
10965
41f49342
CD
109662013-02-20 Carlos O'Donell <carlos@redhat.com>
10967
10968 * manual/nss.texi (System Databases and Name Service Switch):
10969 Remove frobnicate @pxref.
10970
50022a93
TS
109712013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10972
10973 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10974 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10975
08cbd996
PM
109762013-02-20 Petr Machata <pmachata@redhat.com>
10977
10978 * elf/elf.h (R_ARM_TARGET1): New macro.
10979 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10980 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10981 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10982 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10983 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10984 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10985 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10986 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10987 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10988 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10989 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10990 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10991 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10992 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10993 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10994 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10995 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10996 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10997 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10998 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10999 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11000 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11001 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11002 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11003 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11004 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11005 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11006 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11007 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11008 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11009 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11010 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11011 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11012 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11013 (R_ARM_THM_GOT_BREL12): Likewise.
11014 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11015 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11016 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11017 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11018 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11019 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11020 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11021 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11022 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11023
c7b275d6
TS
110242013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11025
11026 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11027 __attribute_used__ to __attribute__ ((unused)).
11028
20cd7fb3
SP
110292013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11030
11031 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11032 powerpc mpa.c.
11033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11034 comment formatting.
11035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11036
92945b52
JM
110372013-02-19 Joseph Myers <joseph@codesourcery.com>
11038
11039 [BZ #13550]
11040 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11041 Remove macro.
11042 (ENTER): Remove both macro definitions.
11043 (LEAVE): Likewise.
11044 (CHECK_BOUNDS_LOW): Likewise.
11045 (CHECK_BOUNDS_HIGH): Likewise.
11046 (CHECK_BOUNDS_BOTH): Likewise.
11047 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11048 (RETURN_BOUNDED_POINTER): Likewise.
11049 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11050 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11051 (POP_ERRNO_LOCATION_RETURN): Likewise.
11052 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11053 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11054 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11055 macros.
11056 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11057 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11058 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11059 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11060 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11061 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11062 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11063 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11064 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11065 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11066 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11067 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11068 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11069 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11070 removed macros.
11071 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11072 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11073 macros.
11074 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11075 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11076 * sysdeps/i386/i586/memset.S (memset): Likewise.
11077 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11078 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11079 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11080 macros.
11081 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11082 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11083 Change uses of L(2) to L(out).
11084 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11085 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11086 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11087 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11088 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11089 removed macros.
11090 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11091 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11092 macros.
11093 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11094 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11095 (RETURN): Do not use macro LEAVE.
11096 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11097 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11098 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11099 * sysdeps/i386/i686/memset.S (memset): Likewise.
11100 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11101 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11102 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11103 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11104 Likewise.
11105 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11106 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11107 L(1_2) and L(1_3) into L(1).
11108 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11109 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11110 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11111 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11112 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11113 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11114 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11115 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11116 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11117 macros.
11118 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11119 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11120 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11121 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11122 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11123 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11124 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11125 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11126 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11127 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11128 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11129 * sysdeps/i386/strspn.S (strspn): Likewise.
11130 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11131 conditional code.
11132 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11133 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11134 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11135 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11136 L(1_3) into L(1_1).
11137 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11138 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11139 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11140 macros.
11141 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11142
2389741a
JJ
111432013-02-19 Jakub Jelinek <jakub@redhat.com>
11144
11145 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11146 macro.
11147
2016b3cd
SP
111482013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11149
e4f22324
SP
11150 * math/atest-exp.c (exp_mpn): Remove ROUND.
11151 * math/atest-exp2.c (exp_mpn): Likewise.
11152 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11153
2016b3cd
SP
11154 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11155 * stdlib/tst-tls-atexit-lib.c: Likewise.
11156 * stdlib/tst-tls-atexit.c: Likewise.
11157
4be9b544
MF
111582013-02-18 Mike Frysinger <vapier@gentoo.org>
11159
11160 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11161 and __attribute_alloc_size__.
11162
2f62b9ee
MF
111632013-02-18 Mike Frysinger <vapier@gentoo.org>
11164
11165 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11166 __attribute_alloc_size__.
11167 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11168 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11169
6ff444c4
MF
111702013-02-18 Mike Frysinger <vapier@gentoo.org>
11171
11172 * include/programs/xmalloc.h: New file.
11173 * catgets/gencat.c: Include it.
11174 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11175 * elf/pldd.c: Likewise.
11176 * iconv/iconv_charmap.c: Likewise.
11177 * iconv/iconvconfig.c: Likewise.
11178 * iconv/strtab.c: Likewise.
11179 * locale/programs/locale.c: Likewise.
11180 * locale/programs/localedef.h: Likewise.
11181 * locale/programs/simple-hash.c: Likewise.
11182 * nscd/nscd.h: Likewise.
11183 * nss/makedb.c: Likewise.
11184 * sysdeps/generic/ldconfig.h: Likewise.
11185
be179c8a
SP
111862013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11187
ba384f6e
SP
11188 * Versions.def: Add GLIBC_2.18.
11189 * include/link.h (struct link_map): New member l_tls_dtor_count.
11190 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11191 (__call_tls_dtors): Likewise.
11192 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11193 __cxa_thread_atexit_impl.
11194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11195 Likewise.
11196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11197 Likewise.
11198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11199 Likewise.
11200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11201 Likewise.
11202 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11204 Likewise.
11205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11206 Likewise.
11207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11209 Likewise.
11210 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11211 (tests): Add test case tst-tls-atexit.
11212 (modules-names): Add shared library for tst-tls-atexit.
85891aca 11213 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
11214 (GLIBC_PRIVATE): Add __call_tls_dtors.
11215 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11216 for libstdc++.
11217 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11218 * stdlib/tst-tls-atexit.c: New test case.
11219 * stdlib/tst-tls-atexit-lib.c: New test case.
11220
ffaa74cf 11221 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 11222
be179c8a
SP
11223 * elf/Versions (ld): Add _dl_find_dso_for_object.
11224 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11225 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11226 (dl_open_worker): Use _dl_find_dso_for_object.
11227 * elf/dl-sym.c (do_sym): Likewise.
11228 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11229
f78b5caa
AK
112302013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11231
11232 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11233 Syntactic changes only.
11234 (_dl_runtime_profile): Do a tail-call to the resolved function.
11235
29691210
JM
112362013-02-17 Joseph Myers <joseph@codesourcery.com>
11237
11238 [BZ #13550]
11239 * sysdeps/x86_64/bp-asm.h: Remove file.
11240 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11241 <bp-sym.h> and <bp-asm.h>.
11242 (__clone): Do not use BP_SYM.
11243 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11244 <bp-sym.h> and <bp-asm.h>.
11245 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11246 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11247 "bp-asm.h".
11248 (_setjmp): Do not use BP_SYM.
11249 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11250 "bp-asm.h".
11251 (setjmp): Do not use BP_SYM.
11252 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11253 libc_hidden_def.
11254 (mempcpy): Do not use BP_SYM in weak_alias.
11255 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11256 "bp-asm.h".
11257 (strchr): Do not use BP_SYM.
11258 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11259 "bp-asm.h".
11260 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11261 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11262 (_start): Do not use BP_SYM.
11263 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11264 "bp-asm.h".
11265 (strcat): Do not use BP_SYM.
11266 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11267 "bp-asm.h".
11268 (STRCMP): Do not use BP_SYM.
11269 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11270 "bp-asm.h".
11271 (STRCPY): Do not use BP_SYM.
11272 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11273 "bp-asm.h".
11274 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11275 "bp-asm.h".
11276 (FUNCTION): Do not use BP_SYM.
11277 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11278 weak_alias.
11279 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11280
f238fd19
AJ
112812013-02-17 Andreas Jaeger <aj@suse.de>
11282
11283 * time/Versions: Sort entries.
11284 * string/Versions: Likewise.
11285 * resolv/Versions: Likewise.
11286 * posix/Versions: Likewise.
11287 * iconv/Versions: Likewise.
11288 * elf/Versions: Likewise.
11289 * wcsmbs/Versions: Likewise.
11290
bd07f23c 112912013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 11292
22af19f9
SP
11293 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11294 loop termination condition.
11295
4709fe76
SP
11296 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11297 variable to calculate EZ.
11298 (__sqr): Likewise.
2d0e0f29
SP
11299
11300 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11301 the lower precision input.
11302
daaa7713
JM
113032013-02-15 Joseph Myers <joseph@codesourcery.com>
11304
11305 [BZ #13550]
11306 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11307 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11308 (run-via-rtld-prefix): Do not handle %-bp tests.
11309 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11310 (all-object-suffixes): Remove .ob.
11311 (bppfx): Remove variable.
11312 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11313 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11314 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11315 [$(build-bounded) = yes] (libtype.ob): Likewise.
11316 * Makerules (elide-routines.ob): Remove variable.
11317 (do-tests-clean): Do not handle *-bp.out.
11318 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11319 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11320 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11321 (tests): Do not include $(tests-bp.out).
11322 (xtests): Do not include $(xtests-bp.out).
11323 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11324 [$(build-bounded) = yes] ($(addprefix
11325 $(objpfx),$(binaries-bounded))): Remove rule.
11326 ($(objpfx)%-bp.out): Remove rule.
11327 * config.make.in (build-bounded): Remove variable.
11328 * crypt/Makefile [$(build-bounded) = yes]
11329 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11330 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11331 append to variable.
11332 [$(build-bounded) = yes] (install-lib): Likewise.
11333 [$(build-bounded) = yes] (generated): Likewise.
11334 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11335 Remove rule.
11336 * intl/Makefile [$(build-bounded) = yes]
11337 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11338 * math/Makefile [$(build-bounded) = yes]
11339 ($(tests:%=$(objpfx)%-bp): Likewise.
11340 * misc/Makefile [$(build-bounded) = yes]
11341 ($(objpfx)tst-tsearch-bp): Likewise.
11342 * nptl/Makeconfig (bounded-thread-library): Remove variable.
11343 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11344 Remove dependency.
11345 * string/Makefile (o-objects.ob): Remove variable.
11346 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11347 (CFLAGS-.ob): Remove variable.
11348 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11349 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11350 both definitions of variable.
11351 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11352 (ASFLAGS-.ob): Remove variable.
11353
e97ed6dd
JM
113542013-02-14 Joseph Myers <joseph@codesourcery.com>
11355
2bdd4ca6
JM
11356 [BZ #13550]
11357 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11358 Remove __BOUNDED_POINTERS__ from condition.
11359 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11360 * string/bits/string2.h [!__NO_STRING_INLINES &&
11361 !__BOUNDED_POINTERS__]: Likewise.
11362 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11363 Likewise.
11364 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11365 Remove conditional code.
11366 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11367 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11368 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11369 condition.
11370
e97ed6dd
JM
11371 [BZ #13550]
11372 * csu/libc-start.c: Do not include <bp-sym.h>.
11373 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11374 * elf/dl-open.c: Do not include <bp-sym.h>.
11375 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11376 * math/fegetenv.c: Do not include <bp-sym.h>.
11377 (fegetenv): Do not use BP_SYM in versioned symbols.
11378 * nptl/sysdeps/pthread/bits/libc-lockP.h
11379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11380 <bp-sym.h>.
11381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11382 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11384 (__pthread_mutex_destroy): Likewise.
11385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11386 (__pthread_mutex_lock): Likewise.
11387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11388 (__pthread_mutex_trylock): Likewise.
11389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11390 (__pthread_mutex_unlock): Likewise.
11391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11392 (__pthread_mutexattr_init): Likewise.
11393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11394 (__pthread_mutexattr_destroy): Likewise.
11395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11396 (__pthread_mutexattr_settype): Likewise.
11397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11398 (__pthread_rwlock_init): Likewise.
11399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11400 (__pthread_rwlock_destroy): Likewise.
11401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11402 (__pthread_rwlock_rdlock): Likewise.
11403 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11404 (__pthread_rwlock_tryrdlock): Likewise.
11405 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11406 (__pthread_rwlock_wrlock): Likewise.
11407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11408 (__pthread_rwlock_trywrlock): Likewise.
11409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11410 (__pthread_rwlock_unlock): Likewise.
11411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11412 (__pthread_key_create): Likewise.
11413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11414 (__pthread_setspecific): Likewise.
11415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11416 (__pthread_getspecific): Likewise.
11417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11418 Likewise.
11419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11420 (_pthread_cleanup_push_defer): Likewise.
11421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11422 (_pthread_cleanup_pop_restore): Likewise.
11423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11424 (pthread_setcancelstate): Likewise.
11425 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11426 <bp-sym.h>.
11427 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11428 (memchr): Do not use BP_SYM in weak_alias.
11429 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11430 (fegetenv): Do not use BP_SYM in versioned symbols.
11431 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11432 (fesetenv): Do not use BP_SYM in versioned symbols.
11433 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11434 (feupdateenv): Do not use BP_SYM in versioned symbols.
11435 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11436 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11437 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11438 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11439 (open64): Do not use BP_SYM in weak_alias.
11440 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11441 (fegetenv): Do not use BP_SYM in versioned symbols.
11442 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11443 (fesetenv): Do not use BP_SYM in versioned symbols.
11444 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11445 (feupdateenv): Do not use BP_SYM in versioned symbols.
11446 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11447 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11448 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11449 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11450 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11451 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11452 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11453 <bp-sym.h>.
11454 (__libc_start_main): Do not use BP_SYM.
11455
d6752ccd
SP
114562013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11457
cb57ce60
SP
11458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11459 redundant return line.
11460 (norm): Likewise.
11461 (denorm): Likewise.
11462 (dbl_mp): Likewise.
11463 (sub_magnitudes): Likewise.
11464 (__add): Likewise.
11465 (__sub): Likewise.
11466 (__mul): Likewise.
11467 (__inv): Likewise.
11468 (__dvd): Likewise.
11469 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11470 (norm): Likewise.
11471 (denorm): Likewise.
11472 (dbl_mp): Likewise.
11473 (sub_magnitudes): Likewise.
11474 (__add): Likewise.
11475 (__sub): Likewise.
11476 (__mul): Likewise.
11477 (__inv): Likewise.
11478 (__dvd): Likewise.
11479
f414520d
SP
11480 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11481 instead of __mul.
11482 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11483 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11484 (cc32): Likewise.
11485
d6752ccd
SP
11486 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11487 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11488 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11489 of __mul for squares.
11490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11491 function
11492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11493 Likewise.
11494 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11495 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11496
70d9946a
JM
114972013-02-13 Joseph Myers <joseph@codesourcery.com>
11498
11499 [BZ #13550]
11500 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11501 code.
11502 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11503 prototype or function definition. Rename ubp_* variables and
11504 parameters. Remove argv definitions conditional on
11505 [__BOUNDED_POINTERS__].
11506 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11507 * elf/dl-runtime.c (_dl_fixup): Likewise.
11508 * include/set-hooks.h (RUN_HOOK): Likewise.
11509 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11510 definition.
11511 * string/strcpy.c (strcpy): Do not use __unbounded.
11512 * sysdeps/generic/frame.h (struct layout): Likewise.
11513 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11514 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11515 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11516 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11517 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11518 (__backtrace): Likewise.
11519 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11520 use __ptrvalue.
11521 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11522 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11523 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11524 Likewise.
11525 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11526 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11527 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11528 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11529 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11530 Do not use __unbounded.
11531 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11532 Rename __unboundedrlimits parameter to rlimits in prototype.
11533 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11534 Do not use __unbounded.
11535 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11536 not use __ptrvalue.
11537 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11538 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11539 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11540 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11541 __ptrvalue or __unbounded.
11542 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11543 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11544 use __unbounded.
11545 (__new_msgctl): Do not use __ptrvalue.
11546 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11547 __unbounded.
11548 (__libc_msgrcv): Do not use __ptrvalue.
11549 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11550 startup_info): Do not use __unbounded.
11551 (__libc_start_main): Likewise. Rename ubp_* variables and
11552 parameters. Remove argv definitions conditional on
11553 [__BOUNDED_POINTERS__].
11554 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11555 __ptrvalue.
11556 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11557 use __unbounded.
11558 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11559 or __ptrvalue.
11560 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11561 use __unbounded.
11562 (__new_shmctl): Do not use __ptrvalue.
11563 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11564 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11565 Likewise.
11566 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11567 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11568 (__libc_sigaction): Likewise.
11569 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11570 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11571 Likewise.
11572 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11573
cc7834d6
OB
115742013-02-13 Ondřej Bílka <neleai@seznam.cz>
11575
ffb1ec7b 11576 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
11577
11578 * string/mempcpy.c: Implement by calling memcpy.
11579
bdf02814
SP
115802013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11581
c2af38aa
SP
11582 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11583
4e92d59e
SP
11584 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11585 evaluation.
11586
909279a5
SP
11587 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11588 values in the mantissa.
11589
bdf02814
SP
11590 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11591 minimize writes to Z.
11592 (sub_magnitudes): Simplify code a bit.
11593
cd525923
RM
115942013-02-12 Roland McGrath <roland@hack.frob.com>
11595
11596 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11597 from the message. The linker prefixes all warnings with that already.
11598
7e2f0d2d
AS
115992013-02-12 Andreas Schwab <schwab@suse.de>
11600
a445af0b
AS
11601 [BZ #15078]
11602 * posix/regexec.c (extend_buffers): Add parameter min_len.
11603 (check_matching): Pass minimum needed length.
11604 (clean_state_log_if_needed): Likewise.
11605 (get_subexp): Likewise.
11606 * posix/Makefile (tests): Add bug-regex34.
11607 (bug-regex34-ENV): Define.
11608 * posix/bug-regex34.c: New file.
11609
7e2f0d2d
AS
11610 [BZ #11561]
11611 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11612 elements compare against the byte sequence of it, not its name.
11613 * posix/Makefile (tests): Add bug-regex35.
11614 (bug-regex35-ENV): Define.
11615 * posix/bug-regex35.c: New file.
11616
a175b684
TV
116172013-02-11 Tom de Vries <tom@codesourcery.com>
11618
11619 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11620 comment.
11621 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11622 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11623 (CHECK_EOL): Add undef.
11624
310998fe 116252013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
11626
11627 * bits/stdlib-bsearch.h: New file.
11628 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 11629 * stdlib/stdlib.h: Likewise.
41eda41d 11630
8ded91fb
RM
116312013-02-11 Roland McGrath <roland@hack.frob.com>
11632
11633 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11634 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11635 declaration.
11636 * manual/search.texi (Array Search Function): Add missing const in
11637 lfind prototype.
11638 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11639 declaration to use rlim_t.
11640 (Basic Scheduling Functions): Remove erroneous const from
11641 sched_getparam prototype. Remove erroneous * from
11642 sched_get_priority_max and sched_get_priority_min prototypes.
11643 (Resource Usage): Fix summary @comment on vtimes to refer to
11644 sys/vtimes.h rather than vtimes.h.
11645 Add missing *s in vtimes prototype.
11646 (Limits on Resources): Fix ulimit prototype to return long int.
11647 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11648 prototypes to use long int rather than double.
11649 (BSD Random): Fix initstate and setstate to use char *, not void *.
11650 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11651 prototype to make second argument 'struct aiocb64 *const[]'.
11652 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11653 (Status of AIO Operations): Remove erroneous const in aio_return and
11654 aio_return64 prototypes.
11655 (Synchronizing I/O): Fix sync prototype to return void.
11656 * manual/startup.texi (Suboptions): Remove an erroneous const in
11657 getsubopt prototype.
11658 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11659 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11660 use size_t rather than int.
11661 (Scanning All Users): Likewise for getpwent_r.
11662 (Setting Groups): Add missing const to setgroups prototype.
11663 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11664 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11665 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11666 'const void *' rather than 'const char *'.
11667 (Host Address Functions): Likewise for inet_ntop.
11668 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11669 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11670 ssize_t for return value.
11671 (Sending Data): Likewise for send, sendto, sendmsg.
11672 (Socket Option Functions): Add a missing const in setsockopt prototype.
11673 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11674 use wchar_t for the argument.
11675 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11676 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11677 take no arguments.
11678 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11679 double/float/long double for second argument.
11680 Fix return types of significand, significandf, significandl.
11681 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11682 argument in fchmod prototype.
11683 (File Owner): Use uid_t and gid_t in fchown prototype.
11684 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11685 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11686 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11687 use 'const struct dirent **' as argument types to CMP function pointer
11688 argument.
11689 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11690 (File Times): Fix summary magic @comment for struct utimbuf and utime
11691 to refer to utime.h, not time.h.
11692 * manual/string.texi (Argz Functions): Add missing const in
11693 argz_extract and argz_next prototypes.
11694 (Finding Tokens in a String): Likewise for basename.
11695 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11696 (Copying and Concatenation): Fix typo in wmemmove prototype.
11697 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11698 (Signal Stack): Remove erroneous const in sigstack prototype.
11699 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11700 prototype.
11701 (Simple Calendar Time): Likewise for stime.
11702 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11703 prototype.
11704 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11705 say sys/sysctl.h instead.
11706 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11707 and vsyslog prototypes.
11708
fe77fe6d
TV
117092013-02-11 Tom de Vries <tom@codesourcery.com>
11710
11711 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11712 Remove.
11713
3a09b620
RM
117142013-02-11 Roland McGrath <roland@hack.frob.com>
11715
11716 * misc/sys/mman.h: Fix typo in mremap comment.
11717
550a0b89
RM
117182013-02-08 Roland McGrath <roland@hack.frob.com>
11719
11720 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11721 the '\0' terminator.
11722
a2da1673
JM
117232013-02-08 Joseph Myers <joseph@codesourcery.com>
11724
11725 [BZ #13550]
11726 * debug/segfault.c: Don't include <bp-checks.h>.
11727 * sysdeps/generic/bp-checks.h: Remove file.
11728 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11729 (__GETDENTS): Don't use CHECK_N.
11730 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11731 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11732 (__getgroups): Don't use CHECK_N.
11733 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11734 (setgroups): Don't use CHECK_N.
11735 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11736 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11737 (__libc_msgrcv): Don't use CHECK_N.
11738 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11739 (__libc_msgsnd): Don't use CHECK_N.
11740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11741 <bp-checks.h>.
11742 (__libc_pread): Don't use CHECK_N.
11743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11744 include <bp-checks.h>.
11745 (__libc_pread64): Don't use CHECK_N.
11746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11747 include <bp-checks.h>.
11748 (__libc_pwrite): Don't use CHECK_N.
11749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11750 include <bp-checks.h>.
11751 (__libc_pwrite64): Don't use CHECK_N.
11752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11753 <bp-checks.h>.
11754 (__libc_pread): Don't use CHECK_N.
11755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11756 include <bp-checks.h>.
11757 (__libc_pread64): Don't use CHECK_N.
11758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11759 include <bp-checks.h>.
11760 (__libc_pwrite): Don't use CHECK_N.
11761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11762 include <bp-checks.h>.
11763 (__libc_pwrite64): Don't use CHECK_N.
11764 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11765 (do_pread): Don't use CHECK_N.
11766 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11767 (do_pread64): Don't use CHECK_N.
11768 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11769 (do_pwrite): Don't use CHECK_N.
11770 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11771 (do_pwrite64): Don't use CHECK_N.
11772 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11773 (__libc_readv): Don't use CHECK_N.
11774 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11775 (semop): Don't use CHECK_N.
11776 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11777 <bp-checks.h>.
11778 (semtimedop): Don't use CHECK_N.
11779 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11780 (__libc_pread): Don't use CHECK_N.
11781 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11782 <bp-checks.h>.
11783 (__libc_pread64): Don't use CHECK_N.
11784 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11785 <bp-checks.h>.
11786 (__libc_pwrite): Don't use CHECK_N.
11787 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11788 <bp-checks.h>.
11789 (__libc_pwrite64): Don't use CHECK_N.
11790 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11791 <bp-checks.h>.
11792 (__libc_msgrcv): Don't use CHECK_N.
11793 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11794 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11795 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11796 (__libc_writev): Don't use CHECK_N.
11797
b84660a8
RM
117982013-02-08 Roland McGrath <roland@hack.frob.com>
11799
7f3e75f8
RM
11800 * string/strcpy.c: Removed unused variable.
11801
b84660a8
RM
11802 * Makeconfig (+sysdep-includes): Define with := rather than =.
11803 Use an existing include/ subdir of each sysdeps dir before it.
11804
471514d3
CD
118052013-02-08 Carlos O'Donell <carlos@redhat.com>
11806
11807 * nscd/connection.c (register_traced_file): Comment function.
11808 [HAVE_INOTIFY] (union __inev): Define.
11809 [HAVE_INOTIFY] (inotify_check_files): New function.
11810 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11811 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11812 clear_db_cache.
11813 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11814
b2d3c3be
CD
118152013-02-08 Carlos O'Donell <carlos@redhat.com>
11816
11817 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11818 loaded if not already and that a failure is permanent.
11819
b39949d2
CD
118202013-02-08 Carlos O'Donell <carlos@redhat.com>
11821
ddacd1db 11822 [BZ #15006]
b39949d2
CD
11823 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11824 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11825
b2c9eff4
JM
118262013-02-08 Joseph Myers <joseph@codesourcery.com>
11827
f3aae3f3
JM
11828 [BZ #13550]
11829 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11830 (CHECK_1_NULL_OK): Likewise.
11831 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11832 (__fxstat): Do not use CHECK_1.
11833 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11834 <bp-checks.h>.
11835 (___fxstat64): Do not use CHECK_1.
11836 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11837 <bp-checks.h>.
11838 (__fxstatat): Do not use CHECK_1.
11839 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11840 <bp-checks.h>.
11841 (__fxstatat64): Do not use CHECK_1.
11842 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11843 <bp-checks.h>.
11844 (__fxstat): Do not use CHECK_1.
11845 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11846 <bp-checks.h>.
11847 (__fxstatat): Do not use CHECK_1.
11848 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11849 <bp-checks.h>.
11850 (__getresgid): Do not use CHECK_1.
11851 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11852 <bp-checks.h>.
11853 (__getresuid): Do not use CHECK_1.
11854 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11855 <bp-checks.h>.
11856 (__lxstat): Do not use CHECK_1.
11857 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11858 <bp-checks.h>.
11859 (__old_msgctl): Do not use CHECK_1.
11860 (__new_msgctl): Likewise.
11861 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11862 <bp-checks.h>.
11863 (__new_setrlimit): Do not use CHECK_1.
11864 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11865 <bp-checks.h>.
11866 (__old_shmctl): Do not use CHECK_1.
11867 (__new_shmctl): Likewise.
11868 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11869 <bp-checks.h>.
11870 (__xstat): Do not use CHECK_1.
11871 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11872 (__lxstat): Do not use CHECK_1.
11873 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11874 <bp-checks.h>.
11875 (___lxstat64): Do not use CHECK_1.
11876 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11877 (__old_msgctl): Do not use CHECK_1.
11878 (__new_msgctl): Likewise.
11879 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11880 <bp-checks.h>.
11881 (__gettimeofday): Do not use CHECK_1.
11882 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11883 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11884 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11885 <bp-checks.h>.
11886 (__gettimeofday): Do not use CHECK_1.
11887 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11888 (__old_shmctl): Do not use CHECK_1_NULL_OK.
11889 (__new_shmctl): Do not use CHECK_1.
11890 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11891 <bp-checks.h>.
11892 (do_sigtimedwait): Do not use CHECK_1.
11893 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11894 <bp-checks.h>.
11895 (do_sigwaitinfo): Do not use CHECK_1.
11896 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11897 <bp-checks.h>.
11898 (msgctl): Do not use CHECK_1.
11899 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11900 <bp-checks.h>.
11901 (shmctl): Do not use CHECK_1.
11902 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11903 (ustat): Do not use CHECK_1.
11904 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11905 <bp-checks.h>.
11906 (__fxstat): Do not use CHECK_1.
11907 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11908 <bp-checks.h>.
11909 (__fxstatat): Do not use CHECK_1.
11910 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11911 <bp-checks.h>.
11912 (__lxstat): Do not use CHECK_1.
11913 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11914 <bp-checks.h>.
11915 (__xstat): Do not use CHECK_1.
11916 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11917 (__xstat): Do not use CHECK_1.
11918 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11919 (___xstat64): Do not use CHECK_1.
11920
b2c9eff4
JM
11921 [BZ #13550]
11922 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11923 definitions.
11924 (CHECK_BOUNDS_HIGH): Likewise.
11925 * string/strcpy.c: Do not include <bp-checks.h>.
11926 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11927
f1d70dad
RM
119282013-02-07 Roland McGrath <roland@hack.frob.com>
11929
11930 * nscd/nscd-client.h (__nscd_drop_map_ref):
11931 Add __attribute__ ((unused)).
11932 * nis/nss-nisplus.h (niserr2nss): Likewise.
11933
11934 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11935 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11936
11937 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11938 Remove inline keyword.
11939 * include/rounding-mode.h (round_away): Likewise.
11940 * libio/wfileops.c (adjust_wide_data): Likewise.
11941 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11942 (__m128i_strloadu_tolower): Likewise.
11943 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11944 (__m128i_strloadu_tolower): Likewise.
11945 * time/mktime.c (ydhms_diff): Likewise.
11946 * locale/elem-hash.h (elem_hash): Likewise.
11947 * locale/setlocale.c (setdata): Likewise.
11948 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11949 (re_string_wchar_at): Likewise.
11950 (bitset_not, bitset_merge, bitset_mask): Likewise.
11951 [!(__GNUC__ > 3)] (inline): Remove macro.
11952 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11953 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11954 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11955 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11956 * string/memcmp.c (memcmp_bytes): Likewise.
11957 * locale/programs/locarchive.c (compute_hashval): Likewise.
11958 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11959 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11960 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11961 * nss/getent.c (print_rpc, print_protocols): Likewise.
11962 (print_passwd, print_group, print_aliases): Likewise.
11963 * nis/nss-nisplus.h (niserr2nss): Likewise.
11964 * nscd/connections.c (restart_p): Likewise.
11965 Change return type to bool.
11966
eab55bfb
RM
119672013-02-05 Roland McGrath <roland@hack.frob.com>
11968
7bd642f5
RM
11969 * Makeconfig (all-Depend-files): Add existing
11970 $(sorted-subdirs:=/Depend) files.
11971 (all-subdirs): Remove nss.
11972 * sysdeps/unix/inet/Subdirs: Add it here instead.
11973 * hesiod/Depend: New file.
11974
573c29b2
RM
11975 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11976 instead of calling alloca.
11977
b2e25af0
RM
11978 * io/lseek.c (__lseek): Rename to __libc_lseek.
11979 Define __lseek as an alias.
11980
eab55bfb
RM
11981 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11982
9a0d1941
CD
119832013-02-04 Carlos O'Donell <carlos@redhat.com>
11984
11985 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11986 else clause and remove check for non-standard endianness.
11987
b83bbec4
DM
119882013-02-04 David S. Miller <davem@davemloft.net>
11989
11990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11991
6277fdab
JM
119922013-02-04 Joseph Myers <joseph@codesourcery.com>
11993
11994 [BZ #13550]
11995 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11996 (__ubp_memchr): Remove prototype.
11997 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11998 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11999 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12000 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12001 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12002 Remove alias.
12003 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12004 (__ubp_memchr): Likewise.
12005 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12006 (__ubp_memchr): Likewise.
12007 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12008 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12009 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12010 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12011 CHECK_STRING.
12012 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12013 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12014 (__getcwd): Do not use CHECK_STRING.
12015 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12016 <bp-checks.h>.
12017 (__real_chown): Do not use CHECK_STRING.
12018 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12019 <bp-checks.h>.
12020 (fchownat): Do not use CHECK_STRING.
12021 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12022 CHECK_STRING.
12023 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12024 <bp-checks.h>.
12025 (__lchown): Do not use CHECK_STRING.
12026 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12027 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12028 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12029 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12031 include <bp-checks.h>.
12032 (truncate64): Do not use CHECK_STRING.
12033 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12034 <bp-checks.h>.
12035 (__real_chown): Do not use CHECK_STRING.
12036 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12037 <bp-checks.h>.
12038 (__lchown): Do not use CHECK_STRING.
12039 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12040 <bp-checks.h>.
12041 (__chown): Do not use CHECK_STRING.
12042 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12043 <bp-checks.h>.
12044 (truncate64): Do not use CHECK_STRING.
12045 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12046 Likewise.
12047 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12048 (__xmknod): Do not use CHECK_STRING.
12049 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12050 <bp-checks.h>.
12051 (__xmknodat): Do not use CHECK_STRING.
12052 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12053 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12054
903ae060
AS
120552013-02-04 Andreas Schwab <schwab@suse.de>
12056
12057 [BZ #14142]
12058 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12059 * include/netdb.h: Likewise for h_errno.
12060 * elf/tst-stackguard1.c: Include <tls.h>.
12061
542f9466
JK
120622013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12063
12064 * elf/link.h (struct link_map): Extend the l_addr comment.
12065 * include/link.h (struct link_map): Likewise.
12066
e782a927
JM
120672013-02-01 Joseph Myers <joseph@codesourcery.com>
12068
12069 [BZ #13550]
12070 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12071 (BOUNDED_1): Remove macro.
12072 * debug/backtrace.c: Don't include <bp-checks.h>.
12073 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12074 (__backtrace): Likewise.
12075 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12076 <bp-checks.h>.
12077 (__backtrace): Don't use BOUNDED_1.
12078 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12079 <bp-checks.h>.
12080 (__backtrace): Don't use BOUNDED_1.
12081 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12082 (__backtrace): Don't use BOUNDED_1.
12083 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12084 (shmat): Don't use BOUNDED_N.
12085
8cf28c5e
JM
120862013-01-31 Joseph Myers <joseph@codesourcery.com>
12087
3a7ac8a0
JM
12088 [BZ #13550]
12089 * sysdeps/generic/bp-start.h: Remove file.
12090 * csu/libc-start.c: Don't include <bp-start.h>.
12091 (LIBC_START_MAIN): Set up __environ directly instead of using
12092 INIT_ARGV_and_ENVIRON.
12093 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12094 <bp-start.h>.
12095
f3499f95
JM
12096 [BZ #13550]
12097 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12098 definitions.
12099 (CHECK_FCNTL): Likewise.
12100 (CHECK_N_PAGES): Likewise.
12101
32a45bea
JM
12102 [BZ #13550]
12103 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12104 definitions.
12105 (CHECK_SIGSET_NULL_OK): Likewise.
12106 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12107 <bp-checks.h>.
12108 (sigpending): Don't use CHECK_SIGSET.
12109 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12110 <bp-checks.h>.
12111 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12112 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12113 <bp-checks.h>.
12114 (do_sigsuspend): Don't use CHECK_SIGSET.
12115 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12116 use CHECK_SIGSET.
12117 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12118 (do_sigwait): Don't use CHECK_SIGSET.
12119 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12120 use CHECK_SIGSET.
12121 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12122 include <bp-checks.h>.
12123 (sigpending): Don't use CHECK_SIGSET.
12124 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12125 include <bp-checks.h>.
12126 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12127 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12128 <bp-checks.h>.
12129 (sigpending): Don't use CHECK_SIGSET.
12130 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12131 <bp-checks.h>.
12132 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12133
2e8a5c8c
JM
12134 [BZ #13550]
12135 * sysdeps/generic/bp-semctl.h: Remove file.
12136 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12137 <bp-checks.h> and <bp-semctl.h>.
12138 (__old_semctl): Don't use CHECK_SEMCTL.
12139 (__new_semctl): Likewise.
12140 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12141 and <bp-semctl.h>.
12142 (__old_semctl): Don't use CHECK_SEMCTL.
12143 (__new_semctl): Likewise.
12144 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12145 <bp-checks.h> and <bp-semctl.h>.
12146 (__old_semctl): Don't use CHECK_SEMCTL.
12147 (__new_semctl): Likewise.
12148 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12149 <bp-checks.h> and <bp-semctl.h>.
12150 (semctl): Don't use CHECK_SEMCTL.
12151
c2d54929
JM
12152 [BZ #13550]
12153 * Makerules (elide-bp-thunks): Remove variable.
12154 (elide-routines.oS): Don't use $(elide-bp-thunks).
12155 (elide-routines.os): Likewise.
12156 (elide-routines.o): Likewise.
12157 (elide-routines.op): Likewise.
12158 (elide-routines.og): Likewise.
12159 (objects): Don't use $(bp-thunks).
12160 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12161 include.
12162 (common-generated): Do not add s-proto-bp.d.
12163 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12164 (int): Likewise.
12165 (typ): Likewise.
12166 Do not generate makefile rules for bounded-pointer thunks.
12167 * sysdeps/generic/bp-thunks.h: Remove file.
12168 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12169 * sysdeps/unix/s-proto-bp.S: Likewise.
12170
8cf28c5e
JM
12171 [BZ #15062]
12172 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12173 parts of result separately when argument is not close to line from
12174 -i to i and one part of argument is small.
12175 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12176 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12177 * math/libm-test.inc (cacos_test): Add more tests.
12178 (casin_test): Likewise.
12179 (casinh_test): Likewise.
12180 * sysdeps/i386/fpu/libm-test-ulps: Update.
12181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12182
c4e33b8d
DM
121832013-01-31 David S. Miller <davem@davemloft.net>
12184
12185 * po/de.po: Update from translation team.
12186
3b60b421
MK
121872013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12188
12189 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12190
bb931195
TS
121912013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12192
b5a5da23
TS
12193 * configure.in (_AC_PROG_CC_C89): New definition.
12194 * configure: Regenerate.
12195
bb931195
TS
12196 * configure.in (AC_PROG_CPP): New definition.
12197 * configure: Regenerate.
12198
8c53a12c
JM
121992013-01-23 Joseph Myers <joseph@codesourcery.com>
12200
12201 * debug/tst-backtrace.h: New file.
12202 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12203 (ret): Remove variable.
12204 (x): Likewise.
12205 (FAIL): Remove macro.
12206 (NO_INLINE): Likewise.
12207 (fn1): Use match function instead of strstr.
12208 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12209 (ret): Remove variable.
12210 (x): Likewise.
12211 (FAIL): Remove macro.
12212 (NO_INLINE): Likewise.
12213 (fn): Use match function instead of strstr.
12214 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12215 (ret): Remove variable.
12216 (x): Likewise.
12217 (FAIL): Remove macro.
12218 (NO_INLINE): Likewise.
12219 (handle_signal): Use match function instead of strstr.
12220 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12221 (ret): Remove variable.
12222 (x): Likewise.
12223 (FAIL): Remove macro.
12224 (NO_INLINE): Likewise.
12225 (handle_signal): Use match function instead of strstr.
12226
4858fa2a
RM
122272013-01-23 Roland McGrath <roland@hack.frob.com>
12228
12229 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12230
bae8e7f5
DM
122312013-01-23 David S. Miller <davem@davemloft.net>
12232
12233 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12234 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12235 argument of CAS if possible.
12236 * sysdeps/sparc/sparc64/bits/atomic.h
12237 (__arch_compare_and_exchange_val_32_acq): Likewise.
12238 (__arch_compare_and_exchange_val_64_acq): Likewise.
12239
9cbbc4ae
PT
122402013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12241
12242 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12243 * sysdeps/posix/ulimit.c: ... this.
92a601b8 12244 Include <limits.h>.
67b3f58c 12245 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 12246
5655a0b5
AC
122472013-01-23 Adam Conrad <adconrad@0c3.net>
12248
12249 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12250 (LDFLAGS-tst-array5): Likewise.
12251
052aff95
JM
122522013-01-23 Joseph Myers <joseph@codesourcery.com>
12253
12254 [BZ #15036]
12255 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12256 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12257 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12258 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12259
7c1e01aa
DM
122602013-01-21 David S. Miller <davem@davemloft.net>
12261
12262 * sysdeps/sparc/backtrace.c: New file.
12263 * sysdeps/sparc/sparc32/backtrace.h: New file.
12264 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12265 * sysdeps/sparc/sparc64/backtrace.h: New file.
12266 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12267 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12268 -funwind-tables.
12269
ab087e0a
AS
122702013-01-21 Andreas Schwab <schwab@suse.de>
12271
12272 [BZ #15020]
12273 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12274 closed its stdout.
12275
ed689c2f
AS
122762013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12277
12278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12279 "mpa2.h".
12280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12281
31d470ac
JM
122822013-01-18 Joseph Myers <joseph@codesourcery.com>
12283 Mark Mitchell <mark@codesourcery.com>
12284 Tom de Vries <tom@codesourcery.com>
12285 Paul Pluzhnikov <ppluzhnikov@google.com>
12286
12287 * debug/tst-backtrace2.c: New file.
12288 * debug/tst-backtrace3.c: Likewise.
12289 * debug/tst-backtrace4.c: Likewise.
12290 * debug/tst-backtrace5.c: Likewise.
12291 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12292 (CFLAGS-tst-backtrace3.c): Likewise.
12293 (CFLAGS-tst-backtrace4.c): Likewise.
12294 (CFLAGS-tst-backtrace5.c): Likewise.
12295 (LDFLAGS-tst-backtrace2): Likewise.
12296 (LDFLAGS-tst-backtrace3): Likewise.
12297 (LDFLAGS-tst-backtrace4): Likewise.
12298 (LDFLAGS-tst-backtrace5): Likewise.
12299 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12300 tst-backtrace4 and tst-backtrace5.
12301
90567f30 123022013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
12303 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12304
12305 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12306 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12307 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12308 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12310 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12311 "+r" and remove output regs list as redundant. Add explicit inline
12312 asm to specify register of return val to work around compiler codegen
12313 bug. Remove (int) cast on return value. Add return type parameter to
12314 use in macro so that this macro does not truncate return value for
12315 64-bit values.
12316 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12317 pass to INTERNAL_VSYSCALL_NCS.
12318 (INLINE_VSYSCALL): Add 'long int' as return type to
12319 INTERNAL_VSYSCALL_NCS macro invocation.
12320 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12321 INTERNAL_VSYSCALL_NCS macro invocation.
12322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12323
d3b9ea61
SP
123242013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12325
0b57daeb
SP
12326 [BZ #14496]
12327 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12328 Fix application of SIMD FP exception mask.
12329
caa99d06
SP
12330 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12331 mp_no from a power of two.
12332 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12333 __mpexp_twomm1. Use __pow_mp.
12334
d3b9ea61
SP
12335 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12336 multiplication.
12337
1dbaee3c
DM
123382013-01-17 David S. Miller <davem@davemloft.net>
12339
12340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12341
728d7b43
JM
123422013-01-17 Joseph Myers <joseph@codesourcery.com>
12343
12344 [BZ #15023]
12345 * include/complex.h: Condition contents on [!_COMPLEX_H].
12346 (__kernel_casinhf): New prototype.
12347 (__kernel_casinh): Likewise.
12348 (__kernel_casinhl): Likewise.
12349 * math/Makefile (libm_calls): Add k_casinh.
12350 * math/k_casinh.c: New file.
12351 * math/k_casinhf.c: Likewise.
12352 * math/k_casinhl.c: Likewise.
12353 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12354 finite nonzero arguments.
12355 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12356 finite nonzero arguments.
12357 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12358 finite nonzero arguments.
12359 * math/s_casinh.c: Do not include <float.h>.
12360 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12361 * math/s_casinhf.c: Do not include <float.h>.
12362 (__casinhf): Move code for finite nonzero arguments to
12363 k_casinhf.c.
12364 * math/s_casinhl.c: Do not include <float.h>.
12365 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12366 redefine.
12367 (__casinhl): Move code for finite nonzero arguments to
12368 k_casinhl.c.
12369 * math/libm-test.inc (cacos_test): Add more tests.
12370 * sysdeps/i386/fpu/libm-test-ulps: Update.
12371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12372
2a26ef3a
PT
123732013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12374
12375 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12376 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12377 [!HAVE_MREMAP]: Remove [defined linux] case.
12378 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12379
a897655d
SP
123802013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12381
12382 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12383
881ebe89 123842013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
12385
12386 * elf/elf.h (R_386_SIZE32): New relocation.
12387 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12388 R_386_SIZE32.
12389 (elf_machine_rela): Likewise.
12390 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12391 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12392
59981e9b
JM
123932013-01-17 Joseph Myers <joseph@codesourcery.com>
12394
12395 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12396 (FP_FAST_FMA): Do not define.
12397 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12398 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12399 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12400 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12401 !_SOFT_FLOAT]: Likewise.
12402 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12403 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12404 value.
12405 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12406 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12407 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12408 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12409 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12410 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12411 file.
12412
cfa8054f
AS
124132013-01-16 Andreas Schwab <schwab@suse.de>
12414
12415 [BZ #14327]
12416 * include/stdlib.h (__mktemp): Add declaration.
12417 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12418 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12419
dd930cc5
SP
124202013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12421
881ebe89
SP
12422 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12423 definitions.
12424 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12425 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12426 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12427 definitions here.
12428 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12429 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12430 definitions.
12431 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12432 and ONE.
12433 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12434 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12435 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12436 definitions.
12437 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12438 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12439 definitions.
12440 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 12441
dd930cc5
SP
12442 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12443
c19a9f89
DM
124442013-01-15 David S. Miller <davem@davemloft.net>
12445
1aa61767
DM
12446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12447 trunc{,f} to libm-sysdep_routes.
12448 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12450 file.
12451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12453 file.
12454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12455 file.
12456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12458 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12459 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12460 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12461 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12462 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12463 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12464
c42d5e98
DM
12465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12466 nearbyint{,f} to libm-sysdep_routes.
12467 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12469 New file.
12470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12471 file.
12472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12473 New file.
12474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12475 file.
12476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12478 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12479 file.
12480 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12481 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12482 file.
12483 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12484 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12485 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12486
c19a9f89
DM
12487 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12488 libc_feholdexcept and libc_fesetenv.
12489
357679d2
MF
124902013-01-15 Mike Frysinger <vapier@gentoo.org>
12491
12492 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12493
65a82e3d
DM
124942013-01-14 David S. Miller <davem@davemloft.net>
12495
8b954ab9
DM
12496 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12497 (SPARC_ASM_VIS2_IFUNC): Likewise.
12498 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12500 use of 'siam' instruction.
12501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12502 Likewise.
12503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12504 Likewise.
12505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12506 Likewise.
12507 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12508 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12509 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12510 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12512 file.
12513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12514 file.
12515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12516 file.
12517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12518 file.
12519 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12520 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12521 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12522 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12524 new VIS2 routines.
12525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12528 Likewise.
12529 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12530 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12531 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12534 routines to libm-sysdep_routines.
12535 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12536
65a82e3d
DM
12537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12538 fdim/fdimf to libm-sysdep_routines.
12539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12540 file.
12541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12543 file.
12544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12547 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12548 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12549 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12550 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12551
e34ab705
SP
125522013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12553
2a91b573
SP
12554 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12555 to optimize copies.
12556
1066a534
SP
12557 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12558 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12559 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12560
e34ab705
SP
12561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12562 local variable MPTWO.
12563 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12564 Likewise.
12565
aba5e596
MF
125662013-01-13 Mike Frysinger <vapier@gentoo.org>
12567
12568 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12569 GLOB_NOESCAPE.
12570
e557e9e5
MF
125712013-01-13 Mike Frysinger <vapier@gentoo.org>
12572
12573 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12574
0428cec9
MF
125752013-01-13 Mike Frysinger <vapier@gentoo.org>
12576
12577 * manual/pattern.texi (glob_t): Document gl_flags.
12578 (glob64_t): Likewise.
12579
8794a964
DM
125802013-01-11 David S. Miller <davem@davemloft.net>
12581
66438c3f
RM
12582 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12583 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12584 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
12585 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12586 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12587 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12588 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12589 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12590 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12591 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12592 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12593 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12594 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12595
4ae4244d
DM
12596 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12597 sparc V9 rather than using V8 code.
12598 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12599 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12600
8794a964
DM
12601 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12602 Move to...
12603 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12604 Here.
12605
6270516e
RM
126062013-01-11 Roland McGrath <roland@hack.frob.com>
12607
12608 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12609 not in the main loop.
12610 * configure: Regenerated.
12611
6a57d931
JM
126122013-01-11 Joseph Myers <joseph@codesourcery.com>
12613
12614 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12615 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12616 to just #else.
12617 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12618 [!__GLIBC_HAVE_LONG_LONG] case.
12619 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12620 condition to just #else.
12621 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12622 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12623 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12624 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12625 unconditional.
12626 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12627 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12628 #elif condition to just #else.
12629 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12630 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12631 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12632 #elif condition to just #else.
12633
0e8529e9
SE
126342013-01-11 Steve Ellcey <sellcey@mips.com>
12635
12636 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12637 (EF_MIPS_ARCH_64): Fix value.
12638 (EF_MIPS_ARCH_32R2): New.
12639 (EF_MIPS_ARCH_64R2): New.
12640
740b3dbe
L
126412013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12642
12643 * Makeconfig (+link-pie-before-libc): New.
12644 (+link-pie-after-libc): Likewise.
12645 (+link-pie-tests): Likewise.
12646 (+link-pie): Rewritten.
12647 (link-before-libc): Remove $(config-LDFLAGS).
12648 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12649 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12650 (config-LDFLAGS): Renamed to ...
12651 (rtld-LDFLAGS): This.
12652 (rtld-tests-LDFLAGS): New macro.
12653 (link-libc-rpath-link): Likewise.
12654 (link-libc-tests-rpath-link): Likewise.
12655 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12656 (link-libc): Prepand $(link-libc-rpath-link).
12657 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12658 (test-program-prefix): New macro.
12659 (test-via-rtld-prefix): Likewise.
12660 (test-program-cmd): Likewise.
12661 (host-test-program-cmd): Likewise.
12662 * Makefile ($(common-objpfx)testrun.sh): Replace
12663 $(run-program-prefix) with $(test-program-prefix).
12664 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12665 $(rtld-LDFLAGS).
12666 ($(common-objpfx)shlib.lds): Likewise.
12667 (build-module-helper): Likewise.
12668 ($(common-objpfx)format.lds): Likewise.
12669 * Rules (binaries-pie-tests): New.
12670 (binaries-pie-notests): Likewise.
12671 (binaries-pie): Rewritten.
12672 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12673 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12674 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12675 (make-test-out): Replace $(host-built-program-cmd) with
12676 $(host-test-program-cmd).
12677 * config.make.in (build-hardcoded-path-in-tests): New variable.
12678 * configure.in (--enable-hardcoded-path-in-tests): New configure
12679 option.
12680 (hardcoded_path_in_tests): New AC_SUBST.
12681 * configure: Regenerated.
12682 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12683 $(built-program-cmd) with $(test-program-cmd).
12684 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12685 (test_program_cmd): This.
12686 * elf/Makefile ($(objpfx)order.out): Run test with
12687 $(test-program-prefix).
12688 ($(objpfx)order2.out): Likewise.
12689 ($(objpfx)tst-initorder.out): Likewise.
12690 ($(objpfx)tst-initorder2.out): Likewise.
12691 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12692 $(test-program-cmd).
12693 ($(objpfx)tst-array1-static.out): Likewise.
12694 ($(objpfx)tst-array2.out): Likewise.
12695 ($(objpfx)tst-array3.out): Likewise.
12696 ($(objpfx)tst-array4.out): Likewise.
12697 ($(objpfx)tst-array5.out): Likewise.
12698 ($(objpfx)tst-array5-static.out): Likewise.
12699 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12700 $(test-program-cmd).
12701 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12702 $(run-program-prefix) with $(test-program-prefix).
12703 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12704 (test_program_prefix): This.
12705 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12706 $(run-program-prefix) with $(test-program-prefix).
12707 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12708 (test_program_prefix): This.
12709 * iconvdata/tst-tables.sh: Likewise.
12710 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12711 $(run-program-prefix) with $(test-program-prefix).
12712 ($(objpfx)tst-translit.out): Likewise.
12713 ($(objpfx)tst-gettext2.out): Likewise.
12714 ($(objpfx)tst-gettext4.out): Likewise.
12715 ($(objpfx)tst-gettext6.out): Likewise.
12716 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12717 (test_program_prefix): This.
12718 * intl/tst-gettext2.sh: Likewise.
12719 * intl/tst-gettext4.sh Likewise.
12720 * intl/tst-gettext6.sh: Likewise.
12721 * intl/tst-translit.sh: Likewise.
12722 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12723 with $(test-program-cmd).
12724 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12725 $(run-program-prefix) with $(test-program-prefix).
12726 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12727 (test_program_prefix): This.
12728 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12729 $(run-program-prefix) with $(test-program-prefix).
12730 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12731 (test_program_prefix): This.
12732 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12733 * posix/Makefile ($(objpfx)globtest.out): Replace
12734 $(run-via-rtld-prefix) and $(test-wrapper) with
12735 $(test-program-prefix) and $(test-via-rtld-prefix).
12736 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12737 $(test-program-prefix).
12738 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12739 $(host-test-program-cmd).
12740 (tst-spawn-ARGS): Likewise.
12741 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12742 $(test-program-prefix).
12743 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12744 (test_via_rtld_prefix): This.
12745 (test_wrapper): Renamed to ...
12746 (test_program_prefix): This.
12747 (run_program_prefix): Replaced by test_program_prefix.
12748 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12749 (test_program_prefix): This.
12750 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12751 with $(host-test-program-cmd).
12752 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12753 $(run-program-prefix) with $(test-program-prefix).
12754 ($(objpfx)tst-printf.out): Likewise.
12755 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12756 $(test-program-cmd).
12757 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12758 (test_program_prefix): This.
12759 * stdio-common/tst-unbputc.sh: Likewise.
12760 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12761 $(run-program-prefix) with $(test-program-prefix).
12762 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12763 (test_program_prefix): This.
12764 * string/Makefile ($(objpfx)tst-svc.out): Replace
12765 $(built-program-cmd) with $(test-program-cmd).
12766
c6fe55cf
AJ
127672013-01-11 Andreas Jaeger <aj@suse.de>
12768
12769 [BZ #15003]
12770 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12771 value. Sync with Linux 3.7.
12772
9e6919c8
DM
127732013-01-10 David S. Miller <davem@davemloft.net>
12774
12775 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12776 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12777 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12778
1c9f1a02
RM
127792013-01-10 Roland McGrath <roland@hack.frob.com>
12780
12781 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12782 never set.
12783 * configure: Regenerated.
12784
b9de2dde
DM
127852013-01-10 David S. Miller <davem@davemloft.net>
12786
12787 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12788 sparc V9 rather than using V8 code.
12789 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12790 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12791
e7f68ef4
RM
127922013-01-10 Roland McGrath <roland@hack.frob.com>
12793
12794 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12795 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12796 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12797 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12798 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12799 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12800 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12801 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12802 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12803 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12804 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12805 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12806 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12807 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12808 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12809 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12810 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12811 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12812 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12813 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12814 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12815 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12816 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12817 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12818 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12819 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12820 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12821
5a47cc9c
DM
128222013-01-10 David S. Miller <davem@davemloft.net>
12823
12824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12825
4cf8f209
L
128262013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12827
12828 * posix/Makefile (tests-static): New variable.
12829 (tests): Add $(tests-static).
12830 (tst-exec-static-ARGS): New variable.
12831 (tst-spawn-static-ARGS): Likewise.
12832 * posix/tst-exec-static.c: New file.
12833 * posix/tst-spawn-static.c: Likewise.
12834 * posix/tst-exec.c: Support run directly.
12835 * posix/tst-spawn.c: Likewise.
12836
fed0faa1
JM
128372013-01-10 Joseph Myers <joseph@codesourcery.com>
12838
828beb13
JM
12839 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12840 long.
12841 * math/bits/mathcalls.h (llrint): Likewise.
12842 (llround): Likewise.
12843 * stdlib/stdlib.h (struct drand48_data): Likewise.
12844 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12845 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12846 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12847 Likewise.
12848 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12849 Likewise.
12850 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12851 (elf_greg_t): Likewise.
12852 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12853 (__jmp_buf): Likewise.
12854 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12855 definitions.
12856 (llrint): Likewise, for all definitions.
12857 (llrintl): Likewise.
12858
fed0faa1
JM
12859 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12860 Remove [__GNUC__] condition.
12861 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12862 condition to just [__USE_ISOC99].
12863 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12864
1a20cb20
L
128652013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12866
12867 [BZ #14200]
12868 * sysdeps/unix/sysv/linux/x86/bits/environments.h
12869 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12870 defined.
12871 (_POSIX_V6_ILP32_OFF32): Likewise.
12872 (_XBS5_ILP32_OFF32): Likewise.
12873 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12874 (__ILP32_OFFBIG_LDFLAGS): Likewise.
12875
751b85f7
SP
128762013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12877
7490eb81
SP
12878 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12879
751b85f7
SP
12880 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12881 doubles __mpexp_twomm1. Adjust usage.
12882 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12883 Remove.
12884
988197f0
AS
128852013-01-10 Andreas Schwab <schwab@suse.de>
12886
12887 [BZ #14964]
12888 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12889 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12890
e83d7298
DM
128912013-01-09 David S. Miller <davem@davemloft.net>
12892
034ed64b 12893 [BZ #15003]
e83d7298
DM
12894 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12895 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12896 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12897 TCP_FASTOPEN): Define.
12898 (tcp_repair_opt): New structure.
12899 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12900 enum values.
12901 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12902 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12903 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12904 (tcp_cookie_transactions): New structure.
12905
d5e0b9bd
AB
129062013-01-09 Anton Blanchard <anton@samba.org>
12907
12908 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12909 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12910 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12911 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12912
0c07e3ea
JM
129132013-01-09 Joseph Myers <joseph@codesourcery.com>
12914
12915 * include/features.h (__USE_ANSI): Remove.
12916
232f7002
RM
129172013-01-09 Roland McGrath <roland@hack.frob.com>
12918
ad98e30c
RM
12919 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12920
232f7002
RM
12921 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12922
950c99ca
SP
129232013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12924
b5792741
SP
12925 * sysdeps/s390/fpu/libm-test-ulps: Update.
12926
47cf2278
SP
12927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12928
950c99ca
SP
12929 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12930 (__acr): Likewise.
12931 (__cpy): Likewise.
12932 (norm): Likewise.
12933 (denorm): Likewise.
12934 (__mp_dbl): Likewise.
12935 (__dbl_mp): Likewise.
12936 (add_magnitudes): Likewise.
12937 (sub_magnitudes): Likewise.
12938 (__add): Likewise.
12939 (__sub): Likewise.
12940 (__mul): Likewise.
12941 (__inv): Likewise.
12942 (__dvd): Likewise.
12943 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12944 (__acr): Likewise.
12945 (__cpy): Likewise.
12946 (norm): Likewise.
12947 (denorm): Likewise.
12948 (__mp_dbl): Likewise.
12949 (__dbl_mp): Likewise.
12950 (add_magnitudes): Likewise.
12951 (sub_magnitudes): Likewise.
12952 (__add): Likewise.
12953 (__sub): Likewise.
12954 (__mul): Likewise.
12955 (__inv): Likewise.
12956 (__dvd): Likewise.
12957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12958 (__acr): Likewise.
12959 (__cpy): Likewise.
12960 (norm): Likewise.
12961 (denorm): Likewise.
12962 (__mp_dbl): Likewise.
12963 (__dbl_mp): Likewise.
12964 (add_magnitudes): Likewise.
12965 (sub_magnitudes): Likewise.
12966 (__add): Likewise.
12967 (__sub): Likewise.
12968 (__mul): Likewise.
12969 (__inv): Likewise.
12970 (__dvd): Likewise.
12971
eede9df9
JM
129722013-01-08 Joseph Myers <joseph@codesourcery.com>
12973
12974 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12975 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12976 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12977 2 && __USE_EXTERN_INLINES]: Likewise.
12978
c40ea3d9
AJ
129792013-01-08 Andreas Jaeger <aj@suse.de>
12980
12981 [BZ# 14985]
12982 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12983 Remove.
12984 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12985 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12986
2ccdea26
AB
129872013-01-07 Anton Blanchard <anton@samba.org>
12988
12989 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12990 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12991 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12992 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12993 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12994 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12995 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12996 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12997 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12998 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12999 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13000 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13001 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13002 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13003 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13004 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13005 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13006 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13007 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13008 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13009 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13010 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13011 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13012 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13013 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13014 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13015 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13016 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13017 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13018 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13019 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13020 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13021 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13022 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13023 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13024 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13025 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13026 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13027 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13028 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13029 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13030 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13031 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13032
a9708fed
JM
130332013-01-07 Joseph Myers <joseph@codesourcery.com>
13034
375607b9
JM
13035 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13036 (__MALLOC_PMT): Likewise.
13037 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13038 [__GNUC__], only on [_LIBC].
13039 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13040 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13041 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13042 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13043 forward declaration.
13044 (realloc_hook_ini): Likewise.
13045 (memalign_hook_ini): Likewise.
13046 (__libc_memalign): Do not use __MALLOC_PMT in variable
13047 declaration.
13048 (__libc_valloc): Likewise.
13049 (__libc_pvalloc): Likewise.
13050 (__libc_calloc): Likewise.
13051 (__posix_memalign): Likewise.
13052
a9708fed
JM
13053 [BZ #14996]
13054 * math/s_casinh.c: Include <float.h>.
13055 (__casinh): Do not do computation with squaring and square root
13056 for large arguments.
13057 * math/s_casinhf.c: Include <float.h>.
13058 (__casinhf): Do not do computation with squaring and square root
13059 for large arguments.
13060 * math/s_casinhl.c: Include <float.h>.
13061 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13062 (__casinhl): Do not do computation with squaring and square root
13063 for large arguments.
13064 * math/libm-test.inc (casin_test): Add more tests.
13065 (casinh_test): Likewise.
13066 * sysdeps/i386/fpu/libm-test-ulps: Update.
13067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13068
afec409a
L
130692013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13070
13071 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13072 (__x86_64_raw_data_cache_size): Likewise.
13073 (__x86_64_data_cache_size_half): Likewise.
13074 (__x86_64_raw_data_cache_size_half): Likewise.
13075 (__x86_64_shared_cache_size): Likewise.
13076 (__x86_64_raw_shared_cache_size): Likewise.
13077 (__x86_64_shared_cache_size_half): Likewise.
13078 (__x86_64_raw_shared_cache_size_half): Likewise.
13079 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13080 to ...
13081 (__x86_data_cache_size): This.
13082 (__x86_64_raw_data_cache_size): Renamed to ...
13083 (__x86_raw_data_cache_size): This.
13084 (__x86_64_data_cache_size_half): Renamed to ...
13085 (__x86_data_cache_size_half): This.
13086 (__x86_64_raw_data_cache_size_half): Renamed to ...
13087 (__x86_raw_data_cache_size_half): This.
13088 (__x86_64_shared_cache_size): Renamed to ...
13089 (__x86_shared_cache_size): This.
13090 (__x86_64_raw_shared_cache_size): Renamed to ...
13091 (__x86_raw_shared_cache_size): This.
13092 (__x86_64_shared_cache_size_half): Renamed to ...
13093 (__x86_shared_cache_size_half): This.
13094 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13095 (__x86_raw_shared_cache_size_half): This.
13096 * sysdeps/x86_64/memcpy.S: Updated.
13097 * sysdeps/x86_64/memset.S: Likewise.
13098 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13099 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13100 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13101
0b3986d0
DM
131022013-01-04 David S. Miller <davem@davemloft.net>
13103
13104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13105
e47686e9
AS
131062013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13107
d643bac1
AS
13108 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13109 1 to avoid redefinition warning.
13110 (__USE_GNU): Don't define.
13111 (init_signaling_nan): Protoize.
13112
e47686e9
AS
13113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13114
b18decba
SP
131152013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13116
fffb407f
SP
13117 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13118 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13119 (__cpymn): Likewise.
13120 (norm): Remove commented code.
13121 (denorm): Likewise.
13122 (__mp_dbl): Likewise.
13123 (__inv): Likewise.
13124 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13125 (__cpymn): Likewise.
13126 (norm): Remove commented code.
13127 (denorm): Likewise.
13128 (__mp_dbl): Likewise.
13129 (__inv): Likewise.
13130
b18decba
SP
13131 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13132 mp_no value for 1.0 and 2.0.
13133 (norm): Use RADIXI instead of radixi.d.
13134 (denorm): Likewise.
13135 (__mul): Use 0.0 instead of zero.d.
13136 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13137 mp_no value for 1.0 and 2.0.
13138 (norm): Use RADIXI instead of radixi.d.
13139 (denorm): Likewise.
13140 (__mul): Use 0.0 instead of zero.d.
13141
cdc1c96f
JM
131422013-01-04 Joseph Myers <joseph@codesourcery.com>
13143
13144 [BZ #14994]
13145 * math/s_casinh.c (__casinh): Reduce finite argument to first
13146 quadrant then set signs of results at the end.
13147 * math/s_casinhf.c (__casinhf): Likewise.
13148 * math/s_casinhl.c (__casinhl): Likewise.
13149 * math/libm-test.inc (casin_test): Add more tests.
13150 (casinh_test): Likewise.
13151 * sysdeps/i386/fpu/libm-test-ulps: Update.
13152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13153
302913e1
SP
131542013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13155
6420d207
SP
13156 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13157
a9e48ab4
SP
13158 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13159
b7837264
SP
13160 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13161 declarations.
13162 (denorm): Likewise.
13163 (__mp_dbl): Likewise.
13164 (__inv): Likewise.
13165
f8af25d2
SP
13166 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13167 and adjust the header comment.
13168
302913e1
SP
13169 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13170 variable name from declaration.
13171
5d7dd1ca
L
131722013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13173
13174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13175 Initialize COMMON_CPUID_INDEX_7 element.
13176 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13177 (CPUID_RTM): Likewise.
13178 (HAS_RTM): Likewise.
13179 (COMMON_CPUID_INDEX_7): New enum.
13180
2f5f40f4
AS
131812013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13182
13183 [BZ #14981]
13184 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13185 size is zero, record memory as freed.
13186
4056f4a0
AJ
131872013-01-03 Andreas Jaeger <aj@suse.de>
13188
13189 * po/ia.po: Add new Interlingua translation.
13190
ab15736f 131912012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
13192
13193 * locale/programs/localedef.c: Fix description of '--posix' flag.
13194
568035b7
JM
131952013-01-02 Joseph Myers <joseph@codesourcery.com>
13196
e6898b8d
JM
13197 * NEWS: Update dates in second copyright notice.
13198 * README: Update copyright dates in example.
13199 * manual/libc.texinfo: Update copyright dates.
13200 * scripts/test-installation.pl: Update copyright date in --version
13201 output.
13202
0e2f9562
JM
13203 * hurd/ctty-input.c: Fix copyright notice formatting.
13204 * hurd/ctty-output.c: Likewise.
13205 * hurd/dtable.c: Likewise.
13206 * hurd/hurd-raise.c: Likewise.
13207 * hurd/hurdprio.c: Likewise.
13208 * hurd/msgportdemux.c: Likewise.
13209 * misc/sys/file.h: Likewise.
13210 * misc/sys/ioctl.h: Likewise.
13211 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13212 * sysdeps/mach/hurd/chdir.c: Likewise.
13213 * sysdeps/mach/hurd/fchdir.c: Likewise.
13214 * sysdeps/mach/hurd/rename.c: Likewise.
13215 * sysdeps/mach/hurd/rmdir.c: Likewise.
13216 * sysdeps/mach/hurd/seekdir.c: Likewise.
13217 * sysdeps/mach/hurd/setsid.c: Likewise.
13218 * sysdeps/posix/wait3.c: Likewise.
13219
568035b7
JM
13220 * All files with FSF copyright notices: Update copyright dates
13221 using scripts/update-copyrights.
13222 * intl/plural.c: Regenerated.
13223 * locale/programs/charmap-kw.h: Likewise.
13224 * locale/programs/locfile-kw.h: Likewise.
13225
da08f647
SP
132262013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13227
0f5477af
SP
13228 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13229 four values.
13230
44e0d4c2
SP
13231 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13232 calculation loop and add branch prediction.
13233
4d55b4e5
SP
13234 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13235 check access beyond bounds of m1np.
13236
da08f647
SP
13237 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13238 MPTWO.
13239 (__inv): Remove local variable MPTWO to use the global
13240 constant.
13241 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13242 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13243 variable MPTWO.
13244 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13245 MP3HALFS static const.
13246
8e051029
DM
132472013-01-01 David S. Miller <davem@davemloft.net>
13248
13249 * po/ca.po: Update from translation team.
13250
f4cf5f2d
JM
132512013-01-01 Joseph Myers <joseph@codesourcery.com>
13252
13253 * scripts/update-copyrights: New file.
13254 * Makeconfig: Reformat copyright notice.
13255 * ctype/ctype.h: Likewise.
13256 * debug/swprintf_chk.c: Likewise.
13257 * elf/dl-cache.c: Likewise.
13258 * elf/dl-debug.c: Likewise.
13259 * elf/dl-object.c: Likewise.
13260 * grp/initgroups.c: Likewise.
13261 * hurd/Makefile: Likewise.
13262 * hurd/hurd/signal.h: Likewise.
13263 * hurd/hurdfault.c: Likewise.
13264 * hurd/hurdioctl.c: Likewise.
13265 * hurd/hurdlookup.c: Likewise.
13266 * hurd/intr-msg.c: Likewise.
13267 * iconv/gconv_open.c: Likewise.
13268 * libio/swprintf.c: Likewise.
13269 * locale/lc-ctype.c: Likewise.
13270 * locale/nl_langinfo.c: Likewise.
13271 * mach/Machrules: Likewise.
13272 * mach/Makefile: Likewise.
13273 * malloc/obstack.h: Likewise.
13274 * manual/Makefile: Likewise.
13275 * manual/tsort.awk: Likewise.
13276 * misc/bits/stab.def: Likewise.
13277 * nis/nis_print_group_entry.c: Likewise.
13278 * nis/nis_table.c: Likewise.
13279 * nis/nss_compat/compat-pwd.c: Likewise.
13280 * nis/nss_compat/compat-spwd.c: Likewise.
13281 * po/Makefile: Likewise.
13282 * posix/fnmatch.c: Likewise.
13283 * posix/regex.h: Likewise.
13284 * resolv/Makefile: Likewise.
13285 * resolv/nss_dns/dns-network.c: Likewise.
13286 * resolv/res_hconf.c: Likewise.
13287 * scripts/gen-sorted.awk: Likewise.
13288 * soft-fp/soft-fp.h: Likewise.
13289 * stdio-common/printf.h: Likewise.
13290 * stdlib/monetary.h: Likewise.
13291 * stdlib/random.c: Likewise.
13292 * stdlib/random_r.c: Likewise.
13293 * sysdeps/generic/Makefile: Likewise.
13294 * sysdeps/gnu/Makefile: Likewise.
13295 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13296 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13297 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13298 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13299 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13300 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13301 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13302 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13303 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13304 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13305 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13306 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13307 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13308 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13309 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13310 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13311 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13312 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13313 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13314 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13315 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13316 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13317 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13318 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13319 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13320 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13321 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13322 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13323 * sysdeps/mach/hurd/errnos.awk: Likewise.
13324 * sysdeps/mach/hurd/fork.c: Likewise.
13325 * sysdeps/mach/hurd/getcwd.c: Likewise.
13326 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13327 * sysdeps/mach/hurd/mmap.c: Likewise.
13328 * sysdeps/mach/hurd/utimes.c: Likewise.
13329 * sysdeps/mach/hurd/xmknod.c: Likewise.
13330 * sysdeps/posix/profil.c: Likewise.
13331 * sysdeps/posix/readdir_r.c: Likewise.
13332 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13333 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13334 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13335 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13336 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13337 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13338 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13339 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13341 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13342 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13343 * sysdeps/pthread/lio_listio.c: Likewise.
13344 * sysdeps/sparc/dl-procinfo.h: Likewise.
13345 * sysdeps/unix/i386/sysdep.S: Likewise.
13346 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13347 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13348 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13349 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13351 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13352 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13353 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13354 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13355 * sysdeps/wordsize-32/divdi3.c: Likewise.
13356 * time/sys/time.h: Likewise.
13357 * wcsmbs/Makefile: Likewise.
13358
0549fbba
DM
133592013-01-01 David S. Miller <davem@davemloft.net>
13360
a141f1a7
DM
13361 * po/fr.po: Update from translation team.
13362
0549fbba
DM
13363 * catgets/gencat.c: Update copyright year.
13364 * csu/version.c: Likewise.
13365 * debug/catchsegv.sh: Likewise.
13366 * debug/pcprofiledump.c: Likewise.
13367 * debug/xtrace.sh: Likewise.
13368 * elf/ldconfig.c: Likewise.
13369 * elf/ldd.bash.in: Likewise.
13370 * elf/pldd.c: Likewise.
13371 * elf/sotruss.ksh: Likewise.
13372 * elf/sprof.c: Likewise.
13373 * iconv/iconv_prog.c: Likewise.
13374 * iconv/iconvconfig.c: Likewise.
13375 * locale/programs/locale.c: Likewise.
13376 * locale/programs/localedef.c: Likewise.
13377 * login/programs/pt_chown.c: Likewise.
13378 * malloc/memusage.sh: Likewise.
13379 * malloc/memusagestat.c: Likewise.
13380 * malloc/mtrace.pl: Likewise.
13381 * nscd/nscd.c: Likewise.
13382 * nss/getent.c: Likewise.
13383 * nss/makedb.c: Likewise.
13384 * posix/getconf.c: Likewise.
13385
18ea052c
SP
133862012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13387
13388 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13389 numbers.
13390
9c89fca6
MF
133912012-12-30 Mike Frysinger <vapier@gentoo.org>
13392
13393 * math/bits/mathcalls.h (modf): Use __nonnull.
13394
085ec079
SP
133952012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13396
13397 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13398 (split): Use macro CN instead of the bare value.
13399 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13400 could be used.
13401 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13402 instead of the bare value.
13403 (power1): Likewise.
13404
6d9f97e1
SP
134052012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13406
d63f73be
SP
13407 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13408 __ATAN_TWOM.
13409 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13410
6d9f97e1
SP
13411 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13412 their values.
13413 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13414 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13415 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13416 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13417
4c4febf5
AJ
134182012-12-28 Andreas Jaeger <aj@suse.de>
13419
af5843ef
AJ
13420 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13421 values are from Linux 3.7.
13422
4c4febf5
AJ
13423 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13424 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13425
99136f82
SP
134262012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13427
2f216c3c 13428 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
13429 TRUE case.
13430
99136f82
SP
13431 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13432 (norm): Likewise.
13433 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13434 variables with preprocessor constants.
13435 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13436 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13437 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13438
7fffbdff
BH
134392012-12-27 Bruno Haible <bruno@clisp.org>
13440
13441 [BZ #14317]
13442 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13443 only if needed.
13444
b76eb5f0
SP
134452012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13446
31a7fe5c
SP
13447 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13448 and use variable directly.
13449 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13450
b76eb5f0
SP
13451 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13452 MPONE.
13453 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13454 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13455 variable MPONE.
13456 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13457 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13458 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13459 include directive. Remove local variable MPONE.
13460 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13461 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13462 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13463
2c8bfe7d
DM
134642012-12-25 David S. Miller <davem@davemloft.net>
13465
13466 * version.h (RELEASE): Set to "development".
13467 (VERSION): Set to "2.17.90".
13468 * NEWS: Add 2.18 section.
13469
147d03b0
DM
134702012-12-21 David S. Miller <davem@davemloft.net>
13471
13472 * po/hr.po: Update from translation team.
13473
a8ebb2b9
AK
134742012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13475
13476 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13477
95b4f1b6
SE
134782012-12-19 Steve Ellcey <sellcey@mips.com>
13479
b2d94007 13480 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 13481
cedb2a90
MS
134822012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13483
13484 * manual/contrib.texi (Contributors): Spelling correction.
13485
bbf527d6
DM
134862012-12-15 David S. Miller <davem@davemloft.net>
13487
13488 * po/ru.po: Update from translation team.
13489
bc38c906
DM
134902012-12-13 David S. Miller <davem@davemloft.net>
13491
85429b1a
DM
13492 * NEWS: Mention IFUNC testsuite enhancements.
13493
d283e353
DM
13494 * po/pl.po: Update from translation team.
13495 * po/bg.po: Likewise.
13496
bc38c906
DM
13497 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13498 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13499
a181b0d7
DM
135002012-12-11 David S. Miller <davem@davemloft.net>
13501
4641d57e
DM
13502 * po/sv.po: Update from translation team.
13503
f7bc6495
DM
13504 * po/vi.po: Update from translation team.
13505
6fc9048f
DM
13506 * po/cs.po: Update from translation team.
13507
a181b0d7
DM
13508 * po/de.po: Update from translation team.
13509 * po/eo.po: Likewise.
13510 * po/nl.po: Likewise.
13511
f70bfe80
SP
135122012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13513
3c8b4190
SP
13514 [BZ #14246]
13515 * manual/argp.texi (Argp Helper Functions): Move node to follow
13516 Argp Parsing State.
13517
f70bfe80
SP
13518 [BZ #14872]
13519 * manual/conf.texi (Limits on File System Capacity): Mention if
13520 terminating null is included in the max size.
13521
188f0adf
AJ
135222012-12-10 Andreas Jaeger <aj@suse.de>
13523
13524 * po/cs.po: Update from translation team.
13525
56e7d3ad
SP
135262012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13527
13528 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13529 void pointer and cast to uintptr_t.
13530 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13531 path.
13532 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13533 * sysdeps/s390/s390-64/memset.S: Likewise.
13534
76f2d2ea 135352012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
13536
13537 [BZ #14833]
13538 * menual/message.texi (Message Translation): Fix typos.
13539 (Helper programs for gettext): Likewise.
13540
67cbf9a2
AS
135412012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13542
13543 [BZ #14898]
13544 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13545 Change to -1.
13546
682d0e9a
DM
135472012-12-07 David S. Miller <davem@davemloft.net>
13548
13549 * po/libc.pot: Update.
13550
573cd484
RH
135512012-12-07 Richard Henderson <rth@redhat.com>
13552
7e9da188 13553 [BZ #10114]
573cd484
RH
13554 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13555 normal/normal case to before the switch.
13556 (_FP_DIV): Likewise.
13557
e933a943
MF
135582012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13559 Mike Frysinger <vapier@gentoo.org>
13560
13561 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13562 check for __NR_fadvise64_64.
13563
82123268
CM
135642012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13565
13566 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13567 0, not just to plain "0" as a statement.
13568 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13569 with cw.
13570
d9814526
JM
135712012-12-06 Joseph Myers <joseph@codesourcery.com>
13572
13573 * NEWS: Use sourceware.org in Bugzilla URL.
13574
7728c574
SP
135752012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13576
f16946dd
SP
13577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13578 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13579
5704bbcb
SP
13580 * stdio-common/tst-put-error.c (do_test): Add newline to the
13581 padded test to ensure flush.
13582
17aa0516
JL
135832012-12-05 Jeff Law <law@redhat.com>
13584
13585 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13586
363313b5
JM
135872012-12-05 Joseph Myers <joseph@codesourcery.com>
13588
effbd42a
JM
13589 * README: Don't refer to ports add-on as distributed separately.
13590 Mention AArch64 in list of systems supported in the ports add-on.
13591
87600365
JM
13592 * LICENSES: Add more non-FSF copyright and license notices.
13593
a0d7066a
JM
13594 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13595 ((unused)).
13596
66ca5a5b
JM
13597 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13598
363313b5
JM
13599 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13600 10000 as width of padded output.
13601
b37984ad
JM
136022012-12-04 Joseph Myers <joseph@codesourcery.com>
13603
9003570a
JM
13604 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13605
b37984ad
JM
13606 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13607 variable LX with __attribute__ ((unused)).
13608 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13609 Likewise.
13610 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13611 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13612 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13613 with __attribute__ ((unused)).
13614
c8df52ec
DM
136152012-12-04 David S. Miller <davem@abraco.davemloft.net>
13616
13617 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13618
b3b099af
JM
136192012-12-04 Joseph Myers <joseph@codesourcery.com>
13620
c33aa6e3
JM
13621 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13622 (CFLAGS-nldbl-acos.c): New variable.
13623 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13624 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13625 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13626 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13627 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13628 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13629 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13630 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13631 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13632 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13633 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13634 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13635 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13636 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13637 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13638 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13639 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13640 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13641 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13642 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13643 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13644 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13645 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13646 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13647 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13648 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13649 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13650 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13651 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13652 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13653 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13654 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13655 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13656 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13657 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13658 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13659 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13660 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13661 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13662 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13663 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13664 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13665 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13666 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13667 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13668 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13669 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13670 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13671 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13672 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13673 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13674 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13675 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13676 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13677 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13678 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13679 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13680 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13681 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13682 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13683 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13684 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13685 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13686 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13687 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13688 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13689 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13690 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13691 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13692 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13693 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13694 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13695 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13696 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13697 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13698 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13699 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13700 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13701 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13702 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13703 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13704 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13705 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13706 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13707 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13708 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13709 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13710 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13711 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13712 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13713 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13714 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13715 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13716 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13717 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13718 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13719 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13720
20f0018d
JM
13721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13722 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13723
b3b099af
JM
13724 [BZ #14914]
13725 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13726 whole low double instead of just low 47 bits when splitting values
13727 into two parts.
13728
029264d1
AM
137292012-12-03 Allan McRae <allan@archlinux.org>
13730
13731 * manual/stdio.texi (Predefined Printf Handlers): Remove
13732 @hsep and @vsep usage.
13733
c9d6789e
MF
137342012-12-03 Mike Frysinger <vapier@gentoo.org>
13735
13736 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13737 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13738
4b7634a5
JL
137392012-12-03 Jeff Law <law@redhat.com>
13740
13741 * time/sys/time.h (settimeofday): Do not mark TV argument
13742 as __nonnull.
13743
eb6cbd24
MF
137442012-12-01 Mike Frysinger <vapier@gentoo.org>
13745
13746 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13747 when currently writing and seek to current position when not.
13748 * libio/Makefile (tests): Remove bug-fclose1.
13749 * libio/bug-fclose1.c: Delete.
13750
f638872a
JM
137512012-12-01 Joseph Myers <joseph@codesourcery.com>
13752
13753 * manual/arith.texi (feenableexcept): Fix typo.
13754 (fedisableexcept): Likewise.
13755
48085d14
RM
137562012-11-30 Roland McGrath <roland@hack.frob.com>
13757
13758 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13759 second, differently-typed declaration, rather than a cast.
13760
1a538b9f
SP
137612012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13762
13763 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13764 * include/rpc/svc.h: ... here.
13765
d07f2ff1 137662012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
13767
13768 [BZ #13013]
13769 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13770 depending n and resplen2 to catch cases where answer
13771 equals answerp2.
13772
c93ec1f0
CD
137732012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13774
13775 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13776 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13777
37db69de
MF
137782012-11-29 Mike Frysinger <vapier@gentoo.org>
13779
13780 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13781
e10c4e4f
RM
137822012-11-29 Roland McGrath <roland@hack.frob.com>
13783
13784 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13785
2af1b328
JL
137862012-11-28 Jeff Law <law@redhat.com>
13787
13788 [BZ #13761]
13789 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13790 dataset_temporary. Track alloca usage into alloca_used.
13791 If dataset is large allocate and release it via malloc/free.
13792
111db5b1
FW
137932012-06-04 Florian Weimer <fweimer@redhat.com>
13794
f06cc227 13795 [BZ #14197]
111db5b1
FW
13796 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13797
dd694abd
DM
137982012-11-28 David S. Miller <davem@davemloft.net>
13799
13800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13801
9984dd01
JM
138022012-11-28 Joseph Myers <joseph@codesourcery.com>
13803
13804 [BZ #14803]
13805 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13806 of pi/2 rounded to nearest to 64 bits.
13807 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13808 nearest to 64 bits.
13809 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13810 bits.
13811
14bc93a9
JL
138122012-11-28 Jeff Law <law@redhat.com>
13813 Martin Osvald <mosvald@redhat.com>
13814
13815 [BZ #14889]
13816 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13817 * sunrpc/svc.c: Include time.h.
13818 (__svc_accept_failed): New function.
13819 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13820 any reason other than EINTR, call __svc_accept_failed.
13821 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13822 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13823
e3c6aa3a
AS
138242012-11-28 Andreas Schwab <schwab@suse.de>
13825
13826 * scripts/abilist.awk: Also handle indirect functions in .opd
13827 section.
13828
1bead169
JM
138292012-11-28 Joseph Myers <joseph@codesourcery.com>
13830
13831 [BZ #13881]
13832 * sysdeps/x86/fpu/powl_helper.c: New file.
13833 * sysdeps/x86/fpu/Makefile: Likewise.
13834 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13835 (p3): New object.
13836 (__ieee754_powl): Use __powl_helper for finite arguments except
13837 integer exponents below 8.
13838 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13839 (p3): New object.
13840 (__ieee754_powl): Use __powl_helper for finite arguments except
13841 integer exponents below 8.
13842 * math/libm-test.inc (pow_test): Add more tests and enable some
13843 previously disabled tests.
13844 * sysdeps/i386/fpu/libm-test-ulps: Update.
13845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13846
0817d63d
SP
138472012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13848 Carlos O'Donell <carlos_odonell@mentor.com>
13849
13850 * nss/makedb.c (is_prime): Assert that input is odd and greater
13851 than 4. Note that fact in a comment too.
13852 (next_prime): Add 4 to input.
13853
de2fd463
SP
138542012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13855
13856 [BZ #11741]
13857 * libio/Makefile (tests): Add test case tst-fwrite-error.
13858 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13859 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13860 * libio/tst-fwrite-error.c: New test case.
13861
c515fb51
L
138622012-11-26 H.J. Lu <hongjiu.lu@intel.com>
13863
13864 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13865 before casting to void *.
13866 * include/libc-internal.h (__pointer_type): New macro.
13867 (__integer_if_pointer_type_sub): Likewise.
13868 (__integer_if_pointer_type): Likewise.
13869 (cast_to_integer): Likewise.
13870 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13871 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13872 before casting to atomic64_t.
13873 (atomic_exchange_acq): Likewise.
13874 (__arch_exchange_and_add_body): Likewise.
13875 (__arch_add_body): Likewise.
13876 (atomic_add_negative): Likewise.
13877 (atomic_add_zero): Likewise.
13878
4cf77aa9
JM
138792012-11-26 Joseph Myers <joseph@codesourcery.com>
13880
13881 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13882 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13883 (add_fdes): Likewise.
13884 (linear_search_fdes): Likewise.
13885 (binary_search_unencoded_fdes): Likewise.
13886
d260b3b4
AS
138872012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13888
13889 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13890
67060746
AC
138912012-11-24 Adam Conrad <adconrad@0c3.net>
13892
13893 * configure.in: Autodetect C++ header directories.
13894 * configure: Regenerated.
13895
800938a1
MF
138962012-11-23 Mike Frysinger <vapier@gentoo.org>
13897
13898 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13899
4e6e34e6
AS
139002012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13901
13902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13903
7c7feb47
JM
139042012-11-22 Joseph Myers <joseph@codesourcery.com>
13905
7184dcdf
JM
13906 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13907 LDBL_MANT_DIG == 106]: Disable some tests.
13908 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13909 Likewise.
13910 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13911 Likewise.
13912
0a42601f
JM
13913 [BZ #14871]
13914 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13915 input for small inputs. Return +/- pi/2 for large inputs.
13916 * math/libm-test.inc (atan_test): Add more tests.
13917
79c9b9fe
JM
13918 * sysdeps/generic/unwind-dw2-fde-glibc.c
13919 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13920 __attribute__ ((unused)).
13921
c60d3bf2
JM
13922 [BZ #14645]
13923 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13924 x * y if x and y are nonzero and z is zero.
13925
ef1e0867
JM
13926 [BZ #14811]
13927 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13928 nonzero exponents with absolute value below 0x1p-117 to +/-
13929 0x1p-117.
13930
1468ded3
JM
13931 [BZ #14869]
13932 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13933 up arguments below 2**-450, not just those below 2**-500.
13934 * math/libm-test.inc (hypot_test): Add another test.
13935
8e27e3cc
JM
13936 [BZ #14868]
13937 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13938 Return a+b for ratio over 2**120, not 2**60.
13939 * math/libm-test.inc (hypot_test): Add another test.
13940
c9c0279b
JM
13941 * math/libm-test.inc (clog_test): Use
13942 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13943 (clog10_test): Likewise.
13944
7c7feb47
JM
13945 [BZ #6778]
13946 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13947
fff1530e
AS
139482012-11-22 Andreas Schwab <schwab@suse.de>
13949
13950 * sysdeps/i386/fpu/libm-test-ulps: Update.
13951
94558d30
PT
139522012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13953
13954 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13955 printf output with newline.
13956
7e1be741
L
139572012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13958
6bfea974
L
13959 [BZ #14865]
13960 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13961 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13962 -z nodlopen, -z initfirst and -z execstack support.
13963 * configure: Regenerated.
13964
7e1be741
L
13965 * elf/elf.h (DF_1_NODIRECT): New macro.
13966 (DF_1_IGNMULDEF): Likewise.
13967 (DF_1_NOKSYMS): Likewise.
13968 (DF_1_NOHDR): Likewise.
13969 (DF_1_EDITED): Likewise.
13970 (DF_1_NORELOC): Likewise.
13971 (DF_1_SYMINTPOSE): Likewise.
13972 (DF_1_GLOBAUDIT): Likewise.
13973 (DF_1_SINGLETON): Likewise.
13974 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13975 DT_1_SUPPORTED_MASK bits.
13976 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13977
105ce2ce
CD
139782012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13979
13980 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13981
123be9de
TS
139822012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13983
d072f3f7
TS
13984 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13985 macro.
13986
123be9de
TS
13987 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13988 (sendmmsg): Move declarations...
13989 * socket/sys/socket.h: ... here.
13990 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13991 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13992 include it from...
13993 * socket/recvmmsg.c: ... this new file.
13994 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13995 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13996 definition of __sendmmsg hidden.
13997 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13998 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13999 Move ENOSYS stub into and include it from...
14000 * socket/sendmmsg.c: ... this new file.
14001 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14002 (sysdep_routines): Move recvmmsg and sendmmsg...
14003 * socket/Makefile (routines): ... here.
14004 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14005 (GLIBC_PRIVATE): Add __sendmmsg.
14006 * include/sys/socket.h (__sendmmsg): Add declarations.
14007 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14008 sendmmsg.
14009
cf9a5d18
JM
140102012-11-20 Joseph Myers <joseph@codesourcery.com>
14011
14012 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14013 variable I1 with __attribute__ ((unused)).
14014 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14015
ecd4caf9
JM
140162012-11-19 Joseph Myers <joseph@codesourcery.com>
14017
be14d48f
JM
14018 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14019 DUMMY variables with __attribute__ ((unused)).
14020
ecd4caf9
JM
14021 * bits/byteswap.h: Include <bits/types.h>.
14022 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14023
986cab95
PT
140242012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14025
14026 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14027 string_t. Do not manually set errno.
14028 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14029 length with __strnlen. Make sure to both set errno and return it on
14030 failure.
14031
6d33cc9d
DM
140322012-11-19 David S. Miller <davem@davemloft.net>
14033
14034 With help from Joseph Myers.
14035 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14036 very large arguments properly.
14037 * math/libm-test.inc (atan_test): New tests.
14038 (atan2_test): New tests.
14039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14040 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14041
ee663277
JM
140422012-11-19 Joseph Myers <joseph@codesourcery.com>
14043
877f2d8e
JM
14044 [BZ #14856]
14045 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14046 Define to 3.
14047
116fc08a
JM
14048 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14049 [POSIX] (EADDRNOTAVAIL): Likewise.
14050 [POSIX] (EAFNOSUPPORT): Likewise.
14051 [POSIX] (EALREADY): Likewise.
14052 [POSIX] (ECONNABORTED): Likewise.
14053 [POSIX] (ECONNREFUSED): Likewise.
14054 [POSIX] (ECONNRESET): Likewise.
14055 [POSIX] (EDESTADDRREQ): Likewise.
14056 [POSIX] (EDQUOT): Likewise.
14057 [POSIX] (EHOSTUNREACH): Likewise.
14058 [POSIX] (EIDRM): Likewise.
14059 [POSIX] (EISCONN): Likewise.
14060 [POSIX] (ELOOP): Likewise.
14061 [POSIX] (EMULTIHOP): Likewise.
14062 [POSIX] (ENETDOWN): Likewise.
14063 [POSIX] (ENETUNREACH): Likewise.
14064 [POSIX] (ENOBUFS): Likewise.
14065 [POSIX] (ENODATA): Likewise.
14066 [POSIX] (ENOLINK): Likewise.
14067 [POSIX] (ENOMSG): Likewise.
14068 [POSIX] (ENOPROTOOPT): Likewise.
14069 [POSIX] (ENOSR): Likewise.
14070 [POSIX] (ENOSTR): Likewise.
14071 [POSIX] (ENOTCONN): Likewise.
14072 [POSIX] (ENOTSOCK): Likewise.
14073 [POSIX] (EOPNOTSUPP): Likewise.
14074 [POSIX] (EOVERFLOW): Likewise.
14075 [POSIX] (EPROTO): Likewise.
14076 [POSIX] (EPROTONOSUPPORT): Likewise.
14077 [POSIX] (EPROTOTYPE): Likewise.
14078 [POSIX] (ESTALE): Likewise.
14079 [POSIX] (ETIME): Likewise.
14080 [POSIX] (ETXTBSY): Likewise.
14081 [POSIX] (EWOULDBLOCK): Likewise.
14082 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14083 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14084 [POSIX] (SEEK_CUR): Likewise.
14085 [POSIX] (SEEK_END): Likewise.
14086 [POSIX || UNIX98] (mode_t): Do not require.
14087 [POSIX] (off_t): Likewise.
14088 [POSIX] (pid_t): Likewise.
14089 [POSIX] (sys/stat.h): Do not allow header.
14090 [POSIX] (unistd.h): Likewise.
14091 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14092 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14093 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14094 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14095 require.
14096 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14097 sigevent): Specify elements.
14098 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14099 entry.
14100 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14101 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14102
a483863f
JM
14103 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14104 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14105 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14106 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14107 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14108 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14109 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14110 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14111 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14112 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14113 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14114 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14115 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14116 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14117 Likewise.
14118 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14119 Likewise.
14120 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14121 Likewise.
14122 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14123 Likewise.
14124 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14125 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14126 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14127 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14128 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14129 Specify lower bound on value.
14130 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14131 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14132 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14133 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14134 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14135 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14136 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14137 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14138 value.
14139 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14140 as optional.
14141 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14142 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14143 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14144 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14145 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14146 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14147 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14148 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14149 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14150 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14151 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14152 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14153 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14154 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14155 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14156 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14157 entry.
14158 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14159 optional.
14160 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14161 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14162 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14163 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14164 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14165 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14166 Likewise.
14167 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14168 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14169 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14170 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14171 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14172 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14173 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14174 as optional.
14175 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14176 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14177 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14178 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14179 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14180 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14181 specify as optional.
14182 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14183 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14184 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14185 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14186 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14187 [XPG3] (NL_LANGMAX): Likewise.
14188 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14189 [POSIX || XPG3] (NL_NMAX): Likewise.
14190 [POSIX || XPG3] (NL_SETMAX): Likewise.
14191 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14192 [XPG3] (NZERO): Likewise.
14193 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14194 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14195 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14196 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14197 (REG_ERANGE): Expect.
14198 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14199 optional-constant.
14200 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14201 Use (void) in prototype.
14202 [POSIX] (*_t): Allow.
14203 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14204 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14205 (WRDE_BADVAL): Expect.
14206
5ba924e3
JM
14207 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14208 expect.
14209 [XPG3 || XPG4] (O_RSYNC): Likewise.
14210 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14211 Likewise.
14212 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14213 [XPG3 || XPG4] (sigqueue): Likewise.
14214 [XPG3 || XPG4] (sigtimedwait): Likewise.
14215 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14216 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14217 [XPG3 || XPG4] (vsnprintf): Likewise.
14218 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14219 Likewise.
14220 [XPG3 || XPG4] (blksize_t): Likewise.
14221 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14222 Likewise.
14223 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14224 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14225 [XPG3 || XPG4] (struct itimerspec): Likewise.
14226 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14227 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14228 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14229 [XPG3 || XPG4] (clockid_t): Likewise.
14230 [XPG3 || XPG4] (timer_t): Likewise.
14231 [XPG3 || XPG4] (clock_getres): Likewise.
14232 [XPG3 || XPG4] (clock_gettime): Likewise.
14233 [XPG3 || XPG4] (clock_settime): Likewise.
14234 [XPG3 || XPG4] (nanosleep): Likewise.
14235 [XPG3 || XPG4] (timer_create): Likewise.
14236 [XPG3 || XPG4] (timer_delete): Likewise.
14237 [XPG3 || XPG4] (timer_gettime): Likewise.
14238 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14239 [XPG3 || XPG4] (timer_settime): Likewise.
14240 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14241 [XPG3 || XPG4] (getlogin_r): Likewise.
14242 [XPG3 || XPG4] (pread): Likewise.
14243 [XPG3 || XPG4] (pthread_atfork): Likewise.
14244 [XPG3 || XPG4] (pwrite): Likewise.
14245
ee663277
JM
14246 [BZ #14835]
14247 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14248 <bits/siginfo.h>.
14249
942caa16
PT
142502012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14251
e19af380
PT
14252 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14253 finalizing MALLSTREAM.
14254
942caa16
PT
14255 * sysdeps/mach/hurd/syncfs.c: New file.
14256
cfde9b46
SP
142572012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14258
14259 [BZ #14719]
14260 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14261 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14262 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14263 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14264 (_nss_dns_gethostbyname4_r): Likewise.
14265 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14266 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14267
f6da27e5
PH
142682012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14269
14270 [BZ #13763]
14271 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14272
6665d4a2
SM
142732012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14274
1f51ee92
SM
14275 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14276 * elf/cache.c (print_entry): Print ",AArch64" for
14277 FLAG_AARCH64_LIB64
14278
6665d4a2
SM
14279 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14280 * elf/cache.c (print_entry): Print ",hard-float" for
14281 FLAG_ARM_LIBHF.
14282
05b227bd
DM
142832012-11-18 David S. Miller <davem@davemloft.net>
14284
14285 With help from Joseph Myers.
14286 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14287 cutoff to 2**-13.
14288 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14289 cutoff to 2**-25.
14290 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14291 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14292 small.
14293 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14294 * math/libm-test.inc (y0_test): New tests.
14295 (y1_test): New tests.
14296 * sysdeps/i386/fpu/libm-test-ulps: Update.
14297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14299
786b0b67
AS
143002012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14301
14302 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14303 64-bit targets.
14304 * configure: Regenerated.
14305
8e18b86d
DM
143062012-11-17 David S. Miller <davem@davemloft.net>
14307
14308 [BZ #14811]
14309 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14310 nonzero exponents with absolute value below 0x1p-128 to +/-
14311 0x1p-128.
14312
531f1ae0
JM
143132012-11-17 Joseph Myers <joseph@codesourcery.com>
14314
12df29e2
JM
14315 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14316
150dc1a0
JM
14317 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14318
531f1ae0
JM
14319 * posix/getconf-speclist.c: New file.
14320 * posix/posix-envs.def: Likewise.
14321 * posix/confstr.c (START_ENV_GROUP): New macro.
14322 (END_ENV_GROUP): Likewise.
14323 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14324 (KNOWN_PRESENT_ENV_STRING): Likewise.
14325 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14326 (UNKNOWN_ENVIRONMENT): Likewise.
14327 (confstr): Include posix-envs.def instead of handling
14328 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14329 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14330 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14331 (END_ENV_GROUP): Likewise.
14332 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14333 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14334 (UNKNOWN_ENVIRONMENT): Likewise.
14335 (__sysconf): Include posix-envs.def instead of handling associated
14336 cases directly here.
14337 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14338 preprocessing getconf-speclist.c rather than running getconf or
14339 generating empty file.
14340
a93f9cbc
PT
143412012-11-16 Pino Toscano <toscano.pino@tiscali.it>
14342
14343 * scripts/check-local-headers.sh: Ignore 'mach' headers.
14344
d64d9f87
AL
143452012-11-16 Andrej Lajovic <natrij@gmail.com>
14346
14347 [BZ #14672]
14348 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14349
447885eb
DM
143502012-11-16 David S. Miller <davem@davemloft.net>
14351
14352 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14353 smaller than LDBL_EPSILON/2.0L, just return xm1.
14354
bcbf9830
L
143552012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14356
14357 * elf/tst-array1.c (init): Set constructor priority to 1000.
14358 (fini): Set destructor priority to 1000.
14359 * elf/tst-array2dep.c: Likewise.
14360
2b766585
SP
143612012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14362
14363 [BZ #11741]
14364 * libio/fileops.c (_IO_new_file_write): Correctly return error.
14365 (_IO_new_file_xsputn): Also return EOF if none of the input
14366 data was written when overflow failed.
14367 * libio/iopadn.c (_IO_padn): Likewise.
14368 * libio/iowpadn.c (_IO_wpadn): Likewise.
14369 * stdio-common/tst-put-error.c: Add copyright notice.
14370 (do_test): Add case for printing padded string.
14371 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14372 _IO_padn returned error.
14373 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14374 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14375 return EOF.
14376
b1848fde
SP
143772012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14378
14379 * libio/libioP.h: Add comment note that the references to C++
14380 bits are now obsolete.
14381
2fd89785
MS
143822012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14383
14384 * math/libm-test.inc (check_complex): Use asprintf.
14385
e3ea5409
JM
143862012-11-14 Joseph Myers <joseph@codesourcery.com>
14387
14388 * debug/pcprofiledump.c (print_version): Update copyright year.
14389 * malloc/memusagestat.c (print_version): Likewise.
14390
2e64d265
L
143912012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14392
14393 [BZ #14831]
14394 * elf/Makefile (tests): Add tst-audit8.
14395 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14396 ($(objpfx)tst-audit8.out): New target.
14397 (tst-audit8-ENV): New variable.
14398 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14399 audit if l_reloc_result is NULL.
14400 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14401 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14402 * elf/tst-audit8.c: New file.
14403
c485e4d2
MS
144042012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14405
14406 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14407 * misc/Makefile (CFLAGS-select.c): Define.
14408 * posix/Makefile (CFLAGS-pause.c): Define.
14409
3a0d900a
DM
144102012-11-13 David S. Miller <davem@davemloft.net>
14411
14412 * crypt/Makefile: Move test targets after toplevel Rules
14413 inclusion. Grab any necessary sysdep routines when linking.
14414 * crypt/md5.c (md5_process_block): Remove define, we will always
14415 name it __md5_process_block.
14416 (md5_finish_ctx): Update md5_process_block call.
14417 (md5_stream): Likewise.
14418 (md5_process_bytes): Likewise.
14419 (md5_process_block): Rename to __md5_process_block and move to ...
14420 * crypt/md5-block.c: ... here.
14421 * crypt/sha256.c (sha256_process_block): Move to ...
14422 * crypt/sha256-block.c: ... here.
14423 * crypt/sha512.c (sha512_process_block): Move to ...
14424 * crypt/sha512-block.c: ... here.
14425 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14426 path.
14427 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14428 * sysdeps/sparc/sparc64/multiarch/Makefile
14429 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14430 crypt subdir.
14431 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14432 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14433 multiarch changes.
14434 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14435 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14436 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14437 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14438 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14439 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14440 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14441 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14442 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14443 file.
14444 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14445 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14446 file.
14447 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14448
8ca89318
JM
144492012-11-13 Joseph Myers <joseph@codesourcery.com>
14450
e27d476a
JM
14451 * timezone/tzselect.ksh: Update from tzcode git revision
14452 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14453 * timezone/zdump.c: Likewise.
14454 * timezone/zic.c: Likewise.
14455 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14456 in TZVERSION setting, not $(PKGVERSION).
14457 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
14458 REPORT_BUGS_TO settings.
14459
8ca89318
JM
14460 [BZ #14838]
14461 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14462 macro.
14463
47594329
MS
144642012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14465
14466 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14467 detection to immediately after _FP_ROUND().
14468 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14469 bits are 0.
14470
640ac3f1
DM
144712012-11-11 David S. Miller <davem@davemloft.net>
14472
14473 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14474 inttypes.h
14475 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14476 __close rather than their public counterparts.
14477
3d2577bb
JM
144782012-11-10 Joseph Myers <joseph@codesourcery.com>
14479
14480 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14481 file.
14482 [UNIX98] (sem_timedwait): Do not expect.
14483 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14484 [XPG4 || UNIX98] (sockatmark): Do not expect.
14485 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14486 (clock_getcpuclockid): Do not expect.
14487 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14488 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14489 Do not expect.
14490 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14491 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14492 [UNIX98] (vwscanf): Likewise.
14493 [UNIX98] (vswscanf): Likewise.
14494
fb1ae1ee
JM
144952012-11-09 Joseph Myers <joseph@codesourcery.com>
14496
9ec6f8bd
JM
14497 * timezone/version.h: Remove file.
14498 * timezone/README: Do not refer to version.h.
14499 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14500 $(objpfx)version.h.
14501 ($(objpfx)zdump.o): Likewise.
c3f81911 14502 ($(objpfx)version.h): New target.
9ec6f8bd 14503
0aa8f8a1
JM
14504 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14505 2012i.
14506 * timezone/README: Don't mention modification to tzselect.ksh.
14507 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14508 work on unmodified tzselect.ksh. Substitute version numbers in
14509 tzselect.ksh.
14510
4e87147f
JM
14511 * Makefile (format-me): Remove.
14512 (INSTALL): Adjust indentation. Use commands directly instead of
14513 using $(format-me).
14514
8b748aed
JM
14515 * aclocal.m4 (ACX_PKGVERSION): New macro.
14516 (ACX_BUGURL): Likewise.
14517 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14518 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14519 (REPORT_BUGS_TO): Likewise.
14520 * configure: Regenerated.
14521 * config.h.in (PKGVERSION): New macro.
14522 (REPORT_BUGS_TO): Likewise.
14523 * config.make.in (PKGVERSION): New variable.
14524 (PKGVERSION_TEXI): Likewise.
14525 (REPORT_BUGS_TO): Likewise.
14526 (REPORT_BUGS_TEXI): Likewise.
14527 * Makefile (format-me): Use -I$(common-objpfx)manual.
14528 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14529 ($(common-objpfx)manual/%): New target.
14530 (manual/%): Remove target.
14531 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14532 (print_version): Use PKGVERSION.
14533 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14534 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14535 and REPORT_BUGS_TO.
14536 ($(objpfx)xtrace): Likewise.
14537 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14538 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14539 (print_version): Use PKGVERSION.
14540 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14541 (do_version): Use PKGVERSION.
14542 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14543 REPORT_BUGS_TO.
14544 (common-ldd-rewrite): Likewise.
14545 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14546 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14547 (print_version): Use PKGVERSION.
14548 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14549 * elf/pldd.c (argp_program_bug_address): Remove variable.
14550 (more_help): New function.
14551 (argp): Use more_help.
14552 (print_version): Use PKGVERSION.
14553 * elf/sln.c (main): Use PKGVERSION.
14554 (usage): Use REPORT_BUGS_TO.
14555 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14556 (top level): Use PKGVERSION.
14557 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14558 (print_version): Use PKGVERSION.
14559 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14560 (print_version): Use PKGVERSION.
14561 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14562 (print_version): Use PKGVERSION.
14563 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14564 (print_version): Use PKGVERSION.
14565 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14566 (print_version): Use PKGVERSION.
14567 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14568 (print_version): Use PKGVERSION.
14569 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14570 and BUGURL.
14571 ($(objpfx)memusage): Likewise.
14572 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14573 (do_version): Use PKGVERSION.
14574 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14575 (print_version): Use PKGVERSION.
14576 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14577 ($PKGVERSION): New variable.
14578 ($REPORT_BUGS_TO): Likewise.
14579 (usage): Use $REPORT_BUGS_TO.
14580 (top level): Use $PKGVERSION.
14581 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14582 ($(objpfx)pkgvers.texi): New rule.
14583 ($(objpfx)stamp-pkgvers): Likewise.
14584 * manual/install.texi: Include pkgvers.texi.
14585 (--with-pkgversion): Document new configure option.
14586 (--with-bugurl): Likewise.
14587 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14588 than necessarily for this particular distribution. Use
14589 REPORT_BUGS_TO for where to report bugs.
14590 * INSTALL: Regenerated.
14591 * manual/libc.texinfo: Include pkgvers.texi.
14592 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14593 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14594 (print_version): Use PKGVERSION.
14595 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14596 (print_version): Use PKGVERSION.
14597 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14598 (print_version): Use PKGVERSION.
14599 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14600 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14601 macro.
14602 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14603 (print_version): Use PKGVERSION.
14604 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14605 (print_version): Use PKGVERSION.
14606 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14607 and PKGVERSION.
14608
92e4b6a9
JM
14609 * timezone/checktab.awk: Update from tzcode 2012i.
14610 * timezone/ialloc.c: Likewise.
14611 * timezone/private.h: Likewise.
14612 * timezone/scheck.c: Likewise.
14613 * timezone/tzfile.h: Likewise.
14614 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14615 (TZVERSION): Hardcode tzcode version number.
14616 * timezone/zdump.c: Update from tzcode 2012i.
14617 * timezone/zic.c: Likewise.
14618 * timezone/version.h: New file.
14619 * timezone/README: Describe version.h. Update upstream location.
14620
9bde902c
JM
14621 [BZ #14824]
14622 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14623 (mktemp): Enable declaration.
14624 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14625 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14626 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14627 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14628 Likewise.
14629 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14630 Likewise.
14631 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14632 Likewise.
14633 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14634 Likewise.
14635 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14636 Likewise.
14637 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14638 Likewise.
14639
fb1ae1ee
JM
14640 [BZ #14821]
14641 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14642 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14643 for copies of such integer values.
14644 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14645 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14646
2c1adbcb
AJ
146472012-11-09 Andreas Jaeger <aj@suse.de>
14648
14649 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14650 definitions and declarations that are provided by
14651 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14652
d0f8457e
AK
146532012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14654
3a235abb 14655 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
14656 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14657 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14658 definition.
14659
57241e26
MS
146602012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14661
14662 * elf/elf.h: Update comment before AArch64 relocations.
14663
60e8270d
DM
146642012-11-07 David S. Miller <davem@davemloft.net>
14665
14666 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14667 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14668 (__start_context): Declare.
14669 (__makecontext_ret): Delete.
14670 (__makecontext): Hook up __start_context instead of
14671 __makecontext_ret.
14672 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14673 (sysdep_routines): Add __start_context when in stdlib.
14674
0fbb0fbc
JM
146752012-11-07 Joseph Myers <joseph@codesourcery.com>
14676
14677 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14678 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14679 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14680 hardcoded "nm".
14681 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14682 (READELF): New variable. Use it instead of hardcoded "readelf".
14683
eb48db7e
L
146842012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14685
14686 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14687 * sysdeps/x86/Makefile: Here.
14688 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14689 * sysdeps/x86/tst-xmmymm.sh: This.
14690
05bcf62a
JM
146912012-11-07 Joseph Myers <joseph@codesourcery.com>
14692
c4b6cf53
JM
14693 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14694 expectations.
14695 [UNIX98] (pthread_barrier_t): Do not expect.
14696 [UNIX98] (pthread_barrierattr_t): Likewise.
14697 [UNIX98] (pthread_spinlock_t): Likewise.
14698 [UNIX98] (pthread_barrier_destroy): Likewise.
14699 [UNIX98] (pthread_barrier_init): Likewise.
14700 [UNIX98] (pthread_barrier_wait): Likewise.
14701 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14702 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14703 [UNIX98] (pthread_barrierattr_init): Likewise.
14704 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14705 [UNIX98] (pthread_getcpuclockid): Likewise.
14706 [UNIX98] (pthread_mutex_timedlock): Likewise.
14707 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14708 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14709 [UNIX98] (pthread_sigmask): Likewise.
14710 [UNIX98] (pthread_spin_destroy): Likewise.
14711 [UNIX98] (pthread_spin_init): Likewise.
14712 [UNIX98] (pthread_spin_lock): Likewise.
14713 [UNIX98] (pthread_spin_trylock): Likewise.
14714 [UNIX98] (pthread_spin_unlock): Likewise.
14715 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14716 Do not expect.
14717 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14718 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14719 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14720 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14721 [XPG3 || XPG4] (pthread_key_t): Likewise.
14722 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14723 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14724 [XPG3 || XPG4] (pthread_once_t): Likewise.
14725 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14726 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14727 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14728 [XPG3 || XPG4] (pthread_t): Likewise.
14729
cbe6e120
JM
14730 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14731 not expect.
14732 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14733
1b126443
JM
14734 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14735 Change function return type to int.
14736
b961a573
JM
14737 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14738 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14739 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14740 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14741 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14742 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14743 [!POSIX] (posix_madvise): Likewise.
14744 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14745 && !UNIX98].
14746 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14747 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14748 (mode_t): Likewise.
14749 (posix_mem_offset): Likewise.
14750 (posix_typed_mem_get_info): Likewise.
14751 (posix_typed_mem_open): Likewise.
14752
9e188909
JM
14753 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14754 Change condition to [XOPEN2K8].
14755
05bcf62a
JM
14756 * conform/conformtest.pl: Preprocess allow-header data with -x c
14757 instead of from stdin.
14758 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14759 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14760 [C99-based standards] (cerfc): Likewise.
14761 [C99-based standards] (cexp2): Likewise.
14762 [C99-based standards] (cexpm1): Likewise.
14763 [C99-based standards] (clog10): Likewise.
14764 [C99-based standards] (clog1p): Likewise.
14765 [C99-based standards] (clog2): Likewise.
14766 [C99-based standards] (clgamma): Likewise.
14767 [C99-based standards] (ctgamma): Likewise.
14768 [C99-based standards] (cerff): Likewise.
14769 [C99-based standards] (cerfcf): Likewise.
14770 [C99-based standards] (cexp2f): Likewise.
14771 [C99-based standards] (cexpm1f): Likewise.
14772 [C99-based standards] (clog10f): Likewise.
14773 [C99-based standards] (clog1pf): Likewise.
14774 [C99-based standards] (clog2f): Likewise.
14775 [C99-based standards] (clgammaf): Likewise.
14776 [C99-based standards] (ctgammaf): Likewise.
14777 [C99-based standards] (cerfl): Likewise.
14778 [C99-based standards] (cerfcl): Likewise.
14779 [C99-based standards] (cexp2l): Likewise.
14780 [C99-based standards] (cexpm1l): Likewise.
14781 [C99-based standards] (clog10l): Likewise.
14782 [C99-based standards] (clog1pl): Likewise.
14783 [C99-based standards] (clog2l): Likewise.
14784 [C99-based standards] (clgammal): Likewise.
14785 [C99-based standards] (ctgammal): Likewise.
14786 * conform/data/inttypes.h-data [C99-based standards]: Include
14787 stdint.h-data. Remove all expectations for stdint.h contents.
14788 [C99-based standards] (PRI*): Do not allow.
14789 [C99-based standards] (SCN*): Likewise.
14790 [C99-based standards] (*_t): Likewise.
14791 [C99-based-standards] (PRId8): Expect macro.
14792 [C99-based-standards] (PRIi8): Likewise.
14793 [C99-based-standards] (PRIo8): Likewise.
14794 [C99-based-standards] (PRIu8): Likewise.
14795 [C99-based-standards] (PRIx8): Likewise.
14796 [C99-based-standards] (PRIX8): Likewise.
14797 [C99-based-standards] (SCNd8): Likewise.
14798 [C99-based-standards] (SCNi8): Likewise.
14799 [C99-based-standards] (SCNo8): Likewise.
14800 [C99-based-standards] (SCNu8): Likewise.
14801 [C99-based-standards] (SCNx8): Likewise.
14802 [C99-based-standards] (PRIdLEAST8): Likewise.
14803 [C99-based-standards] (PRIiLEAST8): Likewise.
14804 [C99-based-standards] (PRIoLEAST8): Likewise.
14805 [C99-based-standards] (PRIuLEAST8): Likewise.
14806 [C99-based-standards] (PRIxLEAST8): Likewise.
14807 [C99-based-standards] (PRIXLEAST8): Likewise.
14808 [C99-based-standards] (SCNdLEAST8): Likewise.
14809 [C99-based-standards] (SCNiLEAST8): Likewise.
14810 [C99-based-standards] (SCNoLEAST8): Likewise.
14811 [C99-based-standards] (SCNuLEAST8): Likewise.
14812 [C99-based-standards] (SCNxLEAST8): Likewise.
14813 [C99-based-standards] (PRIdFAST8): Likewise.
14814 [C99-based-standards] (PRIiFAST8): Likewise.
14815 [C99-based-standards] (PRIoFAST8): Likewise.
14816 [C99-based-standards] (PRIuFAST8): Likewise.
14817 [C99-based-standards] (PRIxFAST8): Likewise.
14818 [C99-based-standards] (PRIXFAST8): Likewise.
14819 [C99-based-standards] (SCNdFAST8): Likewise.
14820 [C99-based-standards] (SCNiFAST8): Likewise.
14821 [C99-based-standards] (SCNoFAST8): Likewise.
14822 [C99-based-standards] (SCNuFAST8): Likewise.
14823 [C99-based-standards] (SCNxFAST8): Likewise.
14824 [C99-based-standards] (PRId16): Likewise.
14825 [C99-based-standards] (PRIi16): Likewise.
14826 [C99-based-standards] (PRIo16): Likewise.
14827 [C99-based-standards] (PRIu16): Likewise.
14828 [C99-based-standards] (PRIx16): Likewise.
14829 [C99-based-standards] (PRIX16): Likewise.
14830 [C99-based-standards] (SCNd16): Likewise.
14831 [C99-based-standards] (SCNi16): Likewise.
14832 [C99-based-standards] (SCNo16): Likewise.
14833 [C99-based-standards] (SCNu16): Likewise.
14834 [C99-based-standards] (SCNx16): Likewise.
14835 [C99-based-standards] (PRIdLEAST16): Likewise.
14836 [C99-based-standards] (PRIiLEAST16): Likewise.
14837 [C99-based-standards] (PRIoLEAST16): Likewise.
14838 [C99-based-standards] (PRIuLEAST16): Likewise.
14839 [C99-based-standards] (PRIxLEAST16): Likewise.
14840 [C99-based-standards] (PRIXLEAST16): Likewise.
14841 [C99-based-standards] (SCNdLEAST16): Likewise.
14842 [C99-based-standards] (SCNiLEAST16): Likewise.
14843 [C99-based-standards] (SCNoLEAST16): Likewise.
14844 [C99-based-standards] (SCNuLEAST16): Likewise.
14845 [C99-based-standards] (SCNxLEAST16): Likewise.
14846 [C99-based-standards] (PRIdFAST16): Likewise.
14847 [C99-based-standards] (PRIiFAST16): Likewise.
14848 [C99-based-standards] (PRIoFAST16): Likewise.
14849 [C99-based-standards] (PRIuFAST16): Likewise.
14850 [C99-based-standards] (PRIxFAST16): Likewise.
14851 [C99-based-standards] (PRIXFAST16): Likewise.
14852 [C99-based-standards] (SCNdFAST16): Likewise.
14853 [C99-based-standards] (SCNiFAST16): Likewise.
14854 [C99-based-standards] (SCNoFAST16): Likewise.
14855 [C99-based-standards] (SCNuFAST16): Likewise.
14856 [C99-based-standards] (SCNxFAST16): Likewise.
14857 [C99-based-standards] (PRId32): Likewise.
14858 [C99-based-standards] (PRIi32): Likewise.
14859 [C99-based-standards] (PRIo32): Likewise.
14860 [C99-based-standards] (PRIu32): Likewise.
14861 [C99-based-standards] (PRIx32): Likewise.
14862 [C99-based-standards] (PRIX32): Likewise.
14863 [C99-based-standards] (SCNd32): Likewise.
14864 [C99-based-standards] (SCNi32): Likewise.
14865 [C99-based-standards] (SCNo32): Likewise.
14866 [C99-based-standards] (SCNu32): Likewise.
14867 [C99-based-standards] (SCNx32): Likewise.
14868 [C99-based-standards] (PRIdLEAST32): Likewise.
14869 [C99-based-standards] (PRIiLEAST32): Likewise.
14870 [C99-based-standards] (PRIoLEAST32): Likewise.
14871 [C99-based-standards] (PRIuLEAST32): Likewise.
14872 [C99-based-standards] (PRIxLEAST32): Likewise.
14873 [C99-based-standards] (PRIXLEAST32): Likewise.
14874 [C99-based-standards] (SCNdLEAST32): Likewise.
14875 [C99-based-standards] (SCNiLEAST32): Likewise.
14876 [C99-based-standards] (SCNoLEAST32): Likewise.
14877 [C99-based-standards] (SCNuLEAST32): Likewise.
14878 [C99-based-standards] (SCNxLEAST32): Likewise.
14879 [C99-based-standards] (PRIdFAST32): Likewise.
14880 [C99-based-standards] (PRIiFAST32): Likewise.
14881 [C99-based-standards] (PRIoFAST32): Likewise.
14882 [C99-based-standards] (PRIuFAST32): Likewise.
14883 [C99-based-standards] (PRIxFAST32): Likewise.
14884 [C99-based-standards] (PRIXFAST32): Likewise.
14885 [C99-based-standards] (SCNdFAST32): Likewise.
14886 [C99-based-standards] (SCNiFAST32): Likewise.
14887 [C99-based-standards] (SCNoFAST32): Likewise.
14888 [C99-based-standards] (SCNuFAST32): Likewise.
14889 [C99-based-standards] (SCNxFAST32): Likewise.
14890 [C99-based-standards] (PRId64): Likewise.
14891 [C99-based-standards] (PRIi64): Likewise.
14892 [C99-based-standards] (PRIo64): Likewise.
14893 [C99-based-standards] (PRIu64): Likewise.
14894 [C99-based-standards] (PRIx64): Likewise.
14895 [C99-based-standards] (PRIX64): Likewise.
14896 [C99-based-standards] (SCNd64): Likewise.
14897 [C99-based-standards] (SCNi64): Likewise.
14898 [C99-based-standards] (SCNo64): Likewise.
14899 [C99-based-standards] (SCNu64): Likewise.
14900 [C99-based-standards] (SCNx64): Likewise.
14901 [C99-based-standards] (PRIdLEAST64): Likewise.
14902 [C99-based-standards] (PRIiLEAST64): Likewise.
14903 [C99-based-standards] (PRIoLEAST64): Likewise.
14904 [C99-based-standards] (PRIuLEAST64): Likewise.
14905 [C99-based-standards] (PRIxLEAST64): Likewise.
14906 [C99-based-standards] (PRIXLEAST64): Likewise.
14907 [C99-based-standards] (SCNdLEAST64): Likewise.
14908 [C99-based-standards] (SCNiLEAST64): Likewise.
14909 [C99-based-standards] (SCNoLEAST64): Likewise.
14910 [C99-based-standards] (SCNuLEAST64): Likewise.
14911 [C99-based-standards] (SCNxLEAST64): Likewise.
14912 [C99-based-standards] (PRIdFAST64): Likewise.
14913 [C99-based-standards] (PRIiFAST64): Likewise.
14914 [C99-based-standards] (PRIoFAST64): Likewise.
14915 [C99-based-standards] (PRIuFAST64): Likewise.
14916 [C99-based-standards] (PRIxFAST64): Likewise.
14917 [C99-based-standards] (PRIXFAST64): Likewise.
14918 [C99-based-standards] (SCNdFAST64): Likewise.
14919 [C99-based-standards] (SCNiFAST64): Likewise.
14920 [C99-based-standards] (SCNoFAST64): Likewise.
14921 [C99-based-standards] (SCNuFAST64): Likewise.
14922 [C99-based-standards] (SCNxFAST64): Likewise.
14923 [C99-based-standards] (PRIdMAX): Likewise.
14924 [C99-based-standards] (PRIiMAX): Likewise.
14925 [C99-based-standards] (PRIoMAX): Likewise.
14926 [C99-based-standards] (PRIuMAX): Likewise.
14927 [C99-based-standards] (PRIxMAX): Likewise.
14928 [C99-based-standards] (PRIXMAX): Likewise.
14929 [C99-based-standards] (SCNdMAX): Likewise.
14930 [C99-based-standards] (SCNiMAX): Likewise.
14931 [C99-based-standards] (SCNoMAX): Likewise.
14932 [C99-based-standards] (SCNuMAX): Likewise.
14933 [C99-based-standards] (SCNxMAX): Likewise.
14934 [C99-based-standards] (PRIdPTR): Likewise.
14935 [C99-based-standards] (PRIiPTR): Likewise.
14936 [C99-based-standards] (PRIoPTR): Likewise.
14937 [C99-based-standards] (PRIuPTR): Likewise.
14938 [C99-based-standards] (PRIxPTR): Likewise.
14939 [C99-based-standards] (PRIXPTR): Likewise.
14940 [C99-based-standards] (SCNdPTR): Likewise.
14941 [C99-based-standards] (SCNiPTR): Likewise.
14942 [C99-based-standards] (SCNoPTR): Likewise.
14943 [C99-based-standards] (SCNuPTR): Likewise.
14944 [C99-based-standards] (SCNxPTR): Likewise.
14945 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14946 allow.
14947 * conform/data/stdint.h-data: Update comments to clarify
14948 requirements.
14949 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14950 type.
14951 [C99-based standards] (INT8_MAX): Likewise.
14952 [C99-based standards] (INT16_MIN): Likewise.
14953 [C99-based standards] (INT16_MAX): Likewise.
14954 [C99-based standards] (INT32_MIN): Likewise.
14955 [C99-based standards] (INT32_MAX): Likewise.
14956 [C99-based standards] (INT64_MIN): Likewise.
14957 [C99-based standards] (INT64_MAX): Likewise.
14958 [C99-based standards] (UINT8_MAX): Likewise.
14959 [C99-based standards] (UINT16_MAX): Likewise.
14960 [C99-based standards] (UINT32_MAX): Likewise.
14961 [C99-based standards] (UINT64_MAX): Likewise.
14962 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14963 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14964 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14965 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14966 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14967 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14968 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14969 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14970 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14971 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14972 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14973 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14974 [C99-based standards] (INT_FAST8_MIN): Likewise.
14975 [C99-based standards] (INT_FAST8_MAX): Likewise.
14976 [C99-based standards] (INT_FAST16_MIN): Likewise.
14977 [C99-based standards] (INT_FAST16_MAX): Likewise.
14978 [C99-based standards] (INT_FAST32_MIN): Likewise.
14979 [C99-based standards] (INT_FAST32_MAX): Likewise.
14980 [C99-based standards] (INT_FAST64_MIN): Likewise.
14981 [C99-based standards] (INT_FAST64_MAX): Likewise.
14982 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14983 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14984 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14985 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14986 [C99-based standards] (INTPTR_MIN): Likewise.
14987 [C99-based standards] (INTPTR_MAX): Likewise.
14988 [C99-based standards] (UINTPTR_MAX): Likewise.
14989 [C99-based standards] (INTMAX_MIN): Likewise.
14990 [C99-based standards] (INTMAX_MAX): Likewise.
14991 [C99-based standards] (UINTMAX_MAX): Likewise.
14992 [C99-based standards] (PTRDIFF_MIN): Likewise.
14993 [C99-based standards] (PTRDIFF_MAX): Likewise.
14994 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14995 [C99-based standards] (SIZE_MAX): Likewise.
14996 [C99-based standards] (WCHAR_MAX): Likewise.
14997 [C99-based standards] (WINT_MAX): Likewise.
14998 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14999 constraint on value.
15000 [C99-based standards] (WCHAR_MIN): Likewise.
15001 [C99-based standards] (WINT_MIN): Likewise.
15002 [C99-based standards] (*_t): Allow.
15003 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15004 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15005 Include math.h-data and complex.h-data. Remove all expectations
15006 of math.h and complex.h contents.
15007 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15008 at end of line.
15009 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15010 (struct tm): Expect tag.
15011 [C99-based-standards] (wcstof): Expect function.
15012 [C99-based-standards] (wcstold): Likewise.
15013 [C99-based-standards] (wcstoll): Likewise.
15014 [C99-based-standards] (wcstoull): Likewise.
15015 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15016 macro-int-constant. Specify type.
15017 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15018 constraint on value.
15019 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15020 Specify type.
15021 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15022 Specify value.
15023 [ISO C standards]: Do not allow headers.
15024 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15025 wcs[abcdefghijklmnopqrstuvwxyz]*.
15026 [ISO C standards] (*_t): Do not allow.
15027 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15028 Expect function.
15029 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15030 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15031 Specify type.
15032 [ISO C standards]: Do not allow headers.
15033 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15034 is[abcdefghijklmnopqrstuvwxyz]*.
15035 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15036 to[abcdefghijklmnopqrstuvwxyz]*.
15037 [ISO C standards] (*_t): Do not allow.
15038 * conform/data/stdalign.h-data: New file.
15039 * conform/data/stdbool.h-data: Likewise.
15040 * conform/data/stdnoreturn.h-data: Likewise.
15041
7514feb8
RM
150422012-11-07 Roland McGrath <roland@hack.frob.com>
15043
15044 [BZ #14815]
15045 * manual/filesys.texi (Directory Entries): Typo fix.
15046 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15047
19b2ecfc
MS
150482012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15049
15050 * elf/elf.h (EM_AARCH64): New macro.
15051 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15052 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15053 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15054 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15055 (R_AARCH64_TLSDESC): Likewise.
15056 (NT_ARM_TLS): Likewise.
15057 (NT_ARM_HW_BREAK): Likewise.
15058 (NT_ARM_HW_WATCH): Likewise.
15059
60e235ee
JM
150602012-11-07 Joseph Myers <joseph@codesourcery.com>
15061
15062 [BZ #14811]
15063 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15064 (__ieee754_powl): Saturate nonzero exponents with absolute value
15065 below 0x1p-79 to +/- 0x1p-79.
15066 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15067 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15068 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15069 nonzero exponents with absolute value below 0x1p-32 to +/-
15070 0x1p-32.
15071 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15072 (__ieee754_powl): Saturate nonzero exponents with absolute value
15073 below 0x1p-79 to +/- 0x1p-79.
15074 * math/libm-test.inc (pow_test): Add more tests.
15075
0ab234b7
AK
150762012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15077
15078 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15079 _dl_s390_cap_flags with kernel. Increase string length.
15080 (_dl_s390_platforms): Add z196 and zEC12.
15081
45832f74
JM
150822012-11-07 Joseph Myers <joseph@codesourcery.com>
15083
15084 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15085 Change XOPEN21K to XOPEN2K.
15086
19218757
MK
150872012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15088
15089 * string/memmove.c: Use memcpy when possible.
15090
c5f45721
AJ
150912012-11-06 Andreas Jaeger <aj@suse.de>
15092
15093 * po/eo.po: Update from translation team.
15094
82477c28
JM
150952012-11-06 Joseph Myers <joseph@codesourcery.com>
15096
15097 [BZ #14793]
15098 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15099 exponent and small x and y exponents, scale x or y up. Increase
15100 by 2 the exponent used in scaling up.
15101 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15102 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15103 * math/libm-test.inc (fma_test): Add more tests.
15104 (fma_test_towardzero): Likewise.
15105 (fma_test_downward): Likewise.
15106 (fma_test_upward): Likewise.
15107
99252c8c
JM
151082012-11-05 Joseph Myers <joseph@codesourcery.com>
15109
acfa885f
JM
15110 [BZ #14805]
15111 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15112 fenv_t *.
15113
99252c8c
JM
15114 [BZ #14801]
15115 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15116 namespace for names of struct fields.
15117 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15118 fenv_t fields.
15119 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15120 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15121
d6d98dea
ST
151222012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15123
15124 [BZ #3665]
15125 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15126
e10bb107
TS
151272012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15128
15129 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15130 PTR_DEMANGLE.
15131
15132 [BZ #5246]
15133 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15134 PTR_DEMANGLE.
15135
a0c2940d
JM
151362012-11-04 Joseph Myers <joseph@codesourcery.com>
15137
15138 [BZ #14797]
15139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15140 definitely overflow as x * y not x * y + z.
15141 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15142 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15143 * math/libm-test.inc (fma_test): Add more tests.
15144 (fma_test_towardzero): Likewise.
15145 (fma_test_downward): Likewise.
15146 (fma_test_upward): Likewise.
15147
b830319d
TS
151482012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15149
15150 [BZ #157]
15151
15152 * include/stub-tag.h: Remove file.
15153 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15154 '#include' of it.
15155 * manual/maint.texi (Porting): Don't reference it.
15156 * Makerules ($(objpfx)stubs): Likewise.
15157 * dirent/closedir.c: Don't include <stub-tag.h>.
15158 * dirent/dirfd.c: Likewise.
15159 * dirent/fdopendir.c: Likewise.
15160 * dirent/getdents.c: Likewise.
15161 * dirent/getdents64.c: Likewise.
15162 * dirent/opendir.c: Likewise.
15163 * dirent/readdir.c: Likewise.
15164 * dirent/readdir64.c: Likewise.
15165 * dirent/readdir64_r.c: Likewise.
15166 * dirent/readdir_r.c: Likewise.
15167 * dirent/rewinddir.c: Likewise.
15168 * dirent/seekdir.c: Likewise.
15169 * dirent/telldir.c: Likewise.
15170 * gmon/profil.c: Likewise.
15171 * grp/setgroups.c: Likewise.
15172 * inet/if_index.c: Likewise.
15173 * io/access.c: Likewise.
15174 * io/chdir.c: Likewise.
15175 * io/chmod.c: Likewise.
15176 * io/chown.c: Likewise.
15177 * io/close.c: Likewise.
15178 * io/dup.c: Likewise.
15179 * io/dup2.c: Likewise.
15180 * io/dup3.c: Likewise.
15181 * io/euidaccess.c: Likewise.
15182 * io/faccessat.c: Likewise.
15183 * io/fchdir.c: Likewise.
15184 * io/fchmod.c: Likewise.
15185 * io/fchmodat.c: Likewise.
15186 * io/fchown.c: Likewise.
15187 * io/fchownat.c: Likewise.
15188 * io/fcntl.c: Likewise.
15189 * io/flock.c: Likewise.
15190 * io/fstatfs.c: Likewise.
15191 * io/fstatfs64.c: Likewise.
15192 * io/fstatvfs.c: Likewise.
15193 * io/fstatvfs64.c: Likewise.
15194 * io/futimens.c: Likewise.
15195 * io/fxstat.c: Likewise.
15196 * io/fxstat64.c: Likewise.
15197 * io/fxstatat.c: Likewise.
15198 * io/fxstatat64.c: Likewise.
15199 * io/getcwd.c: Likewise.
15200 * io/isatty.c: Likewise.
15201 * io/lchmod.c: Likewise.
15202 * io/lchown.c: Likewise.
15203 * io/link.c: Likewise.
15204 * io/linkat.c: Likewise.
15205 * io/lseek.c: Likewise.
15206 * io/lseek64.c: Likewise.
15207 * io/lxstat64.c: Likewise.
15208 * io/mkdir.c: Likewise.
15209 * io/mkdirat.c: Likewise.
15210 * io/mkfifo.c: Likewise.
15211 * io/mkfifoat.c: Likewise.
15212 * io/open.c: Likewise.
15213 * io/open64.c: Likewise.
15214 * io/openat.c: Likewise.
15215 * io/openat64.c: Likewise.
15216 * io/pipe.c: Likewise.
15217 * io/pipe2.c: Likewise.
15218 * io/poll.c: Likewise.
15219 * io/posix_fadvise.c: Likewise.
15220 * io/posix_fadvise64.c: Likewise.
15221 * io/posix_fallocate.c: Likewise.
15222 * io/posix_fallocate64.c: Likewise.
15223 * io/read.c: Likewise.
15224 * io/readlink.c: Likewise.
15225 * io/readlinkat.c: Likewise.
15226 * io/rmdir.c: Likewise.
15227 * io/sendfile.c: Likewise.
15228 * io/sendfile64.c: Likewise.
15229 * io/statfs.c: Likewise.
15230 * io/statfs64.c: Likewise.
15231 * io/statvfs.c: Likewise.
15232 * io/statvfs64.c: Likewise.
15233 * io/symlink.c: Likewise.
15234 * io/symlinkat.c: Likewise.
15235 * io/ttyname.c: Likewise.
15236 * io/ttyname_r.c: Likewise.
15237 * io/umask.c: Likewise.
15238 * io/unlink.c: Likewise.
15239 * io/unlinkat.c: Likewise.
15240 * io/utime.c: Likewise.
15241 * io/utimensat.c: Likewise.
15242 * io/write.c: Likewise.
15243 * io/xmknod.c: Likewise.
15244 * io/xmknodat.c: Likewise.
15245 * io/xstat.c: Likewise.
15246 * io/xstat64.c: Likewise.
15247 * login/getpt.c: Likewise.
15248 * login/grantpt.c: Likewise.
15249 * login/unlockpt.c: Likewise.
15250 * math/e_acoshl.c: Likewise.
15251 * math/e_acosl.c: Likewise.
15252 * math/e_asinl.c: Likewise.
15253 * math/e_atan2l.c: Likewise.
15254 * math/e_atanhl.c: Likewise.
15255 * math/e_coshl.c: Likewise.
15256 * math/e_expl.c: Likewise.
15257 * math/e_fmodl.c: Likewise.
15258 * math/e_gammal_r.c: Likewise.
15259 * math/e_hypotl.c: Likewise.
15260 * math/e_j0l.c: Likewise.
15261 * math/e_j1l.c: Likewise.
15262 * math/e_jnl.c: Likewise.
15263 * math/e_lgammal_r.c: Likewise.
15264 * math/e_log10l.c: Likewise.
15265 * math/e_log2l.c: Likewise.
15266 * math/e_logl.c: Likewise.
15267 * math/e_powl.c: Likewise.
15268 * math/e_rem_pio2l.c: Likewise.
15269 * math/e_sinhl.c: Likewise.
15270 * math/e_sqrtl.c: Likewise.
15271 * math/fclrexcpt.c: Likewise.
15272 * math/fedisblxcpt.c: Likewise.
15273 * math/feenablxcpt.c: Likewise.
15274 * math/fegetenv.c: Likewise.
15275 * math/fegetexcept.c: Likewise.
15276 * math/fegetround.c: Likewise.
15277 * math/feholdexcpt.c: Likewise.
15278 * math/fesetenv.c: Likewise.
15279 * math/fesetround.c: Likewise.
15280 * math/feupdateenv.c: Likewise.
15281 * math/fgetexcptflg.c: Likewise.
15282 * math/fraiseexcpt.c: Likewise.
15283 * math/fsetexcptflg.c: Likewise.
15284 * math/ftestexcept.c: Likewise.
15285 * math/k_cosl.c: Likewise.
15286 * math/k_rem_pio2l.c: Likewise.
15287 * math/k_sinl.c: Likewise.
15288 * math/k_tanl.c: Likewise.
15289 * math/s_asinhl.c: Likewise.
15290 * math/s_atanl.c: Likewise.
15291 * math/s_cbrtl.c: Likewise.
15292 * math/s_erfl.c: Likewise.
15293 * math/s_expm1l.c: Likewise.
15294 * math/s_log1pl.c: Likewise.
15295 * math/s_tanhl.c: Likewise.
15296 * misc/acct.c: Likewise.
15297 * misc/brk.c: Likewise.
15298 * misc/chflags.c: Likewise.
15299 * misc/chroot.c: Likewise.
15300 * misc/fchflags.c: Likewise.
15301 * misc/fgetxattr.c: Likewise.
15302 * misc/flistxattr.c: Likewise.
15303 * misc/fremovexattr.c: Likewise.
15304 * misc/fsetxattr.c: Likewise.
15305 * misc/fsync.c: Likewise.
15306 * misc/ftruncate.c: Likewise.
15307 * misc/futimes.c: Likewise.
15308 * misc/futimesat.c: Likewise.
15309 * misc/getdomain.c: Likewise.
15310 * misc/getdtsz.c: Likewise.
15311 * misc/gethostid.c: Likewise.
15312 * misc/gethostname.c: Likewise.
15313 * misc/getloadavg.c: Likewise.
15314 * misc/getpagesize.c: Likewise.
15315 * misc/getsysstats.c: Likewise.
15316 * misc/getxattr.c: Likewise.
15317 * misc/gtty.c: Likewise.
15318 * misc/ioctl.c: Likewise.
15319 * misc/lgetxattr.c: Likewise.
15320 * misc/listxattr.c: Likewise.
15321 * misc/llistxattr.c: Likewise.
15322 * misc/lremovexattr.c: Likewise.
15323 * misc/lsetxattr.c: Likewise.
15324 * misc/lutimes.c: Likewise.
15325 * misc/madvise.c: Likewise.
15326 * misc/mincore.c: Likewise.
15327 * misc/mlock.c: Likewise.
15328 * misc/mlockall.c: Likewise.
15329 * misc/mmap.c: Likewise.
15330 * misc/mprotect.c: Likewise.
15331 * misc/msync.c: Likewise.
15332 * misc/munlock.c: Likewise.
15333 * misc/munlockall.c: Likewise.
15334 * misc/munmap.c: Likewise.
15335 * misc/preadv.c: Likewise.
15336 * misc/preadv64.c: Likewise.
15337 * misc/ptrace.c: Likewise.
15338 * misc/pwritev.c: Likewise.
15339 * misc/pwritev64.c: Likewise.
15340 * misc/readv.c: Likewise.
15341 * misc/reboot.c: Likewise.
15342 * misc/remap_file_pages.c: Likewise.
15343 * misc/removexattr.c: Likewise.
15344 * misc/revoke.c: Likewise.
15345 * misc/select.c: Likewise.
15346 * misc/setdomain.c: Likewise.
15347 * misc/setegid.c: Likewise.
15348 * misc/seteuid.c: Likewise.
15349 * misc/sethostid.c: Likewise.
15350 * misc/sethostname.c: Likewise.
15351 * misc/setregid.c: Likewise.
15352 * misc/setreuid.c: Likewise.
15353 * misc/setxattr.c: Likewise.
15354 * misc/sstk.c: Likewise.
15355 * misc/stty.c: Likewise.
15356 * misc/swapoff.c: Likewise.
15357 * misc/swapon.c: Likewise.
15358 * misc/sync.c: Likewise.
15359 * misc/syncfs.c: Likewise.
15360 * misc/syscall.c: Likewise.
15361 * misc/truncate.c: Likewise.
15362 * misc/ualarm.c: Likewise.
15363 * misc/usleep.c: Likewise.
15364 * misc/ustat.c: Likewise.
15365 * misc/utimes.c: Likewise.
15366 * misc/vhangup.c: Likewise.
15367 * misc/writev.c: Likewise.
15368 * posix/_exit.c: Likewise.
15369 * posix/alarm.c: Likewise.
15370 * posix/execve.c: Likewise.
15371 * posix/fexecve.c: Likewise.
15372 * posix/fork.c: Likewise.
15373 * posix/fpathconf.c: Likewise.
15374 * posix/getaddrinfo.c: Likewise.
15375 * posix/getegid.c: Likewise.
15376 * posix/geteuid.c: Likewise.
15377 * posix/getgid.c: Likewise.
15378 * posix/getgroups.c: Likewise.
15379 * posix/getlogin.c: Likewise.
15380 * posix/getlogin_r.c: Likewise.
15381 * posix/getpgid.c: Likewise.
15382 * posix/getpid.c: Likewise.
15383 * posix/getppid.c: Likewise.
15384 * posix/getresgid.c: Likewise.
15385 * posix/getresuid.c: Likewise.
15386 * posix/getsid.c: Likewise.
15387 * posix/getuid.c: Likewise.
15388 * posix/glob64.c: Likewise.
15389 * posix/nanosleep.c: Likewise.
15390 * posix/pathconf.c: Likewise.
15391 * posix/pause.c: Likewise.
15392 * posix/posix_madvise.c: Likewise.
15393 * posix/pread.c: Likewise.
15394 * posix/pread64.c: Likewise.
15395 * posix/pwrite.c: Likewise.
15396 * posix/pwrite64.c: Likewise.
15397 * posix/sched_getaffinity.c: Likewise.
15398 * posix/sched_getp.c: Likewise.
15399 * posix/sched_gets.c: Likewise.
15400 * posix/sched_primax.c: Likewise.
15401 * posix/sched_primin.c: Likewise.
15402 * posix/sched_rr_gi.c: Likewise.
15403 * posix/sched_setaffinity.c: Likewise.
15404 * posix/sched_setp.c: Likewise.
15405 * posix/sched_sets.c: Likewise.
15406 * posix/sched_yield.c: Likewise.
15407 * posix/setgid.c: Likewise.
15408 * posix/setlogin.c: Likewise.
15409 * posix/setpgid.c: Likewise.
15410 * posix/setresgid.c: Likewise.
15411 * posix/setresuid.c: Likewise.
15412 * posix/setsid.c: Likewise.
15413 * posix/setuid.c: Likewise.
15414 * posix/sleep.c: Likewise.
15415 * posix/spawni.c: Likewise.
15416 * posix/sysconf.c: Likewise.
15417 * posix/times.c: Likewise.
15418 * posix/wait.c: Likewise.
15419 * posix/wait3.c: Likewise.
15420 * posix/wait4.c: Likewise.
15421 * posix/waitpid.c: Likewise.
15422 * resolv/gai_sigqueue.c: Likewise.
15423 * resource/getpriority.c: Likewise.
15424 * resource/getrlimit.c: Likewise.
15425 * resource/getrusage.c: Likewise.
15426 * resource/nice.c: Likewise.
15427 * resource/setpriority.c: Likewise.
15428 * resource/setrlimit.c: Likewise.
15429 * resource/ulimit.c: Likewise.
15430 * rt/aio_cancel.c: Likewise.
15431 * rt/aio_fsync.c: Likewise.
15432 * rt/aio_read.c: Likewise.
15433 * rt/aio_sigqueue.c: Likewise.
15434 * rt/aio_suspend.c: Likewise.
15435 * rt/aio_write.c: Likewise.
15436 * rt/clock_getres.c: Likewise.
15437 * rt/clock_gettime.c: Likewise.
15438 * rt/clock_nanosleep.c: Likewise.
15439 * rt/clock_settime.c: Likewise.
15440 * rt/lio_listio.c: Likewise.
15441 * rt/mq_close.c: Likewise.
15442 * rt/mq_getattr.c: Likewise.
15443 * rt/mq_notify.c: Likewise.
15444 * rt/mq_open.c: Likewise.
15445 * rt/mq_receive.c: Likewise.
15446 * rt/mq_send.c: Likewise.
15447 * rt/mq_setattr.c: Likewise.
15448 * rt/mq_timedreceive.c: Likewise.
15449 * rt/mq_timedsend.c: Likewise.
15450 * rt/mq_unlink.c: Likewise.
15451 * rt/shm_open.c: Likewise.
15452 * rt/shm_unlink.c: Likewise.
15453 * rt/timer_create.c: Likewise.
15454 * rt/timer_delete.c: Likewise.
15455 * rt/timer_getoverr.c: Likewise.
15456 * rt/timer_gettime.c: Likewise.
15457 * rt/timer_settime.c: Likewise.
15458 * setjmp/__longjmp.c: Likewise.
15459 * setjmp/setjmp.c: Likewise.
15460 * signal/kill.c: Likewise.
15461 * signal/killpg.c: Likewise.
15462 * signal/raise.c: Likewise.
15463 * signal/sigaction.c: Likewise.
15464 * signal/sigaltstack.c: Likewise.
15465 * signal/sigblock.c: Likewise.
15466 * signal/sigignore.c: Likewise.
15467 * signal/sigintr.c: Likewise.
15468 * signal/signal.c: Likewise.
15469 * signal/sigpause.c: Likewise.
15470 * signal/sigpending.c: Likewise.
15471 * signal/sigqueue.c: Likewise.
15472 * signal/sigreturn.c: Likewise.
15473 * signal/sigset.c: Likewise.
15474 * signal/sigsetmask.c: Likewise.
15475 * signal/sigstack.c: Likewise.
15476 * signal/sigsuspend.c: Likewise.
15477 * signal/sigtimedwait.c: Likewise.
15478 * signal/sigvec.c: Likewise.
15479 * signal/sigwait.c: Likewise.
15480 * signal/sigwaitinfo.c: Likewise.
15481 * signal/sysv_signal.c: Likewise.
15482 * socket/accept.c: Likewise.
15483 * socket/accept4.c: Likewise.
15484 * socket/bind.c: Likewise.
15485 * socket/connect.c: Likewise.
15486 * socket/getpeername.c: Likewise.
15487 * socket/getsockname.c: Likewise.
15488 * socket/getsockopt.c: Likewise.
15489 * socket/isfdtype.c: Likewise.
15490 * socket/listen.c: Likewise.
15491 * socket/recv.c: Likewise.
15492 * socket/recvfrom.c: Likewise.
15493 * socket/recvmsg.c: Likewise.
15494 * socket/send.c: Likewise.
15495 * socket/sendmsg.c: Likewise.
15496 * socket/sendto.c: Likewise.
15497 * socket/setsockopt.c: Likewise.
15498 * socket/shutdown.c: Likewise.
15499 * socket/sockatmark.c: Likewise.
15500 * socket/socket.c: Likewise.
15501 * socket/socketpair.c: Likewise.
15502 * stdio-common/ctermid.c: Likewise.
15503 * stdio-common/cuserid.c: Likewise.
15504 * stdio-common/remove.c: Likewise.
15505 * stdio-common/rename.c: Likewise.
15506 * stdio-common/renameat.c: Likewise.
15507 * stdio-common/tempname.c: Likewise.
15508 * stdlib/getcontext.c: Likewise.
15509 * stdlib/makecontext.c: Likewise.
15510 * stdlib/setcontext.c: Likewise.
15511 * stdlib/swapcontext.c: Likewise.
15512 * stdlib/system.c: Likewise.
15513 * streams/fattach.c: Likewise.
15514 * streams/fdetach.c: Likewise.
15515 * streams/getmsg.c: Likewise.
15516 * streams/getpmsg.c: Likewise.
15517 * streams/putmsg.c: Likewise.
15518 * streams/putpmsg.c: Likewise.
15519 * sysdeps/unix/bsd/getpt.c: Likewise.
15520 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15521 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15522 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15524 Likewise.
15525 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15526 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15527 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15528 * sysvipc/msgctl.c: Likewise.
15529 * sysvipc/msgget.c: Likewise.
15530 * sysvipc/msgrcv.c: Likewise.
15531 * sysvipc/msgsnd.c: Likewise.
15532 * sysvipc/semctl.c: Likewise.
15533 * sysvipc/semget.c: Likewise.
15534 * sysvipc/semop.c: Likewise.
15535 * sysvipc/semtimedop.c: Likewise.
15536 * sysvipc/shmat.c: Likewise.
15537 * sysvipc/shmctl.c: Likewise.
15538 * sysvipc/shmdt.c: Likewise.
15539 * sysvipc/shmget.c: Likewise.
15540 * termios/tcdrain.c: Likewise.
15541 * termios/tcflow.c: Likewise.
15542 * termios/tcflush.c: Likewise.
15543 * termios/tcgetattr.c: Likewise.
15544 * termios/tcgetpgrp.c: Likewise.
15545 * termios/tcsendbrk.c: Likewise.
15546 * termios/tcsetattr.c: Likewise.
15547 * termios/tcsetpgrp.c: Likewise.
15548 * time/adjtime.c: Likewise.
15549 * time/clock.c: Likewise.
15550 * time/getitimer.c: Likewise.
15551 * time/gettimeofday.c: Likewise.
15552 * time/setitimer.c: Likewise.
15553 * time/settimeofday.c: Likewise.
15554 * time/stime.c: Likewise.
15555 * time/time.c: Likewise.
15556
155572012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 15558
a20492cf
PT
15559 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15560 /usr/old/bin.
15561
72e182e3
PT
15562 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15563 instead of spaces.
15564 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15565
fbeafede
JM
155662012-11-03 Joseph Myers <joseph@codesourcery.com>
15567
5b5b04d6
JM
15568 [BZ #14796]
15569 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15570 FE_TONEAREST before applying Dekker multiplication and Knuth
15571 addition. Clear inexact exceptions and check for exact zero
15572 results afterwards.
15573 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15574 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15575 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15576 * math/libm-test.inc (fma_test): Add more tests.
15577 (fma_test_towardzero): Likewise.
15578 (fma_test_downward): Likewise.
15579 (fma_test_upward): Likewise.
15580 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15581 function.
15582 (libc_fesetround): New macro.
15583 (libc_fesetroundf): Likewise.
15584 (libc_fesetroundl): Likewise.
15585 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15586 function.
15587 (libc_fesetround_387): Likewise.
15588 (libc_fesetroundf): New macro.
15589 (libc_fesetround): Likewise.
15590 (libc_fesetroundl): Likewise.
15591 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15592 function.
15593 (libc_fesetroundf): New macro.
15594 (libc_fesetround): Likewise.
15595 (libc_fesetroundl): Likewise.
15596 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15597 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15598 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15599 libm_hidden_ver.
15600 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15601 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15602 libm_hidden_def.
15603 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15604 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15605 libm_hidden_ver.
15606 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15607 libm_hidden_def.
15608
fbeafede
JM
15609 [BZ #3439]
15610 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15611 integer constant usable in #if and use that to give value to enum
15612 constant.
15613 (FE_DIVBYZERO): Likewise.
15614 (FE_UNDERFLOW): Likewise.
15615 (FE_OVERFLOW): Likewise.
15616 (FE_INVALID): Likewise.
15617 (FE_INVALID_SNAN): Likewise.
15618 (FE_INVALID_ISI): Likewise.
15619 (FE_INVALID_IDI): Likewise.
15620 (FE_INVALID_ZDZ): Likewise.
15621 (FE_INVALID_IMZ): Likewise.
15622 (FE_INVALID_COMPARE): Likewise.
15623 (FE_INVALID_SOFTWARE): Likewise.
15624 (FE_INVALID_SQRT): Likewise.
15625 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15626 (FE_TONEAREST): Likewise.
15627 (FE_TOWARDZERO): Likewise.
15628 (FE_UPWARD): Likewise.
15629 (FE_DOWNWARD): Likewise.
15630 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15631 (FE_DIVBYZERO): Likewise.
15632 (FE_OVERFLOW): Likewise.
15633 (FE_UNDERFLOW): Likewise.
15634 (FE_INEXACT): Likewise.
15635 (FE_TONEAREST): Likewise.
15636 (FE_DOWNWARD): Likewise.
15637 (FE_UPWARD): Likewise.
15638 (FE_TOWARDZERO): Likewise.
15639 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15640 (FE_UNDERFLOW): Likewise.
15641 (FE_OVERFLOW): Likewise.
15642 (FE_DIVBYZERO): Likewise.
15643 (FE_INVALID): Likewise.
15644 (FE_TONEAREST): Likewise.
15645 (FE_TOWARDZERO): Likewise.
15646 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15647 (FE_OVERFLOW): Likewise.
15648 (FE_UNDERFLOW): Likewise.
15649 (FE_DIVBYZERO): Likewise.
15650 (FE_INEXACT): Likewise.
15651 (FE_TONEAREST): Likewise.
15652 (FE_TOWARDZERO): Likewise.
15653 (FE_UPWARD): Likewise.
15654 (FE_DOWNWARD): Likewise.
15655 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15656 (FE_DIVBYZERO): Likewise.
15657 (FE_OVERFLOW): Likewise.
15658 (FE_UNDERFLOW): Likewise.
15659 (FE_INEXACT): Likewise.
15660 (FE_TONEAREST): Likewise.
15661 (FE_DOWNWARD): Likewise.
15662 (FE_UPWARD): Likewise.
15663 (FE_TOWARDZERO): Likewise.
15664
105ca950
CM
156652012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15666
15667 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15668
a542b389
AS
156692012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15670
15671 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15672 commands. Quote $PWD.
15673 (blacklist_exports): Don't use remove_newlines. Replace "declare
15674 -x" by "export".
15675 (remove_newlines): Remove.
15676
f62c8abc
L
156772012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15678
15679 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15680 * stdlib/stdlib.h (atof): Moved to ...
15681 * include/bits/stdlib-float.h: Here. New file.
15682 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15683 * stdlib/bits/stdlib-float.h: New file.
15684 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15685 -mno-sse -mno-mmx.
15686 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15687 <xmmintrin.h>.
15688
0155d5b2
JM
156892012-11-02 Joseph Myers <joseph@codesourcery.com>
15690
a68d0680
JM
15691 * conform/conformtest.pl (@headers): Add fenv.h.
15692 * conform/data/fenv.h-data: New file.
15693 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15694 include of <math/fenv.h>.
15695
caf7f573
JM
15696 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15697 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15698 && !UNIX98]. Enables tests for XOPEN2K8.
15699 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15700 POSIX2008]: Likewise.
15701
6c073ad6
JM
15702 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15703 (struct rusage): Do not expect type or its members.
15704
0155d5b2
JM
15705 [BZ #3439]
15706 * math/math.h (FP_NAN): Define macro to integer constant usable in
15707 #if and use that to give value to enum constant.
15708 (FP_INFINITE): Likewise.
15709 (FP_ZERO): Likewise.
15710 (FP_SUBNORMAL): Likewise.
15711 (FP_NORMAL): Likewise.
15712
b5dcacb4
AS
157132012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15714
15715 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15716 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15717 arguments.
15718
f7934be8
RM
157192012-11-02 Roland McGrath <roland@hack.frob.com>
15720
15721 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15722 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15723 autoconf-time if not.
15724 * configure.in: Remove AC_PREREQ.
15725
d7d08bde
TMQMF
157262012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15727
15728 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15729 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15730 of the internal implementation.
15731
dcdae19a
JM
157322012-11-02 Joseph Myers <joseph@codesourcery.com>
15733
15734 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15735 except include of <misc/sys/syslog.h>.
15736
d6cffd3e
AS
157372012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15738
15739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15740 function returns with a NULL context exit with zero.
15741
b3563932
TMQMF
157422012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15743
15744 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15745
b288a93d
L
157462012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15747
15748 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15749 (run_program_cmd): This.
15750 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15751 (tst_langinfo): New variable. Use it.
15752
a2421a68
SAS
157532012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15754
15755 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15756 floating point opcodes.
15757
6f796e1b
TS
157582012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15759
7402596b
TS
15760 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15761 variable.
15762
d0d4f868
TS
15763 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15764
6f796e1b
TS
15765 * sysdeps/mach/hurd/powerpc: Remove directory.
15766 * sysdeps/mach/powerpc: Likewise.
15767
4da224a2
AS
157682012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15769
15770 * scripts/check-local-headers.sh: Ignore c++ headers.
15771
341dd673
TS
157722012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15773
15774 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15775 __libc_cleanup_region_start argument.
15776
473611b2
JM
157772012-11-01 Joseph Myers <joseph@codesourcery.com>
15778
15779 [BZ #14784]
15780 [BZ #14785]
15781 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15782 x * y using scaling, not as x * y + z.
15783 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15784 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15785 * math/libm-test.inc (fma_test): Add more tests.
15786 (fma_test_towardzero): Likewise.
15787 (fma_test_downward): Likewise.
15788 (fma_test_upward): Likewise.
15789
4078da3d
TS
157902012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15791
15792 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15793
903252aa
JM
157942012-10-31 Joseph Myers <joseph@codesourcery.com>
15795
15796 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15797 New variable.
15798
cbc818d0
TS
157992012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15800
15801 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15802
5a03cb1e
AS
158032012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15804
15805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15806 Fix sort order.
15807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15808 Likewise.
15809
90aff2ff
TMQMF
158102012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15811
15812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15813 Fix the order of the list for glibc 2.17.
15814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15815 Likewise.
15816
1818fcb7
AS
158172012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15818
15819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15820
ef82f4da
JM
158212012-10-31 Joseph Myers <joseph@codesourcery.com>
15822
16a0e2ec
JM
15823 [BZ #14610]
15824 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15825 for low part of x being zero before using __atanl (y).
15826 * math/libm-test.inc (atan2_test): Add another test.
15827
0eb69512
JM
15828 * manual/install.texi (Configuring and compiling): Document
15829 general use of test-wrapper and test-wrapper-env.
15830 * INSTALL: Regenerated.
15831
ef82f4da
JM
15832 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15833 (__fma): Do not extract and scale down low bits on after-rounding
15834 systems when result rounded to normal precision would have normal
15835 exponent.
15836 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15837 (__fmal): Do not extract and scale down low bits on after-rounding
15838 systems when result rounded to normal precision would have normal
15839 exponent.
15840 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15841 (__fmal): Do not extract and scale down low bits on after-rounding
15842 systems when result rounded to normal precision would have normal
15843 exponent.
15844 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15845 macro.
15846 (fma_test): Add more tests.
15847 (fma_test_towardzero): Likewise.
15848 (fma_test_downward): Likewise.
15849 (fma_test_upward): Likewise.
15850
954ef0d9
L
158512012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15852
15853 * sysdeps/i386/tininess.h: Renamed to ...
15854 * sysdeps/x86/tininess.h: This.
15855 * sysdeps/x86_64/tininess.h: Removed.
15856
df61ffb2
JM
158572012-10-30 Joseph Myers <joseph@codesourcery.com>
15858
15859 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15860 input. Use $(build-program-cmd).
15861 ($(objpfx)tst-array1-static.out): Likewise.
15862 ($(objpfx)tst-array2.out): Likewise.
15863 ($(objpfx)tst-array3.out): Likewise.
15864 ($(objpfx)tst-array4.out): Likewise.
15865 ($(objpfx)tst-array5.out): Likewise.
15866 ($(objpfx)tst-array5-static.out): Likewise.
15867
01767843
CM
158682012-10-30 Chris Metcalf <cmetcalf@tilera.com>
15869
47cc1490
CM
15870 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15871 if defined.
15872
01767843
CM
15873 * nss/nsswitch.h (nss_interface_function): Provide new
15874 macro for use with NSS functions.
15875 * grp/initgroups.c: Use new macro.
15876 * nss/getXXbyYY.c: Likewise.
15877 * nss/getXXbyYY_r.c: Likewise.
15878 * nss/getXXent.c: Likewise.
15879 * nss/getXXent_r.c: Likewise.
15880 * sysdeps/posix/getaddrinfo.c: Likewise.
15881
8321aa97
AJ
158822012-10-30 Andreas Jaeger <aj@suse.de>
15883
15884 * po/ru.po: Update Russion translation from translation project.
15885
2a27fd6d
JM
158862012-10-30 Joseph Myers <joseph@codesourcery.com>
15887
8627a232
JM
15888 [BZ #14152]
15889 [BZ #14783]
15890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15891 result and shift together with sticky bit instead of replicating
15892 round-to-nearest rounding.
15893 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15894 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15895 * math/libm-test.inc (fma_test): Add more tests. Do not permit
15896 missing underflow exceptions.
15897 (fma_test_towardzero): Add more tests.
15898 (fma_test_downward): Likewise.
15899 (fma_test_upward): Likewise.
15900
2a27fd6d
JM
15901 [BZ #14047]
15902 * sysdeps/generic/tininess.h: New file.
15903 * sysdeps/i386/tininess.h: Likewise.
15904 * sysdeps/sh/tininess.h: Likewise.
15905 * sysdeps/x86_64/tininess.h: Likewise.
15906 * stdlib/tst-strtod-underflow.c: Likewise.
15907 * stdlib/tst-tininess.c: Likewise.
15908 * stdlib/strtod_l.c: Include <tininess.h>.
15909 (round_and_return): Do not set errno for exact underflow cases.
15910 Force an underflow exception when setting errno for underflow.
15911 Determine underflow based on rounding to normal precision if
15912 TININESS_AFTER_ROUNDING.
15913 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15914 ERANGE for exact underflow cases.
15915 * stdlib/Makefile (tests): Add tst-tininess and
15916 tst-strtod-underflow.
15917 ($(objpfx)tst-tininess): Use $(link-libm).
15918 ($(objpfx)tst-strtod-underflow): Likewise.
15919
e7170363
AJ
159202012-10-30 Andreas Jaeger <aj@suse.de>
15921
e5088dc6
AJ
15922 [BZ#14767]
15923 * elf/Makefile (tests): Remove conditional for have-initfini-array
15924 since this is now always required and the variable does not exist
15925 anymore.
15926 (tests-static): Likewise.
15927 (modules-names): Likewise.
15928
e7170363 15929 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
15930
15931 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15932 merged with constructor/destructor.
15933 (init_array): Likewise.
15934 * elf/tst-array2dep.c (fini_array): Likewise.
15935 (init_array): Likewise.
15936
60457d8a
MF
159372012-10-29 Mike Frysinger <vapier@gentoo.org>
15938
15939 * manual/message.texi: Delete @cartouche tags.
15940
8bece752
PT
159412012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15942
94ce799f
PT
15943 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15944 EOPNOTSUPP.
15945 * sysdeps/mach/hurd/fsync.c: Likewise.
15946
8bece752
PT
15947 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15948 [_POSIX_REALTIME_SIGNALS]: Change condition to
15949 [_POSIX_REALTIME_SIGNALS > 0].
15950
86ebe6b1
AJ
159512012-10-27 Andreas Jaeger <aj@suse.de>
15952
15953 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15954 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15955 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15956 [__WORDSIZE != 64]: Likewise.
15957
54399c08
L
159582012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15959
15960 * iconvdata/tst-table.sh: Remove ${SHELL}.
15961 * iconvdata/tst-tables.sh: Likewise.
15962
e2211bed
DM
159632012-10-25 David S. Miller <davem@davemloft.net>
15964
15965 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15966 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15967 of strtoull.
15968
f303f97c
DM
15969 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15970 ifunc-impl-list.c
15971 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15972 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15973 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15974 file.
15975
1e9d84cd
RM
159762012-10-25 Roland McGrath <roland@hack.frob.com>
15977
15978 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15979 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15980 __getdirentries.
15981
df381762
JM
159822012-10-25 Joseph Myers <joseph@codesourcery.com>
15983 Jim Blandy <jimb@codesourcery.com>
15984
15985 * scripts/cross-test-ssh.sh: New file.
15986 * manual/install.texi (Configuring and compiling): Document use of
15987 cross-test-ssh.sh.
15988 * INSTALL: Regenerated.
15989
bff64913
PT
159902012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15991
15992 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15993 EOPNOTSUPP.
15994
25fe8932
JM
159952012-10-25 Joseph Myers <joseph@codesourcery.com>
15996
15997 * Makeconfig (run-program-prefix): Fix comment.
15998
cc1290d0
JM
159992012-10-24 Joseph Myers <joseph@codesourcery.com>
16000 Jim Blandy <jimb@codesourcery.com>
16001
16002 * Makeconfig (test-wrapper): New variable,
16003 (test-wrapper-env): Likewise.
16004 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16005 (run-built-tests): Define to yes.
16006 (run-program-prefix): Use $(test-wrapper).
16007 (built-program-cmd): Likewise.
16008 * Rules (make-test-out): Use $(test-wrapper-env) and
16009 $(host-built-program-cmd).
16010 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16011 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16012 tst-pathopt.sh.
16013 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16014 $(test-wrapper-env) to tst-rtld-load-self.sh.
16015 ($(objpfx)order2.out): Use $(test-wrapper).
16016 ($(objpfx)tst-initorder.out): Likewise.
16017 ($(objpfx)tst-initorder2.out): Likewise.
16018 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16019 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16020 (test_wrapper_env): New variable. Use it to run ld.so.
16021 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16022 Use it to run ld.so.
16023 (test_wrapper_env): Likewise.
16024 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16025 $(test-wrapper) to run-iconv-test.sh.
16026 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16027 (ICONV): Use $test_wrapper.
16028 * posix/Makefile ($(objpfx)globtest.out): Pass
16029 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16030 globtest.sh, not $(run-program-prefix).
16031 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16032 (test_wrapper): Likewise.
16033 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16034 set together with run_via_rtld_prefix.
16035 (run_program_prefix): Define in terms of test_wrapper and
16036 run_via_rtld_prefix.
16037
6e6249d0
RM
160382012-10-24 Roland McGrath <roland@hack.frob.com>
16039
16040 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16041 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16042 Targets removed.
16043
16044 [BZ #14743]
16045 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16046 Declare __clock_getres, __clock_gettime, __clock_settime,
16047 __clock_nanosleep, and __clock_getcpuclockid.
16048 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16049 Remove librt_hidden_def (clock_gettime).
16050 * sysdeps/unix/clock_gettime.c: Likewise.
16051 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16052 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16053 * rt/clock_getres.c: Define __clock_getres as an alias.
16054 * sysdeps/posix/clock_getres.c: Likewise.
16055 * rt/clock_settime.c: Define __clock_settime as an alias.
16056 * sysdeps/unix/clock_settime.c: Likewise.
16057 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16058 * sysdeps/unix/clock_nanosleep.c: Likewise.
16059 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16060 * rt/clock-compat.c: New file.
16061 * rt/Makefile (librt-routines): Add clock-compat and move
16062 $(clock-routines) to ...
16063 (routines): ... here, new variable.
16064 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16065 Don't add get_clockfreq here.
16066 * rt/Versions (libc: GLIBC_2.17): New version set.
16067 Add clock_* symbols here.
16068 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16069 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16070 (GLIBC_2.17): Add clock_* symbols.
16071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16073 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16075 Likewise.
16076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16077 Likewise.
16078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16082 * NEWS: Mention the move.
16083
16084 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16085 Use __open, __read, __close rather than their public counterparts.
16086 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16087 (__get_clockfreq_via_cpuinfo): Likewise.
16088 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16089 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16090
16091 * config.h.in (HAVE_IFUNC): New #undef.
16092 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16093 was successful.
16094 * configure: Regenerated.
16095
0cae3f4b
MF
160962012-10-24 Mike Frysinger <vapier@gentoo.org>
16097
16098 * configure.in: Move READELF check to start of file.
16099 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16100 libc_cv_asm_gnu_indirect_function in the process.
16101 * configure: Regenerated.
16102
8175a253
MF
161032012-10-24 Mike Frysinger <vapier@gentoo.org>
16104
16105 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16106 send the output to /dev/null.
16107 (libc_cv_cc_with_libunwind): Likewise.
16108 (libc_cv_as_noexecstack): Likewise.
16109 * configure: Regenerate.
16110
0708a7d1
JM
161112012-10-24 Joseph Myers <joseph@codesourcery.com>
16112
10b40d85
JM
16113 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16114
0708a7d1
JM
16115 * posix/globtest.sh (TMPDIR): Do not set.
16116 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16117 (testout): Likewise.
16118
9fddec1a
AJ
161192012-10-24 Andreas Jaeger <aj@suse.de>
16120
3a8db22f
AJ
16121 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16122 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16123 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16124 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16125 posix_fadvise64, posix_fallocate64.
16126
9fddec1a
AJ
16127 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16128 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16129 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16130 Likewise.
16131 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16132 Likewise.
16133 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16134
16135 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16136 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16137 <bits/fcntl-linux.h>.
16138 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16139
16140 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16141 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16142 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16143 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16144 [__WORDSIZE != 64]: Likewise.
16145
ebfd1bbd
JM
161462012-10-23 Joseph Myers <joseph@codesourcery.com>
16147
03ac099f
JM
16148 * Makeconfig (run-built-tests): New variable.
16149 * Rules [$(cross-compiling) = yes]: Change condition to
16150 [$(run-built-tests) = no].
16151 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16152 to [$(run-built-tests) = yes].
16153 * elf/Makefile [$(cross-compiling) = no]: Likewise
16154 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16155 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16156 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16157 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16158 * io/Makefile [$(cross-compiling) = no]: Likewise.
16159 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16160 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16161 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16162 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16163 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16164 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16165 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16166 * string/Makefile [$(cross-compiling) = no]: Likewise.
16167
ebfd1bbd
JM
16168 * posix/Makefile ($(objpfx)globtest.out): Pass
16169 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16170 $(rtld-installed-name).
16171 * posix/globtest.sh (elf_objpfx): Remove variable.
16172 (rtld_installed_name): Likewise.
16173 (library_path): Likewise.
16174 (run_program_prefix): New variable. Use for running globtest
16175 binary.
16176
166bca24
JB
161772012-10-23 Jim Blandy <jimb@codesourcery.com>
16178 Joseph Myers <joseph@codesourcery.com>
16179
16180 * Makeconfig (host-built-program-cmd): New variable.
16181 * elf/Makefile (tst-stackguard1-ARGS): Use
16182 $(host-built-program-cmd).
16183 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16184 (tst-spawn-ARGS): Likewise.
16185 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16186
88866099
JM
161872012-10-23 Joseph Myers <joseph@codesourcery.com>
16188 Jim Blandy <jimb@codesourcery.com>
16189
16190 * Makeconfig (run-via-rtld-prefix): New variable.
16191 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16192 (built-program-cmd): Likewise.
16193
b4b4c296
AJ
161942012-10-22 Andreas Jaeger <aj@suse.de>
16195
16196 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16197 __O_RSYNC if it exists, otherwise to O_SYNC.
16198
6fb54a22
JB
161992012-10-22 Jim Blandy <jimb@codesourcery.com>
16200 Joseph Myers <joseph@codesourcery.com>
16201
16202 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16203 /dev/null.
16204 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16205 from /dev/null
16206 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16207 /dev/null.
16208
481b90b9
AJ
162092012-10-22 Andreas Jaeger <aj@suse.de>
16210
2a0e2669
AJ
16211 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16212 Define always.
16213 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16214
76e38f9a
AJ
16215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16216 bits/fcntl-linux.h.
16217
7cd37b43
AJ
16218 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16219 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16220
481b90b9
AJ
16221 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16222 to __O_LARGEFILE.
16223 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16224 to __O_LARGEFILE.
16225
aba75984
JB
162262012-10-21 Jim Blandy <jimb@codesourcery.com>
16227 Joseph Myers <joseph@codesourcery.com>
16228
16229 * config.make.in (NM): New variable.
16230
88d4247f
AJ
162312012-10-21 Andreas Jaeger <aj@suse.de>
16232
16233 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16234 definitions and declarations that are provided by
16235 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16236
f2eed205
L
162372012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16238
16239 [BZ #14683]
16240 * elf/Makefile (tests-static): Add tst-leaks1-static.
16241 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16242 ($(objpfx)tst-leaks1-static): New rule.
16243 ($(objpfx)tst-leaks1-static-mem): Likewise.
16244 (tst-leaks1-static-ENV): New macro.
16245 * elf/dl-open.c (dl_open_worker): Check the main application
16246 only if SHARED is defined.
16247 * elf/tst-leaks1-static.c: New file.
16248
335e6931
AJ
162492012-10-20 Andreas Jaeger <aj@suse.de>
16250
16251 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16252 generic values for Linux.
16253 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16254 and declarations that are provided by <bits/fcntl-linux.h> and
16255 include <bits/fcntl-linux.h>.
16256 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16257 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16258
ac5c94d3
RM
162592012-10-20 Roland McGrath <roland@hack.frob.com>
16260
16261 * io/fcntl.h: Move include of <bits/types.h> to the top and
16262 include it unconditionally.
16263
de54b33a
L
162642012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16265
228cfb01
L
16266 * wcsmbs/Makefile (tests-ifunc): New variable.
16267 (tests): Add $(tests-ifunc).
16268 * wcsmbs/test-wcschr-ifunc.c: New file.
16269 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16270 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16271 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16272 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16273 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16274
69f07e5f
L
16275 * string/Makefile (tests-ifunc): New variable.
16276 (tests): Add $(tests-ifunc).
16277 * string/test-memccpy.c (TEST_NAME): New macro.
16278 * string/test-memchr.c (TEST_NAME): Likewise.
16279 * string/test-memcmp.c (TEST_NAME): Likewise.
16280 * string/test-memcpy.c (TEST_NAME): Likewise.
16281 * string/test-memmem.c (TEST_NAME): Likewise.
16282 * string/test-memmove.c (TEST_NAME): Likewise.
16283 * string/test-memset.c (TEST_NAME): Likewise.
16284 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16285 * string/test-stpcpy.c (TEST_NAME): Likewise.
16286 * string/test-stpncpy.c (TEST_NAME): Likewise.
16287 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16288 * string/test-strcasestr.c (TEST_NAME): Likewise.
16289 * string/test-strcat.c (TEST_NAME): Likewise.
16290 * string/test-strchr.c (TEST_NAME): Likewise.
16291 * string/test-strcmp.c(TEST_NAME): Likewise.
16292 * string/test-strcpy.c (TEST_NAME): Likewise.
16293 * string/test-strcspn.c (TEST_NAME): Likewise.
16294 * string/test-strlen.c (TEST_NAME): Likewise.
16295 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16296 * string/test-strncmp.c (TEST_NAME): Likewise.
16297 * string/test-strncpy.c (TEST_NAME): Likewise.
16298 * string/test-strnlen.c (TEST_NAME): Likewise.
16299 * string/test-strpbrk.c (TEST_NAME): Likewise.
16300 * string/test-strrchr.c (TEST_NAME): Likewise.
16301 * string/test-strspn.c (TEST_NAME): Likewise.
16302 * string/test-strstr.c (TEST_NAME): Likewise.
16303 * string/test-bcopy-ifunc.c: New file.
16304 * string/test-bzero-ifunc.c: Likewise.
16305 * string/test-memccpy-ifunc.c: Likewise.
16306 * string/test-memchr-ifunc.c: Likewise.
16307 * string/test-memcmp-ifunc.c: Likewise.
16308 * string/test-memcpy-ifunc.c: Likewise.
16309 * string/test-memmem-ifunc.c: Likewise.
16310 * string/test-memmove-ifunc.c: Likewise.
16311 * string/test-mempcpy-ifunc.c: Likewise.
16312 * string/test-memset-ifunc.c: Likewise.
16313 * string/test-rawmemchr-ifunc.c: Likewise.
16314 * string/test-stpcpy-ifunc.c: Likewise.
16315 * string/test-stpncpy-ifunc.c: Likewise.
16316 * string/test-strcasecmp-ifunc.c: Likewise.
16317 * string/test-strcasestr-ifunc.c: Likewise.
16318 * string/test-strcat-ifunc.c: Likewise.
16319 * string/test-strchr-ifunc.c: Likewise.
16320 * string/test-strchrnul-ifunc.c: Likewise.
16321 * string/test-strcmp-ifunc.c: Likewise.
16322 * string/test-strcpy-ifunc.c: Likewise.
16323 * string/test-strcspn-ifunc.c: Likewise.
16324 * string/test-strlen-ifunc.c: Likewise.
16325 * string/test-strncasecmp-ifunc.c: Likewise.
16326 * string/test-strncat-ifunc.c: Likewise.
16327 * string/test-strncmp-ifunc.c: Likewise.
16328 * string/test-strncpy-ifunc.c: Likewise.
16329 * string/test-strnlen-ifunc.c: Likewise.
16330 * string/test-strpbrk-ifunc.c: Likewise.
16331 * string/test-strrchr-ifunc.c: Likewise.
16332 * string/test-strspn-ifunc.c: Likewise.
16333 * string/test-strstr-ifunc.c: Likewise.
16334
de54b33a
L
16335 * debug/Makefile (tests-ifunc): New variable.
16336 (tests): Add $(tests-ifunc).
16337 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16338 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16339 * debug/test-stpcpy_chk-ifunc.c: New file.
16340 * debug/test-strcpy_chk-ifunc.c: Likewise.
16341
88481c16
SP
163422012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16343
16344 [BZ #13601]
16345 * elf/dl-load.c (open_verify): Retry read if the entire ELF
16346 header is not read in.
16347
135948bd
JM
163482012-10-19 Joseph Myers <joseph@codesourcery.com>
16349
89f1c388
JM
16350 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16351 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16352 directly. Pass built executable to script as
16353 $(built-program-cmd).
16354 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16355 $testprogram without using LD_LIBRARY_PATH and $ldso.
16356
e40a0d21
JM
16357 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16358 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16359 $(rtld-installed-name).
16360 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16361 (rtld_installed_name): Likewise.
16362 (library_path): Likewise.
16363 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
16364 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16365 $(run-program-prefix) to tst-tables.sh.
16366 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16367 it to run tst-table-from and tst-table-to.
16368 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16369 Pass it to tst-table.sh.
16370 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16371 $(run-program-prefix) to tst-gettext.sh.
16372 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16373 tst-translit.sh.
16374 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16375 tst-gettext2.sh.
16376 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16377 to run tst-gettext.
16378 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16379 to run tst-gettext2.
16380 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16381 to run tst-translit.
16382 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16383 $(run-program-prefix) to tst-mtrace.sh.
16384 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16385 to run tst-mtrace.
16386 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16387 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16388 $(rtld-installed-name).
16389 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16390 (rtld_installed_name): Likewise.
16391 (run_program_prefix): New variable. Use it to run wordexp-test.
16392
728e272a
JM
16393 * Makeconfig (ARCH): Remove all definitions.
16394 (machine): Likewise.
16395 [ARCH]: Remove conditional code.
16396 [!objdir]: Give error.
16397 [!objdir] (objpfx): Remove.
16398 [!objdir] (common-objpfx): Likewise.
16399 [!objdir] (common-objdir): Likewise.
16400 * configure.in (config_makefile): Remove. Hardcode Makefile in
16401 AC_CONFIG_FILES call.
16402 * configure: Regenerated.
16403
d528cdcf
JM
16404 [BZ #13888]
16405 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16406 or TMPDIR.
16407 (testout): Likewise.
16408
135948bd
JM
16409 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16410 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16411 $(rtld-installed-name).
16412 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16413 (rtld_installed_name): Likwise.
16414 (runit): Remove function.
16415 (run_getconf): New variable, Use it for running getconf binary.
16416
38c78296
L
164172012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16418
16419 [BZ #14716]
16420 * string/test-memmem.c (check_result): New function.
16421 (do_one_test): Use it.
16422 (check1): New function.
16423 (test_main): Use it.
16424
d077f65f
MT
164252012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16426
16427 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16428
ced52c71
JM
164292012-10-18 Joseph Myers <joseph@codesourcery.com>
16430
16431 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16432 (_G_LSEEK64): Likewise.
16433 (_G_MMAP64): Likewise.
16434 (_G_FSTAT64): Likewise.
16435 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16436 (_G_LSEEK64): Likewise.
16437 (_G_MMAP64): Likewise.
16438 (_G_FSTAT64): Likewise.
16439 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16440 unconditional. Call __mmap64 directly.
16441 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16442 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16443 __lseek64 directly.
16444 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16445 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16446 __mmap64 directly.
16447 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16448 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16449 __lseek64 directly.
16450 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16451 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
16452 __lseek64 directly.
16453 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16454 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
16455 __lseek64 directly.
16456 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16457 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
16458 __fxstat64 directly.
16459 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16460 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16461 unconditional.
16462 (freopen64) [!_G_OPEN64]: Remove conditional code.
16463 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16464 unconditional.
16465 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16466 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16467 unconditional.
16468 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16469 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16470 unconditional.
16471 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16472 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16473 unconditional.
16474 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16475 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16476 unconditional.
16477 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16478 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16479 unconditional.
16480 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16481 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16482 unconditional.
16483 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16484
b741de23
SP
164852012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16486
16487 [BZ #12140]
16488 * manual/memory.texi (Malloc Tunable Parameters): Add note
16489 about free list pointers overwriting some perturb bytes.
16490 Wording suggested by Roland McGrath.
16491
f9b9d9c9
JM
164922012-10-17 Joseph Myers <joseph@codesourcery.com>
16493
16494 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16495 (lgamma_test): Likewise.
16496 (tgamma_test): Likewise.
16497
172a631a
FW
164982012-10-16 Florian Weimer <fweimer@redhat.com>
16499
16500 [BZ #14700]
16501 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16502 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16503
e9f37252
MK
165042012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16505
16506 * NEWS: Mention BZ #14716.
16507 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16508 when removing AVAILABLE1_USES_J macro.
16509
d394eb74
L
165102012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16511
16512 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16513 (__bswap_64): __uint64_t for unsigned 64-bit int.
16514
ca38dc17
AS
165152012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16516
16517 * include/string.h (memmem): Declare libc hidden alias.
16518 * string/memmem.c (memmem): Define libc hidden alias.
16519 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16520 __read, __close instead of open, read, close.
16521
9a387d1f
L
165222012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16523
ac49ecaf
L
16524 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16525 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16526 global and hidden.
16527 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16528 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16529 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16530 Likewise.
16531 (__rawmemchr_sse2): Likewise.
16532 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16533 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16534 (__strchr_sse2): Likewise.
16535 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16536 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16537 (__strcasecmp_sse2): Likewise.
16538 (__strncasecmp_sse2): Likewise.
16539 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16540 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16541 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16542 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16543 (__strrchr_sse2): Likewise.
16544 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16545 ifunc-impl-list.c.
16546 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16547 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16548 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16549 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16550 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16551 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16552 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16553 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16554 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16555 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16556 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16557 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16558 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16559 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16560 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16561 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16562 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16563 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16564 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16565 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16566 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16567 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16568 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16569 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16570 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16571 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16572 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16573 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16574 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16575 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16576
b090e8ea
L
16577 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16578 global and hidden.
16579 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16580 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16581 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16582 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16583 Likewise.
16584 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16585 Likewise.
16586 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16587 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16588 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16589 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16590 ifunc-impl-list.c.
16591 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16592 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16593 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16594 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16595 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16596 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16597 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16598 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16599 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16600 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16601 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16602 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16603 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16604 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16605 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16606 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16607 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16608 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16609 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16610 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16611 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16612 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16613 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16614 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16615 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16616 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16617 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16618 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16619 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16620 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16621 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16622 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16623 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16624 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16625 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16626 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16627 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16628 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16629 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16630 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16631 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16632
11dd4af6
L
16633 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16634 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16635 * include/ifunc-impl-list.h: New file.
16636 * misc/ifunc-impl-list.c: Likewise.
16637 * misc/Makefile (routines): Add ifunc-impl-list.
16638 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16639 * string/test-string.h: Include <ifunc-impl-list.h>.
16640 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16641 impl_array): New variables.
16642 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16643 are defined.
16644 (test_init): Call __libc_ifunc_impl_list to initialize
16645 func_list if TEST_IFUNC and TEST_NAME are defined.
16646
9a387d1f
L
16647 * string/Makefile (strop-tests): Add bcopy and bzero.
16648 * string/test-bcopy.c: New file.
16649 * string/test-bzero.c: Likewise.
16650 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16651 defined.
16652 * string/test-memset.c: Support bzero test if TEST_BZERO is
16653 defined.
16654 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16655 __libc_memmove.
16656 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16657 __libc_memset.
16658 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16659 of memset.
16660
472371b9
JM
166612012-10-10 Joseph Myers <joseph@codesourcery.com>
16662
1e4a9536
JM
16663 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16664 * configure: Regenerated.
16665
d173d12e
JM
16666 * Makeconfig (+link-static-before-libc): Don't include
16667 $(link-static-libc).
16668
472371b9
JM
16669 * libio/libio.h (_IO_pos_t): Remove.
16670
89a3ad0b
AO
166712012-10-10 Alexandre Oliva <aoliva@redhat.com>
16672
16673 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16674 McGrath.
16675
e7451425
AO
166762012-10-10 Alexandre Oliva <aoliva@redhat.com>
16677
16678 * crypt/crypt-entry.c: Include fips-private.h.
16679 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16680 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16681 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16682 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16683
4ba74a35
AO
166842012-10-10 Alexandre Oliva <aoliva@redhat.com>
16685
16686 * crypt/crypt-private.h: Include stdbool.h.
16687 (_ufc_setup_salt_r): Return bool.
16688 * crypt/crypt-entry.c: Include errno.h.
16689 (__crypt_r): Return NULL with EINVAL for bad salt.
16690 * crypt/crypt_util.c (bad_for_salt): New.
16691 (_ufc_setup_salt_r): Check that salt is long enough and within
16692 the specified alphabet.
16693 * crypt/badsalttest.c: New file.
16694 * crypt/Makefile (tests): Add it.
16695 ($(objpfx)badsalttest): New.
16696
f96f1242
MK
166972012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16698
16699 * NEWS: Add entry for BZ #14602.
16700
0e8e0c1c
JM
167012012-10-09 Joseph Myers <joseph@codesourcery.com>
16702
16703 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16704 type-generic.
16705 * math/libm-test.inc: Update comment listing what functions and
16706 macros are tested.
16707 (isgreater_test): New function.
16708 (isgreaterequal_test): Likewise.
16709 (isless_test): Likewise.
16710 (islessequal_test): Likewise.
16711 (islessgreater_test): Likewise.
16712 (isunordered_test): Likewise.
16713 (main): Call the new functions.
16714
273edc5e
RM
167152012-10-09 Roland McGrath <roland@hack.frob.com>
16716
b8493de0
RM
16717 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16718 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16719 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16720 * sysdeps/i386/configure: Regenerated.
16721 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16722 * sysdeps/mach/configure: Regenerated.
16723 * sysdeps/mach/hurd/configure: Regenerated.
16724 * sysdeps/powerpc/configure: Regenerated.
16725 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16726 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16727 * sysdeps/s390/s390-32/configure: Regenerated.
16728 * sysdeps/s390/s390-64/configure: Regenerated.
16729 * sysdeps/sh/configure: Regenerated.
16730 * sysdeps/sparc/configure: Regenerated.
16731 * sysdeps/unix/sysv/linux/configure: Regenerated.
16732 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16733 * sysdeps/x86_64/configure: Regenerated.
16734
273edc5e
RM
16735 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16736 defined. Don't check if MAP is NULL.
16737
c8450f70
JM
167382012-10-09 Joseph Myers <joseph@codesourcery.com>
16739
16740 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16741 (_G_stat64): Likewise.
16742 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16743 (_G_stat64): Likewise.
16744 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16745 instead of struct _G_stat64.
16746 * libio/fileops.c (mmap_remap_check): Likewise.
16747 (decide_maybe_mmap): Likewise.
16748 (_IO_new_file_seekoff): Likewise.
16749 (_IO_file_stat): Likewise.
16750 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16751 _G_off64_t.
16752 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16753 instead of struct _G_stat64.
16754 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16755
57e605ba
MK
167562012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16757
16758 [BZ #14602]
16759 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16760 Replace with ...
16761 (CHECK_EOL): New macro.
16762 (two_way_short_needle): Check beginning of haystack for EOL. Use
16763 CHECK_EOL.
16764 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16765 Replace with CHECK_EOL.
16766 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16767 Replace with CHECK_EOL.
16768
ef1bb361
JM
167692012-10-08 Joseph Myers <joseph@codesourcery.com>
16770
16771 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16772 type-generic.
16773 * math/libm-test.inc: Update comment listing what functions and
16774 macros are tested.
16775 (finite_test): New function.
16776 (isinf_test): Likewise.
16777 (isnan_test): Likewise.
16778 (fpclassify_test): Test subnormal input.
16779 (isfinite_test): Likewise.
16780 (isnormal_test): Likewise.
16781 (main): Call the new functions.
16782
55f11534
JN
167832012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16784
16785 [BZ #14660]
16786 * Makerules (%.dynsym): Force C locale when running
16787 $(OBJDUMP) --dynamic-syms.
16788
1ab29350
AS
167892012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16790
16791 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16792 <stdint.h>.
16793
f1ecb7ef
DM
167942012-10-06 David S. Miller <davem@davemloft.net>
16795
16796 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16797 upper 32-bits of the length value in %o2 since we use branch-on-register
16798 tests which consider the entire 64-bit register.
16799
5d41d91a
L
168002012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16801
16802 * string/test-strstr.c (check2): Add a test for page boundary.
16803
3baddb72
DM
168042012-10-05 David S. Miller <davem@davemloft.net>
16805
16806 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16807 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16808 file.
16809 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16810 sysdep_routines.
16811 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16812 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16813 and bzero when HWCAP_SPARC_CRYPTO is present.
16814
9cee5585
L
168152012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16816
d7e0dab9
L
16817 [BZ #14602]
16818 * string/test-strstr.c (check2): New function.
16819 (test_main): Call check2.
16820
03759f47
L
16821 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16822 and bug-strchr1.
16823 * string/bug-strcasestr1.c (do_test): Moved to ...
16824 * string/test-strcasestr.c (check1): Here. New function.
16825 (do_one_test): Break out result checking code into ...
16826 (check_result): This. New function.
16827 (do_one_test): Call check_result.
16828 (test_main): Call check1.
16829 * string/bug-strchr1.c (do_test): Moved to ...
16830 * string/test-strchr.c (check1): Here. New function.
16831 (do_one_test): Break out result checking code into ...
16832 (check_result): This. New function.
16833 (do_one_test): Call check_result.
16834 (test_main): Call check1.
16835 * string/bug-strstr1.c (main): Moved to ...
046f153e 16836 * string/test-strstr.c (check1): Here. New function.
03759f47
L
16837 (do_one_test): Break out result checking code into ...
16838 (check_result): This. New function.
16839 (do_one_test): Call check_result.
16840 (test_main): Call check1.
16841 * string/bug-strcasestr1.c: Removed.
16842 * string/bug-strchr1.c: Likewise.
16843 * string/bug-strstr1.c: Likewise.
16844
53cea63e
L
16845 * elf/Makefile (dl-routines): Add hwcaps.
16846 * elf/dl-support.c (_dl_important_hwcaps): Removed.
16847 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16848 (_dl_important_hwcaps): Moved to ...
16849 * elf/dl-hwcaps.c: Here. New file.
16850 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16851
9cee5585 16852 [BZ #14557]
bb859b06
L
16853 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16854 if IS_IN_rtld isn't defined.
16855
9cee5585
L
16856 * elf/dl-support.c (_dl_sysinfo_map): New.
16857 Include "get-dynamic-info.h" and "setup-vdso.h".
16858 (_dl_non_dynamic_init): Call setup_vdso.
16859 * elf/dynamic-link.h: Don't include <assert.h>.
16860 (elf_get_dynamic_info): Moved to ...
16861 * elf/get-dynamic-info.h: Here. New file.
16862 * elf/dynamic-link.h: Include "get-dynamic-info.h".
16863 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16864 * elf/setup-vdso.h: Here. New file.
16865 * elf/rtld.c: Include "setup-vdso.h".
16866 (dl_main): Call setup_vdso.
16867
23c31b76
JM
168682012-10-05 Joseph Myers <joseph@codesourcery.com>
16869
28234b07
JM
16870 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16871 creal in comment listing functions tested. List finite, isinf,
16872 isnan, isless, islessequal, isgreater, isgreaterequal,
16873 islessgreater, isunordered, lgamma_r and pow10 as functions and
16874 macros not tested. Mention which functions not tested are aliases
16875 for other functions. Fix typo. Note that signs of NaNs are not
16876 tested.
16877
23c31b76
JM
16878 * scripts/config.guess: Update from config.git.
16879 * scripts/config.sub: Likewise.
16880
9043e228
RM
168812012-10-04 Roland McGrath <roland@hack.frob.com>
16882
16883 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16884 * misc/madvise.c (madvise): Renamed to __madvise.
16885 Make madvise a weak alias.
16886 * include/sys/mman.h: Declare __madvise.
16887 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16888 * sysdeps/unix/syscalls.list
16889 (madvise): Make __madvise the strong name, and madvise a weak alias.
16890 * sysdeps/unix/sysv/linux/syscalls.list
16891 (madvise, mmap): Remove redundant entries.
16892 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16893 * malloc/malloc.c (mtrim): Likewise.
16894 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16895
f57f8055
RM
168962012-10-03 Roland McGrath <roland@hack.frob.com>
16897
16898 * sysdeps/mach/hurd/dl-cache.c: File removed.
16899 * config.h.in (USE_LDCONFIG): New #undef.
16900 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16901 * configure: Regenerated.
16902 * elf/Makefile (dl-routines): Add dl-cache only under
16903 [$(use-ldconfig) = yes].
16904 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16905 cache on [USE_LDCONFIG].
16906 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16907 [USE_LDCONFIG].
16908 * elf/rtld.c (dl_main): Likewise.
16909
5bb0c10a
PT
169102012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16911
16912 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16913 _SC_LEVEL4_CACHE_LINESIZE.
16914
010188c6
RM
169152012-10-03 Roland McGrath <roland@hack.frob.com>
16916
16917 * sysdeps/unix/bsd/confstr.h: File removed.
16918
b6c5ec07
AO
169192012-10-02 Alexandre Oliva <aoliva@redhat.com>
16920
16921 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16922 sys/sdt-config.h.
16923
408223d4
RM
169242012-10-02 Roland McGrath <roland@hack.frob.com>
16925
16926 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16927 Make 'mapoff' field ElfW(Off) rather than off_t.
16928
bb9510dc
DL
169292012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16930
fc997c6e
DL
16931 * nscd/Makefile: Remove nscd-cflags and all its users.
16932 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16933 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16934
bb9510dc
DL
16935 [BZ #10631]
16936 * malloc.c (malloc_printerr): Clarify error message.
16937
05699367
L
169382012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16939
16940 [BZ #14648]
16941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16942 Set bit_FMA_Usable if FMA is supported.
16943 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16944 macro.
16945 (bit_FMA4_Usable): Updated.
16946 (index_FMA_Usable): New macro.
16947 (CPUID_FMA): Likewise
16948 (HAS_FMA): Defined with bit_FMA_Usable.
16949
51367701
RM
169502012-10-01 Roland McGrath <roland@hack.frob.com>
16951
16952 * bits/types.h (__swblk_t): Type removed.
16953 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16954 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16955 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16956 (__SWBLK_T_TYPE): Likewise.
16957 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16958 (__SWBLK_T_TYPE): Likewise.
16959 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16960 (__SWBLK_T_TYPE): Likewise.
16961 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16962 (__SWBLK_T_TYPE): Likewise.
16963
4d57bf63 169642012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 16965 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
16966
16967 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16968 (xdr_mapname): Use YPMAXMAP as maxsize.
16969 (xdr_peername): Use YPMAXPEER as maxsize.
16970 (xdr_keydat): Use YPAXRECORD as maxsize.
16971 (xdr_valdat): Use YPMAXRECORD as maxsize.
16972
93c65d43
RM
169732012-10-01 Roland McGrath <roland@hack.frob.com>
16974
497a03d6
RM
16975 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16976
93c65d43
RM
16977 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16978 * csu/init-first.c: ... here.
16979 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16980 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16981 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16982 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16983 * sysdeps/i386/init-first.c: File removed.
16984 * sysdeps/sh/init-first.c: File removed.
16985
bec749fd
JM
169862012-10-01 Joseph Myers <joseph@codesourcery.com>
16987
16988 [BZ #14645]
16989 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16990 if x * y might underflow to zero and z is zero.
16991 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16992 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16993 * math/libm-test.inc (min_subnorm_value): New variable.
16994 (fma_test): Add more tests.
16995 (fma_test_towardzero): Likewise.
16996 (fma_test_downward): Likewise
16997 (fma_test_upward): Likewise.
16998 (initialize): Set min_subnorm_value.
16999
8ec5b013
JM
170002012-09-29 Joseph Myers <joseph@codesourcery.com>
17001
17002 [BZ #14638]
17003 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17004 0 + 0.
17005 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17006 mode for addition resulting in exact zero.
17007 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17008 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17009 exact 0 + 0.
17010 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17011 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17012 * math/libm-test.inc (fma_test): Add more tests.
17013 (fma_test_towardzero): New function.
17014 (fma_test_downward): Likewise.
17015 (fma_test_upward): Likewise.
17016 (main): Call the new functions.
17017
b1fa802e
DM
170182012-09-28 David S. Miller <davem@davemloft.net>
17019
17020 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17021
d3b9fd9e
RM
170222012-09-28 Roland McGrath <roland@hack.frob.com>
17023
ea4d37b3
RM
17024 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17025 instead of SIGALRM.
17026
ac51c949
RM
17027 * sysdeps/gnu/_G_config.h: Moved to ...
17028 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17029 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17030 * sysdeps/generic/_G_config.h: ... here.
17031
28c195f7
RM
17032 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17033
848917f9
RM
17034 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17035
6bacf05b
RM
17036 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17037 Conditionalize target on [libnss_test1.so-version].
17038
91363dbb
RM
17039 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17040
cc87f7d8
RM
17041 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17042 (elfobjdir): Move out of conditionals.
17043
b1c608fe
RM
17044 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17045 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17046 (__nss_lookup_function): Conditionalize label remove_from_tree on
17047 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 17048
1d9a6d96
DM
170492012-09-28 David S. Miller <davem@davemloft.net>
17050
17051 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17052 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17053 file.
17054 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17055 sysdep_routines.
17056 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17057 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17058 when HWCAP_SPARC_CRYPTO is present.
17059
72581615
PT
170602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17061
17062 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17063
715a900c
JL
170642012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17065
17066 [BZ #6530]
17067 * stdio-common/vfprintf.c (process_string_arg): Revert
17068 2000-07-22 change.
17069
170702011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17071
17072 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17073 for testcase.
17074 * stdio-common/tst-sprintf.c: Include <locale.h>
17075 (main): Test sprintf's handling of incomplete multibyte
17076 characters.
17077
9bac1d86
L
170782012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17079
17080 * elf/dl-runtime.c (VERSYMIDX): Removed.
17081 * elf/dl-version.c (VERSYMIDX): Likewise.
17082 * elf/do-rel.h (VERSYMIDX): Likewise.
17083 (VALIDX): Likewise.
17084 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17085 * elf/rtld.c (VALIDX): Likewise.
17086 (ADDRIDX): Likewise.
9bac1d86
L
17087 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17088 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17089 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
17090 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17091 (VALIDX): Likewise.
17092 (ADDRIDX): Likewise.
9bac1d86 17093
b31606c0
PT
170942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17095
17096 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17097
11541177
JL
170982012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17099
17100 [BZ #11438]
17101 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17102 to global scope.
17103 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17104 addresses are in the same scope as 192.0.2/24.
17105 * posix/gai.conf: Document new scope table defaults.
17106
adb26fae
SP
171072012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17108
17109 [BZ #5298]
17110 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17111 for ftell. Compute offsets from write pointers instead.
17112 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17113
4573c6b0
SP
171142012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17115
17116 [BZ #14543]
17117 * libio/Makefile (tests): New test case tst-fseek.
17118 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17119 combination works in wide mode.
17120 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17121 state when the external buffer state changes.
17122
aa9bbfe6
DM
171232012-09-27 David S. Miller <davem@davemloft.net>
17124
17125 [BZ #14376]
17126 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17127 pass reloc->r_addend in as the 'high' argument to
17128 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17129
784421e7
DM
17130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17131
c39bc8b8
PT
171322012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17133
17134 * rt/tst-aio2.c: Include <pthread.h>.
17135 * rt/tst-aio3.c: Likewise.
17136
1ccc2399
SE
171372012-09-27 Steve Ellcey <sellcey@mips.com>
17138
17139 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17140
31ed4153
L
171412012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17142
25f5f885
L
17143 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17144 contents on [SHARED].
31ed4153 17145
b7bfe116
MP
171462012-09-26 Marek Polacek <polacek@redhat.com>
17147
17148 [BZ #14530]
17149 [BZ #13741]
17150 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17151 for C++ and GCC <4.3 as well as for non GCC compilers.
17152
43c4edba
MT
171532012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17154
17155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17156
6a1bf82f
RM
171572012-09-25 Roland McGrath <roland@hack.frob.com>
17158
17159 * Makefile.in (all, install): Declare with .PHONY.
17160 Reported by Michael Hope <michael.hope@linaro.org>.
17161
8ad11b9a
TMQMF
171622012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17163
17164 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17165 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17166 system header.
17167 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17168 Likewise.
17169 (sydep_routines): Add the new and the internal functions.
17170 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17171 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17173 (GLIBC_2.17): Add the new function.
17174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17175 (GLIBC_2.17): Likewise.
17176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17177 (GLIBC_2.17): Likewise.
17178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17179 (GLIBC_2.17): Likewise.
17180 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17181
7e2fca8d
AM
171822012-09-25 Alan Modra <amodra@gmail.com>
17183
17184 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17185 Add release barrier before setting once_control to say
17186 initialisation is done. Add hints on lwarx. Use macro in
17187 place of isync.
17188 (clear_once_control): Add release barrier.
17189
b87c4b24
JM
171902012-09-25 Joseph Myers <joseph@codesourcery.com>
17191
d032e0d2
JM
17192 [BZ #13629]
17193 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17194 specially.
17195 * math/s_clog10.c (__clog10): Likewise.
17196 * math/s_clog10f.c (__clog10f): Likewise.
17197 * math/s_clog10l.c (__clog10l): Likewise.
17198 * math/s_clogf.c (__clogf): Likewise.
17199 * math/s_clogl.c (__clogl): Likewise.
17200 * math/Makefile (libm-calls): Add x2y2m1.
17201 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17202 (__x2y2m1): Likewise.
17203 (__x2y2m1l): Likewise.
17204 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17205 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17206 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17207 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17208 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17209 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17210 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17211 * sysdeps/i386/fpu/libm-test-ulps: Update.
17212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17213
b87c4b24
JM
17214 [BZ #14621]
17215 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17216 int as type of variable DEPTH.
17217 (glob): Use size_t instead of int as type of variables NEWCOUNT
17218 and OLD_PATHC.
17219
6d3bf199
LD
172202012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17221
22bf5c17
LD
17222 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17223 Add s_sincosf-sse2.
17224 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17225 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17226 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17227 macros for using routine as __sincosf_ia32.
17228 Use macro for function declaration and weak_alias.
17229 * sysdeps/i386/fpu/libm-test-ulps: Update.
17230
17231 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17232 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17233
17234 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
17235 subnormal argument.
17236 * math/s_cexpf.c (__cexpf): Likewise.
17237 * math/s_csinf.c (__csinf): Likewise.
17238 * math/s_csinhf.c (__csinhf): Likewise.
17239 * math/s_ctanf.c (__ctanf): Likewise.
17240 * math/s_ctanhf.c (__ctanhf): Likewise.
17241 * math/s_ccosh.c (__ccoshf): Likewise.
17242 * math/s_cexp.c (__cexpl): Likewise.
17243 * math/s_csin.c (__csin): Likewise.
17244 * math/s_csinh.c (__csinh): Likewise.
17245 * math/s_ctan.c (__ctan): Likewise.
17246 * math/s_ctanh.c (ctanh): Likewise.
17247 * math/s_ccoshl.c (__ccoshl): Likewise.
17248 * math/s_cexpl.c (__cexpl): Likewise.
17249 * math/s_csinl.c (__csinl): Likewise.
17250 * math/s_csinhl.c (__csinhl): Likewise.
17251 * math/s_ctanl.c (__ctanl): Likewise.
17252 * math/s_ctanhl.c (__ctanhl): Likewise.
17253
203e5603
JM
172542012-09-25 Joseph Myers <joseph@codesourcery.com>
17255
17256 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17257 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17258 (_IO_off_t): Define to __off_t, not _G_off_t.
17259 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17260 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17261 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17262 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17263 type of __dummy and __dummy2 fields.
17264 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17265 (_G_ssize_t): Likewise.
17266 (_G_off_t): Likewise.
17267 (_G_pid_t): Likewise.
17268 (_G_uid_t): Likewise.
17269 (_G_wchar_t): Likewise.
17270 (_G_wint_t): Likewise.
17271 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17272 (_G_ssize_t): Likewise.
17273 (_G_off_t): Likewise.
17274 (_G_pid_t): Likewise.
17275 (_G_uid_t): Likewise.
17276 (_G_wchar_t): Likewise.
17277 (_G_wint_t): Likewise.
17278 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17279 (_G_ssize_t): Likewise.
17280 (_G_off_t): Likewise.
17281 (_G_pid_t): Likewise.
17282 (_G_uid_t): Likewise.
17283 (_G_wchar_t): Likewise.
17284 (_G_wint_t): Likewise.
17285
9fab36eb
SP
172862012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17287
17288 * malloc/arena.c: Include malloc-sysdep.h.
17289 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17290 is sufficient to shrink the heap or an unmap is needed.
17291 * sysdeps/generic/malloc-sysdep.h: New file. Define
17292 new function check_may_shrink_heap.
17293 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17294 new function check_may_shrink_heap.
17295
2b4f00d1
SP
172962012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17297
17298 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17299 comments.
17300
9a9028b1
DL
173012012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17302
57c69bef
DL
17303 * catgets/test-gencat.sh: Add "set -e".
17304 * elf/tst-pathopt.sh: Likewise.
17305 * grp/tst_fgetgrent.sh: Likewise.
17306 * iconvdata/run-iconv-test.sh: Likewise.
17307 * intl/tst-gettext.sh: Likewise.
17308 * intl/tst-gettext2.sh: Likewise.
17309 * intl/tst-gettext4.sh: Likewise.
17310 * intl/tst-gettext6.sh: Likewise.
17311 * intl/tst-translit.sh: Likewise.
17312 * io/ftwtest-sh: Likewise.
17313 * libio/test-freopen.sh: Likewise.
17314 * malloc/tst-mtrace.sh: Likewise.
17315 * posix/globtest.sh: Likewise.
17316 * posix/tst-getconf.sh: Likewise.
17317 * posix/wordexp-tst.sh: Likewise.
17318 * stdio-common/tst-printf.sh: Likewise.
17319 * stdio-common/tst-unbputc.sh: Likewise.
17320 * stdlib/tst-fmtmsg.sh: Likewise.
17321 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17322 * catgets/Makefile: Do not specify -e option when running
17323 testsuite shell scripts.
17324 * elf/Makefile: Likewise.
17325 * grp/Makefile: Likewise.
17326 * iconvdata/Makefile: Likewise.
17327 * intl/Makefile: Likewise.
17328 * io/Makefile: Likewise.
17329 * libio/Makefile: Likewise.
17330 * malloc/Makefile: Likewise.
17331 * posix/Makefile: Likewise.
17332 * stdio-common/Makefile: Likewise.
17333 * stdlib/Makefile: Likewise.
17334 * sysdeps/x86_64/Makefile: Likewise.
17335
9a9028b1
DL
17336 * io/ftwtest-sh: Add copyright header.
17337 * posix/globtest.sh: Likewise.
17338 * posix/tst-getconf.sh: Likewise.
17339 * posix/wordexp-tst.sh: Likewise.
17340 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17341
ced6f16e
L
173422012-09-24 H.J. Lu <hongjiu.lu@intel.com>
17343
94b32c39
L
17344 [BZ #13679]
17345 * Makeconfig (+link): Defined as $(+link-static) if
17346 $(build-shared) isn't yes.
17347 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17348 isn't yes.
17349 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17350
189e935b
L
17351 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17352
ced6f16e
L
17353 [BZ #14562]
17354 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17355 new chunk size with MALLOC_ALIGN_MASK.
17356
a9f8e53a
JM
173572012-09-24 Joseph Myers <joseph@codesourcery.com>
17358
17359 [BZ #5044]
17360 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17361 <rounding-mode.h>.
17362 (__printf_fphex): Determine rounding using get_rounding_mode and
17363 round_away.
17364 * stdio-common/tst-printf-round.c (struct hex_test): New
17365 structure.
17366 (hex_tests): New variable.
17367 (test_hex_in_one_mode): New function.
17368 (do_test): Also run tests for hex float output.
17369
43153109
JM
173702012-09-21 Joseph Myers <joseph@codesourcery.com>
17371
17372 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17373 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17374 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17375 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17376 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17377 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17378 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17379 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17380
8a26625d
JM
173812012-09-20 Joseph Myers <joseph@codesourcery.com>
17382
17383 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17384 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17385 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17386 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17387
f3fd569c
DL
173882012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17389
17390 [BZ #14579]
17391 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17392 mode only.
17393 * elf/tst-rtld-load-self.sh: New test.
17394 * elf/Makefile: Run it.
17395
63bbedd4
JM
173962012-09-18 Joseph Myers <joseph@codesourcery.com>
17397
17398 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17399 (tst-writev-ENV): Remove.
17400 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17401
626f8b6a
CM
174022012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17403
17404 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17405
b7aaa4d6
JM
174062012-09-17 Joseph Myers <joseph@codesourcery.com>
17407
17408 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17409 unconditional.
17410 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17411 Likewise.
17412 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17413 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17414 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17415 Likewise.
17416
65513990
L
174172012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17418
17419 [BZ #14587]
17420 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17421 * config.make.in (have-cpp-asm-debuginfo): Removed.
17422 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17423 * configure: Regenerated.
17424
784761be
JM
174252012-09-14 Joseph Myers <joseph@codesourcery.com>
17426
17427 [BZ #5044]
17428 * stdio-common/printf_fp.c: Include <stdbool.h> and
17429 <rounding-mode.h>.
17430 (___printf_fp): Determine rounding using get_rounding_mode and
17431 round_away.
17432 * stdio-common/tst-printf-round.c: New file.
17433 * stdio-common/Makefile (tests): Add tst-printf-round.
17434 (link-libm): New variable.
17435 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17436
9503345f
L
174372012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17438
17439 [BZ #14576]
17440 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17441 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17442 Likewise.
17443 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17444 Likewise.
17445
ad35fc00
JM
174462012-09-13 Joseph Myers <joseph@codesourcery.com>
17447
17448 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17449 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17450 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17451 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17452
6c9b0f68
JM
174532012-09-12 Joseph Myers <joseph@codesourcery.com>
17454
17455 [BZ #14518]
17456 * include/rounding-mode.h: New file.
17457 * sysdeps/generic/get-rounding-mode.h: Likewise.
17458 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17459 * stdlib/strtod_l.c: Include <rounding-mode.h>.
17460 (MAX_VALUE): New macro.
17461 (MIN_VALUE): Likewise.
17462 (overflow_value): New function.
17463 (underflow_value): Likewise.
17464 (round_and_return): Use overflow_value and underflow_value to
17465 determine return values in overflow and underflow cases. Use
17466 round_away to determine rounding depending on rounding mode.
17467 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17468 determine return values in overflow and underflow cases.
17469 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17470 (struct test_results): New structure.
17471 (struct test): Use struct test_results to store expected results
17472 for all rounding modes.
17473 (TEST): Include expected results for all rounding modes.
17474 (test_in_one_mode): New function.
17475 (do_test): Use test_in_one_mode to compute and check results.
17476 Check results for all rounding modes.
17477 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17478 $(link-libm).
17479
19fcedd5
AM
174802012-12-09 Allan McRae <allan@archlinux.org>
17481
1e9d84cd 17482 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 17483
8bbfd2f1
JM
174842012-09-11 Joseph Myers <joseph@codesourcery.com>
17485
17486 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17487 (_G_int32_t): Likewise.
17488 (_G_uint16_t): Likewise.
17489 (_G_uint32_t): Likewise.
17490 (_G_HAVE_BOOL): Likewise.
17491 (_G_HAVE_ATEXIT): Likewise.
17492 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17493 (_G_HAVE_IO_FILE_OPEN): Likewise.
17494 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17495 (_G_int32_t): Likewise.
17496 (_G_uint16_t): Likewise.
17497 (_G_uint32_t): Likewise.
17498 (_G_HAVE_BOOL): Likewise.
17499 (_G_HAVE_ATEXIT): Likewise.
17500 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17501 (_G_HAVE_IO_FILE_OPEN): Likewise.
17502 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17503 (_G_int32_t): Likewise.
17504 (_G_uint16_t): Likewise.
17505 (_G_uint32_t): Likewise.
17506 (_G_HAVE_BOOL): Likewise.
17507 (_G_HAVE_ATEXIT): Likewise.
17508 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17509 (_G_HAVE_IO_FILE_OPEN): Likewise.
17510
b1dc5912
L
175112012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17512
17513 * csu/libc-tls.c: Update copyright years.
17514
0e886ef9
JM
175152012-09-10 Joseph Myers <joseph@codesourcery.com>
17516
28361c5e
JM
17517 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17518 [!_G_USING_THUNKS]: Remove conditional code.
17519 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17520 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17521
0e886ef9
JM
17522 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17523 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17524 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17525 (_G_VTABLE_LABEL_PREFIX): Likewise.
17526 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17527 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17528 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17529 (_G_VTABLE_LABEL_PREFIX): Likewise.
17530 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17531 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17532 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17533 (_G_VTABLE_LABEL_PREFIX): Likewise.
17534 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17535
bcba7aa2
L
175362012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17537
17538 * libio/Makefile: Include ../Makeconfig before tests.
17539 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17540 only if $(build-shared) is yes.
17541
06585ee8
L
17542 * iconv/gconv_db.c: Update copyright years.
17543
80ccd52c
LD
175442012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17545
17546 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17547 unwind info if defined PIC. Fix special cases description.
17548 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17549
17550 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17551 DP_HI_MASK entry.
17552 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17553
691bc9c1
L
175542012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17555
3d9b46b3
L
17556 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17557
de2139a9
L
17558 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17559 is NULL.
17560
5ca78dd0
L
17561 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17562 (LDLIBS-tst-chk4): This.
17563 (LDFLAGS-tst-chk5): Renamed to ...
17564 (LDLIBS-tst-chk5): This.
17565 (LDFLAGS-tst-chk6): Renamed to ...
17566 (LDLIBS-tst-chk6): This.
17567 (LDFLAGS-tst-lfschk4): Renamed to ...
17568 (LDLIBS-tst-lfschk4): This.
17569 (LDFLAGS-tst-lfschk5): Renamed to ...
17570 (LDLIBS-tst-lfschk5): This.
17571 (LDFLAGS-tst-lfschk6): Renamed to ...
17572 (LDLIBS-tst-lfschk6): This.
17573
691bc9c1
L
17574 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17575 on $(common-objpfx)soversions.mk.
17576
65cafb1c
JM
175772012-09-07 Joseph Myers <joseph@codesourcery.com>
17578
17579 [BZ #10014]
17580 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17581 example host name.
17582
c78ab094
SP
175832012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17584
17585 * malloc/arena.c (arena_get_retry): New function that gets
17586 another arena for the caller to try its request on.
17587 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17588 current arena cannot fulfill the request.
17589 (__libc_memalign): Likewise.
17590 (__libc_memalign): Likewise.
17591 (__libc_pvalloc): Likewise.
17592 (__libc_calloc): Likewise.
17593
01f49f59
JT
175942012-09-05 John Tobey <john.tobey@gmail.com>
17595
17596 [BZ #13542]
17597 * manual/arith.texi (Operations on Complex): Fix description
17598 of carg branch cut.
17599
4c23fed5
JM
176002012-09-06 Joseph Myers <joseph@codesourcery.com>
17601
1d3c8572
JM
17602 [BZ #10014]
17603 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17604 host name.
17605
4c23fed5
JM
17606 [BZ #10038]
17607 * manual/memory.texi (Memory): Make order of menu items match
17608 order of sections.
17609
04570aaa
L
176102012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17611
17612 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17613 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17614 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17615
b80af2f4
L
176162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17617
17618 * csu/libc-tls.c (static_dtv): Renamed to ...
17619 (_dl_static_dtv): This. Make it global.
17620 (_dl_initial_dtv): Removed.
17621 (__libc_setup_tls): Updated.
17622 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17623 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17624 DL_INITIAL_DTV.
17625
2abe9f15
PM
176262012-09-06 Petr Machata <pmachata@redhat.com>
17627
17628 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17629 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17630 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17631 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17632
0948c3af
L
176332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17634
17635 [BZ #14545]
17636 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17637 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17638 freeing dtv[-1].
17639
a5055ad1
L
176402012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17641
17642 [BZ #14544]
17643 * Makeconfig (link-static-before-libc): Replace $(+prector)
17644 with $(+prectorT).
17645 (link-static-after-libc): Replace $(+postctor) with
17646 $(+postctorT).
17647 (link-bounded): Replace $(+prector)/$(+postctor) with
17648 $(+prectorT)/$(+postctorT).
17649 (+prectorT): New macro.
17650 (+postctorT): Likewise.
17651
ed8c2ecd
JM
176522012-09-06 Joseph Myers <joseph@codesourcery.com>
17653
17654 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17655 (round_str): Handle values above the maximum for IBM long double
17656 as inexact.
17657 * stdlib/tst-strtod-round.c (tests): Regenerated.
17658
14c996c8
AK
176592012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17660
17661 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17662 assembler flag.
17663 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17664 zarch_nohighgprs around the zarch optimized routines.
17665 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17666 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17667 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17668 for zarch.
17669
430d6ce6
DM
176702012-09-05 David S. Miller <davem@davemloft.net>
17671
17672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17673
ff04dda4
DM
17674 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17675 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17676 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17677 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17678 entries.
17679
24d4e01b
AO
176802012-09-05 Alexandre Oliva <aoliva@redhat.com>
17681
17682 * malloc/arena.c: Fold copyright years.
17683 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17684
61d58174
AO
176852012-09-05 Alexandre Oliva <aoliva@redhat.com>
17686
17687 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17688
20196a5e
AO
176892012-09-05 Alexandre Oliva <aoliva@redhat.com>
17690
17691 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17692
5c447383
AO
176932012-09-05 Alexandre Oliva <aoliva@redhat.com>
17694
17695 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17696 change internal state upon failure.
17697
fad64255
AO
176982012-09-05 Alexandre Oliva <aoliva@redhat.com>
17699
17700 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17701 * malloc/memusage.c (mmap): Likewise.
17702 (mmap64, mremap): Likewise. Adjust name in comment.
17703
1ffb8c90
SP
177042012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17705
17706 * libio/fileops.c: Fix typos in comments.
17707 * libio/oldfileops.c: Likewise.
17708 * libio/wfileops.c: Likewise.
17709
6ef9cc37
SP
177102012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17711
17712 [BZ #1349]
17713 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17714 (tst-malloc-usable-ENV): Set environment for test case.
17715 * malloc/hooks.c (malloc_check_get_size): New function to get
17716 requested size.
17717 * malloc/malloc.c (musable): Use malloc_check_get_size.
17718 * malloc/tst-malloc-usable.c: New test case.
17719
4d038ae3
AS
177202012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17721
17722 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17723
c4e85184
AM
177242012-09-05 Allan McRae <allan@archlinux.org>
17725
b9dafc56 17726 [BZ #13966]
c4e85184
AM
17727 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17728 determine header location.
17729 * configure: Regenerated.
17730
e1343020
AS
177312012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17732
17733 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17734 float format.
17735 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
17736 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17737 format.
e1343020
AS
17738 (test): Regenerate.
17739
0a9f1987
DM
177402012-09-04 David S. Miller <davem@davemloft.net>
17741
17742 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17743 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17744 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17745
29237804
FW
177462012-09-04 Florian Weimer <fweimer@redhat.com>
17747
17748 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17749 failures.
17750
edb3cb88
FW
17751 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17752
60160d83
JM
177532012-09-04 Joseph Myers <joseph@codesourcery.com>
17754
17755 [BZ #9914]
17756 * libio/iogetdelim.c: Include <limits.h>.
17757 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17758 + len + 1 would overflow.
17759
bcd6c8dc
AJ
177602012-09-03 Andreas Jaeger <aj@suse.de>
17761
17762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17763 * sysdeps/i386/fpu/libm-test-ulps: Update.
17764
4ffffbd2
LD
177652012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17766
17767 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17768 Add s_sinf-sse2, s_conf-sse2.
17769
17770 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17771 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17772 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17773 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17774
17775 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17776 for using routine as __sinf_ia32.
17777 Use macro for function declaration and weak_alias.
17778 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17779 for using routine as __cosf_ia32.
17780 Use macro for function declaration and weak_alias.
17781
17782 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17783 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17784
17785 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17786 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17787 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17788
17789 * math/libm-test.inc (cos_test): Add more test cases.
17790 (sin_test): Likewise.
17791 (sincos_test): Likewise.
17792
511fa286
AK
177932012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17794
17795 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17796 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17797 hidden.
17798 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17799
5f30cfec
L
178002012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17801
17802 [BZ #14538]
17803 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17804 first element of the GOT.
17805 (elf_machine_load_address): Return the difference between
17806 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17807
0786794f
AM
178082012-09-01 Allan McRae <allan@archlinux.org>
17809
5f30cfec
L
17810 [BZ #13412]
17811 * configure.in (AWK): Require gawk version 3.0 or later.
17812 * configure: Regenerated.
0786794f 17813
26889eac
JM
178142012-09-01 Joseph Myers <joseph@codesourcery.com>
17815
17816 * sysdeps/unix/sysv/linux/kernel-features.h
17817 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17818 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17819 [__NR_clock_getres]: Make code unconditional.
17820 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17821 (clock_getcpuclockid): Remove code left unreachable by removal of
17822 conditionals.
17823 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17824 code unconditional.
17825 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17826 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17827 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17828 Make code unconditional.
17829 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17830 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17831 * sysdeps/unix/sysv/linux/clock_settime.c
17832 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17833 conditional code.
17834 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17835 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17836
d22e28b0
L
178372012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17838
17839 [BZ #14476]
17840 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17841 scripts/test-installation.pl.
17842
17843 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17844 and $ld_so_version if it is set.
17845
050af9c4
SP
178462012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17847
17848 [BZ #14516]
17849 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17850 failure if reading from procfs failed.
17851 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17852
ad845c0b
JM
178532012-08-27 Joseph Myers <joseph@codesourcery.com>
17854
17855 * sysdeps/unix/sysv/linux/kernel-features.h
17856 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17857 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17858 Remove conditional code.
17859 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17860 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17861 Remove conditional code.
17862 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17863 * sysdeps/unix/sysv/linux/i386/fxstat.c
17864 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17865 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17866 * sysdeps/unix/sysv/linux/i386/fxstatat.c
17867 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17868 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17869 * sysdeps/unix/sysv/linux/i386/lxstat.c
17870 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17871 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17872 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17873 Remove conditional code.
17874 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17875 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17876 Remove conditional code.
17877 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17878 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17879 <kernel-features.h>.
17880 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17881 Remove.
17882 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17883 Remove conditional code.
17884 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17885 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17886 Remove conditional.
17887
5dbf56af
MF
178882012-08-27 Mike Frysinger <vapier@gentoo.org>
17889
17890 [BZ #5400]
17891 * NEWS: Add fixed bug number.
17892
d6e70f43
JM
178932012-08-27 Joseph Myers <joseph@codesourcery.com>
17894
7efb4737
JM
17895 [BZ #14519]
17896 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17897 underflowing exponent in case of negative sign.
17898 * stdlib/tst-strtod-round-data: Add more tests.
17899 * stdlib/tst-strtod-round.c (tests): Regenerated.
17900
af92131a
JM
17901 [BZ #3479]
17902 * stdlib/strtod_l.c (NDIG): Remove.
17903 (HEXNDIG): Likewise.
17904 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17905 smallest representable value.
17906 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17907 lie within an exact representation of 1/2 ulp of the result.
17908 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17909 unconditionally.
17910 (TENS_P9_IDX): Define unconditionally.
17911 (TENS_P9_SIZE): Likewise.
17912 (TENS_P10_IDX): Likewise.
17913 (TENS_P10_SIZE): Likewise.
17914 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17915 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17916 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17917 entries for 10^2^13 and 10^2^14.
17918 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17919 (TENS_P13_IDX): Define.
17920 (TENS_P13_SIZE): Likewise.
17921 (TENS_P14_IDX): Likewise.
17922 (TENS_P14_SIZE): Likewise.
17923 (_fpioconst_pow10): Change array size to
17924 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17925 unconditional.
17926 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17927 1024]: Add entries for 10^2^13 and 10^2^14.
17928 [LAST_POW10 > _LAST_POW10]: Remove #error.
17929 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17930 (_fpioconst_pow10): Change array size to
17931 FPIOCONST_POW10_ARRAY_SIZE.
17932 * stdlib/gen-fpioconst.c: New file.
17933 * stdlib/gen-tst-strtod-round.c: Likewise.
17934 * stdlib/tst-strtod-round-data: Likewise.
17935 * stdlib/tst-strtod-round.c: Likewise.
17936 * stdlib/Makefile (tests): Add tst-strtod-round.
17937
d6e70f43
JM
17938 [BZ #14459]
17939 * stdlib/strtod_l.c: Include <stdint.h>.
17940 (NDEBUG): Do not define.
17941 (round_and_return): Change EXPONENT parameter to type intmax_t.
17942 Rearrange calculations to avoid internal overflow possibilities.
17943 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17944 Rearrange calculations to avoid internal overflow possibilities.
17945 Assert that number fits inside MPNSIZE limbs.
17946 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17947 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17948 calculations and add assertions to avoid internal overflow
17949 possibilities. Add casts to avoid signed/unsigned operations.
17950 * stdlib/tst-strtod-overflow.c: New file.
17951 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17952
1f529f7d
MP
179532012-08-25 Marek Polacek <polacek@redhat.com>
17954
17955 * time/time.h: Fix some typos in comments.
17956
59a629f1
RM
179572012-08-23 Roland McGrath <roland@hack.frob.com>
17958
17959 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17960 * posix/tst-rfc3484-2.c: Likewise.
17961 * posix/tst-rfc3484-3.c: Likewise.
17962
d3bafbc9
SM
179632012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17964
17965 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17966 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17967
4efcc022
JM
179682012-08-23 Joseph Myers <joseph@codesourcery.com>
17969
17970 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17971 #include of fxstatat64.c.
17972
3cc3ef96
RM
179732012-08-22 Roland McGrath <roland@hack.frob.com>
17974
f04e2132
RM
17975 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17976 * shadow/getspent_r.c: Likewise.
17977 * shadow/getspnam.c: Likewise.
17978 * shadow/getspnam_r.c: Likewise.
17979 * gshadow/getsgent.c: Likewise.
17980 * gshadow/getsgent_r.c: Likewise.
17981 * gshadow/getsgnam.c: Likewise.
17982 * gshadow/getsgnam_r.c: Likewise.
17983 * inet/getnetbyad.c: Likewise.
17984 * inet/getnetbyad_r.c: Likewise.
17985 * inet/getnetbynm.c: Likewise.
17986 * inet/getnetbynm_r.c: Likewise.
17987 * inet/getnetent.c: Likewise.
17988 * inet/getnetent_r.c: Likewise.
17989 * inet/getproto.c: Likewise.
17990 * inet/getproto_r.c: Likewise.
17991 * inet/getprtent.c: Likewise.
17992 * inet/getprtent_r.c: Likewise.
17993 * inet/getprtname.c: Likewise.
17994 * inet/getprtname_r.c: Likewise.
17995 * inet/getrpcbyname.c: Likewise.
17996 * inet/getrpcbyname_r.c: Likewise.
17997 * inet/getrpcbynumber.c: Likewise.
17998 * inet/getrpcbynumber_r.c: Likewise.
17999 * inet/getrpcent.c: Likewise.
18000 * inet/getrpcent_r.c: Likewise.
18001 * inet/getaliasent.c: Likewise.
18002 * inet/getaliasent_r.c: Likewise.
18003 * inet/getaliasname.c: Likewise.
18004 * inet/getaliasname_r.c: Likewise.
18005 * nscd/getgrgid_r.c: Likewise.
18006 * nscd/getgrnam_r.c: Likewise.
18007 * nscd/gethstbyad_r.c: Likewise.
18008 * nscd/gethstbynm3_r.c: Likewise.
18009 * nscd/getpwnam_r.c: Likewise.
18010 * nscd/getpwuid_r.c: Likewise.
18011 * nscd/getsrvbynm_r.c: Likewise.
18012 * nscd/getsrvbypt_r.c: Likewise.
18013 * nscd/gai.c: Likewise.
18014
c53d909c
RM
18015 * configure.in (build_nscd): New substituted variable, set
18016 by --disable-build-nscd and defaults to $use_nscd.
18017 * configure: Regenerated.
18018 * config.make.in (build-nscd): New substituted variable.
18019 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18020 Change conditional to require [$(build-nscd) = yes] as well.
18021 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18022
3cc3ef96
RM
18023 [BZ# 13696]
18024 * configure.in (use_nscd): New substituted variable, set by
18025 --disable-nscd. If enabled, define USE_NSCD.
18026 * configure: Regenerated.
18027 * config.h.in: Add USE_NSCD.
18028 * config.make.in (use-nscd): New substituted variable.
18029 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18030 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18031 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18032 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18033 (CFLAGS-getgrnam_r.c): Likewise.
18034 (CFLAGS-initgroups.c): Likewise.
18035 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18036 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18037 Variables removed.
18038 * inet/getnetgrent_r.c
18039 (nscd_setnetgrent): New function, broken out of ...
18040 (setnetgrent): ... here. Call it.
18041 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18042 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18043 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18044 * nscd/Makefile (routines, aux): Move definitions after include of
18045 Makeconfig. Conditionalize on [$(use-nscd) != no].
18046 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18047 Conditionalize on [USE_NSCD].
18048 (is_nscd, nscd_init_cb): Likewise.
18049 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18050 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18051 * nss/nss_db/db-init.c: Likewise.
18052 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18053 [USE_NSCD].
18054 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18055 (make_request): Use it.
18056 (cache_valid_p): New function.
18057 (__check_pf): Use it.
18058 * NEWS: Add item for --disable-nscd.
18059
07e51550
DL
180602012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18061
18062 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18063 to support sed >= 4.2.1-20-ga9bf076.
18064 * configure: Regenerated.
18065
35a5b08b
RM
180662012-08-22 Roland McGrath <roland@hack.frob.com>
18067
18068 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18069 Conditionalize whole body on [IREL].
18070
8479f23a
JL
180712012-08-22 Jeff Law <law@redhat.com>
18072
18073 [BZ #14505]
18074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18075 if the family is PF_UNSPEC.
18076
48da0b21
MF
180772012-08-22 Mike Frysinger <vapier@gentoo.org>
18078
18079 * Makerules (lib-version): Rename from V.
18080 (install-lib-nosubdir): Change V to lib-version.
18081
15d0da8c
WS
180822012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18083
18084 [BZ #14252]
18085 * powerpc32/power6/wcschr.c: New file.
18086 * powerpc32/power6/wcscpy.c: New file.
18087 * powerpc32/power6/wcsrchr.c: New file.
18088 * powerpc64/power6/wcschr.c: New file.
18089 * powerpc64/power6/wcscpy.c: New file.
18090 * powerpc64/power6/wcsrchr.c: New file.
18091
bcca0895
MK
180922012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18093
18094 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18095 (two_way_short_needle): Use it.
5a4aaa33
RM
18096 * string/strstr.c (AVAILABLE1_USES_J): Define.
18097 * string/strcasestr.c: Likewise.
99677e57
MK
18098
18099 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18100 array references.
18101 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18102
400726de
MK
18103 [BZ #11607]
18104 * NEWS: Add an entry.
18105 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18106 define their defaults.
18107 (two_way_short_needle): Detect end-of-string on-the-fly.
18108 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18109 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18110 * string/bug-strcasestr1.c: New test.
18111 * string/Makefile: Run it.
18112
20a71f2c
MK
181132012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18114
18115 [BZ #11607]
18116 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18117 the first character.
18118
21ad0558
RM
181192012-08-21 Roland McGrath <roland@hack.frob.com>
18120
18121 * csu/elf-init.c (__libc_csu_irel): Function removed.
18122 * csu/libc-start.c (apply_irel): New function.
18123 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18124
0e1d9911
JM
181252012-08-21 Joseph Myers <joseph@codesourcery.com>
18126
18127 * sysdeps/unix/sysv/linux/kernel-features.h
18128 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18129 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18130 <kernel-features.h>.
18131 [__NR_fadvise64_64]: Make code unconditional.
18132 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18133 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18134 !__NR_fadvise64_64)]: Likewise.
18135 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18136 !__NR_fadvise64_64))]: Likewise.
18137 [__NR_fadvise64]: Make code unconditional.
18138 [!__NR_fadvise64]: Remove conditional code.
18139 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18140 <kernel-features.h>.
18141 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18142 unconditional.
18143 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18144 conditional code.
18145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18146 not include <kernel-features.h>.
18147 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18148 unconditional.
18149 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18150 conditional code.
18151 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18152 include <kernel-features.h>.
18153 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18154 unconditional.
18155 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18156 conditional code.
18157
14a50c9d
WS
181582012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18159
18160 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18161 slight instruction rearrangements per scrollpipe analysis.
18162 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18163
c0f4faf0
RM
181642012-08-20 Roland McGrath <roland@hack.frob.com>
18165
696da859
RM
18166 * manual/syslog.texi (syslog; vsyslog, closelog):
18167 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18168 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18169
c0f4faf0
RM
18170 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18171 DSOCAPS to match condition on defining it.
18172
348363b2
JM
181732012-08-20 Joseph Myers <joseph@codesourcery.com>
18174
a35cbf28
JM
18175 * sysdeps/unix/sysv/linux/kernel-features.h
18176 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18178 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18179 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18181 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18182 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18184 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18185 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18186
445f7ecd
JM
18187 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18188 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18189
348363b2
JM
18190 * sysdeps/unix/sysv/linux/kernel-features.h
18191 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18192 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18193 unconditional.
18194 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18195 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18196 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18197 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18198 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18199 Make code unconditional.
18200 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18201 (__mmap64) [!__NR_mmap2]: Likewise.
18202 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18203 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18204 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18205 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18206 [__NR_mmap2]: Make code unconditional.
18207 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18208 (__mmap64) [!__NR_mmap2]: Likewise.
18209
bc5bc0e5
AK
182102012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18211
18212 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18213
88d506de
AJ
182142012-08-18 Andreas Jaeger <aj@suse.de>
18215
18216 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18217
493387d2
MF
182182012-08-18 Mike Frysinger <vapier@gentoo.org>
18219
18220 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18221 * include/unistd.h (__have_sock_cloexec): Likewise.
18222 (__have_pipe2): Likewise.
18223 (__have_dup3): Likewise.
18224
a277af22
MF
182252012-08-18 Mike Frysinger <vapier@gentoo.org>
18226
18227 [BZ #9685]
18228 * include/unistd.h (__have_pipe2): Change define into an extern int.
18229 (__have_dup3): Likewise.
18230 * socket/have_sock_cloexec.c: Include fcntl.h.
18231 (__have_pipe2): New variable.
18232 (__have_dup3): Likewise.
18233
fdab8fd3
MF
182342012-08-17 Mike Frysinger <vapier@gentoo.org>
18235
18236 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18237
31035e80
MP
182382012-08-17 Marek Polacek <polacek@redhat.com>
18239
18240 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18241 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18242
3bd9e993
RM
182432012-08-17 Roland McGrath <roland@hack.frob.com>
18244
c91c505f
RM
18245 * configure.in: Add AC_SUBST for sysheaders.
18246 * configure: Regenerated.
18247 * config.make.in (sysheaders): New substituted variable.
18248
7c6f9d53
RM
18249 * sysdeps/unix/mkfifo.c: Moved ...
18250 * sysdeps/posix/mkfifo.c: ... here.
18251 * sysdeps/unix/mkfifoat.c: Moved ...
18252 * sysdeps/posix/mkfifoat.c: ... here.
18253
18254 * sysdeps/unix/utime.c: Moved ...
18255 * sysdeps/posix/utime.c: ... here.
18256
18257 * sysdeps/unix/time.c: Moved ...
18258 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
18259 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18260 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
18261
18262 * sysdeps/unix/nice.c: Moved ...
18263 * sysdeps/posix/nice.c: ... here.
18264
18265 * sysdeps/unix/alarm.c: Moved ...
18266 * sysdeps/posix/alarm.c: ... here.
18267
3bd9e993
RM
18268 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18269
d1f09384
JL
182702012-08-17 Jeff Law <law@redhat.com>
18271
18272 * intl/Makefile (codeset_mo): New variable.
18273 ($(codeset_mo)): New target.
18274 (tst-codeset.out): Depend on that. Remove explicit rule.
18275 (tst-gettext3.out, tst-gettext5.out): Likewise.
18276 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18277 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18278 * intl/tst-codeset.sh: Remove.
18279 * intl/tst-gettext3.sh: Likewise.
18280 * intl/tst-gettext5.sh: Likewise.
18281
2ae1ae5c
RM
182822012-08-17 Roland McGrath <roland@hack.frob.com>
18283
c31fdb83
RM
18284 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18285 * sysdeps/unix/syscalls.list: ... here.
18286
a0844057
RM
18287 * sysdeps/posix/getaddrinfo.c
18288 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18289 (gaiconf_init, gaiconf_reload): Use them.
18290 [!_STATBUF_ST_NSEC]
18291 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18292 Define using time_t rather than struct timespec.
18293
750c1f2a
RM
18294 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18295 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18296 Macros removed.
18297 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18298 [!NO_THREADS].
18299 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18300 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18301 Likewise.
18302
2ae1ae5c
RM
18303 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18304 __libc_cleanup_push argument.
18305
e66a42f5
RM
18306 * bits/param.h: New file.
18307 * misc/sys/param.h: New file.
18308 * include/sys/param.h: New file.
18309 * misc/Makefile (headers): Add bits/param.h.
18310 * sysdeps/generic/sys/param.h: File removed.
18311 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18312 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18313 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 18314 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 18315
b7c08a66
RM
18316 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18317 last change.
18318
b2e1c562
RM
18319 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18320 [_IO_MTSAFE_IO].
18321 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18322 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18323 New macros.
18324
c75ccd4c
RM
18325 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18326 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18327 rather than -D_IO_MTSAFE_IO conditionally.
18328 * stdio-common/Makefile (CPPFLAGS): Likewise.
18329 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18330 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18331 Use $(libio-mtsafe).
18332 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18333 of -D_IO_MTSAFE_IO.
18334 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18335 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18336 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18337 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18338 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18339 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18340 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18341 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18342 (CFLAGS-fread_u_chk.c): Likewise.
18343 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18344 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18345 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18346 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18347 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18348 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18349 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18350 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18351 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18352
18353 * libio/Makefile: Test [$(libc-reentrant) = yes]
18354 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18355
18356 * Makeconfig
18357 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18358 * sysdeps/pthread/configure: File removed.
18359 * sysdeps/pthread/Makeconfig: New file.
18360 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18361 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18362
d9195db8
GB
183632012-08-16 Gary Benson <gbenson@redhat.com>
18364
18365 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18366 unmapping the first object in a namespace.
18367
86466cd9
RM
183682012-08-16 Roland McGrath <roland@hack.frob.com>
18369
18370 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18371 (__internal_setnetgrent): ... this. Add internal_function to
18372 definition. Add libc_hidden_def.
18373 (setnetgrent): Update caller.
18374 (internal_endnetgrent): Renamed to ...
18375 (__internal_endnetgrent): ... this. Add internal_function to
18376 definition. Add libc_hidden_def.
18377 (endnetgrent): Update caller.
18378 (internal_getnetgrent_r): Renamed to ...
18379 (__internal_getnetgrent_r): ... this. Add internal_function to
18380 definition. Add libc_hidden_def.
18381 (__getnetgrent_r): Update caller.
18382 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18383
c3c8283c
JM
183842012-08-16 Joseph Myers <joseph@codesourcery.com>
18385
18386 * stdlib/longlong.h: Update from GCC.
18387
db1ee0a8
RM
183882012-08-16 Roland McGrath <roland@hack.frob.com>
18389
18390 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18391 on _QL, which is set by umul_ppmm but never used.
18392 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18393 variables, which are set by GMP macros but never used.
18394 * stdio-common/_itowa.c (_itowa): Likewise.
18395 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18396 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18397
30f69637
CD
183982012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18399
18400 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18401 struct La_sh_regs is not constant.
18402 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18403 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18404 and struct La_sparc64_regs are not constant.
18405
93a78ac4
JM
184062012-08-16 Joseph Myers <joseph@codesourcery.com>
18407
18408 * sysdeps/unix/sysv/linux/kernel-features.h
18409 (__ASSUME_POSIX_TIMERS): Remove.
18410 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18411 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18412 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18413 Make code unconditional.
18414 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18415 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18416 Make code unconditional.
18417 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18418 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18419 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18420 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18421 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18422 Make code unconditional.
18423 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18424 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18425 (__libc_missing_posix_timers): Remove.
18426
dd924cd7
RM
184272012-08-15 Roland McGrath <roland@hack.frob.com>
18428
4b4f2771
RM
18429 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18430 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18431
601c888b
RM
18432 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18433
176790a7
RM
18434 * elf/dl-sym.c: Include <stdlib.h>.
18435
329bc018
RM
18436 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18437 constants, which avoids warnings in 32-bit builds.
18438
e04e272d
RM
18439 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18440 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18441
952bf94a
RM
18442 * misc/lseek.c: File moved to ...
18443 * io/lseek.c: ... here.
18444
7c99b50a
RM
18445 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18446
dd924cd7
RM
18447 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18448 shifting LEN more than 31 bits at once.
18449
b3f479a8
LD
184502012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18451
18452 [BZ #14195]
8c4ae0d4
RM
18453 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18454 segmentation fault for a case of two empty input strings.
b3f479a8
LD
18455 * string/test-strncasecmp.c (check1): Renamed to...
18456 (bz12205): ...this.
18457 (bz14195): Add new testcase for two empty input strings and N > 0.
18458 (test_main): Call new testcase, adapt for renamed function.
18459
9c55864e
AJ
184602012-08-15 Andreas Jaeger <aj@suse.de>
18461
18462 [BZ #14090]
18463 * crypt/md5test2.c: New test, based on test supplied by Serge
18464 Belyshev <belyshev@depni.sinp.msu.ru>.
18465 * crypt/Makefile (xtests): Add md5test-giant..
18466 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18467
02dcb6c5
PE
184682012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18469
18470 [BZ #14090]
18471 * crypt/md5.c (md5_process_block): Don't assume the buffer
18472 length is less than 2**32.
18473 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18474 length is less than 2**64.
18475
a3f95dcc
RM
184762012-08-15 Roland McGrath <roland@hack.frob.com>
18477
be75d758
RM
18478 * string/str-two-way.h: Include <sys/param.h>.
18479 (MAX): Macro removed.
18480
7312ca90
RM
18481 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18482 Move #define and #undef of memmove to just before and after
18483 including <string.h>.
18484
9a0a5486
RM
18485 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18486 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18487 and after including <string.h>. Move declarations of
18488 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18489 to before #include "string/memmove.c".
18490
67cc348d
RM
18491 * include/dirent.h: Declare __getdirentries.
18492
a3f95dcc
RM
18493 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18494 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18495
ca98e171
MF
184962012-08-14 Mike Frysinger <vapier@gentoo.org>
18497
18498 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18499 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18500 * sysdeps/i386/configure: Regenerated.
18501 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18502 STABS_CURRENT_FILE, and STABS_FUN.
18503 (END): Remove call to STABS_FUN_END.
18504 (STABS_CURRENT_FILE1): Delete.
18505 (STABS_CURRENT_FILE): Likewise.
18506 (STABS_FUN): Likewise.
18507 (STABS_FUN_END): Likewise.
18508 (STABS_FUN2): Likewise.
18509 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18510 * sysdeps/x86_64/configure: Regenerated.
18511
5908bf46
RM
185122012-08-14 Roland McGrath <roland@hack.frob.com>
18513
18514 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 18515 * elf/dl-lookup.c: Likewise.
5908bf46 18516
f2c05b9e
JM
185172012-08-14 Joseph Myers <joseph@codesourcery.com>
18518
18519 * sysdeps/unix/sysv/linux/kernel-features.h
18520 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18521 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18522 unconditionally.
18523 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18524 unconditionally.
18525 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18526 condition on __ASSUME_CLONE_THREAD_FLAGS.
18527
e11f5155
AJ
185282012-08-14 Andreas Jaeger <aj@suse.de>
18529
18530 * sysdeps/i386/fpu/libm-test-ulps: Update.
18531
51a9ba86
MK
185322012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18533
2fdd4f78
AJ
18534 * include/atomic.h (atomic_exchange_and_add): Split into ...
18535 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18536 New atomic macros.
51a9ba86 18537
ba6cba9e
MT
185382012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18539
18540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18541
42443a47
JL
185422012-08-13 Jeff Law <law@redhat.com>
18543
18544 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18545 null byte in the output string.
18546
121dce05
JM
185472012-08-10 Joseph Myers <joseph@codesourcery.com>
18548
18549 * sysdeps/unix/sysv/linux/kernel-features.h
18550 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18551 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18552 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18553 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18554 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18555 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18556 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18557
bf51f568
JL
185582012-08-09 Jeff Law <law@redhat.com>
18559
18560 [BZ #13939]
18561 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18562 When avoid_arena is set, don't retry in the that arena. Pick the
18563 next one, whatever it might be.
18564 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18565 (arena_lock): Pass in new parameter to arena_get2.
18566 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18567 arena_get2.
18568 (__libc_malloc): Unify retrying after main arena failure with
18569 __libc_memalign version.
18570 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18571
f85fa270
L
185722012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18573
18574 [BZ #14166]
18575 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18576 to __redirect_strstr.
18577 (__strstr_sse42): Use typeof __redirect_strstr.
18578 (__strstr_ia32): Likewise.
18579 (__libc_strstr): New prototype.
18580 (strstr): Renamed to ...
18581 (__libc_strstr): This.
18582 (strstr): New strong alias of __libc_strstr.
18583 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18584 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18585 __redirect_time.
18586 Include <time.h>.
18587 (__libc_time): New prototype.
18588 (time_ifunc): Replace time with __libc_time.
18589 (time): New strong alias and hidden definition of __libc_time.
18590 (__GI_time): Remove strong alias.
18591 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18592 Include <stddef.h>.
18593 (memmove): Redefined to __redirect_memmove.
18594 (__memmove_sse2): Use typeof __redirect_memmove.
18595 (__memmove_ssse3): Likewise.
18596 (__memmove_ssse3_back): Likewise.
18597 (__libc_memmove): New prototype.
18598 (memmove): Renamed to ...
18599 (__libc_memmove): This.
18600 (memmove): New strong alias of __libc_memmove.
18601
33b4a91e
MS
186022012-08-08 Mark Salter <msalter@redhat.com>
18603
18604 * elf/elf.h
18605 (R_MN10300_TLS_GD): Define.
18606 (R_MN10300_TLS_LD): Likewise.
18607 (R_MN10300_TLS_LDO): Likewise.
18608 (R_MN10300_TLS_GOTIE): Likewise.
18609 (R_MN10300_TLS_IE): Likewise.
18610 (R_MN10300_TLS_LE): Likewise.
18611 (R_MN10300_TLS_DTPMOD): Likewise.
18612 (R_MN10300_TLS_DTPOFF): Likewise.
18613 (R_MN10300_TLS_TPOFF): Likewise.
18614 (R_MN10300_SYM_DIFF): Likewise.
18615 (R_MN10300_ALIGN): Likewise.
18616 (R_MN10300_NUM): Update.
18617
b36137f1
JM
186182012-08-08 Joseph Myers <joseph@codesourcery.com>
18619
18620 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18621 Remove.
18622
cdd915fd
RM
186232012-08-08 Roland McGrath <roland@hack.frob.com>
18624
a2433aac
RM
18625 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18626
cdd915fd
RM
18627 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18628 sysdeps/unix -> sysdeps/posix move.
18629 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18630
bf9b740a
AM
186312012-08-07 Allan McRae <allan@archlinux.org>
18632
18633 [BZ #14303]
18634 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18635 (SUNOS_CPP): Likewise.
18636 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18637 not found.
18638 (open_input): Call CPP using execvp.
18639
93df14ee
JM
186402012-08-07 Joseph Myers <joseph@codesourcery.com>
18641
18642 * sysdeps/unix/sysv/linux/kernel-features.h
18643 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18644 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18645 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18646 (__ASSUME_WAITID_SYSCALL): Likewise.
18647 * sysdeps/unix/sysv/linux/dl-execstack.c
18648 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18649 code unconditional.
18650 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18651 conditional code.
18652 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18653 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18654 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18655 code.
18656 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18657 unconditional.
18658 [__ASSUME_WAITID_SYSCALL]: Likewise.
18659 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18660
d34689de
RM
186612012-08-07 Roland McGrath <roland@hack.frob.com>
18662
a281decc
RM
18663 * sysdeps/unix/closedir.c: Renamed to ...
18664 * sysdeps/posix/closedir.c: ... here.
18665 * sysdeps/unix/dirfd.c: Renamed to ...
18666 * sysdeps/posix/dirfd.c: ... here.
18667 * sysdeps/unix/dirstream.h: Renamed to ...
18668 * sysdeps/posix/dirstream.h: ... here.
18669 * sysdeps/unix/fdopendir.c: Renamed to ...
18670 * sysdeps/posix/fdopendir.c: ... here.
18671 * sysdeps/unix/opendir.c: Renamed to ...
18672 * sysdeps/posix/opendir.c: ... here.
18673 * sysdeps/unix/readdir.c: Renamed to ...
18674 * sysdeps/posix/readdir.c: ... here.
18675 * sysdeps/unix/readdir_r.c: Renamed to ...
18676 * sysdeps/posix/readdir_r.c: ... here.
18677 * sysdeps/unix/rewinddir.c: Renamed to ...
18678 * sysdeps/posix/rewinddir.c: ... here.
18679 * sysdeps/unix/seekdir.c: Renamed to ...
18680 * sysdeps/posix/seekdir.c: ... here.
18681 * sysdeps/unix/telldir.c: Renamed to ...
18682 * sysdeps/posix/telldir.c: ... here.
18683 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18684 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18685 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18686 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18687
22895b47
RM
18688 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18689 * bits/fcntl.h: ... here.
18690
707a53b6
RM
18691 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18692 not 0.
18693 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18694 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18695 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18696 (struct flock): Move l_start, l_len to the beginning.
18697 Use __pid_t for l_pid.
18698 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18699 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18700 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18701 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18702 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18703 [__USE_LARGEFILE64] (struct flock64): New type.
18704 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18705
f0bd3e25
RM
18706 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18707 * bits/dirent.h: ... here.
18708
d34689de
RM
18709 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18710 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18711
6dad2c06
JM
187122012-08-07 Joseph Myers <joseph@codesourcery.com>
18713
18714 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18715 Change from 2.6.0 to 2.6.16.
18716 * sysdeps/unix/sysv/linux/configure: Regenerated.
18717 * sysdeps/unix/sysv/linux/kernel-features.h
18718 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18719 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18720 version.
18721 (__ASSUME_UTIMES): Likewise.
18722 (__ASSUME_CLONE_STOPPED): Remove.
18723 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18724 architectures, not kernel version.
18725 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18726 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18727 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18728 (__ASSUME_WAITID_SYSCALL): Likewise.
18729 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18730 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18731 * README: State 2.6.16 as minimum Linux kernel version. Do not
18732 refer to older versions.
18733
03af9520
RM
187342012-08-06 Roland McGrath <roland@hack.frob.com>
18735
8e49df1d
RM
18736 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18737 Define alphasort64 as an alias.
18738 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18739 Define versionsort64 as an alias.
18740 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18741 Define scandir64 as an alias.
18742 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18743 Define scandirat64 as an alias.
18744 * dirent/alphasort64.c (alphasort64):
18745 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18746 * dirent/versionsort64.c: Likewise.
18747 * dirent/scandir64.c: Likewise.
18748 * dirent/scandirat64.c: Likewise.
18749 * sysdeps/wordsize-64/alphasort.c: File removed.
18750 * sysdeps/wordsize-64/alphasort64.c: File removed.
18751 * sysdeps/wordsize-64/scandir.c: File removed.
18752 * sysdeps/wordsize-64/scandir64.c: File removed.
18753 * sysdeps/wordsize-64/scandirat.c: File removed.
18754 * sysdeps/wordsize-64/scandirat64.c: File removed.
18755 * sysdeps/wordsize-64/versionsort.c: File removed.
18756 * sysdeps/wordsize-64/versionsort64.c: File removed.
18757 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18758 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18759 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18760 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18761 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18762 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18763 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18764 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18765
18766 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18767 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18768 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18769 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18770 [defined __arch64__ || defined __sparcv9]
18771 (__INO_T_MATCHES_INO64_T): New macro.
18772 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18773 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18774 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18775 * sysdeps/unix/sysv/linux/bits/dirent.h
18776 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18777 (_DIRENT_MATCHES_DIRENT64): New macro.
18778
03af9520
RM
18779 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18780 Define lockf64 as an alias.
18781 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18782 Define fseeko64 as an alias.
18783 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18784 Define ftello64 as an alias.
18785 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18786 Define _IO_fgetpos64 and fgetpos64 as aliases.
18787 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18788 Define _IO_fsetpos64 and fsetpos64 as aliases.
18789 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18790 Conditionalize body on this.
18791 * libio/fseeko64.c: Likewise.
18792 * libio/ftello64.c: Likewise.
18793 * libio/iofgetpos64.c: Likewise.
18794 * libio/iofsetpos64.c: Likewise.
18795 * sysdeps/wordsize-64/lockf.c: File removed.
18796 * sysdeps/wordsize-64/lockf64.c: File removed.
18797 * sysdeps/wordsize-64/fseeko.c: File removed.
18798 * sysdeps/wordsize-64/fseeko64.c: File removed.
18799 * sysdeps/wordsize-64/ftello.c: File removed.
18800 * sysdeps/wordsize-64/ftello64.c: File removed.
18801 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18802 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18803 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18804 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18805 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18806 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18807 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18808 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18809 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18810 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18811 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18812 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18813 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18814 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18815
18816 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18817 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18818 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18819 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18820 [defined __arch64__ || defined __sparcv9]
18821 (__OFF_T_MATCHES_OFF64_T): New macro.
18822 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18823 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18824 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18825 (__OFF_T_MATCHES_OFF64_T): New macro.
18826
c5757acd
L
188272012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18828
18829 * stdlib/secure-getenv.c (__secure_getenv): Replace
18830 GLIBC_2_16 with GLIBC_2_17.
18831
3a31811e
L
188322012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18833
18834 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18835 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18836
faa2bccb
DM
188372012-08-03 David S. Miller <davem@davemloft.net>
18838
18839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18840
85fe1997
JM
188412012-08-03 Joseph Myers <joseph@codesourcery.com>
18842
18843 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18844 Remove.
18845 (__ASSUME_CORRECT_SI_PID): Likewise.
18846 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18847 (__ASSUME_TMPFS_NAME): Likewise.
18848 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18849 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18850 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18851 (HAVE_AUX_SECURE): Make definition unconditional.
18852 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18853 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18854
4f75b7a0
RM
188552012-08-03 Roland McGrath <roland@hack.frob.com>
18856
18857 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18858 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18859 * sysdeps/mach/hurd/eloop-threshold.h: New file.
18860 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18861 __eloop_threshold instead of SYMLOOP_MAX.
18862
18863 * sysdeps/generic/eloop-threshold.h: New file.
18864 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18865 of MAXSYMLINKS.
18866 * elf/chroot_canon.c (chroot_canon): Likewise.
18867
7aab07e4
JM
188682012-08-03 Joseph Myers <joseph@codesourcery.com>
18869
18870 [BZ #13717]
18871 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18872 Change to 2.6.0 everywhere.
18873 * sysdeps/unix/sysv/linux/configure: Regenerated.
18874 * sysdeps/unix/sysv/linux/kernel-features.h
18875 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18876 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18877 kernel versions.
18878 (__ASSUME_POSIX_TIMERS): Define unconditionally.
18879 (__ASSUME_FUTEX_REQUEUE): Remove.
18880 (__ASSUME_STATFS64): Define unconditionally.
18881 (__ASSUME_AT_SECURE): Likewise.
18882 (__ASSUME_CORRECT_SI_PID): Likewise.
18883 (__ASSUME_TGKILL): Define without depending on kernel version for
18884 i386.
18885 (__ASSUME_UTIMES): Likewise.
18886 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18887 kernel version.
18888 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18889 (__ASSUME_TMPFS_NAME): Likewise.
18890 * README: Update reference to Linux kernel versions.
18891
b67e9372
MP
188922012-08-02 Marek Polacek <polacek@redhat.com>
18893
1f529f7d 18894 [BZ# 14150]
b67e9372
MP
18895 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
18896 libc_cv_asm_type_prefix with %.
18897 * configure: Regenerated.
d2441631
RM
18898 * include/libc-symbols.h: Remove comment about
18899 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
18900 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18901 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18902 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18903 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18904 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18905 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18906 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18907 * elf/tst-unique2mod1.c: Likewise.
18908 * elf/tst-unique1mod2.c: Likewise.
18909 * elf/tst-unique1mod1.c: Likewise.
18910 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18911 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18912 Replace ASM_TYPE_DIRECTIVE with .type.
18913 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18914 * sysdeps/i386/sysdep.h: Likewise.
18915 * sysdeps/x86_64/sysdep.h: Likewise.
18916 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
18917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18918 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 18919 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
18920 * sysdeps/powerpc/powerpc32/sysdep.h:
18921 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
18922 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18923 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18924 * sysdeps/i386/fpu/e_powf.S: Likewise.
18925 * sysdeps/i386/fpu/e_expl.S: Likewise.
18926 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18927 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18928 * sysdeps/i386/fpu/e_pow.S: Likewise.
18929 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18930 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18931 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18932 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18933 * sysdeps/i386/fpu/e_log2.S: Likewise.
18934 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18935 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18936 * sysdeps/i386/fpu/e_powl.S: Likewise.
18937 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18938 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18939 * sysdeps/i386/fpu/e_logl.S: Likewise.
18940 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18941 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18942 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18943 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18944 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18945 * sysdeps/i386/fpu/e_log.S: Likewise.
18946 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18947 * sysdeps/i386/fpu/e_logf.S: Likewise.
18948 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18949 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18950 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18951 * sysdeps/i386/fpu/e_log10.S: Likewise.
18952 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18953 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18954 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18955 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18956 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18957 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18958 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18959 * sysdeps/i386/i686/strtok.S: Likewise.
18960 * sysdeps/i386/i386-mcount.S: Likewise.
18961 * sysdeps/i386/strtok.S: Likewise.
18962 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18963 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18964 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18965 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18966 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18967 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18968 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18969 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18970 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18971 * sysdeps/x86_64/_mcount.S: Likewise.
18972 * sysdeps/x86_64/strtok.S: Likewise.
18973 * sysdeps/sh/_mcount.S: Likewise.
18974
2747bf9a
RM
189752012-08-01 Roland McGrath <roland@hack.frob.com>
18976
18977 * libio/iofopen.c: Include <fcntl.h>.
18978 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18979 (_IO_fopen64, fopen64): Define as aliases.
18980 * libio/iofopen64.c: Include <fcntl.h>.
18981 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18982 Conditionalize body on this.
18983 * sysdeps/wordsize-64/iofopen.c: File removed.
18984 * sysdeps/wordsize-64/iofopen64.c: File removed.
18985
3fb791b8
MP
189862012-08-01 Marek Polacek <polacek@redhat.com>
18987
18988 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18989 Use dlfcn directly instead of a variable.
18990 (binfmt-subdir): Do not define.
18991 (dlfcn): Likewise.
18992
a9f1039f
JM
189932012-08-01 Joseph Myers <joseph@codesourcery.com>
18994
23bddc06
JM
18995 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18996 Remove all definitions.
18997 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18998 <kernel-features.h>.
18999 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19000 (miss_F_GETOWN_EX): Remove all definitions.
19001 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19002 macro definition.
19003 [!__ASSUME_FCNTL64]: Remove conditional code.
19004 [__ASSUME_FCNTL64]: Make code unconditional.
19005 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19006 <kernel-features.h>.
19007 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19008 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19009 (lockf64) [__NR_fcntl64]: Make code unconditional.
19010 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19011
a9f1039f
JM
19012 * sysdeps/unix/sysv/linux/kernel-features.h
19013 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19014 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19015 Make code unconditional.
19016 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19017 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19019 [__NR_vfork]: Make code unconditional.
19020 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19021 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19023 [__NR_vfork]: Make code unconditional.
19024 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19025 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19026
09c0ee5f
RM
190272012-08-01 Roland McGrath <roland@hack.frob.com>
19028
48aec5b9
RM
19029 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19030 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19031
cd97c966
RM
19032 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19033 Define mkstemp64 as an alias.
3f55550c
RM
19034 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19035 Define mkstemps64 as an alias.
cd97c966
RM
19036 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19037 Define mkostemp64 as an alias.
b8625cfc
RM
19038 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19039 Define mkostemps64 as an alias.
cd97c966
RM
19040 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19041 Conditionalize body on this.
19042 * misc/mkostemp64.c: Likewise.
b8625cfc 19043 * misc/mkostemps64.c: Likewise.
3f55550c 19044 * misc/mkstemps64.c: Likewise.
cd97c966
RM
19045 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19046 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19047 * sysdeps/wordsize-64/mkostemp.c: File removed.
19048 * sysdeps/wordsize-64/mkstemp.c: File removed.
19049 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19050 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19051 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19052 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19053
09c0ee5f
RM
19054 [BZ #14138]
19055 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19056 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19057 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19058 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19059
19060 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19061 compat_symbol macros from <shlib-compat.h> rather than the underlying
19062 default_symbol_version and symbol_version macros, so that DEFAULT
19063 lines in shlib-versions are respected.
19064 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19065
7e66ee51
FW
190662012-08-01 Florian Weimer <fweimer@redhat.com>
19067
19068 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19069 Declare with warn_unused_result.
19070 (setgid, setregid, setegid, setresgid): Likewise.
19071 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19072 Likewise.
19073 * WUR-REPORT: Remove set*id functions.
19074
d2a54255
PT
190752012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19076
19077 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19078
7ecdb005
RM
190792012-07-31 Roland McGrath <roland@hack.frob.com>
19080
b4180a5e 19081 [BZ #10191]
789bd351
RM
19082 * include/sys/socket.h (__libc_accept, __libc_accept4):
19083 Add attribute_hidden.
19084 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19085
40ce302d
RM
19086 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19087 use of PTR_MANGLE.
19088 * inet/getnetgrent_r.c (setup): Likewise.
19089
7ecdb005
RM
19090 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19091
e2eabb2c
DM
190922012-07-31 David S. Miller <davem@davemloft.net>
19093
19094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19095
d0419dbf
JM
190962012-07-31 Joseph Myers <joseph@codesourcery.com>
19097
19098 [BZ #13629]
19099 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19100 value between 1.0 and 2.0 and smaller part has absolute value less
19101 than 1.0.
19102 * math/s_clog10.c (__clog10): Likewise.
19103 * math/s_clog10f.c (__clog10f): Likewise.
19104 * math/s_clog10l.c (__clog10l): Likewise.
19105 * math/s_clogf.c (__clogf): Likewise.
19106 * math/s_clogl.c (__clogl): Likewise.
19107 * math/libm-test.inc (clog_test): Add more tests.
19108 (clog10_test): Likewise.
19109 * sysdeps/i386/fpu/libm-test-ulps: Update.
19110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19111
2bc13872
FW
191122012-07-31 Florian Weimer <fweimer@redhat.com>
19113
19114 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19115 Exit with zero in case no suitable GID is found, and write a
19116 message to standard error.
19117
bea9b193
RM
191182012-07-30 Roland McGrath <roland@hack.frob.com>
19119
19120 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19121 rather than to 1.
19122 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19123 (MAXPATHLEN): Removed.
19124 (NOGROUP, NODEV): New macros.
19125 (setbit, clrbit, isset, isclr): New macros.
19126 (howmany, roundup, powerof2): New macros.
19127 (DEV_BSIZE): New macro.
19128
19129 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19130 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19131
19132 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19133 definition on [!__NO_LONG_DOUBLE_MATH].
19134
19135 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19136 PTR_MANGLE and PTR_DEMANGLE.
19137
19138 * socket/accept4.c (accept4): Rename to __libc_accept4.
19139 Define accept4 as a weak alias.
19140
19141 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19142 on [_DIRENT_HAVE_D_TYPE].
19143 * io/ftw.c (ftw_dir): Likewise.
19144
19145 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19146
19147 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19148
19149 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19150 Use the BSD numbers rather than the arbitrary ones we had.
19151 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19152 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19153 (SIGXCPU, SIGXFSZ): New macros.
19154 (_NSIG): Now 32.
19155
19156 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19157 initializer on [_LIBC_REENTRANT].
19158
19159 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19160 definitions inside [_POSIX_MAPPED_FILES].
19161
19162 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19163
19164 * dirent/opendir.c: Include <fcntl.h>.
19165
19166 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19167 (__libc_getspecific): Likewise.
19168 (__libc_key_create): Likewise.
19169
19170 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19171 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19172 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19173 (tmpfile64): Define as alias.
19174 * sysdeps/wordsize-64/tmpfile.c: File removed.
19175 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19176 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19177 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19178
19179 * stdio-common/vfscanf.c: Include <stdbool.h>.
19180 * nss/makedb.c: Likewise.
19181 * stdio-common/_i18n_number.h: Likewise.
19182 * argp/argp-help.c: Likewise.
19183 * posix/wordexp.c: Likewise.
19184 * sysdeps/posix/spawni.c: Likewise.
19185 * nss/nss_files/files-initgroups.c: Likewise.
19186 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19187 * nss/nss_files/files-initgroups.c: Likewise.
19188 * nss/nss_db/db-netgrp.c: Likewise.
19189 * nss/nss_db/db-initgroups.c: Likewise.
19190 * io/fchmodat.c: Include <sys/stat.h>.
19191
19192 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19193 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19194
19195 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19196 [HAVE_MMAP].
19197
19198 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19199 Add multiple inclusion protection.
19200
e5abc686
DM
192012012-07-27 David S. Miller <davem@davemloft.net>
19202
19203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19204
815e6fa3
GB
192052012-07-27 Gary Benson <gbenson@redhat.com>
19206
19207 [BZ #14298]
19208 * elf/rtld.c: Include <stap-probe.h>.
19209 (dl_main): Added static probes "init_start" and "init_complete".
19210 * elf/dl-load.c: Include <stap-probe.h>.
19211 (lose): Take new parameter "nsid".
19212 Added static probe "map_failed".
19213 (_dl_map_object_from_fd): Pass namespace id to lose.
19214 Added static probe "map_start".
19215 (open_verify): Pass namespace id to lose.
19216 * elf/dl-open.c: Include <stap-probe.h>.
19217 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19218 and "reloc_complete".
19219 * elf/dl-close.c: Include <stap-probe.h>.
19220 (_dl_close_worker): Added static probes "unmap_start" and
19221 "unmap_complete".
19222 * elf/rtld-debugger-interface.txt: New file documenting the above.
19223
9f98c16c
RM
192242012-07-26 Roland McGrath <roland@hack.frob.com>
19225
19226 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19227 rather than a string variable.
19228 * sunrpc/rpc_main.c (h_output): Likewise.
19229 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19230
f3c22df3
PT
192312012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19232
19233 * inet/check_native.c: New file.
19234
3129cfc6
JM
192352012-07-26 Joseph Myers <joseph@codesourcery.com>
19236
da865e95
JM
19237 [BZ #13629]
19238 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19239 if larger part has absolute value 1.0.
19240 * math/s_clog10.c (__clog10): Likewise.
19241 * math/s_clog10f.c (__clog10f): Likewise.
19242 * math/s_clog10l.c (__clog10l): Likewise.
19243 * math/s_clogf.c (__clogf): Likewise.
19244 * math/s_clogl.c (__clogl): Likewise.
19245 * math/libm-test.inc (clog_test): Add more tests.
19246 (clog10_test): Likewise.
19247 * sysdeps/i386/fpu/libm-test-ulps: Update.
19248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19249
3129cfc6
JM
19250 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19251 (pltexit): Likewise.
19252 (La_regs): Likewise.
19253 (La_retval): Likewise.
19254 (int_retval): Likewise.
19255 Update #error for removed macros to refer only to definitions in
19256 tst-audit.h.
19257 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19258 macro.
19259 (pltexit): Likewise.
19260 (La_regs): Likewise.
19261 (La_retval): Likewise.
19262 (int_retval): Likewise.
19263 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19264 macro.
19265 (pltexit): Likewise.
19266 (La_regs): Likewise.
19267 (La_retval): Likewise.
19268 (int_retval): Likewise.
19269 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19270 macro.
19271 (pltexit): Likewise.
19272 (La_regs): Likewise.
19273 (La_retval): Likewise.
19274 (int_retval): Likewise.
19275 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19276 macro.
19277 (pltexit): Likewise.
19278 (La_regs): Likewise.
19279 (La_retval): Likewise.
19280 (int_retval): Likewise.
19281 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19282 macro.
19283 (pltexit): Likewise.
19284 (La_regs): Likewise.
19285 (La_retval): Likewise.
19286 (int_retval): Likewise.
19287 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19288 macro.
19289 (pltexit): Likewise.
19290 (La_regs): Likewise.
19291 (La_retval): Likewise.
19292 (int_retval): Likewise.
19293 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19294 macro definitions in tst-audit.h.
19295 * sysdeps/i386/tst-audit.h: New file.
19296 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19297 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19298 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19299 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19300 * sysdeps/sh/tst-audit.h: Likewise.
19301 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19302 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19303 * sysdeps/x86_64/tst-audit.h: Likewise.
19304
bfc07087
AJ
193052012-07-26 Andreas Jaeger <aj@suse.de>
19306
b1b2aaf8
AJ
19307 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19308 ptrace.
19309
19310 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19311 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19312 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19313 PTRACE_O_MASK.
19314 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19315 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19316 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19317
bfc07087
AJ
19318 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19319 value.
19320
19321 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19322 _sigsys.
19323 (si_call_addr, si_syscall, si_arch): Define new macro.
19324 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19325 _sigsys.
19326 (si_call_addr, si_syscall, si_arch): Define new marcro.
19327 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19328 _sigsys.
19329 (si_call_addr, si_syscall, si_arch): Define new macro.
19330 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19331 _sigsys.
19332 (si_call_addr, si_syscall, si_arch): Define new macro.
19333
89b4b02f
JM
193342012-07-25 Joseph Myers <joseph@codesourcery.com>
19335
19336 [BZ #13717]
19337 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19338 Change to 2.4.21 where previously 2.4.1.
19339 * sysdeps/unix/sysv/linux/configure: Regenerated.
19340 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19341 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19342 Linux kernel version.
19343 (__ASSUME_STD_AUXV): Remove.
19344 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19345 kernel version.
19346 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19347 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19348 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19349 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19350 (__ASSUME_NETLINK_SUPPORT): Likewise.
19351 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19352 (__no_netlink_support): Remove conditional definition.
19353 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19354 Remove.
19355 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19356 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19357 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19358 (if_nameindex_ioctl): Remove.
19359 (if_nameindex_netlink): Do not handle __no_netlink_support.
19360 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19361 code.
19362 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19363 Remove conditional code.
19364 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19365 code.
19366 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19367 unconditional.
19368 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19369 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19370 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19371 Remove.
19372 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19373 [!__ASSUME_STD_AUXV]: Remove conditional code.
19374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19375 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19376 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19378 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19379 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19380 code.
19381 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19383 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19384 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19385 conditional code.
19386 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19388 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19389 code.
19390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19391 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19392 conditional code.
19393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19394 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19395 code unconditional.
19396 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19397 conditional code.
19398 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19399 unconditional.
19400 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19401 conditional code.
19402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19403 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19404 unconditional.
19405 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19406 conditional code.
19407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19408 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19409 code unconditional.
19410 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19411 conditional code.
19412 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19413 unconditional.
19414 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19415 conditional code.
19416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19417 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19418 code unconditional.
19419 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19420 conditional code.
19421 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19422 unconditional.
19423 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19424 conditional code.
19425
842a39cd
AS
194262012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19427
19428 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19429 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19430 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19431 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19432 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19433 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19434 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19435 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19436 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19437 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19438 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19439 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19440 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19441 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19442 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19443 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19444 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19445 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19446 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19447 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19448 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19449 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19450 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19451
84b3fd84
FW
194522012-07-25 Florian Weimer <fweimer@redhat.com>
19453
19454 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
19455 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19456 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19457 Introduce __libc_secure_getenv.
0c7936d5
FW
19458 * stdlib/Versions (2.17): Add secure_getenv
19459 (GLIBC_PRIVATE): Add __libc_secure_getenv.
19460 * stdlib/secure-getenv.c: Rename __secure_getenv to
19461 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19462 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
19463 * stdlib/tst-secure-getenv.c: New.
19464 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
19465 * manual/startup.texi (Environment Access): Document
19466 secure_getenv.
84b3fd84
FW
19467 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19468 __libc_secure_getenv.
19469 * inet/ruserpass.c (ruserpass): Likewise.
19470 * malloc/mtrace.c (mtrace): Likewise.
19471 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 19472 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
19473 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19474 * sysdeps/posix/tempname.c: Likewise. Evaluate
19475 HAVE_SECURE_GETENV.
19476 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 19477 __secure_getenv to __libc_secure_getenv.
84b3fd84 19478 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
19479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19480 Likewise.
19481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19482 Likewise.
19483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19485 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 19490
56e49b71
JM
194912012-07-25 Joseph Myers <joseph@codesourcery.com>
19492
19493 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19494 (struct La_i86_retval): Likewise.
19495 (struct La_x86_64_regs): Likewise.
19496 (struct La_x86_64_retval): Likewise.
19497 (struct La_x32_regs): Likewise.
19498 (struct La_x32_retval): Likewise.
19499 (struct La_ppc32_regs): Likewise.
19500 (struct La_ppc32_retval): Likewise.
19501 (struct La_ppc64_regs): Likewise.
19502 (struct La_ppc64_retval): Likewise.
19503 (struct La_sh_regs): Likewise.
19504 (struct La_sh_retval): Likewise.
19505 (struct La_s390_32_regs): Likewise.
19506 (struct La_s390_32_retval): Likewise.
19507 (struct La_s390_64_regs): Likewise.
19508 (struct La_s390_64_retval): Likewise.
19509 (struct La_sparc32_regs): Likewise.
19510 (struct La_sparc32_retval): Likewise.
19511 (struct La_sparc64_regs): Likewise.
19512 (struct La_sparc64_retval): Likewise.
19513 (struct audit_ifaces): Remove architecture-specific pltenter and
19514 pltexit members.
19515 * sysdeps/i386/ldsodefs.h: New file.
19516 * sysdeps/powerpc/ldsodefs.h: Likewise.
19517 * sysdeps/s390/ldsodefs.h: Likewise.
19518 * sysdeps/sh/ldsodefs.h: Likewise.
19519 * sysdeps/sparc/ldsodefs.h: Likewise.
19520 * sysdeps/x86_64/ldsodefs.h: Likewise.
19521
354691b7
MP
195222012-07-25 Marek Polacek <polacek@redhat.com>
19523
19524 [BZ #6808]
19525 * math/libm-test.inc (yn_test): Add another test.
19526 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19527 to ERANGE when the result is +-Inf.
19528 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19529 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19530 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19531 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19532
bf9e2071
JM
195332012-07-24 Joseph Myers <joseph@codesourcery.com>
19534
19535 * conform/data/time.h-data (NULL): Use macro-constant. Require
19536 equal to 0.
19537 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19538 clock_t.
19539 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19540
57633811
TS
195412012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19542
19543 * configure.in <sysdeps resolving>: Correct printing
19544 Implies_before.
19545 * configure: Regenerate.
19546
c23c33b0
TS
195472012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19548
19549 * math/w_ilogb.c: Include <limits.h>.
19550 * math/w_ilogbl.c: Likewise.
19551
b5982523
JM
195522012-07-20 Joseph Myers <joseph@codesourcery.com>
19553
19554 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19555 va_copy. Document allowing for unavailable va_copy only as
19556 pre-C99 compatibility.
19557 * manual/string.texi (Copying and Concatenation): Use va_copy
19558 instead of __va_copy in concat example.
19559
ac4ea442
PT
195602012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19561
19562 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19563 (__sendto): Use create_address_port. Initialize APORT and deallocate
19564 it if not null.
19565
f98eafbd
PT
19566 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19567 with O_NOLINK passed to __file_name_lookup.
19568
898c7aab
PT
19569 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19570 with O_NOLINK passed to __file_name_lookup.
19571
0ced335a
PT
19572 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19573 negative N or less than NGIDS.
19574
b3404dbd
PT
19575 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19576 type to string_t. Set ERANGE as errno and return it if NAME is not big
19577 enough. Use memcpy instead of strncpy.
19578
0f48659e
JM
195792012-07-20 Joseph Myers <joseph@codesourcery.com>
19580
19581 * elf/Makefile (check-data): Remove.
19582 (localplt.data): New vpath directive.
19583 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19584 instead of $(check-data).
19585 * scripts/data/localplt-generic.data: Move to ...
19586 * sysdeps/generic/localplt.data: ... here.
19587 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19588 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19589 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19591 ... here.
19592 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19594 ... here.
19595 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19597 ... here.
19598 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19600 ... here.
19601 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19603 ... here.
19604 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19606 ... here.
19607
d37cbdaa
AZ
196082012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19609
19610 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19611 PPC32 and PPC64 files.
19612 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19613 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19614
46f85fc2
AK
196152012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19616
19617 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19618 __makecontext_ret to ...
19619 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19620 ... here and call exit if uc_link is NULL. New file.
19621 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19622 __makecontext_ret.S.
19623 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19624 __makecontext_ret to ...
19625 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19626 ... here and call exit if uc_link is NULL. New file.
19627 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19628 __makecontext_ret.S.
19629
08f43f9b
AK
196302012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19631
19632 * elf/elf.h (R_390_IRELATIVE): New definition.
19633 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19634 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19635 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19636 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19637 (elf_machine_lazy_rel): Likewise.
19638 * sysdeps/s390/dl-irel.h: New file.
19639 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19640 * sysdeps/s390/s390-64/memset.S: New asm code.
19641 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19642 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19643 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19644 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19645 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19646 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19647 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19648 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19649 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19650 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19651 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19652 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19653 * sysdeps/s390/s390-32/memset.S: New asm code.
19654 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19655
3b05db33
MP
196562012-07-17 Marek Polacek <polacek@redhat.com>
19657
19658 [BZ #14349]
19659 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19660 * sysdeps/s390/s390-64/configure.in: Likewise.
19661 * sysdeps/sparc/configure.in: Likewise.
19662 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19663 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19664 * sysdeps/i386/configure.in: Likewise.
19665 * sysdeps/x86_64/configure.in: Likewise.
19666 * sysdeps/sh/configure.in: Likewise.
19667 * sysdeps/s390/s390-32/configure: Regenerated.
19668 * sysdeps/s390/s390-64/configure: Likewise.
19669 * sysdeps/x86_64/configure: Likewise.
19670 * sysdeps/sh/configure: Likewise.
19671 * sysdeps/powerpc/powerpc64/configure: Likewise.
19672 * sysdeps/powerpc/powerpc32/configure: Likewise.
19673 * sysdeps/sparc/configure: Likwise.
19674 * sysdeps/i386/configure: Likewise.
19675
a66877c6
MP
19676 * elf/dl-open.c: Comment fixes.
19677
cfc82fd8
JM
196782012-07-17 Joseph Myers <joseph@codesourcery.com>
19679
bd29910a
JM
19680 * Makefile [CXX] (check-data): Remove.
19681 [CXX] (c++-types.data): New vpath directive.
19682 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19683 vpath. Do not allow for C++ type data being missing.
19684 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19685 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19686 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19687 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19688 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19689 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19690 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19692 ... here.
19693 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19695 ... here.
19696 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19698 ... here.
19699 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19701 ... here.
19702 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19704 ... here.
19705 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19707 ... here.
19708 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19710 ... here.
19711 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19713
cfc82fd8
JM
19714 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19715 definitions to architecture-specific files.
19716 (TLS_IE): Likewise.
19717 (TLS_LD): Likewise.
19718 (TLS_GD): Likewise.
19719 * sysdeps/i386/tls-macros.h: New file.
19720 * sysdeps/powerpc/tls-macros.h: Likewise.
19721 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19722 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19723 * sysdeps/sh/tls-macros.h: Likewise.
19724 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19725 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19726 * sysdeps/x86_64/tls-macros.h: Likewise.
19727
f7db3170
TS
197282012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19729
07cbfc23
TS
19730 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19731 zero value for regular exit case.
19732
f7db3170
TS
19733 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19734 (__start_context): Preserve zero value for regular exit case.
19735
dc97c227
TS
197362012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19737 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19738
19739 * manual/setjmp.texi (setcontext): Clarify normal process
19740 termination when uc_link is the null pointer.
19741 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19742 exit call.
19743
d0cd7d02
AS
197442012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19745
19746 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19747 preprocessor. Test for each exception mask separately.
19748
dd318934
AJ
197492012-07-16 Andreas Jaeger <aj@suse.de>
19750
19751 * po/ru.po: Update from translation team.
19752
8048311a
JM
197532012-07-15 Joseph Myers <joseph@codesourcery.com>
19754
19755 * conform/data/string.h-data (NULL): Use macro-constant. Require
19756 equal to 0.
19757 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19758 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19759 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19760 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19761 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19762
b637d46e
AJ
197632012-07-13 Andreas Jaeger <aj@suse.de>
19764
19765 * po/fr.po: Update from translation team.
19766
541428fe
MP
197672012-07-12 Marek Polacek <polacek@redhat.com>
19768
19769 [BZ #14173]
19770 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19771 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19772 loop condition.
19773
ec332e94
JM
197742012-07-12 Joseph Myers <joseph@codesourcery.com>
19775
19776 [BZ #13717]
19777 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19778 Change to 2.4.1 where previously 2.4.0.
19779 * sysdeps/unix/sysv/linux/configure: Regenerated.
19780 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19781 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19782 version.
19783 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19784 (__ASSUME_AT_CLKTCK): Remove.
19785 (__ASSUME_AT_PAGESIZE): Likewise.
19786 (__ASSUME_AT_XID): Likewise.
19787 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19788 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19789 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19790 unconditionally.
19791 (HAVE_AUX_PAGESIZE): Likewise.
19792 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19793 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19794 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19795
7b6e99be
JB
197962012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19797
19798 [BZ #14307]
19799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19800 the temporary buffer used to invoke __gethostbyname2_r,
19801 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19802 host_data / struct gaih_addrtuple.
19803 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19804 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19805 header file nss/nsswitch.h.
19806 * nss/nsswitch.h (global scope): Add definition of implementation
19807 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19808 resolv/nss_dns/dns-host.c).
19809
608404eb
AJ
198102012-07-11 Andreas Jaeger <aj@suse.de>
19811
19812 * po/fr.po: Update from translation team.
19813
71220aca
AJ
19814 * po/sv.po: Update from translation team
19815 * po/fr.po: Another update from translation team.
19816
28cfe843
AZ
198172012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19818
19819 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19820 for subnormals or multiply small sinh result by itself.
19821 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19823
6b90f981
DM
198242012-07-11 David S. Miller <davem@davemloft.net>
19825
19826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19827
c6825772
AS
198282012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19829
19830 [BZ #14347]
19831 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19832 (INTERNAL_MARK): Shift it here.
19833
7b8e0d49
MP
198342012-07-10 Marek Polacek <polacek@redhat.com>
19835
19836 [BZ #14151]
19837 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19838 libc_cv_asm_global_directive with .globl.
19839 * configure: Regenerated.
19840 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19841 with .globl.
19842 * sysdeps/i386/configure: Regenerated.
19843 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19844 with .globl.
19845 * sysdeps/x86_64/configure: Regenerated.
19846 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19847 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19848 * elf/tst-unique2mod2.c: Likewise.
19849 * elf/tst-unique2mod1.c: Likewise.
19850 * elf/tst-unique1mod2.c: Likewise.
19851 * elf/tst-unique1mod1.c: Likewise.
19852 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19853 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19854 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19855 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19856 * sysdeps/mach/sysdep.h: Likewise.
19857 * sysdeps/i386/sysdep.h: Likewise.
19858 * sysdeps/i386/i386-mcount.S: Likewise.
19859 * sysdeps/x86_64/_mcount.S: Likewise.
19860 * sysdeps/x86_64/sysdep.h: Likewise.
19861 * sysdeps/sh/_mcount.S: Likewise.
19862 * sysdeps/sh/sysdep.h: Likewise.
19863 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19864 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19865 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19866 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19867 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19868 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19869 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19870 * locale/localeinfo.h: Likewise.
19871 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19872 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19873
6c55cda3
RM
198742012-07-09 Roland McGrath <roland@hack.frob.com>
19875
19876 [BZ #14336]
19877 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19878 system".
19879 * manual/message.texi (The Uniforum approach): Likewise.
19880 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19881 (glibc iconv Implementation): Likewise.
19882
638a572e
JM
198832012-07-09 Joseph Myers <joseph@codesourcery.com>
19884
19885 [BZ #14337]
19886 * math/s_clog.c (__clog): Avoid scaling a value down where that
19887 could result in underflow.
19888 * math/s_clog10.c (__clog10): Likewise.
19889 * math/s_clog10f.c (__clog10f): Likewise.
19890 * math/s_clog10l.c (__clog10l): Likewise.
19891 * math/s_clogf.c (__clogf): Likewise.
19892 * math/s_clogl.c (__clogl): Likewise.
19893 * math/libm-test.inc (clog_test): Add more tests.
19894 (clog10_test): Likewise.
19895 * sysdeps/i386/fpu/libm-test-ulps: Update.
19896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19897
261f4859
AS
198982012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19899
0abaf3e4
AS
19900 [BZ #14283]
19901 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19902 by 7 not 8 to examine high bit of fractional part.
19903
261f4859
AS
19904 [BZ #14042]
19905 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19906 for call to __mcount_internal.
19907 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19908 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19909 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19910
f17ac40d
JM
199112012-07-06 Joseph Myers <joseph@codesourcery.com>
19912
9ad63c23
JM
19913 [BZ #14154]
19914 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19915 approximation for values within 0x1p-13f of an odd multiple of
19916 pi/4.
19917 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19918 exception. Add more tests.
19919 * sysdeps/i386/fpu/libm-test-ulps: Update.
19920
f17ac40d
JM
19921 [BZ #6778]
19922 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19923 inputs and return -1 for them. Do not check for +Inf in case not
19924 reachable for +Inf.
19925 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19926 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19927 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19928 and return -1 for them. Do not check for +Inf in case not
19929 reachable for +Inf.
19930 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19931 define.
19932 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19933 and return -1 for them. Do not check for +Inf in case not
19934 reachable for +Inf.
19935 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19936 spurious underflow.
19937 * sysdeps/i386/fpu/libm-test-ulps: Update.
19938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19939
fb21f89b
MF
199402012-07-06 Mike Frysinger <vapier@gentoo.org>
19941
19942 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19943
cdfe2c5e
JM
199442012-07-05 Joseph Myers <joseph@codesourcery.com>
19945
19946 [BZ #14157]
19947 [BZ #14331]
19948 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19949 could result in spurious underflow. Scale down values above
19950 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19951 * math/s_csqrtf.c (__csqrtf): Likewise.
19952 * math/s_csqrtl.c (__csqrtl): Likewise.
19953 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19954 spurious underflow.
19955 * sysdeps/i386/fpu/libm-test-ulps: Update.
19956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19957
70d35b67
AS
199582012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19959
704bc459
AS
19960 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19961 xopen-msg.sed.
19962 * catgets/xopen-msg.awk: New file.
19963 * catgets/xopen-msg.sed: Removed.
19964
70d35b67
AS
19965 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19966 po2text.sed.
19967 * intl/po2test.awk: New file.
19968 * intl/po2test.sed: Removed.
19969
ca61cf32
JM
199702012-07-04 Joseph Myers <joseph@codesourcery.com>
19971
19972 [BZ #14328]
19973 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19974 or multiply small sinh result by itself.
19975 * math/s_ctanf.c (__ctanf): Likewise.
19976 * math/s_ctanh.c (__ctanh): Likewise.
19977 * math/s_ctanhf.c (__ctanhf): Likewise.
19978 * math/s_ctanhl.c (__ctanhl): Likewise.
19979 * math/s_ctanl.c (__ctanl): Likewise.
19980 * math/libm-test.inc (ctan_test_tonearest): New function.
19981 (ctan_test_towardzero): Likewise.
19982 (ctan_test_downward): Likewise.
19983 (ctan_test_upward): Likewise.
19984 (ctanh_test_tonearest): Likewise.
19985 (ctanh_test_towardzero): Likewise.
19986 (ctanh_test_downward): Likewise.
19987 (ctanh_test_upward): Likewise.
19988 (main): Call these new functions.
19989 * sysdeps/i386/fpu/libm-test-ulps: Update.
19990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19991
ca48a46a
MF
199922012-07-03 Mike Frysinger <vapier@gentoo.org>
19993
19994 * .gitignore: Delete /ports entry.
19995
9d63d37d
AJ
199962012-07-03 Andreas Jaeger <aj@suse.de>
19997
19998 * po/bg.po: Update from translation team.
19999 * po/cs.po: Likewise.
20000 * po/de.po: Likewise.
20001 * po/hr.po: Likewise.
20002 * po/nl.pl: Likewise.
20003 * po/pl.po: Likewise.
20004 * po/vi.po: Likewise.
20005
370ca3d2
JM
200062012-07-03 Joseph Myers <joseph@codesourcery.com>
20007
95f5a9a8
JM
20008 * Makeconfig [!+link] (+link-before-libc): New variable.
20009 [!+link] (+link-after-libc): Likewise.
20010 [!+link] (+link-tests): Likewise.
20011 [!+link] (+link): Define in terms of $(+link-before-libc) and
20012 $(+link-after-libc).
20013 [!+link-static] (+link-static-before-libc): New variable.
20014 [!+link-static] (+link-static-after-libc): Likewise.
20015 [!+link-static] (+link-static-tests): Likewise.
20016 [!+link-static] (+link-static): Define in terms of
20017 $(+link-static-before-libc) and $(+link-static-after-libc).
20018 [build-shared] (link-libc-before-gnulib): New variable.
20019 [build-shared] (link-libc-tests): Likewise.
20020 [build-shared] (link-libc): Define in terms of
20021 $(link-libc-before-gnulib).
20022 [!build-shared] (link-libc-tests): New variable.
20023 (link-libc-static-tests): New variable.
20024 [!gnulib] (gnulib-arch): New variable.
20025 [!gnulib] (gnulib-tests): Likewise.
20026 [!gnulib] (static-gnulib-arch): Likewise.
20027 [!gnulib] (static-gnulib-tests): Likewise.
20028 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20029 Define with "=" instead of ":=".
20030 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20031 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20032 * Rules (binaries-all-notests): New variable.
20033 (binaries-all-tests): Likewise.
20034 (binaries-static-notests): Likewise.
20035 (binaries-static-tests): Likewise.
20036 (binaries-all): Define using $(binaries-all-notests) and
20037 $(binaries-all-tests).
20038 (binaries-static): Define using $(binaries-static-notests) and
20039 $(binaries-static-tests).
20040 (binaries-shared-tests): New variable.
20041 (binaries-shared-notests): Likewise.
20042 (binaries-shared): Remove variable.
20043 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20044 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20045 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20046 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20047 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20048 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20049 * elf/Makefile (sln-modules): New variable.
20050 (extra-objs): Add $(sln-modules:=.o).
20051 (ldconfig-modules): Add static-stubs.
20052 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20053 * elf/static-stubs.c: New file.
20054
7a845b2c
JM
20055 [BZ #14283]
20056 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20057 by 7 not 8 to examine high bit of fractional part. Use volatile
20058 variables when splitting into final array of floats if
20059 __FLT_EVAL_METHOD__ != 0.
20060 * math/libm-test.inc (cos_test): Add another test.
20061 (sin_test): Likewise.
20062 * sysdeps/i386/fpu/libm-test-ulps: Update.
20063
e2283f38
JM
20064 [BZ #14273]
20065 * math/libm-test.inc (cosh_test): Add more tests.
20066
370ca3d2
JM
20067 * version.h (RELEASE): Set to "development".
20068 (VERSION): Set to "2.16.90".
20069
ee9247c3
CD
200702012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20071
20072 * NEWS: Update copyright. Remove last-updated date.
20073 Mention math library bug fixes and timezone data changes.
20074 * README: Mention GNU/Hurd, x32, and HPPA support status.
20075
4648c381
TS
200762012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20077
20078 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20079
aac78a43
AJ
200802012-06-27 Andreas Jaeger <aj@suse.de>
20081
20082 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20083
ed3dbfad
AJ
200842012-06-25 Andreas Jaeger <aj@suse.de>
20085
20086 * sysdeps/s390/fpu/libm-test-ulps: Update.
20087
4d0ee855
AS
200882012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20089 Thomas Schwinge <thomas@codesourcery.com>
20090
20091 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20092 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20093 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20094 fanotify_mark.
20095
af1bce34
TS
200962012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20097
a9fa33ba
TS
20098 * sysdeps/mach/start.c: Remove file.
20099 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20100 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20101 * sysdeps/sh/init-first.c: Likewise.
20102
58f902b8
TS
20103 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20104 registers for frame unwinding purposes, add CFI directives.
20105 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20106 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20107 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20108 Likewise.
20109
1518f58b
TS
20110 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20111 __fortify_fail returning.
20112 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20113
db9b5059
TS
20114 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20115 sysdeps/sh/____longjmp_chk.S.
20116 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20117 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20118 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20119 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20120
967705fe
TS
20121 * sysdeps/sh/abort-instr.h: New file.
20122 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20123 process in case exit returns.
20124
a9def8c4
TS
20125 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20126 initialize the GOT register before use.
20127
2a649725
TS
20128 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20129 calculation of ARGC > 4.
20130
af1bce34
TS
20131 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20132 meaningful names to some local labels.
20133
d230f50a
KK
201342012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20135 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20136
20137 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20138 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20139 (__arch_compare_and_exchange_val_16_acq): Likewise.
20140 (__arch_compare_and_exchange_val_32_acq): Likewise.
20141 (atomic_exchange_and_add): Fix gUSA sequence.
20142 (atomic_add): Likewise.
20143 (atomic_add_negative): Likewise.
20144 (atomic_add_zero): Likewise.
20145 (atomic_bit_test_set): Likewise.
20146
0479b305
AS
201472012-06-22 Andreas Schwab <schwab@redhat.com>
20148
20149 [BZ #13579]
20150 * include/link.h (struct link_map): Add l_free_initfini.
20151 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20152 l_initfini.
20153 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20154 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20155 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20156 set.
20157
0e3933b9
CD
201582012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20159
20160 * configure.in: Use AC_LANG_SOURCE.
20161 * configure: Regenerate.
20162
4248b1b1
RM
201632012-06-22 Roland McGrath <roland@hack.frob.com>
20164
20165 * configure.in (libc_cv_localstatedir): New substituted variable.
20166 * configure: Regenerated.
20167 * config.make.in (localstatedir): New variable, substituted from
20168 libc_cv_localstatedir.
20169 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20170 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20171 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20172 * sysdeps/gnu/configure: Regenerated.
20173
006dd861
JL
201742012-06-21 Jeff Law <law@redhat.com>
20175
20176 [BZ #14277]
20177 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20178 free. Simplify list management for _LIBC case.
20179
79662d42
JM
201802012-06-21 Joseph Myers <joseph@codesourcery.com>
20181
b7abb4bf
JM
20182 [BZ #14273]
20183 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20184 Clear sign bit of 64-bit integer value before comparing against
20185 overflow value.
20186
79662d42
JM
20187 * sysdeps/mach/configure: Regenerated.
20188
1f150908
L
201892012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20190
20191 [BZ #14278]
20192 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20193
28363bbf
JL
201942012-06-21 Jeff Law <law@redhat.com>
20195
20196 [BZ #13882]
20197 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20198 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 20199 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
20200 * elf/dl-open.c (dl_open_worker): Likewise.
20201
09615db4
CD
202022012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20203
20204 * scripts/list-sources.sh: Scan PORTS for translations.
20205 * po/libc.pot: Regenerated.
20206
2174c6dd
AJ
202072012-06-21 Andreas Jaeger <aj@suse.de>
20208
20209 [BZ #12194]
20210 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20211 warning.
20212 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20213 * bits/byteswap-16.h (__bswap_16): Likewise.
20214 * bits/byteswap.h (__bswap_constant_16): Likewise.
20215
3ee947b1
L
202162012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20217
20218 [BZ #14117]
a2f34833
L
20219 * sysdeps/i386/fpu_control.h: Removed.
20220 * sysdeps/x86_64/fpu_control.h: Moved to ...
20221 * sysdeps/x86/fpu_control.h: Here.
20222
3ee947b1
L
20223 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20224 (_FPU_SETCW): Likewise.
20225
ed1825f8
L
202262012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20227
25f1282a
L
20228 [BZ #14117]
20229 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20230 * sysdeps/x86/fpu/bits/mathinline.h: This.
20231 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20232
ed1825f8
L
20233 [BZ #14050]
20234 [BZ #14117]
20235 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20236 functions if __x86_64__ is defined.
20237
36d54b74
CLT
202382012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20239
20240 * string/endian.h: Add !__ASSEMBLER__ condition for including
20241 conversion interfaces.
20242
10285c21
JM
202432012-06-15 Joseph Myers <joseph@codesourcery.com>
20244
20245 [BZ #14241]
20246 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20247 of ABS(x) in calculating zero to negative powers other than odd
20248 integers.
20249 * math/libm-test.inc (pow_test): Add more tests.
20250
06c5abbd
AJ
202512012-06-15 Andreas Jaeger <aj@suse.de>
20252
20253 * manual/contrib.texi (Contributors): Update entry of Liubov
20254 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20255 Machado Filho.
20256
a3aeac40
CH
202572012-06-15 Cyril Hrubis <metan@ucw.cz>
20258
20259 * string/string.h: Add __wur to GNU version of strerror_r.
20260
49bdf4c1
L
202612012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20262
20263 [BZ #14229]
20264 * string/Makefile (tests): Add tst-strtok_r.
20265 * string/tst-strtok_r.c: New file.
20266 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20267 RAX_LP/RDX_LP on SAVE_PTR.
20268
834f9b8d
RM
202692012-06-14 Roland McGrath <roland@hack.frob.com>
20270
20271 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20272
75fa1921
JM
202732012-06-14 Joseph Myers <joseph@codesourcery.com>
20274
20275 * libm_test.inc (csqrt_test): Allow more spurious underflow
20276 exceptions.
20277 (j0_test): Likewise.
20278 (j1_test): Likewise.
20279 (y0_test): Likewise.
20280 (y1_test): Likewise.
20281
771766df
CD
202822012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20283
20284 * po/Makefile (libc.pot): Use UTF-8 charset.
20285
ceb9e56b
PP
202862012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20287
20288 [BZ #14210]
20289 Suppress sign-conversion warning from FD_SET.
20290 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20291 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20292 not unsigned long int.
20293 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20294
ddb28975
L
202952012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20296
20297 [BZ #14050]
20298 [BZ #14117]
20299 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20300 __extern_always_inline instead of __extern_inline.
20301 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20302 (__signbit): Likewise.
20303 (__signbitl): Support C++ namespace.
20304 (lrintf): New inline function.
20305 (lrint): Likewise.
20306 (llrintf): Likewise.
20307 (llrint): Likewise.
20308 (fmaxf): Likewise.
20309 (fmax): Likewise.
20310 (fminf): Likewise.
20311 (fmin): Likewise.
20312 (rint): Likewise.
20313 (rintf): Likewise.
20314 (ceil): Likewise.
20315 (ceilf): Likewise.
20316 (floor): Likewise.
20317 (floorf): Likewise.
20318 (nearbyint): Likewise.
20319 (nearbyintf): Likewise.
20320
d7b4fb26
TS
203212012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20322
20323 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20324 non-default versions.
20325
eb55f5c2
RM
203262012-06-11 Roland McGrath <roland@hack.frob.com>
20327
20328 [BZ #14218]
20329 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20330
366af02c
TS
203312012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20332
99ff6e5c
TS
20333 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20334 (FE_UPWARD, FE_DOWNWARD): Don't define.
20335 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20336 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20337
366af02c
TS
20338 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20339 reading it.
20340 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20341 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20342
793ea851
KK
203432012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20344
20345 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20346 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20347 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20348 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20349
a728a38f
L
203502012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20351
20352 [BZ #14117]
c08010c7
L
20353 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20354 * sysdeps/i386/fpu/Implies: New file.
20355 * sysdeps/x86_64/fpu/Implies: Likewise.
20356 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20357 * sysdeps/x86/fpu/bits/fenv.h: This.
20358
a728a38f
L
20359 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20360 __SSE_MATH__.
20361
6e230d11
SP
203622012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20363
20364 [BZ #14134]
20365 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20366 character 0xffff that matches the last element of the
20367 conversion table.
20368
1b671feb
AZ
203692012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20370
20371 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20372 fmodl commit.
20373
6043738b
AZ
203742012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20375
20376 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20377 values higher than 25.6283.
20378
34ae0b32
AZ
203792012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20380
20381 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20382 subnormal exponent extraction and add some __builtin_expect.
20383 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20384 Fix for subnormal mantissa calculation.
20385
1214ec8f
MF
203862012-06-04 Mike Frysinger <vapier@gentoo.org>
20387
20388 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20389 cpu2 is -1 and errno is not ENOSYS.
20390
f3d1f93c
L
203912012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20392
20393 [BZ #14117]
0e4a3cd7
L
20394 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20395 * sysdeps/x86/bits/string.h: This.
20396 * sysdeps/x86_64/bits/string.h: Removed.
20397
6704c645
L
20398 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20399 if not compiling for x86-64, but compiling for >= i486.
20400
48495318
L
20401 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20402 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20403
14adcbfc
L
20404 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20405 New macro from Linux kernel 3.4.0.
20406 (FP_XSTATE_MAGIC2): Likewise.
20407 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20408 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20409 (struct _fpx_sw_bytes): New struct.
20410 (struct _xsave_hdr): Likewise.
20411 (struct _ymmh_state): Likewise.
20412 (struct _xstate): Likewise.
20413
68e408ab
L
20414 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20415 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20416 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20417 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20418 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20419 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20420
f3d1f93c
L
20421 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20422 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20423 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20424 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20425 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20426 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20427
d9dc34cd
TMQMF
204282012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20429
20430 [BZ #13743]
20431 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20432 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20433 (sysdep_headers): Include sys/platform/ppc.h.
20434 * sysdeps/powerpc/test-gettimebase.c: Test for
20435 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20436 * manual/Makefile (appendices): Include platform.texi.
20437 * manual/contrib.texi (Contributors): Update @node pointers.
20438 * manual/maint.texi (Maintenance): Likewise.
20439 (Platform): New node.
20440 * manual/platform.texi: New file. Document the new features.
20441
4af3879c
SP
204422012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20443 Jakub Jelinek <jakub@redhat.com>
20444
20445 [BZ #14188]
20446 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20447 where __builtin_expect is unavailable.
20448
2fd6ff13
DM
204492012-06-03 David S. Miller <davem@davemloft.net>
20450
20451 * stdlib/longlong.h: Updated from GCC.
20452
173f7220
AS
204532012-06-02 Andreas Schwab <schwab@linux-m68k.org>
20454
20455 [BZ #14042]
20456 * sysdeps/powerpc/powerpc32/mcount.c: New file.
20457 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20458 __mcount_internal.
20459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20460 (GLIBC_2.16): Likewise.
20461
f34a1c6f
L
204622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20463
20464 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20465
88a4576f
JM
204662012-06-01 Joseph Myers <joseph@codesourcery.com>
20467
ea32bcdd
JM
20468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20469 (default-abi): New variable.
20470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20471 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20472 variable.
20473 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20474 Likewise.
20475 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20476 Likewise.
20477 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20478 Likewise.
20479
88a4576f
JM
20480 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20481 definition. Document in comment.
20482
402fe938
DM
204832012-06-01 David S. Miller <davem@davemloft.net>
20484
20485 * stdlib/longlong.h: Updated from GCC.
20486
3553723f
L
204872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20488
20489 [BZ #14117]
3bd872c4
L
20490 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20491 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20492 sys/debugreg.h sys/io.h here.
20493 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20494 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20495 sys/io.h.
20496 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20497 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20498 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20499 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20500 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20501 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20502
3553723f
L
20503 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20504 Define only if __x86_64__ is defined.
20505
4842e4fe
JM
205062012-06-01 Joseph Myers <joseph@codesourcery.com>
20507
c5bfe3d5
JM
20508 [BZ #14048]
20509 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20510 Use int64_t for variable i.
20511 * math/libm-test.inc (fmod_test): Add more tests.
20512
4842e4fe
JM
20513 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20514 z computation is not scheduled after fetestexcept.
20515 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20516 Use math_force_eval instead of asm to ensure calculation scheduled
20517 before exception test.
20518 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20519 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20520
efb73488
AJ
205212012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20522
20523 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20524 computation is not scheduled after fetestexcept.
20525
29bcce7c
L
205262012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20527
20528 [BZ #14117]
20529 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20530 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20531
73a68f94
AZ
205322012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20533
20534 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20535 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20536
67b6df78
L
205372012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20538
edf2933a 20539 [BZ #14117]
ebc64a18
L
20540 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20541 <bits/wordsize.h>.
20542 (__WCHAR_MIN): Support __WORDSIZE == 64.
20543 (__WCHAR_MAX): Likewise.
20544
edf2933a
L
20545 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20546 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20547
57c6cf40
L
20548 [BZ #14183]
20549 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20550 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20551
67b6df78 20552 [BZ #14117]
8eb6281e
L
20553 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20554 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20555
aac639f4
L
20556 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20557 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20558
67b6df78
L
20559 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20560 Defined to 1 if __x86_64__ isn't defined.
20561 (_STAT_VER_LINUX_OLD): New.
20562 (st_atime): Remove duplicate.
20563 (st_mtime): Likewise.
20564 (st_ctime): Likewise.
20565
1c2cfe81
DM
205662012-05-31 David S. Miller <davem@davemloft.net>
20567
20568 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20569 entries.
20570
5be8418c
AS
205712012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20572
e7725326
AS
20573 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20574 gen-libm-test.pl.
20575
5be8418c
AS
20576 [BZ #14132]
20577 * elf/dl-reloc.c: Include <_itoa.h>.
20578 (_dl_reloc_bad_type): Remove use of INTUSE.
20579 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20580 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20581 * stdio-common/psiginfo.c (psiginfo): Likewise.
20582 * stdio-common/psignal.c (psignal): Likewise.
20583 * string/strsignal.c (strsignal): Likewise.
20584 * include/signal.h (_sys_siglist): Declare hidden proto.
20585 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20586 INTVARDEF with libc_hidden_data_def.
20587 * stdio-common/itoa-udigits.c: Likewise.
20588 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20589 (_itoa_lower_digits_internal): Remove declaration.
20590 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20591 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20592 (_sys_sigabbrev_internal): Remove aliases.
20593 (_sys_siglist): Define hidden alias.
20594
507352f1
MT
205952012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20596
20597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20598 bits/sysctl.h.
20599
42bbb1c3
L
206002012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20601
20602 [BZ #14117]
6bd784b6
L
20603 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20604 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20605
8bca20f0
L
20606 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20607 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20608 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20609 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20610 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20611 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20612
f9e890a9
L
20613 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20614 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20615 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20616
471101a1
L
20617 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20618 with __addr.
20619 (insw): Likewise.
20620 (insl): Likewise.
20621 (outsb): Likewise.
20622 (outsw): Likewise.
20623 (outsl): Likewise.
20624
6451c862
L
20625 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20626 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20627 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20628
a254b8c9
L
20629 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20630 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20631 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20632 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20633 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20634 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20635
b8dfdd92
L
20636 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20637 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20638
578cd270
L
20639 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20640 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20641
de662f5f
L
20642 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20643 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20644 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20645
25653439
L
20646 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20647 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20648 to ...
20649 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20650
6bad24a0
L
20651 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20652 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20653 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20654
42bbb1c3
L
20655 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20656 for x86-64.
20657 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20658
2d10d547
JM
206592012-05-31 Joseph Myers <joseph@codesourcery.com>
20660
20661 * math/math.h (M_El): Use two more decimal places.
20662 (M_LOG2El): Likewise.
20663 (M_LOG10El): Likewise.
20664 (M_LN2l): Likewise.
20665 (M_LN10l): Likewise.
20666 (M_PIl): Likewise.
20667 (M_PI_2l): Likewise.
20668 (M_PI_4l): Likewise.
20669 (M_1_PIl): Likewise.
20670 (M_2_PIl): Likewise.
20671 (M_2_SQRTPIl): Likewise.
20672 (M_SQRT2l): Likewise.
20673 (M_SQRT1_2l): Likewise.
20674
f230c29b
DM
206752012-05-31 David S. Miller <davem@davemloft.net>
20676
20677 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20678 values between float registers.
20679 * sysdeps/sparc/sparc64/memset.S: Likewise.
20680 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20681
fed806c3
MF
206822012-05-31 Mike Frysinger <vapier@gentoo.org>
20683
20684 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20685 -D_FORTIFY_SOURCE=1.
20686 (CPPFLAGS-tst-longjmp_chk.c): Define.
20687 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20688 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20689 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20690 CFLAGS-tst-wchar-h.c.
20691
30917259
MP
206922012-05-31 Marek Polacek <polacek@redhat.com>
20693
20694 [BZ #14132]
20695 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20696 __endmntent_internal): Remove declaration.
20697 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20698 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20699 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20700
1c58d5dc
DM
207012012-05-30 David S. Miller <davem@davemloft.net>
20702
20703 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20704 (___Q_simulate_exceptions): Use real FP ops rather than writing
20705 into the %fsr.
20706 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20707 Likewise.
20708
7dc00e0d
L
207092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20710
20711 [BZ #14117]
0bd53985
L
20712 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20713 * sysdeps/x86/bits/xtitypes.h: This.
20714
3a257e66
L
20715 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20716 * sysdeps/x86/bits/wordsize.h: This.
20717
62f62904
L
20718 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20719 * sysdeps/x86/bits/huge_vall.h: This.
20720
404fe9d9
L
20721 * sysdeps/i386/bits/select.h: Removed.
20722 * sysdeps/x86_64/bits/select.h: Renamed to ...
20723 * sysdeps/x86/bits/select.h: This.
20724
d48d0446
L
20725 * sysdeps/i386/bits/setjmp.h: Removed.
20726 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20727 * sysdeps/x86/bits/setjmp.h: This.
20728
7dc00e0d
L
20729 * sysdeps/i386/bits/mathdef.h: Removed.
20730 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20731 * sysdeps/x86/bits/mathdef.h: This.
20732
03277f8f
AS
207332012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20734
20735 [BZ #14132]
20736 * include/sys/socket.h (__connect_internal)
20737 (__libc_sa_len_internal): Remove declaration.
20738 (__connect, __libc_sa_len): Declare hidden_proto.
20739 (SA_LEN): Remove use of INTUSE.
20740 * socket/connect.c: Add libc_hidden_def.
20741 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20742 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20743 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20744 alias.
20745 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20746 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20747 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20748 of adding _internal alias.
20749
13764867
L
207502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20751
20752 [BZ #14117]
6bd97696
L
20753 * sysdeps/i386/bits/link.h: Removed.
20754 * sysdeps/i386/bits/linkmap.h: Likewise.
20755 * sysdeps/x86_64/bits/link.h: Renamed to ...
20756 * sysdeps/x86/bits/link.h: This.
20757 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20758 * sysdeps/x86/bits/linkmap.h: This.
20759
f726f0bb
L
20760 * sysdeps/i386/bits/endian.h: Removed.
20761 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20762 * sysdeps/x86/bits/endian.h: This.
20763
13764867
L
20764 * sysdeps/i386/bits/byteswap.h: Removed.
20765 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20766 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20767 * sysdeps/x86/bits/byteswap.h: This.
20768 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20769 * sysdeps/x86/bits/byteswap-16.h: This.
20770 * sysdeps/i386/Implies: Add x86.
20771 * sysdeps/x86_64/Implies: Likewise.
20772
ae251b0b
DM
207732012-05-30 David S. Miller <davem@davemloft.net>
20774
20775 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20776 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20777 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20778 (FP_TRAPPING_EXCEPTIONS): Define.
20779 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20780 (FP_TRAPPING_EXCEPTIONS): Define.
20781 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20782 subnormals only when inexact has been signalled or underflow
20783 exceptions are enabled.
20784 (_FP_PACK_CANONICAL): Likewise.
20785
d5c90867
L
207862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20787
20788 [BZ #14183]
20789 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20790 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20791
63f1549e
RH
207922012-05-30 Richard Henderson <rth@twiddle.net>
20793
8d8f2279
RH
20794 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20795 with #ifndef NOT_IN_libc.
20796
63f1549e
RH
20797 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20798 marked to avoid plt entry.
20799
0ab0291b
L
208002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20801
20802 [BZ #14112]
20803 * Makeconfig (default-abi): New macro.
20804 (abi-includes): Likewise.
20805 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20806 $(abi-$(default-abi)-lib-soname) for soname if defined.
20807 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20808 abi-variants.
20809 * Makefile (installed-stubs): Likewise.
20810 * include/stubs-biarch.h: Removed.
20811 * scripts/lib-names.awk: Only handle one library at a time.
20812 * scripts/soversions.awk: Remove WORDSIZE support.
20813 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20814 entries.
20815 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20816 Removed.
20817 (syscall-list-default-condition): Likewise.
20818 (syscall-list-default-condition): Likewise.
20819 (syscall-list-includes): Likewise.
20820 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20821 syscall-list-* with abi-*. Handle undefined abi-variants.
20822 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20823 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20824 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20825 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20826 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20827 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20828 Removed.
20829 (syscall-list-32-options): Likewise.
20830 (syscall-list-32-condition): Likewise.
20831 (syscall-list-64-options): Likewise.
20832 (syscall-list-64-condition): Likewise.
20833 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20834 macro.
20835 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20836 Renamed to ...
20837 (abi-*): This.
20838 (abi-64-ld-soname): New macro.
20839 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20840 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20841 Renamed to ...
20842 (abi-*): This.
20843 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20844 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20845
4da0431d
JM
208462012-05-30 Joseph Myers <joseph@codesourcery.com>
20847
3a85279c
JM
20848 * sysdeps/unix/sysv/linux/kernel-features.h
20849 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20850 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20851 include <kernel-features.h>.
20852 [!__NR_ftruncate64]: Remove conditional code.
20853 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20854 [__NR_ftruncate64]: Make code unconditional.
20855 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20856 * sysdeps/unix/sysv/linux/truncate64.c: Do not
20857 include <kernel-features.h>.
20858 [!__NR_ftruncate64]: Remove conditional code.
20859 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20860 [__NR_ftruncate64]: Make code unconditional.
20861 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20863 include <kernel-features.h>.
20864 [!__NR_ftruncate64]: Remove conditional code.
20865 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20866 [__NR_ftruncate64]: Make code unconditional.
20867 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20869 include <kernel-features.h>.
20870 [!__NR_ftruncate64]: Remove conditional code.
20871 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20872 [__NR_ftruncate64]: Make code unconditional.
20873 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20874
4da0431d
JM
20875 * configure.in (libc_cv_fpie): Weaken to a compile test using
20876 LIBC_TRY_CC_OPTION.
20877 * configure: Regenerated.
20878
11ef492c
AK
208792012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20880
20881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20885 Refreshed.
20886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20892 Refreshed.
20893
d66ef399
DM
208942012-05-27 David S. Miller <davem@davemloft.net>
20895
20896 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20897 (___Q_zero): New.
20898 (__Q_simulate_exceptions): Return void. Change to simulate
20899 exceptions by writing into the %fsr.
20900 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20901 (__Qp_handle_exceptions): Likewise.
20902 (numbers): Delete.
20903 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20904 __Qp_handle_exceptions.
20905 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20906 __Qp_handle_exceptions.
20907 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20908 as unused and give dummy FP_RND_NEAREST initializer.
20909 (FP_INHIBIT_RESULTS): Define.
20910 (___Q_simulate_exceptions): Update declaration.
20911 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20912 formatting.
20913 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20914 as unused and give dummy FP_RND_NEAREST initializer.
20915 (__Qp_handle_exceptions): Update declaration.
20916 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20917 formatting.
20918
04fb54b5
TS
209192012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20920
20921 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20922 the temporary FPU control word.
20923 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20924 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20925 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20926 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20927 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20928 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20929 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20930 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20931 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20932 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20933 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20934
3f99608f
KK
209352012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20936
20937 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20938 fields.
20939
65a4de4e
CLT
209402012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20941
20942 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20943 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20944 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20945 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20946 Likewise.
20947 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20948 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20949 Likewise.
20950
15749d40
UD
209512012-05-27 Ulrich Drepper <drepper@gmail.com>
20952
20953 * po/h.po: Update from translation team.
20954
25dbcb27
AS
209552012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20956
3d3f8e55
AS
20957 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20958
25dbcb27
AS
20959 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20960 handling of denormals.
20961 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20962 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20963 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20964 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20965 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20966 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20967 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20968 Likewise.
20969
7ad47a80 209702012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
20971
20972 [BZ #14152]
20973 * math/libm-test.inc (fma_test): Don't always expect underflow
20974 exception.
20975
9c6ea9fa
SP
209762012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20977
20978 [BZ #12416]
20979 * elf/tst-execstack.c: Include stackinfo.h.
20980 (do_test): Adjust test case to ensure that pthread_getattr_np
20981 behaviour remains the same after marking stack executable.
20982
a8239222
JM
209832012-05-25 Joseph Myers <joseph@codesourcery.com>
20984
20985 * sysdeps/unix/sysv/linux/kernel-features.h
20986 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20987 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20988 kernel-features.h.
20989 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20990 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20991 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20992 kernel-features.h.
20993 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20994 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20995
918b5606
L
209962012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20997
20998 * configure.in: Define the default includes to being none.
20999 * configure: Regenerated.
21000
3a097cc7
RM
210012012-05-25 Roland McGrath <roland@hack.frob.com>
21002
8422c9a5
RM
21003 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21004 * sysdeps/x86_64/setjmp.S: Likewise.
21005 * sysdeps/i386/bsd-setjmp.S: Likewise.
21006 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21007 * sysdeps/i386/setjmp.S: Likewise.
21008 * sysdeps/i386/__longjmp.S: Likewise.
21009 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21010 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21011
3a097cc7
RM
21012 * include/stap-probe.h: New file.
21013 * configure.in: Handle --enable-systemtap.
21014 * configure: Regenerated.
21015 * config.h.in (USE_STAP_PROBE): New #undef.
21016 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21017 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21018 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21019
21708942
JM
210202012-05-25 Joseph Myers <joseph@codesourcery.com>
21021
21022 [BZ #13717]
21023 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21024 to 2.4.0 where earlier.
21025 * sysdeps/unix/sysv/linux/configure: Regenerated.
21026 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21027 <kernel-features.h>.
21028 [__ASSUME_32BITUIDS]: Make code unconditional.
21029 [!__ASSUME_32BITUIDS]: Remove conditional code.
21030 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21031 <kernel-features.h>.
21032 [__ASSUME_32BITUIDS]: Make code unconditional.
21033 [!__ASSUME_32BITUIDS]: Remove conditional code.
21034 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21035 [__ASSUME_32BITUIDS]: Make code unconditional.
21036 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21037 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21038 <kernel-features.h>.
21039 [__ASSUME_32BITUIDS]: Make code unconditional.
21040 [!__ASSUME_32BITUIDS]: Remove conditional code.
21041 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21042 <kernel-features.h>.
21043 [__ASSUME_32BITUIDS]: Make code unconditional.
21044 [!__ASSUME_32BITUIDS]: Remove conditional code.
21045 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21046 <kernel-features.h>.
21047 [__ASSUME_32BITUIDS]: Make code unconditional.
21048 [!__ASSUME_32BITUIDS]: Remove conditional code.
21049 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21050 <kernel-features.h>.
21051 [__ASSUME_32BITUIDS]: Make code unconditional.
21052 [!__ASSUME_32BITUIDS]: Remove conditional code.
21053 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21054 <kernel-features.h>.
21055 [__ASSUME_32BITUIDS]: Make code unconditional.
21056 [!__ASSUME_32BITUIDS]: Remove conditional code.
21057 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21058 <kernel-features.h>.
21059 [__ASSUME_32BITUIDS]: Make code unconditional.
21060 [!__ASSUME_32BITUIDS]: Remove conditional code.
21061 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21062 <kernel-features.h>.
21063 [__ASSUME_32BITUIDS]: Make code unconditional.
21064 [!__ASSUME_32BITUIDS]: Remove conditional code.
21065 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21066 <kernel-features.h>.
21067 [__ASSUME_32BITUIDS]: Make code unconditional.
21068 [!__ASSUME_32BITUIDS]: Remove conditional code.
21069 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21070 <kernel-features.h>.
21071 [__ASSUME_32BITUIDS]: Make code unconditional.
21072 [!__ASSUME_32BITUIDS]: Remove conditional code.
21073 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21074 <kernel-features.h>.
21075 [__ASSUME_32BITUIDS]: Make code unconditional.
21076 [!__ASSUME_32BITUIDS]: Remove conditional code.
21077 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21078 <kernel-features.h>.
21079 [__NR_setresgid] (__setresgid): Do not declare.
21080 [__ASSUME_32BITUIDS]: Make code unconditional.
21081 [!__ASSUME_32BITUIDS]: Remove conditional code.
21082 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21083 <kernel-features.h>.
21084 [__NR_setresuid] (__setresuid): Do not declare.
21085 [__ASSUME_32BITUIDS]: Make code unconditional.
21086 [!__ASSUME_32BITUIDS]: Remove conditional code.
21087 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21088 <kernel-features.h>.
21089 [__ASSUME_32BITUIDS]: Make code unconditional.
21090 [!__ASSUME_32BITUIDS]: Remove conditional code.
21091 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21092 <kernel-features.h>.
21093 [__ASSUME_32BITUIDS]: Make code unconditional.
21094 [!__ASSUME_32BITUIDS]: Remove conditional code.
21095 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21096 <kernel-features.h>.
21097 [__ASSUME_32BITUIDS]: Make code unconditional.
21098 [!__ASSUME_32BITUIDS]: Remove conditional code.
21099 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21100 <kernel-features.h>.
21101 [__ASSUME_32BITUIDS]: Make code unconditional.
21102 [!__ASSUME_32BITUIDS]: Remove conditional code.
21103 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21104 <kernel-features.h>.
21105 [__ASSUME_32BITUIDS]: Make code unconditional.
21106 [!__ASSUME_32BITUIDS]: Remove conditional code.
21107 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21108 <kernel-features.h>.
21109 [__ASSUME_32BITUIDS]: Make code unconditional.
21110 [!__ASSUME_32BITUIDS]: Remove conditional code.
21111 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21112 <kernel-features.h>.
21113 [__ASSUME_32BITUIDS]: Make code unconditional.
21114 [!__ASSUME_32BITUIDS]: Remove conditional code.
21115 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21116 <kernel-features.h>.
21117 [__ASSUME_32BITUIDS]: Make code unconditional.
21118 [!__ASSUME_32BITUIDS]: Remove conditional code.
21119 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21120 <kernel-features.h>.
21121 [__ASSUME_32BITUIDS]: Make code unconditional.
21122 [!__ASSUME_32BITUIDS]: Remove conditional code.
21123 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21124 <kernel-features.h>.
21125 [__ASSUME_32BITUIDS]: Make code unconditional.
21126 [!__ASSUME_32BITUIDS]: Remove conditional code.
21127 * sysdeps/unix/sysv/linux/kernel-features.h
21128 (__ASSUME_SETRESUID_SYSCALL): Remove.
21129 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21130 (__ASSUME_32BITUIDS): Likewise.
21131 (__ASSUME_LDT_WORKS): Likewise.
21132 (__ASSUME_O_DIRECTORY): Likewise.
21133 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21134 architecture but not kernel version.
21135 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21136 (__ASSUME_MMAP2_SYSCALL): Likewise.
21137 (__ASSUME_STAT64_SYSCALL): Likewise.
21138 (__ASSUME_IPC64): Likewise.
21139 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21140 <kernel-features.h>.
21141 [__ASSUME_32BITUIDS]: Make code unconditional.
21142 [!__ASSUME_32BITUIDS]: Remove conditional code.
21143 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21144 <kernel-features.h>.
21145 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21146 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21147 132096]: Remove conditional code.
21148 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21149 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21150 <kernel-features.h>.
21151 [__ASSUME_32BITUIDS]: Make code unconditional.
21152 [!__ASSUME_32BITUIDS]: Remove conditional code.
21153 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21154 <kernel-features.h>.
21155 [__ASSUME_32BITUIDS]: Make code unconditional.
21156 [!__ASSUME_32BITUIDS]: Remove conditional code.
21157 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21158 <kernel-features.h>.
21159 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21160 unconditional.
21161 (__setresgid): Do not declare.
21162 [__ASSUME_32BITUIDS]: Make code unconditional.
21163 [!__ASSUME_32BITUIDS]: Remove conditional code.
21164 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21165 <kernel-features.h>.
21166 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21167 unconditional.
21168 (__setresuid): Do not declare.
21169 [__ASSUME_32BITUIDS]: Make code unconditional.
21170 [!__ASSUME_32BITUIDS]: Remove conditional code.
21171 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21172 <kernel-features.h>.
21173 [__ASSUME_32BITUIDS]: Make code unconditional.
21174 [!__ASSUME_32BITUIDS]: Remove conditional code.
21175 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21176 <kernel-features.h>.
21177 [__ASSUME_32BITUIDS]: Make code unconditional.
21178 [!__ASSUME_32BITUIDS]: Remove conditional code.
21179
a386f1cc
RH
211802012-05-25 Richard Henderson <rth@twiddle.net>
21181
21182 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21183 dl_hwcap to ifunc resolver.
21184 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21185 elf_ifunc_invoke.
21186 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21187 dl_hwcap to ifunc resolver.
21188 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21189
b6550497
JM
211902012-05-24 Joseph Myers <joseph@codesourcery.com>
21191
21192 [BZ #14153]
21193 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21194 for |x| <= 2**-26, not 2**-57.
21195 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21196 exception.
21197
b0bc23a1
JL
211982012-05-24 Jeff Law <law@redhat.com>
21199
21200 * stdio-common/Makefile (tests): Add bug25.
21201 * stdio-common/bug25.c: New test.
21202
347c92e9
L
212032012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21204
21205 [BZ #13576]
21206 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21207 multiple of MALLOC_ALIGNMENT in size.
21208 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21209
6bcc8b3f
JM
212102012-05-24 Joseph Myers <joseph@codesourcery.com>
21211
21212 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21213 Require >= 256.
21214 (FILENAME_MAX): Use macro-int-constant.
21215 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21216 (_IOFBF): Use macro-int-constant.
21217 (_IOLBF): Likewise.
21218 (_IONBF): Likewise.
21219 (SEEK_CUR): Likewise.
21220 (SEEK_END): Likewise.
21221 (SEEK_SET): Likewise.
21222 (TMP_MAX): Likewise.
21223 (EOF): Use macro-int-constant. Require < 0.
21224 (NULL): Use macro-constant. Require == 0.
21225 (stdin): Require type to be FILE *.
21226 (stdout): Likewise.
21227 (stderr): Likewise.
21228 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21229 macro-int-constant.
21230 (EXIT_SUCCESS): Likewise.
21231 (NULL): Use macro-constant. Require == 0.
21232 (RAND_MAX): Use macro-int-constant.
21233 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21234 [C99-based standards] (strtof): Require function.
21235 [C99-based standards] (strtold): Likewise.
21236 [C99-based standards] (strtoll): Likewise.
21237 [C99-based standards] (strtoull): Likewise.
21238 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21239 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21240 [ISO || ISO99 || ISO11] (math.h): Likewise.
21241 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21242 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21243 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21244
d18ea0c5
AS
212452012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21246
21247 [BZ #14132]
56d25bb8
AS
21248 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21249 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21250 * intl/dgettext.c (DCGETTEXT): Likewise.
21251 * intl/gettext.c (DCGETTEXT): Likewise.
21252 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21253 * posix/regex_internal.h (gettext): Likewise.
21254 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21255 Remove declaration.
21256 * include/argz.h (__argz_count_internal)
21257 (__argz_stringify_internal): Remove declaration.
21258 (__argz_count, __argz_stringify): Declare hidden proto.
21259 * intl/dcgettext.c: Remove use of INTDEF.
21260 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21261 * string/argz-stringify.c: Likewise.
21262 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21263 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21264 Declare hidden proto.
d18ea0c5
AS
21265 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21266 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21267 Declare hidden proto.
21268 * include/stdio.h (__asprintf_internal): Don't declare.
21269 (__asprintf): Don't define as macro. Declare hidden proto.
21270 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21271 (__fsetlocking): Declare hidden proto.
21272 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21273 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21274 hidden proto.
21275 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21276 (_IO_setlinebuf): Remove use of INTUSE.
21277 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21278 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21279 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21280 Remove declaration.
21281 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21282 (_IO_do_flush): Remove use of INTUSE.
21283 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21284 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21285 (_IO_adjust_column, _IO_least_wmarker)
21286 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21287 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21288 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21289 (_IO_default_doallocate, _IO_wdefault_doallocate)
21290 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21291 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21292 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21293 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21294 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21295 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21296 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21297 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21298 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21299 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21300 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21301 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21302 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21303 proto.
21304 (_IO_flush_all_internal, _IO_adjust_column_internal)
21305 (_IO_default_uflow_internal, _IO_default_finish_internal)
21306 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21307 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21308 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21309 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21310 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21311 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21312 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21313 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21314 (_IO_file_close_internal, _IO_file_close_it_internal)
21315 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21316 (_IO_file_init_internal, _IO_file_attach_internal)
21317 (_IO_file_fopen_internal, _IO_file_read_internal)
21318 (_IO_file_sync_internal, _IO_file_seek_internal)
21319 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21320 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21321 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21322 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21323 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21324 (_IO_list_all_internal, _IO_link_in_internal)
21325 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21326 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21327 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21328 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21329 (_IO_do_write_internal, _IO_padn_internal)
21330 (_IO_getline_info_internal, _IO_getline_internal)
21331 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21332 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21333 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21334 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21335 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21336 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21337 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21338 with libc_hidden_ver, remove use of INTUSE.
21339 * libio/genops.c: Likewise.
21340 * libio/freopen.c: Likewise.
21341 * libio/freopen64.c: Likewise.
21342 * libio/iofclose.c: Likewise.
21343 * libio/iofdopen.c: Likewise.
21344 * libio/iofflush.c: Likewise.
21345 * libio/iofflush_u.c: Likewise.
21346 * libio/iofgets.c: Likewise.
21347 * libio/iofgets_u.c: Likewise.
21348 * libio/iofopen.c: Likewise.
21349 * libio/iofopncook.c: Likewise.
21350 * libio/iofread.c: Likewise.
21351 * libio/iofread_u.c: Likewise.
21352 * libio/ioftell.c: Likewise.
21353 * libio/iofwrite.c: Likewise.
21354 * libio/iogetline.c: Likewise.
21355 * libio/iogets.c: Likewise.
21356 * libio/iogetwline.c: Likewise.
21357 * libio/iopadn.c: Likewise.
21358 * libio/iopopen.c: Likewise.
21359 * libio/ioseekoff.c: Likewise.
21360 * libio/ioseekpos.c: Likewise.
21361 * libio/iosetbuffer.c: Likewise.
21362 * libio/iosetvbuf.c: Likewise.
21363 * libio/ioungetc.c: Likewise.
21364 * libio/ioungetwc.c: Likewise.
21365 * libio/iovdprintf.c: Likewise.
21366 * libio/iovsprintf.c: Likewise.
21367 * libio/iovsscanf.c: Likewise.
21368 * libio/memstream.c: Likewise.
21369 * libio/obprintf.c: Likewise.
21370 * libio/oldfileops.c: Likewise.
21371 * libio/oldiofclose.c: Likewise.
21372 * libio/oldiofdopen.c: Likewise.
21373 * libio/oldiofopen.c: Likewise.
21374 * libio/oldiopopen.c: Likewise.
21375 * libio/oldstdfiles.c: Likewise.
21376 * libio/putc.c: Likewise.
21377 * libio/setbuf.c: Likewise.
21378 * libio/setlinebuf.c: Likewise.
21379 * libio/stdfiles.c: Likewise.
21380 * libio/strops.c: Likewise.
21381 * libio/vasprintf.c: Likewise.
21382 * libio/vscanf.c: Likewise.
21383 * libio/vsnprintf.c: Likewise.
21384 * libio/vswprintf.c: Likewise.
21385 * libio/wfiledoalloc.c: Likewise.
21386 * libio/wfileops.c: Likewise.
21387 * libio/wgenops.c: Likewise.
21388 * libio/wmemstream.c: Likewise.
21389 * libio/wstrops.c: Likewise.
21390 * libio/__fpurge.c: Likewise.
21391 * libio/__fsetlocking.c: Likewise.
21392 * assert/assert.c: Likewise.
21393 * debug/fgets_chk.c: Likewise.
21394 * debug/fgets_u_chk.c: Likewise.
21395 * debug/fread_chk.c: Likewise.
21396 * debug/fread_u_chk.c: Likewise.
21397 * debug/gets_chk.c: Likewise.
21398 * debug/obprintf_chk.c: Likewise.
21399 * debug/vasprintf_chk.c: Likewise.
21400 * debug/vdprintf_chk.c: Likewise.
21401 * debug/vsnprintf_chk.c: Likewise.
21402 * debug/vsprintf_chk.c: Likewise.
21403 * malloc/mtrace.c: Likewise.
21404 * misc/error.c: Likewise.
21405 * misc/syslog.c: Likewise.
21406 * stdio-common/asprintf.c: Likewise.
21407 * stdio-common/fxprintf.c: Likewise.
21408 * stdio-common/getw.c: Likewise.
21409 * stdio-common/isoc99_fscanf.c: Likewise.
21410 * stdio-common/isoc99_scanf.c: Likewise.
21411 * stdio-common/isoc99_vfscanf.c: Likewise.
21412 * stdio-common/isoc99_vscanf.c: Likewise.
21413 * stdio-common/isoc99_vsscanf.c: Likewise.
21414 * stdio-common/printf-prs.c: Likewise.
21415 * stdio-common/printf_fp.c: Likewise.
21416 * stdio-common/printf_fphex.c: Likewise.
21417 * stdio-common/printf_size.c: Likewise.
21418 * stdio-common/putw.c: Likewise.
21419 * stdio-common/scanf.c: Likewise.
21420 * stdio-common/sprintf.c: Likewise.
21421 * stdio-common/tmpfile.c: Likewise.
21422 * stdio-common/vfprintf.c: Likewise.
21423 * stdio-common/vfscanf.c: Likewise.
21424 * stdlib/strfmon_l.c: Likewise.
21425 * sunrpc/openchild.c: Likewise.
21426 * sunrpc/xdr_stdio.c: Likewise.
21427 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21428 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21429
d6c33fda
RM
214302012-05-24 Roland McGrath <roland@hack.frob.com>
21431
c1487492
RM
21432 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21433
21434 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21435 in the third column, to generate for the shared library an IFUNC
21436 that uses _dl_vdso_vsym.
21437 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21438 * Makeconfig (object-suffixes-noshared): New variable.
21439
21440 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21441 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21442 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21443 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21444
d6c33fda
RM
21445 [BZ #14132]
21446 * include/sys/time.h (__gettimeofday): Remove macro.
21447 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21448 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21449 Remove INTDEF.
21450 (__gettimeofday): Add libc_hidden_def.
21451 (gettimeofday): Add libc_hidden_weak.
21452 * sysdeps/mach/gettimeofday.c: Likewise.
21453 * sysdeps/posix/gettimeofday.c: Likewise.
21454 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21455 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21456 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21457 (__gettimeofday_internal): Remove strong_alias.
21458 (__gettimeofday): Add libc_hidden_def.
21459 (gettimeofday): Add libc_hidden_weak.
21460 * sysdeps/unix/syscalls.list (gettimeofday):
21461 Remove __gettimeofday_internal alias.
21462
b5a2bbe6
L
214632012-05-24 Daniel Jacobowitz <drow@false.org>
21464 H.J. Lu <hongjiu.lu@intel.com>
21465
21466 [BZ #12495]
21467 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21468 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21469 (largebin_index_32_big): New.
21470 (largebin_index): Use it for 16-byte alignment.
21471 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21472 correction with front_misalign.
21473
cfba4fda
L
214742012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21475
7f907421
L
21476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21478 Likewise.
21479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21480 Likewise.
21481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21482 Likewise.
21483 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21484 Likewise.
21485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21486 Likewise.
21487 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21488 Likewise.
21489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21490 Likewise.
21491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21492 Likewise.
21493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21494 Likewise.
21495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21496 Likewise.
21497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21498 Likewise.
21499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21500 Likewise.
21501
cfba4fda
L
21502 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21503 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21504
80bad0cc
JM
215052012-05-24 Joseph Myers <joseph@codesourcery.com>
21506
7a25eb06
JM
21507 [BZ #10846]
21508 [BZ #14036]
21509 * math/libm-test.inc (exp_test): Add test from bug 14036.
21510 (pow_test): Add test from bug 10846.
21511
795405f9
JM
21512 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21513 and other flags.
21514 (special_function): Do not include flags in test name.
21515 (parse_args): Likewise.
21516 * sysdeps/i386/fpu/libm-test-ulps: Update.
21517 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21518 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21519 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21521
80bad0cc
JM
21522 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21523 exceptions.
21524 * math/libm-test.inc ("Philosophy"): Update comment about
21525 exception testing.
21526 (UNDERFLOW_EXCEPTION): New macro.
21527 (UNDERFLOW_EXCEPTION_OK): Likewise.
21528 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21529 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21530 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21531 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21532 (INVALID_EXCEPTION_OK): Update value.
21533 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21534 (OVERFLOW_EXCEPTION_OK): Likewise.
21535 (IGNORE_ZERO_INF_SIGN): Likewise.
21536 (test_exceptions): Handle underflow exceptions.
21537 (acos_test): Update for underflow exception expectations.
21538 (cexp_test): Likewise.
21539 (clog_test): Likewise.
21540 (clog10_test): Likewise.
21541 (csqrt_test): Likewise.
21542 (ctan_test): Likewise.
21543 (ctanh_test): Likewise.
21544 (exp_test): Likewise.
21545 (exp10_test): Likewise.
21546 (exp2_test): Likewise.
21547 (expm1_test): Likewise.
21548 (fma_test): Likewise.
21549 (j0_test): Likewise.
21550 (jn_test): Likewise.
21551 (nexttoward_test): Likewise.
21552 (pow_test): Likewise.
21553 (scalbn_test): Likewise.
21554 (scalbln_test): Likewise.
21555 (tan_test): Likewise.
21556 (y1_test): Likewise.
21557 * sysdeps/i386/fpu/libm-test-ulps: Update.
21558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21559
9e0e3d0b
DM
215602012-05-23 David S. Miller <davem@davemloft.net>
21561
21562 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21563 (__libc_sigaction): Remove unused local variables.
21564
ccd0a08f
L
215652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21566
21567 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21568
62bdf9a6
PE
215692012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21570
f8591f80
PE
21571 mktime: avoid signed integer overflow
21572 * time/mktime.c (__mktime_internal): Do not mishandle the case
21573 where diff == INT_MIN.
21574
94c7d826
PE
21575 mktime: simplify computation of average
21576 * time/mktime.c (ranged_convert): Use new time_t_avg function
21577 instead of rolling our own (probably-slower) code.
21578
ce73d683
PE
21579 mktime: do not assume signed right shift propagates sign bit
21580 * time/mktime.c (isdst_differ): New static function.
21581 (__mktime_internal): No need to normalize tm_isdst now.
21582 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21583 tm_isdst values.
21584
72a22e59
PE
21585 mktime: merge another wrapv change from gnulib
21586 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21587 from some compilers.
21588
68605433
PE
21589 mktime: remove incorrect attempt at unusual arithmetics
21590 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21591 The code didn't really work on such machines anyway.
21592 (TYPE_MINIMUM): Assume two's complement.
21593 (twos_complement_arithmetic): Verify that long_int and time_t
21594 are two's complement (or unsigned, in the latter case).
21595
03cf7fe3
PE
21596 mktime: check signed shifts on long_int and time_t, too
21597 * time/mktime.c (SHR): Check that shifts work as desired
21598 on the types long_int and time_t too, as SHR is used on
21599 such types.
21600
f04dfbc2
PE
21601 mktime: do not assume 'long' is wide enough
21602 * time/mktime.c (verify): Move decl up.
21603 (long_int): New type.
21604 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21605 to remove assumption in the code that 'long' is wide enough to
21606 store year values. This assumption is not true on x32 and on
21607 some non-glibc platforms.
21608
62bdf9a6
PE
21609 mktime: merge wrapv change from gnulib
21610 * time/mktime.c (WRAPV): New macro.
21611 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21612 (guess_time_tm, __mktime_internal): Do not assume that signed
21613 integer overflow wraps around; modern compilers generate code
21614 where this assumption is no longer valid.
21615
5e292e4f
L
216162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21617
21618 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21619 Replace "jmp L(pseudo_end)" with "ret".
21620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21621 Likewise.
21622
8caf8c87
AJ
216232012-05-23 Andreas Jaeger <aj@suse.de>
21624
21625 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21626 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21627
1a09dc56
AJ
216282012-05-23 Andreas Jaeger <aj@suse.de>
21629 Maximilian Attems <max@stro.at>
21630
21631 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21632 New macros.
21633
1c87aba0
L
216342012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21635
21636 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21637 code so that pseudo_end is just ret and the stack pointer is
21638 correct also for static library in error case.
21639
40e45bd5
JM
216402012-05-23 Joseph Myers <joseph@codesourcery.com>
21641
c2670533
JM
21642 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21643 move to syscalls.list.
21644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21648
40e45bd5
JM
21649 * manual/install.texi (Running make install): Do not mention Linux
21650 kernel version for which pt_chown is not needed.
21651 (Linux): Do not mention problems with nscd with 2.0 kernels.
21652 * INSTALL: Regenerated.
21653
be08eda5
AJ
216542012-05-23 Andreas Jaeger <aj@suse.de>
21655
21656 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21657 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21658 macro.
21659 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21660 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21661 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21662 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21663 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21664 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21665 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21666 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21667 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21668 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21669 * sysdeps/unix/sysv/linux/bits/in.h
21670 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21671
a6a056bb
RM
216722012-05-22 Roland McGrath <roland@hack.frob.com>
21673
21674 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21675 (PREPARE_VERSION): Just use assert instead, it will be elided
21676 under [NDEBUG] anyway.
21677
c9009328
L
216782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21679
21680 * sysdeps/unix/sysv/linux/Makefile: Include
21681 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 21682 (sysdep_routines): Remove sysctl.
c9009328
L
21683 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21684 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21685 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21686 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21687 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21688
73338355
AJ
216892012-05-22 Andreas Jaeger <aj@suse.de>
21690
21691 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21692 that pseudo_end is just ret and the stack pointer is correct also
21693 for static library in error case.
21694
d44638b0
PP
216952012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21696
21697 [BZ #14122]
21698 * nss/nsswitch.c (defconfig_entries): New variable.
21699 (__nss_database_lookup): Don't leak defconfig entries.
21700 (nss_parse_service_list): Don't leak on error paths.
21701 (free_database_entries): New function.
21702 (free_defconfig): New function.
21703 (free_mem): Move common code to free_database_entries.
21704
31a39bd8
L
217052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21706
da0331a8
L
21707 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21708 Add arch_prctl.
21709 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21710
31a39bd8
L
21711 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21712 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21714 New macro.
21715 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21716 (INTERNAL_SYSCALL_TYPES): Likewise.
21717 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21718 (LOAD_REGS_TYPES_[1-6]): Likewise.
21719 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21720 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21721
45470df3
AZ
217222012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21723
21724 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21725 copysignl for GLIBC_2_0.
21726 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21727 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21728 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21729 logbl for GLIBC_2_0.
21730 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21731 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21732
98a61bcb
L
217332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21734
a4f6e481
L
21735 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21736 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21737
f63d5db6
L
21738 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21739 Use "neg %eax".
21740
98a61bcb
L
21741 * time/mktime.c: Update copyright years.
21742
95770f14
PE
217432012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21744
6226efbd
PE
21745 mktime: merge comment-quoting-style change from gnulib
21746 * time/mktime.c: Quote 'like this' in comments.
21747 The GNU coding standards suggest that we no longer quote `like this',
21748 as "`" and "'" are typically rendered asymmetrically nowadays.
21749 The typical gnulib style is to quote 'like this' when quoting
21750 code, and "like this" when quoting English.
21751
b99e4f78
PE
21752 * time/mktime.c (compile-command): Add "-I.".
21753
643e01e6
PE
21754 mktime: merge mktime-internal.h change from gnulib
21755 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21756
2554247d
PE
21757 mktime: merge time_r change from gnulib
21758 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21759
826dd0ab
PE
21760 mktime: merge DEBUG change from gnulib
21761 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21762 case system <time.h> has a #define.
21763
bd83aabe
PE
21764 mktime: merge <sys/types.h> change from gnulib
21765 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21766 since <time.t> is now guaranteed to define time_t.
21767
95770f14
PE
21768 mktime: merge HAVE_CONFIG_H change from gnulib
21769 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21770
5e1a27a9
L
217712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21772
0e44a77e
L
21773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21774 Use "neg %eax".
21775
5e1a27a9
L
21776 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21777 __rlim_t cast.
21778 (struct rusage): Use anonymous union to pad each field to
21779 __syscall_slong_t.
21780
46259bec
DM
217812012-05-21 David S. Miller <davem@davemloft.net>
21782
21783 * Makefules (o-iterator): Remove .s cases.
21784 (compile-command.s): Delete.
21785 (COMPILE.s): Delete.
21786 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21787
59f0c22e
JM
217882012-05-21 Joseph Myers <joseph@codesourcery.com>
21789
21790 * configure.in (libc_cv_predef_stack_protector): Only consider
21791 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21792 * configure: Regenerated.
21793
20c07380
L
217942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21795
bbb3154b
L
21796 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21797 New macro. Use R*LP on int and pointer.
21798 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
21799 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21800 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
21801 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21802
20c07380
L
21803 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21804 [__WORDSIZE_TIME64_COMPAT32] instead of
21805 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21806 (struct utmp): Likewise.
21807 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21808 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21809 Renamed to ...
21810 (__WORDSIZE_TIME64_COMPAT32): This.
21811 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21812 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21813 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21814 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21815 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21816 (__WORDSIZE_TIME64_COMPAT32): New macro.
21817
d8d1017e
AJ
218182012-05-21 Andreas Jaeger <aj@suse.de>
21819
21820 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21821 only if [SHARED]. Add prototype for __wcschr_ia32.
21822
6c7fb145
RM
218232012-05-21 Roland McGrath <roland@hack.frob.com>
21824
21825 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21826 of %rbp unmolested in the jmp_buf while mangling the low bits.
21827 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21828 unmolested high bits of %rbp while demangling the low bits.
21829 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21830
66274218
AJ
218312012-05-21 Andreas Jaeger <aj@suse.de>
21832
07c58f8f
AJ
21833 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21834 * sunrpc/svc_simple.c: Use it for registerrpc.
21835 * sunrpc/xcrypt.c: Use it for passwd2des.
21836
66274218
AJ
21837 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21838
61f65140
L
218392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21840
21841 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21842 Don't define if [__SYSCALL_WORDSIZE != 32].
21843 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21844 New macro.
21845
5fefb436
AJ
218462012-05-21 Bruno Haible <bruno@clisp.org>
21847 Andreas Jaeger <aj@suse.de>
21848
21849 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21850 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21851 inptr and inend for must_buffer_ch.
21852 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21853 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21854 * stdio-common/Makefile (tests): Remove bug15.
21855 (bug15-ENV): Remove macro.
21856 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21857 anymore.
21858
d8e272ab
AJ
218592012-05-19 Andreas Jaeger <aj@suse.de>
21860 Roland McGrath <roland@hack.frob.com>
21861
21862 * manual/contrib.texi: Completely rewritten. It contains now an
21863 alphabetical list of contributors and their contributions.
21864
4a56a162
RH
218652012-05-21 Richard Henderson <rth@twiddle.net>
21866
21867 * misc/getauxval.c (__getauxval): Use unsigned long int.
21868 * misc/sys/auxv.h: Include <sys/cdefs.h>.
21869 (getauxval): Use unsigned long int.
21870
d024d23c
L
218712012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21872
21873 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21874
cbc00a03
RM
218752012-05-21 Roland McGrath <roland@hack.frob.com>
21876
21877 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21878 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21879 __alignof__ (long double).
21880
478143fa
AZ
218812012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21882
21883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21884
c7683a6d
RH
218852012-05-20 Richard Henderson <rth@twiddle.net>
21886
21887 * misc/getauxval.c: New file.
21888 * misc/sys/auxv.h: New file.
21889 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21890 (routines): Add getauxval.
21891 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21892 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21893 * elf/dl-sysdep.c (_dl_auxv): Remove.
21894 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21895 * elf/dl-support.c (_dl_auxv): New variable.
21896 (_dl_aux_init): Initialize it.
21897 * manual/startup.texi (Auxiliary Vector): New node.
21898 * sysdeps/generic/bits/hwcap.h: New file.
21899 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21900 * sysdeps/powerpc/sysdep.h: ... here. Include it.
21901 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21902 * sysdeps/sparc/sysdep.h: ... here. Include it.
21903 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21904 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
21905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21906 Update.
c7683a6d
RH
21907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21910 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21915
a6f1845d
AZ
219162012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21917
21918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21919
cbcbe830
DM
219202012-05-19 David S. Miller <davem@davemloft.net>
21921
21922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21923
e0b16cc2
JM
219242012-05-19 Joseph Myers <joseph@codesourcery.com>
21925
21926 [BZ #14123]
21927 * math/s_ccosh.c: Include <float.h>
21928 (__ccosh): Avoid internal overflow calculating sinh and cosh
21929 values before multiplying by sin and cos values.
21930 * math/s_ccoshf.c: Likewise.
21931 * math/s_ccoshl.c: Likewise.
21932 * math/s_csin.c: Likewise.
21933 * math/s_csinf.c: Likewise.
21934 * math/s_csinl.c: Likewise.
21935 * math/s_csinh.c: Likewise.
21936 * math/s_csinhf.c: Likewise.
21937 * math/s_csinhl.c: Likewise.
21938 * math/libm-test.inc (ccos_test): Add more tests.
21939 (ccosh_test): Likewise.
21940 (csin_test): Likewise.
21941 (csinh_test): Likewise.
21942 * sysdeps/i386/fpu/libm-test-ulps: Update.
21943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21944
6ad13e08
L
219452012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21946
f66f0ce8
L
21947 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21948 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21949
6ad13e08
L
21950 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21951
b1d072a7
JM
219522012-05-19 Joseph Myers <joseph@codesourcery.com>
21953
21954 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21955 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21956 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21957 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21958 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21959 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21960 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21961 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21962 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21963 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21964 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21965 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21966 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21967 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21968 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21969 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21970 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21971 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21972 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21973 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21974 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21975 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21976 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21977 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21978 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21979 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21980 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21981 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21982 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21983 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21984 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21985
9eae47cb
AJ
219862012-05-18 Andreas Jaeger <aj@suse.de>
21987
21988 * csu/.gitignore: Delete.
21989
bb07f69f
L
219902012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21991
21992 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21993 (timex): Use __syscall_slong_t.
21994
e6bdb741
AJ
219952012-05-18 Andreas Jaeger <aj@suse.de>
21996 Carlos O'Donell <carlos_odonell@mentor.com>
21997
21998 * manual/install.texi (Configuring and compiling): Update
21999 description about files modified in the source directory.
d6c33fda 22000 * INSTALL: Regenerated.
e6bdb741 22001
1b74487e
L
220022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22003
22004 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22005 value. Use "or" to set return value to -1.
22006 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22007 negate return value.
22008
a88b64b9
TMQMF
220092012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22010
22011 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22012 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22013 failure if the compiler has Graphite support disabled.
22014 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22015 Likewise.
22016 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22017 CFLAGS-memmove.c): Likewise.
22018 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22019 Likewise.
22020
3707636e
L
220212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22022
610b8622
L
22023 * sysdeps/x86_64/x32/_itoa.h: New file.
22024
7cd195df
L
22025 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22026 getdents system call only if kernel and user dirents have the
22027 same d_ino and d_off.
22028
94b07d20
L
22029 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22030 LLONG_MAX != LONG_MAX.
22031 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22032 (_fitoa_word): Likewise.
22033
18298070
L
22034 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22035 years.
22036 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22037 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22038 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22039
553c7ea4
L
22040 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22041 include <bits/wordsize.h>. Check __x86_64__ instead of
22042 __WORDSIZE.
22043 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22044 if __x86_64__ is defined. Use anonymous union on fpstate.
22045
3707636e
L
22046 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22047 anonymous union.
22048
b53ef01a
AS
220492012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22050
37fb1dc0
AS
22051 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22052 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22053 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22054 Refer to _rtld_local_ro instead of _rtld_global_ro.
22055 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22056 Likewise.
22057 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22058 Likewise.
22059 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22060 Likewise.
22061 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22062 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22063 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22064
b53ef01a
AS
22065 * sysdeps/powerpc/powerpc32/dl-machine.c
22066 (__elf_machine_runtime_setup) [PROF]: Don't reference
22067 _dl_prof_resolve.
22068
7a185db2
AJ
220692012-05-18 Andreas Jaeger <aj@suse.de>
22070
22071 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22072 function only available for GCCs before 3.4 since GCC 3.4
22073 introduced a builtin.
22074 (lrint): Likewise.
22075 (llrintf): Likewise.
22076 (llrint): Likewise.
22077 (fmaxf): Likewise.
22078 (fmax): Likewise.
22079 (fminf): Likewise.
22080 (fmin): Likewise.
22081 (rint): Likewise.
22082 (rintf): Likewise.
22083 (nearbyint): Likewise.
22084 (nearbyintf): Likewise.
22085 (ceil): Likewise.
22086 (ceilf): Likewise.
22087 (floor): Likewise.
22088 (floorf): Likewise.
22089
3e5aef87
L
220902012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22091
428bd707
L
22092 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22093 on both fields and cast pointer to __syscall_ulong_t.
22094
3e5aef87
L
22095 * bits/types.h (__fsword_t): New type.
22096 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22097 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22098 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22099 (__FSWORD_T_TYPE): Likewise.
22100 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22101 (__FSWORD_T_TYPE): Likewise.
22102 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22103 (__FSWORD_T_TYPE): Likewise.
22104 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22105 (__FSWORD_T_TYPE): Likewise.
22106 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22107 __SWORD_TYPE with __fsword_t.
22108 (statfs64): Likewise.
22109
1ba7c3dc
DM
221102012-05-17 David S. Miller <davem@davemloft.net>
22111
22112 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22113
59910343
AJ
221142012-05-17 Andreas Jaeger <aj@suse.de>
22115
22116 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22117 warning.
22118
2e4c1e9e
L
221192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22120
22121 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22122
de7f5ce7
AJ
221232012-05-17 Andreas Jaeger <aj@suse.de>
22124
22125 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22126 when it is used.
22127
286abc3d
CM
221282012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22129
22130 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22131
477cc68e
L
221322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22133
22134 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22135 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22136
1a0994f5
CD
221372012-05-17 Andreas Jaeger <aj@suse.de>
22138 Carlos O'Donell <carlos_odonell@mentor.com>
22139
22140 [BZ #14059]
22141 * sysdeps/x86_64/multiarch/init-arch.h
22142 (bit_YMM_Usable): Rename to...
22143 (bit_AVX_Usable): ... this.
22144 (bit_FMA4_Usable): New macro.
22145 (bit_XMM_state): New macro.
22146 (bit_YMM_state): New macro.
22147 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22148 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22149 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22150 (CPUID_OSXSAVE): New macro.
22151 (CPUID_AVX): New macro.
22152 (CPUID_FMA4): New macro.
22153 (index_YMM_Usable): Rename to...
22154 (index_AVX_Usable): ... this.
22155 (HAS_AVX): Use HAS_ARCH_FEATURE.
22156 (HAS_FMA4): Likewise.
22157 (HAS_YMM_USABLE): Remove.
22158 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22159 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22160 are present.
22161 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22162 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22163 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22164 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22165 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22166
0af797de
CM
221672012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22168
22169 * math/libm-test.c: Support platforms without multiple rounding modes.
22170 * math/bug-nextafter.c: Support platforms without FP exceptions.
22171 * math/bug-nexttoward.c: Likewise.
22172 * math/test-fenv.c: Likewise.
22173 * math/test-misc.c: Likewise.
22174 * stdlib/bug-getcontext.c: Likewise.
22175
e39745ff
AJ
221762012-05-17 Andreas Jaeger <aj@suse.de>
22177
22178 * manual/examples/search.c (critter_cmp): Change signature to
22179 avoid warnings.
22180 * manual/string.texi (Collation Functions): Likewise.
22181
48970aba
L
221822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22183
22184 * bits/types.h: Fold copyright years.
22185 * bits/typesizes.h: Likewise.
22186 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22187 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22188 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22189 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22190 * time/time.h: Likewise.
22191
bedee953
PP
221922012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22193
22194 [BZ #208]
22195 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22196 in instead of returning them. Return void.
22197 (__libc_mallinfo): Accumulate over all arenas.
22198 (__malloc_stats): Adjust for change in int_mallinfo interface.
22199
61653dfb
RM
222002012-05-16 Roland McGrath <roland@hack.frob.com>
22201
30b99d79
RM
22202 [BZ #10375]
22203 * configure.in (NM): Add AC_CHECK_TOOL for it.
22204 (libc_extra_cflags): New substituted variable.
22205 Check for -fstack-protector being used implicitly.
22206 * configure: Regenerated.
22207 * config.make.in (config-extra-cflags): New variable,
22208 gets @libc_extra_cflags@.
22209 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22210
61653dfb
RM
22211 [BZ #10375]
22212 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22213 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22214 * configure: Regenerated.
22215 * config.make.in (CPPUNDEFS): New substituted variable.
22216 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22217 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22218 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22219
661768bb
L
222202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22221
22222 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22223 (mq_attr): Use __syscall_slong_t.
22224
d4261567
L
222252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22226
22227 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22228 Check __x86_64__ instead of __WORDSIZE.
22229 (_STAT_VER_LINUX): Likewise.
22230 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22231 __syscall_ulong_t and __syscall_slong_t.
22232 (stat64): Likewise.
22233
cf3ff365
L
222342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22235
22236 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22237
76cf3e4d
L
222382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22239
22240 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22241
a637753a
L
222422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22243
22244 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22245 __syscall_ulong_t.
22246
d5e05119
L
22247 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22248 include <bits/wordsize.h>. Check __x86_64__ instead of
22249 __WORDSIZE.
22250 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22251 defined.
22252 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22253
f62ee380
L
22254 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22255 include <bits/wordsize.h>. Check __x86_64__ instead of
22256 __WORDSIZE.
22257 (user_regs_struct): Use "__extension__ unsigned long long"
22258 instead of "unsigned long" if __x86_64__ is defined.
22259 (user): Likewise. Pad after pointer field if __ILP32__ is
22260 defined.
22261
4e124ced
JM
222622012-05-16 Joseph Myers <joseph@codesourcery.com>
22263
6a3951a0
JM
22264 * configure.in (makeinfo): Require version 4.5 or later. Allow
22265 versions 5 to 9.
22266 * configure: Regenerated.
22267 * manual/install.texi (texinfo): Increase version requirement to
22268 4.5 or later.
22269 * INSTALL: Regenerated.
22270
4e124ced
JM
22271 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22272
953ca31a
L
222732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22274
22275 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22276
617aca05
L
22277 * sysdeps/x86_64/x32/ffs.c: New file.
22278
5762f7ae
L
22279 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22280 __syscall_ulong_t.
22281 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22282 defined. Use __syscall_ulong_t.
22283 (shminfo): Use __syscall_ulong_t.
22284 (shm_info): Likewise.
22285
a26b6856
L
22286 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22287 __syscall_ulong_t.
22288
cb2b9ef7
L
22289 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22290 <bits/wordsize.h>.
22291 (msgqnum_t): Use __syscall_ulong_t.
22292 (msglen_t): Likewise.
22293 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22294 __syscall_ulong_t.
22295
34683bb0
L
22296 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22297 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22298
84a68786
L
22299 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22300
48baa5f1
L
22301 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22302 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22303
180be88b
L
22304 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22305 __syscall_slong_t.
22306
5e90c8ad
L
22307 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22308 include <bits/wordsize.h>. Check __x86_64__ instead of
22309 __WORDSIZE.
22310
23dfb58b
L
22311 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22312 "unsigned long long int" if __x86_64__ is defined.
22313 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22314
ce5d54b0
L
22315 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22316 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22317 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22318
13dc9eac
L
22319 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22320 <stdint.h>.
22321 (GET_PC): Cast to uintptr_t first.
22322 (GET_FRAME): Likewise.
22323 (GET_STACK): Likewise.
22324
a7895d15
L
22325 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22326 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22327 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22328 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22329 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22330 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22331 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22332 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22333 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22334 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22335 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22336 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22337 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22338 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22339 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22340 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22341 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22342 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22343 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22344 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22345 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22346 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22347 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22348 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22349 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22350 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22351 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22352 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22353 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22354
656416c9
AS
223552012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22356
5bd66283
AS
22357 * Makerules (+depfiles): Also collect depfiles from .oS in
22358 $(extra-objs).
22359 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22360 .oS, $(libnldbl-routines)).
22361
656416c9
AS
22362 * Makerules (native-compile-mkdep-flags): Define.
22363 * sunrpc/Makefile (extra-objs): Add $(addprefix
22364 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22365 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22366 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22367 calling $(make-target-directory).
22368
a46f2169
L
223692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22370
22371 * bits/types.h (__snseconds_t): Removed.
22372 * time/time.h (struct timespec): Replace __snseconds_t with
22373 __syscall_slong_t.
22374 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22375 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22376 Likewise.
22377 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22378 (__SNSECONDS_T_TYPE): Likewise.
22379 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22380 (__SNSECONDS_T_TYPE): Likewise.
22381 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22382 (__SNSECONDS_T_TYPE): Likewise.
22383
6af6528b
L
223842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22385
22386 * sysdeps/mach/hurd/bits/typesizes.h
22387 (__SYSCALL_SLONG_TYPE): New macro.
22388 (__SYSCALL_ULONG_TYPE): Likewise.
22389
de986b56
L
223902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22391
22392 * bits/types.h (__syscall_slong_t): New type.
22393 (__syscall_ulong_t): Likewise.
22394
22395 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22396 (__SYSCALL_ULONG_TYPE): Likewise.
22397 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22398 (__SYSCALL_SLONG_TYPE): Likewise.
22399 (__SYSCALL_ULONG_TYPE): Likewise.
22400 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22401 (__SYSCALL_SLONG_TYPE): Likewise.
22402 (__SYSCALL_ULONG_TYPE): Likewise.
22403 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22404 (__SYSCALL_SLONG_TYPE): Likewise.
22405 (__SYSCALL_ULONG_TYPE): Likewise.
22406
85736dc7
L
224072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22408
22409 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22410 Add sigaltstack-offsets.sym.
22411 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22412 <sigaltstack-offsets.h>.
22413 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22414 longjmp_msg pointer.
22415 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22416 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22417 signal stack.
22418 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22419
cc03b296
JM
224202012-05-15 Joseph Myers <joseph@codesourcery.com>
22421
a9538892
JM
22422 * elf/stackguard-macros.h: Remove file.
22423 * sysdeps/generic/stackguard-macros.h: New file.
22424 * sysdeps/i386/stackguard-macros.h: Likewise.
22425 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22426 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22427 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22428 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22429 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22430 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22431 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22432 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22433 <elf/stackguard-macros.h>.
22434
cc03b296
JM
22435 [BZ #14109]
22436 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22437 __aligned__ in attribute.
22438 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22439 (gregset_t): Likewise.
22440
93171016
L
224412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22442
22443 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22444 * sysdeps/x86_64/64/Implies-after: Here. New file.
22445 * sysdeps/x86_64/x32/Implies-after: New file.
22446
d86813a0
L
224472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22448
22449 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22450 and access return value for _dl_profile_fixup. Use R10_LP to
22451 load frame size.
22452
2953ec75
L
224532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22454
22455 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22456
3b550e9e
L
224572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22458
22459 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22460 * sysdeps/x86_64/x32/sysdep.h: New file.
22461
eda41706
L
224622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22463
22464 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22465 * sysdeps/x86_64/setjmp.S: Likewise.
22466
9ea01d93
AZ
224672012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22468
22469 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22470 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22471 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22472 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22473 remove unused global constant.
22474
02a91938
CM
224752012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22476
22477 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22478 include of <not-cancel.h>.
22479
6540185f
RM
224802012-05-15 Roland McGrath <roland@hack.frob.com>
22481
22482 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22483
509072a0
AJ
224842012-05-15 Jeff Law <law@redhat.com>
22485 Andreas Jaeger <aj@suse.de>
22486
22487 [BZ #13594]
22488 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22489 out from...
22490 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22491 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22492 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22493 code changing __hst_map_handle.map.
22494
ba75122d
RM
224952012-05-15 Roland McGrath <roland@hack.frob.com>
22496
22497 * configure.in (sysnames): Look for Implies-before and Implies-after
22498 files.
22499 * configure: Regenerated.
22500
890d8bd8
L
225012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22502
22503 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22504 8-byte data alignment with LP_SIZE alignment.
22505
f6ee6623
L
225062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22507
22508 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22509 into R10_LP.
22510
ea2626f6
L
225112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22512
22513 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22514
085f715e
L
225152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22516
22517 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22518 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22519 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22520 Likewise.
22521 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22522
be8498fc
L
225232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22524
22525 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22526 (stackinfo_sub_sp): Likewise.
22527
70bc83b9
L
225282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22529
22530 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22531 RAX_LP.
22532
9bc0b730
L
225332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22534
22535 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22536 into R*_LP.
22537
6d2850e7
L
225382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22539
22540 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22541 sizes into R*_LP.
22542
3cb84561
L
225432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22544
22545 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22546
54e2ed81
L
225472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22548
22549 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22550 into R11_LP and load __x86_64_shared_cache_size_half into
22551 R8_LP.
22552
8a17f349
L
225532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22554
22555 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22556 R8_LP.
22557
777b1eea
AZ
225582012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22559
22560 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22561 logb for POWER7.
22562 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22563 logbf for POWER7.
22564 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22565 logbl for POWER7.
22566 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22567 powerpc32/power7/fpu/s_logb.c via #include.
22568 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22569 powerpc32/power7/fpu/s_logbf.c via #include.
22570 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22571 powerpc32/power7/fpu/s_logbl.c via #include.
22572
d20d4ac2
JM
225732012-05-15 Joseph Myers <joseph@codesourcery.com>
22574
22575 * README.libm: Remove file.
22576
6cdef1ab
L
225772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22578
22579 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22580 count for x32. Use R*_LP and omit operand-size suffix.
22581
0b254d8f
L
225822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22583
22584 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22585 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22586 * sysdeps/x86_64/x32/shlib-versions: New file.
22587
ceb809dc
RM
225882012-05-14 Roland McGrath <roland@hack.frob.com>
22589
22590 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22591 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22592 Use _dl_fatal_printf instead.
22593
37f1abd4
JM
225942012-05-14 Joseph Myers <joseph@codesourcery.com>
22595
22596 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22597 set if not set by the user. Do not allow for being unset.
22598 * sysdeps/unix/sysv/linux/configure: Regenerated.
22599
11de3a33
L
226002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22601
22602 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22603 the `q' suffix from lea and replace .quad with ASM_ADDR.
22604
e02f153a
L
226052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22606
22607 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22608 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22609 instead of $17.
22610 (PTR_DEMANGLE): Likewise.
22611
520ae0fd
L
226122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22613
22614 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22615 (LP_OP): Likewise.
22616 (ASM_ADDR): Likewise.
22617 (RAX_LP): Likewise.
22618 (RBP_LP): Likewise.
22619 (RBX_LP): Likewise.
22620 (RCX_LP): Likewise.
22621 (RDI_LP): Likewise.
22622 (RSI_LP): Likewise.
22623 (RSP_LP): Likewise.
22624 (R8_LP): Likewise.
22625 (R9_LP): Likewise.
22626 (R10_LP): Likewise.
22627 (R10_LP): Likewise.
22628 (R11_LP): Likewise.
22629 (R12_LP): Likewise.
22630 (R13_LP): Likewise.
22631 (R14_LP): Likewise.
22632 (R15_LP): Likewise.
22633
b985be81
L
226342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22635
22636 * sysdeps/x86_64/x32/dl-machine.h: New file.
22637
6a4888ff
AJ
226382012-05-14 Andreas Jaeger <aj@suse.de>
22639
22640 * manual/Makefile (subdir): Remove export of subdir.
22641 (all): Remove target.
22642 (.PHONY): Remove all from list.
22643 (mkinstalldirs): Remove.
22644 (.PHONY): Remove installdirs from list.
22645 ($(inst_infodir)/libc.info): Use make-target-directory.
22646 (installdirs): Remove.
22647 (subdir_%): Remove.
22648 (glibc-targets): Remove.
22649 (lib): Remove.
22650 (stubs): Remove.
22651 ($(objpfx)stubs ../po/manual.pot): Remove.
22652 ($(objpfx)stamp%): Remove.
22653 (make-target-directory): Remove.
22654 (subdir_install): Remove.
22655 (routines): Remove.
22656 (aux): Remove.
22657 (sources): Remove.
22658 (objects): Remove.
22659 (headers): Remove.
22660
22661 [BZ #13750]
22662 * manual/.gitignore: Remove, it's not needed anymore.
22663 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22664 all files in it.
22665 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22666 directory.
22667 (texis): Renamed to $(objpfx)texis.
22668 (texis-path): New, contains path to generated files.
22669 (chapters.%): Use texis-path for complete path, add extra argument
22670 libc-texinfo.sh.
22671 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22672 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22673 (summary,texi, stamp-summary): Use complete path of
22674 files. Generate files in build dir.
22675 (dir-add.texi): Build in build dir.
22676 (libm-err.texi,stamp-libm-err): Likewise.
22677 (version.texi, stamp-version): Likewise.
22678 (.%c.texi): Likewise.
22679 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22680 (mostlyclean): Remove target.
22681 (realclean): Remove target.
22682 (generated): Add new variable with contents from mostlyclean and
22683 realclean, remove entries duplicated in common-mostlyclean, add
22684 stamp-libm-err and stamp-version.
22685 (generated-dirs): Add libc directory.
22686 ($(inst_infodir)/libc.info): Install files from build dir.
22687
22688 * manual/install.texi (Configuring and compiling): Adjust since
22689 the info files are not part of the tar ball anymore.
22690
7ac77294
AJ
226912012-05-14 Andreas Jaeger <aj@suse.de>
22692
22693 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22694 variable.
22695
ffb7875d
JM
226962012-05-14 Joseph Myers <joseph@codesourcery.com>
22697
22698 [BZ #13717]
22699 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22700 to 2.2.0 where earlier.
22701 * sysdeps/unix/sysv/linux/configure: Regenerated.
22702 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22703 Remove conditional code.
22704 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22705 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22706 Remove conditional code.
22707 [!__NR_lchown]: Likewise.
22708 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22709 [__NR_lchown]: Likewise.
22710 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22711 comment referencing __ASSUME_LCHOWN_SYSCALL.
22712 * sysdeps/unix/sysv/linux/i386/sigaction.c
22713 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22714 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22715 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22716 Remove conditional code.
22717 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22718 (__protocol_available): Remove #if 0 code.
22719 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22720 conditional code.
22721 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22722 * sysdeps/unix/sysv/linux/kernel-features.h
22723 (__ASSUME_GETCWD_SYSCALL): Don't define.
22724 (__ASSUME_REALTIME_SIGNALS): Likewise.
22725 (__ASSUME_PREAD_SYSCALL): Likewise.
22726 (__ASSUME_PWRITE_SYSCALL): Likewise.
22727 (__ASSUME_POLL_SYSCALL): Likewise.
22728 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22729 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22730 non-SPARC.
22731 (__ASSUME_SIOCGIFNAME): Don't define.
22732 (__ASSUME_MSG_NOSIGNAL): Likewise.
22733 (__ASSUME_SENDFILE): Define unconditionally.
22734 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22735 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22736 conditional code.
22737 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22738 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22739 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22740 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22741 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22742 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22743 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22745 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22746 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22748 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22749 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22751 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22752 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22754 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22755 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22757 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22758 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22760 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22761 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22763 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22764 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22766 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22767 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22768 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22769 Remove conditional code.
22770 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22771 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22772 Remove conditional code.
22773 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22774 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22775 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22776 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22777 Remove conditional code.
22778 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22779 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22780 Remove conditional code.
22781 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22782 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22783 Remove conditional code.
22784 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22785 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22786 Remove conditional code.
22787 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22788 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22789 Remove conditional code.
22790 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22791 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22792 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22793 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22794 * sysdeps/unix/sysv/linux/sigaction.c
22795 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22796 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22797 * sysdeps/unix/sysv/linux/sigpending.c
22798 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22799 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22800 * sysdeps/unix/sysv/linux/sigprocmask.c
22801 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22802 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22803 * sysdeps/unix/sysv/linux/sigsuspend.c
22804 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22805 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22806 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22807 (__libc_missing_rt_sigs): Remove.
22808 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22809 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22810 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22811 Remove conditional code.
22812 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22813 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22814 return 1.
22815 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22816 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22817 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22818 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22819
1bfb7291
AJ
228202012-05-14 Andreas Jaeger <aj@suse.de>
22821
caae5a81
AJ
22822 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22823 it's not used in glibc.
22824 (__coshm1): Likewise.
22825 (__acosh1p): Likewise.
22826 (__sgn): Likewise.
22827
1bfb7291
AJ
22828 * manual/string.texi (Copying and Concatenation): Add missing
22829 variable in concat example.
22830 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22831
c044d724
L
228322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22833
144c5467 22834 [BZ #14103]
c044d724
L
22835 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22836 __builtin_clzl with __builtin_clzll.
22837
2523c62b
L
228382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22839
22840 [BZ #14104]
22841 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22842 libc_freeres_ptr.
22843
d7bb4c42
LD
228442012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22845
22846 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22847 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22848 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22849 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22850
9dc4e1fb
MF
228512012-05-14 Mike Frysinger <vapier@gentoo.org>
22852
22853 * NEWS: Update ia64 info.
22854
c7df0112
AS
228552012-05-12 Andreas Schwab <schwab@linux-m68k.org>
22856
22857 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22858 used as bcopy.
22859
dc70356c
TS
228602012-05-12 Thomas Schwinge <thomas@codesourcery.com>
22861
22862 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22863 * sysdeps/unix/syscalls.list (dup3): Likewise.
22864 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22865 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22866
9fb1a21f
L
228672012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22868
22869 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22870 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22871
4822a2a5
L
228722012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22873
22874 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22875 thread pointer.
22876 (TLS_IE): Use mov/add instead of movq/addq to load thread
22877 pointer.
22878 (TLS_GD_PREFIX): New.
22879 (TLS_GD): Use it.
22880
842b81d6
DM
228812012-05-11 David S. Miller <davem@davemloft.net>
22882
22883 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22884 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22885 (_FPU_SETCW): Likewise.
22886
1cf463cd
L
228872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22888
22889 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22890 is 32-byte aligned.
22891
60cc4a18
AS
228922012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22893
22894 [BZ #11837]
22895 * iconvdata/gb18030.c: Update tables.
22896 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
22897 characters specially.
22898 (BODY for TO_LOOP): Add encoding of missing ranges.
22899
febb44a4
TS
229002012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22901
22902 [BZ #13673]
22903 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22904 * sysdeps/mach/hurd/dup3.c: Likewise.
22905 * sysdeps/mach/hurd/readlinkat.c: Likewise.
22906 * sysdeps/powerpc/memmove.c:: Likewise.
22907
0a10fb9e
L
229082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22909
22910 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22911 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22912
df8a552f
L
229132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22914
22915 * elf/elf.h (R_X86_64_RELATIVE64): New.
22916 (R_X86_64_NUM): Updated.
22917 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22918 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22919 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22920 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22921 tst-quad1pie tst-quad2pie
22922 (modules-names): Add tst-quadmod1 tst-quadmod2.
22923 ($(objpfx)tst-quad1): New dependency.
22924 ($(objpfx)tst-quad2): Likewise.
22925 ($(objpfx)tst-quad1pie): Likewise.
22926 ($(objpfx)tst-quad2pie): Likewise.
22927 * sysdeps/x86_64/tst-quad1.c: New file.
22928 * sysdeps/x86_64/tst-quad1pie.c: New file.
22929 * sysdeps/x86_64/tst-quad2.c: Likewise.
22930 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22931 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22932 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22933 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22934 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22935
f34d6f84
ST
229362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22937
f42d41d1
ST
22938 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22939 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22940 * streams/stropts.h (t_scalar_t): Define type.
22941
3c3571fc
ST
22942 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22943 (_PATH_PRESERVE): Set to "/var/lib".
22944 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22945
61f06bd3
ST
22946 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22947 instead of int.
22948
918d4d71
ST
22949 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22950 if __dir_mkfile succeeded.
22951
f34d6f84
ST
22952 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22953 checking for _hurd_dtablesize. Unlock it right after having
22954 finished _hurd_dtable allocation.
22955
10589b4a
TS
229562012-05-10 Thomas Schwinge <thomas@schwinge.name>
22957
674cdbc7
TS
22958 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22959 * sysdeps/mach/hurd/configure: Regenerated.
22960 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22961 special-casing to...
22962 * sysdeps/gnu/configure.in: ... this new file.
22963 * sysdeps/unix/sysv/linux/configure: Regenerated.
22964 * sysdeps/gnu/configure: New generated file.
22965
8e41b99f
TS
22966 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22967 for Linux: use nsec instead of usec, as well as:
22968 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22969 members of type struct timespec.
22970 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22971 New macros.
22972 (struct stat64): Likewise.
22973 (_STATBUF_ST_NSEC): New macro.
22974 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22975
10589b4a
TS
22976 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22977 __strtoul_internal rather than strtoul.
22978
63643c85
PT
229792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22980
22981 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22982 and reject them.
22983
3faebe6a
ST
229842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22985
22986 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22987 which preserves existing values.
22988 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22989
c6474b07
PT
229902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22991
22992 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22993 TIMEOUT values. Return EINVAL for NFDS values either negative or
22994 greater than FD_SETSIZE.
22995
1043890b
ST
229962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22997
22998 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22999 allocated, call __vm_protect to finish enabling the existing space, and
23000 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23001 allocate the remainder.
23002
37ed8b9b
PT
230032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23004
23005 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23006 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23007
db653660
ST
230082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23009
37ed8b9b
PT
23010 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23011 sysdeps/mach/hurd/readlink.c.
b29d4053 23012
db653660
ST
23013 * posix/tst-sysconf.c (posix_options): Only use
23014 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23015 _POSIX_SYNCHRONIZED_IO when they are defined
23016 * sysdeps/mach/hurd/bits/posix_opt.h:
23017 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23018 (_XOPEN_REALTIME): Undefine macro.
23019 (_XOPEN_REALTIME_THREADS): Undefine macro.
23020 (_XOPEN_SHM): Undefine macro.
23021 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23022 macro to -1.
23023 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23024 macro to -1.
23025 (_POSIX_ASYNC_IO): Undefine macro.
23026 (_POSIX_PRIORITIZED_IO): Undefine macro.
23027 (_POSIX_SPIN_LOCKS): Define macro to -1.
23028
ee16e894
ST
23029 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23030 SA_NODEFER, SA_RESETHAND.
23031 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23032 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23033 F_DUPFD_CLOEXEC.
23034
6103ae3b
TS
230352012-05-10 Thomas Schwinge <thomas@schwinge.name>
23036
23037 * elf/Makefile (pldd-modules): Define unconditionally.
23038
80b4e5f3
TS
230392012-05-10 Thomas Schwinge <thomas@schwinge.name>
23040
23041 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23042
edadcbd6
ST
230432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23044
23045 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23046 Return ENOENT when name is empty.
23047 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23048
80694780
TS
230492012-05-10 Thomas Schwinge <thomas@schwinge.name>
23050
1792c087
TS
23051 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23052
80694780
TS
23053 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23054
6b645f0d
ST
230552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23056
80694780
TS
23057 Fix mlock in all cases except non-readable pages.
23058 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23059 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 23060
6b645f0d
ST
23061 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23062 (__mkdir): When path is `/', just fail with EEXIST.
23063 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23064
e468f8a3
TS
230652012-05-10 Thomas Schwinge <thomas@schwinge.name>
23066
23067 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23068 <sys/uio.h> (for writev).
23069 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23070 and <sys/param.h> (for MIN).
23071
a4186cff
PT
230722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23073
23074 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23075 REQUESTED_TIME. Properly set the remaining time and return EINTR
23076 if interrupted.
23077
510bbf14
TS
230782012-05-10 Thomas Schwinge <thomas@schwinge.name>
23079
23080 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23081 Depend on against $(link-rpcuserlibs).
23082
5d5722e8
ST
230832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23084
a4186cff
PT
23085 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23086 (__libc_stack_end): Do not use attribute_relro.
23087 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23088 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 23089 to libthread-provided value.
a4186cff
PT
23090 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23091 attribute_relro.
5d5722e8 23092
37233df9
TS
230932012-05-10 Thomas Schwinge <thomas@schwinge.name>
23094
be971a2b
TS
23095 [BZ #3748]
23096 * bits/libc-lock.h (__libc_once_get): New macro.
23097 * sysdeps/mach/bits/libc-lock.h: Likewise.
23098 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23099 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23100 instead of using implementation details.
23101
37233df9
TS
23102 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23103 * libio/freopen.c: Likewise.
23104 * libio/freopen64.c: Likewise.
23105 * misc/syslog.c: Likewise.
23106 * nscd/connections.c: Likewise.
23107 * nscd/netgroupcache.c: Likewise.
23108 * sysdeps/posix/getcwd.c: Likewise.
23109
38de94a5
RM
231102012-05-10 Roland McGrath <roland@hack.frob.com>
23111
23112 * math/w_ilogbf.c: Add #include <limits.h>.
23113
67530489
ST
231142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23115
a4186cff 23116 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
23117 path instead of returning without unlocking.
23118
67530489
ST
23119 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23120 immediate-write ioctls.
23121 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23122
5aa3a74a
TS
231232012-05-10 Thomas Schwinge <thomas@schwinge.name>
23124
18bad2ae
TS
23125 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23126 __builtin_frame_address instead of making assumptions about the
23127 location of the return address relative to DATA. Force early load of
23128 the return address.
23129 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23130 __builtin_frame_address.
23131
5aa3a74a
TS
23132 dup3 for GNU Hurd.
23133 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23134 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23135 implement dup3 and do some further code clean-ups.
23136 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23137 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23138
ecd0de9a
ST
231392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23140
cd9fa985
ST
23141 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23142
a4186cff
PT
23143 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23144 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23145 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23146 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23147 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23148 d->port.lock.
802ca5a5 23149
a4186cff
PT
23150 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23151 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23152 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 23153
bcf55240
TS
231542012-05-10 Thomas Schwinge <thomas@schwinge.name>
23155
6960eb42
TS
23156 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23157 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23158 definitions.
23159
eb43375f
TS
23160 accept4 for GNU Hurd.
23161 * include/sys/socket.h (__libc_accept4): New prototype.
23162 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23163 to implement __libc_accept4.
23164 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23165 __libc_accept4.
23166 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23167
bcf55240
TS
23168 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23169 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23170 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23171 signal-defines.sym.
23172
6178c55b
ST
231732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23174
a4186cff 23175 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 23176
6f080c2f
TS
231772012-05-10 Thomas Schwinge <thomas@schwinge.name>
23178
23179 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23180 assertion on O_CLOEXEC flag.
23181 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23182 * hurd/intern-fd.c: Likewise.
23183 * hurd/port2fd.c: Likewise.
23184
bcfe3a54
ST
231852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23186
23187 [BZ #3906]
23188 * bits/in.h (IPV6_PKTINFO): Define new macro.
23189 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23190
89c9aa49
AZ
231912012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23192
23193 [BZ #13954]
23194 [BZ #13955]
23195 [BZ #13956]
23196 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23197 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23198 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23199 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23200 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23201 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23202 * math/libm-test.inc (logb_test) : Additional logb tests.
23203
021db4be
AJ
232042012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23205 Andreas Jaeger <aj@suse.de>
23206
23207 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23208 * configure: Regenerated.
23209 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23210 * config.make.in (link-obsolete-rpc): New substituted variable.
23211 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23212 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23213 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23214 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23215 so that libc.a contains the symbols.
23216 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23217 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23218 * sunrpc/auth_none.c: Likewise.
23219 * sunrpc/auth_unix.c: Likewise.
23220 * sunrpc/authdes_prot.c: Likewise.
23221 * sunrpc/authuxprot.c: Likewise.
23222 * sunrpc/clnt_gen.c: Likewise.
23223 * sunrpc/clnt_perr.c: Likewise.
23224 * sunrpc/clnt_raw.c: Likewise.
23225 * sunrpc/clnt_simp.c: Likewise.
23226 * sunrpc/clnt_tcp.c: Likewise.
23227 * sunrpc/clnt_udp.c: Likewise.
23228 * sunrpc/clnt_unix.c: Likewise.
23229 * sunrpc/des_crypt.c: Likewise.
23230 * sunrpc/des_soft.c: Likewise.
23231 * sunrpc/get_myaddr.c: Likewise.
23232 * sunrpc/key_call.c: Likewise.
23233 * sunrpc/key_prot.c: Likewise.
23234 * sunrpc/netname.c: Likewise.
23235 * sunrpc/pm_getmaps.c: Likewise.
23236 * sunrpc/pm_getport.c: Likewise.
23237 * sunrpc/pmap_clnt.c: Likewise.
23238 * sunrpc/pmap_prot.c: Likewise.
23239 * sunrpc/pmap_prot2.c: Likewise.
23240 * sunrpc/pmap_rmt.c: Likewise.
23241 * sunrpc/publickey.c: Likewise.
23242 * sunrpc/rpc_cmsg.c: Likewise.
23243 * sunrpc/rpc_common.c: Likewise.
23244 * sunrpc/rpc_dtable.c: Likewise.
23245 * sunrpc/rpc_prot.c: Likewise.
23246 * sunrpc/rpc_thread.c: Likewise.
23247 * sunrpc/rtime.c: Likewise.
23248 * sunrpc/svc.c: Likewise.
23249 * sunrpc/svc_auth.c: Likewise.
23250 * sunrpc/svc_raw.c: Likewise.
23251 * sunrpc/svc_run.c: Likewise.
23252 * sunrpc/svc_tcp.c: Likewise.
23253 * sunrpc/svc_udp.c: Likewise.
23254 * sunrpc/svc_unix.c: Likewise.
23255 * sunrpc/svcauth_des.c: Likewise.
23256 * sunrpc/xcrypt.c: Likewise.
23257 * sunrpc/xdr.c: Likewise.
23258 * sunrpc/xdr_array.c: Likewise.
23259 * sunrpc/xdr_float.c: Likewise.
23260 * sunrpc/xdr_intXX_t.c: Likewise.
23261 * sunrpc/xdr_mem.c: Likewise.
23262 * sunrpc/xdr_rec.c: Likewise.
23263 * sunrpc/xdr_ref.c: Likewise.
23264 * sunrpc/xdr_sizeof.c: Likewise.
23265 * sunrpc/xdr_stdio.c: Likewise.
23266
b5c086a2
RM
232672012-05-10 Roland McGrath <roland@hack.frob.com>
23268
23269 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23270 change. Update copyright years.
23271
6d74dd09
JM
232722012-05-10 Joseph Myers <joseph@codesourcery.com>
23273
23274 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23275
28e72501
MK
232762012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23277 Joseph Myers <joseph@codesourcery.com>
23278 Paul Pluzhnikov <ppluzhnikov@google.com>
23279
23280 [BZ #14012]
23281 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23282 requiring rpcgen.
23283 [cross-compiling] (extra-libs): Likewise.
23284 [cross-compiling] (extra-libs-others): Likewise.
23285 [cross-compiling] (librpcsvc-routines): Likewise.
23286 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23287 [cross-compiling] (omit-deps): Likewise.
23288 (sunrpc-CPPFLAGS): New variable.
23289 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23290 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23291 (cross-rpcgen-objs): New variable.
23292 (extra-objs): Append $(cross-rpcgen-objs).
23293 ($(cross-rpcgen-objs)): New rule.
23294 ($(objpfx)cross-rpcgen): Likewise.
23295 (rpcgen-cmd): Define to use $(built-program-file). Expand
23296 comment.
23297 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23298 ($(objpfx)x%.stmp): Likewise.
23299 * sunrpc/proto.h [IS_IN_build] (_): Define.
23300 [IS_IN_build] (_libc_intl_domainname): Likewise.
23301
c8c59454
L
233022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23303
23304 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23305 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23306 and R_X86_64_TPOFF64.
23307
6f27cd16
JM
233082012-05-10 Joseph Myers <joseph@codesourcery.com>
23309
23310 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23311 sysdeps/unix/sysv/syscalls.list.
23312 (stime): Likewise.
23313 (utime): Likewise.
23314 * sysdeps/unix/sysv/syscalls.list: Remove file.
23315
02467e1c
PE
233162012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23317
23318 [BZ #3440]
23319 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23320 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23321 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23322 (__LC_IDENTIFICATION): Make these macros useful in #if
23323 expressions, as required by C99.
23324
da392631
AS
233252012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23326
23327 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23328 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23329 after this.
23330
8115f29b
L
233312012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23332
23333 * stdlib/longlong.h: Updated from GCC.
23334
bdd74070
AJ
233352012-05-09 Andreas Jaeger <aj@suse.de>
23336
edfe0dbe
AJ
23337 * nscd/nscd.c (run_modes): Make named enum, reorder so that
23338 default is first entry.
23339 (run_mode): Set type.
23340 (main): Remove informal message about syslog.
23341 (options): Fix typo.
23342
bcfe3a54
ST
23343 [BZ #14053]
23344 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 23345 to asm.
bcfe3a54
ST
23346 (lrint): Likewise.
23347 (llrintf): Likewise.
23348 (llrint): Likewise.
23349 (rint): Likewise.
23350 (rintf): Likewise.
23351 (nearbyint): Likewise.
23352 (nearbyintf): Likewise.
bdd74070 23353
91d8d69e
AJ
233542012-05-09 Andreas Jaeger <aj@suse.de>
23355 Pedro Alves <palves@redhat.com>
23356
23357 * nscd/nscd.c (run_mode): Use enum.
23358 (main): Cleanup coding style issue.
23359
bb90b80b
AJ
233602012-05-09 Alexandre Oliva <aoliva@redhat.com>
23361 Andreas Jaeger <aj@suse.de>
23362
bcfe3a54
ST
23363 * nscd/nscd.c (go_background): Replaced with...
23364 (run_mode): ... this.
bb90b80b 23365 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
23366 (options): Add -F --foreground.
23367 (main): Implement it.
23368 (parse_opt): Parse it.
bb90b80b 23369
1a4b75a1
AJ
233702012-05-09 Andreas Jaeger <aj@suse.de>
23371
23372 [BZ #14083]
23373 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23374 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23375 -Wconversion warning.
23376 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23377 Likewise.
23378
b1cc2472
JM
233792012-05-09 Joseph Myers <joseph@codesourcery.com>
23380
23381 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23382 == 0.
23383 (LC_ALL): Use macro-int-constant.
23384 (LC_COLLATE): Likewise.
23385 (LC_CTYPE): Likewise.
23386 (LC_MESSAGES): Likewise.
23387 (LC_MONETARY): Likewise.
23388 (LC_NUMERIC): Likewise.
23389 (LC_TIME): Likewise.
23390 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23391 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23392 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23393 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23394 Specify type.
23395 [C99-based standards] (float_t): Expect type.
23396 [C99-based standards] (double_t): Expect type.
23397 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23398 type.
23399 [C99-based standards] (HUGE_VALL): Likewise.
23400 [C99-based standards] (INFINITY): Likewise.
23401 [C99-based standards] (NAN): Likewise.
23402 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23403 [C99-based standards] (FP_NAN): Likewise.
23404 [C99-based standards] (FP_NORMAL): Likewise.
23405 [C99-based standards] (FP_SUBNORMAL): Likewise.
23406 [C99-based standards] (FP_ZERO): Likewise.
23407 [C99-based standards] (FP_FAST_FMA): Use
23408 optional-macro-int-constant. Specify type. Require == 1.
23409 [C99-based standards] (FP_FAST_FMAF): Likewise.
23410 [C99-based standards] (FP_FAST_FMAL): Likewise.
23411 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23412 [C99-based standards] (FP_ILOGBNAN): Likewise.
23413 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23414 Specify type.
23415 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23416 [C99-based standards] (math_errhandling): Specify type.
23417 [ISO99 || ISO11] (signgam): Do not allow.
23418 [non-C99-based standards] (copysignf): Do not allow.
23419 [non-C99-based standards] (exp2f): Likewise.
23420 [non-C99-based standards] (log2f): Likewise.
23421 [non-C99-based standards] (modff): Allow.
23422 [non-C99-based standards] (erff): Do not allow.
23423 [non-C99-based standards] (erfcf): Likewise.
23424 [non-C99-based standards] (gammaf): Likewise.
23425 [non-C99-based standards] (hypotf): Likewise.
23426 [non-C99-based standards] (j0f): Likewise.
23427 [non-C99-based standards] (j1f): Likewise.
23428 [non-C99-based standards] (jnf): Likewise.
23429 [non-C99-based standards] (lgammaf): Likewise.
23430 [non-C99-based standards] (tgammaf): Likewise.
23431 [non-C99-based standards] (y0f): Likewise.
23432 [non-C99-based standards] (y1f): Likewise.
23433 [non-C99-based standards] (ynf): Likewise.
23434 [non-C99-based standards] (isnanf): Likewise.
23435 [non-C99-based standards] (acoshf): Likewise.
23436 [non-C99-based standards] (asinhf): Likewise.
23437 [non-C99-based standards] (atanhf): Likewise.
23438 [non-C99-based standards] (cbrtf): Likewise.
23439 [non-C99-based standards] (expm1f): Likewise.
23440 [non-C99-based standards] (ilogbf): Likewise.
23441 [non-C99-based standards] (log1pf): Likewise.
23442 [non-C99-based standards] (logbf): Likewise.
23443 [non-C99-based standards] (nextafterf): Likewise.
23444 [non-C99-based standards] (remainderf): Likewise.
23445 [non-C99-based standards] (rintf): Likewise.
23446 [non-C99-based standards] (scalbf): Likewise.
23447 [non-C99-based standards] (copysignl): Likewise.
23448 [non-C99-based standards] (exp2l): Likewise.
23449 [non-C99-based standards] (log2l): Likewise.
23450 [non-C99-based standards] (modfl): Allow.
23451 [non-C99-based standards] (erfl): Do not allow.
23452 [non-C99-based standards] (erfcl): Likewise.
23453 [non-C99-based standards] (gammal): Likewise.
23454 [non-C99-based standards] (hypotl): Likewise.
23455 [non-C99-based standards] (j0l): Likewise.
23456 [non-C99-based standards] (j1l): Likewise.
23457 [non-C99-based standards] (jnl): Likewise.
23458 [non-C99-based standards] (lgammal): Likewise.
23459 [non-C99-based standards] (tgammal): Likewise.
23460 [non-C99-based standards] (y0l): Likewise.
23461 [non-C99-based standards] (y1l): Likewise.
23462 [non-C99-based standards] (ynl): Likewise.
23463 [non-C99-based standards] (isnanl): Likewise.
23464 [non-C99-based standards] (acoshl): Likewise.
23465 [non-C99-based standards] (asinhl): Likewise.
23466 [non-C99-based standards] (atanhl): Likewise.
23467 [non-C99-based standards] (cbrtl): Likewise.
23468 [non-C99-based standards] (expm1l): Likewise.
23469 [non-C99-based standards] (ilogbl): Likewise.
23470 [non-C99-based standards] (log1pl): Likewise.
23471 [non-C99-based standards] (logbl): Likewise.
23472 [non-C99-based standards] (nextafterl): Likewise.
23473 [non-C99-based standards] (remainderl): Likewise.
23474 [non-C99-based standards] (rintl): Likewise.
23475 [non-C99-based standards] (scalbl): Likewise.
23476 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23477 [non-C99-based standards] (FP_*): Do not allow.
23478 [C99-based standards] (FP_*): Change to
23479 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23480 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23481 allow.
23482 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23483 (SIG_ERR): Likewise.
23484 [X/Open-based standards] (SIG_HOLD): Likewise.
23485 (SIG_IGN): Likewise.
23486 (SIGABRT): Use macro-int-constant. Specify type. Require
23487 positive value.
23488 (SIGFPE): Likewise.
23489 (SIGILL): Likewise.
23490 (SIGINT): Likewise.
23491 (SIGSEGV): Likewise.
23492 (SIGTER): Likewise.
23493 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23494 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23495 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23496 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23497 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23498 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23499 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23500 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23501 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23502 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23503 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23504 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23505 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23506 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23507 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23508 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23509 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23510 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23511 [X/Open-based standards] (SIGTRAP): Likewise.
23512 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23513 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23514 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23515 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23516 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23517 allow.
23518
b9f1922d
IW
235192012-05-08 Ian Wienand <ianw@vmware.com>
23520
23521 [BZ #14080]
23522 * time/tzset.c (__tzset_parse_tz): Update default rules for
23523 daylight time changes in the Energy Policy Act of 2005.
23524
1db86e88
AJ
235252012-05-09 Andreas Jaeger <aj@suse.de>
23526
23527 [BZ #13983]
23528 * elf/ldconfig.c (parse_conf): Change string to make clear that
23529 ldconfig only issued a warning if ld.so.conf does not exist.
23530
dee4a4e3
DM
235312012-05-08 David S. Miller <davem@davemloft.net>
23532
ee0db190
DM
23533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23534 movxtod instead of popping the value on the stack.
23535
dee4a4e3
DM
23536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23537
6a43ec98
CD
235382012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23539
23540 * config.h.in: Add HAVE_ARM_PCS_VFP.
23541
05c2c961
RMG
235422012-05-08 Roland Mc Grath <roland@hack.frob.com>
23543
bcfe3a54
ST
23544 [BZ #13979]
23545 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23546 checking but the checks are disabled for any reason.
05c2c961 23547
4b30f61a
L
235482012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23549
23550 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23551 and ELF64_R_TYPE with ELFW(R_TYPE).
23552
eee2bc67
JM
235532012-05-08 Joseph Myers <joseph@codesourcery.com>
23554
7ea5391a
JM
23555 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23556 (ulimit): Likewise.
23557
eee2bc67
JM
23558 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23559 (settimeofday): Likewise.
23560
abb66a67
MF
235612012-05-08 Mike Frysinger <vapier@gentoo.org>
23562
23563 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
23564 a struct th_u2 inside the union, and move tu_block/tu_code into
23565 a new th_u3 union of tu_block/tu_code inside of that. Move
23566 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
23567 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
23568 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23569 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23570 (th_stuff): Change to th_u1.tu_stuff.
23571 (th_data): Define.
23572 (th_msg): Change to th_u1.th_u2.tu_data.
23573
7f18b530
DM
235742012-05-07 David S. Miller <davem@davemloft.net>
23575
05760585
DM
23576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23577
7f18b530
DM
23578 [BZ #14074]
23579 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23580 (SETUP_PIC_REG): Use it.
23581 (SETUP_PIC_REG_LEAF): Use it.
23582
495fd99f
JM
235832012-05-07 Joseph Myers <joseph@codesourcery.com>
23584
23585 [BZ #13885]
23586 [BZ #13923]
23587 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23588 USE_AS_EXPM1L.
23589 (EXPL_FINITE): Likewise.
23590 (FLDLOG): Likewise.
23591 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23592 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23593 e_expl.S.
23594 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23595 USE_AS_EXPM1L.
23596 (EXPL_FINITE): Likewise.
23597 (FLDLOG): Likewise.
23598 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23599 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23600 e_expl.S.
23601 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23602 test of -max_value argument for long double.
23603 * sysdeps/i386/fpu/libm-test-ulps: Update.
23604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23605
6693d694
DM
236062012-05-06 David S. Miller <davem@davemloft.net>
23607
23608 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23609 quad soft-float symbols whose references which are compiler
23610 generated.
23611 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23612
6c23e11c
JM
236132012-05-06 Joseph Myers <joseph@codesourcery.com>
23614
d8b82cad
JM
23615 [BZ #13884]
23616 [BZ #13914]
23617 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23618 USE_AS_EXP10L.
23619 (EXPL_FINITE): Likewise.
23620 (FLDLOG): Likewise.
23621 (c0): Likewise.
23622 (c1): Likewise.
23623 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23624 Adjust comments for base varying.
23625 (__expl_finite): Change alias to EXPL_FINITE.
23626 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23627 e_expl.S.
23628 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23629 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23630 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23631 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23632 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23633 USE_AS_EXP10L.
23634 (EXPL_FINITE): Likewise.
23635 (FLDLOG): Likewise.
23636 (c0): Likewise.
23637 (c1): Likewise.
23638 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23639 Adjust comments for base varying.
23640 (__expl_finite): Change alias to EXPL_FINITE.
23641 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23642 tests for bugs.
23643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23644
6c23e11c
JM
23645 [BZ #14064]
23646 * math/libm-test.inc (check_float_internal): Correct ulp
23647 calculation for subnormal expected results.
23648
29ba805c
AJ
236492012-05-06 Andreas Jaeger <aj@suse.de>
23650
23651 * Makeconfig (+math-flags): New, set to -frounding-math.
23652 (+cflags): Add +math-flags so that all of glibc gets compiled with
23653 it.
23654
23655 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23656
7b17aeda
JM
236572012-05-05 Joseph Myers <joseph@codesourcery.com>
23658
5779f134
JM
23659 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23660 Disable one test.
23661
41498f4d
JM
23662 [BZ #13787]
23663 [BZ #13922]
23664 [BZ #14036]
23665 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23666 (__ieee754_expl): Allow for and saturate large arguments.
23667 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23668 (u_threshold): Likewise.
23669 (__exp): Call __ieee754_exp before checking for overflow and
23670 underflow.
23671 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23672 (u_threshold): Likewise.
23673 (__expf): Call __ieee754_expf before checking for overflow and
23674 underflow.
23675 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23676 (u_threshold): Likewise.
23677 (__expl): Call __ieee754_expl before checking for overflow and
23678 underflow.
23679 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23680 (__ieee754_expl): Allow for and saturate large arguments.
23681 * math/libm-test.inc (exp_test): Add another test. Do not allow
23682 missing overflow exception on overflow.
23683 (expm1_test): Do not allow missing overflow exception on overflow.
23684
6698b8bf
JM
23685 * sysdeps/i386/fpu/e_expl.c: Move to ...
23686 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23687 rather than using inline asm.
23688 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23689 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23690 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23691
7b17aeda
JM
23692 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23693 (nice): Likewise.
23694 (poll): Likewise.
23695 (signal): Likewise.
23696 (time): Likewise.
23697 (times): Likewise.
23698
f7c85819
JM
236992012-05-04 Joseph Myers <joseph@codesourcery.com>
23700
23701 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23702 sysdeps/unix/common/syscalls.list.
23703 (fchmod): Likewise.
23704 (fchown): Likewise.
23705 (ftruncate): Likewise.
23706 (getrusage): Likewise.
23707 (gettimeofday): Likewise.
23708 (setpgid): Likewise.
23709 (setregid): Likewise.
23710 (setreuid): Likewise.
23711 (sigaction): Likewise.
23712 (truncate): Likewise.
23713 (vhangup): Likewise.
23714 * sysdeps/unix/common/syscalls.list: Remove file.
23715 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23716 * sysdeps/unix/sysv/linux/Implies: Likewise.
23717
336270d0
L
237182012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23719
23720 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23722 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23723 Moved to ...
23724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23725 Here.
23726 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23727 to ...
23728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23729 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23730 to ...
23731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23732 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23733 to ...
23734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23735 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23736 to ...
23737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23738 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23739 to ...
23740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23741 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23742 to ...
23743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23744 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23745 to ...
23746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23747 Here.
23748 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23749 to ...
23750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23751 Here.
23752 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23753 to ...
23754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23755 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23756 Moved to ...
23757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23758 Here.
23759 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23760 to ...
23761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23762
d128e450
JM
237632012-05-04 Joseph Myers <joseph@codesourcery.com>
23764
fa8ee516
JM
23765 * sysdeps/unix/common/bits/dirent.h: Remove file.
23766 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23767
d128e450
JM
23768 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23769 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23770 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23771 * sysdeps/unix/bsd/isatty.c: Likewise.
23772 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23773 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23774 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23775
ff8faaf0 237762012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 23777
62881be4 23778 [BZ #13563]
31dc8730
AZ
23779 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23780 long double comparison inaccuracies.
23781 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23783
6fef930c
AS
237842012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23785
23786 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23787 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23788
8f203e6c
JM
237892012-05-04 Joseph Myers <joseph@codesourcery.com>
23790
23791 [BZ #14049]
23792 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23793 nonzero digits before rounding a hex value.
23794 * stdlib/tst-strtod.c (tests): Add another test.
23795
5197d9c2
AK
237962012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23797
23798 * sysdeps/s390/fpu/libm-test-ulps: Update.
23799
f0c1dedf
AJ
238002012-05-03 Andreas Jaeger <aj@suse.de>
23801
23802 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23803 does not get optimized out.
23804 (malloc_opt_barrier): New.
23805
a65ef2ae 238062012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 23807 Roland McGrath <roland@hack.frob.com>
a65ef2ae 23808
2b942cb7 23809 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 23810 intermediate file deletion.
2b942cb7 23811 (generated): Add .symlist files.
a65ef2ae 23812
54b71e02
JM
238132012-05-03 Joseph Myers <joseph@codesourcery.com>
23814
23815 [BZ #13775]
23816 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23817 Redirect under this condition.
23818 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23819 [__USE_GNU] (__dprintf_chk): Not under this condition.
23820 [__USE_GNU] (__vdprintf_chk): Likewise.
23821 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23822 under this condition.
23823 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23824 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23825 [__USE_XOPEN2K8] (vdprintf): Likewise.
23826 [__USE_GNU] (__dprintf_chk): Not under this condition.
23827 [__USE_GNU] (__vdprintf_chk): Likewise.
23828 [__USE_GNU] (dprintf): Likewise.
23829 [__USE_GNU] (vdprintf): Likewise.
23830
d3dfcc41
RM
238312012-05-03 Roland McGrath <roland@hack.frob.com>
23832
23833 * elf/Makefile (common-generated): Set this instead of generated for
23834 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23835 $(all-built-dso)-derived lists.
23836
7ac30cc5
AJ
238372012-05-03 Andreas Jaeger <aj@suse.de>
23838
0c51e550
AJ
23839 * sysdeps/i386/fpu/libm-test-ulps: Update.
23840
7ac30cc5
AJ
23841 * FAQ: Removed.
23842 * FAQ.in: Likewise.
23843 * scripts/gen-FAQ.pl: Likewise.
23844 * manual/install.texi (Installation): Point to online location of
23845 FAQ.
23846 * Makefile (files-for-dist): Remove FAQ.
23847 (FAQ): Remove.
23848
d4c2917f
AM
238492012-05-02 Allan McRae <allan@archlinux.org>
23850
23851 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23852 (LDFLAGS-reldepmod5.so): Likewise.
23853 (LDFLAGS-reldep6mod1.so): Likewise.
23854 (LDFLAGS-reldep6mod4.so): Likewise.
23855 (LDFLAGS-reldep8mod3.so): Likewise.
23856 (LDFLAGS-unload4mod1.so): Likewise.
23857 (LDFLAGS-unload4mod2.so): Likewise.
23858 (LDFLAGS-tst-initorder): Likewise.
23859 (LDFLAGS-tst-initordera2.so): Likewise.
23860 (LDFLAGS-tst-initordera3.so): Likewise.
23861 (LDFLAGS-tst-initordera4.so): Likewise.
23862 (LDFLAGS-tst-initorderb2.so): Likewise.
23863 (LDFLAGS-noload): Likewise.
23864 (LDFLAGS-next): Likewise.
23865 (LDFLAGS-order2mod1.so): Likewise.
23866 (LDFLAGS-order2mod2.so): Likewise.
23867 (LDFLAGS-tst-initorder2): Likewise.
23868 (LDFLAGS-tst-initorder2a.so): Likewise.
23869 (LDFLAGS-tst-initorder2b.so): Likewise.
23870 (LDFLAGS-tst-initorder2c.so): Likewise.
23871 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23872
d77f993f
DM
238732012-05-02 David S. Miller <davem@davemloft.net>
23874
23875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23876
171a70b4
PP
238772012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23878
23879 [BZ #14055]
23880 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23881
0be196ad
AJ
238822012-05-02 Andreas Jaeger <aj@suse.de>
23883
23884 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23885 since we manipulate rounding mode.
23886 (CPPFLAGS-test-idouble.c): Likewise.
23887 (CPPFLAGS-test-ifloat.c): Likewise.
23888 (CFLAGS-test-ldouble.c): Likewise.
23889 (CFLAGS-test-double.c): Likewise.
23890 (CFLAGS-test-float.c): Likewise.
23891 (CFLAGS-test-misc.c): Likewise.
23892 (CFLAGS-test-test-fenv.c): Likewise.
23893
4f9d04aa
AZ
238942012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23895
2b942cb7
RM
23896 [BZ #2550]
23897 [BZ #2570]
23898 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23899 comparisons to determine direction to adjust input.
4f9d04aa 23900
82a79e7d
RM
239012012-05-01 Roland McGrath <roland@hack.frob.com>
23902
f5a01ca9
RM
23903 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23904 output to the target.
23905
90fe4186
RM
23906 * scripts/localplt.awk: New file.
23907 * elf/Makefile ($(objpfx)check-localplt): Target removed.
23908 (check-localplt-CFLAGS): Variable removed.
23909 ($(all-built-dso:=.jmprel)): New static pattern rule.
23910 (generated): Add those targets.
23911 (localplt-built-dso): New variable.
23912 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23913
23914 * elf/check-localplt.c: File removed.
23915
82397ed6
RM
23916 * scripts/check-execstack.awk: New file.
23917 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23918 (check-execstack-CFLAGS): Variable removed.
23919 ($(objpfx)check-execstack.h): Target removed.
23920 ($(objpfx)execstack-default): New target.
23921 (generated): Add that instead of check-execstack.h.
23922 ($(all-built-dso:=.phdr)): New static pattern rule.
23923 (generated): Add those targets.
23924 * elf/check-execstack.c: File removed.
23925
82a79e7d
RM
23926 * scripts/check-textrel.awk: New file.
23927 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23928 (check-textrel-CFLAGS): Variable removed.
23929 (all-built-dso): Use := to define.o
23930 ($(all-built-dso:=.dyn)): New static pattern rule.
23931 (generated): Add those targets.
23932 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23933 * config.make.in (READELF): New substituted variable.
23934 * elf/check-textrel.c: File removed.
23935
62fde54f 239362012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 23937
615605c9
JM
23938 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23939 allow.
23940 * conform/data/ctype.h-data [C99-based standards] (isblank):
23941 Expect function.
23942 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23943 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23944 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23945 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23946 Specify type. Require positive value.
23947 (EILSEQ): Likewise.
23948 (ERANGE): Likewise.
23949 [ISO || POSIX] (EILSEQ): Do not expect.
23950 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23951 Specify type. Require positive value.
23952 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23953 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23954 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23955 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23956 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23957 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23958 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23959 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23960 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23961 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23962 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23963 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23964 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23965 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23966 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23967 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23968 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23969 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23970 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23971 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23972 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23973 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23974 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23975 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23976 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23977 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23978 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23979 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23980 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23981 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23982 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23983 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23984 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23985 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23986 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23987 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23988 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23989 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23990 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23991 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23992 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23993 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23994 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23995 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23996 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23997 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23998 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23999 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24000 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24001 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24002 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24003 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24004 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24005 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24006 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24007 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24008 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24009 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24010 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24011 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24012 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24013 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24014 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24015 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24016 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24017 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24018 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24019 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24020 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24021 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24022 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24023 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24024 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24025 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24026 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24027 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24028 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24029 Require >= 2.
24030 (FLT_ROUNDS): Expect as macro, not constant.
24031 (FLT_MANT_DIG): Use macro-int-constant.
24032 (DBL_MANT_DIG): Likewise.
24033 (LDBL_MANT_DIG): Likewise.
24034 (FLT_DIG): Likewise.
24035 (DBL_DIG): Likewise.
24036 (LDBL_DIG): Likewise.
24037 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24038 (DBL_MIN_EXP): Likewise.
24039 (LDBL_MIN_EXP): Likewise.
24040 (FLT_MAX_EXP): Use macro-int-constant.
24041 (DBL_MAX_EXP): Likewise.
24042 (LDBL_MAX_EXP): Likewise.
24043 (FLT_MAX_10_EXP): Likewise.
24044 (DBL_MAX_10_EXP): Likewise.
24045 (LDBL_MAX_10_EXP): Likewise.
24046 (FLT_MAX): Use macro-constant.
24047 (DBL_MAX): Likewise.
24048 (LDBL_MAX): Likewise.
24049 (FLT_EPSILON): Use macro-constant. Give upper bound.
24050 (DBL_EPSILON): Likewise.
24051 (LDBL_EPSILON): Likewise.
24052 (FLT_MIN): Likewise.
24053 (DBL_MIN): Likewise.
24054 (LDBL_MIN): Likewise.
24055 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24056 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24057 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24058 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24059 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24060 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24061 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24062 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24063 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24064 [ISO11] (FLT_TRUE_MIN): Likewise.
24065 [ISO11] (LDBL_TRUE_MIN): Likewise.
24066 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24067 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24068 (SCHAR_MIN): Use macro-int-constant. Specify type.
24069 (SCHAR_MAX): Likewise.
24070 (UCHAR_MAX): Likewise.
24071 (CHAR_MIN): Likewise.
24072 (CHAR_MAX): Likewise.
24073 (MB_LEN_MAX): Use macro-int-constant.
24074 (SHRT_MIN): Use macro-int-constant. Specify type.
24075 (SHRT_MAX): Likewise.
24076 (USHRT_MAX): Likewise.
24077 (INT_MAX): Likewise.
24078 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24079 bound negative.
24080 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24081 bound with "U".
24082 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24083 bound with "L".
24084 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24085 bound negative. Suffix upper bound with "L".
24086 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24087 bound with "UL".
24088 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24089 Specify type.
24090 [C99-based standards] (LLONG_MAX): Likewise.
24091 [C99-based standards] (ULLONG_MAX): Likewise.
24092 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24093 == 0.
24094 [ISO11] (max_align_t): Require type.
24095 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24096
c9140a62
JM
24097 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24098 from $CFLAGS, without defining away __attribute__ calls.
24099 (checknamespace): Use $CFLAGS_namespace.
24100
9af0bf29
JM
24101 * conform/conformtest.pl (@keywords): Only include C99 keywords
24102 for standards based on C99 or C11.
24103
343222a2
JM
24104 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24105 Disable tests.
24106 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24107 UNIX98]: Likewise.
24108
661f8cf0
JM
24109 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24110 usability of symbols in #if.
24111
ee74b9cb
JM
24112 * conform/conformtest.pl: If macro or constant types start
24113 "promoted:", expect the symbol to be of the following type
24114 promoted by the integer promotions.
62fde54f 24115
aafc49b3
JM
24116 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24117 in one place. Also handle "macro-constant".
24118
fefdf574
JM
24119 * conform/conformtest.pl: Only accept expected macro values with
24120 "==". Parse all "macro" lines in one place.
24121 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24122
f2d922fe
JM
24123 * conform/conformtest.pl: Handle braced types on "constant" lines
24124 instead of handling "typed-constant".
24125 * conform/data/signal.h-data: Use "constant" instead of
24126 "typed-constant".
24127
d22956c9
JM
24128 * conform/conformtest.pl: Handle "optional-" at start of lines in
24129 one place rather than duplicating several cases. Handle each
24130 format of "macro" line with initial "optional-".
24131
028e2e38
JM
24132 * conform/conformtest.pl: Only accept expected constant or
24133 optional-constant values with "==". Parse all "constant" lines in
24134 one place. Parse all "optional-constant" lines in one place.
24135 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24136 * conform/data/fmtmsg.h-data: Likewise.
24137 * conform/data/netinet/in.h-data: Likewise.
24138 * conform/data/tar.h-data: Likewise.
24139 * conform/data/limits.h-data: Use "==" form on "constant" and
24140 "optional-constant" lines.
24141
1b8f2850
JM
24142 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24143 Use -std=c99 for XOPEN2K.
24144 (@knownproblems): Remove.
24145 (newtoken): Don't check %isknown.
24146
a05a144b
JM
24147 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24148 Do not expect macro.
24149 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24150 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24151 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24152 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24153 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24154 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24155 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24156 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24157 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24158 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24159 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24160 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24161 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24162 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24163 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24164 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24165 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24166 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24167 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24168 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24169 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24170 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24171 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24172 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24173 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24174 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24175 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24176 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24177 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24178 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24179 [XPG3] (acosh): Likewise.
24180 [XPG3] (asinh): Likewise.
24181 [XPG3] (atanh): Likewise.
24182 [XPG3] (cbrt): Likewise.
24183 [XPG3] (expm1): Likewise.
24184 [XPG3] (ilogb): Likewise.
24185 [XPG3] (log1p): Likewise.
24186 [XPG3] (logb): Likewise.
24187 [XPG3] (nextafter): Likewise.
24188 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24189 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24190 [XPG3] (remainder): Likewise.
24191 [XPG3] (rint): Likewise.
24192 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24193 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24194 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24195 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24196 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24197 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24198 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24199 [UNIX98 || XOPEN2K] (scalb): Expect.
24200 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24201 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24202 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24203 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24204 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24205 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24206 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24207 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24208 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24209 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24210 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24211 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24212 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24213 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24214 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24215 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24216 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24217 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24218 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24219 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24220 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24221 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24222 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24223 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24224 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24225 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24226 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24227 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24228 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24229 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24230 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24231 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24232 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24233 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24234 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24235 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24236 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24237 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24238 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24239 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24240 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24241 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24242 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24243 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24244 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24245 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24246 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24247 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24248 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24249 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24250 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24251 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24252 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24253 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24254 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24255 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24256 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24257 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24258 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24259 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24260 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24261 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24262 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24263 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24264 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24265 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24266 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24267 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24268 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24269 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24270 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24271 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24272 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24273 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24274 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24275 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24276 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24277 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24278 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24279 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24280 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24281 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24282 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24283 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24284 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24285 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24286 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24287 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24288 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24289 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24290 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24291 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24292 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24293 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24294 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24295 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24296 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24297 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24298 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24299 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24300 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24301 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24302 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24303 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24304 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24305 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24306 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24307 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24308 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24309 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24310 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24311 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24312 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24313 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24314 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24315 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24316 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24317 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24318 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24319 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24320 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24321 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24322 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24323 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24324 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24325 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24326 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24327 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24328 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24329 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24330 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24331 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24332 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24333 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24334 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24335 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24336 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24337
73c5ebe3
JM
24338 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24339 _XOPEN_SOURCE_EXTENDED for XPG4.
24340
39c33b6c
JM
24341 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24342
62fde54f
JM
24343 * Makeconfig (localtime): Remove variable.
24344 (inst_localtime-file): Likewise.
24345
0741d64c
AS
243462012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24347
24348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24349 Update.
24350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24351 Update.
24352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24353 Update.
24354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24355 Update.
24356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24357 Update.
24358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24359 Update.
24360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24361 Update.
24362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24363 Update.
24364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24365 Update.
24366
7cb029ee
JM
243672012-05-01 Joseph Myers <joseph@codesourcery.com>
24368
24369 [BZ #2550]
24370 [BZ #2570]
24371 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24372 comparisons to determine direction to adjust input.
24373 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24374 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24375 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24376 Likewise.
24377 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24378 Likewise.
24379 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24380 Likewise.
24381 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24382 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24383 Likewise.
24384 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24385 Likewise.
24386 * math/libm-test.inc (nexttoward_test): Add more tests.
24387
412bd966
AS
243882012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24389
24390 [BZ #14040]
24391 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24392 in version GLIBC_2.1, not GLIBC_2.0.
24393 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24394 Likewise.
24395
9568c0c2
JM
243962012-04-30 Joseph Myers <joseph@codesourcery.com>
24397
adfbc8ac
JM
24398 [BZ #13942]
24399 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24400 (1 - x) * (1 + x).
24401 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24402 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24403 * math/libm-test.inc (acos_test): Add more tests.
24404 (asin_test): Likewise.
24405 * sysdeps/i386/fpu/libm-test-ulps: Update.
24406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24407
5ba3cc69
JM
24408 [BZ #14034]
24409 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24410 of square root.
24411 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24412 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24413 * math/libm-test.inc (acos_test_tonearest): New function.
24414 (acos_test_towardzero): Likewise.
24415 (acos_test_downward): Likewise.
24416 (acos_test_upward): Likewise.
24417 (asin_test_tonearest): Likewise.
24418 (asin_test_towardzero): Likewise.
24419 (asin_test_downward): Likewise.
24420 (asin_test_upward): Likewise.
24421 (main): Call the new functions.
24422 * sysdeps/i386/fpu/libm-test-ulps: Update.
24423 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24424
9568c0c2
JM
24425 [BZ #13884]
24426 [BZ #13924]
24427 * math/e_exp10.c: Include <float.h>.
24428 (__ieee754_exp10): Handle underflow here rather than multiplying
24429 large negative argument by M_LN10.
24430 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24431 of __ieee754_expf.
24432 * math/e_exp10l.c: Include <float.h>.
24433 (__ieee754_exp10l): Handle underflow here rather than multiplying
24434 large negative argument by M_LN10l.
24435 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24436 spurious overflow exception on underflow.
24437
5ac3ea17
MP
244382012-04-29 Marek Polacek <polacek@redhat.com>
24439
24440 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24441 (__fortify_function): New macro.
24442 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24443 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24444 __extern_always_inline.
24445 * libio/bits/stdio2.h: Likewise.
24446 * libio/bits/stdio.h: Likewise.
24447 * string/string.h: Likewise.
24448 * string/bits/string3.h: Likewise.
24449 * include/stdio.h: Likewise.
24450 * stdlib/bits/stdlib.h: Likewise.
24451 * stdlib/stdlib.h: Likewise.
24452 * rt/bits/mqueue2.h: Likewise.
24453 * rt/mqueue.h: Likewise.
24454 * posix/bits/unistd.h: Likewise.
24455 * posix/unistd.h: Likewise.
24456 * io/bits/poll2.h: Likewise.
24457 * io/bits/fcntl2.h: Likewise.
24458 * io/fcntl.h: Likewise.
24459 * io/sys/poll.h: Likewise.
24460 * misc/bits/syslog.h: Likewise.
24461 * misc/bits/syslog-ldbl.h: Likewise.
24462 * misc/sys/syslog.h: Likewise.
24463 * socket/bits/socket2.h: Likewise.
24464 * socket/sys/socket.h: Likewise.
24465 * debug/tst-chk1.c: Likewise.
24466 * wcsmbs/bits/wchar2.h: Likewise.
24467 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24468 * wcsmbs/wchar.h: Likewise.
24469
ecf0ebfb
AJ
244702012-04-29 Andreas Jaeger <aj@suse.de>
24471
24472 * Makerules (tests): Remove enable-check-abi protection.
24473 (check-abi-warn): Remove.
24474 (check-abi-%): Remove check-abi-warn usage.
24475
24476 * configure.in: Remove check-abi configure option.
24477 * configure: Regenerated.
24478 * config.make.in (enable-check-abi): Remove.
24479
6d5c57fa
AS
244802012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24481
24c5d07e 24482 [BZ #14033]
ded5180a
AS
24483 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24484 double functions to double *_finite functions.
24485
7e0d315d
AS
24486 [BZ #13941]
24487 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24488 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24489 LDBL_MIN_EXP.
24490 * stdio-common/Makefile (tests): Add tst-sprintf3.
24491 * stdio-common/tst-sprintf3.c: New file.
24492
6d5c57fa
AS
24493 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24494 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24495
0749ff8b
JM
244962012-04-28 Joseph Myers <joseph@codesourcery.com>
24497
24498 * conform/conformtest.pl: Remove duplicate typed-constant
24499 handling.
24500
8dbd5d7b
DM
245012012-04-28 David S. Miller <davem@davemloft.net>
24502
24503 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24504 (check-abi-%): Remove AWK script prerequisite and explicit
24505 abilist directory.
24506 (check-abi): Rewrite to just diff the symlist with the abilist.
24507 (config-tls, config-abi-config): Delete, no longer used.
24508 (update-abi-%): Remove AWK script and explicit abilist directory.
24509 (update-abi): Rewrite to simply compare and conditionally copy the
24510 symlist and the sysdep abilist file. Remove update-abi-config
24511 checks.
24512 * abilist/ld.abilist: Remove.
24513 * abilist/libBrokenLocale.abilist: Remove.
24514 * abilist/libanl.abilist: Remove.
24515 * abilist/libcrypt.abilist: Remove.
24516 * abilist/libdl.abilist: Remove.
24517 * abilist/librt.abilist: Remove.
24518 * abilist/libthread_db.abilist: Remove.
24519 * abilist/libutil.abilist: Remove.
24520 * scripts/extract-abilist.awk: Remove.
24521 * scripts/merge-abilist.awk: Remove.
24522 * sysdeps/generic/libcidn.abilist: New file.
24523 * sysdeps/generic/libnss_compat.abilist: New file.
24524 * sysdeps/generic/libnss_db.abilist: New file.
24525 * sysdeps/generic/libnss_dns.abilist: New file.
24526 * sysdeps/generic/libnss_files.abilist: New file.
24527 * sysdeps/generic/libnss_hesiod.abilist: New file.
24528 * sysdeps/generic/libnss_nis.abilist: New file.
24529 * sysdeps/generic/libnss_nisplus.abilist: New file.
24530 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24531 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24532 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24533 file.
24534 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24535 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24536 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24537 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24538 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24539 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24540 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24541 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24542 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24543 file.
24544 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24545 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24546 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24547 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24548 file.
24549 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24550 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24551 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24552 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24553 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24554 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24555 file.
24556 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24557 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24558 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24559 file.
24560 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24561 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24562 New file.
24563 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24564 New file.
24565 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24566 New file.
24567 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24568 New file.
24569 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24570 New file.
24571 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24572 New file.
24573 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24574 New file.
24575 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24576 New file.
24577 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24578 New file.
24579 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24580 New file.
24581 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24582 New file.
24583 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24584 New file.
24585 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24586 New file.
24587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24588 file.
24589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24590 New file.
24591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24592 New file.
24593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24594 file.
24595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24596 New file.
24597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24598 New file.
24599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24600 file.
24601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24602 New file.
24603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24604 New file.
24605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24606 New file.
24607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24608 New file.
24609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24610 New file.
24611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24612 New file.
24613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24615 file.
24616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24617 New file.
24618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24619 file.
24620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24621 file.
24622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24623 file.
24624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24625 file.
24626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24627 file.
24628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24629 New file.
24630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24631 file.
24632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24633 file.
24634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24635 New file.
24636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24637 file.
24638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24640 file.
24641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24642 New file.
24643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24644 file.
24645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24646 file.
24647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24648 file.
24649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24650 file.
24651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24652 file.
24653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24654 New file.
24655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24656 file.
24657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24658 file.
24659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24660 New file.
24661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24662 file.
24663 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24664 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24665 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24666 file.
24667 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24668 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24669 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24670 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24671 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24672 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24673 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24674 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24675 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24676 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24679 file.
24680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24681 New file.
24682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24683 file.
24684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24685 file.
24686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24687 file.
24688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24689 file.
24690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24691 file.
24692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24693 New file.
24694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24695 New file.
24696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24697 file.
24698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24699 New file.
24700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24701 file.
24702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24704 file.
24705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24706 New file.
24707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24708 file.
24709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24710 file.
24711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24712 file.
24713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24714 file.
24715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24716 file.
24717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24718 New file.
24719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24720 New file.
24721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24722 file.
24723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24724 New file.
24725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24726 file.
24727
41d73a1b
JM
247282012-04-28 Joseph Myers <joseph@codesourcery.com>
24729
24730 * conform/conformtest.pl: Fix typo in handling typed-constant from
24731 allow-header.
24732
28aeeda4
JM
247332012-04-27 Joseph Myers <joseph@codesourcery.com>
24734
adae8f5e
JM
24735 * README: Cut down references to pre-2.6 Linux kernels and
24736 Linuxthreads. Update lists of configurations in libc and ports
24737 and sort alphabetically. Say "or newer" with Linux kernel version
24738 requirements.
24739
28aeeda4
JM
24740 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24741
a462cb63
RA
247422012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24743
24744 [BZ #887]
24745 * math/libm-test.inc (logb_test_downward): New test to expose
24746 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24747 rounding mode.
24748
6ad3493e
JM
247492012-04-27 Joseph Myers <joseph@codesourcery.com>
24750
24751 [BZ #14027]
24752 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24753 to be done.
24754 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24755 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24756
2ce4f015
JM
247572012-04-26 Joseph Myers <joseph@codesourcery.com>
24758
5aeb141a
JM
24759 * sysdeps/unix/i386/brk.S: Remove file.
24760 * sysdeps/unix/i386/dl-brk.S: Likewise.
24761 * sysdeps/unix/i386/pipe.S: Likewise.
24762 * sysdeps/unix/i386/sigreturn.S: Likewise.
24763 * sysdeps/unix/i386/syscall.S: Likewise.
24764 * sysdeps/unix/i386/vfork.S: Likewise.
24765 * sysdeps/unix/i386/wait.S: Likewise.
24766
7143acae
JM
24767 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24768 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24769
2ce4f015
JM
24770 * configure.in (arm*-none*): Do not allow without
24771 --enable-hacker-mode.
24772 (netbsd*): Remove case setting base_os.
24773 (386bsd*): Likewise.
24774 (freebsd*): Likewise.
24775 (bsdi*): Likewise.
24776 (osf*): Likewise.
24777 (sunos*): Likewise.
24778 (ultrix*): Likewise.
24779 (newsos*): Likewise.
24780 (dynix*): Likewise.
24781 (*bsd*): Likewise.
24782 (sysv*): Likewise.
24783 (isc*): Likewise.
24784 (esix*): Likewise.
24785 (sco*): Likewise.
24786 (minix*): Likewise.
24787 (irix4*): Likewise.
24788 (irix6*): Likewise.
24789 (solaris[2-9]*): Likewise.
24790 (none): Likewise.
24791 * configure: Regenerated.
24792
0ac229c8
AZ
247932012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24794
24795 [BZ #11521]
24796 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24797 overflow or cancellation in calculating denominator.
24798 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24799 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24800 down expression to avoid unexpected rounding in newer GCCs.
24801 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24802
33f244f4
DM
248032012-04-26 David S. Miller <davem@davemloft.net>
24804
24805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24806 long-double compat symbols.
24807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24820
cfa1f3e8
DM
248212012-04-25 David S. Miller <davem@davemloft.net>
24822
24823 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24824 HWCAP_* values only after the memory barriers have been defined.
24825 (atomic_full_barrier): Define.
24826 (atomic_read_barrier): Define.
24827 (atomic_write_barrier): Define.
24828
6e236b92
SP
248292012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24830
24831 * shlib-versions: Add libgcc_s version information.
24832 * sysdeps/generic/libgcc_s.h: Remove.
24833 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24834 libgcc_s.h.
24835 * sysdeps/gnu/unwind-resume.c: Likewise.
24836 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24837
aab39a09
DM
248382012-04-25 David S. Miller <davem@davemloft.net>
24839
24840 * sysdeps/unix/sparc/brk.S: Delete.
24841 * sysdeps/unix/sparc/dl-brk.S: Delete.
24842 * sysdeps/unix/sparc/pipe.S: Delete.
24843 * sysdeps/unix/sparc/sysdep.S: Delete.
24844 * sysdeps/unix/sparc/sysdep.h: Delete.
24845 * sysdeps/unix/sparc/vfork.S: Delete.
24846 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24847 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24848 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24849 ret_ERRVAL, r0, r1, MOVE): Define.
24850 (JUMPTARGET): Remove.
24851 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24852 sysdeps/unix/sparc/sysdep.h
24853 (ENTRY, END): Remove.
24854 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24855
a3cc4f48
JM
248562012-04-25 Joseph Myers <joseph@codesourcery.com>
24857
2ed8cda2
JM
24858 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24859 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24860 -DIS_IN_build.
24861
35d76d59
JM
24862 * timezone/README: Update upstream location and email address for
24863 tzcode and tzdata.
24864 * timezone/zdump.c: Update from tzcode 2012b.
24865 * timezone/zic.c: Likewise.
24866
a3cc4f48
JM
24867 * configure.in (libc_cv_as_needed): Remove test.
24868 * configure: Regenerated.
24869 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24870 conditional definition.
24871 [$(have-as-needed) != yes] (no-as-needed): Likewise.
24872 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24873 * config.make.in (have-as-needed): Remove variable.
24874
ceab42c3
SP
248752012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24876 Paul Pluzhnikov <ppluzhnikov@google.com>
24877
24878 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24879 strings correctly.
24880
3ce2865f
CLT
248812012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
24882
24883 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24884 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24885 * sysdeps/sh/strlen.S: Likewise.
24886
f37e0d68
JM
248872012-04-24 Joseph Myers <joseph@codesourcery.com>
24888
ae186e9a
JM
24889 * sysdeps/unix/fork.S: Remove file.
24890 * sysdeps/unix/i386/fork.S: Likewise.
24891 * sysdeps/unix/sparc/fork.S: Likewise.
24892
b96914af
JM
24893 * sysdeps/unix/system.c: Remove file.
24894 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24895
f37e0d68
JM
24896 * sysdeps/unix/getegid.S: Remove file.
24897 * sysdeps/unix/geteuid.S: Likewise.
24898
87ef29ca
RM
248992012-04-24 Roland McGrath <roland@hack.frob.com>
24900
83bcd236
RM
24901 * scripts/check-localplt.awk: New file.
24902 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24903 of diff.
24904 * scripts/data/localplt-generic.data: Add a comment.
24905
87ef29ca
RM
24906 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24907 NODE when __dir_mkfile failed.
24908 * sysdeps/mach/hurd/symlinkat.c: Likewise.
24909 Reported by Ludovic Courtès <ludo@gnu.org>.
24910
e5a6e567
AJ
249112012-04-24 Andreas Jaeger <aj@suse.de>
24912
24913 * Makerules (common-clean): Also remove gen-as-const-headers
24914 files.
24915
c1820385
JM
249162012-04-24 Joseph Myers <joseph@codesourcery.com>
24917
24918 * Makerules (native-compile): Do not change working directory for
24919 build. Use $(OUTPUT_OPTION) in command.
24920 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24921
94e02fc4
AZ
249222012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24923
24924 [BZ #13886]
24925 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24926 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24927 * math/libm-test.inc (floor_test): Add more tests.
24928 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24929
3a533ca3
JM
249302012-04-24 Joseph Myers <joseph@codesourcery.com>
24931
940ab4b3
JM
24932 * sysdeps/unix/getdents.c: Remove file.
24933 * sysdeps/unix/sysv/getdents.c: Likewise.
24934 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24935
90e037bd
JM
24936 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24937 sysdeps/unix/mman/syscalls.list.
24938 (mmap): Likewise.
24939 (mprotect): Likewise.
24940 (msync): Likewise.
24941 (munmap): Likewise.
24942 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24943 * sysdeps/unix/mman/syscalls.list: Remove.
24944 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24945
3a533ca3
JM
24946 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24947 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24948 * configure: Regenerated.
24949 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24950 $(libgcc_s_suffix).
24951 * config.make.in (libgcc_s_suffix): Remove variable.
24952
1ad743de
JM
249532012-04-23 Joseph Myers <joseph@codesourcery.com>
24954
4ad451e2
JM
24955 * sysdeps/unix/sysv/gethostname.c: Move to ...
24956 * sysdeps/posix/gethostname.c: ... here.
24957
5e37ce39
JM
24958 * sysdeps/unix/execve.S: Remove file.
24959
1ad743de
JM
24960 * sysdeps/unix/_exit.S: Remove file.
24961
4e681b5b
AJ
249622012-04-23 Andreas Jaeger <aj@suse.de>
24963
24964 [BZ #13739]
24965 * manual/Makefile: Remove make dist support, there's no
24966 need for a stand-alone documentation tar ball.
24967 (TEXI2DVI): Define always, it's not in Makeconfig.
24968 (dist): Removed.
24969 (tar-it): Removed.
24970 (edition): Removed.
24971 (glibc-doc-$(edition).tar): Removed
24972 (%.Z): Removed.
24973 (%.gz): Removed.
24974 (%.uu): Removed.
24975 (ETAGS): Remove, it's in Makeconfig.
24976 (move-if-change): Remove, it's in Makeconfig.
24977
38686a03 249782012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
24979
24980 [BZ #13970]
24981 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24982 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24983 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24984 (strtod_l, strtof_l, strtold_l): Remove __wur.
24985 It is not necessarily an error to ignore strtol's return value.
24986 One can reliably look at the stored endptr to decide whether
24987 the number had valid syntax.
24988
7c0616fa
AJ
249892012-04-21 Andreas Jaeger <aj@suse.de>
24990
803cb6b7 24991 [BZ #13739]
7c0616fa
AJ
24992 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24993
b0fe253f
JM
249942012-04-21 Joseph Myers <joseph@codesourcery.com>
24995
24996 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24997 * sysdeps/unix/sysv/Versions: Remove file.
24998
8280f22d
MT
249992012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25000
25001 [BZ #13927]
25002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25003
75ce411f 250042012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
25005
25006 [BZ #7064]
25007 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25008 version from __vm86.
25009
097d59fa
JM
250102012-04-20 Joseph Myers <joseph@codesourcery.com>
25011
a90f3bcb
JM
25012 * sysdeps/unix/common/lxstat.c: Remove file.
25013 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25014
edc7ea78
JM
25015 * sysdeps/unix/sysv/Makefile: Remove file.
25016
cb78c221
JM
25017 * sysdeps/unix/sysv/direct.h: Remove file.
25018
efa6a45f
JM
25019 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25020 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25021 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25022 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25023 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25024 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25025 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25026
9c9f2d0c
JM
25027 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25028
4541c83b
JM
25029 * sysdeps/unix/xmknod.c: Remove file.
25030 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25031
f5d153a0
JM
25032 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25033
aa746595
JM
25034 * sysdeps/unix/sysv/i386/time.S: Remove file.
25035
cce5905e
JM
25036 * sysdeps/unix/fxstat.c: Remove file.
25037 * sysdeps/unix/xstat.c: Likewise.
25038 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25039
37fa3841
JM
25040 * sysdeps/unix/sysv/sigaction.c: Remove file.
25041
ff1962a3
JM
25042 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25043 (sysdep_headers): Remove variable.
25044 [termio.h not in sysdep_headers] (generated): Likewise.
25045 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25046 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25047 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25048 * sysdeps/unix/sysv/tcflow.c: Likewise.
25049 * sysdeps/unix/sysv/tcflush.c: Likewise.
25050 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25051 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25052 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25053 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25054 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25055
e7740d31
JM
25056 * sysdeps/unix/siglist.c: Remove file.
25057
ee06f18b
JM
25058 * sysdeps/unix/getppid.S: Remove file.
25059
097d59fa
JM
25060 * sysdeps/unix/mkdir.c: Remove file.
25061 * sysdeps/unix/rmdir.c: Likewise.
25062
ff3d51ec
AS
250632012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25064
25065 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25066 ERR_MAX value.
25067 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25068 errlist-compat value.
25069
50f81fd7
DM
250702012-04-18 David S. Miller <davem@davemloft.net>
25071
25072 * sysdeps/generic/memcopy.h (reg_char): Delete.
25073 * debug/strcat_chk.c: Use char, not reg_char.
25074 * debug/strcpy_chk.c: Likewise.
25075 * debug/strncat_chk.c: Likewise.
25076 * debug/strncpy_chk.c: Likewise.
25077 * string/memchr.c: Likewise.
25078 * string/memrchr.c: Likewise.
25079 * string/rawmemchr.c: Likewise.
25080 * string/strcat.c: Likewise.
25081 * string/strchr.c: Likewise.
25082 * string/strchrnul.c: Likewise.
25083 * string/strcmp.c: Likewise.
25084 * string/strcpy.c: Likewise.
25085 * string/strncat.c: Likewise.
25086 * string/strncmp.c: Likewise.
25087 * string/strncpy.c: Likewise.
25088
8ff41c46
WS
250892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25090
25091 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25092 __builtin_memcopy is called when src and dest ranges are known to not
25093 overlap.
25094
6b652f46
WS
250952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25096
25097 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25098 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25099 fwd_align_merge macro call.
25100 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25101 bwd_align_merge macro call.
25102 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25103
b282631e
WS
251042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25105
25106 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25107 bwd_align_merge macros.
25108 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25109 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25110 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25111
95aa737c
DM
251122012-04-18 David S. Miller <davem@davemloft.net>
25113
25114 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25115
7a99a614
AJ
251162012-04-18 Andreas Jaeger <aj@suse.de>
25117
25118 [BZ# 6794]
25119 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25120 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25121 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25122
25123 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25124 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25125 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25126
25127 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25128 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25129 Adjust for changed ldbl-128 files.
25130
25131 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25132 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25133 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25134
e5270c23
DM
251352012-04-17 David S. Miller <davem@davemloft.net>
25136
25137 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25138
fb5e92c9
AS
251392012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25140
25141 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25142 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25143 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25144 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25145 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25146 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25147
76da7265
AZ
251482012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25149
25150 [BZ #6794]
25151 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25152 * math/libm-test.inc: Add ilogb errno and exception tests.
25153 * math/w_ilogb.c: New file: ilogb wrapper.
25154 * math/w_ilogbf.c: New file: ilogbf wrapper.
25155 * math/w_ilogbl.c: New file: ilogbl wrapper.
25156 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25157 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25158 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25159 exception being thrown with 0.0 as argument.
25160 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25161 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25162 exception being thrown with 0.0 as argument.
25163 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25164 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25165 exception being thrown with 0.0 as argument.
25166 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25167 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25168 exception being thrown with 0.0 as argument.
25169 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25170 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 25171 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
25172 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25173 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25174 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25175 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25176 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25177 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25178
0396e69d
PB
251792012-04-17 Petr Baudis <pasky@ucw.cz>
25180
25181 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25182 with altivec.
25183
750b5926
MP
251842012-04-16 Marek Polacek <polacek@redhat.com>
25185
25186 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25187
751728a1
MP
251882012-04-16 Marek Polacek <polacek@redhat.com>
25189
25190 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25191 operands of fdivp instruction.
25192
34a27407
L
251932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25194
25195 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25196 * elf/tst-auditmod3b.c: Likewise.
25197 * elf/tst-auditmod4b.c: Likewise.
25198 * elf/tst-auditmod5b.c: Likewise.
25199 * elf/tst-auditmod6b.c: Likewise.
25200 * elf/tst-auditmod6c.c: Likewise.
25201 * elf/tst-auditmod7b.c: Likewise.
25202 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25203 * sysdeps/x86_64/preconfigure.in: Likewise.
25204 * sysdeps/x86_64/preconfigure: Regenerated.
25205
7e73e17d
L
252062012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25207
25208 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25209 __ILP32__.
25210
c7a6ab72
AB
252112012-04-13 Antoine Balestrat <merkil33@gmail.com>
25212
25213 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25214 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25215
a9e8e0e0
CL
252162012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25217
25218 [BZ #13973]
25219 * locale/iso-639.def: Fix gl language name. Spotted by
25220 Yaron Shahrabani.
25221
ec98af7d
RM
252222012-04-12 Roland McGrath <roland@hack.frob.com>
25223
25224 [BZ #2074]
25225 * libio/libio.h (__io_write_fn): Update comment.
25226
247c3ede
PB
252272012-04-12 Petr Baudis <pasky@ucw.cz>
25228
25229 [BZ #2074]
25230 * stdio.texi (Hook Functions): The user provided writer function
25231 is not allowed to return -1.
25232
55939d6d
DM
252332012-04-11 David S. Miller <davem@davemloft.net>
25234
25235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25236
90020f5a
MF
252372012-04-11 Mike Frysinger <vapier@gentoo.org>
25238
25239 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25240 Add a leading slash to rtkaio.
25241
288f9098
JM
252422012-04-11 Jim Meyering <meyering@redhat.com>
25243
90020f5a
MF
25244 [BZ #11959]
25245 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25246 It is not necessarily an error to ignore fwrite's return
25247 value. One can reliably use ferror to test for errors after
25248 the fact.
288f9098 25249
4be2b570
L
252502012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25251
25252 * bits/types.h (__snseconds_t): New type.
25253 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25254
25255 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25256 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25257 (__SNSECONDS_T_TYPE): Likewise.
25258 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25259 (__SNSECONDS_T_TYPE): Likewise.
25260 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25261 (__SNSECONDS_T_TYPE): Likewise.
25262
288f9098 252632012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
25264
25265 [BZ #2636]
25266 * manual/time.texi (Processor Time): Return type of times is
25267 elapsed real time since an arbitrary point in the past.
25268 (CPU Time): Move CLK_TCK from here...
25269 (Processor Time): ...to here. Correct description.
25270 * manual/conf.texi (Constants for Sysconf): Correct description of
25271 _SC_CLK_TCK.
25272
d7dd4413
DM
252732012-04-10 David S. Miller <davem@davemloft.net>
25274
25275 [BZ #13967]
25276 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25277 where the is a gap between DT_REL(A) and DT_JMPREL.
25278
b46068fc
L
252792012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25280
25281 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25282 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25283 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25284
73d65cc3
SP
252852012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25286
25287 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25288 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25289 (dl_main): Handle --inhibit-cache.
25290 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25291 _dl_inhibit_cache.
25292 * elf/dl-load.c (_dl_map_object): Use it.
25293 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25294
bcc8d661
JM
252952012-04-09 Joseph Myers <joseph@codesourcery.com>
25296
8f9a2fae
JM
25297 [BZ #13872]
25298 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25299 (__ieee754_powl): Saturate large exponents rather than testing for
25300 overflow of y*log2(x).
25301 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25302 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25303 exceptions.
25304
bcc8d661
JM
25305 [BZ #11521]
25306 * math/s_ctan.c: Include <float.h>.
25307 (__ctan): Avoid internal overflow or cancellation in calculating
25308 denominator.
25309 * math/s_ctanf.c: Likewise.
25310 * math/s_ctanl.c: Likewise.
25311 * math/s_ctanh.c: Likewise.
25312 * math/s_ctanhf.c: Likewise.
25313 * math/s_ctanhl.c: Likewise.
25314 * math/libm-test.inc (ctan_test): Add more tests.
25315 (ctanh_test): Likewise.
25316 * sysdeps/i386/fpu/libm-test-ulps: Update.
25317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25318
823fbbb4
AJ
253192012-04-09 Andreas Jaeger <aj@suse.de>
25320
03879793
AJ
25321 [BZ #6894]
25322 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25323 is an optional BSD extension.
25324
823fbbb4
AJ
25325 [BZ #10254]
25326 * manual/stdio.texi (Opening Streams): Document additional fopen
25327 parameters.
25328
8de131cb
RM
253292012-04-09 Roland McGrath <roland@hack.frob.com>
25330
25331 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25332 %eax without telling the compiler.
25333
c0ed9d7d
CD
253342012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25335
25336 [BZ # 13963]
25337 * manual/install.texi: Use sourceware.org.
25338
c483f6b4
JM
253392012-04-09 Joseph Myers <joseph@codesourcery.com>
25340
d7dd9453
JM
25341 [BZ #13873]
25342 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25343 (__ieee754_pow): Generate overflow and underflow using huge*huge
25344 and tiny*tiny rather than just returning constant infinity or zero
25345 for large exponents.
25346 * math/libm-test.inc (pow_test): Require overflow exceptions for
25347 applicable cases of large exponents.
25348
c483f6b4
JM
25349 [BZ #706]
25350 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25351 (__ieee754_pow): Use iterative multiplication algorithm only for
25352 integer exponents with absolute value below 1024. Check for odd
25353 integer exponents when using algorithm for real exponents.
25354 * math/libm-test.inc (pow_test): Add more tests.
25355 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25356
d2de7579
JM
253572012-04-08 Joseph Myers <joseph@codesourcery.com>
25358
25359 [BZ #13705]
25360 * math/libm-test.inc (exp_test): Do not allow overflow exception
25361 on underflow test.
25362
f77f1232
AJ
253632012-04-08 Aurelien Jarno <aurelien@aurel32.net>
25364
25365 [BZ #13705]
25366 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25367 instead of __kernel_standard_f.
25368
3884932b
MF
253692012-04-08 Mike Frysinger <vapier@gentoo.org>
25370
25371 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25372 * sysdeps/x86_64/memset_chk.S: Likewise.
25373
54472e9c
AJ
253742012-04-08 Andreas Jaeger <aj@suse.de>
25375
6ab0fbfc
AJ
25376 [BZ #10153]
25377 * manual/startup.texi (Environment Access): Describe return value
25378 for putenv and setenv.
25379
61efba8c
AJ
25380 [BZ #6895]
25381 * manual/filesys.texi (Directory Entries): Add description for
25382 DT_LNK.
25383
95c3f29a
AJ
25384 [BZ #6890]
25385 * manual/filesys.texi (Directory Entries): Clarify that it's file
25386 system not operating system in the description of DT_UNKNOWN.
25387
54472e9c
AJ
25388 [BZ #6578]
25389 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25390
624254b1
SC
253912012-04-08 Stephen Compall <s11@member.fsf.org>
25392
25393 [BZ #6649]
25394 * manual/llio.texi (Opening and Closing Files): Add cross
25395 reference to explain mode argument.
25396
1e4920e0
MF
253972012-04-07 Mike Frysinger <vapier@gentoo.org>
25398
25399 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25400 * sysdeps/x86_64/memset_chk.S: Likewise.
25401
5ed848f3
DM
254022012-04-07 David S. Miller <davem@davemloft.net>
25403
25404 * elf/elf.h (R_SPARC_WDISP10): Define.
25405 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25406 R_SPARC_SIZE32.
25407 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25408 R_SPARC_SIZE64 and R_SPARC_H34.
25409
96154cd8
CD
254102012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25411
25412 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25413 conditions and remove no longer applicable assertion.
25414
9904dc47
L
254152012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25416
25417 * bits/byteswap.h: Include <features.h>.
25418 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25419 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25420
f8887d0a
L
254212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25422
25423 * bits/byteswap.h (__bswap_16): Removed.
25424 Include <bits/byteswap-16.h> to get __bswap_16.
25425 * sysdeps/i386/bits/byteswap.h: Likewise.
25426 * sysdeps/s390/bits/byteswap.h: Likewise.
25427 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25428 * bits/byteswap-16.h: New file.
25429 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25430 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25431 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25432 * string/Makefile (headers): Add bits/byteswap-16.h.
25433
62470f60
PP
254342012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25435
25436 [BZ #13895]
25437 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25438 extra indirection.
25439 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25440 * nss/tst-nss-static.c: New.
25441
4dad7bab
RM
254422012-04-06 Robert Millan <rmh@gnu.org>
25443
25444 [BZ #6486]
25445 * manual/llio.texi (File Position Primitive): lseek
25446 refers to WHENCE when it really means OFFSET.
25447
e9142a17
AJ
254482012-04-06 Andreas Jaeger <aj@suse.de>
25449
2c040eff
AJ
25450 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25451 strncmp declarations.
25452
e9142a17
AJ
25453 * abilist/libc.abilist: Add __poll and __ppoll.
25454
ff9f1c5f
DM
254552012-04-05 David S. Miller <davem@davemloft.net>
25456
dcd2ae90
DM
25457 * scripts/check-local-headers.sh: Accept a host triplet in the
25458 path matched by the exclude regexp.
25459
993eb054
DM
25460 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25461 definition.
25462 * sysdeps/powerpc/powerpc32/dl-machine.h
25463 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25464 * sysdeps/s390/s390-32/dl-machine.h
25465 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25466 * sysdeps/sparc/sparc32/dl-machine.h
25467 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25468 * sysdeps/sparc/sparc64/dl-machine.h
25469 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25470
ff9f1c5f
DM
25471 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25472 lazy binding.
48e2e132 25473 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
25474 undefined symbol errors.
25475
48e2e132 25476 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
25477 DT_NEEDED entries.
25478
e80d6f94
MM
254792012-04-05 Michael Matz <matz@suse.de>
25480
25481 [BZ #13592]
25482 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25483
349fa79f
AJ
254842012-04-05 Andreas Jaeger <aj@suse.de>
25485
25486 [BZ #13908]
25487 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25488 comment.
25489
f402708f
KK
254902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25491
25492 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25493 which ROUND is no valid rounding mode.
25494
2ecccfc9
KK
254952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25496
25497 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25498 read again.
25499 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25500
8a53f50f
KK
255012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25502
25503 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25504 an exception using FPU order intentionally.
25505
255062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25507
25508 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25509 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25510 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25511 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25512
d653abb7
SJ
255132012-04-05 Simon Josefsson <simon@josefsson.org>
25514
25515 [BZ #12340]
25516 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25517 EINVAL when BUFLEN is too smal.
25518
c3b1bf7d
TS
255192012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25520
25521 [BZ #13553]
25522 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25523 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25524
b1aa60f3
AJ
255252012-04-03 Andreas Jaeger <aj@suse.de>
25526
c3b1bf7d 25527 [BZ #13938]
67f60a26
AJ
25528 * manual/setjmp.texi (System V contexts): Fix sentence.
25529
b1aa60f3
AJ
25530 [BZ #13926]
25531 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25532 New macro for this case.
25533 [!__GNUC__] (__bswap_64): New inline function for this case.
25534 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25535 * bits/byteswap.h: Likewise.
25536 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25537 ull, guard with __GLIBC_HAVE_LONG_LONG.
25538
25539 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25540 __GLIBC_HAVE_LONG_LONG.
25541
25542 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25543 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25544
39c59c35
TMQMF
255452012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25546
25547 [BZ #13691]
25548 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25549 inptr and inend, rather than using last_ch.
25550
135ffda8
DM
255512012-04-02 David S. Miller <davem@davemloft.net>
25552
25553 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25554 * stdio-common/printf-parse.h (read_int): Change return type to
25555 'int', return -1 on INT_MAX overflow.
25556 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25557 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25558 overflows INT_MAX. Check for overflow of in-format-string precision
25559 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25560 SIZE_MAX not INT_MAX for integer overflow test.
25561 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25562 skip the construct in the format string but do not record anything.
25563 * stdio-common/bug22.c: Adjust to test both width/prevision
25564 INT_MAX overflow as well as total length INT_MAX overflow. Check
25565 explicitly for proper errno values.
25566
228c019e
TS
255672012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25568
302cadd3
TS
25569 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25570 CHAR_MAX.
25571 * string/test-strcmp.c [! WIDE]: Likewise.
25572 * time/tst-mktime2.c: Likewise for INT_MAX.
25573 * string/test-string.h: #include <sys/param.h> for MIN.
25574
228c019e
TS
25575 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25576 * sysdeps/i386/init-first.c (init): Likewise.
25577 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25578 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25579 * sysdeps/sh/init-first.c (init): Likewise.
25580
cfa633f5
UD
255812012-04-01 Ulrich Drepper <drepper@gmail.com>
25582
25583 * po/ru.po: Update from translation team.
d1635ef8 25584 * po/vi.po: Likewise.
cfa633f5 25585
6cd0a5ea
SP
255862012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25587
25588 * resolv/nss_dns/dns-host.c: Merge copyright years.
25589
4b43400f
LD
255902012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25591
25592 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25593 Optimize memcpy with prefetch if
25594 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25595 src, dst pointers have unequal 16 byte alignments.
25596
48c41d04
SP
255972012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25598
25599 [BZ #13928]
25600 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25601 from a CNAME entry and return the minimum ttl for the query.
25602 (gaih_getanswer_slice): Likewise.
25603
b8dc394d
JL
256042012-03-30 Jeff Law <law@redhat.com>
25605
25606 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25607 due to long keys.
25608 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25609 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25610
2f5a5ed0
JL
25611 * resolv/nss_dns/dns-host.c: Update copyright year.
25612
1d39e359
UD
256132012-03-30 Ulrich Drepper <drepper@gmail.com>
25614
c030f70c 25615 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 25616 requests to save a system call. Fix check that all bytes are sent.
c030f70c 25617
1d39e359
UD
25618 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25619 comments for sendmmsg.
25620
256212012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
25622
25623 [BZ #13691]
25624 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25625 with only 1 character between 0x0041 and 0x01b0.
25626 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25627 * wcsmbs/tst-mbsnrtowcs.c: New file.
25628
20fde227
DM
256292012-03-29 David S. Miller <davem@davemloft.net>
25630
25631 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25632 small copies by hand.
25633
984a4237
JL
256342012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25635
25636 [BZ #13761]
25637 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25638 _nss_compat_initgroups_dyn): Fall back to malloc/free
25639 for large group memberships.
25640
18c9d62b
DM
256412012-03-28 David S. Miller <davem@davemloft.net>
25642
88d85d4f
DM
25643 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25644 that branches into memcpy.
25645 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25646 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25647 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25648 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25649 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25650 bits.
25651 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25652 implementation too.
25653 * sysdeps/sparc/mempcpy.S: New file.
25654
e5aa83e1
DM
25655 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25656 the IFUNC routine in the libc case.
25657 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25658
88570753
DM
25659 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25660 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25661 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25662 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25663 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25664 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25665 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25666 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25667
249d7567
DM
25668 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25669 loop to 256 bytes instead of 64 bytes and fix test signedness.
25670
18c9d62b
DM
25671 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25672 * sysdeps/sparc/sparc32/Makefile: rather than here...
25673 * sysdeps/sparc/sparc64/Makefile: and here.
25674
05f3d1f6
UD
256752012-03-28 Ulrich Drepper <drepper@gmail.com>
25676
25677 * malloc/mallocbug.c: Avoid warnings about unused variables.
25678
86ae07a8
JL
256792012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25680
25681 [BZ #13760]
25682 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25683 in the right place. Discard and retry query if response is
25684 larger than input buffer size.
25685
41bf21a1
JM
256862012-03-28 Joseph Myers <joseph@codesourcery.com>
25687
d6270972
JM
25688 [BZ #369]
25689 [BZ #2678]
25690 [BZ #3866]
25691 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25692 x for large integer exponent.
25693 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25694 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25695 sign of result as needed afterwards.
25696 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25697 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25698 result for underflowing pow the same as for overflow.
25699 (__kernel_standard_l): Handle powl overflow and underflow here
25700 rather than calling __kernel_standard.
25701 * math/libm-test.inc (pow_test): Add more tests.
25702
414fca03 25703 [BZ #3868]
41bf21a1
JM
25704 [BZ #13879]
25705 [BZ #13910]
25706 [BZ #13911]
25707 [BZ #13912]
25708 [BZ #13913]
25709 [BZ #13915]
25710 [BZ #13916]
25711 [BZ #13917]
25712 [BZ #13918]
25713 [BZ #13919]
25714 [BZ #13920]
25715 [BZ #13921]
25716 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25717 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25718 (__kernel_standard_l): New function.
25719 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25720 __kernel_standard.
25721 * math/w_acosl.c (__acosl): Likewise.
25722 * math/w_asinl.c (__asinl): Likewise.
25723 * math/w_atan2l.c (__atan2l): Likewise.
25724 * math/w_atanhl.c (__atanhl): Likewise.
25725 * math/w_coshl.c (__coshl): Likewise.
25726 * math/w_exp10l.c (__exp10l): Likewise.
25727 * math/w_exp2l.c (__exp2l): Likewise.
25728 * math/w_fmodl.c (__fmodl): Likewise.
25729 * math/w_hypotl.c (__hypotl): Likewise.
25730 * math/w_j0l.c (__j0l, __y0l): Likewise.
25731 * math/w_j1l.c (__j1l, __y1l): Likewise.
25732 * math/w_jnl.c (__jnl, __ynl): Likewise.
25733 * math/w_lgammal.c (__lgammal): Likewise.
25734 * math/w_log10l.c (__log10l): Likewise.
25735 * math/w_log2l.c (__log2l): Likewise.
25736 * math/w_logl.c (__logl): Likewise.
25737 * math/w_powl.c (__powl): Likewise.
25738 * math/w_remainderl.c (__remainderl): Likewise.
25739 * math/w_scalbl.c (sysv_scalbl): Likewise.
25740 * math/w_sinhl.c (__sinhl): Likewise.
25741 * math/w_sqrtl.c (__sqrtl): Likewise.
25742 * math/w_tgammal.c (__tgammal): Likewise.
25743 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25744 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25745 * math/libm-test.inc (acos_test): Add more tests.
25746 (acosh_test): Likewise.
25747 (asin_test): Likewise.
25748 (atanh_test): Likewise.
25749 (exp_test): Likewise.
25750 (exp10_test): Likewise.
25751 (exp2_test): Likewise.
25752 (expm1_test): Likewise.
25753 (lgamma_test): Likewise.
25754 (log_test): Likewise.
25755 (log10_test): Likewise.
25756 (log1p_test): Likewise.
25757 (log2_test): Likewise.
25758 (pow_test): Do not allow some spurious overflow exceptions.
25759 (sqrt_test): Add more tests.
25760 (tgamma_test): Likewise.
25761 (y0_test): Likewise.
25762 (y1_test): Likewise.
25763 (yn_test): Likewise.
25764
dd62fda6
AB
257652012-03-27 Anton Blanchard <anton@samba.org>
25766
25767 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25768 MAP_HUGETLB.
25769 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25770 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25771 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25772
1e3cdfda
AJ
257732012-03-27 David S. Miller <davem@davemloft.net>
25774
b855ab85
DM
25775 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25776
1e3cdfda
AJ
25777 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25778 have-as-vis3 check.
25779
257802012-03-27 Andreas Jaeger <aj@suse.de>
25781
25782 * sysdeps/x86_64/elf/configure.in: Moved to ...
25783 * sysdeps/x86_64/configure.in: ... here.
25784 * sysdeps/x86_64/elf/start.S: Moved to ...
25785 * sysdeps/x86_64/start.S: ... here.
25786 * sysdeps/x86_64/elf/configure: Delete.
25787
25788 * sysdeps/x86_64/configure.in: Merge contents from
25789 sysdeps/i386/configure.in (without i686 check).
25790
25791 * sysdeps/i386/elf/Versions: Merge into ...
25792 * sysdeps/i386/Versions: ... this.
25793 * sysdeps/i386/elf/Versions: Delete file.
25794 * sysdeps/i386/elf/start.S: Moved to ...
25795 * sysdeps/i386/start.S: ...here.
25796 * sysdeps/i386/elf/configure.in: Merge into...
25797 * sysdeps/i386/configure.in: ...here.
25798 * sysdeps/i386/elf/configure.in: Delete file.
25799 * sysdeps/i386/elf/configure: Delete file.
25800
25801 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25802 * debug/backtracesyms.c: ... here.
25803 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25804 * debug/backtracesymsfd.c: ... here.
25805 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25806 * sysdeps/generic/ifunc-sel.h: ... here.
25807
25808 * sysdeps/unix/i386/start.c: Delete file.
25809 * sysdeps/unix/sparc/start.c: Delete file.
25810 * sysdeps/unix/start.c: Delete file.
25811
25812 * sysdeps/sh/elf/configure.in: Moved to ...
25813 * sysdeps/sh/configure.in: ... here.
25814 * sysdeps/sh/elf/start.S: Moved to ...
25815 * sysdeps/sh/start.S: ... here.
25816 * sysdeps/sh/elf/configure: Delete file.
25817
25818 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25819 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25820 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25821 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25822 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25823 * sysdeps/powerpc/powerpc64/start.S: here.
25824 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25825 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25826 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25827 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25828 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25829
25830 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25831 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25832 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25833 * sysdeps/powerpc/powerpc32/start.S: ... here.
25834 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25835 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25836 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25837
25838 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25839 * sysdeps/powerpc/ifunc-sel.h: ... here.
25840 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25841 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25842
25843 * sysdeps/sparc/elf/configure.in: Moved to ...
25844 * sysdeps/sparc/configure.in: ... here.
25845 * sysdeps/sparc/elf/configure: Delete file.
25846 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25847 * sysdeps/sparc/sparc32/start.S: ... here.
25848 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25849 * sysdeps/sparc/sparc64/start.S: ... here.
25850 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25851 * sysdeps/sparc/sparc32/Makefile: ... this.
25852 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25853 * sysdeps/sparc/sparc64/Makefile: ... this.
25854
25855 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25856 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25857 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25858 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25859 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25860 * sysdeps/s390/s390-32/setjmp.S: ... here.
25861 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25862 * sysdeps/s390/s390-32/configure.in: ... here.
25863 * sysdeps/s390/s390-32/elf/configure: Delete file.
25864 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25865 * sysdeps/s390/s390-32/start.S: ... here.
25866
25867 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25868 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25869 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25870 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25871 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25872 * sysdeps/s390/s390-64/setjmp.S: ... here.
25873 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25874 * sysdeps/s390/s390-64/configure.in: ... here
25875 * sysdeps/s390/s390-64/elf/configure: Delete file.
25876 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25877 * sysdeps/s390/s390-64/start.S: ... here.
25878 * sysdeps/s390/s390-64/elf/configure: Delete.
25879
25880 * configure.in: Remove support for elf directories in sysdeps.
25881
25882 * configure: Regenerated.
25883 * sysdeps/i386/configure: Regenerated.
25884 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25885 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25886 * sysdeps/s390/s390-32/configure: Regenerated.
25887 * sysdeps/s390/s390-64/configure: Regenerated.
25888 * sysdeps/sh/configure: Regenerated.
25889 * sysdeps/sparc/configure: Regenerated.
25890 * sysdeps/x86_64/configure: Regenerated.
25891
a3f61311
AS
258922012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25893
c876e002
AS
25894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25895
a3f61311
AS
25896 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25897 denormal result into account.
25898
ac4c54f0
RM
258992012-03-25 Roland McGrath <roland@hack.frob.com>
25900
25901 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25902 Reported by Allan McRae <allan@archlinux.org>.
25903
6a9b9c02
JL
259042012-03-23 Jeff Law <law@redhat.com>
25905
25906 * nss/getnssent.c (__nss_getent): Fix typo.
25907
4c42a0c1
DM
259082012-03-23 David S. Miller <davem@davemloft.net>
25909
25910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25911
1532c7ac
L
259122012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25913
25914 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25915 to pad to uint64_t for each field.
25916 (dl_tls_index): Replace unsigned long with uint64_t.
25917
3ff42526
PP
259182012-03-23 Daniel Jacobowitz <dmj@google.com>
25919 Paul Pluzhnikov <ppluzhnikov@google.com>
25920
25921 [BZ #6528]
25922 * grp/Makefile (otherlibs): Don't set it.
25923 * inet/Makefile (otherlibs): Likewise.
25924 * login/Makefile (otherlibs): Likewise.
25925 * nscd/Makefile (otherlibs): Likewise.
25926 * posix/Makefile (otherlibs): Likewise.
25927 * pwd/Makefile (otherlibs): Likewise.
25928 * rt/Makefile (otherlibs): Likewise.
25929 * sunrpc/Makefile (otherlibs): Likewise.
25930 * nss/Makefile (otherlibs): Likewise.
25931 Add libnss_files to routines and static-only-routines.
25932 ($(objpfx)getent): Remove rule.
25933 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25934 static-only-routines.
25935
7c69cd14
JM
259362012-03-22 Joseph Myers <joseph@codesourcery.com>
25937
25938 [BZ #13892]
25939 * math/s_cexp.c: Include <float.h>.
25940 (__cexp): Handle exp result overflowing not necessarily
25941 overflowing both real and imaginary parts of result.
25942 * math/s_cexpf.c: Likewise.
25943 * math/s_cexpl.c: Likewise.
25944 * math/libm-test.inc (cexp_test): Add more tests.
25945 * sysdeps/i386/fpu/libm-test-ulps: Update.
25946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25947
81b035fe
L
259482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25949
25950 * include/link.h (ELFW): New macro.
25951 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25952 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25953
1da7940c
L
259542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25955
25956 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25957 with uint64_t.
25958
b749dbb9
L
259592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25960
25961 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25962 declaration.
25963 (struct La_x32_retval): Likewise.
25964
2ff87f3f
L
259652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25966
25967 * sysdeps/x86_64/preconfigure.in: New file.
25968 * sysdeps/x86_64/preconfigure: New generated file.
25969
c0df8e69
JM
259702012-03-22 Joseph Myers <joseph@codesourcery.com>
25971
48e44791
JM
25972 [BZ #13824]
25973 * math/e_exp2l.c: Include <float.h>.
25974 (__ieee754_exp2l): Handle overflow and underflow cases
25975 separately. Only pass fractional part of argument to
25976 __ieee754_expl.
25977 * math/libm-test.inc (exp2_test): Add more tests.
25978
c0df8e69
JM
25979 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25980 negating x to take absolute value.
25981 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25982 Likewise.
25983 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25984 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25985 Likewise.
25986 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25987 computing low part if x was negated.
25988 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25989
c8e43ba7
L
259902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25991
25992 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25993 la_x32_gnu_pltexit.
25994 (pltexit): Cast int_retval to ptrdiff_t.
25995 * elf/tst-auditmod3b.c: Likewise.
25996 * elf/tst-auditmod4b.c: Likewise.
25997 * elf/tst-auditmod5b.c: Likewise.
25998 * elf/tst-auditmod6b.c: Likewise.
25999 * elf/tst-auditmod6c.c: Likewise.
26000 * elf/tst-auditmod7b.c: Likewise.
26001
26002 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26003 and x32_gnu_pltexit.
26004
26005 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26006 __ELF_NATIVE_CLASS.
26007 (La_x32_regs): New macro.
26008 (La_x32_retval): Likewise.
26009 (la_x32_gnu_pltenter): New function prototype.
26010 (la_x32_gnu_pltexit): Likewise.
26011
7998fa78
AS
260122012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26013
dcb33988
AS
26014 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26015 exponent.
26016
233fc563
AS
26017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26018
7998fa78
AS
26019 * configure.in (libc_cv_cc_nofma): Check for option to disable
26020 generation of FMA instructions.
26021 * configure: Regenerate.
26022 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26023 * sysdeps/ieee754/dbl-64/Makefile: New file.
26024 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26025 Remove brandred-fma4.
26026 (CFLAGS-brandred-fma4.c): Remove.
26027 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26028 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26029 define.
26030 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26031 define.
26032
8e95c99a
L
260332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26034
26035 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26036 LLONG_MAX != LONG_MAX.
26037 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26038 (_fitoa_word): Likewise.
26039 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26040 LLONG_MAX != LONG_MAX.
26041 * stdio-common/_itowa.h: Include <_itoa.h>.
26042 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26043 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26044 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26045 only if not defined.
26046 (_ITOA_WORD_TYPE): Likewise.
26047 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26048 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26049
6f4db457
DM
260502012-03-21 David S. Miller <davem@davemloft.net>
26051
26052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26053
7785fe5a
L
260542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26055
26056 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26057 of x86_64 when setting libc_cv_slibdir, libdir and
26058 libc_cv_localedir.
26059 * sysdeps/unix/sysv/linux/configure: Regenerated.
26060
4535cd55
JM
260612012-03-21 Joseph Myers <joseph@codesourcery.com>
26062
26063 * manual/lang.texi (Old Varargs): Remove section.
26064 (How Variadic): Update menu.
26065 (va_start): Do not mention varargs.h.
26066
17228132
TS
260672012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26068 Joseph Myers <joseph@codesourcery.com>
26069
26070 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26071 link test.
26072 * configure: Regenerated.
26073
8149f976
TS
260742012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26075
05f3d1f6
UD
26076 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26077 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26078 conformtest.pl
8149f976 26079
1a4ac776
JM
260802012-03-21 Joseph Myers <joseph@codesourcery.com>
26081
be22ce65
JM
26082 * NOTES: Remove.
26083 * Makefile (files-for-dist): Remove NOTES.
26084 (NOTES): Remove rule.
26085 * README: Don't refer to NOTES.
26086 * manual/creature.texi: Don't include macros.texi.
26087 * manual/intro.texi (creature.texi): Remove comment referring to
26088 NOTES.
26089
40b601fb
JM
26090 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26091 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26092 * configure: Regenerated.
26093 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26094 LIBC_TRY_CC_OPTION.
26095 (libc_cv_as_i686): Likewise.
26096 (libc_cv_cc_avx): Likewise.
26097 (libc_cv_cc_sse2avx): Likewise.
26098 (libc_cv_cc_fma4): Likewise.
26099 (libc_cv_cc_novzeroupper): Likewise.
26100 * sysdeps/i386/configure: Regenerated.
26101
1a4ac776
JM
26102 [BZ #13883]
26103 * sysdeps/i386/fpu/s_cexp.S: Remove.
26104 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26105 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26106 * math/libm-test.inc (cexp_test): Add more tests.
26107 * sysdeps/i386/fpu/libm-test-ulps: Update.
26108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26109
a458e7fe
AM
261102012-03-21 Allan McRae <allan@archlinux.org>
26111
26112 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26113
0cb7efc5
JM
261142012-03-21 Joseph Myers <joseph@codesourcery.com>
26115
26116 [BZ #13871]
26117 * math/w_exp2.c: Do not include <float.h>.
26118 (o_threshold, u_threshold): Remove.
26119 (__exp2): Calculate result before checking finiteness and calling
26120 __kernel_standard.
26121 * math/w_exp2f.c: Likewise.
26122 * math/w_exp2l.c: Likewise.
26123 * math/libm-test.inc (exp2_test): Require overflow exception for
26124 1e6 input.
2460d3aa
JM
26125
26126 [BZ #3866]
26127 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26128 range of signed 64-bit integers before using fistpll. Remove
26129 checks for whether integers fit in mantissa bits.
26130 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26131 the range of signed 32-bit integers before using fistpl. Remove
26132 checks for whether integers fit in mantissa bits.
26133 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26134 (__ieee754_powl): Test for y outside the range of signed 64-bit
26135 integers before using fistpll. Reduce 64-bit values to 63-bit
26136 ones as needed.
26137 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26138 divide-by-zero is raised for zero to large negative powers.
26139 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26140 (__ieee754_powl): Test for y outside the range of signed 64-bit
26141 integers before using fistpll. Reduce 64-bit values to 63-bit
26142 ones as needed.
26143 * math/libm-test.inc (pow_test): Add more tests.
26144
eb96ffb0
L
261452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26146
26147 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26148 <stdio-common/_itoa.h>.
26149 * debug/segfault.c: Likewise.
26150 * elf/dl-cache.c: Likewise.
26151 * elf/dl-minimal.c: Likewise.
26152 * elf/dl-misc.c: Likewise.
26153 * elf/dl-sysdep.c: Likewise.
26154 * elf/dl-version.c: Likewise.
26155 * elf/rtld.c: Likewise.
26156 * hurd/hurdsock.c: Likewise.
26157 * hurd/lookup-retry.c: Likewise.
26158 * malloc/malloc.c: Likewise.
26159 * malloc/mtrace.c: Likewise.
26160 * nscd/nscd_getgr_r.c: Likewise.
26161 * nscd/nscd_getpw_r.c: Likewise.
26162 * nscd/nscd_getserv_r.c: Likewise.
26163 * posix/getopt_init.c: Likewise.
26164 * posix/wordexp.c: Likewise.
26165 * stdio-common/_itoa.c: Likewise.
26166 * stdio-common/printf_fphex.c: Likewise.
26167 * stdio-common/vfprintf.c: Likewise.
26168 * string/_strerror.c: Likewise.
26169 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26170 * sysdeps/i386/i686/hp-timing.h: Likewise.
26171 * sysdeps/mach/_strerror.c: Likewise.
26172 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26173 * sysdeps/mach/hurd/sethostid.c: Likewise.
26174 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26175 * sysdeps/mach/xpg-strerror.c: Likewise.
26176 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26177 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26178 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26179 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26180 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26181 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26182 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26183 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26184 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26185 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26186 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26187 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26188 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26189 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26190 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26191 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26192 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26193 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26194 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26195 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26196 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26197
26198 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26199
26200 * stdio-common/_itoa.h: Moved to ...
26201 * sysdeps/generic/_itoa.h: Here.
26202
26203 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26204
26205 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26206 instead of "_itoa.h" and "_itowa.h".
26207 * stdio-common/vfprintf.: Likewise.
26208
d1af992d
L
262092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26210
26211 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26212 <bits/wordsize.h>.
26213 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26214 (__signbit): Likwise.
26215 (llrintf): Likwise.
26216 (llrint): Likwise.
26217
114883e0
L
262182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26219
26220 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26221 __WORDSIZE != 64.
26222
c135cc1b
JM
262232012-03-20 Joseph Myers <joseph@codesourcery.com>
26224
26225 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26226 OVERFLOW_EXCEPTION_OK.
26227 * math/libm-test.inc ("Philosophy"): Update comment about
26228 exception testing.
26229 (OVERFLOW_EXCEPTION): Define.
26230 (OVERFLOW_EXCEPTION_OK): Likewise.
26231 (INVALID_EXCEPTION_OK): Renumber.
26232 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26233 (IGNORE_ZERO_INF_SIGN): Likewise.
26234 (test_exceptions): Handle FE_OVERFLOW.
26235 (exp10_test): Expect overflow exceptions.
26236 (exp2_test): Likewise.
26237 (expm1_test): Likewise.
26238 (nextafter_test): Likewise.
26239 (pow_test): Likewise.
26240 (scalbn_test): Likewise.
26241 (scalbln_test): Likewise.
26242
95443d88
L
262432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26244
26245 * sysdeps/x86_64/bits/atomic.h
26246 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26247 64bit integer.
26248 (atomic_exchange_acq): Likewise.
26249 (__arch_exchange_and_add_body): Likewise.
26250 (__arch_add_body): Likewise.
26251 (atomic_add_negative): Likewise.
26252 (atomic_add_zero): Likewise.
26253
490df6c4
L
262542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26255
c2722551 26256 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
26257 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26258
5e52b189
L
262592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26260
26261 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26262 Check __x86_64__ instead of __WORDSIZE.
26263
a9879d4c
L
262642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26265
26266 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26267
5df98260
DM
262682012-03-19 David S. Miller <davem@davemloft.net>
26269
e1497744
DM
26270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26271
5df98260
DM
26272 * sysdeps/sparc/fpu/fenv_private.h: New file.
26273 * sysdeps/sparc/fpu/math_private.h: Use it.
26274 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26275 Remove.
26276 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26277 (libc_feholdexcept_setroundl): Remove.
26278 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26279 Remove.
26280 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26281 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26282
b4c35121
L
262832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26284
26285 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26286 int64_t instead of long int.
26287 (INSERT_WORDS64): Likwise.
26288
56965fd7
L
262892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26290
26291 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26292 _Unwind_GetCFA return to _Unwind_Ptr first.
26293
83d1aec8
JM
262942012-03-19 Joseph Myers <joseph@codesourcery.com>
26295
1897ad44
JM
26296 [BZ #13629]
26297 * math/s_clog.c: Include <float.h>.
26298 (__clog): Scale large or subnormal inputs.
26299 * math/s_clogf.c: Likewise.
26300 * math/s_clogl.c: Likewise.
26301 * math/s_clog10.c: Include <float.h>.
26302 (M_LOG10_2): Define.
26303 (__clog10): Scale large or subnormal inputs.
26304 * math/s_clog10f.c: Likewise.
26305 * math/s_clog10l.c: Likewise.
26306 * math/libm-test.inc (clog_test): Add more tests.
26307 (clog10_test): Likewise.
26308 * sysdeps/i386/fpu/libm-test-ulps: Update.
26309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26310
7726d6a9
JM
26311 [BZ #11451]
26312 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26313 x and y.
26314 * math/libm-test.inc (atan2_test): Add another test.
26315
83d1aec8
JM
26316 * Makerules (common-objdir-compile): Remove.
26317 * sysdeps/unix/Makefile (config-generated): Do not add
26318 $(unix-generated) to variable.
26319 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26320 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26321 Remove rule.
26322 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26323 Likewise.
26324 [generic bits/local_lim.h] (before-compile): Do not append to
26325 variable.
26326 [generic bits/local_lim.h] (common-generated): Likewise.
26327 [generic sys/param.h] (before-compile): Do not append to variable.
26328 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26329 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26330 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26331 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26332 include.
26333 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26334 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26335 [generic sys/param.h] ($(addprefix
26336 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26337 [generic sys/param.h] (common-generated): Do not append to
26338 variable.
26339 [generic sys/param.h] (sysdep_headers): Likewise.
26340 [generic bits/errno.h] (before-compile): Do not append to
26341 variable.
26342 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26343 rule.
26344 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26345 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26346 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26347 [generic bits/errno.h] (common-generated): Do not append to
26348 variable.
26349 [generic bits/ioctls.h] (before-compile): Do not append to
26350 variable.
26351 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26352 rule.
26353 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26354 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26355 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26356 rule.
26357 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26358 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26359 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26360 [generic bits/ioctls.h] (common-generated): Do not append to
26361 variable.
26362 [generic sys/syscall.h] (syscall.h): Remove variable.
26363 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26364 rule.
26365 [generic sys/syscall.h] (before-compile): Do not append to
26366 variable.
26367 [generic sys/syscall.h] (common-generated): Likewise.
26368 * sysdeps/unix/errnos-tmpl.c: Remove file.
26369 * sysdeps/unix/errnos.awk: Likewise.
26370 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26371 * sysdeps/unix/ioctls.awk: Likewise.
26372 * sysdeps/unix/mk-local_lim.c: Likewise.
26373 * sysdeps/unix/snarf-ioctls: Likewise.
26374
4851a949
RH
263752012-03-19 Richard Henderson <rth@twiddle.net>
26376
bd37f2ee
RH
26377 * sysdeps/i386/fpu/fenv_private.h: New file.
26378 * sysdeps/i386/fpu/math_private.h: Use it.
26379 (math_opt_barrier, math_force_eval): Remove.
26380 (libc_feholdexcept_setround_53bit): Remove.
26381 (libc_feupdateenv_53bit): Remove.
26382 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26383 (math_opt_barrier, math_force_eval): Remove.
26384 (libc_feholdexcept): Remove.
26385 (libc_feholdexcept_setround): Remove.
26386 (libc_fetestexcept, libc_fesetenv): Remove.
26387 (libc_feupdateenv_test): Remove.
26388 (libc_feupdateenv, libc_feholdsetround): Remove.
26389 (libc_feresetround): Remove.
26390
d0adc922
RH
26391 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26392 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26393
0fe0f1f8
RH
26394 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26395 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26396 (libc_feupdateenv_testl): New.
26397 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26398 (libc_feupdateenv_testf): New.
26399 (libc_feupdateenv): Use libc_feupdateenv_test.
26400 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26401 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26402
eb92c487
RH
26403 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26404 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26405 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26406 (libc_feresetround_noex): New.
26407 (libc_feresetround_noexf): New.
26408 (libc_feresetround_noexl): New.
26409 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26410 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26411 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26412 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26413 SET_RESTORE_ROUND.
26414 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26415 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26416 (__cos): Likewise.
26417 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26418 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26419 SET_RESTORE_ROUND_NOEX.
26420 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26421 SET_RESTORE_ROUND_NOEXF.
26422 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26423 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26424 (libc_feholdsetroundf): New.
26425 (libc_feresetround, libc_feresetroundf): New.
26426
7d2e8012
RH
26427 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26428 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26429 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26430
b4dabbb4
RH
26431 * sysdeps/generic/math_private.h: Include <fenv.h>.
26432 (default_libc_feholdexcept): New.
26433 (default_libc_feholdexcept_setround): New.
26434 (default_libc_fesetenv, default_libc_feupdateenv): New.
26435 (libc_feholdexcept): Only define if undefined.
26436 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26437 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26438 (libc_feholdexcept_setroundl): Likewise.
26439 (libc_feholdexcept_setround_53bit): Likewise.
26440 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26441 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26442 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26443 (libc_feupdateenv_53bit): Likewise.
26444 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26445 (libc_feholdexcept): Convert from macro to inline function.
26446 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26447 (libc_fesetenv, libc_feupdateenv): Likewise.
26448
4851a949
RH
26449 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26450 not previously defined.
26451 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26452 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26453 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26454 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26455 * sysdeps/ieee754/flt-32/math_private.h: New file.
26456 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26457 math_private.h below SET_FLOAT_WORD.
26458 (__isnan, __isinf_ns, __finite): Remove.
26459 (__isnanf, __isinf_nsf, __finitef): Remove.
26460
e79d442e
AS
264612012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26462
26463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26464
90b80344
DM
264652012-03-17 David S. Miller <davem@davemloft.net>
26466
26467 [BZ #6471]
26468 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26469 for 2.16.
26470
edc21804
DM
264712012-03-16 David S. Miller <davem@davemloft.net>
26472
77e927af
DM
26473 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26474 warnings.
26475
374976dd
DM
26476 [BZ #6471]
26477 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26478 properly.
26479 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26480 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26481 sysdep_routines when subdir is sysvipc.
26482 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26483 __getshmlba helper.
26484
edc21804
DM
26485 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26486
473c3ef3
L
264872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26488
26489 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26490 [__LP64__].
26491
eb0f39b6
L
264922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26493
26494 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26495 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26496 (__lround): Renamed to ...
26497 (__llround): This. Replace long int with long long int.
26498 Define lround functions as aliases of llround functions.
26499 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26500
6b6cd74b
L
265012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26502
26503 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26504 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26505 adresses to uintptr_t. Replace "long int" and "unsigned long
26506 int" with "greg_t" on va_arg.
26507
f1a77b01
L
265082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26509
26510 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26511 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26512
26513 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26514 Move e_machine check before EI_CLASS check. Handle x32
26515 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26516 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26517 SKIP_EM_IA_64 and include
26518 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26519
26520 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26521 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26522 (add_system_dir): New macro.
26523
26524 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26525 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26526
11b90b9f
JM
265272012-03-16 Joseph Myers <joseph@codesourcery.com>
26528
c36e1d23
JM
26529 [BZ #2551]
26530 [BZ #2552]
26531 [BZ #2553]
26532 [BZ #2554]
26533 [BZ #2562]
26534 [BZ #2563]
26535 [BZ #2565]
26536 [BZ #2566]
26537 [BZ #2576]
26538 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26539 (y0): Likewise.
26540 * math/w_j0f.c (j0f): Likewise.
26541 (y0f): Likewise.
26542 * math/w_j0l.c (__j0l): Likewise.
26543 (__y0l): Likewise.
26544 * math/w_j1.c (j1): Likewise.
26545 (y1): Likewise.
26546 * math/w_j1f.c (j1f): Likewise.
26547 (y1f): Likewise.
26548 * math/w_j1l.c (__j1l): Likewise.
26549 (__y1l): Likewise.
26550 * math/w_jn.c (jn): Likewise.
26551 (yn): Likewise.
26552 * math/w_jnf.c (jnf): Likewise.
26553 (ynf): Likewise.
26554 * math/w_jnl.c (__jnl): Likewise.
26555 (__ynl): Likewise.
26556 * math/libm-test.inc (j0_test): Add more tests.
26557 (j1_test): Likewise.
26558 (jn_test): Likewise. Add trailing semicolon to existing test.
26559 (y0_test): Likewise.
26560 (y1_test): Likewise.
26561 * sysdeps/i386/fpu/libm-test-ulps: Update.
26562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26563
11b90b9f
JM
26564 [BZ #13851]
26565 [BZ #13854]
26566 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26567 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26568 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26569 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26570 (__tanl): Set errno for infinite argument.
26571 * sysdeps/i386/fpu/mptan.c: Remove.
26572 * sysdeps/i386/fpu/s_tan.S: Likewise.
26573 * sysdeps/i386/fpu/s_tanl.S: Likewise.
26574 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26575 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26576 * math/libm-test.inc (tan_test): Add more tests and enable more
26577 tests for double and long double.
26578 * sysdeps/i386/fpu/libm-test-ulps: Update.
26579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26580
6a1bd2a1
JK
265812012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26582
26583 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26584 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26585
10a803e0
RM
265862012-03-16 Roland McGrath <roland@hack.frob.com>
26587
26588 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26589 * configure.in: Use it for both main tree and add-ons.
26590 * configure: Regenerated.
26591
f196c7f7
L
265922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26593
26594 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26595
8848d99d
JM
265962012-03-16 Joseph Myers <joseph@codesourcery.com>
26597
96cbe7f4
JM
26598 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26599 in comment.
26600
8848d99d
JM
26601 [BZ #13851]
26602 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26603 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26604 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26605 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26606 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26607 infinite argument.
26608 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26609 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26610 != 0 for prec == 2.
26611 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26612 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26613 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26614 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26615 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26616 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26617 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26618 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26619 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26620 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26621 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26622 * math/libm-test.inc (cos_test): Add more tests and enable more
26623 tests for long double.
26624 (sin_test): Likewise.
26625 (sincos_test): Likewise.
26626 * sysdeps/i386/fpu/libm-test-ulps: Update.
26627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26628
dd7f4703
DM
266292012-03-16 David S. Miller <davem@davemloft.net>
26630
26631 * sysdeps/sparc/fpu/math_private.h: New file.
26632
006f1daa
DM
266332012-03-15 David S. Miller <davem@davemloft.net>
26634
c0c83bc8
DM
26635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26636 file.
e6a62e18 26637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
26638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26639 file.
e6a62e18
DM
26640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26645 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26646 sysdep routines.
26647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26648
88cb87d9
DM
26649 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26650 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26651
006f1daa 26652 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
26653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26654 sparc-ifunc.h
006f1daa 26655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
26656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26657 Likewise.
26658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26659 Likewise.
006f1daa
DM
26660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
26663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26664 Likewise.
006f1daa
DM
26665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
26669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26670 Likewise.
26671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26672 Likewise.
006f1daa
DM
26673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26677 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26678 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26679 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26680 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26681 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26682 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26688 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26689 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26690 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26691 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26692 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26693 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26694 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26695 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26696 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26697
11e0098e
AS
266982012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26699
26700 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26701 scaling.
26702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26703
e85b09d0
AJ
267042012-03-15 Andreas Jaeger <aj@suse.de>
26705
26706 [BZ #13852]
26707 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26708 ieee754/flt-32 implementation for sin, cos and sincos.
26709 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26710 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26711 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26712 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26713 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26714 ieee754/flt-32 implementation for tan.
26715
26716 * math/libm-test.inc (cos_test): Enable some large input tests for
26717 float as well
26718 (sin_test): Likewise.
26719 (sincos_test): Likewise.
26720 (tan_test): Add tests for large input.
26721
26722 * sysdeps/i386/fpu/libm-test-ulps: Update.
26723
81c64153
AJ
267242012-03-15 Andreas Jaeger <aj@suse.de>
26725
26726 [BZ #13658]
26727 * math/libm-test.inc (cos_test): Add more test cases.
26728 (sin_test): Likewise.
26729 (sincos_test): Likewise.
26730
7bbfa5c6
AJ
267312012-03-15 Andreas Jaeger <aj@suse.de>
26732
26733 [BZ #13837]
26734 * math/libm-test.inc (cos_test): Add a test case for large input
26735 value.
26736 (sin_test): Likewise.
26737 (sincos_test): Likewise.
26738
267392012-03-15 Andreas Jaeger <aj@suse.de>,
26740 Joseph Myers <joseph@codesourcery.com>
26741
26742 [BZ #13658]
0671f479 26743 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
26744 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26745 * sysdeps/i386/fpu/branred.c: Likewise.
26746 * sysdeps/i386/fpu/dosincos.c: Likewise.
26747 * sysdeps/i386/fpu/mpa.c: Likewise.
26748 * sysdeps/i386/fpu/s_cos.S: Likewise.
26749 * sysdeps/i386/fpu/s_sin.S: Likewise.
26750 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26751 * sysdeps/i386/fpu/sincos32.c: Likewise.
26752
26753 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26754 Define.
26755 (libc_feupdateenv_53bit): Define.
26756 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26757 Define.
26758 (libc_feupdateenv_53bit): Define.
26759
26760 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26761 53 bit (without extend i386 double precision).
26762
26763 * math/libm-test.inc (sincos_test): Add tests for large input.
26764 (sin): Likewise.
26765 (cos): Likewise.
26766
26767 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26768
9cad04ea
AS
267692012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26770
26771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26772
f7062b9a
DM
267732012-03-15 David S. Miller <davem@davemloft.net>
26774
26775 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26776 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26777 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26778 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26783 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26784 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26785 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26786 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
26790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26791 file.
f7062b9a 26792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
26793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26794 file.
f7062b9a 26795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
26796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26797 file.
f7062b9a 26798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
26799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26800 file.
f7062b9a
DM
26801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26802 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26803 fmin/fmax sysdep routines.
26804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26805
7bd951ff
DM
268062012-03-14 David S. Miller <davem@davemloft.net>
26807
559398ab
DM
26808 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26809 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26811 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26812 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26813 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26814 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26815 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26816 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26817 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26819 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26820 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26821 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26822 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26823 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26824 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26825 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26826 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26827 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26828 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26829 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26830 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26831 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26832 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26833 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26834 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26835 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26836 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26837 routines.
26838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26839 file.
559398ab 26840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
26841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26842 file.
559398ab 26843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
26844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26845 file.
559398ab 26846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
26847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26848 file.
559398ab 26849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
26850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26851 file.
559398ab 26852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
26853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26854 file.
26855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26856 file.
26857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26858 file.
26859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26860 file.
26861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26862 New file.
26863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26864 file.
26865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26866 file.
559398ab 26867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
26868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26869 file.
559398ab 26870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26872 file.
559398ab 26873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
26874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26875 file.
559398ab 26876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
26877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26878 VIS3 routines.
559398ab
DM
26879
26880 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26881 New file.
26882
5a1c1e32
DM
26883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26884
eae47a36
DM
26885 * sysdeps/sparc/configure.in: New file.
26886 * sysdeps/sparc/configure: Generate.
26887 * configure.in (libc_cv_sparc_as_vis3): Substitute.
26888 * configure: Regenerate.
26889 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26890 * config.make.in (have-as-vis3): New.
26891 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26892 available use -Av9d instead of -Av9a.
26893 * sysdeps/sparc/sparc64/Makefile: Likewise.
26894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
26895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26896 New file.
26897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26898 file.
26899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26900 New file.
26901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26902 file.
eae47a36
DM
26903 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26904 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26905 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26906 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26907 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26908
c0c83bc8
DM
26909 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26910 fzeros/fnegs to load 0x80000000 into a float register instead of
26911 using the stack.
7bd951ff
DM
26912 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26913
bd951ccb
JM
269142012-03-14 Joseph Myers <joseph@codesourcery.com>
26915
26916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26917 bits/syscall.h.
26918 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26919 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26920 ($(inst_includedir)/bits/syscall.h): Remove rule.
26921 ($(objpfx)bits/syscall.d): Include instead of
26922 $(objpfx)syscall-list.d.
26923 (generated): Change syscall-list.h and syscall-list.d to
26924 bits/syscall.h and bits/syscall.d.
26925
bb4e6db2
RM
269262012-03-14 Roland McGrath <roland@hack.frob.com>
26927
26928 [BZ #13846]
26929 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26930
aa4a2ae1
JM
269312012-03-14 Joseph Myers <joseph@codesourcery.com>
26932
e456826d
JM
26933 [BZ #13841]
26934 * math/s_csqrt.c: Include <float.h>.
26935 (__csqrt): Scale large or subnormal inputs.
26936 * math/s_csqrtf.c: Likewise.
26937 * math/s_csqrtl.c: Likewise.
26938 * math/libm-test.inc (csqrt_test): Add more tests.
26939 * sysdeps/i386/fpu/libm-test-ulps: Update.
26940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26941
aa4a2ae1
JM
26942 [BZ #13840]
26943 * math/libm-test.inc (hypot_test): Add more tests.
26944
7c10fd35
DM
269452012-03-13 David S. Miller <davem@davemloft.net>
26946
26947 [BZ #13840]
26948 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26949 double-precision for the calculation instead of scaling.
26950
f453b98b
JM
269512012-03-13 Joseph Myers <joseph@codesourcery.com>
26952
26953 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26954 manipulate bits before adding and subtracting TWO52[sx].
26955 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26956 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26957 Likewise.
26958 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26959
09a3453f
DM
269602012-03-13 David S. Miller <davem@davemloft.net>
26961
8e59da90
DM
26962 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26963 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26964 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26965 rtld-global-offsets.h
26966 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26967
2a8ab7f2
DM
26968 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26969 large parameters.
26970
10f62770
DM
26971 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26972
5f0bdb18
DM
26973 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26974 'err' in the ifdef scope in which it is actually used.
26975
09a3453f
DM
26976 * nss/nss_db/db-init.c: Include string.h
26977
b4b2eb5e
DM
269782012-03-12 David S. Miller <davem@davemloft.net>
26979
98bb2f1c
DM
26980 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26981 masking out of the most significant byte of random value used.
26982 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26983 Fix coding style in previous change.
26984
b4b2eb5e
DM
26985 * sysdeps/unix/sysv/linux/kernel-features.h
26986 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26987 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26988 expression.
26989 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26990 later.
26991
6e226b09
DM
269922012-03-11 David S. Miller <davem@davemloft.net>
26993
a1bcbd40
DM
26994 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26995 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26996 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26997 for 'resultvar' otherwise things get truncated on 64-bit.
26998
cb9d6174
DM
26999 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27000 Fix masking out of the most significant byte of random value used.
27001
6e226b09
DM
27002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27003
058c132d
AS
270042012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27005
27006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27007
2d2cd515
DM
270082012-03-09 David S. Miller <davem@davemloft.net>
27009
27010 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27011 variables with appropriate CPP guards.
27012 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27013 frame pointer, not the stack pointer. Correct layout comments. Fix test
27014 on resulting framesize and the management of the outregs buffer for pltexit.
27015 Preserve floating point return values across _dl_call_pltexit call.
27016 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27017 framesize and the management of the outregs buffer for pltexit.
27018 Preserve floating point return values across _dl_call_pltexit
27019 call.
27020 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27021 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27022 (print_exit): Fix format string for return register value.
27023
9a07f9d0
JM
270242012-03-10 Joseph Myers <joseph@codesourcery.com>
27025
27026 * sunrpc/Makefile (others): Add rpcgen.
27027 ($(objpfx)rpcgen): Remove special build rule and dependency on
27028 libc.
27029 * sunrpc/rpcgen.c: New file.
27030
547b5e30
PE
270312012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27032
c524201a
PE
27033 [BZ #13673]
27034 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27035 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27036 * sysdeps/i386/crti.S: Likewise.
27037 * sysdeps/i386/crtn.S: Likewise.
27038 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27039 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27040 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27041 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27042 * sysdeps/sh/crti.S: Likewise.
27043 * sysdeps/sh/crtn.S: Likewise.
27044 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27045
7b6235f2
PE
27046 [BZ #13673]
27047 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27048 with URL.
27049 * locale/programs/locfile-kw.gperf: Likewise.
27050 * locale/programs/charmap-kw.h: Regenerated.
27051 * locale/programs/locfile-kw.h: Likewise.
27052
547b5e30
PE
27053 [BZ #13673]
27054 * intl/plural.y: Replace FSF snail mail address with URL.
27055 * intl/plural.c: Regenerated.
27056
5f0a5dae
RH
270572012-03-09 Richard Henderson <rth@twiddle.net>
27058
27059 * include/math_private.h: Remove file.
27060 * math/math_private.h: Move file ...
27061 * sysdeps/generic/math_private.h: ... here.
27062
b8c03620
RH
27063 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27064 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27065 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27066
4e234f5d 27067 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
27068 and <math_private.h>.
27069 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27070 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27071 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27072 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27073 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27074 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27075 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27076 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27077 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27078 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27080 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27081 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27082 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27083 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27084 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27085 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27086 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27087 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27088 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27089 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27090 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27091 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27092 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27093 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27094 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27095 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27096 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27097 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27098 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27099 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27100 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27101 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27102 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27103 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27104 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27105 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27106 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27107 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27108 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27109 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27110 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27111 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27112 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27113 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27114 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27115 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27116 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27117 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27118 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27119 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27120 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27121 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27122 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27123 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27124 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27125 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27126 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27127 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27128 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27129 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27130 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27131 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27132 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27133 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27134 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27135 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27136 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27137 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27138 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27139 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27140 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27141 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27142 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27143 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27144 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27145 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27146 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27147 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27148 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27149 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27150 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27151 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27152 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27153 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27154 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27155 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27156 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27157 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27158 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27159 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27160 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27161 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27162 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27163 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27164 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27165 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27166 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27167 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27168 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27169 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27170 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27171 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27172 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27173 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27174 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27175 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27176 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27177 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27178 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27179 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27180 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27181 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27182 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27183 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27184 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27185 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27186 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27187 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27188 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27189 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27190 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27191 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27192 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27193 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27194 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27195 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27196 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27197 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27198 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27199 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27200 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27201 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27202 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27203 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27204 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27205 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27206 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27207 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27208 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27209 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27210 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27211 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27212 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27213 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27214 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27215 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27216 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27217 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27218 * sysdeps/ieee754/k_standard.c: Likewise.
27219 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27220 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27221 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27222 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27223 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27224 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27225 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27226 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27227 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27228 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27229 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27230 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27231 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27232 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27233 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27234 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27235 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27236 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27237 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27238 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27239 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27240 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27241 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27242 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27243 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27244 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27245 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27246 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27247 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27248 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27249 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27250 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27251 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27252 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27253 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27254 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27255 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27256 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27257 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27258 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27259 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27260 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27261 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27262 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27263 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27264 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27265 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27266 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27267 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27268 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27269 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27270 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27271 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27272 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27273 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27274 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27275 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27276 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27277 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27278 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27279 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27280 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27281 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27282 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27283 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27284 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27285 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27286 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27287 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27288 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27289 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27290 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27291 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27292 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27293 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27294 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27295 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27296 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27297 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27298 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27299 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27300 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27301 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27302 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27303 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27304 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27305 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27306 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27307 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27308 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27309 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27310 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27311 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27312 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27313 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27314 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27315 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27316 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27317 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27318 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27319 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27320 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27321 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27322 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27323 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27324 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27325 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27326 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27327 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27328 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27329 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27330 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27331 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27332 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27333 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27334 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27335 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27336 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27337 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27338 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27339 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27340 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27341 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27342 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27343 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27344 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27345 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27346 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27347 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27348 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27349 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27350 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27351 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27352 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27353 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27354 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27355 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27356 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27357 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27358 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27359 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27360 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27361 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27362 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27363 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27364 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27365 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27366 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27367 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27368 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27369 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27370 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27371 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27372 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27373 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27374 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27375 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27376 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27377 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27378 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27379 * sysdeps/ieee754/s_lib_version.c: Likewise.
27380 * sysdeps/ieee754/s_matherr.c: Likewise.
27381 * sysdeps/ieee754/s_signgam.c: Likewise.
27382 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27383 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27384 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27385 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27386 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27387 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27388 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27389 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27390 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27391 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27392 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27393 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27394 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27395 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27396 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27397 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27398 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27399 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27400 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27401 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27402 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 27403
1991fa03
JM
274042012-03-09 Joseph Myers <joseph@codesourcery.com>
27405
27406 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27407 * sunrpc/rpc_main.c: Likewise.
27408 * sunrpc/rpc_svcout.c: Likewise.
27409
60d6f5a6
DM
274102012-03-09 David S. Miller <davem@davemloft.net>
27411
27412 * include/math_private.h: New file.
27413
4962050e
JM
274142012-03-09 Joseph Myers <joseph@codesourcery.com>
27415
02a6f887
JM
27416 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27417 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27418 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27419 from <bits/socket_type.h>.
27420 (enum __socket_type): Don't define here.
27421 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27423 bits/socket_type.h.
27424
c6e013c1
JM
27425 [BZ #13566]
27426 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27427 checking __USE_GNU.
27428
4962050e
JM
27429 * Makerules ($(inst_includedir)/%.h): New rule.
27430 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27431 (install-others): Remove variable setting.
27432 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27433
38842f45
RH
274342012-03-08 Richard Henderson <rth@twiddle.net>
27435
67bb6da6
RH
27436 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27437 from macro to inline function; merge with the
27438 !__LIBC_INTERNAL_MATH_INLINES version.
27439 (__ieee754_sqrtf): Likewise.
27440
15194b4b
RH
27441 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27442 to inline function.
27443 (__rintf, __floor, __floorf): Likewise.
27444
64e21ede
RH
27445 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27446 macro to inline function.
27447 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27448
38842f45
RH
27449 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27450 not <math/math_private.h>.
27451
c64bf5fe
DM
274522012-03-08 David S. Miller <davem@davemloft.net>
27453
27454 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27455 copyright year.
27456 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27457
82d86f28
TS
274582012-03-08 Thomas Schwinge <thomas@codesourcery.com>
27459
27460 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27461 normalization.
27462 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27463 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27464
aea5d727
UD
274652012-03-08 Ulrich Drepper <drepper@gmail.com>
27466
27467 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27468 be defined individually, they must be defined as a block. Define
27469 S for printing a string instead of hidint the different by using a
27470 macro for adding the 'l'.
27471 * stdio-common/tst-fphex-wide.c: Adjust.
27472
70bca0a3
MP
274732012-03-07 Marek Polacek <polacek@redhat.com>
27474
27475 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27476
65b81130
MP
274772012-03-08 Marek Polacek <polacek@redhat.com>
27478
27479 [BZ #13806]
27480 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27481 * stdio-common/tst-fphex.c: Define a few macros to make the
27482 test reusable. Use them.
27483 * stdio-common/tst-fphex-wide.c: New file.
27484
07037eeb
JM
274852012-03-08 Joseph Myers <joseph@codesourcery.com>
27486
a7a93d50
JM
27487 [BZ #6911]
27488 * manual/macros.texi (gnusystems): New macro.
27489 (nongnusystems): Likewise.
27490 (gnulinuxhurdsystems): Likewise.
27491 (gnuhurdsystems): Likewise..
27492 (gnulinuxsystems): Likewise.
27493 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27494 variants of the GNU system, not "GNU system".
27495 * manual/conf.texi: Likewise.
27496 * manual/errno.texi: Likewise. Update example of errno macro
27497 expansion.
27498 * manual/filesys.texi: Likewise.
27499 (getumask): Document as specific to GNU/Hurd.
27500 * manual/install.texi: Likewise. Reword some references to
27501 GNU/Linux.
27502 * manual/intro.texi: Likewise.
27503 * manual/io.texi: Likewise.
27504 (File Name Portability): Detail which constraints are inapplicable
27505 to all GNU systems and which are only inapplicable to GNU/Hurd.
27506 * manual/job.texi: Likewise.
27507 * manual/llio.texi: Likewise.
27508 (O_NOCTTY): Document as present on GNU/Linux.
27509 * manual/maint.texi: Likewise.
27510 * manual/memory.texi: Likewise.
27511 * manual/pattern.texi: Likewise.
27512 * manual/pipe.texi: Likewise.
27513 * manual/process.texi: Likewise.
27514 * manual/resource.texi: Likewise.
27515 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27516 child on GNU/Hurd.
27517 * manual/setjmp.texi: Likewise.
27518 * manual/signal.texi: Likewise.
27519 * manual/startup.texi: Likewise.
27520 * manual/stdio.texi: Likewise.
27521 * manual/terminal.texi: Likewise.
27522 (ONLCR): Document as POSIX.
27523 (OXTABS): Document availability on GNU/Linux as XTABS.
27524 (ONOEOT): Document availability separately from other bits.
27525 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27526 * manual/time.texi: Likewise.
27527 * manual/users.texi: Likewise.
27528 * INSTALL: Regenerated.
27529 * sysdeps/gnu/errlist.c: Regenerated.
27530
07037eeb
JM
27531 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27532 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27533 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27534 puts.
27535 * configure: Regenerated.
27536
d1d3431a
JM
275372012-03-07 Joseph Myers <joseph@codesourcery.com>
27538
af6a1e37
JM
27539 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27540 default includes instead of AC_HEADER_CHECK.
27541 * sysdeps/i386/configure: Regenerated.
27542
d1d3431a
JM
27543 [BZ #10716]
27544 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27545 * math/s_cacoshf.c (__cacoshf): Likewise.
27546 * math/s_cacoshl.c (__cacoshl): Likewise.
27547 * math/s_casinh.c (__casinh): Set signs of result from argument.
27548 * math/s_casinhf.c (__casinhf): Likewise.
27549 * math/s_casinhl.c (__casinhl): Likewise.
27550 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27551 (casinh_test): Add more tests.
27552 * sysdeps/i386/fpu/libm-test-ulps: Update.
27553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27554
482ff4da
UD
275552012-03-07 Ulrich Drepper <drepper@gmail.com>
27556
872fda05
UD
27557 * po/zh_TW.po: Update from translation team.
27558
a4300c7a
UD
27559 * login/Makefile (distribute): Remove variable.
27560 * catgets/Makefile: Likewise.
27561 * mach/Makefile: Likewise.
27562 * malloc/Makefile: Likewise.
27563 * misc/Makefile: Likewise.
27564 * iconv/Makefile: Likewise.
27565 * nscd/Makefile: Likewise.
27566 * hurd/Makefile: Likewise.
27567 * manual/Makefile: Likewise.
27568 * locale/Makefile: Likewise.
27569 * intl/Makefile: Likewise.
27570 * conform/Makefile: Likewise.
27571 * nss/Makefile: Likewise.
27572 * time/Makefile: Likewise.
27573 * soft-fp/Makefile: Likewise.
27574 * dirent/Makefile: Likewise.
27575 * gmon/Makefile: Likewise.
27576 * po/Makefile: Likewise.
27577 * rt/Makefile: Likewise.
27578 * socket/Makefile: Likewise.
27579 * math/Makefile: Likewise.
27580 * signal/Makefile: Likewise.
27581 * debug/Makefile: Likewise.
27582 * elf/Makefile: Likewise.
27583 * timezone/Makefile: Likewise.
27584 * stdlib/Makefile: Likewise.
27585 * iconvdata/Makefile: Likewise.
27586 * sunrpc/Makefile: Likewise.
27587 * io/Makefile: Likewise.
27588 * argp/Makefile: Likewise.
27589 * inet/Makefile: Likewise.
27590 * hesiod/Makefile: Likewise.
27591 * grp/Makefile: Likewise.
27592 * csu/Makefile: Likewise.
27593 * wctype/Makefile: Likewise.
27594 * crypt/Makefile: Likewise.
27595 * libio/Makefile: Likewise.
27596 * string/Makefile: Likewise.
27597 * nis/Makefile: Likewise.
27598 * resolv/Makefile: Likewise.
27599 * stdio-common/Makefile: Likewise.
27600 * wcsmbs/Makefile: Likewise.
27601 * dlfcn/Makefile: Likewise.
27602 * posix/Makefile: Likewise.
27603
3b7c4e74 27604 [BZ #6959]
482ff4da
UD
27605 * timezone/Makefile: Don't install timezone files, just the programs
27606 and scripts.
27607
f72ed77d
UD
276082012-03-06 Ulrich Drepper <drepper@gmail.com>
27609
a000466f
UD
27610 * nss/databases.def: Add missing gshadow entry.
27611
f72ed77d
UD
27612 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27613
a53b7a4e
MP
276142012-03-06 Marek Polacek <polacek@redhat.com>
27615
27616 [BZ #13726]
27617 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27618 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27619 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27620 * stdio-common/tst-long-dbl-fphex.c: New file.
27621
e9258400
DM
276222012-03-06 David S. Miller <davem@davemloft.net>
27623
27624 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27625 (set_obp_int): New function.
27626 (get_obp_int): New function.
27627 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
27628 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27629 Avoid unused variable warnings on 'val' and use builtin_expect.
27630 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27631 __builtin_expect.
e9258400
DM
27632 (INLINE_CLONE_SYSCALL): Likewise.
27633
3bd2c723
DM
276342012-03-05 David S. Miller <davem@davemloft.net>
27635
27636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27637
bbb78d03
AS
276382012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27639
884c5db4
AS
27640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27641
bbb78d03
AS
27642 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27643 only for |x| >= 40.
27644 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27645
1c9f702a 276462012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
27647
27648 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27649 Replace gettimeofday with __vdso_gettimeofday.
27650
7be16f82
RM
27651 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27652 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27653 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
27654
27655 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27656 time with __vdso_time.
27657
ed58a00f
JM
276582012-03-05 Joseph Myers <joseph@codesourcery.com>
27659
27660 * manual/lang.texi (size_t): Note types to which size_t may be
27661 equivalent with the GNU C Library, but do not describe when
27662 differences between them are significant.
27663
30ee4ced
AJ
276642012-03-05 Andreas Jaeger <aj@suse.de>
27665
27666 * sysdeps/i386/fpu/libm-test-ulps: Update.
27667
b7cd39e8
JM
276682012-03-05 Joseph Myers <joseph@codesourcery.com>
27669
27670 [BZ #3976]
27671 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27672 (__ieee754_pow): Save and restore rounding mode and use
27673 round-to-nearest for main computations.
27674 * math/libm-test.inc (pow_test_tonearest): New function.
27675 (pow_test_towardzero): Likewise.
27676 (pow_test_downward): Likewise.
27677 (pow_test_upward): Likewise.
27678 (main): Call the new functions.
27679 * sysdeps/i386/fpu/libm-test-ulps: Update.
27680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
27681
27682 [BZ #3976]
27683 * math/libm-test.inc (cosh_test_tonearest): New function.
27684 (cosh_test_towardzero): Likewise.
27685 (cosh_test_downward): Likewise.
27686 (cosh_test_upward): Likewise.
27687 (sinh_test_tonearest): Likewise.
27688 (sinh_test_towardzero): Likewise.
27689 (sinh_test_downward): Likewise.
27690 (sinh_test_upward): Likewise.
27691 (main): Call the new functions.
27692 * sysdeps/i386/fpu/libm-test-ulps: Update.
27693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27694
6c6a98c9
TV
276952012-03-05 Tom de Vries <tom@codesourcery.com>
27696
27697 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27698 default stack guard is set in last bytes.
27699 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27700
21bb2d2e 277012012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 27702
21bb2d2e 27703 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 27704
21bb2d2e
AJ
27705 [BZ #13656]
27706 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27707 possibly allocate from heap instead of stack.
27708 * stdio-common/bug-vfprintf-nargs.c: New file.
27709 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 27710
c6922934
AS
277112012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27712
27713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27714
bc957d53
MP
277152012-03-03 Marek Polacek <polacek@redhat.com>
27716
27717 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27718 * math/math_private.h: Likewise.
27719 * stdlib/tst-strtod.c: Likewise.
27720 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27721 * sysdeps/x86_64/bits/atomic.h: Likewise.
27722
6358490d
DM
277232012-03-02 David S. Miller <davem@davemloft.net>
27724
27725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27729 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27730 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27731 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27732 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27733
01ae168d
RM
277342012-03-02 Roland McGrath <roland@hack.frob.com>
27735
d9a17c07
RM
27736 [BZ #13792]
27737 * manual/examples/README: New file, says the example source files
27738 can be used under GPL>=2.
27739 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27740 line containing just "*/".
27741 * manual/examples/add.c: Add copyright header (GPL>=2).
27742 * manual/examples/argp-ex1.c: Likewise.
27743 * manual/examples/argp-ex2.c: Likewise.
27744 * manual/examples/argp-ex3.c: Likewise.
27745 * manual/examples/argp-ex4.c: Likewise.
27746 * manual/examples/atexit.c: Likewise.
27747 * manual/examples/db.c: Likewise.
27748 * manual/examples/dir.c: Likewise.
27749 * manual/examples/dir2.c: Likewise.
27750 * manual/examples/execinfo.c: Likewise.
27751 * manual/examples/filecli.c: Likewise.
27752 * manual/examples/filesrv.c: Likewise.
27753 * manual/examples/fmtmsgexpl.c: Likewise.
27754 * manual/examples/genpass.c: Likewise.
27755 * manual/examples/inetcli.c: Likewise.
27756 * manual/examples/inetsrv.c: Likewise.
27757 * manual/examples/isockad.c: Likewise.
27758 * manual/examples/longopt.c: Likewise.
27759 * manual/examples/memopen.c: Likewise.
27760 * manual/examples/memstrm.c: Likewise.
27761 * manual/examples/mkfsock.c: Likewise.
27762 * manual/examples/mkisock.c: Likewise.
27763 * manual/examples/mygetpass.c: Likewise.
27764 * manual/examples/pipe.c: Likewise.
27765 * manual/examples/popen.c: Likewise.
27766 * manual/examples/rprintf.c: Likewise.
27767 * manual/examples/search.c: Likewise.
27768 * manual/examples/select.c: Likewise.
27769 * manual/examples/setjmp.c: Likewise.
27770 * manual/examples/sigh1.c: Likewise.
27771 * manual/examples/sigusr.c: Likewise.
27772 * manual/examples/stpcpy.c: Likewise.
27773 * manual/examples/strdupa.c: Likewise.
27774 * manual/examples/strftim.c: Likewise.
27775 * manual/examples/strncat.c: Likewise.
27776 * manual/examples/subopt.c: Likewise.
27777 * manual/examples/swapcontext.c: Likewise.
27778 * manual/examples/termios.c: Likewise.
27779 * manual/examples/testopt.c: Likewise.
27780 * manual/examples/testpass.c: Likewise.
27781 * manual/examples/timeval_subtract.c: Likewise.
27782
01ae168d
RM
27783 [BZ #13792]
27784 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27785 function to ...
27786 * manual/timeval_subtract.c.texi: ... here, new file.
27787
49efa33d
DM
277882012-03-02 David S. Miller <davem@davemloft.net>
27789
27790 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27791
28afd92d
JM
277922012-03-02 Joseph Myers <joseph@codesourcery.com>
27793
804360ed
JM
27794 [BZ #3976]
27795 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27796 (__sin): Save and restore rounding mode and use round-to-nearest
27797 for all computations.
27798 (__cos): Save and restore rounding mode and use round-to-nearest
27799 for all computations.
27800 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27801 <fenv.h>.
27802 (tan): Save and restore rounding mode and use round-to-nearest for
27803 all computations.
27804 * math/libm-test.inc (cos_test_tonearest): New function.
27805 (cos_test_towardzero): Likewise.
27806 (cos_test_downward): Likewise.
27807 (cos_test_upward): Likewise.
27808 (sin_test_tonearest): Likewise.
27809 (sin_test_towardzero): Likewise.
27810 (sin_test_downward): Likewise.
27811 (sin_test_upward): Likewise.
27812 (tan_test_tonearest): Likewise.
27813 (tan_test_towardzero): Likewise.
27814 (tan_test_downward): Likewise.
27815 (tan_test_upward): Likewise.
27816 (main): Call the new functions.
27817 * sysdeps/i386/fpu/libm-test-ulps: Update.
27818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27819
a6d06d7b
JM
27820 [BZ #10135]
27821 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27822 small n, then large n, before computing and testing k+n.
27823 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27824 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27825 Likewise.
27826 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27827 Likewise.
27828 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27829 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27830 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27831 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27832 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27833 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27834 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27835 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27836 * math/libm-test.inc (scalbn_test): Add more tests.
27837 (scalbln_test): Likewise.
27838
07e12bb3
JM
27839 * manual/filesys.texi (mode_t): Describe constraints on size and
27840 signedness, not exact equivalence to a particular type.
27841 (ino_t): Likewise.
27842 (ino64_t): Likewise.
27843 (dev_t): Likewise.
27844 (nlink_t): Likewise.
27845 (blkcnt_t): Likewise.
27846 (blkcnt64_t): Likewise.
27847 * manual/llio.texi (off_t): Likewise.
27848
28afd92d
JM
27849 [BZ #3976]
27850 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27851 (__ieee754_exp): Save and restore rounding mode and use
27852 round-to-nearest for all computations.
27853 * math/libm-test.inc (exp_test_tonearest): New function.
27854 (exp_test_towardzero): Likewise.
27855 (exp_test_downward): Likewise.
27856 (exp_test_upward): Likewise.
27857 (main): Call the new functions.
27858 * sysdeps/i386/fpu/libm-test-ulps: Update.
27859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27860
b1eeb65d
CD
278612012-03-01 Chris Demetriou <cgd@google.com>
27862
27863 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27864 have predictable order.
27865
53362a4b
DM
278662012-03-01 David S. Miller <davem@davemloft.net>
27867
3c969083
DM
27868 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27869
759707de
DM
27870 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27871 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27872 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27873 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27874
dfdb8ff2
DM
27875 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27876 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27877 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27879 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27880 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27881 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27882 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27883 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27884
ead89f96
DM
27885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27886
7f66bd07
DM
27887 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27888 * sysdeps/sparc/fpu/libm-test-ulps: to here.
27889 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27890
53362a4b
DM
27891 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27892 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27893 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27894 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27895 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27896 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27897 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27898 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27899 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27900 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27901 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27902 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27903 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27904 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27905 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27906 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27907 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27908 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27909 * sysdeps/sparc/elf/configure: Regenerated.
27910
7b1902cb
JM
279112012-03-01 Joseph Myers <joseph@codesourcery.com>
27912
bec039bc
JM
27913 * configure.in (AS, LD): Require binutils 2.20 or later.
27914 * configure: Regenerated.
27915 * manual/install.texi (Tools for Compilation): Give binutils 2.20
27916 as required minimum version.
27917 * INSTALL: Regenerated.
27918
7b1902cb
JM
27919 [BZ #2541]
27920 [BZ #4108]
27921 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27922 before squaring exponent.
27923 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27924 bottom long double and 27 bits of top long double before squaring
27925 exponent.
27926 * math/libm-test.inc (erfc_test): Add more tests.
27927 * sysdeps/i386/fpu/libm-test-ulps: Update.
27928 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27930
f775c276
KT
279312012-03-01 Kai Tietz <ktietz@redhat.com>
27932
27933 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27934 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27935 containing bit-fields.
27936 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27937 * soft-fp/single.h (_FP_UNION_S): Likewise.
27938 * soft-fp/double.h (_FP_UNION_D): Likewise.
27939
5b8a4d4a
JM
279402012-02-29 Joseph Myers <joseph@codesourcery.com>
27941
0bab47b6
JM
27942 [BZ #13786]
27943 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27944 not include ../strcmp.S.
27945 [USE_AS_STRNCASECMP_L]: Likewise.
27946 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27947 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27948 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27949 (__strncasecmp_l_ia32): Define as alias to
27950 __strncasecmp_l_nonascii.
27951
0fcad3e2
JM
27952 [BZ #5794]
27953 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27954 * sysdeps/i386/fpu/libm-test-ulps: Update.
27955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27956
5b8a4d4a
JM
27957 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27959
8fdceb2e
JL
279602012-02-29 Jeff Law <law@redhat.com>
27961
27962 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27963 out of bounds read.
27964
1f393a11
MP
279652012-02-29 Marek Polacek <polacek@redhat.com>
27966
27967 [BZ #13706]
27968 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27969 * elf/Makefile: Add rules to run tst-unused-dep.out.
27970
8847f037
DM
279712012-02-28 David S. Miller <davem@davemloft.net>
27972
27973 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27974 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27975 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27976 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27977 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27978 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27979
169d7f11
JM
279802012-02-29 Joseph Myers <joseph@codesourcery.com>
27981
27982 * math/libm-test.inc (llround_test): Move one test from
27983 lround_test. Use TEST_f_L in moved test.
27984 (lround_test): Move misplaced test to llround_test. Add testcase
27985 from bug 2561.
27986
39adf059
UD
279872012-02-28 Ulrich Drepper <drepper@gmail.com>
27988
27989 * sysdeps/x86_64/fpu/e_expf.S: New file.
27990 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27991
71b5d1c5
SB
279922012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27993
27994 [BZ #13637]
27995 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27996 of remain_len that may cause incomplete multi-byte character and
27997 false match.
27998 * posix/bug-regex33.c: New file.
27999 * posix/Makefile (tests): Add bug-regex33.
28000
1f77f049
JM
280012012-02-28 Joseph Myers <joseph@codesourcery.com>
28002
28003 * manual/macros.texi: New file.
28004 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28005 * manual/libc.texinfo: Include macros.texi.
28006 * manual/creatute.texi: Likewise.
28007 * manual/install.texi: Likewise.
28008 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28009 @glibcadj{} in references to the GNU C Library.
28010 * manual/charset.texi: Likewise.
28011 * manual/conf.texi: Likewise.
28012 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28013 when not using those macros.
28014 * manual/creature.texi: Likewise.
28015 * manual/crypt.texi: Likewise.
28016 * manual/errno.texi: Likewise.
28017 * manual/filesys.texi: Likewise.
28018 * manual/header.texi: Likewise.
28019 * manual/install.texi: Likewise.
28020 * manual/intro.texi: Likewise.
28021 * manual/io.texi: Likewise.
28022 * manual/job.texi: Likewise.
28023 * manual/lang.texi: Likewise.
28024 * manual/libc.texiinfo: Likewise.
28025 * manual/llio.texi: Likewise.
28026 * manual/locale.texi: Likewise.
28027 * manual/maint.texi: Likewise.
28028 * manual/math.texi: Likewise.
28029 * manual/memory.texi: Likewise.
28030 * manual/message.texi: Likewise.
28031 * manual/nss.texi: Likewise.
28032 * manual/pattern.texi: Likewise.
28033 * manual/process.texi: Likewise.
28034 * manual/resource.texi: Likewise.
28035 * manual/search.texi: Likewise.
28036 * manual/setjmp.texi: Likewise.
28037 * manual/signal.texi: Likewise.
28038 * manual/socket.texi: Likewise.
28039 * manual/startup.texi: Likewise.
28040 * manual/stdio.texi: Likewise.
28041 * manual/string.texi: Likewise.
28042 * manual/sysinfo.texi: Likewise.
28043 * manual/syslog.texi: Likewise.
28044 * manual/terminal.texi: Likewise.
28045 * manual/time.texi: Likewise.
28046 * manual/users.texi: Likewise.
28047 * INSTALL: Regenerated.
28048 * NOTES: Regenerated.
d40c5d54 28049 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 28050
450bf206
AS
280512012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28052
28053 * include/dirent.h: Include <dirstream.h> before
28054 <dirent/dirent.h>.
28055
741a235b
DM
280562012-02-28 David S. Miller <davem@davemloft.net>
28057
28058 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28059 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28060 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28061 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28062
d6b5aa58
DM
280632012-02-27 David S. Miller <davem@davemloft.net>
28064
1aff59a3
DM
28065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28067 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28068 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28069
d6b5aa58
DM
28070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28071 frame pointer instead of stack pointer relative arg slot.
28072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28073 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28074 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28075
433f48bf
CD
280762012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28077
28078 [BZ #3992]
28079 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28080
d674b76d
DM
280812012-02-27 David S. Miller <davem@davemloft.net>
28082
28083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28087 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28088 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28089 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28090 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28091
0e7727f7
JM
280922012-02-27 Joseph Myers <joseph@codesourcery.com>
28093
28094 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28095 later. Allow versions 5-9.
43be4ca2 28096 * configure: Regenerated.
0e7727f7
JM
28097 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28098 required minimum version and 4.6 as recommended version. Do not
28099 mention bugs in GCC 2.7 and 2.8.
43be4ca2 28100 * INSTALL: Regenerated.
0e7727f7 28101
a78bc654
DM
281022012-02-27 David S. Miller <davem@davemloft.net>
28103
428d5830
DM
28104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28108 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28109 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28110 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28111 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28112
a78bc654
DM
28113 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28114 manipulate bits before adding and subtracting TWO112[sx].
28115 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28116
4579f81c
RM
281172012-02-27 Roland McGrath <roland@hack.frob.com>
28118
36c8acb4
RM
28119 [BZ #13775]
28120 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28121 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28122 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28123 being in POSIX, because they are in 1003.1-2008.
28124
84ad622b
RM
28125 * rt/tst-aio.c: Include <fcntl.h>.
28126 * rt/tst-aio7.c: Likewise.
28127 * rt/tst-aio64.c: Likewise.
28128
4579f81c
RM
28129 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28130
abd923db
JM
281312012-02-27 Joseph Myers <joseph@codesourcery.com>
28132
28133 * manual/install.texi (--with-headers): Describe headers as
28134 interface headers, not private headers.
28135 (Specific advice for GNU/Linux systems): Describe use of headers
28136 from "make headers_install", not private headers from older
28137 kernels.
43be4ca2 28138 * INSTALL: Regenerated.
abd923db
JM
28139 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28140 Change to 2.6.19.
28141 * sysdeps/unix/sysv/linux/configure: Regenerated.
28142
6664049b
JM
28143 * manual/llio.texi (fclean): Remove documentation.
28144
bb8b6697
JM
28145 * manual/Makefile (libc-texi-generated): New variable. Include
28146 version.texi.
28147 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28148 $(libc-texi-generated), not duplicated list of files.
28149 (version.texi, stamp-version): New rules.
28150 (realclean): Remove $(libc-texi-generated), not individual files
28151 from that list. Do not remove dir-add.texinfo.
28152 * manual/libc.texinfo: Comment out uses of edition numbers and
28153 references to printed manual. Remove last-updated dates.
28154 (EDITION): Comment out.
28155 (ISBN): Likewise.
28156 (VERSION, UPDATED): Remove.
28157 (version.texi): Include.
28158
12e5c3b9
AS
281592012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28160
28161 * sysdeps/posix/spawni.c: Include <signal.h>.
28162 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28163 * sysdeps/pthread/aio_fsync.c: Likewise.
28164
4efeffc1 281652012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 28166
ba63ba08
UD
28167 * conform/Makefile (tests): Run only when not cross-compiling and
28168 when fast-check is not defined.
28169
d94a4670
UD
28170 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28171 * conform/data/limits.h-data: Fixes for POSIX2008.
28172 * conform/run-conformtest.sh: Run all tests.
28173 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28174 headers.
28175 * include/bits/dlfcn.h: Likewise.
28176 * include/langinfo.h: Likewise.
28177 * include/monetary.h: Likewise.
28178 * include/sys/poll.h: Likewise.
28179
28180 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28181 for __USE_GNU.
28182 * posix/spawn.h: Define __need_sigset_t.
28183 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28184 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28185 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28186 to get sigevent_t only.
28187 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28188 only for __USE_GNU.
28189 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28190 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28191 process_vm_writev only for __USE_GNU.
28192 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
28193
28194 * conform/Makefile: For now ignore errors from run-conformtest.
28195 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28196 POSIX to avoid namespace pollution. Don't prepend headers.
28197 * conform/data/aio.h-data: Fixes for POSIX testing.
28198 * conform/data/fcntl.h-data: Likewise.
28199 * conform/data/glob.h-data: Likewise.
28200 * conform/data/grp.h-data: Likewise.
28201 * conform/data/pthread.h-data: Likewise.
28202 * conform/data/pwd.h-data: Likewise.
28203 * conform/data/signal.h-data: Likewise.
28204 * conform/data/spawn.h-data: Likewise.
28205 * conform/data/stdio.h-data: Likewise.
28206 * conform/data/stdlib.h-data: Likewise.
28207 * conform/data/stropts.h-data: Likewise.
28208 * conform/data/sys/mman.h-data: Likewise.
28209 * conform/data/sys/stat.h-data: Likewise.
28210 * conform/data/sys/types.h-data: Likewise.
28211 * conform/data/sys/wait.h-data: Likewise.
28212 * conform/data/time.h-data: Likewise.
28213 * conform/data/unistd.h-data: Likewise.
28214 * conform/data/utime.h-data: Likewise.
28215
28216 * io/sys/stat.h: fchmod was always in POSIX.
28217 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28218 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28219 * rt/aio.h: Define __need_timespec before including <time.h>.
28220 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28221 struct. Add forward declaration of pthread_attr_t and use it in
28222 sigevent.
28223 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28224 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28225 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28226 always remove CLK_TCK definition.
28227
c20105c3
AS
282282012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28229
28230 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28231
7a270350
UD
282322012-02-25 Ulrich Drepper <drepper@gmail.com>
28233
31341567
UD
28234 * conform/run-conformtest.sh: New file.
28235 * conform/Makefile: Run run-conformtest for tests.
28236 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28237 support.
28238
28239 * conform/data/uchar.h-data: New file.
28240 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28241 * conform/data/arpa/inet.h-data: Likewise.
28242 * conform/data/assert.h-data: Likewise.
28243 * conform/data/complex.h-data: Likewise.
28244 * conform/data/cpio.h-data: Likewise.
28245 * conform/data/ctype.h-data: Likewise.
28246 * conform/data/dirent.h-data: Likewise.
28247 * conform/data/dlfcn.h-data: Likewise.
28248 * conform/data/errno.h-data: Likewise.
28249 * conform/data/fcntl.h-data: Likewise.
28250 * conform/data/float.h-data: Likewise.
28251 * conform/data/fmtmsg.h-data: Likewise.
28252 * conform/data/fnmatch.h-data: Likewise.
28253 * conform/data/ftw.h-data: Likewise.
28254 * conform/data/glob.h-data: Likewise.
28255 * conform/data/grp.h-data: Likewise.
28256 * conform/data/iconv.h-data: Likewise.
28257 * conform/data/inttypes.h-data: Likewise.
28258 * conform/data/langinfo.h-data: Likewise.
28259 * conform/data/libgen.h-data: Likewise.
28260 * conform/data/limits.h-data: Likewise.
28261 * conform/data/locale.h-data: Likewise.
28262 * conform/data/math.h-data: Likewise.
28263 * conform/data/monetary.h-data: Likewise.
28264 * conform/data/mqueue.h-data: Likewise.
28265 * conform/data/ndbm.h-data: Likewise.
28266 * conform/data/net/if.h-data: Likewise.
28267 * conform/data/netdb.h-data: Likewise.
28268 * conform/data/netinet/in.h-data: Likewise.
28269 * conform/data/nl_types.h-data: Likewise.
28270 * conform/data/poll.h-data: Likewise.
28271 * conform/data/pthread.h-data: Likewise.
28272 * conform/data/pwd.h-data: Likewise.
28273 * conform/data/regex.h-data: Likewise.
28274 * conform/data/sched.h-data: Likewise.
28275 * conform/data/search.h-data: Likewise.
28276 * conform/data/semaphore.h-data: Likewise.
28277 * conform/data/setjmp.h-data: Likewise.
28278 * conform/data/signal.h-data: Likewise.
28279 * conform/data/spawn.h-data: Likewise.
28280 * conform/data/stdarg.h-data: Likewise.
28281 * conform/data/stdio.h-data: Likewise.
28282 * conform/data/stdlib.h-data: Likewise.
28283 * conform/data/string.h-data: Likewise.
28284 * conform/data/strings.h-data: Likewise.
28285 * conform/data/stropts.h-data: Likewise.
28286 * conform/data/sys/ipc.h-data: Likewise.
28287 * conform/data/sys/mman.h-data: Likewise.
28288 * conform/data/sys/msg.h-data: Likewise.
28289 * conform/data/sys/resource.h-data: Likewise.
28290 * conform/data/sys/select.h-data: Likewise.
28291 * conform/data/sys/sem.h-data: Likewise.
28292 * conform/data/sys/shm.h-data: Likewise.
28293 * conform/data/sys/socket.h-data: Likewise.
28294 * conform/data/sys/stat.h-data: Likewise.
28295 * conform/data/sys/statvfs.h-data: Likewise.
28296 * conform/data/sys/time.h-data: Likewise.
28297 * conform/data/sys/timeb.h-data: Likewise.
28298 * conform/data/sys/times.h-data: Likewise.
28299 * conform/data/sys/types.h-data: Likewise.
28300 * conform/data/sys/uio.h-data: Likewise.
28301 * conform/data/sys/un.h-data: Likewise.
28302 * conform/data/sys/utsname.h-data: Likewise.
28303 * conform/data/sys/wait.h-data: Likewise.
28304 * conform/data/syslog.h-data: Likewise.
28305 * conform/data/tar.h-data: Likewise.
28306 * conform/data/termios.h-data: Likewise.
28307 * conform/data/utime.h-data: Likewise.
28308 * conform/data/utmpx.h-data: Likewise.
28309 * conform/data/varargs.h-data: Likewise.
28310 * conform/data/wchar.h-data: Likewise.
28311 * conform/data/wctype.h-data: Likewise.
28312 * conform/data/wordexp.h-data: Likewise.
28313
28314 * include/stropts.h: New file.
28315 * include/uchar.h: New file.
28316 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28317 * include/assert.h: Likewise.
28318 * include/ctype.h: Likewise.
28319 * include/dirent.h: Likewise.
28320 * include/dlfcn.h: Likewise.
28321 * include/fcntl.h: Likewise.
28322 * include/fnmatch.h: Likewise.
28323 * include/glob.h: Likewise.
28324 * include/grp.h: Likewise.
28325 * include/libio.h: Likewise.
28326 * include/locale.h: Likewise.
28327 * include/math.h: Likewise.
28328 * include/net/if.h: Likewise.
28329 * include/netdb.h: Likewise.
28330 * include/netinet/in.h: Likewise.
28331 * include/pthread.h: Likewise.
28332 * include/pwd.h: Likewise.
28333 * include/regex.h: Likewise.
28334 * include/sched.h: Likewise.
28335 * include/search.h: Likewise.
28336 * include/setjmp.h: Likewise.
28337 * include/signal.h: Likewise.
28338 * include/stdio.h: Likewise.
28339 * include/stdlib.h: Likewise.
28340 * include/string.h: Likewise.
28341 * include/sys/cdefs.h: Likewise.
28342 * include/sys/mman.h: Likewise.
28343 * include/sys/msg.h: Likewise.
28344 * include/sys/resource.h: Likewise.
28345 * include/sys/select.h: Likewise.
28346 * include/sys/socket.h: Likewise.
28347 * include/sys/stat.h: Likewise.
28348 * include/sys/statvfs.h: Likewise.
28349 * include/sys/time.h: Likewise.
28350 * include/sys/times.h: Likewise.
28351 * include/sys/uio.h: Likewise.
28352 * include/sys/utsname.h: Likewise.
28353 * include/sys/wait.h: Likewise.
28354 * include/termios.h: Likewise.
28355 * include/time.h: Likewise.
28356 * include/ulimit.h: Likewise.
28357 * include/unistd.h: Likewise.
28358 * include/utime.h: Likewise.
28359 * include/wchar.h: Likewise.
28360 * include/wctype.h: Likewise.
28361 * include/wordexp.h: Likewise.
28362
28363 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28364
7a270350
UD
28365 * time/time.h: TIME_UTC must be a macro.
28366 Make timespec_get available for ISO C11 only as well.
28367
7724defc
UD
283682012-02-24 Ulrich Drepper <drepper@gmail.com>
28369
28370 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28371 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28372
6b1d1d46
JM
283732012-02-24 Joseph Myers <joseph@codesourcery.com>
28374
28375 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 28376
0f8bbd69
JM
283772012-02-24 Joseph Myers <joseph@codesourcery.com>
28378
28379 * manual/texinfo.tex: Update to version 2012-01-19.16.
28380
66ab80bc
JM
283812012-02-24 Joseph Myers <joseph@codesourcery.com>
28382
28383 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28384
74981cc5
RM
283852012-02-24 Roland McGrath <roland@hack.frob.com>
28386
ee968201
RM
28387 [BZ #13738]
28388 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28389 * manual/fdl-1.3.texi: New file.
28390 * manual/fdl-1.1.texi: File removed.
28391
74981cc5
RM
28392 [BZ #13738]
28393 * manual/libc.texinfo (FDL_VERSION): New @set.
28394 Use it for mention of FDL in cover text.
28395 (Documentation License): Use it in @include file name.
28396
7bb764bc
JM
283972012-02-22 Joseph Myers <joseph@codesourcery.com>
28398 Roland McGrath <roland@hack.frob.com>
28399
28400 [BZ #5461]
28401 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28402 not LONG_LONG_MAX and LONG_LONG_MIN.
28403 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28404 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28405 name.
28406 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28407
6cbeae47
JM
284082012-02-22 Joseph Myers <joseph@codesourcery.com>
28409
28410 [BZ #2547]
28411 [BZ #11365]
28412 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28413 manipulate bits before adding and subtracting TWO23[sx].
28414 * math/libm-test.inc (nearbyint_test): Add more tests.
28415
fe45ce09
JM
284162012-02-22 Joseph Myers <joseph@codesourcery.com>
28417
28418 [BZ #2548]
28419 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28420 bits before adding and subtracting TWO23[sx].
28421 * math/libm-test.inc (rint_test): Add more tests.
28422 (rint_test_tonearest): Likewise.
28423 (rint_test_towardzero): Likewise.
28424 (rint_test_downward): Likewise.
28425 (rint_test_upward: Likewise.
28426
ff3b3d82
JM
284272012-02-22 Joseph Myers <joseph@codesourcery.com>
28428
28429 [BZ #10110]
28430 * include/stdc-predef.h: New file. Extracted from features.h.
28431 * include/features.h: Include stdc-predef.h.
28432 * Makefile (headers): Add stdc-predef.h.
28433 * CONFORMANCE (Compiler limitations): Update.
28434
ef0aab35
JM
284352012-02-22 Joseph Myers <joseph@codesourcery.com>
28436
28437 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28438
58639409
DM
284392012-02-21 David S. Miller <davem@davemloft.net>
28440
28441 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28442 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28443
c0e70b25
DM
284442012-02-20 David S. Miller <davem@davemloft.net>
28445
28446 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28447 using a normal save/restore sequence, rather than allocating a
28448 dummy stack frame just to store a frame pointer and restore.
28449 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28450
fb06851d
JM
284512012-02-21 Joseph Myers <joseph@codesourcery.com>
28452
28453 * manual/install.texi: Fix stray word in line-wrapped comment.
28454
7a8b71c3
DM
284552012-02-20 David S. Miller <davem@davemloft.net>
28456
d510c123
DM
28457 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28458 both binutils and gcc support GOTDATA.
28459
0722d7c2
DM
28460 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28461 "rd %pc" in the PIC register setup sequences.
28462
3d2b3019
DM
28463 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28464 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28465 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28466 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28467 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28468 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28469 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28470 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28471 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28472 (SYSCALL_ERROR_HANDLER): Likewise.
28473 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28474 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28475 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28476 (SYSCALL_ERROR_HANDLER): Likewise.
28477
c80098a9
DM
28478 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28479 (HAVE_GCC_GOTDATA): New.
28480 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28481 relocation support in both binutils and gcc.
28482 * sysdeps/sparc/elf/configure: Regenerate.
28483
3a2545a0
DM
28484 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28485 * sysdeps/sparc/sparc32/elf/configure: Delete.
28486 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28487 * sysdeps/sparc/sparc64/elf/configure: Delete.
28488 * sysdeps/sparc/elf/configure.in: New file.
28489 * sysdeps/sparc/elf/configure: Generate.
28490
7a8b71c3
DM
28491 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28492 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28493 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28494 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28495 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28496
f1e86fca
JM
284972012-02-21 Joseph Myers <joseph@codesourcery.com>
28498
28499 * manual/install.texi: Do not mention specific glibc version
28500 numbers.
28501 * manual/libc.texinfo (VERSION, UPDATED): Update.
28502 (@copying): Use @copyright{} and range of years.
28503
0e7dfaef
JM
285042012-02-21 Joseph Myers <joseph@codesourcery.com>
28505
28506 [BZ #13695]
28507 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28508 [crti.S not in sysdirs] (generated): Do not append.
28509 [crti.S not in sysdirs] (omit-deps): Likewise.
28510 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28511 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28512 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28513 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28514 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28515 Likewise.
28516 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28517 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28518 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28519 * csu/defs.awk: Remove file.
28520 * sysdeps/generic/initfini.c: Likewise.
28521 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28522 variable.
28523 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28524 Likewise.
28525
599af3ca
JM
285262012-02-20 Joseph Myers <joseph@codesourcery.com>
28527
28528 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28529 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28530 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28531 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28532 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28533 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28534 <bits/epoll.h>.
28535 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28536 (__EPOLL_PACKED): Define to empty if not defined by
28537 <bits/epoll.h>.
28538 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28539 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28540 bits/epoll.h.
28541
0e499750
JM
285422012-02-20 Joseph Myers <joseph@codesourcery.com>
28543
28544 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28545 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28546 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28547 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28548 <bits/timerfd.h>.
28549 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28550 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28551 bits/timerfd.h.
28552
5ad91f6e
JM
285532012-02-20 Joseph Myers <joseph@codesourcery.com>
28554
28555 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28556 in C locale.
28557 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28558 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28559 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28561
06b99b02
AJ
285622012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28563
28564 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28565 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28566
7638c0fd
AS
285672012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28568
28569 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28570 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28571 defined.
28572 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28573 Likewise.
28574 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28575 entry for 2.16.
28576
92221550
AJ
285772012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28578
28579 * math/w_acos.c: Use non-signaling floating-point comparisons.
28580 * math/w_acosf.c: Likewise.
28581 * math/w_acosh.c: Likewise.
28582 * math/w_acoshf.c: Likewise.
28583 * math/w_acoshl.c: Likewise.
28584 * math/w_acosl.c: Likewise.
28585 * math/w_asin.c: Likewise.
28586 * math/w_asinf.c: Likewise.
28587 * math/w_asinl.c: Likewise.
28588 * math/w_atanh.c: Likewise.
28589 * math/w_atanhf.c: Likewise.
28590 * math/w_atanhl.c: Likewise.
28591 * math/w_exp2.c: Likewise.
28592 * math/w_exp2f.c: Likewise.
28593 * math/w_exp2l.c: Likewise.
28594 * math/w_j0.c: Likewise.
28595 * math/w_j0f.c: Likewise.
28596 * math/w_j0l.c: Likewise.
28597 * math/w_j1.c: Likewise.
28598 * math/w_j1f.c: Likewise.
28599 * math/w_j1l.c: Likewise.
28600 * math/w_jn.c: Likewise.
28601 * math/w_jnf.c: Likewise.
28602 * math/w_log.c: Likewise.
28603 * math/w_log10.c: Likewise.
28604 * math/w_log10f.c: Likewise.
28605 * math/w_log10l.c: Likewise.
28606 * math/w_log2.c: Likewise.
28607 * math/w_log2f.c: Likewise.
28608 * math/w_log2l.c: Likewise.
28609 * math/w_logf.c: Likewise.
28610 * math/w_logl.c: Likewise.
28611 * math/w_sqrt.c: Likewise.
28612 * math/w_sqrtf.c: Likewise.
28613 * math/w_sqrtl.c: Likewise.
28614 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28615 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28616 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28617 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28618 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28619
ebaf36eb
JM
286202012-02-19 Joseph Myers <joseph@codesourcery.com>
28621
28622 [BZ #9739]
28623 * manual/string.texi (strnlen): Use correct parameter name in
28624 equivalent expression.
28625
71c254a6
JM
286262012-02-19 Joseph Myers <joseph@codesourcery.com>
28627
28628 [BZ #11174]
28629 * manual/users.texi (seteuid): Consistently use neweuid for
28630 argument name.
28631
16d2c631
JM
286322012-02-19 Joseph Myers <joseph@codesourcery.com>
28633
28634 [BZ #13704]
28635 * manual/nss.texi (Services in the NSS configuration): Correct
28636 list of services in example configuration file.
28637
cd837b09
NB
286382012-02-19 Nick Bowler <nbowler@draconx.ca>
28639
28640 [BZ #11322]
28641 * manual/arith.texi: Remove statements about negative zero
28642 behaving identically to zero.
28643
02c4bbad
JM
286442012-02-18 Joseph Myers <joseph@codesourcery.com>
28645
28646 [BZ #5993]
28647 * manual/install.texi: Do not document upgrading from libc5.
28648
366842e7
JM
286492012-02-18 Joseph Myers <joseph@codesourcery.com>
28650
28651 [BZ #4596]
28652 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28653
dd54084d
DM
286542012-02-18 David S. Miller <davem@davemloft.net>
28655
28656 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28657 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28658 %o7 across the call.
28659 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28660 instead.
28661 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28662 SETUP_PIC_REG_LEAF.
28663 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28664 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28665 * sysdeps/sparc/crtn.S: Likewise.
28666
2bcc53a3
UD
286672012-02-17 Ulrich Drepper <drepper@gmail.com>
28668
28669 * aout/Makefile: Remove.
28670
09c093b5
RK
286712012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28672
28673 [BZ #13058]
28674 * manual/examples/argp-ex1.c (main): Format definition in GNU
28675 style.
28676 * manual/examples/argp-ex2.c (main): Likewise.
28677 * manual/examples/argp-ex3.c (main): Likewise.
28678 * manual/examples/argp-ex4.c (main): Likewise.
28679 * manual/examples/longopt.c (main): Use new-style prototype
28680 definition.
28681 * manual/examples/strncat.c (main): Specify return type and use
28682 (void) for arguments.
28683 * manual/examples/subopt.c (main): Use char **argv argument.
28684
2ee633a2
JM
286852012-02-17 Joseph Myers <joseph@codesourcery.com>
28686
28687 [BZ #5077]
28688 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28689 rounding modes.
28690
0520adde
FB
286912012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28692
28693 [BZ #6907]
28694 * manual/string.texi (strchr): Change when strchrnul is
28695 recommended.
28696
3f4081cd
DGM
286972012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28698
28699 [BZ #174]
28700 * manual/locale.texi (setlocale): Document LOCPATH.
28701
d1b10e78
JM
287022012-02-17 Joseph Myers <joseph@codesourcery.com>
28703
28704 [BZ #10210]
28705 * manual/process.texi (execle): Move @dots{} before last argument.
28706
79c6869c
PB
287072012-02-17 Paul Bolle <pebolle@tiscali.nl>
28708
28709 [BZ #12047]
28710 * manual/charset.texi (Generic Charset Conversion): Fix typo
28711 (LC_TYPE -> LC_CTYPE).
28712
cc6e48bc
NB
287132012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28714
28715 [BZ #5805]
28716 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28717 (scalbnf): Likewise.
28718 (scalbnl): Likewise.
28719 (scalbln): Likewise.
28720 (scalblnf): Likewise.
28721 (scalblnl): Likewise.
28722 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28723 (vwarnx): Likewise.
28724 (verr): Likewise.
28725 (verrx): Likewise.
28726 * manual/filesys.texi (telldir): Use braces around return type.
28727 * manual/llio.texi (mmap): Add space after comma.
28728 (mmap64): Likewise.
28729 * manual/math.texi (jn): Use @var{} on parameter names.
28730 (jnf): Likewise.
28731 (jnl): Likewise.
28732 (yn): Likewise.
28733 (ynf): Likewise.
28734 (ynl): Likewise.
28735 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28736 line.
28737 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28738 "...".
28739 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28740 (sched_get_priority_max): Likewise.
28741 * manual/signal.texi (sigvec): Add space after comma.
28742 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28743 names.
28744 (if_indextoname): Likewise.
28745 (if_freenameindex): Likewise.
28746 (sendto): Use ',' instead of '.' in prototype.
28747 * manual/startup.texi (syscall): Use @dots{} instead of literal
28748 "...".
28749 * manual/stdio.texi (__fpending): Separate initial words of
28750 paragraph from @deftypefun line.
28751 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28752 "...".
28753 (vsyslog): Use @var{} on parameter names.
28754 * manual/terminal.texi (stty): Use @var{} on parameter names.
28755 * manual/users.texi (getutmp): Use @var{} on parameter names.
28756 (getutmpx): Likewise.
28757
5b23062f
JM
287582012-02-17 Joseph Myers <joseph@codesourcery.com>
28759
28760 [BZ #6884]
28761 * manual/stdio.texi (fopen): Fix typos in description of
28762 ",ccs=STRING".
28763
8dee4833
AJ
287642012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28765
28766 [BZ #4026]
28767 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28768 get clock_id definition.
28769
9078ce93
TS
287702012-02-17 Thomas Schwinge <thomas@schwinge.name>
28771
28772 [BZ #4822]
28773 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28774 (madvise): Cast every argument to void on its own.
28775
3835c55f
JM
287762012-02-17 Joseph Myers <joseph@codesourcery.com>
28777
28778 [BZ #9902]
28779 * manual/startup.texi (Exit Status): Fix typo.
28780
35c47e37
JM
287812012-02-17 Joseph Myers <joseph@codesourcery.com>
28782
28783 [BZ #10140]
28784 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28785 * manual/examples/argp-ex2.c: Likewise.
28786 * manual/examples/argp-ex3.c: Likewise.
28787
e3b69ca7
RH
287882012-02-16 Richard Henderson <rth@redhat.com>
28789
28790 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28791 * sysdeps/s390/s390-32/initfini.c: Remove.
28792 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28793 * sysdeps/s390/s390-64/initfini.c: Remove.
28794
df83af67
KK
287952012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28796
28797 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28798 compiler output for sysdeps/generic/initfini.c.
28799 * sysdeps/sh/elf/initfini.c: Remove file.
28800
f63f3380
DM
288012012-02-16 David S. Miller <davem@davemloft.net>
28802
fb59b3a4
DM
28803 [BZ #11494]
28804 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28805
f63f3380
DM
28806 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28807 * sysdeps/sparc/crti.S: New file.
28808 * sysdeps/sparc/crtn.S: New file.
28809 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28810 * sysdeps/sparc/sparc64/Makefile: Likewise.
28811
df6a4a4a
MF
288122012-02-15 Mike Frysinger <vapier@gentoo.org>
28813
6dd8f3dc 28814 [BZ #3335]
df6a4a4a
MF
28815 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28816
1cac7236
RM
288172012-02-15 Roland McGrath <roland@hack.frob.com>
28818
d2c736f8
RM
28819 [BZ #4822]
28820 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28821
1cac7236
RM
28822 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28823 (write, read, close): Likewise.
28824 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28825
8e475601
JM
288262012-02-15 Joseph Myers <joseph@codesourcery.com>
28827
28828 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28829 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28830 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28831 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28832 <bits/signalfd.h>.
28833 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28834 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28835 bits/signalfd.h.
28836
ed656b40
MP
288372012-02-14 Marek Polacek <polacek@redhat.com>
28838
28839 * sysdeps/x86_64/crti.S: New file.
28840 * sysdeps/x86_64/crtn.S: New file.
28841 * sysdeps/x86_64/elf/initfini.c: Remove file.
28842
2a979d3a
JM
288432012-02-13 Joseph Myers <joseph@codesourcery.com>
28844
28845 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28846 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28847 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28848 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28849 <bits/inotify.h>.
28850 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28851 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28852 bits/inotify.h.
28853
2a418ac3
JM
288542012-02-13 Joseph Myers <joseph@codesourcery.com>
28855
28856 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28857 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28858 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28859 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28860 <bits/eventfd.h>.
28861 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28862 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28863 bits/eventfd.h.
28864
fb779be7
TS
288652012-02-10 Thomas Schwinge <thomas@codesourcery.com>
28866
e19e83c5
RM
28867 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28868 __feraiseexcept instead of feraiseexcept.
7c35ffed 28869
fb779be7
TS
28870 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28871 nanosleep invocations.
28872 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28873 strings, and add error checking for a nanosleep invocations.
28874
59ba27a6
PE
288752012-02-09 Paul Eggert <eggert@cs.ucla.edu>
28876
28877 Replace FSF snail mail address with URLs, as per GNU coding standards.
28878 Most of the snail mail addresses were wrong anyway, and omitting
28879 them makes the source code easier to maintain. Almost all of the
28880 changes are to license notices and to locale LC_IDENTIFICATION
28881 addresses, except for this one:
28882 * manual/libc.texinfo: In "Published by", give the FSF's URL,
28883 not its snail mail address.
28884
57b957eb
RH
288852012-02-09 Richard Henderson <rth@twiddle.net>
28886
af850b1c
RH
28887 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28888 of kernel-features.h.
28889
57b957eb
RH
28890 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28891
6b73181a
MP
288922012-02-08 Marek Polacek <polacek@redhat.com>
28893
28894 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28895 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28896 * sysdeps/gnu/_G_config.h: Likewise.
28897 * sysdeps/generic/_G_config.h: Likewise.
28898
26ecc33a
AS
288992012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28900
6c6dbc63
AS
28901 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28902 tests.
28903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28904
e216c012
AS
28905 * sysdeps/powerpc/powerpc32/crti.S: New file.
28906 * sysdeps/powerpc/powerpc32/crtn.S: New file.
28907 * sysdeps/powerpc/powerpc64/crti.S: New file.
28908 * sysdeps/powerpc/powerpc64/crtn.S: New file.
28909
26ecc33a
AS
28910 * Makeconfig (have-initfini): Don't set.
28911 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28912 * configure.in (nopic_initfini): Don't substitute.
28913 * config.h.in (HAVE_INITFINI): Don't #undef.
28914 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28915 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28916
3add8e13
JM
289172012-02-08 Joseph Myers <joseph@codesourcery.com>
28918
28919 Support crti.S and crtn.S provided directly by architectures.
28920 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28921 [crti.S in sysdirs] (omit-deps): Likewise.
28922 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28923 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28924 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28925 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28926 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28927 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28928 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28929 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28930 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28931 compiler output for sysdeps/generic/initfini.c.
28932 * sysdeps/i386/elf/Makefile: Remove file.
28933 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28934
a22f12b4
MP
289352012-02-07 Marek Polacek <polacek@redhat.com>
28936
28937 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28938 * sysdeps/gnu/_G_config.h: Likewise.
28939 * sysdeps/mach/hurd/_G_config.h: Likewise.
28940
148cf100
MP
289412012-02-07 Marek Polacek <polacek@redhat.com>
28942
28943 * math/Makefile (tests): Add tst-CMPLX2.
28944 * math/tst-CMPLX2.c: New file.
28945
cfdc0dd7
AS
289462012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28947
84ba42c4
AS
28948 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28949
cfdc0dd7
AS
28950 * math/libm-test.inc (jn_test): Add missing L suffix.
28951
622c86f4
MP
289522012-02-06 Marek Polacek <polacek@redhat.com>
28953
28954 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28955 * sysdeps/i386/fpu/e_powf.S: Likewise.
28956 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28957 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28958 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28959 * sysdeps/i386/fpu/e_pow.S: Likewise.
28960 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28961 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28962 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28963 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28964 * sysdeps/i386/fpu/e_log2.S: Likewise.
28965 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28966 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28967 * sysdeps/i386/fpu/e_powl.S: Likewise.
28968 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28969 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28970 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28971 * sysdeps/i386/fpu/e_logl.S: Likewise.
28972 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28973 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28974 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28975 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28976 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28977 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28978 * sysdeps/i386/fpu/e_log.S: Likewise.
28979 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28980 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28981 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28982 * sysdeps/i386/fpu/e_logf.S: Likewise.
28983 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28984 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28985 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28986 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28987 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28988 * sysdeps/i386/fpu/e_log10.S: Likewise.
28989 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28990 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28991 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28992 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28993 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28994 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28995 * sysdeps/i386/asm-syntax.h: Likewise.
28996 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28997 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28998 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28999 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29000 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29001 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29002 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29003 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29004 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29005 * sysdeps/powerpc/sysdep.h: Likewise.
29006 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29007 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29008
d4a54ac6
JM
290092012-02-06 Joseph Myers <joseph@codesourcery.com>
29010
29011 [BZ #411]
29012 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29013
314054ea
JM
290142012-02-06 Joseph Myers <joseph@codesourcery.com>
29015
29016 * sysdeps/i386/sysdep.h: Include <features.h>.
29017 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29018 version.
29019
d8e0ca50
JM
290202012-02-05 Joseph Myers <joseph@codesourcery.com>
29021
29022 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29023 Define.
29024 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29025 LOAD_PIC_REG_STR.
29026
b1da7dd9
JM
290272012-02-03 Joseph Myers <joseph@codesourcery.com>
29028
29029 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29030 (SETUP_PIC_REG): Use GET_PC_THUNK.
29031 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29032 macro.
29033
9a1d9254
JM
290342012-02-03 Joseph Myers <joseph@codesourcery.com>
29035
29036 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29037 for non-PIC compilation.
29038 (SETUP_PIC_REG): Add .p2align directive.
29039 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29040 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29041 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29042 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29043 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29044 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29045 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29046 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29047 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29048 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29049 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29050 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29051 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29052 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29053 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29054 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29055 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29056 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29057 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29058 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29059 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29060 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29061 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29062 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29063 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29064 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29065 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29066 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29067 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29068 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29069 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29070 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29071 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29072 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29073 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29074 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29075 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29076 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29077 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29078 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29079 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29080
65dc3b75
JM
290812012-02-03 Joseph Myers <joseph@codesourcery.com>
29082
29083 * math/tst-CMPLX.c: Include <stdio.h>.
29084
d55bf177
JM
290852012-01-31 Joseph Myers <joseph@codesourcery.com>
29086
29087 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29088 float.
29089 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29090 * sysdeps/sparc/bits/mathdef.h: Likewise.
29091
69db4f8f
MP
290922012-01-31 Marek Polacek <polacek@redhat.com>
29093
29094 * libio/libio.h: Don't define _PARAMS.
29095 * locale/programs/config.h: Don't define PARAMS.
29096 * stdlib/strtol_l.c: Likewise.
29097 (__strtol_l): Remove PARAMS from the prototype.
29098
41b81892
UD
290992012-01-31 Ulrich Drepper <drepper@gmail.com>
29100
3b49edc0
UD
29101 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29102 names. Just use the correct names. Remove unnecessary wrapper
29103 functions.
29104 * malloc/arena.c: Likewise.
29105 * malloc/hooks.c: Likewise.
29106
41b81892
UD
29107 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29108 ARENA_TEST says not to. Simplify test for creation of a new arena.
29109 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29110
27a25b6e
UD
291112012-01-30 Ulrich Drepper <drepper@gmail.com>
29112
29113 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29114 into tail calls.
29115 (update_get_addr): New function.
29116 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29117 GET_ADDR_MODULE parameter.
29118
c8a89e7d
JM
291192012-01-30 Joseph Myers <joseph@codesourcery.com>
29120
29121 * crypt/cert.c: Remove __STDC__ conditionals.
29122 * crypt/crypt-entry.c: Likewise.
29123 * crypt/crypt_util.c: Likewise.
29124 * libio/filedoalloc.c: Likewise.
29125 * libio/fileops.c: Likewise.
29126 * libio/genops.c: Likewise.
29127 * libio/iofclose.c: Likewise.
29128 * libio/iofdopen.c: Likewise.
29129 * libio/iofopen.c: Likewise.
29130 * libio/iofopen64.c: Likewise.
29131 * libio/iogetdelim.c: Likewise.
29132 * libio/iopopen.c: Likewise.
29133 * libio/obprintf.c: Likewise.
29134 * libio/oldfileops.c: Likewise.
29135 * libio/oldiofclose.c: Likewise.
29136 * libio/oldiofdopen.c: Likewise.
29137 * libio/oldiofopen.c: Likewise.
29138 * libio/oldiopopen.c: Likewise.
29139 * libio/wfiledoalloc.c: Likewise.
29140 * libio/wgenops.c: Likewise.
29141 * locale/programs/xmalloc.c: Likewise.
29142 * misc/syslog.c: Likewise.
29143 * stdio-common/xbug.c: Likewise.
29144 * string/memchr.c: Likewise.
29145 * string/memcmp.c: Likewise.
29146 * string/memrchr.c: Likewise.
29147 * string/rawmemchr.c: Likewise.
29148 * sysdeps/posix/getcwd.c: Likewise.
29149 * time/strftime_l.c: Likewise.
29150
3b100462
JM
291512012-01-30 Joseph Myers <joseph@codesourcery.com>
29152
29153 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
29154 * config.make.in (config-cflags-sse2avx): Define.
29155 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29156 Fix typo.
29157
607998af
CM
291582012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29159
29160 * scripts/config.guess: Update from upstream config git repository.
29161 * scripts/config.sub: Likewise.
29162
3601428f
CM
291632012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29164
3ac8b282
CM
29165 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29166 (EM_NUM): Update.
29167 (R_TILEPRO_*, R_TILEGX_*): New macros.
29168
e034841e
CM
29169 * scripts/firstversions.awk: Fix bug in version range handling.
29170
540d7568
CM
29171 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29172
3601428f
CM
29173 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29174
463de862
CM
29175 * include/sys/epoll.h: New file.
29176 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29177 libc_hidden_def.
29178
73139a76
UD
291792012-01-28 Ulrich Drepper <drepper@gmail.com>
29180
96bc5b45
UD
29181 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29182 Avoid unnecessary __WORDSIZE == 64 test.
29183 (fmaxf): Use VEX format if possible.
29184 (fmax): Likewise.
29185 (fminf): Likewise.
29186 (fmin): Likewise.
29187
56f6f6a2
UD
29188 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29189 * math/math_private.h: Remove libc_fegetround* and
29190 libc_fesetround*.
29191 * sysdeps/i386/configure.in: Check for -msse2avx.
29192 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29193 also if SSE2AVX is defined.
29194 Remove libc_fegetround* and libc_fesetround*.
29195 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29196 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29197 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29198 of HAS_YMM_USABLE.
29199 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29200 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29201 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29202 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29203 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29204
73139a76
UD
29205 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29206
d73f93a4
AZ
292072012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29208
29209 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29210 size is not set.
29211 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29212
6ee65ed6
UD
292132012-01-27 Ulrich Drepper <drepper@gmail.com>
29214
29215 [BZ #13618]
29216 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29217 relocation.
29218 * Makeconfig (libm): Define.
29219 * elf/Makefile: Add rules to build and run tst-relsort1.
29220 * elf/tst-relsort1.c: New file.
29221 * elf/tst-relsort1mod1.c: New file.
29222 * elf/tst-relsort1mod2.c: New file.
29223
8db21882
JM
292242012-01-27 Joseph Myers <joseph@codesourcery.com>
29225
29226 * math/s_ldexp.c: Remove __STDC__ conditionals.
29227 * math/s_ldexpf.c: Likewise.
29228 * math/s_ldexpl.c: Likewise.
29229 * math/s_nextafter.c: Likewise.
29230 * math/s_nexttowardf.c: Likewise.
29231 * math/s_significand.c: Likewise.
29232 * math/s_significandf.c: Likewise.
29233 * math/s_significandl.c: Likewise.
29234 * math/w_jnl.c: Likewise.
29235 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29236 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29237 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29238 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29239 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29240 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29241 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29242 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29243 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29244 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29245 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29246 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29247 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29248 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29249 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29250 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29251 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29252 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29253 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29254 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29255 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29256 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29257 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29258 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29259 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29260 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29261 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29262 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29263 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29264 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29265 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29266 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29267 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29268 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29269 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29270 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29271 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29272 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29273 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29274 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29275 * sysdeps/ieee754/k_standard.c: Likewise.
29276 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29277 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29278 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29279 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29280 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29281 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29282 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29283 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29284 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29285 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29286 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29287 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29288 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29289 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29290 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29291 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29292 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29293 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29294 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29295 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29296 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29297 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29298 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29299 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29300 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29301 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29302 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29303 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29304 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29305 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29306 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29307 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29308 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29309 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29310 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29311 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29312 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29313 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29314 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29315 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29316 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29317 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29318 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29319 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29320 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29321 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29322 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29323 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29324 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29325 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29326 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29327 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29328 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29329 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29330 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29331 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29332 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29333 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29334 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29335 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29336 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29337 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29338 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29339 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29340 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29341 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29342 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29343 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29344 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29345 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29346 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29347 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29348 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29349 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29350 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29351 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29352 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29353 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29354 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29355 * sysdeps/ieee754/s_matherr.c: Likewise.
29356 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29357 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29358 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29359 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29360
965a54a4
JM
293612012-01-26 Joseph Myers <joseph@codesourcery.com>
29362
29363 * crypt/md5.h: Remove __STDC__ conditionals.
29364 * libio/libioP.h: Likewise.
29365 * locale/programs/config.h: Likewise.
29366 * sysdeps/generic/sysdep.h: Likewise.
29367 * sysdeps/i386/asm-syntax.h: Likewise.
29368 * sysdeps/s390/asm-syntax.h: Likewise.
29369 * sysdeps/unix/sysdep.h: Likewise.
29370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29372
7071ad79
JM
293732012-01-26 Joseph Myers <joseph@codesourcery.com>
29374
29375 * libio/libio.h: Remove __STDC__ conditionals.
29376 * malloc/obstack.h: Likewise.
29377 * math/complex.h: Likewise.
29378 * math/math.h: Likewise.
29379 * sysdeps/generic/_G_config.h: Likewise.
29380 * sysdeps/gnu/_G_config.h: Likewise.
29381 * sysdeps/mach/hurd/_G_config.h: Likewise.
29382 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29383 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29384 * sysdeps/sparc/bits/mathdef.h: Likewise.
29385
afc5ed09
UD
293862012-01-26 Ulrich Drepper <drepper@gmail.com>
29387
29388 [BZ #13583]
29389 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 29390 Clean up HAS_* macros.
afc5ed09 29391 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
29392 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29393 possible.
29394 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29395 HAS_AVX.
29396 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29397 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29398 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29399 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29400 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 29401
bdb6de1d
JM
294022012-01-25 Joseph Myers <joseph@codesourcery.com>
29403
29404 * elf/tst-unique3.cc (gets): Remove declaration.
29405 * elf/tst-unique3lib.cc (gets): Likewise.
29406 * elf/tst-unique3lib2.cc (gets): Likewise.
29407 * elf/tst-unique4.cc (gets): Likewise.
29408
b15549e6
UD
294092012-01-24 Ulrich Drepper <drepper@gmail.com>
29410
29411 * include/stdio.h: Add C++ protection. Add gets declarations and
29412 definitions.
29413 * debug/tst-chk1.c: Don't declare gets here.
29414 * stdio-common/tst-gets.c: Likewise.
29415
a037381f
JM
294162012-01-24 Joseph Myers <joseph@codesourcery.com>
29417
29418 * posix/glob: Remove directory.
29419
f1d4aa75
JM
294202012-01-24 Joseph Myers <joseph@codesourcery.com>
29421
29422 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29423
81c0c964
PT
294242012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29425
29426 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29427 of the non-standard EPFNOSUPPORT.
29428
0ea698ae
ST
294292011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29430
29431 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29432 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29433 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29434
d220b117
UD
294352012-01-21 Ulrich Drepper <drepper@gmail.com>
29436
29437 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29438
3e1aa84e
UD
294392012-01-20 Ulrich Drepper <drepper@gmail.com>
29440
29441 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29442 transient errors.
29443 * nscd/grpcache.c (cache_addgr): Likewise.
29444 * nscd/hstcache.c (cache_addhst): Likewise.
29445 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29446 * nscd/pwdcache.c (cache_addpw): Likewise.
29447 * nscd/servicescache.c (cache_addserv): Likewise.
29448
400aa020
UD
294492012-01-16 Ulrich Drepper <drepper@gmail.com>
29450
d77e7869
UD
29451 * malloc/malloc.c: Various cleanups.
29452 * malloc/hooks.c: Likewise.
29453
400aa020
UD
29454 * stdlib/Makefile (tests): Add bug-fmtmsg1.
29455 * stdlib/bug-fmtmsg1.c: New file.
29456
29457 * stdlib/fmtmsg.c (init): Add missing unlock.
29458 Patch by Peng Haitao <penght@cn.fujitsu.com>.
29459
e0a309cf
MP
294602012-01-12 Marek Polacek <polacek@redhat.com>
29461
29462 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29463 and _GNU_SOURCE.
29464
929d11c7
WS
294652012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29466
29467 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29468 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29469 macro to ensure uniqueness of label name.
29470 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29471 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29472
41d0e869
UD
294732012-01-11 Ulrich Drepper <drepper@gmail.com>
29474
0cc5ed3b
UD
29475 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29476
41d0e869
UD
29477 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29478 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29479 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29480 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29481
a47a831a
UD
294822012-01-10 Ulrich Drepper <drepper@gmail.com>
29483
daa891c0
UD
29484 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29485
29486 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29487 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29488 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29489
e58ef0f2
UD
29490 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29491
a47a831a 29492 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
29493 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29494 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 29495 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
29496
29497 * math/bits/math-finite.h: Add ldexp support.
29498
a0bfc9c7
MP
294992012-01-10 Marek Polacek <polacek@redhat.com>
29500
29501 * locale/programs/localedef.h (show_archive_content): Add noreturn
29502 attribute.
29503
d6e97a1d
UD
295042012-01-09 Ulrich Drepper <drepper@gmail.com>
29505
29506 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29507
d5835c26
UD
295082012-01-08 Ulrich Drepper <drepper@gmail.com>
29509
e5f484c6
UD
29510 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29511
d5835c26
UD
29512 * io/Makefile (headers): Add bits/poll2.h.
29513
d1f741e9
WS
295142011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29515
29516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29517 typo #include statement.
29518
ec09c1c4
UD
295192012-01-08 Ulrich Drepper <drepper@gmail.com>
29520
29521 * include/sys/cdefs.h: Define __attribute_alloc_size.
29522 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29523 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29524 * elf/pldd.c: Likewise.
29525 * iconv/iconv_charmap.c: Likewise.
29526 * iconv/iconvconfig.c: Likewise.
29527 * iconv/strtab.c: Likewise.
29528 * locale/programs/locale.c: Likewise.
29529 * locale/programs/localedef.h: Likewise.
29530 * locale/programs/simple-hash.c: Likewise.
29531 * nscd/nscd.h: Likewise.
29532 * nss/makedb.c: Likewise.
29533 * sysdeps/generic/ldconfig.h: Likewise.
29534 * locale/programs/localedef.c: Remove xmalloc prototype.
29535 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29536
20b38e03
PP
295372012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29538
29539 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29540 appropriate.
29541
a0da5fe1
UD
295422012-01-08 Ulrich Drepper <drepper@gmail.com>
29543
1d5a644a 29544 * math/Makefile (tests): Add tst-CMPLX.
669704fd 29545 * math/tst-CMPLX.c: New file.
1d5a644a 29546
8784a6db
UD
29547 * math/complex.h (CMPLXL): Fix typo.
29548
d9a216c0
UD
29549 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29550 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29551 GLIBC_2.16.
29552 * debug/tst-chk1.c: Add poll and ppoll tests.
29553 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29554 * include/sys/poll.h: Add hidden proto for ppoll.
29555 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29556 * sysdeps/mach/hurd/ppoll.c: Likewise.
29557 * io/ppoll.c: Likewise.
29558 * debug/poll_chk.c: New file.
29559 * debug/ppoll_chk.c: New file.
29560 * include/bits/poll2.h: New file.
29561 * io/bits/poll2.h: New file.
29562
ac097f5c
UD
29563 [BZ #1350]
29564 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29565
2119dcfa
UD
29566 * configure.in: static is always set to yes. Remove.
29567 * config.make.in: Don't set build-static.
29568 * Makeconfig: Remove use of build-static.
29569 * dlfcn/Makefile: Likewise.
29570 * elf/Makefile: Likewise.
29571 * math/Makefile: Likewise.
29572 * misc/Makefile: Likewise.
29573 * nptl/Makefile: Likewise.
29574 * sysdeps/mach/hurd/Makefile: Likewise.
29575
121766a9
UD
29576 * configure.in: PWD_P is not used anymore.
29577 * config.make.in: Remove PWD_P entry.
29578
51a1d39c 29579 * configure.in: Remove last remnants of RANLIB.
8720d066 29580 No need to check for signed size_t anymore.
215f4bdc
UD
29581 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29582 and IA-64.
3857022a 29583 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
29584 * aclocal.m4: Likewise.
29585
d3ed7225
UD
29586 * wcsmbs/mbrtoc16.c: Implement using towc function.
29587 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29588 * wcsmbs/wcsmbsload.c: Likewise.
29589 * iconv/gconv_simple.c: Likewise.
29590 * iconv/gconv_int.h: Likewise.
29591 * iconv/gconv_builtin.h: Likewise.
29592 * iconv/iconv_prog.c: Remove CHAR16 handling.
29593
29594 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29595
29596 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29597
a0da5fe1
UD
29598 * configure.in: Remove --with-elf and --enable-bounded options.
29599 Dont set base_machine for ia64. More non-ELF conditions removed.
29600 Remove testing and setting of leading underscore information.
29601 * config.make.in (build-bounded): Set to no.
29602 * config.h.in: Remove NO_UNDERSCORES entry.
29603 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29604 them.
29605 * csu/start.c: Remove !NO_UNDERSCORE code.
29606 * locale/localeinfo.h: Likewise.
29607 * sysdeps/generic/machine-gmon.h: Likewise.
29608 * sysdeps/generic/sysdep.h: Likewise.
29609 * sysdeps/i386/sysdep.h: Likewise.
29610 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29611 * sysdeps/mach/sysdep.h: Likewise.
29612 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29613 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29614 * sysdeps/sh/sysdep.h: Likewise.
29615 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29616 * sysdeps/unix/i386/sysdep.S: Likewise.
29617 * sysdeps/unix/sparc/start.c: Likewise.
29618 * sysdeps/unix/sparc/sysdep.S: Likewise.
29619 * sysdeps/unix/sparc/sysdep.h: Likewise.
29620 * sysdeps/unix/start.c: Likewise.
29621 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29622 * sysdeps/x86_64/sysdep.h: Likewise.
29623
df78418a
UD
296242012-01-07 Ulrich Drepper <drepper@gmail.com>
29625
a784e502
UD
29626 [BZ #13553]
29627 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29628 for non-gcc.
29629 * argp/argp-fmtstream.h: Use const instead __const.
29630 * argp/argp.h: Likewise.
29631 * assert/assert.h: Likewise.
29632 * bits/fenv.h: Likewise.
29633 * bits/sched.h: Likewise.
29634 * bits/sigset.h: Likewise.
29635 * bits/sigthread.h: Likewise.
29636 * catgets/nl_types.h: Likewise.
29637 * conform/data/pthread.h-data: Likewise.
29638 * crypt/crypt-private.h: Likewise.
29639 * crypt/crypt.h: Likewise.
29640 * crypt/crypt_util.c: Likewise.
29641 * ctype/ctype.h: Likewise.
29642 * debug/execinfo.h: Likewise.
29643 * debug/mbsnrtowcs_chk.c: Likewise.
29644 * debug/mbsrtowcs_chk.c: Likewise.
29645 * debug/wcsnrtombs_chk.c: Likewise.
29646 * debug/wcsrtombs_chk.c: Likewise.
29647 * debug/wcstombs_chk.c: Likewise.
29648 * dirent/dirent.h: Likewise.
29649 * dlfcn/dlfcn.h: Likewise.
29650 * elf/neededtest4.c: Likewise.
29651 * grp/grp.h: Likewise.
29652 * gshadow/gshadow.h: Likewise.
29653 * iconv/gconv.h: Likewise.
29654 * iconv/gconv_int.h: Likewise.
29655 * iconv/gconv_simple.c: Likewise.
29656 * iconv/iconv.h: Likewise.
29657 * iconv/loop.c: Likewise.
29658 * iconv/skeleton.c: Likewise.
29659 * include/aio.h: Likewise.
29660 * include/aliases.h: Likewise.
29661 * include/argz.h: Likewise.
29662 * include/arpa/inet.h: Likewise.
29663 * include/assert.h: Likewise.
29664 * include/dirent.h: Likewise.
29665 * include/dlfcn.h: Likewise.
29666 * include/execinfo.h: Likewise.
29667 * include/fcntl.h: Likewise.
29668 * include/fenv.h: Likewise.
29669 * include/glob.h: Likewise.
29670 * include/grp.h: Likewise.
29671 * include/libintl.h: Likewise.
29672 * include/mntent.h: Likewise.
29673 * include/netdb.h: Likewise.
29674 * include/pwd.h: Likewise.
29675 * include/rpc/netdb.h: Likewise.
29676 * include/sched.h: Likewise.
29677 * include/search.h: Likewise.
29678 * include/shadow.h: Likewise.
29679 * include/signal.h: Likewise.
29680 * include/stdio.h: Likewise.
29681 * include/stdlib.h: Likewise.
29682 * include/string.h: Likewise.
29683 * include/sys/socket.h: Likewise.
29684 * include/sys/stat.h: Likewise.
29685 * include/sys/statfs.h: Likewise.
29686 * include/sys/statvfs.h: Likewise.
29687 * include/sys/syslog.h: Likewise.
29688 * include/sys/time.h: Likewise.
29689 * include/sys/uio.h: Likewise.
29690 * include/time.h: Likewise.
29691 * include/unistd.h: Likewise.
29692 * include/utmp.h: Likewise.
29693 * include/wchar.h: Likewise.
29694 * include/wctype.h: Likewise.
29695 * inet/aliases.h: Likewise.
29696 * inet/arpa/inet.h: Likewise.
29697 * inet/netinet/ether.h: Likewise.
29698 * inet/netinet/in.h: Likewise.
29699 * intl/libintl.h: Likewise.
29700 * io/bits/fcntl2.h: Likewise.
29701 * io/fcntl.h: Likewise.
29702 * io/ftw.h: Likewise.
29703 * io/sys/poll.h: Likewise.
29704 * io/sys/stat.h: Likewise.
29705 * io/sys/statfs.h: Likewise.
29706 * io/sys/statvfs.h: Likewise.
29707 * io/utime.h: Likewise.
29708 * libio/bits/stdio.h: Likewise.
29709 * libio/bits/stdio2.h: Likewise.
29710 * libio/libio.h: Likewise.
29711 * libio/libioP.h: Likewise.
29712 * libio/stdio.h: Likewise.
29713 * locale/lc-ctype.c: Likewise.
29714 * locale/locale.h: Likewise.
29715 * login/utmp.h: Likewise.
29716 * malloc/arena.c: Likewise.
29717 * malloc/malloc.c: Likewise.
29718 * malloc/malloc.h: Likewise.
29719 * malloc/mcheck.c: Likewise.
29720 * malloc/mtrace.c: Likewise.
29721 * math/bits/mathcalls.h: Likewise.
29722 * math/fenv.h: Likewise.
29723 * math/math_private.h: Likewise.
29724 * misc/bits/error.h: Likewise.
29725 * misc/bits/syslog.h: Likewise.
29726 * misc/err.h: Likewise.
29727 * misc/error.h: Likewise.
29728 * misc/fstab.h: Likewise.
29729 * misc/mntent.h: Likewise.
29730 * misc/regexp.h: Likewise.
29731 * misc/search.h: Likewise.
29732 * misc/sgtty.h: Likewise.
29733 * misc/sys/mman.h: Likewise.
29734 * misc/sys/syslog.h: Likewise.
29735 * misc/sys/uio.h: Likewise.
29736 * misc/sys/xattr.h: Likewise.
29737 * misc/ttyent.h: Likewise.
29738 * nis/rpcsvc/ypclnt.h: Likewise.
29739 * nss/nss.h: Likewise.
29740 * posix/bits/unistd.h: Likewise.
29741 * posix/fnmatch.h: Likewise.
29742 * posix/glob.h: Likewise.
29743 * posix/sched.h: Likewise.
29744 * posix/spawn.h: Likewise.
29745 * posix/sys/wait.h: Likewise.
29746 * posix/unistd.h: Likewise.
29747 * posix/wordexp.h: Likewise.
29748 * pwd/pwd.h: Likewise.
29749 * resolv/netdb.h: Likewise.
29750 * resource/sys/resource.h: Likewise.
29751 * rt/aio.h: Likewise.
29752 * rt/bits/mqueue2.h: Likewise.
29753 * rt/mqueue.h: Likewise.
29754 * shadow/shadow.h: Likewise.
29755 * signal/signal.h: Likewise.
29756 * socket/send.c: Likewise.
29757 * socket/sendto.c: Likewise.
29758 * socket/sys/socket.h: Likewise.
29759 * stdio-common/printf.h: Likewise.
29760 * stdlib/bits/stdlib.h: Likewise.
29761 * stdlib/fmtmsg.h: Likewise.
29762 * stdlib/monetary.h: Likewise.
29763 * stdlib/stdlib.h: Likewise.
29764 * stdlib/ucontext.h: Likewise.
29765 * streams/stropts.h: Likewise.
29766 * string/argz.h: Likewise.
29767 * string/bits/string2.h: Likewise.
29768 * string/string.h: Likewise.
29769 * string/strings.h: Likewise.
29770 * sunrpc/rpc/auth.h: Likewise.
29771 * sunrpc/rpc/auth_des.h: Likewise.
29772 * sunrpc/rpc/clnt.h: Likewise.
29773 * sunrpc/rpc/netdb.h: Likewise.
29774 * sunrpc/rpc/pmap_clnt.h: Likewise.
29775 * sunrpc/rpc/xdr.h: Likewise.
29776 * sysdeps/generic/inttypes.h: Likewise.
29777 * sysdeps/generic/net/if.h: Likewise.
29778 * sysdeps/generic/sys/swap.h: Likewise.
29779 * sysdeps/gnu/net/if.h: Likewise.
29780 * sysdeps/gnu/utmpx.h: Likewise.
29781 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29782 * sysdeps/i386/i486/bits/string.h: Likewise.
29783 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29784 * sysdeps/s390/bits/string.h: Likewise.
29785 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29786 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29787 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29788 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29789 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29790 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29791 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29792 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29793 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29794 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29795 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29796 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29797 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29798 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29799 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29800 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29801 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29802 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29803 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29804 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29805 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29806 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29807 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29808 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29809 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29810 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29811 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29812 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29813 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29814 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29815 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29816 * sysvipc/sys/ipc.h: Likewise.
29817 * sysvipc/sys/msg.h: Likewise.
29818 * sysvipc/sys/sem.h: Likewise.
29819 * sysvipc/sys/shm.h: Likewise.
29820 * termios/termios.h: Likewise.
29821 * time/sys/time.h: Likewise.
29822 * time/time.h: Likewise.
29823 * wcsmbs/bits/wchar2.h: Likewise.
29824 * wcsmbs/uchar.h: Likewise.
29825 * wcsmbs/wchar.h: Likewise.
29826 * wctype/wctype.h: Likewise.
29827
0269750c
UD
29828 [BZ #13551]
29829 * Makeconfig: Remove all but ELF support including AIX support.
29830 * Makerules: Likewise.
29831 * config.h.in: Likewise.
29832 * config.make.in: Likewise.
29833 * configure: Likewise.
29834 * configure.in: Likewise.
29835 * csu/Makefile: Likewise.
29836 * csu/version.c: Likewise.
29837 * debug/Makefile: Likewise.
29838 * dlfcn/Makefile: Likewise.
29839 * elf/Makefile: Likewise.
29840 * extra-lib.mk: Likewise.
29841 * iconv/Makefile: Likewise.
29842 * include/libc-symbols.h: Likewise.
29843 * include/shlib-compat.h: Likewise.
29844 * resolv/Makefile: Likewise.
29845 * resolv/res_libc.c: Likewise.
29846 * rt/Makefile: Likewise.
29847 * sysdeps/i386/asm-syntax.h: Likewise.
29848 * sysdeps/i386/sysdep.h: Likewise.
29849 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29850 * sysdeps/mach/sysdep.h: Likewise.
29851 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29852 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29853 * sysdeps/s390/asm-syntax.h: Likewise.
29854 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29855 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29856 * sysdeps/sh/sysdep.h: Likewise.
29857 * sysdeps/unix/sparc/sysdep.h: Likewise.
29858 * sysdeps/wordsize-32/divdi3.c: Likewise.
29859 * sysdeps/x86_64/sysdep.h: Likewise.
29860
00bbd29b
UD
29861 * argp/Versions: Remove _argp_unlock_xxx.
29862
29863 [BZ #13559]
29864 * abilist/ld.abilist: Update. Adjust for removal of tls option.
29865 * abilist/libBrokenLocale.abilist: Likewise.
29866 * abilist/libanl.abilist: Likewise.
29867 * abilist/libc.abilist: Likewise.
29868 * abilist/libcrypt.abilist: Likewise.
29869 * abilist/libdl.abilist: Likewise.
29870 * abilist/libm.abilist: Likewise.
29871 * abilist/libnsl.abilist: Likewise.
29872 * abilist/libpthread.abilist: Likewise.
29873 * abilist/libresolv.abilist: Likewise.
29874 * abilist/librt.abilist: Likewise.
29875 * abilist/libthread_db.abilist: Likewise.
29876 * abilist/libutil.abilist: Likewise.
29877 * abilist/libnss_db.abilist: New file.
29878
29879 * scripts/abilist.awk: Add support for indirect functions.
29880
a2693a0e
UD
29881 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29882
3f05895f
UD
29883 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29884
ecb6fb48
UD
29885 * shlib-versions: Remove entries for ports architectures.
29886
664f8cb9
UD
29887 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29888 files in ports.
29889 * elf/stackguard-macros.h: Remove support for IA-64.
29890 * elf/tst-auditmod1.c: Likewise.
29891 * sysdeps/generic/ldsodefs.h: Likewise.
29892
7ae81d88
UD
29893 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29894 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29895 configure files.
29896
bdeba135
UD
29897 [BZ #13552]
29898 * configure.in: Remove --enable-omitfp support.
29899 * FAQ.in: Adjust.
29900 * config.make.in: Likewise.
29901 * Makeconfig: Likewise.
29902 * manual/install.texi: Likewise.
29903
d75a0a62
UD
29904 In case anyone cares, the IA-64 architecture could move to ports.
29905 * sysdeps/ia64/*: Removed.
29906 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 29907 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 29908
dcc9756b
UD
29909 [BZ #13555]
29910 * configure.in: Remove entries for unsupported architectures.
29911
d3761ebc 29912 [BZ #13533]
9954432e
UD
29913 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29914 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
29915 routines.
29916 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29917 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29918 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29919 fall back to using wcrtomb.
29920 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29921 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29922 renaming.
29923 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29924 * wcsmbs/tst-c16c32-1.c: New file.
29925
29926 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29927 local variable.
29928
c3a87236
UD
29929 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29930
28926a1b
UD
29931 * elf/tst-unique3.cc: Add explicit declaration of gets.
29932 * elf/tst-unique3lib.cc: Likewise.
29933 * elf/tst-unique3lib2.cc: Likewise.
29934 * elf/tst-unique4.cc: Likewise.
29935
df78418a
UD
29936 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29937
8ecd6b2a
JM
299382012-01-06 Joseph Myers <joseph@codesourcery.com>
29939
29940 [BZ #13566]
29941 * assert/assert.h (static_assert): Don't define for C++.
29942 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29943 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29944
9f115170
UD
299452012-01-03 Ulrich Drepper <drepper@gmail.com>
29946
5e0d0300
UD
29947 * iconv/loop.c (single loop): Fix assertion in storing of
29948 remaining bytes.
29949
9f115170
UD
29950 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29951
81fb02b0
UD
299522012-01-01 Ulrich Drepper <drepper@gmail.com>
29953
29954 * posix/getconf.c: Update copyright year.
29955 * nss/getent.c: Likewise.
a316c1f6 29956 * nss/makedb.c: Likewise.
81fb02b0
UD
29957 * iconv/iconvconfig.c: Likewise.
29958 * iconv/iconv_prog.c: Likewise.
29959 * elf/ldconfig.c: Likewise.
a316c1f6
UD
29960 * elf/pldd.c: Likewise.
29961 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
29962 * catgets/gencat.c: Likewise.
29963 * csu/version.c: Likewise.
29964 * elf/ldd.bash.in: Likewise.
29965 * elf/sprof.c (print_version): Likewise.
29966 * locale/programs/locale.c: Likewise.
29967 * locale/programs/localedef.c: Likewise.
a316c1f6 29968 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
29969 * nscd/nscd.c (print_version): Likewise.
29970 * debug/xtrace.sh: Likewise.
29971 * malloc/memusage.sh: Likewise.
29972 * malloc/mtrace.pl: Likewise.
29973 * debug/catchsegv.sh: Likewise.
29974
2ba92745
JJ
299752011-12-30 Jakub Jelinek <jakub@redhat.com>
29976
29977 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29978 pure attribute.
29979
dadebdae
UD
299802011-12-24 Ulrich Drepper <drepper@gmail.com>
29981
d3761ebc 29982 [BZ #13533]
db6af3eb
UD
29983 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29984 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29985 transformations.
29986 * iconv/gconv_int.h: Likewise.
29987 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29988 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29989 from libc for GLIBC_2.16.
29990 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29991 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29992 * wcsmbs/uchar.h: Really define mbstate_t.
29993 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29994 * wcsmbs/c16rtomb.c: New file.
29995 * wcsmbs/mbrtoc16.c: New file.
29996 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29997 for C/POSIX locale.
29998 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29999 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30000
dadebdae
UD
30001 * wcsmbs/wchar.h: Add missing __restrict.
30002
67371b56
UD
300032011-12-23 Ulrich Drepper <drepper@gmail.com>
30004
74033a25
UD
30005 [BZ #13532]
30006 * time/Makefile (routines): Add timespec_get.
30007 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30008 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30009 timespec for ISO C11.
30010 * time/timespec_get.c: New file.
30011 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30012 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30013
380d7e87
UD
30014 [BZ #13531]
30015 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30016 * stdlib/stdlib.h: Declare aligned_alloc.
30017 * Versions.def: Add GLIBC_2.16 for libc.
30018 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30019
4e9e7a35
UD
30020 [BZ 13527]
30021 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30022 ISO C11.
30023
380d7e87 30024 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
30025 code.
30026
03a71829
UD
30027 [BZ #13528]
30028 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30029
839e283e
UD
30030 [BZ #13529]
30031 * assert/assert.h (static_assert): Define.
30032
ce5294e2 30033 * version.h: Update for 2.16 development version.
90fa7312 30034
8d44e150 30035 [BZ #13526]
d7809905
UD
30036 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30037 _ISOC11_SOURCE.
30038
c0da14cd
UD
30039 * version.h (RELEASE): Bump for 2.15 release.
30040 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30041
530a3249
MP
30042 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30043 Patch by Marek Polacek <mpolacek@redhat.com>.
30044
67371b56
UD
30045 * bits/byteswap.h: Protect long long constants with __extension__.
30046 * sysdeps/i386/bits/byteswap.h: Likewise.
30047 * sysdeps/ia64/bits/byteswap.h: Likewise.
30048 * sysdeps/s390/bits/byteswap.h: Likewise.
30049 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30050
15db4de1
LD
300512011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30052
30053 [BZ #13540]
bbe315ea
LD
30054 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30055 destination buffer.
15db4de1
LD
30056 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30057
2b2596b1
MP
300582011-12-23 Marek Polacek <polacek@redhat.com>
30059
30060 * elf/dl-addr.c (determine_info): Add inline keyword.
30061 * elf/tst-auditmod4b.c (check_avx): Likewise.
30062 * elf/tst-auditmod6b.c (check_avx): Likewise.
30063 * elf/tst-auditmod6c.c (check_avx): Likewise.
30064 * elf/tst-auditmod7b.c (check_avx): Likewise.
30065
70c6c246
UD
300662011-12-23 Ulrich Drepper <drepper@gmail.com>
30067
30068 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30069 !__SSE_MATH__.
30070
c044cf14
LD
300712011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30072
15db4de1 30073 [BZ #13540]
c044cf14
LD
30074 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30075 processing for last bytes.
30076
6b13d9d9
BH
300772011-08-06 Bruno Haible <bruno@clisp.org>
30078
d455f537
BH
30079 [BZ #13061]
30080 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30081 U+0385, not to U+1FEE.
30082
6b13d9d9
BH
30083 [BZ #13062]
30084 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30085 entry for U+00A5 U+0301.
30086
db910efd
UD
300872011-12-22 Ulrich Drepper <drepper@gmail.com>
30088
27deeafc
UD
30089 [BZ #13166]
30090 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30091 buffer for the output is too small.
30092
aed9d171
UD
30093 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30094 optimization.
30095
db910efd
UD
30096 [BZ #13185]
30097 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30098 SSE flags if possible.
30099
2bd779ae
LD
301002011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30101
e7f9dac3 30102 [BZ #13540]
2bd779ae
LD
30103 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30104 processing for last bytes.
30105
154bfc16
JM
301062011-12-22 Joseph Myers <joseph@codesourcery.com>
30107
30108 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30109 (syscall-list-default-options, syscall-list-default-condition)
30110 (syscall-list-includes): Define.
30111 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30112 list of ABIs and options and #if conditions for each ABI. Do not
30113 handle common syscalls between ABIs specially.
30114 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30115 Remove.
30116 (syscall-list-variants, syscall-list-32bit-options)
30117 (syscall-list-32bit-condition, syscall-list-64bit-options)
30118 (syscall-list-64bit-condition): Define.
30119 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30120 (syscall-list-variants, syscall-list-32bit-options)
30121 (syscall-list-32bit-condition, syscall-list-64bit-options)
30122 (syscall-list-64bit-condition): Define.
30123 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30124 Remove.
30125 (syscall-list-variants, syscall-list-32bit-options)
30126 (syscall-list-32bit-condition, syscall-list-64bit-options)
30127 (syscall-list-64bit-condition): Define.
30128 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30129 Remove.
30130 (syscall-list-variants, syscall-list-32bit-options)
30131 (syscall-list-32bit-condition, syscall-list-64bit-options)
30132 (syscall-list-64bit-condition): Define.
30133
21eaf3a5
UD
301342011-12-22 Ulrich Drepper <drepper@gmail.com>
30135
16c6f992
UD
30136 * locale/iso-639.def: Add brx entry.
30137
41043168
UD
30138 [BZ #13328]
30139 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30140 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30141
21eaf3a5
UD
30142 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30143 __feraiseexcept_renamed.
30144
e3a851a2
UD
301452011-12-21 Ulrich Drepper <drepper@gmail.com>
30146
4920765e
UD
30147 [BZ #13538]
30148 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30149 EPOLLET with unsigned values.
30150 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30151 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30152
e3a851a2
UD
30153 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30154 to large cancellation.
30155 * math/s_cacoshf.c: Likewise.
30156 * math/s_cacoshl.c: Likewise.
30157
b27e24b8
RK
301582011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30159
30160 [BZ #13305]
aebefeee 30161 [BZ #12786]
b27e24b8
RK
30162 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30163 * math/s_cacoshf.c: Likewise.
30164 * math/s_cacoshl.c: Likewise.
30165
ee190f67
UD
301662011-12-21 Ulrich Drepper <drepper@gmail.com>
30167
30168 [BZ #13439]
30169 * iconv/gconv.h: Define __GCONV_SWAP.
30170 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30171 * iconvdata/utf-16.c: Likewise.
30172 * iconvdata/utf-32.c: Likewise.
30173
707f25df
AS
301742011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30175
30176 [BZ #13524]
30177 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30178 numerator after shifting it by one limb.
30179
d2daaa1e
RÁE
301802011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30181
30182 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30183 under [__USE_EXTERN_INLINES].
30184
a4647e72
UD
301852011-12-17 Ulrich Drepper <drepper@gmail.com>
30186
30187 [BZ #13446]
30188 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30189
f0b264f1
AZ
301902011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30191
30192 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30193 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30194 optimized code.
30195 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30196 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30197 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30198 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30199 for strncasecmp/strncasecmp_l compilation.
30200 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30201 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30202
8ef4f244
MP
302032011-12-08 Marek Polacek <mpolacek@redhat.com>
30204
30205 [BZ #13484]
30206 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30207 of __asm__.
30208
97ac2654
UD
302092011-12-17 Ulrich Drepper <drepper@gmail.com>
30210
30211 [BZ #13506]
30212 * time/tzfile.c (__tzfile_read): Check values from file header.
30213
91d2a845
WS
302142011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30215
30216 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30217 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30218 * powerpc/powerpc32/dl-start.S: Likewise.
30219 * powerpc/powerpc32/elf/start.S: Likewise.
30220 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30221 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30222 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30223 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30224 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30225 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30226 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30227 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30228 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30229 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30230 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30231 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30232 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30233 * powerpc/powerpc32/memset.S: Likewise.
30234 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30235 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30236 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30237 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30238 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30239 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30240 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30241 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30242 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30243 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30244 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30245 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30246 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30247
a1267ba1
AZ
302482011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30249
30250 * math/libm-test.inc: Added more nearbyint tests.
30251 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30252 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30253 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30254 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30255
ad8ac1bd
RL
302562011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30257
30258 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30259 FD_CLOEXEC.
30260
1d3e4b61
UD
302612011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30262
30263 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30264 Add wcscpy-ssse3 wcscpy-c.
30265 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30266 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30267 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30268 * sysdeps/x86_64/wcschr.S: New file.
30269 * sysdeps/x86_64/wcsrchr.S: New file.
30270 * string/test-strcmp.c: Remove checking of wcscmp function for
30271 wrong alignments.
30272 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30273 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30274 wcsrchr-sse2 wcsrchr-c.
30275 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30276 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30277 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30278 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30279 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30280 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30281 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30282 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30283 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30284 * wcsmbc/wcschr.c (WCSCHR): New macro.
30285
5b330a2d
UD
302862011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30287
30288 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30289 * wcsmbs/test-wcsrchr.c: New file.
30290 * string/test-strrchr.c: Add wcsrchr support.
30291 (WIDE): New macro.
30292 * wcsmbs/test-wcscpy.c: New file.
30293 * string/test-strcpy.c: Add wcscpy support.
30294 (WIDE): New macro.
26428b7c 30295
f039c043
UD
302962011-12-10 Ulrich Drepper <drepper@gmail.com>
30297
30298 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30299 the inner loop.
30300
850fb039
AS
303012011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30302
30303 [BZ #13472]
30304 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30305
4efbd5cb
UD
303062011-12-04 Ulrich Drepper <drepper@gmail.com>
30307
52ff5dd0 30308 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 30309 Minor optimizations.
52ff5dd0 30310
4efbd5cb
UD
30311 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30312 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30313 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30314
8a426e12
UD
303152011-12-03 Ulrich Drepper <drepper@gmail.com>
30316
aff2453d
UD
30317 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30318 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30319 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30320 for gcc to avoid warnings.
30321 * inet/Makefile (tests): Add tst-checks.
30322 * inet/tst-checks.c: New file.
30323
30324 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30325 warning.
30326
30327 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30328 __wmemcmp_sse2.
30329
30330 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30331 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30332
8a426e12
UD
30333 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30334
9bea3473
UD
303352011-12-02 Ulrich Drepper <drepper@gmail.com>
30336
3a965496
UD
30337 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30338 problem.
30339
9bea3473
UD
30340 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30341
f101631b
UD
303422011-11-29 Joseph Myers <joseph@codesourcery.com>
30343
30344 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30345 conditional on GCC version.
30346 (__arch_compare_and_exchange_val_8_acq)
30347 (__arch_compare_and_exchange_val_16_acq)
30348 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30349 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30350 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30351
a98275aa
UD
303522011-12-02 Joseph Myers <joseph@codesourcery.com>
30353
30354 * sysdeps/sh/backtrace.c: New file.
30355
d4cc29a2
AS
303562011-12-02 Andreas Schwab <schwab@redhat.com>
30357
30358 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30359 parenthesis.
30360
6257af2d
AS
303612011-12-01 Andreas Schwab <schwab@redhat.com>
30362
30363 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30364 falling back to utime.
30365
b5f44c1a
AS
303662011-11-30 Andreas Schwab <schwab@redhat.com>
30367
30368 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30369 expectations for float.
30370
f3a6cc0a
AS
303712011-11-29 Andreas Schwab <schwab@redhat.com>
30372
30373 * locale/weight.h (findidx): Add parameter len.
30374 * locale/weightwc.h (findidx): Likewise.
30375 * posix/fnmatch_loop.c (FCT): Adjust caller.
30376 * posix/regcomp.c (build_equiv_class): Likewise.
30377 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30378 * posix/regexec.c (check_node_accept_bytes): Likewise.
30379 * string/strcoll_l.c (STRCOLL): Likewise.
30380 * string/strxfrm_l.c (STRXFRM): Likewise.
30381
9d65ea3a
UD
303822011-11-17 Ulrich Drepper <drepper@gmail.com>
30383
30384 * Makefile.in: Remove CVSOPT handling.
30385 * configure.in: Remove use of AC_REVISION.
30386 * iconvdata/Makefile (distribute): No need to filter out CVS.
30387 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30388 handling.
30389
5583a086
AS
303902011-11-16 Andreas Schwab <schwab@redhat.com>
30391
30392 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30393 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30394 [USE_AS_STRNCASECMP_L]: Likewise.
30395 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30396 NO_TLS_DIRECT_SEG_REFS.
30397 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30398 Fix argument offsets for non-PIC.
30399 [USE_AS_STRNCASECMP_L]: Likewise.
30400 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30401 NO_TLS_DIRECT_SEG_REFS.
30402
d62a8200
UD
304032011-11-15 Ulrich Drepper <drepper@gmail.com>
30404
9d65ea3a 30405 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
30406 O_CLOEXEC.
30407 * locale/loadlocale.c (_nl_load_locale): Likewise.
30408
09f93bd3
AS
304092011-11-15 Andreas Schwab <schwab@redhat.com>
30410
446514f9
AS
30411 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30412 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30413 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30414 (SYSCALL_GETTIME): Set errno on error.
30415
09f93bd3
AS
30416 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30417 count references to noai6ai_cached.
30418
312be3f9
UD
304192011-11-15 Ulrich Drepper <drepper@gmail.com>
30420
30421 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30422
30423 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30424 FD_CLOEXEC for /proc/self/maps.
30425
30426 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30427 FD_CLOEXEC for /proc/meminfo.
30428
30429 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30430 gai.conf.
30431
30432 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30433 FD_CLOEXEC for given file.
30434
30435 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30436
30437 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30438 FD_CLOEXEC for /etc/hosts.
30439 (_gethtent): Likewise.
30440
30441 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30442
30443 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30444 cancellation and set FD_CLOEXEC for /etc/netgroup.
30445
30446 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30447 reading /etc/publickey.
30448
30449 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30450 allow cancellation when reading /etc/group.
30451
30452 * nss/nss_files/files-alias.c (internal_setent): Don't allow
30453 cancellation.
30454 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
30455
30456 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30457 when using data file.
30458
30459 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30460
30461 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30462 (write_nis_obj): Use "c" and "e" in fopen.
30463
30464 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30465
30466 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30467
30468 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30469
30470 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30471
30472 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30473 locale.alias.
30474
30475 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30476
30477 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30478
30479 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30480
30481 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30482 file parsing and set FD_CLOEXEC.
30483
82af0fa8
UD
304842011-11-14 Ulrich Drepper <drepper@gmail.com>
30485
30486 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30487
a5fb313c
AS
304882011-11-14 Andreas Schwab <schwab@redhat.com>
30489
30490 * malloc/arena.c (arena_get2): Don't call reused_arena when
30491 _int_new_arena failed.
30492
6abf3465
UD
304932011-11-14 Ulrich Drepper <drepper@gmail.com>
30494
30495 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30496 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30497 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30498 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30499 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30500 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30501 to compile strcasecmp and strncasecmp.
30502 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30503 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30504
30505 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30506
76e3966e
UD
305072011-11-13 Ulrich Drepper <drepper@gmail.com>
30508
30509 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30510 locale-defines.sym to gen-as-const-headers.
30511 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30512 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30513 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30514 to compile strcasecmp and strncasecmp.
30515 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30516 strcasecmp_l and strncasecmp_l.
30517 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30518 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30519 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30520 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30521 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30522 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30523 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30524 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30525 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30526 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30527 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30528
ab26144e
UD
305292011-11-12 Ulrich Drepper <drepper@gmail.com>
30530
7edb22ef
UD
30531 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30532 result of SYSDEP_GETTIME_CPU to retval.
30533 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30534 parameter list to macro. Remove trailing semicolon. Adjust users.
30535
9694fc44
UD
30536 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30537 variable.
30538
8ad89ef8
UD
30539 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30540 mantissa words.
30541 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30542
0c822ef9
UD
30543 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30544 from unused variable.
30545
874e0564
UD
30546 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30547 DWARF definitions.
30548 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30549 for assembling.
30550
3a2edc79
UD
30551 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30552 over namespaces.
30553
f3c2577f
UD
30554 * sunrpc/rpc_prot.c (rejected): Fix case value.
30555
294ce126
UD
30556 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30557 unsigned long long int to avoid warnings in shift.
30558
5e2b63c6
UD
30559 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30560 of use of trans.
30561 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30562 variable tmp.
30563
e7f4b08e
UD
30564 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30565 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30566 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30567
ab26144e
UD
30568 * nis/nis_table.c (nis_list): Use variable of correct type for
30569 result of __follow_path call.
30570
8a6d5255
AZ
305712011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30572
30573 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30574 of math functions ceil, trunc, floor, round, and sqrt, when
30575 avaliable on the platform.
30576 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30577 name clash.
30578 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30579 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30580 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30581
aaddc98c
MP
305822011-10-30 Marek Polacek <mpolacek@redhat.com>
30583
30584 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30585 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30586
95b7042b
RM
305872011-11-11 Roland McGrath <roland@hack.frob.com>
30588
30589 * include/unistd.h: Fix __readlink return type.
30590 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30591
57769839
UD
305922011-11-11 Ulrich Drepper <drepper@gmail.com>
30593
30594 * stdlib/ucontext.h: Undo last change for makecontext.
30595
edc5984d
AS
305962011-11-11 Andreas Schwab <schwab@redhat.com>
30597
98591e58
AS
30598 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30599
edc5984d
AS
30600 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30601 * setjmp/setjmp.h: Mark functions as non-leaf.
30602 * setjmp/bits/setjmp2.h: Likewise.
30603 * stdlib/ucontext.h: Likewise.
30604
77cdc054
AS
306052011-11-10 Andreas Schwab <schwab@redhat.com>
30606
30607 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30608 (reused_arena): Don't check arena limit.
30609 (arena_get2): Atomically check arena limit.
30610
fe72eebd
UD
306112011-11-08 Ulrich Drepper <drepper@gmail.com>
30612
5f078c32
UD
30613 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30614 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30615
fe72eebd
UD
30616 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30617 instructions.
30618
ae1bc2fa
AS
306192011-11-07 Andreas Schwab <schwab@redhat.com>
30620
7583a88d
AS
30621 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30622 handler when locking.
30623
ae1bc2fa
AS
30624 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30625 Fix size of allocated buffer.
30626
10fb0bfa
AS
306272011-11-04 Andreas Schwab <schwab@redhat.com>
30628
998832a4
AS
30629 [BZ #10103]
30630 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30631 declarations for long double functions.
30632 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30633
10fb0bfa
AS
30634 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30635
3d7ba52b
AS
306362011-11-03 Andreas Schwab <schwab@redhat.com>
30637
a9ae54a1
AS
30638 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30639 installed.
30640
3d7ba52b
AS
30641 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30642 is disabled.
30643
bc8db248
ST
306442011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30645
30646 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30647
45b96dd6
AS
306482011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30649
647776f6
AS
30650 * include/alloca.h (stackinfo_alloca_round): Define.
30651 (extend_alloca): Use it.
30652 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30653 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30654 here.
30655
d91a8b93
AS
30656 * scripts/check-local-headers.sh: Ignore libaudit.h.
30657
45b96dd6
AS
30658 * nscd/Makefile (extra-objs): Make recursively expanded.
30659
432d41ce
UD
306602011-11-01 Ulrich Drepper <drepper@gmail.com>
30661
34372fc6
UD
30662 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30663 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30664
fadb59f8
UD
30665 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30666 * posix/tst-rfc3484-2.c: Likewise.
30667 * posix/tst-rfc3484-3.c: Likewise.
30668
78239589
UD
30669 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30670 process_vm_writev.
30671 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30672 process_vm_writev.
30673 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30674 process_vm_writev from libc using GLIBC_2.15 version.
30675
432d41ce
UD
30676 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30677
02f9c6cf
PP
306782011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30679
30680 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30681 stack usage.
30682
3a2c0242
UD
306832011-10-31 Ulrich Drepper <drepper@gmail.com>
30684
f4ec4833
UD
30685 [BZ #13367]
30686 * nss/getent.c (initgroups_keys): Show error message in case no group
30687 names are given.
30688
3a2c0242
UD
30689 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30690 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30691 __bump_nl_timestamp.
30692 * nscd/connections (nscd_init): When host database is served open
30693 netlink socket and request notification about configuration changes.
30694 (main_loop_poll): Track netlink file descriptor and bump timestamp
30695 in case data becomes available.
30696 (main_loop_epoll): Likewise.
30697 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30698 (database_pers_head): Add extra_data fileds.
30699 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30700 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30701 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30702 Adjust caller.
30703 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30704 in6ai data, call __free_in6ai.
30705 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30706 Add -DHAVE_NETLINK.
30707 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30708 interface information. Reuse previous data if netlink timestamp
30709 is not changed.
30710 (__bump_nl_timestamp): New function.
30711 (__free_in6ai): New function.
30712
636064eb
UD
307132011-10-30 Ulrich Drepper <drepper@gmail.com>
30714
30715 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30716 close_not_cancel_no_status here.
30717 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30718
9beb2334
UD
307192011-10-29 Ulrich Drepper <drepper@gmail.com>
30720
6ef76f3b
UD
30721 [BZ #13276]
30722 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30723 return value.
30724
0ffc4f3e 30725 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
30726 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30727 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30728
cb95113e
UD
307292011-07-03 Andreas Jaeger <aj@suse.de>
30730
30731 [BZ #10709]
30732 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30733 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30734 * math/libm-test.inc (sin_test): Add test case.
30735
a1b560ff
UD
307362011-10-29 Ulrich Drepper <drepper@gmail.com>
30737
c9aaface
UD
30738 [BZ #13337]
30739 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30740 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30741
d272e7f1
UD
30742 * elf/chroot_canon.c (chroot_canon): Cleanups.
30743
1bc33071
UD
30744 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30745
1760874d
TJ
30746 [BZ #13335]
30747 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30748 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30749
51d91b18
UD
30750 * string/test-strchr.c: Make usable for strchrnul testing.
30751 * string/test-strchrnul.c: New file.
30752 * string/Makefile (strop-tests): Add strchrnul.
30753
a1b560ff 30754 * po/it.po: Update from translation team.
b611fb81 30755 * po/es.po: Likewise.
a1b560ff 30756
a5b81e1f
UD
307572011-10-28 Ulrich Drepper <drepper@gmail.com>
30758
fd52bc6d
UD
30759 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30760 the three constants needed as parameters. Drop the others.
30761 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30762 __m128i_strloadu_tolower.
52e4b9eb
UD
30763 Create and initialize variable zero and use it in all the places
30764 where _mm_setzero_si128 was used.
fd52bc6d 30765
a5b81e1f
UD
30766 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30767 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30768 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30769 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30770 anymore.
30771 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30772 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30773 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30774 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30775 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30776 __mpranred, __mptan.
30777 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30778 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30779 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30780 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30781 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30782 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30783 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30784 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30785 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30786
b4343346
AS
307872011-10-28 Andreas Schwab <schwab@redhat.com>
30788
0c92d8a8
AS
30789 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30790 redefine if SHARED.
30791 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30792
b4343346
AS
30793 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30794 wide char related routines to wcsmbs subdir.
30795
3871f58f
AS
307962011-10-27 Andreas Schwab <schwab@redhat.com>
30797
30798 [BZ #13344]
30799 * misc/sys/cdefs.h (__THROWNL): Define.
30800 * posix/unistd.h: Use __THREADNL instead of __THREAD
30801 for memory synchronization functions.
30802
94d44d9f
RM
308032011-10-26 Roland McGrath <roland@hack.frob.com>
30804
21b64b15 30805 [BZ #13349]
94d44d9f
RM
30806 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30807 doesn't exist.
30808 * manual/stdio.texi (Obstack Streams): Node removed.
30809
f6ce9294
AS
308102011-10-26 Andreas Schwab <schwab@redhat.com>
30811
80479147
AS
30812 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30813 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30814 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30815
f6ce9294
AS
30816 * math/math_private.h (math_force_eval): Allow non-addressable
30817 arguments.
30818 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30819
618280a1
UD
308202011-10-25 Ulrich Drepper <drepper@gmail.com>
30821
e0016b11
UD
30822 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30823 file is not needed.
30824
30825 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30826 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30827 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30828 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30829 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30830 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30831 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30832 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30833 Add AVX variants.
30834 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30835 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30836 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30837 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30838 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30839 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30840 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30841 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30842 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30843 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30844 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30845 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30846 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30847 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30848 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30849 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30850 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30851 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30852 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30853
30854 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30855 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
30856
618280a1
UD
30857 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30858 place. Use VEX encoding when compiling for AVX.
30859
37822576
AS
308602011-10-25 Andreas Schwab <schwab@redhat.com>
30861
1f1e1947
AS
30862 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30863 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30864
37822576
AS
30865 * string/test-strchr.c (do_test): Don't generate NUL bytes.
30866
31ea014d
UD
308672011-10-25 Ulrich Drepper <drepper@gmail.com>
30868
d7826aa1 30869 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 30870 useless if() expression.
d7826aa1
UD
30871 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30872 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30873 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30874 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30875 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30876 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30877 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30878 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30879 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30880 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30881 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30882 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30883 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30884 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30885 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30886 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30887 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30888 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30889 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30890
31ea014d
UD
30891 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30892
16437fec
AS
308932011-10-25 Andreas Schwab <schwab@redhat.com>
30894
30895 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30896 condition.
30897 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30898
31d3cc00
UD
308992011-10-25 Ulrich Drepper <drepper@gmail.com>
30900
30901 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30902 .text section. Avoid duplicate constants.
30903 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30904 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30905 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30906 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30907 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30908 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30909 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30910 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30911 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30912 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30913 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30914 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30915 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30916 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30917 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30918 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30919 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30920 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30921 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30922 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30923 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30924 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30925 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30926 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30927 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30928 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30929 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30930 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30931 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30932 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30933 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30934 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30935 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30936 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30937 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30938 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30939 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30940 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30941 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30942 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30943 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30944 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30945 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30946 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30947 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30948
58985aa9
UD
309492011-10-24 Ulrich Drepper <drepper@gmail.com>
30950
202c9deb
UD
30951 * sysdeps/x86_64/dla.h: Move to ...
30952 * sysdeps/x86_64/fpu/dla.h: ...here.
30953 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30954 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 30955
af968f62
UD
30956 * config.make.in: Add have-mfma4 entry.
30957 * configure.in: Substitute libc_cv_cc_fma4.
30958 * math/Makefile (dbl-only-routines): Add sincostab.
30959 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30960 Use __sincostab not sincos.
30961 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30962 name is a macro.
30963 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30964 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30965 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30966 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30967 using __copysign.
30968 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30969 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30970 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30971 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30972 and __inv.
30973 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30974 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30975 __copysign.
30976 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30977 define aliases when function name is a macro.
30978 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30979 sysdeps/ieee754/dbl-64/sincos.tbl.
30980 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30981 fma4-enabled routines.
30982 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30983 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30984 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30985 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30986 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30987 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30988 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30989 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30990 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30991 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30992 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30993 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30994 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30995 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30996 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30997 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30998 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30999 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31000 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31001 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31002 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31003 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31004 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31005 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31006 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31007 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31008 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31009 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31010 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31011 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31012
58985aa9
UD
31013 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31014 rename.
31015 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31016 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31017 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31018 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31019 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31020 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31021 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31022 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31023
a201fbcf
AS
310242011-10-24 Andreas Schwab <schwab@redhat.com>
31025
31026 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31027
fc2ee42a
LD
310282011-10-23 Ulrich Drepper <drepper@gmail.com>
31029
bb3129bd
UD
31030 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31031
0275fff8
UD
31032 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31033 prediction.
31034 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31035
2fa2ae85
UD
31036 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31037 Remove unused variable magic_bits.
31038 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31039
fc2ee42a
LD
31040 * string/strnlen.c: Define and use STRNLEN macro.
31041 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31042 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31043 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31044 * wcsmbs/wcslen.c: Define and use WCSLEN.
31045 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31046 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31047 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31048 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31049 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31050 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31051 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31052
ce7dd29f
LD
310532011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31054
31055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31056 strnlen-sse2-no-bsf.
31057 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31058 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31059 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31060 Add strnlen support.
31061 (USE_AS_STRNLEN): New macro.
31062 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31063 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31064 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31065 * sysdeps/x86_64/wcslen.S: New file.
31066
979c70a3
MZ
310672011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31068
31069 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31070 XMM-moves are used for copying on small sizes.
31071
2d09f82f
LD
310722011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31073
31074 * wcsmbs/Makefile (strop-tests): Add wcschr.
31075 * wcsmbs/test-wcschr.c: New file.
31076 * string/test-strchr.c: Update.
31077 Add wcschr support.
31078 (WIDE): New macro.
31079
619fccca
LD
310802011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31081
2d09f82f 31082 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
31083 * wcsmbs/test-wcslen.c: New file.
31084 * string/test-strlen.c: Update.
31085 Add wcslen support.
31086 (WIDE): New macro.
31087
09f699ea
UD
310882011-10-23 Ulrich Drepper <drepper@gmail.com>
31089
31090 * po/it.po: Update from translation team.
31091
95584d3b
LD
310922011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31093
31094 * sysdeps/x86_64/wcscmp.S: Update.
31095 Fix wrong comparison semantics.
31096 wcscmp shall use signed comparison not unsigned.
31097 Don't use substraction to avoid overflow bug.
31098 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31099 * wcsmbc/wcscmp.c: Likewise.
31100 * string/test-strcmp.c: Likewise.
31101 Add new tests to check cases with negative values.
31102
c8b3296b
UD
311032011-10-23 Ulrich Drepper <drepper@gmail.com>
31104
31105 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31106 * sysdeps/x86_64/dla.h: ...here. New file.
31107 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31108 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31109 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31110 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31111 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31112 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31113 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31114 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31115 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31116
246ad57a
AS
311172011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31118
31119 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31120 __ynl_finite aliases.
31121
a1a87169
UD
311222011-10-22 Ulrich Drepper <drepper@gmail.com>
31123
0d355eb7
UD
31124 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31125
a1a87169
UD
31126 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31127 define DLA_FMA.
31128 [DLA_FMA] (EMULV): Use DLA_FMA.
31129 [DLA_FMA] (MUL12): Use EMULV.
31130 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31131 that are not needed.
31132 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31133 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31134 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31135 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31136 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31137 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31138 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31139
ee2aafe0
AS
311402011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31141
31142 * math/s_nan.c: Undef __nan.
31143 * math/s_nanf.c: Undef __nanf.
31144 * math/s_nanl.c: Undef __nanl.
31145 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31146 "math_private.h".
31147
bc62c2fb
UD
311482011-10-22 Ulrich Drepper <drepper@gmail.com>
31149
77425c63
UD
31150 * math/s_catan.c: Add branch predictions.
31151 * math/s_catanf.c: Likewise.
31152 * math/s_catanh.c: Likewise.
31153 * math/s_catanhf.c: Likewise.
31154 * math/s_catanhl.c: Likewise.
31155 * math/s_catanl.c: Likewise.
31156 * math/s_cexp.c: Likewise.
31157 * math/s_cexpf.c: Likewise.
31158 * math/s_cexpl.c: Likewise.
31159 * math/s_clog.c: Likewise.
31160 * math/s_clog10.c: Likewise.
31161 * math/s_clog10f.c: Likewise.
31162 * math/s_clog10l.c: Likewise.
31163 * math/s_clogf.c: Likewise.
31164 * math/s_clogl.c: Likewise.
31165 * math/s_csqrt.c: Likewise.
31166 * math/s_csqrtf.c: Likewise.
31167 * math/s_csqrtl.c: Likewise.
31168 * math/s_ctanf.c: Likewise.
31169 * math/s_ctanh.c: Likewise.
31170 * math/s_ctanhf.c: Likewise.
31171 * math/s_ctanhl.c: Likewise.
31172 * math/s_ctanl.c: Likewise.
31173
bc62c2fb
UD
31174 * math/math_private.h: Define __nan, __nanf, __nanl.
31175 * math/s_cacosh.c: Include <math_private.h>.
31176 * math/s_cacoshl.c: Likewise.
31177 * math/s_casinh.c: Likewise.
31178 * math/s_casinhf.c: Likewise.
31179 * math/s_casinhl.c: Likewise.
31180 * math/s_ccos.c: Rely entire on ccosh.
31181 * math/s_ccosf.c: Rely entire on ccoshf.
31182 * math/s_ccosl.c: Rely entirely on ccoshl.
31183 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31184 Remove tests for FE_INVALID.
31185 * math/s_ccoshf.c: Likewise.
31186 * math/s_ccoshl.c: Likewise.
31187 * math/s_csin.c: Likewise.
31188 * math/s_csinf.c: Likewise.
31189 * math/s_csinh.c Likewise.
31190 * math/s_csinhf.c: Likewise.
31191 * math/s_csinhl.c: Likewise.
31192 * math/s_csinl.c: Likewise.
31193 * math/s_ctan.c: Likewise.
31194 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31195 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31196 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31197
8ec250a4
UD
311982011-10-21 Ulrich Drepper <drepper@gmail.com>
31199
c196fed8
UD
31200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31201 compilation problems.
31202
8ec250a4
UD
31203 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31204 __builtin_expect.
31205
8d4f46c6
UD
312062011-10-20 Ulrich Drepper <drepper@gmail.com>
31207
ed72b654
UD
31208 * sysdeps/i386/configure.in: Test for -mfma4 option.
31209 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31210 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31211 COMMON_CPUID_INDEX_80000001.
31212 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31213 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31214 use it if FMA3 is not supported.
31215 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31216
8d4f46c6
UD
31217 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31218 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31219
d45c60c2
AS
312202011-10-20 Andreas Schwab <schwab@redhat.com>
31221
31222 [BZ #12892]
31223 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31224 it would create a cycle with a link time dependency.
31225
d9a4d2ab
UD
312262011-10-19 Ulrich Drepper <drepper@gmail.com>
31227
855d1560
UD
31228 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31229 instruction.
31230 * string/Makefile (strop-tests): Add rawmemchr.
31231 * string/test-rawmemchr.c: New file.
31232
d9a4d2ab
UD
31233 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31234 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31235 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31236 when compiling str{,n}casecmp and when AVX is available. Hook up
31237 new optimized code in initializers.
31238
8f3b1ffe
AS
312392011-10-19 Andreas Schwab <schwab@redhat.com>
31240
31241 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31242 __feraiseexcept instead of feraiseexcept.
31243
d38f1dba
UD
312442011-10-18 Ulrich Drepper <drepper@gmail.com>
31245
d9a8d0ab
UD
31246 * math/math_private.h: Define defaults for libc_fetestexcept and
31247 libc_feupdateenv.
31248 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31249 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31250 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31251 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31252 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31253 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31254 libc_fetestexcept and libc_feupdateenv.
31255
4855e3dd
UD
31256 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31257 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31258 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31259 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31260 libc_feholdexcept_setround.
31261
581d30e3
UD
31262 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31263 Add s_nearbyint-c and s_nearbyintf-c.
31264 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31265 nearbyintf inlines.
31266 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31267 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31268 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31269 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31270
d38f1dba
UD
31271 * math/math_private.h: Define defaults for libc_fegetround,
31272 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31273 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31274 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31275 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31276 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31277 standard functions.
31278 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31279 Remove comments and hacks for old compiler versions.
31280 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31281 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31282 libc_feholdexceptl.
31283
caa6c9d8
AS
312842011-10-18 Andreas Schwab <schwab@redhat.com>
31285
31286 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
31287 (__feraiseexcept_renamed): Add __NTH.
31288 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
31289 namespace violations.
31290
97c066e6
UD
312912011-10-17 Ulrich Drepper <drepper@gmail.com>
31292
99ce7b04
UD
31293 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31294
1004d182
UD
31295 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31296
228a984d
UD
31297 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31298 recently added interfaces.
31299 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31300
c8553a6a
UD
31301 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31302 about macro parameter expansion.
31303
ed22dcf6
UD
31304 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31305 __NO_MATH_INLINES is defined. Cleanups.
31306
31307 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31308 and __floorf is target has SSE4.1.
31309 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31310 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31311 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31312 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31313
b171c137
UD
31314 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31315 name.
31316 (floorf): Likewise.
31317
97c066e6
UD
31318 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31319
629f62ef
AS
313202011-10-17 Andreas Schwab <schwab@redhat.com>
31321
49a43d80
AS
31322 * misc/sys/cdefs.h: Fix last change.
31323
629f62ef
AS
31324 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31325 database lookup.
31326
e453f6cd
UD
313272011-10-16 Ulrich Drepper <drepper@gmail.com>
31328
aa78043a
UD
31329 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31330
ad0f5cad
UD
31331 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31332 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31333 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31334 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31335 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31336 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31337 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31338 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31339 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31340 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31341 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31342 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31343 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31344 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31345 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31346 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31347 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31348 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31349 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31350 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31351 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31352 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31353
31354 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31355 ceil, ceilf, floor, floorf.
31356
31357 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31358 Perform IRELATIVE relocations last.
31359
e453f6cd
UD
31360 * elf/do-rel.h: Add another parameter nrelative, replacing the
31361 local variable with the same name. Change name of the function
31362 to end in Rel or Rela (uppercase).
31363 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31364 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
31365 elf_dynamic_do_##reloc function.
31366
fd5bdc09
UD
313672011-10-15 Ulrich Drepper <drepper@gmail.com>
31368
79b195b5
UD
31369 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31370 is sufficient, at least on modern CPUs.
31371
d4a28569
UD
31372 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31373
b61099b5
UD
31374 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31375 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31376
bcf01e6d
UD
31377 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31378 __expl_finite.
31379 * math/bits/math-finite.h: Add entries for exp.
31380 * math/e_expl.c: Add __*_finite alias.
31381 * sysdeps/i386/fpu/e_exp.S: Likewise.
31382 * sysdeps/i386/fpu/e_expf.S: Likewise.
31383 * sysdeps/i386/fpu/e_expl.c: Likewise.
31384 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31385 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31386 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31387 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31388 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31389 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31390 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31391
ba1a0d59
UD
31392 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31393 is sufficient, at least on modern CPUs.
31394
fd5bdc09
UD
31395 * ctype/ctype-info.c (__ctype_init): Define.
31396 * include/ctype.h (__ctype_init): Declare.
31397 (__ctype_b_loc): The variable is always initialized.
31398 (__ctype_toupper_loc): Likewise.
31399 (__ctype_tolower_loc): Likewise.
31400 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31401 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31402
7872cfb0
AS
314032011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31404
b468825a
AS
31405 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31406
7872cfb0
AS
31407 * configure.in: Also look in $cxxmachine/include for C++ system
31408 headers.
31409
be13f7bf
LD
314102011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31411
31412 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31413 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31414 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31415 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31416 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31417 (USE_AS_WMEMCMP): New macro.
31418 Fixing indents.
31419 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31420 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31421 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31422 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31423 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31424 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31425 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31426 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31427 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31428 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31429 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31430 (USE_AS_WMEMCMP): New macro.
31431 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31432 * sysdeps/string/test-memcmp.c: Update.
31433 Fix simple_wmemcmp.
31434 Add new tests.
31435 * wcsmbs/wmemcmp.c: Update.
31436 (WMEMCMP): New macro.
31437 Fix overflow bug.
31438
556a2007
AJ
314392011-10-12 Andreas Jaeger <aj@suse.de>
31440
31441 [BZ #13268]
31442 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31443
538faaa7
UD
314442011-10-15 Ulrich Drepper <drepper@gmail.com>
31445
ab6737ff
UD
31446 * libio/iofwide.c (do_length): Avoid warning.
31447
538faaa7
UD
31448 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31449
396a21b1
UD
314502011-10-14 Ulrich Drepper <drepper@gmail.com>
31451
cdf2901f
UD
31452 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31453
38ad40ce
UD
31454 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31455 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31456 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31457 * sysdeps/i386/i686/fpu/e_log.S: New file.
31458 * sysdeps/i386/i686/fpu/e_logf.S: New file.
31459 * sysdeps/i386/i686/fpu/e_logl.S: New file.
31460
396a21b1
UD
31461 * ctype/ctype.h: Add support for inlined isXXX functions when
31462 compiling C++ code.
31463
6b1f68c9
AS
314642011-10-14 Andreas Schwab <schwab@redhat.com>
31465
349290c0
AS
31466 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31467
6b1f68c9
AS
31468 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31469
f2282d42
RM
314702011-10-13 Roland McGrath <roland@hack.frob.com>
31471
31472 [BZ #13291]
31473 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31474
5298ffa8
AS
314752011-10-13 Andreas Schwab <schwab@redhat.com>
31476
714fad23
AS
31477 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31478 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31479 feraiseexcept.
31480
81dcc7fb
AS
31481 * sysdeps/x86_64/memrchr.S: Check for zero size.
31482
5298ffa8
AS
31483 * string/stratcliff.c: Add memrchr tests.
31484
951fbcec
LD
314852011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31486
31487 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31488 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31489 rawmemchr-sse2 rawmemchr-sse2-bsf.
31490 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31491 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31492 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31493 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31494 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31495 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31496 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31497 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31498 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31499 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31500 * string/memrchr.c (MEMRCHR): New macro.
31501
0ac5ae23
UD
315022011-10-12 Ulrich Drepper <drepper@gmail.com>
31503
31504 Add integration with gcc's -ffinite-math-only and optimize wrapper
31505 functions in libm.
31506 * Versions.def: Define GLIBC_2.15 version for libm.
31507 * math/Makefile (headers): Add bits/math-finite.h.
31508 * math/bits/math-finite.h: New file.
31509 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31510 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31511 * math/e_acoshl.c: Add __*_finite alias.
31512 * math/e_acosl.c: Likewise.
31513 * math/e_asinl.c: Likewise.
31514 * math/e_atan2l.c: Likewise.
31515 * math/e_atanhl.c: Likewise.
31516 * math/e_coshl.c: Likewise.
31517 * math/e_exp10.c: Likewise.
31518 * math/e_exp10f.c: Likewise.
31519 * math/e_exp10l.c: Likewise.
31520 * math/e_exp2l.c: Likewise.
31521 * math/e_fmodl.c: Likewise.
31522 * math/e_gammal_r.c: Likewise.
31523 * math/e_hypotl.c: Likewise.
31524 * math/e_j0l.c: Likewise.
31525 * math/e_j1l.c: Likewise.
31526 * math/e_jnl.c: Likewise.
31527 * math/e_lgammal_r.c: Likewise.
31528 * math/e_log10l.c: Likewise.
31529 * math/e_log2l.c: Likewise.
31530 * math/e_logl.c: Likewise.
31531 * math/e_powl.c: Likewise.
31532 * math/e_sinhl.c: Likewise.
31533 * math/e_sqrtl.c: Likewise.
31534 * math/e_scalb.c: Completely rewritten and optimized.
31535 * math/e_scalbf.c: Likewise.
31536 * math/e_scalbl.c: Likewise.
31537 * math/w_acos.c: Likewise.
31538 * math/w_acosf.c: Likewise.
31539 * math/w_acosl.c: Likewise.
31540 * math/w_acosh.c: Likewise.
31541 * math/w_acoshf.c: Likewise.
31542 * math/w_acoshl.c: Likewise.
31543 * math/w_asin.c: Likewise.
31544 * math/w_asinf.c: Likewise.
31545 * math/w_asinl.c: Likewise.
31546 * math/w_atan2.c: Likewise.
31547 * math/w_atan2f.c: Likewise.
31548 * math/w_atan2l.c: Likewise.
31549 * math/w_atanh.c: Likewise.
31550 * math/w_atanhf.c: Likewise.
31551 * math/w_atanhl.c: Likewise.
31552 * math/w_exp10.c: Likewise.
31553 * math/w_exp10f.c: Likewise.
31554 * math/w_exp10l.c: Likewise.
31555 * math/w_fmod.c: Likewise.
31556 * math/w_fmodf.c: Likewise.
31557 * math/w_fmodl.c: Likewise.
31558 * math/w_j0.c: Likewise.
31559 * math/w_j0f.c: Likewise.
31560 * math/w_j0l.c: Likewise.
31561 * math/w_j1.c: Likewise.
31562 * math/w_j1f.c: Likewise.
31563 * math/w_j1l.c: Likewise.
31564 * math/w_jn.c: Likewise.
31565 * math/w_jnf.c: Likewise.
31566 * math/w_log.c: Likewise.
31567 * math/w_logf.c: Likewise.
31568 * math/w_logl.c: Likewise.
31569 * math/w_log10.c: Likewise.
31570 * math/w_log10f.c: Likewise.
31571 * math/w_log10l.c: Likewise.
31572 * math/w_log2.c: Likewise.
31573 * math/w_log2f.c: Likewise.
31574 * math/w_log2l.c: Likewise.
31575 * math/w_pow.c: Likewise.
31576 * math/w_powf.c: Likewise.
31577 * math/w_powl.c: Likewise.
31578 * math/w_remainder.c: Likewise.
31579 * math/w_remainderf.c: Likewise.
31580 * math/w_remainderl.c: Likewise.
31581 * math/w_scalb.c: Likewise.
31582 * math/w_scalbf.c: Likewise.
31583 * math/w_scalbl.c: Likewise.
31584 * math/w_sqrt.c: Likewise.
31585 * math/w_sqrtf.c: Likewise.
31586 * math/w_sqrtl.c: Likewise.
31587 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31588 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31589 used.
31590 * math/math_private.h: Declare __kernel_standard_f.
31591 * math/w_cosh.c: Remove cruft and optimize a bit.
31592 * math/w_coshf.c: Likewise.
31593 * math/w_coshl.c: Likewise.
31594 * math/w_exp2.c: Likewise.
31595 * math/w_exp2f.c: Likewise.
31596 * math/w_exp2l.c: Likewise.
31597 * math/w_hypot.c: Likewise.
31598 * math/w_hypotf.c: Likewise.
31599 * math/w_hypotl.c: Likewise.
31600 * math/w_lgamma.c: Likewise.
31601 * math/w_lgamma_r.c: Likewise.
31602 * math/w_lgammaf.c: Likewise.
31603 * math/w_lgammaf_r.c: Likewise.
31604 * math/w_lgammal.c: Likewise.
31605 * math/w_lgammal_r.c: Likewise.
31606 * math/w_sinh.c: Likewise.
31607 * math/w_sinhf.c: Likewise.
31608 * math/w_sinhl.c: Likewise.
31609 * math/w_tgamma.c: Likewise.
31610 * math/w_tgammaf.c: Likewise.
31611 * math/w_tgammal.c: Likewise.
31612 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31613 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31614 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31615 Minor optimizations. Pretty printing. Remove cruft.
31616 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31617 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31618 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31619 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31620 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31621 * sysdeps/i386/fpu/e_asin.S: Likewise.
31622 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31623 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31624 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31625 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31626 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31627 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31628 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31629 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31630 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31631 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31632 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31633 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31634 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31635 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31636 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31637 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31638 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31639 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31640 * sysdeps/i386/fpu/e_log.S: Likewise.
31641 * sysdeps/i386/fpu/e_log10.S: Likewise.
31642 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31643 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31644 * sysdeps/i386/fpu/e_log2.S: Likewise.
31645 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31646 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31647 * sysdeps/i386/fpu/e_logf.S: Likewise.
31648 * sysdeps/i386/fpu/e_logl.S: Likewise.
31649 * sysdeps/i386/fpu/e_pow.S: Likewise.
31650 * sysdeps/i386/fpu/e_powf.S: Likewise.
31651 * sysdeps/i386/fpu/e_powl.S: Likewise.
31652 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31653 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31654 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31655 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31656 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31657 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31658 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31659 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31660 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31661 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31662 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31663 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31664 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31665 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31666 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31667 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31668 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31669 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31670 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31671 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31672 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31673 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31674 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31675 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31676 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31677 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31678 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31679 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31680 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31681 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31682 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31683 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31684 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31685 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31686 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31687 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31688 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31689 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31690 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31691 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31692 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31693 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31694 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31695 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31696 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31697 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31698 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31699 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31700 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31701 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31702 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31703 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31704 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31705 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31706 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31707 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31708 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31709 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31710 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31711 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31712 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31713 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31714 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31715 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31716 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31717 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31718 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31719 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31720 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31721 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31722 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31723 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31724 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31725 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31726 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31727 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31728 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31729 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31730 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31731 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31732 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31733 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31734 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31735 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31736 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31737 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31738 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31739 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31740 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31741 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31742 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31743 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31744 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31745 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31746 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31747 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31748 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31749 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31750 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31751 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31752 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31753 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31754 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31755 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31756 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31757 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31758 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31759 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31760 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31761 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31762 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31763 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31764 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31765 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31766 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31767 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31768 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31769 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31770 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31771 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31772 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31773 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31774 (__isnanf): Likewise.
31775 (__isinf_ns): Likewise.
31776 (__isinf_nsf): Likewise.
31777 (__finite): Likewise.
31778 (__finitef): Likewise.
31779 (__ieee754_sqrt): Define as macro.
31780 (__ieee754_sqrtf): Define as macro.
31781 (__ieee754_sqrtl): Define as macro.
31782 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31783 inlined copy.
31784 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31785 __FINITE_MATH_ONLY__ consistent.
31786 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31787
12cc2fcd
AS
317882011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31789
a843a204
AS
31790 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31791 of rawmemchr.
31792
12cc2fcd
AS
31793 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31794
c853acd5
UD
317952011-10-09 Ulrich Drepper <drepper@gmail.com>
31796
31797 * po/ja.po: Update from translation team.
31798
c658d255
RM
317992011-10-08 Roland McGrath <roland@hack.frob.com>
31800
110946e4
RM
31801 * locale/programs/locarchive.c (prepare_address_space): New function.
31802 (create_archive, enlarge_archive, open_archive): Use it.
31803
50604220
RM
31804 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31805 inside [SHARED], where it is used.
31806
c658d255
RM
31807 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31808
31809 * nss/getent.c (netgroup_keys): Remove unused variable.
31810 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31811
6a621eb7
UD
318122011-10-08 Ulrich Drepper <drepper@gmail.com>
31813
7edb55ce
UD
31814 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31815 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31816 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31817 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31818 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31819 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31820 * math/Makefile (libm-calls): Add s_isinf_ns.
31821 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31822 * math/multc3.c: Likewise.
31823 * math/s_casin.c: Likewise.
31824 * math/s_casinf.c: Likewise.
31825 * math/s_casinl.c: Likewise.
31826 * math/s_ccos.c: Likewise.
31827 * math/s_ccosf.c: Likewise.
31828 * math/s_ccosl.c: Likewise.
31829 * math/s_ctan.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 * math/w_fmod.c: Likewise.
31836 * math/w_fmodf.c: Likewise.
31837 * math/w_fmodl.c: Likewise.
31838 * math/w_remainder.c: Likewise.
31839 * math/w_remainderf.c: Likewise.
31840 * math/w_remainderl.c: Likewise.
31841 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31842 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31843 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31844 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31845 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31846 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31847 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31848 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31849
187da0ae
UD
31850 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31851 of the number.
31852 * stdio-common/printf_fphex.c: Likewise.
31853 * stdio-common/printf_size.c: Likewise.
31854
9277c064
UD
31855 * math/e_exp10.c: Include math_private.h using <...> not "...".
31856 * math/e_exp10f.c: Likewise.
31857 * math/e_exp10l.c: Likewise.
31858 * math/e_exp2l.c: Likewise.
31859 * math/e_j0l.c: Likewise.
31860 * math/e_j1l.c: Likewise.
31861 * math/e_jnl.c: Likewise.
31862 * math/e_lgammal_r.c: Likewise.
31863 * math/e_rem_pio2l.c: Likewise.
31864 * math/e_scalb.c: Likewise.
31865 * math/e_scalbf.c: Likewise.
31866 * math/e_scalbl.c: Likewise.
31867 * math/k_cosl.c: Likewise.
31868 * math/k_sinl.c: Likewise.
31869 * math/k_tanl.c: Likewise.
31870 * math/s_cacoshf.c: Likewise.
31871 * math/s_catan.c: Likewise.
31872 * math/s_catanf.c: Likewise.
31873 * math/s_catanh.c: Likewise.
31874 * math/s_catanhf.c: Likewise.
31875 * math/s_catanhl.c: Likewise.
31876 * math/s_catanl.c: Likewise.
31877 * math/s_ccosh.c: Likewise.
31878 * math/s_ccoshf.c: Likewise.
31879 * math/s_ccoshl.c: Likewise.
31880 * math/s_cexp.c: Likewise.
31881 * math/s_cexpf.c: Likewise.
31882 * math/s_cexpl.c: Likewise.
31883 * math/s_clog.c: Likewise.
31884 * math/s_clog10.c: Likewise.
31885 * math/s_clog10f.c: Likewise.
31886 * math/s_clog10l.c: Likewise.
31887 * math/s_clogf.c: Likewise.
31888 * math/s_clogl.c: Likewise.
31889 * math/s_csin.c: Likewise.
31890 * math/s_csinf.c: Likewise.
31891 * math/s_csinh.c: Likewise.
31892 * math/s_csinhf.c: Likewise.
31893 * math/s_csinhl.c: Likewise.
31894 * math/s_csinl.c: Likewise.
31895 * math/s_csqrt.c: Likewise.
31896 * math/s_csqrtf.c: Likewise.
31897 * math/s_csqrtl.c: Likewise.
31898 * math/s_ctan.c: Likewise.
31899 * math/s_ctanf.c: Likewise.
31900 * math/s_ctanh.c: Likewise.
31901 * math/s_ctanhf.c: Likewise.
31902 * math/s_ctanhl.c: Likewise.
31903 * math/s_ctanl.c: Likewise.
31904 * math/s_ldexp.c: Likewise.
31905 * math/s_ldexpf.c: Likewise.
31906 * math/s_ldexpl.c: Likewise.
31907 * math/s_significand.c: Likewise.
31908 * math/s_significandf.c: Likewise.
31909 * math/s_significandl.c: Likewise.
31910 * math/w_acos.c: Likewise.
31911 * math/w_acosf.c: Likewise.
31912 * math/w_acosh.c: Likewise.
31913 * math/w_acoshf.c: Likewise.
31914 * math/w_acoshl.c: Likewise.
31915 * math/w_acosl.c: Likewise.
31916 * math/w_asin.c: Likewise.
31917 * math/w_asinf.c: Likewise.
31918 * math/w_asinl.c: Likewise.
31919 * math/w_atan2.c: Likewise.
31920 * math/w_atan2f.c: Likewise.
31921 * math/w_atan2l.c: Likewise.
31922 * math/w_atanh.c: Likewise.
31923 * math/w_atanhf.c: Likewise.
31924 * math/w_atanhl.c: Likewise.
31925 * math/w_cosh.c: Likewise.
31926 * math/w_coshf.c: Likewise.
31927 * math/w_coshl.c: Likewise.
31928 * math/w_dremf.c: Likewise.
31929 * math/w_exp10.c: Likewise.
31930 * math/w_exp10f.c: Likewise.
31931 * math/w_exp10l.c: Likewise.
31932 * math/w_exp2.c: Likewise.
31933 * math/w_exp2f.c: Likewise.
31934 * math/w_fmod.c: Likewise.
31935 * math/w_fmodf.c: Likewise.
31936 * math/w_fmodl.c: Likewise.
31937 * math/w_hypot.c: Likewise.
31938 * math/w_hypotf.c: Likewise.
31939 * math/w_hypotl.c: Likewise.
31940 * math/w_j0.c: Likewise.
31941 * math/w_j0f.c: Likewise.
31942 * math/w_j0l.c: Likewise.
31943 * math/w_j1.c: Likewise.
31944 * math/w_j1f.c: Likewise.
31945 * math/w_j1l.c: Likewise.
31946 * math/w_jn.c: Likewise.
31947 * math/w_jnf.c: Likewise.
31948 * math/w_jnl.c: Likewise.
31949 * math/w_lgamma.c: Likewise.
31950 * math/w_lgamma_r.c: Likewise.
31951 * math/w_lgammaf.c: Likewise.
31952 * math/w_lgammaf_r.c: Likewise.
31953 * math/w_lgammal.c: Likewise.
31954 * math/w_lgammal_r.c: Likewise.
31955 * math/w_log.c: Likewise.
31956 * math/w_log10.c: Likewise.
31957 * math/w_log10f.c: Likewise.
31958 * math/w_log10l.c: Likewise.
31959 * math/w_log2.c: Likewise.
31960 * math/w_log2f.c: Likewise.
31961 * math/w_log2l.c: Likewise.
31962 * math/w_logf.c: Likewise.
31963 * math/w_logl.c: Likewise.
31964 * math/w_pow.c: Likewise.
31965 * math/w_powf.c: Likewise.
31966 * math/w_powl.c: Likewise.
31967 * math/w_remainder.c: Likewise.
31968 * math/w_remainderf.c: Likewise.
31969 * math/w_remainderl.c: Likewise.
31970 * math/w_scalb.c: Likewise.
31971 * math/w_scalbf.c: Likewise.
31972 * math/w_scalbl.c: Likewise.
31973 * math/w_sinh.c: Likewise.
31974 * math/w_sinhf.c: Likewise.
31975 * math/w_sinhl.c: Likewise.
31976 * math/w_sqrt.c: Likewise.
31977 * math/w_sqrtf.c: Likewise.
31978 * math/w_sqrtl.c: Likewise.
31979 * math/w_tgamma.c: Likewise.
31980 * math/w_tgammaf.c: Likewise.
31981 * math/w_tgammal.c: Likewise.
31982
6a621eb7
UD
31983 * po/ja.po: Update from translation team.
31984
bf582445
AJ
319852011-09-29 Andreas Jaeger <aj@suse.de>
31986
f9efbf3a
AJ
31987 [BZ #13179]
31988 * sunrpc/netname.c (netname2host): Fix logic.
31989
bf582445
AJ
31990 [BZ #6779]
31991 [BZ #6783]
31992 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31993 correctly.
31994 * math/w_remainder.c (__remainder): Likewise.
31995 * math/w_remainderf.c (__remainderf): Likewise.
31996 * math/libm-test.inc (remainder_test): Add test cases.
31997
48693bea
AK
319982011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31999
32000 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32001 sdiv_qrnnd.
32002
42622229
LD
320032011-10-07 Ulrich Drepper <drepper@gmail.com>
32004
32005 * string/test-memcmp.c: Avoid unncessary #defines.
32006 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32007
093ecf92
LD
320082011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32009
32010 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32011 Use new sse2 version for core i3 - i7 as it's faster
32012 than sse42 version.
32013 (bit_Prefer_PMINUB_for_stringop): New.
32014 * sysdeps/x86_64/rawmemchr.S: Update.
32015 Replace with faster SSE2 version.
32016 * sysdeps/x86_64/memrchr.S: New file.
32017 * sysdeps/x86_64/memchr.S: Update.
32018 Replace with faster SSE2 version.
32019
fde56e5c
MP
320202011-09-12 Marek Polacek <mpolacek@redhat.com>
32021
32022 * elf/dl-load.c (lose): Add cast to avoid warning.
32023
21fd49a9
UD
320242011-10-07 Ulrich Drepper <drepper@gmail.com>
32025
5a06e643
UD
32026 * po/ca.po: Update from translation team.
32027
684ae515
UD
32028 * inet/getnetgrent_r.c: Hook up nscd.
32029 * nscd/Makefile (routines): Add nscd_netgroup.
32030 (nscd-modules): Add netgroupcache.
32031 (CFLAGS-netgroupcache.c): Define.
32032 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32033 (cache_search): Add const to second parameter.
32034 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32035 INNETGR.
32036 (dbs): Add netgrdb entry.
32037 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32038 (verify_persistent_db): Handle netgrdb.
32039 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32040 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32041 GETFDNETGR.
32042 (netgroup_response_header): Define.
32043 (innetgroup_response_header): Define.
32044 (datahead): Add netgroup_response_header and innetgroup_response_header
32045 elements.
32046 * nscd/nscd.conf: Add entries for netgroup cache.
32047 * nscd/nscd.h (dbtype): Add netgrdb.
32048 (_PATH_NSCD_NETGROUP_DB): Define.
32049 (netgroup_iov_disabled): Declare.
32050 (xmalloc, xcalloc, xrealloc): Move declarations here.
32051 (cache_search): Adjust prototype.
32052 Add netgroup-related prototypes.
32053 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32054 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32055 (__nscd_innetgr): Declare.
32056 * nscd/selinux.c (perms): Use access_vector_t as element type and
32057 add netgroup-related initializers.
32058 * nscd/netgroupcache.c: New file.
32059 * nscd/nscd_netgroup.c: New file.
32060 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32061 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32062 For four parameters use innetgr.
32063 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32064 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32065 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32066 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32067
21fd49a9
UD
32068 * nscd/connections.c (register_traced_file): Don't register file
32069 for disabled databases.
32070
054c0457
UD
320712011-10-06 Ulrich Drepper <drepper@gmail.com>
32072
32b63198
UD
32073 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32074
054c0457
UD
32075 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32076 from tree and freeing node.
32077
64031225
JO
320782011-09-25 Jiri Olsa <jolsa@redhat.com>
32079
32080 * nss/nsswitch.c (__nss_database_lookup): Handle
32081 nss_parse_service_list out of memory case.
32082
0490345c
JO
320832011-09-15 Jiri Olsa <jolsa@redhat.com>
32084
32085 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32086 out of memory case.
32087
3a62d00d
AS
320882011-10-04 Andreas Schwab <schwab@redhat.com>
32089
32090 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32091 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32092 pass it down.
32093 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32094 elf_machine_rela, elf_machine_lazy_rel.
32095 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32096 (ELF_DYNAMIC_DO_REL): Likewise.
32097 (ELF_DYNAMIC_DO_RELA): Likewise.
32098 (ELF_DYNAMIC_RELOCATE): Likewise.
32099 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32100 to ELF_DYNAMIC_DO_REL.
32101 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32102 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32103 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32104 elf_machine_rela.
32105 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32106 skip_ifunc, don't call ifunc function if non-zero.
32107 (elf_machine_rela): Likewise.
32108 (elf_machine_lazy_rel): Likewise.
32109 (elf_machine_lazy_rela): Likewise.
32110 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32111 (elf_machine_lazy_rel): Likewise.
32112 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32113 Likewise.
32114 (elf_machine_lazy_rel): Likewise.
32115 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32116 Likewise.
32117 (elf_machine_lazy_rel): Likewise.
32118 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32119 (elf_machine_lazy_rel): Likewise.
32120 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32121 (elf_machine_lazy_rel): Likewise.
32122 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32123 (elf_machine_lazy_rel): Likewise.
32124 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32125 (elf_machine_lazy_rel): Likewise.
32126 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32127 (elf_machine_lazy_rel): Likewise.
32128 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32129 (elf_machine_lazy_rel): Likewise.
32130
68577918
UD
321312011-09-28 Ulrich Drepper <drepper@gmail.com>
32132
32133 * nss/nss_files/files-init.c (_nss_files_init): Use static
32134 initialization for all the *_traced_file variables.
32135
68822d74
AS
321362011-09-28 Andreas Schwab <schwab@redhat.com>
32137
32138 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32139
2056100b
RM
321402011-09-27 Roland McGrath <roland@hack.frob.com>
32141
32142 [BZ #13226]
32143 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32144
32c76b63
AS
321452011-09-27 Andreas Schwab <schwab@redhat.com>
32146
32147 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32148 Reread the line before reparsing it.
32149
bf972c9d
AS
321502011-09-26 Andreas Schwab <schwab@redhat.com>
32151
32152 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32153
e057a1b5
JM
321542011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32155 Maxim Kuvyrkov <maxim@codesourcery.com>
32156 Joseph Myers <joseph@codesourcery.com>
32157
32158 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32159 if needed for __stack_chk_guard.
32160
bc7e1c36
RM
321612011-09-19 Roland McGrath <roland@hack.frob.com>
32162
ecb1482f
RM
32163 * sysdeps/posix/spawni.c (script_execute): Always define it.
32164 It will be optimized away if unused.
32165 (maybe_script_execute): New function.
32166 (__spawni): Call it.
32167
bc7e1c36
RM
32168 * Makerules: Don't include tls.make.
32169 (config-tls): Always set to thread.
32170 * tls.make.c: File removed.
32171
1c3b002b
MF
321722011-09-19 Mike Frysinger <vapier@gentoo.org>
32173
32174 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32175 * config.make.in (CPPFLAGS-config): New substituted variable.
32176
2840865d
UD
321772011-09-15 Ulrich Drepper <drepper@gmail.com>
32178
88738eb6
UD
32179 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32180
cbf645a6 32181 [BZ #13192]
2840865d
UD
32182 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32183 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32184
b402e91a
RM
321852011-09-15 Roland McGrath <roland@hack.frob.com>
32186
32187 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32188 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32189 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32190 (CALL_FAIL): Likewise.
32191 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32192 (CALL_FAIL): Macro removed.
32193 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32194
4c1a1f71
UD
321952011-09-15 Ulrich Drepper <drepper@gmail.com>
32196
32197 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32198 for __FINITE_MATH_ONLY__ == 1.
32199
edc121be
AS
322002011-09-15 Andreas Schwab <schwab@redhat.com>
32201
32202 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32203 __ieee754_sqrt instead of sqrt.
32204 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32205 __ieee754_sqrtf instead of sqrtf.
32206 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32207 __floorf instead of floorf.
32208 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32209 __floorf, __truncf instead of floorf, truncf.
32210
cd205654
UD
322112011-09-14 Ulrich Drepper <drepper@gmail.com>
32212
ee4d0315
UD
32213 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32214
cd205654
UD
32215 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32216 __extern_always_inline.
32217 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32218 32-bit.
32219
48b67d71
AS
322202011-09-14 Andreas Schwab <schwab@redhat.com>
32221
32222 * elf/rtld.c (dl_main): Also relocate in dependency order when
32223 doing symbol dependency testing.
32224
1ae12c75
AS
322252011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32226
32227 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32228 Always define `refsym'.
32229
995a80df
AS
322302011-09-13 Andreas Schwab <schwab@redhat.com>
32231
e529793b
AS
32232 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32233 (__FD_ELT): Renamed from __FDELT.
32234 * misc/bits/select2.h (__FD_ELT): Likewise.
32235 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32236 __FD_MASK instead of __FDELT, __FDMASK.
32237 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32238 Likewise.
32239 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32240 Likewise.
32241
52d4fef8
AS
32242 * elf/Makefile (gen-ldd): Fix pattern.
32243
995a80df
AS
32244 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32245 (init_tls): Likewise.
32246
8682f8b0
UD
322472011-09-12 Ulrich Drepper <drepper@gmail.com>
32248
32249 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32250
de82006d
AS
322512011-09-12 Andreas Schwab <schwab@redhat.com>
32252
a7c8e6a1
AS
32253 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32254 `struct cmsghdr *' instead of `void *'.
32255 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32256 Likewise.
32257
0f31fe77
AS
322582011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32259
32260 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32261 if non-absolute.
32262 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32263 ldd_rewrite_script.
0f31fe77 32264
32b4c839
UD
322652011-09-11 Ulrich Drepper <drepper@gmail.com>
32266
83cd1420
UD
32267 * configure.in: Remove --with-tls option.
32268 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32269 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32270 out in case it is missing.
32271 * sysdeps/ia64/elf/configure.in: Likewise.
32272 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32273 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32274 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32275 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32276 * sysdeps/sh/elf/configure.in: Likewise.
32277 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32278 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32279 * sysdeps/x86_64/elf/configure.in: Likewise.
32280 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32281 * sysdeps/mach/hurd/tls.h: Likewise.
32282
633f745d
UD
32283 [BZ #13067]
32284 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32285
f318beb8
UD
32286 [BZ #13090]
32287 * configure.in: Fix use of AC_INIT.
32288
32b4c839
UD
32289 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32290
3ce1f295
UD
322912011-09-10 Ulrich Drepper <drepper@gmail.com>
32292
bb016596
UD
32293 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32294 __set_errno.
8e58439c
UD
32295 * malloc/hooks.c: Likewise.
32296
aebae053 32297 [BZ #11929]
02d46fc4
UD
32298 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32299 variables statically.
32300 (narenas): Initialize.
32301 (list_lock): Initialize.
bb016596
UD
32302 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32303 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
32304 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32305 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32306 Add initializers to main_arena and mp_.
32307 (malloc_state): Remove pagesize member. Change all users to use
32308 GLRO(dl_pagesize).
32309
32310 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32311 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32312 is always initialized.
32313
22a89187
UD
32314 * malloc/malloc.c: Removed unused configurations and dead code.
32315 * malloc/arena.c: Likewise.
32316 * malloc/hooks.c: Likewise.
02d46fc4 32317 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 32318
d063d164
UD
32319 * include/tls.h: Removed. USE___THREAD must always be defined.
32320 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32321 * elf/dl-libc.c: Likewise.
32322 * elf/dl-tsd.c: Likewise.
32323 * include/errno.h: Likewise.
32324 * include/netdb.h: Likewise.
32325 * include/resolv.h: Likewise.
32326 * inet/herrno-loc.c: Likewise.
32327 * inet/herrno.c: Likewise.
32328 * malloc/arena.c: Likewise.
32329 * malloc/hooks.c: Likewise.
32330 * malloc/malloc.c: Likewise.
32331 * resolv/res-state.c: Likewise.
32332 * resolv/res_libc.c: Likewise.
32333 * sysdeps/i386/dl-machine.h: Likewise.
32334 * sysdeps/ia64/dl-machine.h: Likewise.
32335 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32336 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32337 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32338 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32339 * sysdeps/sh/dl-machine.h: Likewise.
32340 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32341 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32342 * sysdeps/unix/i386/sysdep.S: Likewise.
32343 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32344 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32345 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32346 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32347 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32348 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32349 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32350 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32351 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32353 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32354 * sysdeps/x86_64/dl-machine.h: Likewise.
32355 * tls.make.c: Likewise.
32356
3ce1f295
UD
32357 * configure.in: Remove --with-__thread option. Make tests for
32358 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32359 tls_model attribute fail if no support is available. Remove
32360 USE_IN_LIBIO.
32361 * Makeconfig: Adjust for dropped configure option. All features are
32362 now mandatory.
32363 * Makerules: Likewise.
32364 * Versions.def: Likewise.
32365 * argp/argp-fmtstream.c: Likewise.
32366 * argp/argp-fmtstream.h: Likewise.
32367 * argp/argp-help.c: Likewise.
32368 * assert/assert.c: Likewise.
32369 * config.h.in: Likewise.
32370 * config.make.in: Likewise.
32371 * configure: Likewise.
32372 * configure.in: Likewise.
32373 * csu/Versions: Likewise.
32374 * csu/init.c: Likewise.
32375 * elf/tst-audit2.c: Likewise.
32376 * elf/tst-tls10.c: Likewise.
32377 * elf/tst-tls10.h: Likewise.
32378 * elf/tst-tls11.c: Likewise.
32379 * elf/tst-tls12.c: Likewise.
32380 * elf/tst-tls14.c: Likewise.
32381 * elf/tst-tlsmod11.c: Likewise.
32382 * elf/tst-tlsmod12.c: Likewise.
32383 * elf/tst-tlsmod13.c: Likewise.
32384 * elf/tst-tlsmod13a.c: Likewise.
32385 * elf/tst-tlsmod14a.c: Likewise.
32386 * elf/tst-tlsmod15b.c: Likewise.
32387 * elf/tst-tlsmod16a.c: Likewise.
32388 * elf/tst-tlsmod16b.c: Likewise.
32389 * elf/tst-tlsmod7.c: Likewise.
32390 * elf/tst-tlsmod8.c: Likewise.
32391 * elf/tst-tlsmod9.c: Likewise.
32392 * gmon/gmon.c: Likewise.
32393 * grp/fgetgrent_r.c: Likewise.
32394 * grp/putgrent.c: Likewise.
32395 * hurd/fopenport.c: Likewise.
32396 * include/libc-symbols.h: Likewise.
32397 * include/tls.h: Likewise.
32398 * intl/gettextP.h: Likewise.
32399 * intl/loadinfo.h: Likewise.
32400 * locale/global-locale.c: Likewise.
32401 * locale/localeinfo.h: Likewise.
32402 * mach/devstream.c: Likewise.
32403 * malloc/arena.c: Likewise.
32404 * malloc/set-freeres.c: Likewise.
32405 * misc/err.c: Likewise.
32406 * misc/getttyent.c: Likewise.
32407 * misc/mntent_r.c: Likewise.
32408 * posix/getopt.c: Likewise.
32409 * posix/wordexp.c: Likewise.
32410 * pwd/fgetpwent_r.c: Likewise.
32411 * resolv/Versions: Likewise.
32412 * resolv/res_hconf.c: Likewise.
32413 * shadow/fgetspent_r.c: Likewise.
32414 * shadow/putspent.c: Likewise.
32415 * stdio-common/printf_fphex.c: Likewise.
32416 * stdio-common/tmpfile.c: Likewise.
32417 * stdlib/abort.c: Likewise.
32418 * stdlib/fmtmsg.c: Likewise.
32419 * sunrpc/auth_unix.c: Likewise.
32420 * sunrpc/clnt_perr.c: Likewise.
32421 * sunrpc/clnt_tcp.c: Likewise.
32422 * sunrpc/clnt_udp.c: Likewise.
32423 * sunrpc/clnt_unix.c: Likewise.
32424 * sunrpc/openchild.c: Likewise.
32425 * sunrpc/svc_simple.c: Likewise.
32426 * sunrpc/svc_tcp.c: Likewise.
32427 * sunrpc/svc_udp.c: Likewise.
32428 * sunrpc/svc_unix.c: Likewise.
32429 * sunrpc/xdr.c: Likewise.
32430 * sunrpc/xdr_array.c: Likewise.
32431 * sunrpc/xdr_rec.c: Likewise.
32432 * sunrpc/xdr_ref.c: Likewise.
32433 * sunrpc/xdr_stdio.c: Likewise.
32434
1248c1c4
PB
324352011-09-09 Ulrich Drepper <drepper@gmail.com>
32436
32437 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32438
324392011-07-03 Andreas Jaeger <aj@suse.de>
32440
32441 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32442 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32443 regenerate with gen-libm-tests.pl.
32444
324452010-05-12 Petr Baudis <pasky@suse.cz>
32446
32447 [BZ #11589]
32448 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32449 around j0() zero points by switching to j1().
32450 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32451 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32452 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32453 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32454
f22e1074
UD
324552011-09-09 Ulrich Drepper <drepper@gmail.com>
32456
f19009c1
UD
32457 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32458 instead of 0.
32459 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 32460 instead of 0.
f19009c1
UD
32461 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32462 Patch in part by Pavel Roskin <proski@gnu.org>.
32463
3f8cc204
UD
32464 [BZ #13138]
32465 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32466 realloc.
32467 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32468 Free memory block if necessary.
32469
f22e1074
UD
32470 [BZ #12847]
32471 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32472 be NULL. Don't lock in this case.
32473
0a2349f9
RM
324742011-09-09 Roland McGrath <roland@hack.frob.com>
32475
32476 * elf/elf.h (ELFOSABI_GNU): New macro.
32477 (ELFOSABI_LINUX): Define to that.
32478
f3cdd467
DZ
324792011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32480
32481 * string/strncat.c (strncat): Undef the symbol in case it has been
32482 defined in bits/string.h.
32483
74718d13
UD
324842011-09-09 Ulrich Drepper <drepper@gmail.com>
32485
633e9e0f
UD
32486 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32487
0a2349f9 32488 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
32489 link map.
32490
f9924780
AJ
324912011-08-17 Andreas Jaeger <aj@suse.de>
32492
32493 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32494
7f5517aa
PP
324952011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32496 Ian Lance Taylor <iant@google.com>
32497
32498 * math/libm-test.inc (lround_test): New testcase.
32499 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32500
762011fe
UD
325012011-09-08 Ulrich Drepper <drepper@gmail.com>
32502
92963737
UD
32503 * Makefile: Remove support for automatic cvs check-ins.
32504 * Makerules: Likewise.
32505 * config.make.in: Likewise.
32506 * configure.in: Likewise.
32507 * intl/Makefile: Likewise.
32508 * locale/Makefile: Likewise.
32509 * po/Makefile: Likewise.
32510 * posix/Makefile: Likewise.
32511 * sysdeps/gnu/Makefile: Likewise.
32512 * sysdeps/mach/hurd/Makefile: Likewise.
32513 * sysdeps/sparc/sparc32/Makefile: Likewise.
32514
b0727fd8
JS
32515 [BZ #13118]
32516 * posix/Makefile (bug-regex32-ENV): Define.
32517 Patch by John Stanley <jpsinthemix@verizon.net>.
32518
a0f33f99
UD
32519 * misc/Makefile (headers): Add bits/select2.h.
32520 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32521 * misc/bits/select2.h: New file.
32522 * include/bits/select2.h: New file.
32523 * debug/Makefile (routines): Add fdelt_chk.
32524 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32525 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32526 FD_ISSET.
32527 * debug/fdelt_chk.c: New file.
32528
762011fe
UD
32529 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32530 * wcsmbs/test-wmemcmp.c: Likewise.
32531 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 32532 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
32533
325342011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32535
32536 * string/Makefile (strop-tests): Add memcmp.
32537 * string/test-wmemcmp.c: New file.
32538 * string/test-memcmp.c: Add wmemcmp support.
32539
7f513ec8
RM
325402011-09-08 Roland McGrath <roland@hack.frob.com>
32541
0442afb4
RM
32542 [BZ #13153]
32543 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32544 2011-07-19 change.
32545
7f513ec8
RM
32546 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32547 garbage value in a __mach_port_mod_refs call in the cases of the
32548 task-self and thread-self ports.
32549
a12b2239
ST
325502011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32551
32552 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32553
610f9ab4
AS
325542011-09-08 Andreas Schwab <schwab@redhat.com>
32555
7f513ec8 32556 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 32557
48882a1a
LD
325582011-09-07 Ulrich Drepper <drepper@gmail.com>
32559
b49865be
UD
32560 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32561
fdc86bc9
UD
32562 * elf/dl-libc.c (dlerror_run): Pass back error code from
32563 dl_catch_error.
32564
c966526a
UD
32565 [BZ #13123]
32566 * elf/dl-load.c (lose): Free l_origin if it is valid.
32567
48882a1a
LD
32568 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32569 names.
32570 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32571 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32572 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32573 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32574 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32575 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32576
77a2a8b4
AZ
325772011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32578
32579 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32580 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32581 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32582 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32583 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32584 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32585 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32586 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32587 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32588 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32589
24f579d8
AM
325902011-08-15 Alan Modra <amodra@gmail.com>
32591
32592 [BZ #13092]
32593 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32594 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32595 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32596 ppc_mcount to static-only-routines.
32597 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32598 __mcount_internal.
32599 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32600 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32601
3d4837df
UD
326022011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32603
32604 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32605 for finite and infinity parameters.
32606
22700377
WS
326072011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32608
32609 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32610 and add nop instructions for throughput optimization.
32611 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32612
5025581e
WS
326132011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32614
32615 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32616 aligned copy for power7 with vector-scalar instructions.
32617 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32618
08a300c9
L
326192011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32620
32621 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32622 AVX check.
32623
59178ef9
AS
326242011-09-07 Andreas Schwab <schwab@redhat.com>
32625
32626 [BZ #13144]
32627 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32628 last change.
32629
e38ba7ab
UD
326302011-09-07 Ulrich Drepper <drepper@gmail.com>
32631
32632 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32633 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32634 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32635 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32636 clock_gettime.
32637
d53a73ac
UD
326382011-09-06 Ulrich Drepper <drepper@gmail.com>
32639
fc8bffcc
UD
32640 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32641 Forgot to demangle the pointer.
32642
ceaa0c5d
UD
32643 * sysdeps/i386/sysdep.h: Define atom_text_section.
32644 * sysdeps/x86_64/sysdep.h: Likewise.
32645 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32646 section with atom_text_section.
32647 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32648 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32649 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32650 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32651 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32652
a77d3c17
UD
32653 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32654 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32655 already be defined. Change to take two parameters and don't assign
32656 result to variable. Adjust all users.
32657 Define INTERNAL_GETTIME if not already defined.
32658 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32659 call.
32660 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32661 HAVE_CLOCK_GETTIME_VSYSCALL.
32662 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32663
d53a73ac
UD
32664 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32665 gettimeofday vsyscall, just use time.
32666
a8f84144
AS
326672011-09-06 Andreas Schwab <schwab@redhat.com>
32668
32669 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32670 <errno.h>.
32671
ef606249
UD
326722011-09-06 Ulrich Drepper <drepper@gmail.com>
32673
32674 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32675 syscall on x86-64.
32676 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32677 syscall.
32678 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32679 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32680 syscall if possible.
32681
6585cb60
UD
326822011-09-05 Ulrich Drepper <drepper@gmail.com>
32683
32684 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32685 e_ident. Don't pass to find_mapsXX.
32686 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32687
a5f524e4
LD
326882011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32689
32690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32691 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32692 * sysdeps/x86_64/multiarch/strchr.S: Update.
32693 Check bit_slow_BSF bit.
32694 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32695 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32696 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32697
554881ef
UD
326982011-09-05 Ulrich Drepper <drepper@gmail.com>
32699
d96de963
UD
32700 [BZ #13134]
32701 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32702 before glibc 2.15.
32703 (tryshell): Define.
32704 (__spawni): Change last parameter to be flag. Test
32705 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32706 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32707 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32708 * posix/spawni.c: Likewise.
32709 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32710 * posix/spawnp.c: Likewise. Change normal version to use
32711 SPAWN_XFLAGS_USE_PATH.
32712 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32713 SPAWN_XFLAGS_TRY_SHELL.
32714
d48e5868
UD
32715 [BZ #13150]
32716 * posix/glob.h: Remove gcc 1.x support.
32717
554881ef
UD
32718 [BZ #13068]
32719 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32720
693fb948
LD
327212011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32722
32723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32724 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32725 strrchr-sse2-bsf
32726 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32727 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32728 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32729 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32730 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32731 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32732
1b48c537
UD
327332011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32734
49d42c37
UD
32735 * sysdeps/x86_64/wcscmp.S: New file.
32736
1b48c537
UD
32737 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32738 wcscmp-c wcscmp-sse2
32739 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32740 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32741 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32742 * wcsmbs/wcscmp.c: Allow renaming.
32743
15c95c5d
DM
327442011-09-05 David S. Miller <davem@davemloft.net>
32745
32746 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32747 stack slot, rather than the struct return pointer slot.
32748 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32749 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32751 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32752
2f0ad8f3
UD
327532011-09-05 Ulrich Drepper <drepper@gmail.com>
32754
d88ae418
UD
32755 * po/ja.po: Update from translation team.
32756
2f0ad8f3
UD
32757 [BZ #13144]
32758 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32759 kernel in 64-bit binaries.
32760
5f4318d1
DM
327612011-09-01 David S. Miller <davem@davemloft.net>
32762
32763 * elf/elf.h (HWCAP_SPARC_*): Move to..
32764 * sysdeps/sparc/sysdep.h: this new file and add new values.
32765 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32766 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32767 _DL_HWCAP_COUNT to 24.
32768 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32769 entries.
32770 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32771 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32772 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32773 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32774 instead of magic constants.
32775 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32776
3ba57516
DM
327772011-08-31 David S. Miller <davem@davemloft.net>
32778
32779 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32780 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32781 Reimplement to do errno handling inline.
32782 (SYSCALL_ERROR_HANDLER): New macro.
32783 (__SYSCALL_STRING): Do not do errno handling in asm.
32784 (__CLONE_SYSCALL_STRING): Delete.
32785 (__INTERNAL_SYSCALL_STRING): Delete.
32786 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32787 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32788 (PSEUDO): Reimplement to do errno handling inline.
32789 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32790 (SYSCALL_ERROR_HANDLER): New macro.
32791 (__SYSCALL_STRING): Do not do errno handling in asm.
32792 (__CLONE_SYSCALL_STRING): Delete.
32793 (__INTERNAL_SYSCALL_STRING): Delete.
32794 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32795 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32796 i386.
32797 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32798 (inline_syscall*): Add 'err' argument.
32799 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32800 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32801 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32802 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32803
32804 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32805 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32806
2bc17433
AS
328072011-08-30 Andreas Schwab <schwab@redhat.com>
32808
32809 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32810
fbeb5f4d
JO
328112011-08-29 Jiri Olsa <jolsa@redhat.com>
32812
32813 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32814 directive.
32815
ad69cc26
DM
328162011-08-24 David S. Miller <davem@davemloft.net>
32817
32818 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32819
39dd69df
AS
328202011-08-24 Andreas Schwab <schwab@redhat.com>
32821
32822 * elf/Makefile: Add rules to build and run unload8 test.
32823 * elf/unload8.c: New file.
32824 * elf/unload8mod1.c: New file.
32825 * elf/unload8mod1x.c: New file.
32826 * elf/unload8mod2.c: New file.
32827 * elf/unload8mod3.c: New file.
32828
32829 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32830 it wasn't used.
32831
2c0b250a
DM
328322011-08-23 David S. Miller <davem@davemloft.net>
32833
32834 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32835 subtract stack bias.
32836 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32837 %sp not %fp in calculations.
32838 (_JMPBUF_UNWINDS_ADJ): Likewise.
32839
22044b48
DM
32840 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32841 (aio_suspend): Call it to force an exception region around the
32842 AIO_MISC_WAIT() invocation.
32843
2cae4995
AS
328442011-08-23 Andreas Schwab <schwab@redhat.com>
32845
32846 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32847 backslash.
32848
873a772e
AJ
328492011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32850
32851 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32852 protection macro.
32853 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32854 and <dl-machine.h>.
32855 (Elf64_FuncDesc): Remove.
32856
25ad0df1
DM
328572011-08-22 David S. Miller <davem@davemloft.net>
32858
32859 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32860 sigaltstack check, add missing cfi directives.
32861 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32862 missing cfi directives, and sigaltstack handling.
32863
e888bcbe
AS
328642011-08-16 Andreas Schwab <schwab@redhat.com>
32865
32866 [BZ #11724]
32867 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32868 object is seen twice.
32869 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32870
32871 * elf/Makefile (distribute): Add tst-initorder2.c.
32872 (tests): Add tst-initorder2.
32873 (modules-names): Add tst-initorder2a tst-initorder2b
32874 tst-initorder2c tst-initorder2d. Add rules to build them.
32875 ($(objpfx)tst-initorder2.out): New rule.
32876 * elf/tst-initorder2.c: New file.
32877 * elf/tst-initorder2.exp: New file.
32878
87162f46
AS
328792011-08-22 Andreas Schwab <schwab@redhat.com>
32880
70538b7f
AS
32881 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32882
f55ffe58
AS
32883 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32884 dependencies back to end of function.
32885
87162f46
AS
32886 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32887 $(elfobjdir)/ld.so.
32888
91b392a4
UD
328892011-08-21 Ulrich Drepper <drepper@gmail.com>
32890
32891 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32892 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32893 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32894 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32895 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32896 of __vdso_gettimeofday.
32897 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32898 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
32899 attribute_hidden.
32900 (_libc_vdso_platform_setup): Remove initialization of
32901 __vdso_gettimeofday and __vdso_time.
32902
5c43483f
UD
329032011-08-20 Ulrich Drepper <drepper@gmail.com>
32904
775a77e7
UD
32905 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32906 and fgetc_unlocked.
32907 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32908 getc_unlocked.
89f447ed 32909
49c74ba9
UD
32910 * elf/dl-open.c (add_to_global): Report additions to the global scope
32911 for LD_DEBUG=scopes.
32912 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 32913 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 32914
5c43483f
UD
32915 [BZ #13114]
32916 * stdio-common/Makefile (tests): Add bug24.
32917 * stdio-common/bug24.c: New file.
32918
a101b025
AJ
329192011-08-19 Andreas Jaeger <aj@suse.de>
32920
32921 [BZ #13114]
32922 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32923 non-existant file when using close-on-exec mode.
32924
c88f1766
UD
329252011-08-20 Ulrich Drepper <drepper@gmail.com>
32926
0276a718
UD
32927 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32928 the very first instruction.
32929
c88f1766
UD
32930 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32931 the CFI state in the end.
32932 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32933 inclusion of dl-trampoline.h.
32934 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32935
51ccffa0
AS
329362011-08-19 Andreas Schwab <schwab@redhat.com>
32937
94d7165f
AS
32938 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32939 expectations for long double.
32940
51ccffa0
AS
32941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32942 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32943
fd708658 329442011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
32945
32946 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32947 artificual limit depends upon the system page size.
32948
44f0a71e
UD
329492011-08-17 Ulrich Drepper <drepper@gmail.com>
32950
32951 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32952 * resolv/Makefile: Define CFLAGS-libresolv.
32953
8de79a24
AS
329542011-08-17 Andreas Schwab <schwab@redhat.com>
32955
32956 * nss/makedb.c (compute_tables): Make variables used in nested
32957 function static.
32958
27724598
UD
329592011-08-17 Ulrich Drepper <drepper@gmail.com>
32960
c5305d88
UD
32961 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32962 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32963 if buffer was too small.
32964
27724598
UD
32965 * elf/pldd.c (main): Attach to all threads in the process.
32966 Rewrite /proc handling to use *at functions.
32967
076fe015
UD
329682011-08-16 Ulrich Drepper <drepper@gmail.com>
32969
174baab3
UD
32970 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32971 specifies first scope to show.
32972 (dl_open_worker): Update callers. Move printing scope of new
32973 object to before the relocation.
44f0a71e 32974 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
32975 * sysdeps/generic/ldsodefs.h: Update declaration.
32976
076fe015
UD
32977 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32978 string for the scope number.
32979
a60df2c3
UD
329802011-08-14 Ulrich Drepper <drepper@gmail.com>
32981
32982 * nscd/servicescache.c (cache_addserv): Make sure written is always
32983 initialized.
32984
5e4287d1
RM
329852011-08-14 Roland McGrath <roland@hack.frob.com>
32986
85ae0589
RM
32987 * sysdeps/i386/i486/bits/atomic.h
32988 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32989 statement expression, so as to suppress "set but not used" warning.
32990 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32991
69f63097
RM
32992 * string/strncat.c (STRNCAT): Use prototype definition.
32993
675456ef
RM
32994 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32995 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32996 -Iprograms here.
32997 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32998 (localedef-modules): Add localedef.
32999 (locale-modules): Add locale.
33000
5e4287d1
RM
33001 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33002 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33003 to avoid a warning.
33004
9c96ff23
DM
330052011-08-14 David S. Miller <davem@davemloft.net>
33006
33007 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33008 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33009
f9ddf089
UD
330102011-08-13 Ulrich Drepper <drepper@gmail.com>
33011
44f0a71e 33012 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
33013 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33014 * elf/rtld.c (dl_main): Set l_name of vDSO.
33015 Call _dl_show_scope when DL_DEBUG_SCOPES.
33016 (process_dl_debug): Recognize scopes flag and also set it for all.
33017 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33018 Declare _dl_show_scope.
33019
1dc27704
UD
33020 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33021 (do_dlopen): Pass caller_dlopen to dl_open.
33022 (__libc_dlopen_mode): Initialize caller_dlopen.
33023
f9ddf089
UD
33024 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33025 of libc. Make tolower call locale-independent. Optimize a bit by
33026 using isdigit instead of isalnum.
33027 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33028
9ac533d3
UD
330292011-08-12 Ulrich Drepper <drepper@gmail.com>
33030
33031 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33032 was a dependency or dynamically loaded.
33033
89edf2e9
UD
330342011-08-11 Ulrich Drepper <drepper@gmail.com>
33035
8e999d29
UD
33036 * intl/l10nflist.c: Allow architecture-specific pop function.
33037 * sysdeps/x86_64/l10nflist.c: New file.
33038
89edf2e9
UD
33039 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33040 classification.
33041
14d96785
AS
330422011-08-10 Andreas Schwab <schwab@redhat.com>
33043
33044 * include/dirent.h: Add libc_hidden_proto for scandirat and
33045 scandirat64. Don't declare __scandirat64.
33046 * dirent/scandirat.c: Add libc_hidden_def.
33047 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33048 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33049
6761ac04
DM
330502011-08-10 David S. Miller <davem@davemloft.net>
33051
33052 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33053 enum.
33054 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33055 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33056 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33057
c55fbd1e
UD
330582011-08-09 Ulrich Drepper <drepper@gmail.com>
33059
33060 * Versions.def [libc]: Add GLIBC_2.15.
33061 * dirent/Makefile (routines): Add scandirat and scandirat64.
33062 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33063 GLIBC_2.15.
33064 * dirent/dirent.h: Declare scandirat and scandirat64.
33065 * dirent/scandirat.c: New file.
33066 * dirent/scandirat64.c: New file.
33067 * sysdeps/wordsize-64/scandirat.c: New file.
33068 * sysdeps/wordsize-64/scandirat64.c: New file.
33069 * dirent/opendir.c: Define opendirat.
33070 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33071 using scandirat.
33072 * dirent/scandir64.c: Adjust for scandir.c change.
33073 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33074 __scandirat64, and __scandir_cancel_handler.
33075 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33076 additional parameter and use openat instead of open (outside of ld.so).
33077 Add new __opendir as wrapper around __opendirat.
33078 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33079 here without requiring old scandirat implementation.
33080
879165f2
UD
330812011-08-08 Ulrich Drepper <drepper@gmail.com>
33082
33083 * dirent/scandir.c (cancel_handler): Renamed to
33084 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33085 defined. Adjust users.
33086 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33087 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33088
cb7e923b
UD
330892011-08-04 Ulrich Drepper <drepper@gmail.com>
33090
16292edd
UD
33091 * string/test-string.h (IMPL): Use __STRING to expand name and then
33092 stringify it.
33093
cb7e923b
UD
33094 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33095 of cleanups.
33096
cff82933
LD
330972011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33098
33099 * string/Makefile: Update.
33100 (strop-tests): Append strncat.
33101 * string/test-wcscmp.c: New file.
33102 New comprehensive test for wcscmp.
33103 * string/test-strcmp.c: Update.
33104 (WIDE): New define.
33105
9be9bfcc
AS
331062011-07-22 Andreas Schwab <schwab@redhat.com>
33107
33108 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33109 line.
33110
2e96f1c7
AS
331112011-07-26 Andreas Schwab <schwab@redhat.com>
33112
33113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33114 encoding to ACE if AI_IDN.
33115
85188888
JJ
331162011-08-01 Jakub Jelinek <jakub@redhat.com>
33117
33118 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33119 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33120
5fa16e9b
LD
331212011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33122
33123 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33124 Fix overflow bug in strncat.
33125 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33126
33127 * string/test-strncat.c: Update.
33128 Add new tests for checking overflow bugs.
33129
331302011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33131
33132 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33133 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33134 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33135 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33136 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33137 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33138 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33139 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33140 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33141
33142 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33143 (USE_AS_STRCAT): Define.
33144 Add strcat and strncat support.
33145 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33146
8c1a459f
AS
331472011-07-25 Andreas Schwab <schwab@redhat.com>
33148
33149 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33150 __n bigger than INT_MAX+1.
33151 (__strncmp_g): Likewise.
33152
bba33c28
UD
331532011-07-23 Ulrich Drepper <drepper@gmail.com>
33154
798be72d
UD
33155 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33156 * libio/stido.h: Likewise.
33157
8accd4dc
UD
33158 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33159 (AF_NFC): Define.
33160 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33161 (AF_NFC): Define.
33162
cbff0d96
UD
33163 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33164 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33165 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33166 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33167 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33168
9191c04a
UD
33169 [BZ #13021]
33170 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33171 installed.
33172
bba33c28
UD
33173 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33174 typo.
33175 (_dl_x86_64_save_sse): Likewise.
33176
90f139dd
UD
331772011-07-22 Ulrich Drepper <drepper@gmail.com>
33178
1aae088a
UD
33179 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33180 OSXSAVE.
33181 (_dl_x86_64_save_sse): Likewise.
33182
8e2045f5
UD
33183 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33184
90f139dd
UD
33185 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33186
1d002f25
AS
331872011-07-21 Andreas Schwab <schwab@redhat.com>
33188
33189 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33190 change.
33191 (_dl_x86_64_save_sse): Use correct AVX check.
33192
21137f89
UD
331932011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33194
33195 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33196 bug in strncpy/strncat.
33197 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33198
a65c0b7a
UD
331992011-07-21 Ulrich Drepper <drepper@gmail.com>
33200
33201 * string/tester.c (test_strcat): Add tests for different alignments
33202 of source and destination.
33203 (test_strncat): Likewise.
33204
6986b98a
UD
332052011-07-20 Ulrich Drepper <drepper@gmail.com>
33206
90bb2039
UD
33207 [BZ #12852]
33208 * posix/glob.c (glob): Check passed in values before using them in
33209 expressions to avoid some overflows.
33210 (glob_in_dir): Likewise.
33211
5644ef54
UD
33212 [BZ #13007]
33213 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33214 check for AVX enablement so that we don't crash with old kernels and
33215 new hardware.
33216 * elf/tst-audit4.c: Add same checks here.
33217 * elf/tst-audit6.c: Likewise.
33218
33219 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 33220
bfc9dc9b
AS
332212011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33222
33223 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33224
702e64bb
UD
332252011-07-20 Ulrich Drepper <drepper@gmail.com>
33226
33227 * po/cs.po: Update from translation team.
33228 * po/bg.po: Likewise.
33229
295e904f
MP
332302011-07-12 Marek Polacek <mpolacek@redhat.com>
33231
33232 * misc/sys/cdefs.h: Add support for const attribute.
33233 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33234 to gnu_dev_{major,minor,makedev} functions.
33235
3ff94596
MP
332362011-07-20 Marek Polacek <mpolacek@redhat.com>
33237
33238 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33239
28b59fca
AS
332402011-07-20 Andreas Schwab <schwab@redhat.com>
33241
33242 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33243 strlen results.
33244
19df733e
AK
332452011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33246
33247 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33248 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33249 register in order to avoid conflicts with the soft frame pointer
33250 being held in r11 when necessary.
33251 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33252 (INTERNAL_VSYSCALL_NCS): Likewise.
33253
c8835729
MP
332542011-07-14 Marek Polacek <mpolacek@redhat.com>
33255
33256 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33257 * elf/dl-fini.c (_dl_fini): Adjust caller.
33258 * elf/dl-close.c (_dl_close_worker): Likewise.
33259 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33260
b902330c
MP
332612011-07-15 Marek Polacek <mpolacek@redhat.com>
33262
8991e135
MP
33263 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33264 "aux_cache->nlibs < 0".
33265
b902330c
MP
33266 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33267 in the reload-count case.
33268
99710781
LD
332692011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33270
33271 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33272 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33273 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33274 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33275 * sysdeps/x86_64/multiarch/strcat.S: New file.
33276 * sysdeps/x86_64/multiarch/strncat.S: New file.
33277 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33278 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33279 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33280 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33281 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33282 (USE_AS_STRCAT): Define.
33283 Add strcat and strncat support.
33284 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33285 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33286 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33287 * string/strncat.c: Update.
33288 (USE_AS_STRNCAT): Define.
33289 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33290 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33291 and i7.
33292 * sysdeps/x86_64/multiarch/init-arch.h
33293 (bit_Prefer_PMINUB_for_stringop): New.
33294 (index_Prefer_PMINUB_for_stringop): Likewise.
33295 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33296 bit_Prefer_PMINUB_for_stringop.
33297
7dc6bd90
UD
332982011-07-19 Ulrich Drepper <drepper@gmail.com>
33299
33300 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33301 buffer64.
33302 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33303 of casting of buffer.
33304 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33305 buffer32 and buffer64.
33306 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33307 writes instead of casting of buffer.
33308 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33309 buffer32.
33310 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33311 casting of buffer.
33312
e0e72284
AS
333132011-07-19 Andreas Schwab <schwab@redhat.com>
33314
33315 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33316
feb1eb0b
UD
333172011-07-19 Ulrich Drepper <drepper@gmail.com>
33318
33319 * nscd/nscd.c (termination_handler): Don't do anything for a database
33320 if it has not yet been initialized.
33321
298711ff
UD
333222011-07-18 Ulrich Drepper <drepper@gmail.com>
33323
33324 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33325
333262011-07-15 Marek Polacek <mpolacek@redhat.com>
33327
33328 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33329
f9d68389
UD
333302011-07-18 Ulrich Drepper <drepper@gmail.com>
33331
33332 * po/nl.po: Update from translation team.
33333 * po/sv.po: Likewise.
33334
db290cf5
RM
333352011-07-16 Roland McGrath <roland@hack.frob.com>
33336
33337 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33338 now disallowed by GCC.
5c550700 33339
fd5e21c7
RM
33340 * configure.in (use-default-link): Default to yes if a test -shared
33341 link meets our qualifications.
33342 * configure: Regenerated.
33343
5c550700
RM
33344 * config.make.in (output-format): New variable.
33345 * configure.in: Check for ld --print-output-format support.
33346 * configure: Regenerated.
33347 * Makerules ($(common-objpfx)format.lds)
33348 [$(output-format) != unknown]: Just use $(output-format),
33349 instead of the linker-script munging.
33350
9fa2c032
RM
333512011-07-14 Roland McGrath <roland@hack.frob.com>
33352
a6928d51
RM
33353 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33354 of $(common-objpfx)shlib.lds.
33355 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33356
661607b3
RM
33357 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33358 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33359
9fa2c032
RM
33360 * configure.in (-z relro check): Adjust test code to add a large
33361 writable data section after it.
33362 * configure: Regenerated.
33363
defe9061
RM
333642011-07-11 Roland McGrath <roland@hack.frob.com>
33365
33366 * configure.in (-z relro check): Fix test code to make the variable
33367 truly const.
33368 * configure: Regenerated.
33369
319b9ad4
UD
333702011-07-11 Ulrich Drepper <drepper@gmail.com>
33371
33372 * nscd/nscd.h (struct traced_file): Define.
33373 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33374 elements. Add traced_files.
33375 (inotify_fd): Declare.
33376 (register_traced_file): Declare.
33377 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33378 (inotify_fd): Export.
33379 (resolv_conf_descr): Remove.
33380 (nscd_init): Move inotify descriptor creation to main.
33381 Don't register files for notification here.
33382 (register_traced_file): New function.
33383 (invalidate_cache): Don't use reset_res to determine whether to call
33384 res_init, go through the list of registered files.
33385 (main_loop_poll): The inotify descriptors are now stored in the
33386 structures for the traced files.
33387 (main_loop_epoll): Likewise
33388 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33389 to __nss_disable_nscd.
33390 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33391 for a database anymore. Check the records for all the registered
33392 files instead.
33393 * nss/Makefile (libnss_files-routines): Add files-init.
33394 (libnss_db-routines): Add db-init.
33395 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33396 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33397 * nss/nss_db/db-init.c: New file.
33398 * nss/nss_files/files-init.c: New file.
33399 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33400 __nss_lookup_function.
33401 (__nss_lookup_function): Call nss_load_library.
33402 (nss_load_all_libraries): New function.
33403 (__nss_disable_nscd): Take parameter with callback function for files
33404 to register. Set is_nscd. Load all the DSOs for the NSS modules
33405 used for the cached services.
33406 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33407 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33408 options for features to all the files in nscd.
33409
33410 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33411
23bee3e8
RM
334122011-07-10 Roland McGrath <roland@hack.frob.com>
33413
33414 * csu/elf-init.c (__libc_csu_init): Comment typo.
33415
46a5b7f0
UD
334162011-07-09 Ulrich Drepper <drepper@gmail.com>
33417
33418 * po/pl.po: Update from translation team.
33419 * po/ja.po: Likewise.
33420 * po/ru.po: Likewise.
33421 * po/ko.po: Likewise.
33422 * po/fr.po: Likewise.
33423
d30cf5bb
RM
334242011-07-09 Roland McGrath <roland@hack.frob.com>
33425
113ddea4
RM
33426 * configure.in (.ctors/.dtors header and trailer check):
33427 Use an empirical test on a built program.
33428 * configure: Regenerated.
33429
574920b4
RM
33430 * configure.in (-z relro check): Use an empirical test on a built DSO.
33431 Detect, but do not require, on ia64.
33432 * configure: Regenerated.
33433
d30cf5bb
RM
33434 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33435 Update tests that use readelf to use $READELF instead.
33436 * configure: Regenerated.
33437
8538fdb3
UD
334382011-07-08 Ulrich Drepper <drepper@gmail.com>
33439
33440 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33441 if the result is not used.
33442
04d08991
AJ
334432011-07-05 Andreas Jaeger <aj@suse.de>
33444
33445 [BZ#9696]
33446 * stdlib/tst-strtod.c: Add testcase.
33447
de283087
AD
334482011-07-07 Ulrich Drepper <drepper@gmail.com>
33449
4e5f31c8 33450 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 33451 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
33452 The latter has a higher limit. Take additional parameter to pass to
33453 the new function.
33454 (__pathconf): Pass file to __statfs_link_max.
33455 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33456 __statfs_link_max.
33457 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33458 __statfs_link_max.
33459
de283087
AD
33460 [BZ #12868]
33461 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33462 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33463 Handle Lustre.
33464 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33465 (__statfs_filesize_max): Likewise.
33466 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33467
c75fa153
AJ
334682011-07-05 Andreas Jaeger <aj@suse.de>
33469
33470 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33471
1a544854
UD
334722011-07-06 Marek Polacek <mpolacek@redhat.com>
33473
33474 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33475 `status' variable.
33476 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33477 Likewise.
33478
6f0eec67
UD
334792011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33480
33481 * Makefile (strop-tests): Add strncat.
33482 * string/test-strncat.c: New file.
33483
aae30307
UD
334842011-06-30 Marek Polacek <mpolacek@redhat.com>
33485
33486 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33487
c0cfb5eb
UD
334882011-06-21 Andreas Jaeger <aj@suse.de>
33489
33490 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33491 Copy rule from iconvdata/Makefile.
33492
01636b21
UD
334932011-07-06 Ulrich Drepper <drepper@gmail.com>
33494
33495 [BZ #12922]
33496 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33497 but no long options are defined, just return 'W'.
33498
9895c8bc
UD
334992011-06-22 Marek Polacek <mpolacek@redhat.com>
33500
33501 [BZ #9696]
33502 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33503
5d4cf042
UD
335042011-07-06 Ulrich Drepper <drepper@gmail.com>
33505
33506 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33507 netgroups to read.
960e5535 33508 (innetgr): Likewise.
5d4cf042 33509
751eb97e
RM
335102011-07-05 Roland McGrath <roland@hack.frob.com>
33511
33512 * config.make.in (install_root): Default to $(DESTDIR).
33513
f15f1e45
UD
335142011-07-05 Ulrich Drepper <drepper@gmail.com>
33515
33516 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33517
4e34ac6a
RM
335182011-07-02 Roland McGrath <roland@hack.frob.com>
33519
5e9b6af4
RM
33520 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33521
84f9ea0f
RM
33522 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33523 containing directory rather than embedding absolute directory names.
33524
ea5ee9f7
RM
33525 * scripts/check-local-headers.sh: Rewritten using awk.
33526 Match by word, not by line. Print error messages for matches.
33527 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33528
1b74661a
RM
33529 * Makerules [shlib-lds-flags empty]:
33530 ($(common-objpfx)libc_pic.opts): New target.
33531 ($(common-objpfx)libc_pic.os.clean): New target.
33532 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33533
33534 * config.make.in (OBJCOPY): New variable.
33535 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33536 * configure: Regenerated.
33537
f781ef40
RM
33538 * config.make.in (use-default-link): New variable.
33539 * configure.in (use_default_link): Grok --with-default-link to set it.
33540 * configure: Regenerated.
33541 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33542 (shlib-lds, shlib-lds-flags): Define to empty.
33543
2d4fa81e
RM
33544 * Makerules (shlib-lds): New variable.
33545 (shlib-lds-flags): New variable.
33546 (build-shlib, build-moduile, build-module-asneeded): Use it.
33547 ($(common-objpfx)libc.so): Use $(shlib-lds).
33548 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33549 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33550
31fffa6b
RM
33551 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33552 DT_FLAGS/DT_FLAGS_1 with zero flags.
33553
4e34ac6a
RM
33554 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33555 linker script munging.
33556
fcfc776b
UD
335572011-07-02 Ulrich Drepper <drepper@gmail.com>
33558
33559 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33560 as 128-bit value.
33561 * crypt/sha512.c (sha512_process_block): Perform total addition using
33562 128-bit if possible.
33563 (__sha512_finish_ctx): Likewise.
33564 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33565 as 64-bit value.
33566 * crypt/sha256.c (SWAP64): Define.
33567 (sha256_process_block): Perform total addition using 64-bit if
33568 possible.
33569 (__sha256_finish_ctx): Likewise.
33570
99231d9a
UD
335712011-07-01 Ulrich Drepper <drepper@gmail.com>
33572
33573 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
33574 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33575 * nscd/hstcache.c (cache_addhst): Likewise.
33576 * nscd/grpcache.c (cache_addgr): Likewise.
33577 * nscd/aicache.c (addhstaiX): Likewise
33578 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33579
445b4a53
TK
335802011-07-01 Thorsten Kukuk <kukuk@suse.de>
33581
33582 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33583 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33584 * nscd/hstcache.c (cache_addhst): Likewise.
33585 * nscd/grpcache.c (cache_addgr): Likewise.
33586 * nscd/aicache.c (addhstaiX): Likewise
33587
6d4d8e8e
AS
335882011-07-01 Andreas Schwab <schwab@redhat.com>
33589
33590 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33591 domain only when needed.
33592
89f654c5
AS
335932011-06-30 Andreas Schwab <schwab@redhat.com>
33594
33595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33596 is always restored.
33597
cf3b23ff
UD
335982011-06-29 Ulrich Drepper <drepper@gmail.com>
33599
33600 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33601 are re-adding the entry.
33602 * nscd/servicescache.c (cache_addserv): Likewise.
33603
751626f9
AJ
336042011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33605
33606 * sysdeps/generic/dl-irel.h: fix protection against multiple
33607 inclusions.
33608 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33609
9113ea1f
UD
336102011-06-28 Ulrich Drepper <drepper@gmail.com>
33611
5c0b8d90
UD
33612 [BZ #12935]
33613 * malloc/memusage.sh: Fix quoting in message.
33614 * debug/xtrace.sh: Likewise.
33615
9113ea1f
UD
33616 * configure.in: Remove support for --experimental-malloc option, make
33617 it the default.
33618 * config.make.in: Likewise.
33619 * malloc/Makefile: Likewise.
33620
a4172181
AS
336212011-06-27 Andreas Schwab <schwab@redhat.com>
33622
33623 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33624 two-byte characters.
33625
78a7eee7
RM
336262011-06-27 Roland McGrath <roland@hack.frob.com>
33627
62bede13
RM
33628 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33629 AC_CACHE_CHECK invocation.
33630 * configure: Regenerated.
33631
78a7eee7
RM
33632 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33633
5ce33a62
UD
336342011-06-27 Ulrich Drepper <drepper@gmail.com>
33635
034807a9
UD
33636 [BZ #12350]
33637 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33638 bit from old_res_options.
33639
4902da17
UD
33640 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33641
5ce33a62
UD
33642 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33643 value type for setfct.
33644
c2344f56
L
336452011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33646
33647 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33648 __gettimeofday instead of gettimeofday.
33649
68468076
UD
336502011-06-26 Ulrich Drepper <drepper@gmail.com>
33651
33652 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33653
acb0d739
L
336542011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33655
33656 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33657
33658 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33659 info.
33660
8912479f
L
336612011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33662
33663 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33664 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33665 strcpy-sse2-unaligned strncpy-sse2-unaligned
33666 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33667 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33668 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33669 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33670 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33671 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33672 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33673 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33674 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33675 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33676 (STRCPY): Support SSE2 and SSSE3 versions.
33677
d5495a11
UD
336782011-06-24 Ulrich Drepper <drepper@gmail.com>
33679
33680 [BZ #12874]
33681 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33682 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33683 kernels which artificially limit size of requests.
33684
0b1cbaae
L
336852011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33686
33687 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33688 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33689 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33690 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33691 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33692 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33693 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33694 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33695 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33696 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33697 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33698 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33699 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33700 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33701 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33702 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33703 Enable unaligned load optimization for Intel Core i3, i5 and i7
33704 processors.
33705 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33706 Define.
33707 (index_Fast_Unaligned_Load): Define.
33708 (HAS_FAST_UNALIGNED_LOAD): Define.
33709
07f494a0
MP
337102011-06-23 Marek Polacek <mpolacek@redhat.com>
33711
33712 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33713
fa3fc0fe
UD
337142011-06-22 Ulrich Drepper <drepper@gmail.com>
33715
33716 [BZ #12907]
33717 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33718 until it is clear that the information is realy needed.
33719 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33720
e12df166
AS
337212011-06-22 Andreas Schwab <schwab@redhat.com>
33722
33723 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33724
852eb34d
UD
337252011-06-22 Ulrich Drepper <drepper@gmail.com>
33726
84e2a551
UD
33727 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33728 /sys/devices/system/cpu/online if it is usable.
33729
852eb34d
UD
33730 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33731 reading the information from the /proc filesystem to once a second.
33732
6e502e19
UD
337332011-06-21 Andreas Jaeger <aj@suse.de>
33734
33735 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33736 NULL after inclusion of kernel headers.
33737
75d39ff2
UD
337382011-06-21 Ulrich Drepper <drepper@gmail.com>
33739
51f9aa6a
UD
33740 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33741 calls to internal_setent.
33742
c0244a9d
UD
33743 [BZ #12885]
33744 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33745 addresses using gethostbyname4_r ignore IPv4 addresses.
33746
c5e3c2ae
UD
33747 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33748 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33749
75d39ff2
UD
33750 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33751
42675c6f
DM
337522011-06-20 David S. Miller <davem@davemloft.net>
33753
33754 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33755 inclusions.
33756 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33757
33758 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33759 (elf_irel): Use it.
33760 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33761 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33762 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33763 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33764 * sysdeps/x86_64/dl-irel.h: Likewise.
33765
33766 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33767 * elf/dl-sym.c: Likewise.
33768
57912a71
UD
337692011-06-15 Ulrich Drepper <drepper@gmail.com>
33770
33771 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33772 need to dereference resplen2.
33773
ee22793d
AS
337742011-06-14 Andreas Schwab <schwab@redhat.com>
33775
33776 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33777
a9e836b0
UD
337782011-06-15 Ulrich Drepper <drepper@gmail.com>
33779
77fb9117
UD
33780 * Makeconfig: Define vardbdir and inst_vardbdir.
33781 * nss/Makefile: Add rules to install db-Makefile.
33782
40c1b22c
UD
33783 * nss/nss_db/db-XXX.c: Cleanup.
33784
9f2da732
UD
33785 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33786 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33787 GLIBC_PRIVATE.
33788 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33789 * nss/makedb.c: Implement -g option to specify that value strings
33790 are generated and should not be added to table iterated over for
33791 get*ent calls.
33792 * nss/nss_db/db-initgroups.c: New file.
33793
82e9a1f7
UD
33794 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33795 interface.
33796
c41af17e
UD
33797 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33798 (internal_getgrouplist): Adjust to name change.
33799 Update use_initgroups_entry if this is not the first call.
33800 * nss/databases.def: Add initgroups entry.
33801
a9e836b0
UD
33802 * nss/makedb.c (compute_tables): Check result of multiple hash table
33803 sizes to minimize maximum chain length.
33804
2666d441
UD
338052011-06-14 Ulrich Drepper <drepper@gmail.com>
33806
33807 * Versions.def: Add entry for libnss_db.
33808 * shlib-versions: Likewise.
33809 * nss/Makefile: Add rules to build libnss_db.
33810 * nss/Versions: Add libnss_db information. Organize libnss_files
33811 entries better.
33812 * nss/db-Makefile: Add gshadow support. Change rules for the new
33813 makedb progra. Some minor improvements to generate smaller files.
33814 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33815 here from...
33816 * nss/makedb.c: ...here.
33817 Improve database format to be smaller and require less memory at
33818 runtime.
33819 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33820 db anymore.
33821 * nss/nss_db/db-netgrp.c: Likewise.
33822 * nss/nss_db/db-open.c: Likewise.
33823 * nss/nss_files/flies-XXX.x: Adjust comments.
33824 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33825 * nss/nss_files/files-grp.c: Likewise.
33826 * nss/nss_files/files-hosts.c: Likewise.
33827 * nss/nss_files/files-network.c: Likewise.
33828 * nss/nss_files/files-proto.c: Likewise.
33829 * nss/nss_files/files-pwd.c: Likewise.
33830 * nss/nss_files/files-rpc.c: Likewise.
33831 * nss/nss_files/files-service.c: Likewise.
33832 * nss/nss_files/files-sgrp.c: Likewise.
33833 * nss/nss_files/files-spwd.c: Likewise.
33834 * nss/nss_db/db-alias.c: Removed.
33835 * nss/nss_db/dummy-db.h: Removed.
33836
9ee76b5a
UD
338372011-06-02 Ulrich Drepper <drepper@gmail.com>
33838
33839 * nss/makedb.c: Rewritten to not use database library.
33840 * nss/Makefile: Update to build new makedb program.
33841
c71ca1f8
AJ
338422011-06-14 Andreas Jaeger <aj@suse.de>
33843
33844 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33845 memset declaration.
33846
3154bfb8
UD
338472011-06-10 Andreas Schwab <schwab@redhat.com>
33848
33849 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33850 tmpbuf.
33851
b350afab
RM
338522011-06-10 Roland McGrath <roland@hack.frob.com>
33853
decd4e50
RM
33854 * Makerules (shlib.lds): Fail if the linker script comes out empty.
33855 * elf/Makefile ($(objpfx)ld.so): Likewise.
33856
5615eaf2
RM
33857 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33858 Don't list ld.so twice in dependencies.
33859
33860 * posix/bug-regex31.c: Include <stdlib.h>.
33861
33862 * nscd/hstcache.c (cache_addhst): Remove unused variable.
33863
33864 * nis/nss_compat/compat-spwd.c
33865 (getspent_next_nss_netgr): Remove unused variable.
33866 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33867
33868 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33869 nonmembers" output to use the right array.
33870
33871 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33872
33873 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33874
33875 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33876 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33877 * catgets/gencat.c (read_input_file): Likewise.
33878 * locale/programs/locarchive.c (enlarge_archive): Likewise.
33879
33880 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33881 variable definition inside #if's controlling its use.
33882
33883 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33884
33885 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33886
33887 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33888
33889 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33890 unreachable code.
33891
33892 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33893
b68e08db
RM
33894 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33895 * configure: Regenerated.
33896
b350afab
RM
33897 * Makerules: Revert last change.
33898 * elf/Makefile: Likewise.
33899
28368601
RM
339002011-06-09 Roland McGrath <roland@hack.frob.com>
33901
33902 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33903 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33904 (reloc-link): Likewise.
33905
11988f8f
UD
339062011-06-09 Ulrich Drepper <drepper@gmail.com>
33907
33908 * elf/Makefile: Add rules to build pldd.
33909 * elf/pldd.c: New file.
33910 * elf/pldd-xx.c: New file.
33911
e80fab37
UD
339122011-06-07 Ulrich Drepper <drepper@gmail.com>
33913
33914 * version.h: Update for 2.15 development version.
33915
9b849836
DM
339162011-06-07 David S. Miller <davem@davemloft.net>
33917
33918 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33919 ifuncs.
33920 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33921 elf_machine_lazy_rel): Likewise.
33922 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33923 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33924 elf_machine_lazy_rel): Likewise.
33925 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33926 dl_hwcap via passed in argument.
33927 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33928 Likewise.
33929
5a31b283
AK
339302011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33931
33932 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33933
069e52f8
RM
339342011-06-06 Roland McGrath <roland@hack.frob.com>
33935
33936 [BZ #12849]
33937 * manual/fdl-1.1.texi: New file, verbatim from:
33938 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33939 * manual/lgpl-2.1.texi: New file, verbatim from:
33940 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33941 * manual/Makefile (licenses): New variable, list those new file names.
33942 (texis): Use it.
33943 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33944
33945 * manual/fdl.texi: File removed.
33946 * manual/lesser.texi: File removed.
33947 * manual/libc.texinfo (Copying, Documentation License):
33948 Use new @include file names, put @appendix directive before @include.
33949
f16846a5
JJ
339502011-06-04 Jakub Jelinek <jakub@redhat.com>
33951
33952 [BZ #12841]
33953 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33954 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33955 (mq_open): Add __NTH.
33956
3d29045b
L
339572011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33958
33959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33960 Assume Intel Core i3/i5/i7 processor if AVX is available.
33961
8c297311
UD
339622011-05-31 Ulrich Drepper <drepper@gmail.com>
33963
33964 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33965 typo.
33966
c8fc0c91
UD
339672011-05-31 Andreas Schwab <schwab@redhat.com>
33968
33969 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33970 memory. Use alloca_account. Fix memory leak when retrying.
33971
5b27a807
UD
339722011-05-31 Ulrich Drepper <drepper@gmail.com>
33973
356f8bc6
UD
33974 * version.h (RELEASE): Bump for 2.14 release.
33975 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33976
5b27a807
UD
33977 * config.make.in (RANLIB): Remove entry.
33978
01f16ab0
UD
339792011-05-30 Ulrich Drepper <drepper@gmail.com>
33980
41fce8bd
UD
33981 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33982 (libc.pot): Work around missing support for .ksh extension in xgettext.
33983
4769ae77
UD
33984 [BZ #12684]
33985 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33986 if both request failed.
33987 (send_dg): In case of server errors clear resplen or *resplen2.
33988
6b1e7d19
UD
33989 [BZ #12454]
33990 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33991 when there are multiple maps.
33992 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33993 (_dl_fini): Remove test here.
33994
01f16ab0
UD
33995 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33996
b1ebd700
UD
339972011-05-29 Ulrich Drepper <drepper@gmail.com>
33998
7ae22829
UD
33999 [BZ #12350]
34000 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34001 bit from old_res_options.
34002 (gaih_inet): Likewise.
34003
553149f6 34004 [BZ #11099]
18a84741 34005 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
34006 as signed.
34007
652ffab1
UD
34008 * resolv/res_init.c (res_setoptions): Make the code more compact.
34009
16985fd0
UD
34010 [BZ #11558]
34011 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34012 set RES_USEVC.
34013
0464f746
UD
34014 [BZ #11634]
34015 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34016
7d17596c
UD
34017 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34018
cf6bbbd7
UD
34019 [BZ #11781]
34020 * malloc/malloc.h: Declare malloc hook variables as volatile.
34021
13f1ab36
UD
34022 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34023 in last patch.
34024
b1ebd700
UD
34025 [BZ #11799]
34026 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 34027 raise in the comment.
80e2212d
UD
34028 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34029 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34030 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 34031
ce67228d
UD
340322011-05-28 Ulrich Drepper <drepper@gmail.com>
34033
8887a920
UD
34034 [BZ #12811]
34035 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34036 grow the buffers more if it already has to be sufficient.
34037 (build_wcs_upper_buffer): Likewise.
34038 * posix/regexec.c (check_matching): Likewise.
34039 (clean_state_log_if_needed): Likewise.
34040 (extend_buffers): Don't enlarge buffers beyond size of the input
34041 buffer.
34042 Patches mostly by Emil Wojak <emil@wojak.eu>.
34043 * posix/bug-regex32.c: New file.
34044 * posix/Makefile (tests): Add bug-regex32.
34045
4f031072
UD
34046 * locale/findlocale.c (_nl_find_locale): Return right away if
34047 _nl_explode_name failed.
34048 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34049
d0478f0c
UD
34050 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34051
de81b246
UD
34052 * debug/xtrace.sh: Unify messages.
34053 * malloc/memusage.sh: Likewise.
34054
c738465a
UD
34055 [BZ #12813]
34056 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34057 time symbol from vDSO. Substitute with vsyscall if not available.
34058 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34059 __vdso_time.
34060
f1f929d7
UD
34061 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34062 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34063 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34064 Add sendmmsg and internal_sendmmsg.
34065 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34066 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34067 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34068
ce67228d
UD
34069 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34070 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34071 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34072
e57420c6
UD
340732011-05-27 Ulrich Drepper <drepper@gmail.com>
34074
a8509ca5
UD
34075 [BZ #12813]
34076 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34077 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34078 available.
34079 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34080 __vdso_getcpu.
34081
e57420c6
UD
34082 [BZ #12814]
34083 * iconvdata/Makefile (tests): Add bug-iconv9.
34084 * iconvdata/bug-iconv9.c: New file.
34085
4d07db15
AS
340862011-05-27 Andreas Schwab <schwab@redhat.com>
34087
34088 [BZ #12814]
34089 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34090
ea486f69
JJ
340912011-05-25 Jakub Jelinek <jakub@redhat.com>
34092
34093 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34094 (struct user_regs_struct): Change intcs field back to cs.
34095
6f038433
UD
340962011-05-25 Ulrich Drepper <drepper@gmail.com>
34097
34098 * po/ja.po: Update from translation team.
34099
67f86a25
UD
341002011-05-23 Ulrich Drepper <drepper@gmail.com>
34101
34102 [BZ #12795]
34103 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34104 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34105
def7fbd6
AS
341062011-05-20 Andreas Schwab <schwab@redhat.com>
34107
34108 * stdlib/longlong.h: Update from GCC.
34109
f50ef8f1
AS
341102011-05-23 Andreas Schwab <schwab@redhat.com>
34111
34112 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34113 parameter name.
34114 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34115 Add parameter name.
34116 (__sysconf): Pass it down.
34117
de7ce8f1
UD
341182011-05-22 Ulrich Drepper <drepper@gmail.com>
34119
f2962a71
UD
34120 [BZ #12671]
34121 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34122 some situations.
34123 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34124 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34125 add in in __libc_use_alloca calls. Adjust callers.
34126 (glob): Use malloc in some situations.
34127
de7ce8f1
UD
34128 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34129 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34130 pltexit.
34131
aec84f53
UD
341322011-05-21 Ulrich Drepper <drepper@gmail.com>
34133
05bb4a68
UD
34134 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34135 and CLOCK_BOOTTIME_ALARM.
34136
7ea72f99
UD
34137 [BZ #12782]
34138 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34139 is returned.
34140
7e4afad5
UD
34141 * string/_strerror.c (__strerror_r): Print negative errors as signed
34142 numbers.
34143
8e211fec
UD
34144 [BZ #12777]
34145 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34146 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34147 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34148
f7d82dc9
UD
34149 * configure.in: Fix typo in redirection and correct removal of test
34150 files in two cases.
34151
cc9e536d
UD
34152 [BZ #12788]
34153 * locale/setlocale.c (new_composite_name): Fix test to check for
34154 identical name of all categories.
34155
aec84f53
UD
34156 [BZ #12792]
34157 * libio/filedoalloc.c (local_isatty): New function.
34158 (_IO_file_doallocate): Use local_isatty.
34159 * stdio-common/perror.c (perror): In case a new stream is used
34160 forward the stream error.
34161 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34162 error flag.
34163
78e64fdc
RT
341642011-05-20 Ulrich Drepper <drepper@gmail.com>
34165
34a9094f
UD
34166 [BZ #11869]
34167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34168 alloca.
34169 * include/alloca.h (extend_alloca_account): Define.
34170
78e64fdc
RT
34171 [BZ #11857]
34172 * posix/regex.h: Fix comments with documentation of user-accessible
34173 fields after compilation and describe correct free'ing of pattern
34174 after re_compile_pattern.
34175 Patch by Reuben Thomas <rrt@sc3d.org>.
34176
457bddfc
RA
341772011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34178
34179 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34180 and -mno-altivec to prevent the compiler from using Altivec and/or
34181 VSX instructions when the corresponding registers are not available.
34182
a4527b51
AS
341832011-05-19 Andreas Schwab <schwab@redhat.com>
34184
34185 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34186
ed690b2f
UD
341872011-05-19 Ulrich Drepper <drepper@gmail.com>
34188
34189 * libio/freopen.c (freopen): Use __dup2, not dup2.
34190 * libio/freopen64.c (freopen64): Likewise.
34191
8db73634
L
341922011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34193
34194 [BZ #12775]
34195 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34196 * math/Makefile (tests): Add test-powl.
34197 (CFLAGS-test-powl.c): Define.
34198 * math/test-powl.c: New file.
34199
0a197a9d
L
342002011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34201
34202 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34203
ee30c380
UD
342042011-05-17 Ulrich Drepper <drepper@gmail.com>
34205
34206 [BZ #11837]
34207 * iconvdata/gb18030.c: Update to GB18020-2005.
34208
6ce75379
UD
342092011-05-16 Ulrich Drepper <drepper@gmail.com>
34210
a4b89fd8
AR
34211 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34212 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34213 Patch by Aharon Robbins <arnold@skeeve.com>.
34214
ea389b12
UD
34215 [BZ #11892]
34216 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34217 on the stack.
34218
68a3f91f
UD
34219 [BZ #11895]
34220 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34221 through underflows.
34222
15cc7dd1
UD
34223 [BZ #12766]
34224 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34225 point to strings before performing equality test for error_one_per_line
34226 mode.
34227
f3799213
UD
34228 [BZ #11697]
34229 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34230
d79a9c94
UD
34231 [BZ #11820]
34232 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34233 (struct user_fpregs_struct): Avoid __uint*_t types.
34234
56e5eb46
UD
34235 [BZ #6420]
34236 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34237 symbol info. Use it instead of calling _dl_addr locally.
34238 (lock_and_info): New function.
34239 (tr_freehook): Call lock_and_info and pass symbol info as additional
34240 parameter to tr_where.
34241 (tr_mallochook): Likewise.
34242 (tr_reallochook): Likewise.
34243 (tr_memalignhook): Likewise.
34244
6ce75379
UD
34245 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34246 used and couldn't be at all thread-safe.
34247
f8a3b5bf
UD
342482011-05-15 Ulrich Drepper <drepper@gmail.com>
34249
94b7cc37
UD
34250 * libio/freopen.c (freopen): Don't close old file descriptor
34251 before the new one is opened. Instead dup the new file descriptor
34252 to the old one after the new stream is created.
34253 * libio/freopen64.c (freopen64): Likewise.
34254 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34255 * libio/fileops.c (_IO_new_file_close_it): Handle new
34256 _IO_FLAGS2_NOCLOSE flag.
34257 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34258 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34259 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34260 _IO_FLAGS2_NOCLOSE flag.
34261 * include/unistd.h: Add hidden_proto for dup3.
34262 Define __have_dup3.
34263 * io/dup3.c: Define hidden symbol.
34264 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34265
bd25564e
UD
34266 [BZ #7101]
34267 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34268 when an incomplete long option is used.
34269 * posix/tst-getopt_long1.c: New file.
34270 * posix/Makefile (tests): Add tst-getopt_long1.
34271
c84cfef4
UD
34272 [BZ #10138]
34273 * scripts/config.guess: Update from autoconf-2.68.
34274 * scripts/config.sub: Likewise.
34275
3b85df27
UD
34276 [BZ #10157]
34277 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34278 tests into ...
34279 (has_cpuclock): ...this. New function.
34280 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34281 macro here based on has_cpuclock code.
34282
15a856b1
UD
34283 [BZ #10149]
34284 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34285 First byte (not low byte) is now always NUL.
34286 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34287
05f399e6
UD
34288 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34289 Use non-cancelable interfaces.
34290
10a52685 34291 [BZ #9809]
94ecc67d
UD
34292 * locale/iso-639.def: Add entry for Sorani.
34293
f8a3b5bf
UD
34294 [BZ #11901]
34295 * include/stdlib.h: Move include protection to the right place.
34296 Define abort_msg_s. Declare __abort_msg with it.
34297 * stdlib/abort.c (__abort_msg): Adjust type.
34298 * assert/assert.c (__assert_fail_base): New function. Majority
34299 of code from __assert_fail. Allocate memory for __abort_msg with
34300 mmap.
34301 (__assert_fail): Now call __assert_fail_base.
34302 * assert/assert-perr.c: Remove bulk of implementation. Use
34303 __assert_fail_base.
34304 * include/assert.hL Declare __assert_fail_base.
34305 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34306 mmap.
34307 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34308
1af4e298
UD
343092011-05-14 Ulrich Drepper <drepper@gmail.com>
34310
f8a3b5bf 34311 [BZ #11952]
d26dfc60
MG
34312 [BZ #12453]
34313 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34314 until all modules are registered in the DTV.
34315 * elf/Makefile: Add rules to build and run tst-tls19.
34316 * elf/tst-tls19.c: New file.
34317 * elf/tst-tls19mod1.c: New file.
34318 * elf/tst-tls19mod2.c: New file.
34319 * elf/tst-tls19mod3.c: New file.
34320 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34321
2fc54d6f
UD
34322 [BZ #12083]
34323 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34324 correctly.
34325
98d76b46
UD
34326 [BZ #12601]
34327 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34328 two-byte sequence errors.
34329 * iconvdata/Makefile (tests): Add bug-iconv8.
34330 * iconvdata/bug-iconv8.c: New file.
34331
da3c19ef
UD
34332 [BZ #12626]
34333 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34334 buf2 definition.
34335
ca408c15
UD
34336 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34337
d6f67f7d
UD
34338 [BZ #12432]
34339 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34340 (dummy_getcfa): New function.
34341 (init): Get _Unwind_GetCFA address, use dummy if not found.
34342 (backtrace_helper): In recursion check, also check whether CFA changes.
34343 (__backtrace): Completely initialize arg.
34344
1af4e298 34345 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
34346 storing incomplete byte sequence in state object. Avoid testing for
34347 guaranteed too small input if we know there is enough data available.
1af4e298 34348
da62f81b
AS
343492011-05-11 Andreas Schwab <schwab@redhat.com>
34350
34351 * Makeconfig (+link-pie): Indent.
34352 * Rules (binaries-pie): Define if $(have-fpie) and
34353 $(build-shared).
34354 (binaries-shared): Also filter out $(binaries-pie).
34355 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34356 * nscd/Makefile (others-pie): Add nscd.
34357 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34358 ($(objpfx)nscd): Remove command override.
34359 * login/Makefile (others-pie): Add pt_chown.
34360 ($(objpfx)pt_chown): Remove command override.
34361 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34362 remove command overrides.
34363
fcabc0f8
UD
343642011-05-13 Ulrich Drepper <drepper@gmail.com>
34365
20030ae6
UD
34366 * libio/tst_putwc.c: Fix error messages.
34367
fcabc0f8
UD
34368 [BZ #12724]
34369 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34370 currently writing and seek to current position when not.
34371 * libio/Makefile (tests): Add bug-fclose1.
34372 * libio/bug-fclose1.c: New file.
34373
320a5dc0
PB
343742011-05-12 Ulrich Drepper <drepper@gmail.com>
34375
34376 [BZ #12511]
34377 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34378 don't set DF_1_NODELETE here.
34379 (do_lookup_x): When entering new entry test for copy relocation
34380 and if necessary set DF_1_NODELETE flag.
34381 * elf/tst-unique4.cc: New file.
34382 * elf/tst-unique4.h: New file.
34383 * elf/tst-unique4lib.cc: New file.
34384 * elf/Makefile: Add rules to build and run tst-unique4.
34385 Patch by Piotr Bury <pbury@goahead.com>.
34386
22836f52
UD
343872011-05-11 Ulrich Drepper <drepper@gmail.com>
34388
f574184a
UD
34389 [BZ #12052]
34390 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34391
e1fb097f
UD
34392 [BZ #12625]
34393 * misc/mntent_r.c (addmntent): Flush the stream after the output
34394
22836f52
UD
34395 [BZ #12393]
34396 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34397 (is_trusted_path_normalize): Skip initial colon. Append slash
34398 to empty buffer. Duplicate is_trusted_path code but allow
34399 constructed patch to be prefix.
34400 (is_dst): Allow $ORIGIN followed by /.
34401 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34402 Correct testing of result of is_trusted_path_normalize
34403 (decompose_rpath): Fix warning.
34404
7b3b0b2a
UD
344052011-05-10 Ulrich Drepper <drepper@gmail.com>
34406
34407 [BZ #11257]
34408 * grp/initgroups.c (internal_getgrouplist): When we found the service
34409 list through the initgroups entry in nsswitch.conf do not always
34410 continue on a successful lookup. Don't always use the
eac80ce2 34411 __nss_group_database value if it is set.
7b3b0b2a
UD
34412 * nss/nsswitch.conf (initgroups): Change action for successful db
34413 lookup to continue for compatibility.
34414
2a81eaa5
UD
344152011-05-09 Ulrich Drepper <drepper@gmail.com>
34416
be97a69e
UD
34417 [BZ #11532]
34418 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34419 and CP774 modules.
34420 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34421 and CP774 modules.
34422 * iconvdata/tst-tables.sh: Likewise.
34423 * iconvdata/cp770.c: New file.
34424 * iconvdata/cp771.c: New file.
34425 * iconvdata/cp772.c: New file.
34426 * iconvdata/cp773.c: New file.
34427 * iconvdata/cp774.c: New file.
34428 * iconvdata/testdata/CP770: New file.
34429 * iconvdata/testdata/CP770..UTF8: New file.
34430 * iconvdata/testdata/CP771: New file.
34431 * iconvdata/testdata/CP771..UTF8: New file.
34432 * iconvdata/testdata/CP772: New file.
34433 * iconvdata/testdata/CP772..UTF8: New file.
34434 * iconvdata/testdata/CP773: New file.
34435 * iconvdata/testdata/CP773..UTF8: New file.
34436 * iconvdata/testdata/CP774: New file.
34437 * iconvdata/testdata/CP774..UTF8: New file.
34438
34439 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34440 END CHARMAP line.
34441 * iconvdata/gen-8bit-gap.sh: Likewise.
34442 * iconvdata/gen-8bit.sh: Likewise.
34443
c1e9e399
UD
34444 * locale/iso-639.def: Add ary entry.
34445
24c55fb3 34446 [BZ #11258]
96b4b1b0
UD
34447 * locale/C-translit.h.in: Add U20A1 transliteration.
34448
bdc2f971
KB
34449 [BZ #12178]
34450 * locale/iso-639.def: Add wae entry.
34451 Patch by Kevin Bortis <bortis@translate-wae.ch>.
34452
2952b117
UD
34453 [BZ #12545]
34454 * locale/programs/localedef.c (construct_output_path): Use ssize_t
34455 for n.
34456
2a81eaa5
UD
34457 [BZ #12711]
34458 * locale/C-translit.h.in: Add entry for U20B9.
34459 Patch by pravin.d.s@gmail.com.
34460
28377d1b
UD
344612011-05-08 Ulrich Drepper <drepper@gmail.com>
34462
7fb90fb8
UD
34463 [BZ #12713]
34464 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34465 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
34466 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34467 in rtld. Use *stat64.
7fb90fb8 34468 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 34469 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 34470 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
34471 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34472 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34473 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34474 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34475 __fstatat64 macros.
7fb90fb8
UD
34476 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34477 * dirent/rewinddir.c: Add libc_hidden_def.
34478 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 34479 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 34480
28377d1b
UD
34481 * include/dirent.h (__alloc_dir): Add flags parameter.
34482 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34483 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34484 __alloc_dir.
34485 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34486 from fdopendir if O_CLOEXEC is already set.
34487
66bdbaa4
AM
344882011-03-15 Alan Modra <amodra@gmail.com>
34489
34490 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34491 l_tls_firstbyte_offset non-zero. Save padding offset in
34492 l_tls_firstbyte_offset for later use.
34493 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34494 freeing static tls block.
34495
95721191
JN
344962011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34497
34498 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34499 where #ifdef was intended. The intent is to prevent ARG_MAX from
34500 being defined by the kernel headers.
34501
f87dfb1f
UD
345022011-05-07 Ulrich Drepper <drepper@gmail.com>
34503
34504 [BZ #12734]
34505 * resolv/resolv.h: Define RES_NOTLDQUERY.
34506 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34507 no-tld-query and set RES_NOTLDQUERY.
34508 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34509 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34510 modern BIND to search name as TLD unless forbidden.
34511
47c3cd7a
UD
345122011-05-07 Petr Baudis <pasky@suse.cz>
34513 Ulrich Drepper <drepper@gmail.com>
34514
34515 [BZ #12393]
34516 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34517 (is_trusted_path): ...to here.
c1e9ea35 34518 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 34519 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 34520 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 34521
8a35c912
PP
345222011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34523
34524 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34525 __BEGIN/__END_DECLS.
34526
acd41f47
UD
345272011-05-06 Ulrich Drepper <drepper@gmail.com>
34528
34529 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34530 NSS_STATUS_NOTFOUND if no record was found.
34531
597df647
AS
345322011-05-05 Andreas Schwab <schwab@redhat.com>
34533
34534 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34535 (headers-not-in-tirpc): Remove rpc/netdb.h
34536 * resolv/netdb.h: Revert last change.
34537
b9af1301
PP
345382011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34539
34540 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34541 circular dependency between libgcc.a and libc.a.
34542
4e34d5f5
AS
345432011-05-05 Andreas Schwab <schwab@redhat.com>
34544
34545 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34546 * nis/Makefile: Don't install rpcsvc/*.
34547 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34548 instead of <rpc/types.h>.
34549 (MAXHOSTNAMELEN): Define.
34550
00ee369c
AS
345512011-05-03 Andreas Schwab <schwab@redhat.com>
34552
34553 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34554
0b592a30
MB
345552011-04-28 Maciej Babinski <mbabinski@google.com>
34556
34557 [BZ #12714]
34558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34559 gethostbyname4_r when IPv6 results are possible.
34560
6e04cbbe
UD
345612011-05-02 Ulrich Drepper <drepper@gmail.com>
34562
34563 [BZ #12723]
34564 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34565 _PC_PIPE_BUF handling.
34566
e4ecafe0
BH
345672011-04-30 Bruno Haible <bruno@clisp.org>
34568
34569 [BZ #12717]
34570 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34571 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34572 to 'int'.
34573 * inet/getnameinfo.c (getnameinfo): Likewise.
34574
125ee683
UD
345752011-04-29 Ulrich Drepper <drepper@gmail.com>
34576
34577 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34578 to groups setting in database lookup.
34579 * nss/nsswitch.conf: Add initgroups entry.
34580
b722481a
EB
345812011-04-22 Ulrich Drepper <drepper@gmail.com>
34582
34583 [BZ #12685]
34584 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34585 mode string.
34586 Patch by Eric Blake <eblake@redhat.com>.
34587
4df46dbd
L
345882011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34589
34590 * sunrpc/Makefile (need-export-routines): Add svc_run.
34591 (routines): Remove svc_run.
34592 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34593 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34594 * sunrpc/svc_run.c (svc_run): Likewise.
34595 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34596
e84142d2
UD
345972011-04-21 Ulrich Drepper <drepper@gmail.com>
34598
34599 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34600 problem in reallocation in last patch.
34601
877175d8
UD
346022011-04-20 Ulrich Drepper <drepper@gmail.com>
34603
34604 * sunrpc/Makefile: Move inclusion of Rules.
34605
ab8eed78
UD
346062011-04-19 Ulrich Drepper <drepper@gmail.com>
34607
34608 * nss/nss_files/files-initgroups.c: New file.
34609 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34610 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34611 _nss_files_initgroups_dyn.
34612
e3d8f584
RS
346132011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34614
34615 * elf/elf.h (R_ARM_IRELATIVE): Define.
34616
af190f45
UD
346172011-04-19 Ulrich Drepper <drepper@gmail.com>
34618
34619 * po/ru.po: Update from translation team.
34620
53cf59ef
UD
346212011-04-17 Ulrich Drepper <drepper@gmail.com>
34622
34623 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34624 dependencies.
34625
4c559bcd
MF
346262011-02-06 Mike Frysinger <vapier@gentoo.org>
34627
34628 [BZ #12653]
34629 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34630 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34631 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34632 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34633 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34634
4420675c
AS
346352011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34636
34637 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34638 differing bytes.
34639 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34640 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34641 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34642
75ea32ab
UD
346432011-04-17 Ulrich Drepper <drepper@gmail.com>
34644
34645 [BZ #12420]
34646 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34647 storing it.
34648 * stdlib/bug-getcontext.c: New file.
34649 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34650
27390476
AK
346512011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34652
34653 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34654 instructions into .machine "z9-109".
34655 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34656 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34657
10442705
AK
346582011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34659
34660 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34661 between environment variables and auxiliary vector.
34662
7b57bfe5
UD
346632011-04-16 Ulrich Drepper <drepper@gmail.com>
34664
34665 * Makefile: Add rules to build linkobj/libc.so.
34666 * include/libc-symbols.h: Define libc_hidden_nolink.
34667 * include/rpc/auth.h: Mark functions which are to be hidden.
34668 * include/rpc/auth_des.h: Likewise.
34669 * include/rpc/auth_unix.h: Likewise.
34670 * include/rpc/clnt.h: Likewise.
34671 * include/rpc/des_crypt.h: Likewise.
34672 * include/rpc/key_prot.h: Likewise.
34673 * include/rpc/pmap_clnt.h: Likewise.
34674 * include/rpc/pmap_prot.h: Likewise.
34675 * include/rpc/pmap_rmt.h: Likewise.
34676 * include/rpc/rpc_msg.h: Likewise.
34677 * include/rpc/svc.h: Likewise.
34678 * include/rpc/svc_auth.h: Likewise.
34679 * include/rpc/xdr.h: Likewise.
34680 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34681 * nss/Makefile: Likewise.
34682 * sunrpc/Makefile: Don't install headers. Build library with normal
34683 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34684 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34685 for the compat linking library. Remove use of INTDEF/INTUSE.
34686 * sunrpc/auth_none.c: Likewise.
34687 * sunrpc/auth_unix.c: Likewise.
34688 * sunrpc/authdes_prot.c: Likewise.
34689 * sunrpc/authuxprot.c: Likewise.
34690 * sunrpc/clnt_gen.c: Likewise.
34691 * sunrpc/clnt_perr.c: Likewise.
34692 * sunrpc/clnt_raw.c: Likewise.
34693 * sunrpc/clnt_simp.c: Likewise.
34694 * sunrpc/clnt_tcp.c: Likewise.
34695 * sunrpc/clnt_udp.c: Likewise.
34696 * sunrpc/clnt_unix.c: Likewise.
34697 * sunrpc/des_crypt.c: Likewise.
34698 * sunrpc/des_soft.c: Likewise.
34699 * sunrpc/get_myaddr.c: Likewise.
34700 * sunrpc/key_call.c: Likewise.
34701 * sunrpc/key_prot.c: Likewise.
34702 * sunrpc/netname.c: Likewise.
34703 * sunrpc/pm_getmaps.c: Likewise.
34704 * sunrpc/pm_getport.c: Likewise.
34705 * sunrpc/pmap_clnt.c: Likewise.
34706 * sunrpc/pmap_prot.c: Likewise.
34707 * sunrpc/pmap_prot2.c: Likewise.
34708 * sunrpc/pmap_rmt.c: Likewise.
34709 * sunrpc/publickey.c: Likewise.
34710 * sunrpc/rpc_cmsg.c: Likewise.
34711 * sunrpc/rpc_common.c: Likewise.
34712 * sunrpc/rpc_dtable.c: Likewise.
34713 * sunrpc/rpc_prot.c: Likewise.
34714 * sunrpc/rpc_thread.c: Likewise.
34715 * sunrpc/rtime.c: Likewise.
34716 * sunrpc/svc.c: Likewise.
34717 * sunrpc/svc_auth.c: Likewise.
34718 * sunrpc/svc_authux.c: Likewise.
34719 * sunrpc/svc_raw.c: Likewise.
34720 * sunrpc/svc_run.c: Likewise.
34721 * sunrpc/svc_simple.c: Likewise.
34722 * sunrpc/svc_tcp.c: Likewise.
34723 * sunrpc/svc_udp.c: Likewise.
34724 * sunrpc/svc_unix.c: Likewise.
34725 * sunrpc/svcauth_des.c: Likewise.
34726 * sunrpc/xcrypt.c: Likewise.
34727 * sunrpc/xdr.c: Likewise.
34728 * sunrpc/xdr_array.c: Likewise.
34729 * sunrpc/xdr_float.c: Likewise.
34730 * sunrpc/xdr_intXX_t.c: Likewise.
34731 * sunrpc/xdr_mem.c: Likewise.
34732 * sunrpc/xdr_rec.c: Likewise.
34733 * sunrpc/xdr_ref.c: Likewise.
34734 * sunrpc/xdr_sizeof.c: Likewise.
34735 * sunrpc/xdr_stdio.c: Likewise.
34736
e6c61494
UD
347372011-04-10 Ulrich Drepper <drepper@gmail.com>
34738
34739 [BZ #12650]
34740 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34741 * sysdeps/ia64/dl-tls.h: Likewise.
34742 * sysdeps/powerpc/dl-tls.h: Likewise.
34743 * sysdeps/s390/dl-tls.h: Likewise.
34744 * sysdeps/sh/dl-tls.h: Likewise.
34745 * sysdeps/sparc/dl-tls.h: Likewise.
34746 * sysdeps/x86_64/dl-tls.h: Likewise.
34747 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34748
34fe483e
AS
347492011-03-14 Andreas Schwab <schwab@redhat.com>
34750
34751 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34752 rpath element also skip the following colon.
34753 (expand_dynamic_string_token): Add is_path parameter and pass
34754 down to DL_DST_REQUIRED and _dl_dst_substitute.
34755 (decompose_rpath): Call expand_dynamic_string_token with
34756 non-zero is_path. Ignore empty rpaths.
34757 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34758 with zero is_path.
34759
f12a32e6
AS
347602011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34761
34762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34763 Make cancelable.
34764
38a7d692
UD
347652011-04-09 Ulrich Drepper <drepper@gmail.com>
34766
34767 [BZ #12655]
34768 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34769 Patch by Filipe David Manana <fdmanana@apache.org>.
34770
e451d22b
AS
347712011-04-07 Andreas Schwab <schwab@redhat.com>
34772
34773 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34774 Maintain aligned stack.
34775 (CHECK_RSP): Remove unused macro.
34776
dedc7c7b
UD
347772011-04-03 Ulrich Drepper <drepper@gmail.com>
34778
34779 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34780 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34781
94521213
UD
347822011-04-02 Ulrich Drepper <drepper@gmail.com>
34783
34784 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34785
8cb700c0 34786 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 34787
0354e355
L
347882011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34789
34790 [BZ #12518]
34791 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34792 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34793 * sysdeps/x86_64/memmove.c: New file.
34794 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34795 (memcpy): Renamed to ...
34796 (__new_memcpy): This.
34797 (memcpy): Provide GLIBC_2_14 memcpy.
34798 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34799 (memcpy): Provide GLIBC_2_2_5 memcpy.
34800
8593482f
UD
348012011-04-01 Ulrich Drepper <drepper@gmail.com>
34802
34803 [BZ #12631]
34804 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34805
81a5726b
AS
348062011-03-30 Andreas Schwab <schwab@redhat.com>
34807
34808 * misc/syncfs.c: New file.
34809 * misc/Makefile (routines): Add syncfs.
34810 * posix/unistd.h: Declare syncfs.
34811 * sysdeps/unix/syscalls.list: Add syncfs.
34812
00e5419f
AS
348132011-04-01 Andreas Schwab <schwab@redhat.com>
34814
34815 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34816 open_by_handle_at.
34817 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34818 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34819 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34820 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34821 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34822 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34823 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34824
748876bf
UD
348252011-04-01 Ulrich Drepper <drepper@gmail.com>
34826
658e451d
UD
34827 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34828 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34829 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34830 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34831 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34832 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34833 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34834
748876bf
UD
34835 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34836 sync_file_range.c with -fexceptions.
34837 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34838 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34839 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34840 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34841 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34842 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34843 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
34844 sync_file_range as cancellation point
34845 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
34846 now a wrapper around __call_sync_file_range with cancellation handling.
34847 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34848 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
34849 function name to __call_sync_file_range.
34850 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34851 Add call_sync_file_range.
748876bf 34852
6e63d5e1
AS
348532011-04-01 Andreas Schwab <schwab@redhat.com>
34854
34855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 34856 bits/timex.h.
6e63d5e1 34857
46998f74
UD
348582011-04-01 Ulrich Drepper <drepper@gmail.com>
34859
4c1423ed
UD
34860 * iconv/iconv.h: Fix typo in comment.
34861 * io/fcntl.h: Likewise.
34862 * libio/stdio.h: Likewise.
34863 * posix/spawn.h: Likewise.
34864 * posix/unistd.h: Likewise.
34865 * stdlib/stdlib.h: Likewise.
34866 * time/time.h: Likewise.
34867 * wcsmbs/wchar.h: Likewise.
34868
158648c0
UD
34869 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34870 open_by_handle): Add.
34871 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34872 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
34873 Augment a few comments.
34874 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34875 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34876 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34877 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34878 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34879 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34880 open_by_handle.
34881
46998f74
UD
34882 * io/fcntl.h (AT_EMPTY_PATH): Define.
34883
83fe108b
UD
348842011-03-30 Ulrich Drepper <drepper@gmail.com>
34885
34886 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34887 * sysdeps/unix/sysv/linux/bits/time.h: New file.
34888 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34889 to...
34890 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
34891 * Versions.def: Add GLIBC_2.14.
34892 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34893 Export.
83fe108b 34894
bb242059
UD
348952011-03-22 Ulrich Drepper <drepper@gmail.com>
34896
34897 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34898 round counter.
34899 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34900
c97a1282
L
349012011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34902
34903 [BZ #12597]
34904 * string/test-strncmp.c (do_page_test): New function.
34905 (check2): Likewise.
34906 (test_main): Call check2.
34907 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34908
2a115601
UD
349092011-03-20 Ulrich Drepper <drepper@gmail.com>
34910
34911 [BZ #12587]
34912 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34913 Handle cache information in CPU leaf 4.
34914 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34915
8126d904
UD
349162011-03-18 Ulrich Drepper <drepper@gmail.com>
34917
042c49c6 34918 [BZ #12583]
8126d904
UD
34919 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34920 character representation.
34921 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34922
ccfe366e
RA
349232011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34924
34925 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34926 END(__isnan) to END(__isnanf) to match function entry point/label
34927 EALIGN(__isnanf,...).
34928
c6e13027
JJ
349292011-03-10 Jakub Jelinek <jakub@redhat.com>
34930
34931 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34932
33f85a3f
UD
349332011-03-10 Ulrich Drepper <drepper@gmail.com>
34934
028478fa
UD
34935 [BZ #12510]
34936 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34937 copy from the symbol referenced in the relocation to initialize the
34938 used variable.
34939 Patch by Piotr Bury <pbury@goahead.com>.
34940 * elf/Makefile: Add rules to build and tst-unique3.
34941 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34942 * elf/tst-unique3.cc: New file.
34943 * elf/tst-unique3.h: New file.
34944 * elf/tst-unique3lib.cc: New file.
34945 * elf/tst-unique3lib2.cc: New file.
34946
33f85a3f
UD
34947 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34948
03592fc7
MF
349492011-03-10 Mike Frysinger <vapier@gentoo.org>
34950
34951 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34952 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34953 to _start.
03592fc7 34954
6a5ee102
UD
349552011-03-06 Ulrich Drepper <drepper@gmail.com>
34956
34957 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34958 to-be-loaded object along a path to loader is ld.so.
34959
7e4ba49c
HJ
349602011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34961 Ulrich Drepper <drepper@gmail.com>
34962
34963 * sysdeps/x86_64/memset.S: After aligning destination, code
34964 branches to different locations depending on the value of
34965 misalignment, when multiarch is enabled. Fix this.
34966
349672011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34968
34969 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34970 Set _x86_64_preferred_memory_instruction for AMD processsors.
34971 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34972 Set bit_Prefer_SSE_for_memop for AMD processors.
34973
13a804de
UD
349742011-03-04 Ulrich Drepper <drepper@gmail.com>
34975
34976 * libio/fmemopen.c (fmemopen): Optimize a bit.
34977
9d25c392
AS
349782011-03-03 Andreas Schwab <schwab@redhat.com>
34979
34980 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34981
a5543c6a
RM
349822011-03-03 Roland McGrath <roland@redhat.com>
34983
34984 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34985
012d35f7
DM
349862011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34987
7e4ba49c 34988 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
34989 __bzero_ultra1 instead of __memset_ultra1.
34990
4bff6e01
AS
349912011-02-23 Andreas Schwab <schwab@redhat.com>
34992 Ulrich Drepper <drepper@gmail.com>
34993
34994 [BZ #12509]
34995 * include/link.h (struct link_map): Add l_orig_initfini.
34996 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34997 returning unsuccessfully.
34998 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34999 close of a file loaded at startup, restore the original l_initfini
35000 list.
35001 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35002 list, store the pointer.
35003 * elf/Makefile ($(objpfx)noload-mem): New rule.
35004 (noload-ENV): Define.
35005 (tests): Add $(objpfx)noload-mem.
35006 * elf/noload.c: Include <memcheck.h>.
35007 (main): Call mtrace. Close all opened handles.
35008
f2092faf
AS
350092011-02-17 Andreas Schwab <schwab@redhat.com>
35010
35011 [BZ #12454]
35012 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35013 dependencies are missing.
35014
6c8a2e88
ST
350152011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35016
f2092faf 35017 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
35018 Hurd needs munmap.
35019 * sysdeps/mach/hurd/ifreq.h: New file.
35020
84a42118
PB
350212011-01-27 Petr Baudis <pasky@suse.cz>
35022 Ulrich Drepper <drepper@gmail.com>
35023
071f805e 35024 [BZ 12445]#
84a42118
PB
35025 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35026 to extend_alloca().
35027 * stdio-common/bug23.c: New file.
35028 * stdio-common/Makefile (tests): Add bug23.
35029
e23fe25b
AS
350302010-09-28 Andreas Schwab <schwab@redhat.com>
35031 Ulrich Drepper <drepper@gmail.com>
35032
35033 [BZ #12489]
35034 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35035 before performing relro protection. At old place add assertion
35036 to make sure nothing changed.
35037
d3f02e10
NS
350382011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35039 Glauber de Oliveira Costa <glommer@gmail.com>
35040
35041 * elf/elf.h: Add new ARM TLS relocs.
35042
d55fd7a5
RA
350432011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35044
35045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35046 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35047 cast from r3.
35048 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35049 'tests' variable.
35050 * sysdeps/wordsize-64/tst-writev.c: New file.
35051
2206397e
RA
350522011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35053
35054 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35055 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35056 insns in _dl_start to prevent a TOC reference before relocs are
35057 resolved.
35058
e9433893
UD
350592011-02-15 Ulrich Drepper <drepper@gmail.com>
35060
35061 [BZ #12469]
35062 * Makeconfig: Remove RANLIB definition.
35063 * Makerules: Don't use RANLIB.
35064 * aclocal.m4: Remove ranlib test.
35065 * configure.in: No need to check for ranlib.
35066 * elf/rtld-Rules: Don't use RANLIB.
35067
f75286c6
ST
350682011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35069
8e31c82d
ST
35070 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35071 protection macro.
35072 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35073 inclusion protection macro.
35074
f75286c6
ST
35075 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35076 SIGRTMIN and SIGRTMAX and print information in that case only when
35077 SIGRTMIN is defined.
35078
c1d0e639
JJ
350792011-02-11 Jakub Jelinek <jakub@redhat.com>
35080
35081 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35082 arginfo fn returning -1.
35083
35084 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35085 and thousands string is zero terminated.
35086
edf9294e
AS
350872011-02-03 Andreas Schwab <schwab@redhat.com>
35088
35089 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35090 sysdeps/unix/sysv/linux/bits/socket.h.
35091
2b7e92df
ST
350922011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35093
edf9294e
AS
35094 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35095 (__CPU_COUNT): Remove old macros.
35096 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35097 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35098 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
35099 (__sched_cpualloc, __sched_cpufree): Add declarations.
35100
a4c7ea7b
UD
351012011-02-05 Ulrich Drepper <drepper@gmail.com>
35102
35103 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35104 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35105 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35106 (readdhstai): Return value of addhstaiX call.
35107 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35108 (addgrbyX): Return value returned by cache_addgr.
35109 (readdgrbyname): Return value returned by addgrbyX.
35110 (readdgrbygid): Likewise.
35111 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35112 (addpwbyX): Return value returned by cache_addpw.
35113 (readdpwbyname): Return value returned by addhstbyX.
35114 (readdpwbyuid): Likewise.
35115 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35116 (addservbyX): Return value returned by cache_addserv.
35117 (readdservbyname): Return value returned by addservbyX:
35118 (readdservbyport): Likewise.
35119 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35120 (addhstbyX): Return value returned by cache_addhst.
35121 (readdhstbyname): Return value returned by addhstbyX.
35122 (readdhstbyaddr): Likewise.
35123 (readdhstbynamev6): Likewise.
35124 (readdhstbyaddrv6): Likewise.
35125 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35126 (readdinitgroups): Return value returned by addinitgroupsX.
35127 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35128 (prune_cache): Keep track of timeout value of re-added entries.
35129 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35130 * nscd/nscd.h: Adjust prototypes of readd* functions.
35131
a0bf67cc
RM
351322011-02-04 Roland McGrath <roland@redhat.com>
35133
35134 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35135 (nis_stats): Likewise.
35136 * nis/nis_modify.c (nis_modify): Likewise.
35137 * nis/nis_remove.c (nis_remove): Likewise.
35138 * nis/nis_add.c (nis_add): Likewise.
35139
35140 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35141
35142 * posix/fnmatch_loop.c: Add some consts.
35143
35144 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35145
435b95eb
L
351462011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35147
35148 [BZ #12460]
35149 * config.make.in (config-cflags-novzeroupper): Define.
35150 * configure.in: Substitute libc_cv_cc_novzeroupper.
35151 * elf/Makefile (AVX-CFLAGS): Define.
35152 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35153 (CFLAGS-tst-auditmod4a.c): Likewise.
35154 (CFLAGS-tst-auditmod4b.c): Likewise.
35155 (CFLAGS-tst-auditmod6b.c): Likewise.
35156 (CFLAGS-tst-auditmod6c.c): Likewise.
35157 (CFLAGS-tst-auditmod7b.c): Likewise.
35158 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35159
8517b15e
UD
351602011-02-02 Ulrich Drepper <drepper@gmail.com>
35161
35162 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35163 function to the callback.
35164 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35165
10a656fe
AS
351662011-02-02 Andreas Schwab <schwab@redhat.com>
35167
35168 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35169 of errno.
35170
968dad0a
UD
351712011-01-19 Ulrich Drepper <drepper@gmail.com>
35172
9f94d2ea 35173 [BZ #11724]
968dad0a
UD
35174 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35175 of constructors.
35176 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35177 of destructors.
35178 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35179
35180 [BZ #11724]
35181 * elf/Makefile: Add rules to build and run new test.
35182 * elf/tst-initorder.c: New file.
35183 * elf/tst-initorder.exp: New file.
35184 * elf/tst-initordera1.c: New file.
35185 * elf/tst-initordera2.c: New file.
35186 * elf/tst-initordera3.c: New file.
35187 * elf/tst-initordera4.c: New file.
35188 * elf/tst-initorderb1.c: New file.
35189 * elf/tst-initorderb2.c: New file.
35190 * elf/tst-order-a1.c: New file.
35191 * elf/tst-order-a2.c: New file.
35192 * elf/tst-order-a3.c: New file.
35193 * elf/tst-order-a4.c: New file.
35194 * elf/tst-order-b1.c: New file.
35195 * elf/tst-order-b2.c: New file.
35196 * elf/tst-order-main.c: New file.
35197 New test case by George Gensure <werkt0@gmail.com>.
35198
86e92359
UD
351992010-10-01 Andreas Schwab <schwab@redhat.com>
35200
35201 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35202 decoding ACE if AI_CANONIDN.
35203
5d5732b0
UD
352042011-01-18 Ulrich Drepper <drepper@gmail.com>
35205
35206 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35207
a77e8cbc
UD
352082011-01-17 Ulrich Drepper <drepper@gmail.com>
35209
6392473f
UD
35210 * version.h (RELEASE): Bump for 2.13 release.
35211 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35212
620a0529
UD
35213 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35214
18ba70a5
UD
35215 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35216 MADV_NOHUGEPAGE.
32465c3e
UD
35217 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35218 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35219 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35220 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35221 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35222 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35223
c0dafcf1
UD
35224 * posix/getconf.c: Update copyright year.
35225 * catgets/gencat.c: Likewise.
35226 * csu/version.c: Likewise.
35227 * debug/catchsegv.sh: Likewise.
35228 * debug/xtrace.sh: Likewise.
35229 * elf/ldconfig.c: Likewise.
35230 * elf/ldd.bash.in: Likewise.
35231 * elf/sprof.c (print_version): Likewise.
35232 * iconv/iconv_prog.c: Likewise.
35233 * iconv/iconvconfig.c: Likewise.
35234 * locale/programs/locale.c: Likewise.
35235 * locale/programs/localedef.c: Likewise.
35236 * malloc/memusage.sh: Likewise.
35237 * malloc/mtrace.pl: Likewise.
35238 * nscd/nscd.c (print_version): Likewise.
35239 * nss/getent.c: Likewise.
35240
a77e8cbc
UD
35241 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35242 PF_CAIF, and PF_ALG.
35243 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35244
77e8bddf
AS
352452011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35246
1f20b93a
AS
35247 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35248 (modules-names): Use them.
35249 (ifunc-test-modules, ifunc-pie-tests): Define.
35250 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35251 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35252 (test-extras): Likewise.
35253 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35254 $(compile-command.c).
35255 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35256 (all-built-dso): Define.
35257 (check-textrel.out, check-execstack.out): Depend on it.
35258
77e8bddf
AS
35259 * configure.in: Don't override --enable-multi-arch.
35260
bc425b33
UD
352612011-01-15 Ulrich Drepper <drepper@gmail.com>
35262
35263 [BZ #6812]
35264 * nscd/hstcache.c (tryagain): Define.
35265 (cache_addhst): Return tryagain not notfound for temporary errors.
35266 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35267 failed.
35268
794c3ad3
UD
352692011-01-14 Ulrich Drepper <drepper@gmail.com>
35270
70181fdd
UD
35271 [BZ #10563]
35272 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35273 to make the syscall.
35274 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35275
794c3ad3
UD
35276 [BZ #12378]
35277 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35278 and fall back to matching as normal character if the string ends before
35279 the matching ']' is found. This is what POSIX requires.
35280 * posix/testfnm.c: Adjust test result.
35281 * posix/globtest.sh: Adjust test result. Add new test.
35282 * posix/tst-fnmatch.input: Likewise.
35283 * posix/tst-fnmatch2.c: Add new test.
35284
68dc9497
AS
352852010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35286
35287 * elf/Makefile (check-execstack): Revert last change. Depend on
35288 check-execstack.h.
35289 (check-execstack.h): New target.
35290 (generated): Add check-execstack.h.
35291 * elf/check-execstack.c: Include "check-execstack.h".
35292 (main): Revert last change.
35293 (handle_file): Return zero if GNU_STACK is absent and
35294 DEFAULT_STACK_PERMS doesn't include PF_X.
35295
451f001b
UD
352962011-01-13 Ulrich Drepper <drepper@gmail.com>
35297
cfa28e56
UD
35298 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35299 in child fails because the descriptor is already closed.
8cf8ce17
UD
35300 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35301 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35302 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 35303
1086d70d
UD
35304 [BZ #12397]
35305 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35306 syscall.
35307
451f001b
UD
35308 [BZ #10484]
35309 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35310 temporary buffer used to handle multi lookups locally.
a85b5cb4 35311 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 35312
08769175
UD
353132011-01-12 Ulrich Drepper <drepper@gmail.com>
35314
35315 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35316 loader is ld.so.
35317
5e49c52e
UD
353182011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35319
35320 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35321 alignment for SSE2.
35322
60522a5f
UD
353232011-01-12 Ulrich Drepper <drepper@gmail.com>
35324
35325 [BZ #12394]
35326 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35327 characters. When rounding increased number of integer digits recompute
35328 number of groups.
35329 * stdio-common/tst-grouping.c: New file.
35330 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35331
f257bbd7
UD
353322011-01-09 Ulrich Drepper <drepper@gmail.com>
35333
35334 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35335 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35336
35337 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35338 void.
35339 * bits/select.h: Likewise.
35340
fa9c15cb
UD
353412011-01-08 Ulrich Drepper <drepper@gmail.com>
35342
35343 * po/ja.po: Update from translation team.
35344
16c2895f
DM
353452011-01-04 David S. Miller <davem@sunset.davemloft.net>
35346
35347 [BZ #11155]
35348 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35349 implementation just like for lxstat, fxstatat, et al.
35350
2543fef2
JM
353512010-12-27 Jim Meyering <meyering@redhat.com>
35352
35353 [BZ #12348]
35354 * posix/regexec.c (build_trtable): Return failure indication upon
35355 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35356
98727dbe
UD
353572010-12-25 Ulrich Drepper <drepper@gmail.com>
35358
5bd6dc5c
UD
35359 [BZ #12201]
35360 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35361 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35362 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35363 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35364
97983464
UD
35365 [BZ #12207]
35366 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35367
98727dbe
UD
35368 [BZ #12204]
35369 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35370 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35371
4a531bb0
L
353722010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35373
35374 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35375 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35376 script has SORT_BY_INIT_PRIORITY.
35377 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35378 NO_CTORS_DTORS_SECTIONS is defined.
35379 * elf/soinit.c: Likewise.
35380 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35381 NO_CTORS_DTORS_SECTIONS is defined.
35382 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35383 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35384 * sysdeps/sh/init-first.c: Likewise.
35385 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35386
07eb4b71
UD
353872010-12-24 Ulrich Drepper <drepper@gmail.com>
35388
35389 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35390 always use the slow path.
35391
30950a5f
RA
353922010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35393
35394 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35395 similar rule which adds the sysdep directories to the header search in
35396 order to pick up the correct platform stackinfo.h.
35397 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35398 perform test if it is, otherwise return successfully without testing.
35399 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35400 DEFAULT_STACK_PERMS define in stackinfo.h.
35401 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35402 defined in stackinfo.h.
35403 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35404 DEFAULT_STACK_PERMS defined in stackinfo.h.
35405 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35406 * sysdeps/ia64/stackinfo.h: Likewise.
35407 * sysdeps/s390/stackinfo.h: Likewise.
35408 * sysdeps/sh/stackinfo.h: Likewise.
35409 * sysdeps/sparc/stackinfo.h: Likewise.
35410 * sysdeps/x86_64/stackinfo.h: Likewise.
35411 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35412 PF_X for powerpc64. Retain PF_X for powerpc32.
35413
db753e2c
UD
354142010-12-19 Ulrich Drepper <drepper@gmail.com>
35415
14b697f7
UD
35416 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35417 accurately.
db753e2c
UD
35418 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35419 GETDENTS_64BIT_ALIGNED.
35420
28300719
UD
354212010-12-14 Ulrich Drepper <dreper@gmail.com>
35422
14b697f7 35423 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 35424
4f197237
AS
354252010-12-10 Andreas Schwab <schwab@redhat.com>
35426
dbb0472f
AS
35427 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35428 _GNU_SOURCE.
35429
4f197237
AS
35430 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35431 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35432 Remove __restrict.
35433 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35434 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35435
fb88ac72
UD
354362010-12-09 Ulrich Drepper <drepper@gmail.com>
35437
35438 [BZ #11655]
35439 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35440 are initialized.
35441
42acbb92
JJ
354422010-12-09 Jakub Jelinek <jakub@redhat.com>
35443
35444 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35445
c038d98d
UD
354462010-12-03 Ulrich Drepper <drepper@gmail.com>
35447
35448 * po/it.po: Update from translation team.
35449
3a4a2499
L
354502010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35451
35452 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35453 unused codes.
35454
1e24cf6e
UD
354552010-11-30 Ulrich Drepper <drepper@gmail.com>
35456
35457 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35458
a7690819
AS
354592010-11-24 Andreas Schwab <schwab@redhat.com>
35460
35461 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35462 specially.
35463 (gaih_getanswer_slice): Likewise.
35464
3bf8d1b1
JJ
354652010-10-20 Jakub Jelinek <jakub@redhat.com>
35466
35467 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35468
6db52fbb
PB
354692010-05-31 Petr Baudis <pasky@suse.cz>
35470
35471 [BZ #11149]
35472 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35473 silently even in the chroot mode.
35474
eaca7569
UD
354752010-11-22 Ulrich Drepper <drepper@gmail.com>
35476
35477 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35478 last patch a bit. Pretty printing
35479
3056dcdb
UD
354802010-05-31 Petr Baudis <pasky@suse.cz>
35481
35482 [BZ #10085]
35483 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35484 initialization of skip_initgroups_dyn.
35485
cf7c9078
UD
354862010-11-19 Ulrich Drepper <drepper@gmail.com>
35487
35488 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35489 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35490
a1fb5e3e
UD
354912010-11-16 Ulrich Drepper <drepper@gmail.com>
35492
35493 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35494
3540d66b
AS
354952010-11-11 Andreas Schwab <schwab@redhat.com>
35496
35497 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35498 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35499 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35500 ($(objpfx)tst-fnmatch-mem): New rule.
35501 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35502 * posix/tst-fnmatch.c (main): Call mtrace.
35503
13b69574
L
355042010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35505
35506 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35507 Support Intel processor model 6 and model 0x2c.
35508
da93d214
LM
355092010-11-10 Luis Machado <luisgpm@br.ibm.com>
35510
35511 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35512 signed comparison.
35513
8ca52c6e
L
355142010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35515
35516 [BZ #12205]
35517 * string/test-strncasecmp.c (check_result): New function.
35518 (do_one_test): Use it.
35519 (check1): New function.
35520 (test_main): Use it.
35521 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35522 Support strcasecmp and strncasecmp.
35523
69da074d
UD
355242010-11-08 Ulrich Drepper <drepper@gmail.com>
35525
35526 [BZ #12194]
35527 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35528 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35529
ff02d528
L
355302010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35531
35532 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35533 IFUNC support.
35534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35535 memset-x86-64.
35536 * sysdeps/x86_64/multiarch/bzero.S: New file.
35537 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35538 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35539 * sysdeps/x86_64/multiarch/memset.S: New file.
35540 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35542 Set bit_Prefer_SSE_for_memop for Intel processors.
35543 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35544 Define.
35545 (index_Prefer_SSE_for_memop): Define.
35546 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35547
344d0b54
LM
355482010-11-04 Luis Machado <luisgpm@br.ibm.com>
35549
35550 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35551 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35552
c0dde15b
UD
355532010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35554
35555 [BZ #12191]
35556 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35557 (__x86_64_raw_data_cache_size_half): Likewise.
35558 (__x86_64_raw_shared_cache_size): Likewise.
35559 (__x86_64_raw_shared_cache_size_half): Likewise.
35560
35561 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35562 (__x86_64_raw_data_cache_size_half): Likewise.
35563 (__x86_64_raw_shared_cache_size): Likewise.
35564 (__x86_64_raw_shared_cache_size_half): Likewise.
35565 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35566 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35567 and __x86_64_raw_shared_cache_size_half. Round
35568 __x86_64_data_cache_size_half, __x86_64_data_cache_size
35569 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35570 to multiple of 256 bytes.
35571
0e516e0e
MS
355722010-11-03 Ulrich Drepper <drepper@gmail.com>
35573
35574 [BZ #12167]
35575 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35576 of inacessible symlinks. Verify result of symlink before returning it.
35577 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35578 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35579
0e012e87
ER
355802010-10-28 Erich Ritz <erichritz@gmail.com>
35581
35582 * math/math.h (isinf): Fix typo in comment.
35583
de0ff7bc
UD
355842010-11-01 Ulrich Drepper <drepper@gmail.com>
35585
35586 * po/da.po: Update from translation team.
35587
fa41c84d
UD
355882010-10-26 Ulrich Drepper <drepper@gmail.com>
35589
35590 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35591 is added to the list.
35592
f0967738
AK
355932010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35594 Ulrich Drepper <drepper@gmail.com>
35595
35596 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35597 the global list here. Move code to...
35598 (_dl_add_to_namespace_list): ...here. New function.
35599 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35600 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35601 * elf/dl-load.c (lose): Don't remove the element from the list.
35602 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35603 (_dl_map_object): Likewise.
35604
356052010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
35606
35607 [BZ #12159]
35608 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35609 into all bytes of SSE register.
35610 Patch by Richard Li <richardpku@gmail.com>.
35611
f0967738 356122010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
35613
35614 [BZ #12140]
35615 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35616 perturbing.
35617
d0b9e94f
MB
356182010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35619
35620 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35621 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35622 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35623 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35625 submachine.
35626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35627
8e9f92e9
AS
356282010-10-22 Andreas Schwab <schwab@redhat.com>
35629
35630 * include/dlfcn.h (__RTLD_SECURE): Define.
35631 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35632 mode & __RTLD_SECURE instead.
35633 (open_path): Rename preloaded parameter to secure.
35634 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35635 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35636 * elf/dl-deps.c (openaux): Likewise.
35637 * elf/rtld.c (struct map_args): Remove is_preloaded.
35638 (map_doit): Don't use it.
35639 (dl_main): Likewise.
35640 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35641 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35642
bc96fbda
AS
356432010-09-09 Andreas Schwab <schwab@redhat.com>
35644
35645 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35646 (sysd-rules-targets): Remove duplicates.
35647 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35648 rtld-%.$o dependency.
35649
22cd1c9b
AS
356502010-10-18 Andreas Schwab <schwab@redhat.com>
35651
35652 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35653 _dl_map_object do it.
35654
18edac48
UD
356552010-10-19 Ulrich Drepper <drepper@gmail.com>
35656
35657 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35658 fast fma builtins, define the macros in the C99 standard.
35659 (FP_FAST_FMAF): Likewise.
35660 (FP_FAST_FMAL): Likewise.
35661 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35662
35663 * bits/mathdef.h: Update copyright year.
35664 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35665
d2050124
MM
356662010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35667
35668 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35669 builtins, define the macros in the C99 standard.
35670 (FP_FAST_FMAF): Likewise.
35671 (FP_FAST_FMAL): Likewise.
35672 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35673 multiply/add.
35674 (FP_FAST_FMAF): Likewise.
35675
475facd1
JJ
356762010-10-15 Jakub Jelinek <jakub@redhat.com>
35677
35678 [BZ #3268]
35679 * math/libm-test.inc (fma_test): Some new testcases.
35680 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35681 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35682 y and infinite z. Do multiplication by C already in long double.
35683 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35684 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35685 y and infinite z. Do bitwise or of inexact bit into u.d.
35686 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35687 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35688 * sysdeps/i386/fpu/s_fma.S: Removed.
35689 * sysdeps/i386/fpu/s_fmal.S: Removed.
35690
7c08a05c
JJ
356912010-10-16 Jakub Jelinek <jakub@redhat.com>
35692
35693 [BZ #3268]
35694 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35695 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35696 computation is not scheduled after fetestexcept. Fix value
35697 of minimum denormal long double.
35698
f3f7372d
JJ
356992010-10-14 Jakub Jelinek <jakub@redhat.com>
35700
35701 [BZ #3268]
35702 * math/libm-test.inc (fma_test): Add some more tests.
35703 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35704 correctly.
35705
14d43591
AS
357062010-10-15 Andreas Schwab <schwab@redhat.com>
35707
35708 * scripts/data/localplt-s390-linux-gnu.data: New file.
35709 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35710
5e908464
JJ
357112010-10-13 Jakub Jelinek <jakub@redhat.com>
35712
35713 [BZ #3268]
35714 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35715 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35716 instead of dbl-64.
35717 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35718 inlines.
35719 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35720 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35721 if one of x and y is very large and the other is subnormal.
35722 * sysdeps/s390/fpu/s_fmaf.c: New file.
35723 * sysdeps/s390/fpu/s_fma.c: New file.
35724 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35725 * sysdeps/powerpc/fpu/s_fma.S: New file.
35726 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35727 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35728 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35729
357302010-10-12 Jakub Jelinek <jakub@redhat.com>
35731
35732 [BZ #3268]
35733 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35734 fma tests.
35735 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35736 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35737 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35738 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35739 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35740 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35741 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35742
b833d51f
UD
357432010-10-12 Ulrich Drepper <drepper@redhat.com>
35744
35745 [BZ #12078]
35746 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35747 * posix/bug-regex31.input: Add test case.
35748
1751705d
UD
357492010-10-11 Ulrich Drepper <drepper@gmail.com>
35750
e9b9cbf5
UD
35751 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35752 * posix/bug-regex31.input: New file.
35753
35754 [BZ #12078]
35755 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35756 (parse_sub_exp): Fix last change, use postorder.
35757
ef06edbe
UD
35758 * posix/bug-regex31.c: New file.
35759 * posix/Makefile: Add rules to build and run bug-regex31.
35760
a129c80d
UD
35761 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35762
35763 [BZ #12078]
35764 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35765
b76b818e
UD
35766 [BZ #12108]
35767 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35768 to have entries in sys_siglist.
35769
1751705d
UD
35770 [BZ #12093]
35771 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35772 be NULL.
35773
9ff8d36f
JJ
357742010-10-07 Jakub Jelinek <jakub@redhat.com>
35775
35776 [BZ #3268]
35777 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35778 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35779 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35780 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35781 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35782 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35783 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35784 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35785 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35786 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35787 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35788 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35789 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35790 * math/ftestexcept.c (fetestexcept): Likewise.
35791 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35792 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35793 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35794 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35795 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35796 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35797 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35798
af325969
UD
357992010-10-11 Ulrich Drepper <drepper@gmail.com>
35800
c579b202 35801 [BZ #12107]
af325969
UD
35802 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35803 newline.
35804
67a67b95
UD
358052010-10-06 Ulrich Drepper <drepper@gmail.com>
35806
35807 * string/bug-strstr1.c: New file.
35808 * string/Makefile: Add rules to build and run bug-strstr1.
35809
5fb308bc
EB
358102010-10-05 Eric Blake <eblake@redhat.com>
35811
35812 [BZ #12092]
35813 * string/str-two-way.h (two_way_long_needle): Always clear memory
35814 when skipping input due to the shift table.
35815
45db99c7
UD
358162010-10-03 Ulrich Drepper <drepper@gmail.com>
35817
3b111893
UD
35818 [BZ #12005]
35819 * malloc/mcheck.c: Handle large requests.
35820
45db99c7
UD
35821 [BZ #12077]
35822 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35823 for strncmp and strncasecmp.
35824 * string/stratcliff.c: Add tests for strcmp and strncmp.
35825 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35826
cf7a1eb8
NI
358272010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35828
35829 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35830 __set_fpscr.
35831
6484ba5e
AJ
358322010-09-30 Andreas Jaeger <aj@suse.de>
35833
35834 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35835 (CGROUP_SUPER_MAGIC): Define.
35836 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35837 Handle btrfs and cgroup file systems.
35838 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35839 Likewise.
35840
91c42559
LM
358412010-09-27 Luis Machado <luisgpm@br.ibm.com>
35842
35843 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35844 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35845
87a97932
AK
358462010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35847
35848 [BZ #12067]
35849 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35850 trying to locate the ELF header.
35851
c21cc9bc
AS
358522010-09-27 Andreas Schwab <schwab@redhat.com>
35853
35854 [BZ #11611]
35855 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35856 Mask out sign-bit copies when constructing f_fsid.
35857
315970f6
PB
358582010-09-24 Petr Baudis <pasky@suse.cz>
35859
35860 * debug/stack_chk_fail_local.c: Add missing licence exception.
35861 * debug/warning-nop.c: Likewise.
35862
1ac7a2c7
JM
358632010-09-15 Joseph Myers <joseph@codesourcery.com>
35864
35865 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35866 implementing getdents64 using getdents syscall, set d_type if
35867 __ASSUME_GETDENTS32_D_TYPE.
35868
56801c50
AS
358692010-09-16 Andreas Schwab <schwab@redhat.com>
35870
35871 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35872 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35873
dda51327
UD
358742010-09-21 Ulrich Drepper <drepper@redhat.com>
35875
35876 [BZ #12037]
35877 * posix/unistd.h: Undo change of feature selection for ftruncate from
35878 2010-01-11.
35879
8ffcee4a
UD
358802010-09-20 Ulrich Drepper <drepper@redhat.com>
35881
a545ecd9 35882 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
35883 detection.
35884
e24f0a8b
AS
358852010-09-20 Andreas Schwab <schwab@redhat.com>
35886
35887 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35888 fanotify_mark.
35889 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35890
7291c56f
AS
358912010-09-14 Andreas Schwab <schwab@redhat.com>
35892
35893 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35894 variables after CHECK_SP call.
35895 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35896
bc5fb037
AS
358972010-09-13 Andreas Schwab <schwab@redhat.com>
35898 Ulrich Drepper <drepper@redhat.com>
35899
35900 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35901 re-relocationg ld.so.
35902 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35903 _dl_init_paths call.
35904 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
35905 here anymore.
35906
e66e7419
UD
359072010-09-14 Ulrich Drepper <drepper@redhat.com>
35908
35909 * resolv/res_init.c (__res_vinit): Count the default server we added.
35910
c044aa75
CLT
359112010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35912 Ulrich Drepper <drepper@redhat.com>
35913
35914 [BZ #11968]
35915 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35916 (____longjmp_chk): Use %ebx for saving value across system call.
35917 Add unwind info.
35918
32cf4069
AS
359192010-09-06 Andreas Schwab <schwab@redhat.com>
35920
35921 * manual/Makefile: Don't mix pattern rules with normal rules.
35922
817328ee
AS
359232010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35924
35925 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35926 operation.
35927 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35928 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35929 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35930 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35931 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35932 Likewise.
35933
29fddf61
UD
359342010-09-04 Ulrich Drepper <drepper@redhat.com>
35935
35936 [BZ #11979]
35937 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35938 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35939
0959ffc9
UD
359402010-09-02 Ulrich Drepper <drepper@redhat.com>
35941
35942 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35943 * sysdeps/x86_64/addmul_1.S: Likewise.
35944 * sysdeps/x86_64/lshift.S: Likewise.
35945 * sysdeps/x86_64/mul_1.S: Likewise.
35946 * sysdeps/x86_64/rshift.S: Likewise.
35947 * sysdeps/x86_64/sub_n.S: Likewise.
35948 * sysdeps/x86_64/submul_1.S: Likewise.
35949
ece29840
ST
359502010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35951
0959ffc9
UD
35952 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35953 Define __sched_param instead of SCHED_* and sched_param when
ece29840 35954 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 35955 * bits/sched.h [__need_schedparam]
ece29840 35956 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
35957 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35958 (__defined_schedparam): Define to 1.
ece29840
ST
35959 (__sched_param): New structure, identical to sched_param.
35960 (__need_schedparam): Undefine.
35961
e53a31fe
MF
359622010-08-31 Mike Frysinger <vapier@gentoo.org>
35963
fdc0c10d
MF
35964 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35965 (epoll_create1): Declare.
35966
e53a31fe
MF
35967 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35968
a726d796
AS
359692010-08-31 Andreas Schwab <schwab@redhat.com>
35970
35971 [BZ #7066]
35972 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35973 shifting retval into place.
35974
2f3e3dc7
UD
359752010-09-01 Ulrich Drepper <drepper@redhat.com>
35976
f2933da9
UD
35977 * nis/rpcsvc/nis.h: Update copyright notice.
35978 * nis/rpcsvc/nis.x: Likewise.
35979 * nis/rpcsvc/nis_callback.h: Likewise.
35980 * nis/rpcsvc/nis_callback.x: Likewise.
35981 * nis/rpcsvc/nis_object.x: Likewise.
35982 * nis/rpcsvc/nis_tags.h: Likewise.
35983 * nis/rpcsvc/yp.h: Likewise.
35984 * nis/rpcsvc/yp.x: Likewise.
35985 * nis/rpcsvc/ypupd.h: Likewise.
35986 * nis/yp_xdr.c: Likewise.
35987 * nis/ypupdate_xdr.c: Likewise.
35988
2f3e3dc7
UD
35989 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35990 mainly the body of pmap_getport. Add parameters to specify timeouts.
35991 (pmap_getport): Use __libc_rpc_getport.
35992 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35993 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35994 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35995
f3dcc2f9
AS
359962010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35997
35998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35999 fanotify_mark.
36000
6d34eb5b
RM
360012010-08-27 Roland McGrath <roland@redhat.com>
36002
36003 * sysdeps/i386/i686/multiarch/Makefile
36004 (CFLAGS-varshift.c): New variable.
36005
9ea3de11
UD
360062010-08-27 Ulrich Drepper <drepper@redhat.com>
36007
c96d23fc
UD
36008 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36009 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36010
9ea3de11
UD
36011 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36012
36013 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36014
623aac7f
L
360152010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36016
36017 * sysdeps/x86_64/strlen.S: Unroll the loop.
36018 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36019 strlen-sse2 strlen-sse2-bsf.
36020 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36021 __strlen_no_bsf if bit_Slow_BSF is set.
36022 (__strlen_sse42): Removed.
36023 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36024 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36025
8b2b7715
RM
360262010-08-25 Roland McGrath <roland@redhat.com>
36027
36028 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36029 * sysdeps/x86_64/multiarch/varshift.c: New file.
36030 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36031 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36032 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36033 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36034
e73015f2
L
360352010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36036
36037 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36038 strlen-sse2 strlen-sse2-bsf.
36039 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36040 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36041 (__strlen_sse2): Removed.
36042 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36043 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36044 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36045 bit_Slow_BSF for Atom.
36046 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36047 (index_Slow_BSF): Define.
36048 (HAS_SLOW_BSF): Define.
36049
df24a73e
UD
360502010-08-25 Ulrich Drepper <drepper@redhat.com>
36051
36052 [BZ #10851]
36053 * resolv/res_init.c (__res_vinit): When no server address at all
36054 is given default to loopback.
36055
f2ac4868
RM
360562010-08-24 Roland McGrath <roland@redhat.com>
36057
09055553
RM
36058 * configure.in: Remove config-name.h generation.
36059 * configure: Regenerated.
36060 * config-name.in: File removed.
36061 * scripts/config-uname.sh: New file.
36062 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36063 ($(objdir)config-name.h): New target.
36064
f2ac4868
RM
36065 * sunrpc/rpc_parse.h: Avoid nested comment.
36066
73f27d5e
RH
360672010-08-24 Richard Henderson <rth@redhat.com>
36068 Ulrich Drepper <drepper@redhat.com>
36069 H.J. Lu <hongjiu.lu@intel.com>
36070
36071 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36072 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36073 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36074 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36075 _mm_alignr_epi8 with _mm_loadu_si128.
36076 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36077 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36078 (__m128i_shift_right): Removed.
36079 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36080 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36081 * sysdeps/x86_64/multiarch/varshift.h: New file.
36082 * sysdeps/x86_64/multiarch/varshift.S: New file.
36083
84b9230c
MF
360842010-08-21 Mike Frysinger <vapier@gentoo.org>
36085
36086 * configure.in: Move assembler checks to before sysdep dir checking.
36087
9bbd0ddc
PB
360882010-08-20 Petr Baudis <pasky@suse.cz>
36089
36090 * LICENSES: Sync the sunrpc license.
36091
9da4bb31
UD
360922010-08-19 Ulrich Drepper <drepper@redhat.com>
36093
a7ab6ec8
UD
36094 * sunrpc/auth_des.c: Update copyright notice once again.
36095 * sunrpc/auth_none.c: Likewise.
36096 * sunrpc/auth_unix.c: Likewise.
36097 * sunrpc/authdes_prot.c: Likewise.
36098 * sunrpc/authuxprot.c: Likewise.
36099 * sunrpc/bindrsvprt.c: Likewise.
36100 * sunrpc/clnt_gen.c: Likewise.
36101 * sunrpc/clnt_perr.c: Likewise.
36102 * sunrpc/clnt_raw.c: Likewise.
36103 * sunrpc/clnt_simp.c: Likewise.
36104 * sunrpc/clnt_tcp.c: Likewise.
36105 * sunrpc/clnt_udp.c: Likewise.
36106 * sunrpc/clnt_unix.c: Likewise.
36107 * sunrpc/des_crypt.c: Likewise.
36108 * sunrpc/des_soft.c: Likewise.
36109 * sunrpc/get_myaddr.c: Likewise.
36110 * sunrpc/getrpcport.c: Likewise.
36111 * sunrpc/key_call.c: Likewise.
36112 * sunrpc/key_prot.c: Likewise.
36113 * sunrpc/openchild.c: Likewise.
36114 * sunrpc/pm_getmaps.c: Likewise.
36115 * sunrpc/pm_getport.c: Likewise.
36116 * sunrpc/pmap_clnt.c: Likewise.
36117 * sunrpc/pmap_prot.c: Likewise.
36118 * sunrpc/pmap_prot2.c: Likewise.
36119 * sunrpc/pmap_rmt.c: Likewise.
36120 * sunrpc/rpc/auth.h: Likewise.
36121 * sunrpc/rpc/auth_unix.h: Likewise.
36122 * sunrpc/rpc/clnt.h: Likewise.
36123 * sunrpc/rpc/des_crypt.h: Likewise.
36124 * sunrpc/rpc/key_prot.h: Likewise.
36125 * sunrpc/rpc/netdb.h: Likewise.
36126 * sunrpc/rpc/pmap_clnt.h: Likewise.
36127 * sunrpc/rpc/pmap_prot.h: Likewise.
36128 * sunrpc/rpc/pmap_rmt.h: Likewise.
36129 * sunrpc/rpc/rpc.h: Likewise.
36130 * sunrpc/rpc/rpc_des.h: Likewise.
36131 * sunrpc/rpc/rpc_msg.h: Likewise.
36132 * sunrpc/rpc/svc.h: Likewise.
36133 * sunrpc/rpc/svc_auth.h: Likewise.
36134 * sunrpc/rpc/types.h: Likewise.
36135 * sunrpc/rpc/xdr.h: Likewise.
36136 * sunrpc/rpc_clntout.c: Likewise.
36137 * sunrpc/rpc_cmsg.c: Likewise.
36138 * sunrpc/rpc_common.c: Likewise.
36139 * sunrpc/rpc_cout.c: Likewise.
36140 * sunrpc/rpc_dtable.c: Likewise.
36141 * sunrpc/rpc_hout.c: Likewise.
36142 * sunrpc/rpc_main.c: Likewise.
36143 * sunrpc/rpc_parse.c: Likewise.
36144 * sunrpc/rpc_parse.h: Likewise.
36145 * sunrpc/rpc_prot.c: Likewise.
36146 * sunrpc/rpc_sample.c: Likewise.
36147 * sunrpc/rpc_scan.c: Likewise.
36148 * sunrpc/rpc_scan.h: Likewise.
36149 * sunrpc/rpc_svcout.c: Likewise.
36150 * sunrpc/rpc_tblout.c: Likewise.
36151 * sunrpc/rpc_util.c: Likewise.
36152 * sunrpc/rpc_util.h: Likewise.
36153 * sunrpc/rpcinfo.c: Likewise.
36154 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36155 * sunrpc/rpcsvc/key_prot.x: Likewise.
36156 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36157 * sunrpc/rpcsvc/mount.x: Likewise.
36158 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36159 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36160 * sunrpc/rpcsvc/rex.x: Likewise.
36161 * sunrpc/rpcsvc/rstat.x: Likewise.
36162 * sunrpc/rpcsvc/rusers.x: Likewise.
36163 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36164 * sunrpc/rpcsvc/spray.x: Likewise.
36165 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36166 * sunrpc/rtime.c: Likewise.
36167 * sunrpc/svc.c: Likewise.
36168 * sunrpc/svc_auth.c: Likewise.
36169 * sunrpc/svc_authux.c: Likewise.
36170 * sunrpc/svc_raw.c: Likewise.
36171 * sunrpc/svc_run.c: Likewise.
36172 * sunrpc/svc_simple.c: Likewise.
36173 * sunrpc/svc_tcp.c: Likewise.
36174 * sunrpc/svc_udp.c: Likewise.
36175 * sunrpc/svc_unix.c: Likewise.
36176 * sunrpc/svcauth_des.c: Likewise.
36177 * sunrpc/xcrypt.c: Likewise.
36178 * sunrpc/xdr.c: Likewise.
36179 * sunrpc/xdr_array.c: Likewise.
36180 * sunrpc/xdr_float.c: Likewise.
36181 * sunrpc/xdr_mem.c: Likewise.
36182 * sunrpc/xdr_rec.c: Likewise.
36183 * sunrpc/xdr_ref.c: Likewise.
36184 * sunrpc/xdr_sizeof.c: Likewise.
36185 * sunrpc/xdr_stdio.c: Likewise.
36186
9da4bb31
UD
36187 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36188 handling.
36189
bdaa77bc
AS
361902010-08-19 Andreas Schwab <schwab@redhat.com>
36191
36192 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36193
fe2f79db
LM
361942010-08-19 Luis Machado <luisgpm@br.ibm.com>
36195
36196 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36197 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36198 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36199 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36200 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36201 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36202 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36203 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36204 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36205 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36206 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36207 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36208 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36209 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36210
b9b42ee0
AB
362112010-07-26 Anton Blanchard <anton@samba.org>
36212
36213 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36214 * malloc/arena.c (heap_trim): Likewise.
36215
1c06ba31
UD
362162010-08-16 Ulrich Drepper <drepper@redhat.com>
36217
36218 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36219 here. Not...
36220 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36221 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36222
f8392f40
L
362232010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36224
36225 * sysdeps/i386/elf/Makefile: New file.
36226
3162f12e
AS
362272010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36228
36229 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36230 from fanotify_init.
36231 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36232 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36233
28c90b2c
UD
362342010-08-15 Ulrich Drepper <drepper@redhat.com>
36235
36236 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36237 of strncasecmp_l.
1feccb6c 36238 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 36239
ca6bb004
UD
362402010-08-14 Ulrich Drepper <drepper@redhat.com>
36241
e9f82e0d
UD
36242 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36243 strncase_l-nonascii.
36244 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36245 Add strncase_l-ssse3.
36246 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36247 * sysdeps/x86_64/strcmp.S: Likewise.
36248 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36249 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36250 * sysdeps/x86_64/strncase.S: New file.
36251 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36252 * sysdeps/x86_64/strncase_l.S: New file.
36253 * string/Makefile (strop-tests): Add strncasecmp.
36254 * string/test-strncasecmp.c: New file.
36255
36256 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36257 warning.
36258
ca6bb004
UD
36259 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36260 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36261
052fa7b3
AS
362622010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36263
36264 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36265
962dba78
UD
362662010-08-12 Ulrich Drepper <drepper@redhat.com>
36267
36268 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36269 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36270 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36271
bebff237
AM
362722010-05-01 Alan Modra <amodra@gmail.com>
36273
36274 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36275 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36276 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36277 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36278 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36279 tidying. Don't tail-call __sigjmp_save for static lib.
36280 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36281 save location.
36282 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36283 (CALL_MCOUNT): Add eh info, and nop after bl.
36284 (TAIL_CALL_SYSCALL_ERROR): New macro.
36285 (PSEUDO_RET): Use it.
36286 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36287 Correct save location of integer regs and cr.
36288 (_dl_profile_resolve): Correct cr save location. Delete nops
36289 after bl when SHARED. Reduce cfi size a little by better
36290 placement of cfi directives.
36291 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36292 make a stack frame. Instead use parm save area as a temp.
36293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36294 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36296 Don't make a stack frame for parent, use parm save area.
36297 Increase child stack frame to 112 bytes. Don't save unused reg,
36298 and adjust reg usage. Set up cfi on error recovery and
36299 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36301 (__makecontext): Add dummy nop after jump to exit.
36302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36303 Use correct parm save area and cr save, reduce stack frame.
36304 Correct cfi for possible PSEUDO_RET frame setup.
36305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36306 Branch to local label emitted by PSEUDO_RET rather than
36307 __syscall_error.
36308
02637374
AS
363092010-08-12 Andreas Schwab <schwab@redhat.com>
36310
36311 [BZ #11904]
36312 * locale/programs/locale.c (print_assignment): New function.
36313 (show_locale_vars): Use it.
36314
c3e2f19b
UD
363152010-08-11 Ulrich Drepper <drepper@redhat.com>
36316
3cdaa6ad
UD
36317 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36318 field.
36319 (struct statfs64): Likewise.
36320 (_STATFS_F_FLAGS): Define.
36321 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36322 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36323 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36324 (ST_VALID): Define locally.
36325 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36326 __statvfs_getflags, use the provided value.
36327 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36328 __ASSUME_STATFS_F_FLAGS.
36329
754f7da3
UD
36330 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36331
10b3bedc
UD
36332 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36333 Add sys/fanotify.h.
36334 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36335 fanotify_mask for GLIBC_2.13.
36336 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36337 fanotify_init and fanotify_mark.
36338 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36339 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36340
c08fb0d7
UD
36341 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36342 Add prlimit.
36343 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36344 prlimit64 for GLIBC_2.13.
36345 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36346 prlimit64.
36347 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36348 syscall.
36349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36350 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36351 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36352 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36353 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36354 add prlimit alias.
36355 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36356
15bac72b
UD
36357 [BZ #11903]
36358 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36359 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36360
c3e2f19b
UD
36361 * nss/Makefile: Add rules to build and run tst-nss-test1.
36362 * shlib-versions: Add entry for libnss_test1.
36363 * nss/nss_test1.c: New file.
36364 * nss/tst-nss-test1.c: New file.
36365
36366 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36367 (__nss_configure_lookup): Set appropriate entry in
36368 __nss_configure_lookup to true.
36369 * nss/nsswitch.h: Define enum with indeces of databases in
36370 databases and __nss_database_custom arrays. Declare
36371 __nss_database_custom.
36372 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36373 to avoid using nscd when custom rules are installed.
36374 * nss/getXXbyYY_r.c: Likewise.
36375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36376
36377 * nss/nss_files/files-parse.c: Whitespace fixes.
36378
f15ce4d8
UD
363792010-08-09 Ulrich Drepper <drepper@redhat.com>
36380
36381 [BZ #11883]
36382 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36383 * posix/fnmatch_loop.c: Likewise.
36384
d22e4cc9
AK
363852010-07-17 Andi Kleen <ak@linux.intel.com>
36386
36387 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36388 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36389 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36390 * Versions.def [GLIBC_2.13]: Add.
36391
805bc17d
UD
363922010-08-06 Ulrich Drepper <drepper@redhat.com>
36393
36394 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36395 Also fail if tpwd after pwuid call is NULL.
36396
5a42321d
ST
363972010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36398
36399 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36400 when converting to ms.
36401
fd3ebeda
ST
364022010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36403
36404 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36405 EOPNOTSUPP errors with ENOTTY.
36406 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36407 EOPNOTSUPP errors with ENOTTY.
36408
73507d3a
UD
364092010-07-31 Ulrich Drepper <drepper@redhat.com>
36410
36411 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36412 Add strcasecmp_l-ssse3.
36413 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36414 strcasecmp.
36415 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36416 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36417 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36418
fe36dd02
UD
364192010-07-30 Ulrich Drepper <drepper@redhat.com>
36420
66f6765a
UD
36421 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36422
42e08a54
UD
36423 * string/Makefile (strop-tests): Add strcasecmp.
36424 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36425 strcasecmp_l-nonascii.
36426 (gen-as-const-headers): Add locale-defines.sym.
36427 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36428 * sysdeps/x86_64/strcasecmp.S: New file.
36429 * sysdeps/x86_64/strcasecmp_l.S: New file.
36430 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36431 * sysdeps/x86_64/locale-defines.sym: New file.
36432 * string/test-strcasecmp.c: New file.
36433
fe36dd02
UD
36434 * string/test-strcasestr.c: Test both ends of the range of characters.
36435 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36436
48cbc0d6
RM
364372010-07-29 Roland McGrath <roland@redhat.com>
36438
76e6d6bc 36439 [BZ #11856]
48cbc0d6
RM
36440 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36441
880113d9
UD
364422010-07-27 Ulrich Drepper <drepper@redhat.com>
36443
36444 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36445 for ld.so.
36446
deb9cabb
AS
364472010-07-27 Andreas Schwab <schwab@redhat.com>
36448
36449 * manual/memory.texi (Malloc Tunable Parameters): Document
36450 M_PERTURB.
36451
1c7570ff
RM
364522010-07-26 Roland McGrath <roland@redhat.com>
36453
36454 [BZ #11840]
36455 * configure.in (-fgnu89-inline check): Set and substitute
36456 gnu89_inline, not libc_cv_gnu89_inline.
36457 * configure: Regenerated.
36458 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36459
24fb0f88
UD
364602010-07-26 Ulrich Drepper <drepper@redhat.com>
36461
36462 * string/test-strnlen.c: New file.
36463 * string/Makefile (strop-tests): Add strnlen.
36464 * string/tester.c (test_strnlen): Add a few more test cases.
36465 * string/tst-strlen.c: Better error reporting.
36466
36467 * sysdeps/x86_64/strnlen.S: New file.
36468
8e96b93a
UD
364692010-07-24 Ulrich Drepper <drepper@redhat.com>
36470
36471 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36472 lower-latency instructions.
36473
dbc676d4
UD
364742010-07-23 Ulrich Drepper <drepper@redhat.com>
36475
36476 * string/test-strcasestr.c: New file.
36477 * string/test-strstr.c: New file.
36478 * string/Makefile (strop-tests): Add strstr and strcasestr.
36479 * string/str-two-way.h: Don't undefine MAX.
36480 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36481
f6a31e0e
AS
364822010-07-21 Andreas Schwab <schwab@redhat.com>
36483
36484 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36485 strcasestr-nonascii.
36486 (CFLAGS-strcasestr-nonascii.c): Define.
36487 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36488 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36489 Remove unused attribute.
36490
5dbc3b6c
RM
364912010-07-20 Roland McGrath <roland@redhat.com>
36492
36493 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36494 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36495 ld.so.cache was broken. With it, there is no way to disable dsocaps
36496 like LD_HWCAP_MASK can disable hwcaps.
36497
23d101d8
EPM
364982010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36499
36500 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36501
cc9f2e47
UD
365022010-07-16 Ulrich Drepper <drepper@redhat.com>
36503
36504 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36505 call in strcasestr.
36506 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36507 __strcasestr_sse42_nonascii.
36508 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36509 strcasestr-nonascii.c.
36510 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36511
77c1b069
LM
365122010-06-15 Luis Machado <luisgpm@br.ibm.com>
36513
36514 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36515 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36516 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36517 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36518
440566c3
UD
365192010-07-09 Ulrich Drepper <drepper@redhat.com>
36520
36521 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36522 fcntl.
36523
5be9d05d
AS
365242010-07-06 Andreas Schwab <schwab@redhat.com>
36525
c30b7ee2 36526 [BZ #11577]
5be9d05d
AS
36527 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36528 dl_signal_cerror.
36529
8a492a67
UD
365302010-07-06 Ulrich Drepper <drepper@redhat.com>
36531
36532 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36533 _PC_PIPE_BUF using F_GETPIPE_SZ.
36534
713df3d5
RM
365352010-07-05 Roland McGrath <roland@redhat.com>
36536
36537 * manual/arith.texi (Rounding Functions): Fix rint description
36538 implicit in round description.
36539
702e8f14
UD
365402010-07-02 Ulrich Drepper <drepper@redhat.com>
36541
36542 * elf/Makefile: Fix linking for a few tests to make recent linker
36543 happy.
36544
52ed8be9
AS
365452010-06-30 Andreas Schwab <schwab@redhat.com>
36546
36547 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36548 $(common-objpfx)libc_nonshared.a.
36549
f47c9a11
LM
365502010-06-21 Luis Machado <luisgpm@br.ibm.com>
36551
36552 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36553 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36554 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36555 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36556 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36557 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36558 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36559 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36574 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36575 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36576 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36577 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36578 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36579 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36580 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36581 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36582 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36583 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36584 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36585 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36600
6fb8cbcb
L
366012010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36602
36603 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36604 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36605 * string/memmove.c (memmove): Renamed to ...
36606 (MEMMOVE): ...this. Default to memmove.
36607 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36608 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36609 (END_CHK): Define.
36610 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36611 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36612 mempcpy-ssse3-back memmove-ssse3-back.
36613 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36614 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36615 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36616 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36617 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36618 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36619 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36620 * sysdeps/x86_64/multiarch/memmove.c: New file.
36621 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36622 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36623 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36624 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36625 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36626 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36627 Define.
36628 (index_Fast_Copy_Backward): Define.
36629 (HAS_ARCH_FEATURE): Define.
36630 (HAS_FAST_REP_STRING): Define.
36631 (HAS_FAST_COPY_BACKWARD): Define.
36632
4e733bac 366332010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
36634
36635 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36636 Restore proper fallback handling.
36637
63c4ed22
UD
366382010-06-19 Ulrich Drepper <drepper@redhat.com>
36639
ac2b484c
UD
36640 [BZ #11701]
36641 * posix/group_member.c (__group_member): Correct checking loop.
36642
63c4ed22
UD
36643 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36644 OOM in getpwuid_r correctly. Return error number when the caller
36645 should return, otherwise -1.
36646 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36647 call returning > 0 value.
36648 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36649
765ade4b
AS
366502010-06-07 Andreas Schwab <schwab@redhat.com>
36651
36652 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36653 libc_nonshared.a from targets in modules-names.
36654
80da2e09
KS
366552010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36656
36657 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36658 requires it.
36659
158db122
LM
366602010-06-10 Luis Machado <luisgpm@br.ibm.com>
36661
36662 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36663 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36664 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36665 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36666
caa78cf8
AS
366672010-06-02 Andreas Schwab <schwab@redhat.com>
36668
36669 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36670
b2ef2c01
UD
366712010-06-14 Ulrich Drepper <drepper@redhat.com>
36672
36673 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36674 and F_GETPIPE_SZ.
36675 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36676 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36677 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36678 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36679 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36680 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36681
fbd643b6
RM
366822010-06-14 Roland McGrath <roland@redhat.com>
36683
36684 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36685
f32f2869
JJ
366862010-06-07 Jakub Jelinek <jakub@redhat.com>
36687
36688 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36689 __REDIRECT followed by __THROW.
36690 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36691 * posix/getopt.h (getopt): Likewise.
36692
2a50c078
EPM
366932010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36694
36695 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36696 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36697 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36698 in AT_FLAGS.
36699 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36700 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36701
eb5ad2eb
LM
367022010-05-28 Luis Machado <luisgpm@br.ibm.com>
36703
36704 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36705
3c88fe1e
L
367062010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36707
36708 [BZ #11640]
36709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36710 Properly check family and model.
36711
d2f73151
TY
367122010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36713
36714 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36715
ebd2e13d
LM
367162010-05-24 Luis Machado <luisgpm@br.ibm.com>
36717
36718 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36719
b32b8b45
UD
367202010-05-21 Ulrich Drepper <drepper@redhat.com>
36721
36722 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36723 symbol reference.
36724
9acbe24d
AS
367252010-05-19 Andreas Schwab <schwab@redhat.com>
36726
36727 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36728 symbol reference.
36729
f0ccf6ea
AS
367302010-05-21 Andreas Schwab <schwab@redhat.com>
36731
3d04ff3a
AS
36732 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36733 and internal_recvmmsg.
36734 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36735 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36736 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36737 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36738
f0ccf6ea
AS
36739 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36740 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36741 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36742
5b08ac57
AS
367432010-05-20 Andreas Schwab <schwab@redhat.com>
36744
36745 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36746
4828935d
LM
367472010-05-17 Luis Machado <luisgpm@br.ibm.com>
36748
36749 POWER7 optimizations.
36750 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36751 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36752
373d545e
UD
367532010-05-19 Ulrich Drepper <drepper@redhat.com>
36754
36755 * version.h: Update for 2.13 development version.
36756
21a2b1ae
AS
367572010-05-12 Andrew Stubbs <ams@codesourcery.com>
36758
36759 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36760 exceptions. Return 0.
36761
3f7dcb2b
RM
367622010-05-07 Roland McGrath <roland@redhat.com>
36763
36764 * elf/ldconfig.c (main): Add a const.
36765
5f24d53a 367662010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 36767
a160f8d8
UD
36768 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36769 (args_options): Add no-idn option.
36770 (ahosts_keys_int): Add idn_flags to ai_flags.
36771 (parse_option): Handle 'i' option to clear idn_flags.
36772
5f24d53a
UD
36773 * malloc/malloc.c (_int_free): Possible race in the most recently
36774 added check. Only act on the data if no current modification
36775 happened.
265bb1ce
UD
36776
36777See ChangeLog.17 for earlier changes.